dsh-hooks: Run Local Commands on Session Events in DSH

@abworks/dsh-hooks is a general-purpose hook plugin provided by abworks-dev for DeepSeek Harness (MIT, v0.1.0). It allows configuring absolute path commands for seven event types, including SessionStart and PreToolUse, via "Settings → Hooks". The feature is disabled by default and requires explicit activation. Only the PreToolUse event allows rejecting tools via exit code 2. It supports installation via Release TGZ or `github:abworks-dev/dsh-hooks#v0.1.0` and requires no hardware. Based on the official README, this article covers installation, configuration protocols, and security boundaries, while outlining differences from Codex Hooks and the Studio hardware bridge.

Read More
dsh-hooks: Declarative integration lifecycle hooks for DeepSeek Harness

dsh-hooks is a configuration-driven lifecycle hook plugin for DeepSeek Harness maintained by PeterBon. It allows users to listen to DSH events (such as turn/end, tool/call, etc.) via declarative configuration in `cordis.patch.yml`, and trigger the execution of external commands or send built-in notifications without writing plugin code. The plugin includes a hook engine and a Web GUI settings page, the latter of which provides features such as a historical timeline, manual testing, and an editor. Its core capabilities support two notification channels, desktop and webhook, and provide rich configuration fields including conditional matching, timeout control, retry mechanisms, concurrency limits, and debouncing. Context can be passed via environment variables or stdin. Installation requires Node.js.

Read More