dsh plugins中文
← Back to popular plugin directory

Hooks Adapter

JohnXu22786/hooks-adapter · skills

Universal hooks compatibility layer for DeepSeek Harness: run hooks declared in Claude Code / Codex / opencode configs on dsh.

★ 2GitHub stars
0Forks
2026-08-25Last updated
JavaScriptLanguage
MITLicense

Key features

  • Declare hooks in .claude/settings.json (no matter which harness you wrote them for) and they keep working in dsh
  • Zero runtime dependencies (Node ≥ 18, pure ESM + JSDoc types)
  • Environment variables HOOKS_ADAPTER_CONFIG (same as --config) and HOOKS_ADAPTER_HOME (same as --home)
  • stdin JSONsession_id, transcript_path, cwd, hook_event_name, permission_mode + event fields (tool_name/tool_input/tool_use_id/tool_response/prompt/source ...)
  • Config files must be strict JSON (no comments)

Install command

dsh plugin --profile web add github:JohnXu22786/hooks-adapter
View GitHub repository ↗Back to popular plugin directory