Initial commit

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

View File

@@ -0,0 +1,12 @@
{
"name": "ccode-notify",
"description": "在需要用户交互或会话停止时发送系统桌面通知Notification/Stop hooks基于 notify-send/libnotify思路参考 explanatory-output-style 的 hooks 注入模式)",
"version": "1.0.0",
"author": {
"name": "junjiangao",
"email": "junjiangao@gmail.com"
},
"hooks": [
"./hooks"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# ccode-notify
在需要用户交互或会话停止时发送系统桌面通知Notification/Stop hooks基于 notify-send/libnotify思路参考 explanatory-output-style 的 hooks 注入模式)

27
hooks/hooks.json Normal file
View File

@@ -0,0 +1,27 @@
{
"description": "在需要用户交互或会话停止时发送系统桌面通知Notification 与 Stop hooks基于 notify-send/libnotify",
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks-handlers/notify-interaction.py",
"timeout": 5
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks-handlers/notify-stop.py",
"timeout": 5
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:junjiangao/ccode:plugins/ccode-notify",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "fea7da9da3a66c403551b66f6f708b00e5bd8c7c",
"treeHash": "9fc6f47aaab0a79fcd2adf5a3885bc162bd97741284984272007604fe3e9cf33",
"generatedAt": "2025-11-28T10:19:22.285516Z",
"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": "ccode-notify",
"description": "在需要用户交互或会话停止时发送系统桌面通知Notification/Stop hooks基于 notify-send/libnotify思路参考 explanatory-output-style 的 hooks 注入模式)",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "199a4f6ced983a49a924d51b29f694999459e4673e3cf5b143d62978ad7640c0"
},
{
"path": "hooks/hooks.json",
"sha256": "0b6bbb6bb7c0b774e6323223df94ba0492edcf52f0bb89bb72ec5f74c5896d5f"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "5d4f0123104e1db686ac3b69d80acc285d0169711c55dbb6919f2cae4779f996"
}
],
"dirSha256": "9fc6f47aaab0a79fcd2adf5a3885bc162bd97741284984272007604fe3e9cf33"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}