Hooks · DeepSeek Harness plugin
truelove-dreamer/dsh-plugin-hooks · skills
DeepSeek Harness Plugin: A life cycle link between DSH's Claude style.
★ 3GitHub stars
2Forks
2026-08-25Last updated
JavaScriptLanguage
—License
Key features
- pre-tool hookRun a matching tool before execution; command not zero exit Quote to prevent the tool from calling (Equivalent Claude Code PreToolUse returns error)
- /Hooks - List the configured books + last 20 run records (include exit codes/fault summary)
- The hook command is executed by ctx.shell.run (auto-shelter policy and timeout), payload goes stdin, cwd go env - consistent with the shell vocabulary reserved by DSH for booksbridges.
- Hook command is trusted host configuration (equivalent to Claude Code hooks): read and write anything that can be accessed by a host, only enabled by a trusted profile.
- Post-tool hookRun the tool result when you land; exit code is recorded only and does not change the tool result.
Install command
dsh plugin --profile web add github:truelove-dreamer/dsh-plugin-hooks