chendefine/dsh-hooks-claude-code-per-workspace

chendefine★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

DeepSeek Harness plugin: run each workspace's own Claude Code command hooks (per-session .claude/settings.json discovery)

README 摘要

dsh-hooks-claude-code-per-workspace English 中文 A DeepSeek Harness (dsh) plugin that runs each workspace's own Claude Code command hooks . The official @deepseek-ai/dsh-hooks-claude-code bridge reads one process-level configPath once at load ( TODO(per-session-hook-config) upstream). This plugin closes that gap for the multi-workspace web surface: at every hook interception point it resolves the current session's own cwd, loads that workspace's .claude/settings.json (plus .claude/settings.local.json , concatenated in order), cached by mtime:size — edit the file and the next hook point picks it up, no reload or restart . When a single dsh web instance has several workspaces open, each workspace's project-level hooks stay independent. Event → extension-point mapping, stdin payloads, and decision semantics are a faithful port of the official bridge; execution, decoding, and merging come from @deepseek-ai/dsh-hook-protocol . Install You can also install it from the Web GUI's plugin manager. Restart the profile afterwards (bundle membership changes load at boot). See the 中文文档 below for configuration, the workspace hook format, the trust model, and a comparison with the official bridge. 中…

在 GitHub 查看完整 README →
工具/开发claude-codecordisdeepseek-harnessdshdsh-pluginhooksplugin

分类