matata2017/dsh-codex-hooks

Codex's hook management for DSH: a review dialog, sha256-pinned trust, a Hooks settings page, a /hooks browser and per-turn run stats.

DSH exposes interception seams and nothing around them, so hooks are powerful and unreviewed. This plugin adds the management layer: it discovers hooks.json from config, from plugins inside the active profile, and from projects this session has touched, then fingerprints each hook with a sha256 over its normalized JSON. Trust is pinned to that fingerprint, so editing a hook's command invalidates its trust instead of silently running new code. New hooks start in needs-review, approval happens in a composer dialog with one row per hook, and a Hooks settings page plus a /hooks browser cover switching off and inspection, with per-turn run stats. Auto-approving a specific tool call is supported and scoped.

Workflow & Automation ★ 0
View on GitHub ↗

Install

dsh plugin --profile desktop add github:matata2017/dsh-codex-hooks

The README's GitHub install line for the desktop profile, with a local-checkout variant that it describes as how the project is developed. The config file is DSH's own hooks.json with DSH event names — what is ported is the behaviour around it, not Codex's file format.

Compatibility

Verified against dsh 0.1.0-rc.6 according to the README's own compatibility table, and it says newer dsh releases are untested because the plugin reads dsh's slot, command and remote-method contracts. Its client half binds four dsh client packages; if the message-level hook button shows no turn, the README names the missing package.

Details

Alternatives

kui123456789/dsh-codex-workflow · Letter2025/dsh-model-failover · Cola1018/dsh-aicc-zhunao

More plugins in Workflow & Automation

Browse more in Workflow & Automation

Guides for Workflow & Automation plugins