dsh-plugin-hooks

truelove-dreamer

Claude Code 风格生命周期 hooks:工具调用前后自动执行 shell 命令(stdin 收 JSON payload),pre-tool 非零退出即阻断调用。

Claude-Code-style lifecycle hooks: configured shell commands run before/after model tool calls with a JSON payload on stdin; a non-zero pre-tool exit blocks the call.

安装命令

dsh plugin --profile web add dsh-plugin-hooks

该命令来自上游目录,本站的自动审核尚未覆盖它——执行前请自行核对仓库。

安装后运行 dsh --profile web --dump-config 并重启对应 profile。插件会以你的本机权限运行第三方代码,安装前请检查源码。

信号

GitHub Stars3
30 天下载139
分发方式NPM
收录时间2026-08-14

相关链接

同类插件