commit d83c7c851ca491ab4389e7f09fcfeb602db20258 Author: Zhongwei Li Date: Sun Nov 30 08:36:54 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..a906c2b --- /dev/null +++ b/.claude-plugin/plugin.json @@ -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" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..eed58a1 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# mac-notification-hook + +Send macOS desktop notifications whenever Claude Code emits Notification events. diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..d6690df --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,14 @@ +{ + "hooks": { + "Notification": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/hooks/notification-hook.sh" + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..ee2a7b5 --- /dev/null +++ b/plugin.lock.json @@ -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": [] + } +} \ No newline at end of file