FlipFlopszzz/dsh-studio--plugins-hooks0

@dsh-studio/plugins-hooks

Claude Code-style command hooks for DSH: bridges core agent/tool events to user-configured external commands (stdin JSON in, stdout JSON decision out)

包名
@dsh-studio/plugins-hooks
版本
0.1.0
最近更新
2026年8月17日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

配置(挂载到 profile 的 cordis.patch.yml)

- insert:
    - id: hooks
      name: '@dsh-studio/plugins-hooks'
      config:
        hooks:
          Stop:
            - type: command
              command: 'node D:\dev\my-stop-hook.js'
          PreToolUse:
            - type: command
              command: 'powershell -File D:\dev\my-guard.ps1'
              timeoutMs: 5000