FlipFlopszzz/dsh-studio--plugins-hooks ↗★ 0
@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)
AI Analysis
核心用途是实现事件驱动的自定义工作流或安全门禁。适合需要在工具执行前(如安全审计)或代理停止后触发自定义脚本的高级用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full 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