dsh-plugin-tool-dryrun
v0.1.0
Published
DSH plugin: Before a write happens, see what would change, what permission it needs and whether it is reversible. Reads are marked pass-through.
Maintainers
Readme
dsh-plugin-tool-dryrun
写入发生前,查看将改什么、需要什么权限、能否撤销。读操作标记为直接通过。
这是 14 个 DSH Agent 生命周期只读可观测插件之一(主题:工具预演与权限门)。它只读取会话事件的元数据——从不读取提示词、工具调用内容或文件内容——且不发起任何网络请求。
安装
dsh plugin --profile web add dsh-plugin-tool-dryrun需要 Node ^22.19.0 || >=24 与 DSH >=0.2.0-rc.2 <0.3.0。
30 秒演示
- 正常使用 DSH 几轮。
- 在任意会话输入
/tool-dryrun。 - 得到紧凑的只读报告;用
/tool-dryrun --json获取机器可读输出。
它读取什么
只读取会话事件元数据:事件类型、工具名、token 计数与路由名。任何疑似凭据的值在显示前都会被脱敏。不读取、存储或传输文件内容与提示词。
许可
MIT — SSHOOTING。
