DSH Plugins
Back to plugins

dsh-plugin-hooks

CheckedUndeclaredv0.1.1Model providers

DeepSeek Harness plugin: Claude-Code-style lifecycle hooks for DSH. Configure shell commands that run automatically before/after model tool calls (pre-tool / post-tool) with a JSON payload on stdin; pre-tool non-zero exits block the call.

Install

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

Swap web for your own profile name. First use initializes the profile for you.

Checks

  • declares-bundle
    Declares dsh.bundle.patch → cordis.patch.yml
  • patch-shipped
    The patch file ships in the tarball
  • patch-parses
    Patch parses and mounts 1 plugin row(s)
  • rows-resolvable
    Every plugin row resolves to a published package
  • entry-shipped
    Entry module ships: lib/index.js
  • prebuilt
    Prebuilt — installs without running build scripts

What it mounts

inserthooksdsh-plugin-hooks

These are the rows the plugin's cordis.patch.yml inserts into your config tree. After installing, dsh --profile <name> --dump-config prints them back.