dsh-plugin-hooks
通过复核未声明依赖v0.1.1模型提供方
DeepSeek Harness plugin: Claude-Code-style lifecycle hooks for DSH. Configure shell commands that run automatically before/after model tool calls (pre-tool / post-tool) with a JSON payload on stdin; pre-tool non-zero exits block the call.[作者原文(英文)]
安装
dsh plugin --profile web add dsh-plugin-hooks把 web 换成你自己的 profile 名。首次使用会自动初始化该 profile。
复核结果
- declares-bundle声明了 dsh.bundle.patch → cordis.patch.yml
- patch-shippedpatch 文件确实打进了 tarball
- patch-parsespatch 解析正常,挂载 1 个插件行
- rows-resolvable每个插件行都能解析到已发布的包
- entry-shipped入口模块已打包:lib/index.js
- prebuilt预构建 —— 安装时无需执行构建脚本
它挂载了什么
inserthooksdsh-plugin-hooks
这些是插件的 cordis.patch.yml 往你的配置树里插入的行。装进去之后,dsh --profile <名字> --dump-config 会原样打印它们。