CSY656/dsh-worktree

CSY656★ 1TypeScript最后同步: 2026-08-14

在 GitHub 打开

Git worktree filesystem isolation for DeepSeek Harness subagents — each child works in its own worktree; clean ones auto-remove, dirty ones are kept for review.

README 摘要

dsh-worktree Filesystem isolation for DeepSeek Harness subagents via git worktrees. Subagents already isolate messages, permission policy, and tool sets — this plugin isolates the filesystem : each child runs in its own worktree under /.dsh/worktrees/ , sharing the repository object store while keeping the working tree private. Two entries, one package: - dsh-worktree — the ctx.worktree service: create/restore/list/remove git worktrees with strict slug validation, change protection, best-effort post-creation setup, and periodic sweeping of stale temporary worktrees. - dsh-worktree/commands — the human-facing /worktree create list remove [--discard] slash commands. Install Requires the DeepSeek Harness next line ( dsh ≥ 0.1.0-rc.6). From GitHub: pnpm ≥ 10 asks you to allow the build — add the printed package key to the profile's pnpm-workspace.yaml : Then re-run the add . From npm (prebuilt): Usage Service API (for plugin authors): - Worktrees live at /.dsh/worktrees/ / ; nested slugs flatten / to + ( team/alice → team+alice ), branch worktree-team+alice . - validateSlug enforces [a-zA-Z0-9. -] per segment, length ≤ 64, rejecting . , .. , // , and leading/trailing separators. - Post…

在 GitHub 查看完整 README →
Agent/智能体dsh-pluginagent

分类