Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:36:54 +08:00
commit d83c7c851c
4 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"name": "mac-notification-hook",
"description": "Send macOS desktop notifications whenever Claude Code emits Notification events.",
"version": "0.1.0",
"author": {
"name": "Ryota Murakami",
"email": "ryota.murakami@laststance.io"
},
"hooks": [
"./hooks/hooks.json"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# mac-notification-hook
Send macOS desktop notifications whenever Claude Code emits Notification events.

14
hooks/hooks.json Normal file
View File

@@ -0,0 +1,14 @@
{
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/notification-hook.sh"
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:laststance/claude-code-marketplace:mac-notification-hook",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "3be364be394f5b939615de325135e2e282f33a14",
"treeHash": "4ba4ddbbd05a4582ceae5a0a5ee7f3a441531e9e5e082318be8b474f42c6f28d",
"generatedAt": "2025-11-28T10:20:03.823237Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "mac-notification-hook",
"description": "Send macOS desktop notifications whenever Claude Code emits Notification events.",
"version": "0.1.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "b0a16ffc5d0d9fa805c0929828d5a5e7768e40a60e2646894dcf745f5f586190"
},
{
"path": "hooks/hooks.json",
"sha256": "789429da47132cb9cf98d25c9d53d5954d08400af2a0cdacd19760871df057c6"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "1ad8b0ef9f4731a3f1764ee22c9a62198ebc886b4f0b71831c23d088e82dbd03"
}
],
"dirSha256": "4ba4ddbbd05a4582ceae5a0a5ee7f3a441531e9e5e082318be8b474f42c6f28d"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}