From d66dca2ce252d6dc9ac853fc81a9ba0f08e101e0 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:47:13 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 +++++++ README.md | 3 ++ hooks/announce-notification-hooks.json | 15 +++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 hooks/announce-notification-hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..9e85c8a --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "announce-notification", + "description": "Announce when Claude Code is idle or needs your input", + "version": "1.0.0", + "author": { + "name": "Hugo Duncan" + }, + "hooks": [ + "./hooks/announce-notification-hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..8ad61a7 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# announce-notification + +Announce when Claude Code is idle or needs your input diff --git a/hooks/announce-notification-hooks.json b/hooks/announce-notification-hooks.json new file mode 100644 index 0000000..6fbfc66 --- /dev/null +++ b/hooks/announce-notification-hooks.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "Notification": [ + { + "matcher": "", + "hooks": [ + { + "type": "command", + "command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/idle_notification.sh" + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..cc74986 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:hugoduncan/claude-marketplace:plugins/announce-notification", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "651dc8ded5609f49c53da34290b78889a08545cd", + "treeHash": "61770f3521a9e46aca514ef8878870a522d93ffeedad9e732c3cfa56fdc9dec9", + "generatedAt": "2025-11-28T10:17:35.987585Z", + "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": "announce-notification", + "description": "Announce when Claude Code is idle or needs your input", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "9a92b0a259e67d0b4c427091d93efb1bdeef23b6a221798a6b68a531f952f790" + }, + { + "path": "hooks/announce-notification-hooks.json", + "sha256": "4eb4f372cdc73384699a26baa2793b5de6f5b976fb280edc6009ee49d85a9a39" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "c2b9f1285e868d44cb38408a3d045afc62c6db6646ea9651270603c63e33c4cd" + } + ], + "dirSha256": "61770f3521a9e46aca514ef8878870a522d93ffeedad9e732c3cfa56fdc9dec9" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file