dsh-plugin-tool-dryrun
sshooting/dsh-plugin-tool-dryrun
Read-only dry-run view of tool calls: read vs write, permission and reversibility.
インストール
dsh plugin --profile web add github:sshooting/dsh-plugin-tool-dryrunREADME
dsh-plugin-tool-dryrun
Before a write happens, see what would change, what permission it needs and whether it is reversible. Reads are marked pass-through.
This is one of 14 read-only observability plugins for the DSH agent lifecycle (theme: Tool Dry-run & Permission Gate). It reads only metadata from session events — never prompts, tool bodies, or file contents — and makes no network calls.
Install
dsh plugin --profile web add dsh-plugin-tool-dryrun
Requires Node ^22.19.0 || >=24 and DSH >=0.2.0-rc.2 <0.3.0.
30-second demo
- Use DSH normally for a few turns.
- In any session, type
/tool-dryrun. - You get a compact, read-only report; use
/tool-dryrun --jsonfor machine-readable output.
[tool-dryrun] 5 tool call(s) · 0 write(s) need approval
read_file UNKNOWN permission=pass-through reversible=n/a
read_file UNKNOWN permission=pass-through reversible=n/a
write_file UNKNOWN permission=pass-through reversible=n/a
write_file UNKNOWN permission=pass-through reversible=n/a
retry_request UNKNOWN permission=pass-through reversible=n/a
What it reads
Session event metadata only: event types, tool names, token counts, and route names. Credential-looking values are redacted before display. No file contents or prompts are read, stored, or transmitted.
License
MIT — SSHOOTING.