dsh-hooks-plugin

Claude Code 风格的 DSH hooks:通过 .dsh/hooks.json 在智能体/工具生命周期事件上运行 shell 命令 | Claude Code style hooks for DeepSeek Harness: shell commands on agent/tool events via .dsh/hooks.json

Other UsesMIT☆ 3

Overview

Claude Code 风格的 DSH hooks:通过 .dsh/hooks.json 在智能体/工具生命周期事件上运行 shell 命令 | Claude Code style hooks for DeepSeek Harness: shell commands on agent/tool events via .dsh/hooks.json

Installation

Install from npm

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

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:KYinCode/dsh-hooks-plugin

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Independent install test

Install result
Incompatible in the tested version
Tested Harness version
0.2.0-rc.2
Tested plugin version
Not reported
Test date

Fallback version

Fallback test result
No fallback version found
View dependency version ranges
@deepseek-ai/dsh-shell
^0.1.0-rc.6
@deepseek-ai/dsh-subprocess
^0.1.0-rc.6

Installation notes

  • May run terminal commands