dsh-hooks-plugin: Provides Claude Code-style hooks for DeepSeek Harness
2026-09-02
DeepSeek Harness plugin
DeepSeek Harness
dsh-hooks-plugin
DSH plugin
Claude Code Style
Lifecycle Hooks
dsh-hooks-plugin is an open-source plugin for DeepSeek Harness (DSH) that provides Claude Code-style hook functionality and is released under the MIT license. It allows developers to execute shell commands on agent and tool lifecycle events, manages configuration via the `.dsh/hooks.json` file, supports a four-layer configuration structure (global, preset, project, and local), and features automatic hot reloading. The plugin supports eight core events, including PreToolUse, PostToolUse, SessionStart, and SessionEnd, and implements two hook types: command and HTTP. Users can intercept tool calls or add context by outputting JSON decisions (such as "deny") via stdout.
Read More