commit 19d373e8253c9d7c62a8131acb569c1a52922e73 Author: Zhongwei Li Date: Sun Nov 30 08:56:46 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..ccc93d7 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "notification-plugin", + "description": "Claude Codeが停止したとき(タスクが完了したとき)・ツールの実行確認が必要になったときに、通知音を鳴らすためのフックを提供します。", + "version": "1.0.0", + "author": { + "name": "shi." + }, + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..ad67255 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# notification-plugin + +Claude Codeが停止したとき(タスクが完了したとき)・ツールの実行確認が必要になったときに、通知音を鳴らすためのフックを提供します。 diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..610ca6b --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,26 @@ +{ + "hooks": { + "Notification": [ + { + "matcher": "", + "hooks": [ + { + "type": "command", + "command": "afplay /System/Library/Sounds/Glass.aiff" + } + ] + } + ], + "Stop": [ + { + "matcher": "", + "hooks": [ + { + "type": "command", + "command": "afplay /System/Library/Sounds/Glass.aiff" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..9f401c4 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:shin902/shi-marketplace:notification", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "8717d986b4ff9a1df07538c2c7f1cfb5dda8fc02", + "treeHash": "5367ef5189b6092d38254cd1117b10663e06cb8f1cd827c472c399327ca43a17", + "generatedAt": "2025-11-28T10:28:18.554327Z", + "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": "notification-plugin", + "description": "Claude Codeが停止したとき(タスクが完了したとき)・ツールの実行確認が必要になったときに、通知音を鳴らすためのフックを提供します。", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "68818fd8e50d8b00a696688a12a1bdf9ab77a99a5abd82890a1957246c52f316" + }, + { + "path": "hooks/hooks.json", + "sha256": "5aca3e78e6824b7b20675ec64a564d2ccba2f5abf78cfbeff2bfe3155a4f20fb" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "1a1bee1aa624c4dcb3fa9653de4eb265ad6df54d0ead6e4444c3fdbc7a28d117" + } + ], + "dirSha256": "5367ef5189b6092d38254cd1117b10663e06cb8f1cd827c472c399327ca43a17" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file