DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-qoder-worktree

d

dsh-qoder-worktree

Identified

Qoder-style workspace mode and branch chips on the session row; picking a branch arms it, and the first message creates a dedicated git worktree and moves the session into it. Windows only: the write

dsh-qoder-worktree

Qoder-style workspace mode & branch chips for DeepSeek Harness (DSH).

在 DSH 会话行显示 Qoder 风格的「工作区模式 / 当前分支」chip,按任务创建独立 git worktree。

What it does / 功能

  • Hero row chips — on the new-session hero, a mode chip (本地模式 / Worktree 模式) and a branch chip sit next to the workspace and agent-preset pickers. Inside a conversation the same chips render read-only in the composer row. 新会话顶行显示模式 chip 与分支 chip;会话进行中在输入行显示只读 chip。
  • Branch picker — the branch chip opens a menu styled after the host's model picker: search box, local file state group (current branch + dirty flag), local branches and remote branches groups, and a pull action. 分支 chip 打开宿主模型下拉风格的菜单:搜索、本地文件状态、本地/远程分支、拉取更新。
  • Arm on select, land on send — switching mode or picking a branch only records the intent in ~/.dsh/qoder-worktree/arms.json. At the moment you press send, the plugin creates the task space under ~/.dsh/Worktrees/<repo>/<branch>-<random> and then switches the same session in place: no new session, no message move, sidebar grouping untouched. Windows sandbox writes are gated by a capability SID derived from the session's workspace root; the plugin computes the same SID and grants it Modify on the task-space directory (one Set-Acl), so the sandbox immediately allows writes there. The main checkout therefore stays writable by this session — the isolation is convention (the branch chip / task-space directory) rather than OS-enforced; pair it with your own discipline or the plugin's main-tree write guard. Any failure — worktree or ACL — reports the reason, changes nothing, and the message runs in the session as before. New sessions start in 本地模式 by default; Worktree 模式 must be armed explicitly per session. 选择只挂起意图;点发送那一刻先建任务空间,再把当前会话原地切过去:不新建会话、不搬消息、侧栏分组不变。Windows 沙箱写入由一个从工作区根派生的能力 SID 把关,插件算出同一个 SID 给任务空间目录补一条 Modify ACE(一次 Set-Acl),沙箱立即放行。代价是主树对会话仍然可写——隔离是"约定"不是 OS 强制。「本地模式」回主树同样是原地切换。任一步异常 = 报错、什么都不改,消息照常执行。新会话默认就是「本地模式」,想进任务空间必须在顶行手动选一次 Worktree 模式(按会话各自记忆,互不影响)。
  • Remote branches get a tracking local branch (--track -b); a branch already checked out in another worktree is added --detach with a short-sha suffix, mirroring Qoder's master-7a450602 naming. 远程分支自动建跟踪分支;已被占用的分支以 detached + 短 sha 后缀方式添加。

Install / 安装

dsh plugin add jamen-jiang/dsh-qoder-worktree

Or from npm: dsh-qoder-worktree (prebuilt, skips the build-approval step).

Requirements

  • A git repository with at least one commit as the session workspace (non-git workspaces show 本地模式 only).
  • Windows host with PowerShell (the ACL grant); Node ≥ 22.19 (host side), DSH harness with the slots / connection client injects.

Screenshots

Hero row with mode and branch chips Branch picker menu

License

MIT

Comments

Loading…

Similar plugins

dsh-task-worktree

Task-scoped git worktrees for DSH: durable per-repo manifest, worktree mode injects a creation instruction with your first message under an automatic worktree/ branch prefix, header badge instead of w

Development & InfrastructureManifest valid

★ 2

↓ 146/wk

MIT

JavaScript

dsh plugin --profile web add dsh-task-worktree

by hunan36

Branch chip in the composer tool row that switches, creates, and refreshes workspace branches, commits a checked subset of changed files with a message the session's own model writes from the diff, an

Development & InfrastructureManifest valid

★ 3

MIT

TypeScript

Oct 28, 2026

dsh plugin --profile web add dsh-git-flow

Branch and worktree management for DeepSeek Harness: the workspace toolbar shows the current branch with in-place switching, plus an IDEA-style branch selector, remote branch checkout, context menus (

Development & InfrastructureManifest valid

★ 1

MIT

TypeScript

dsh plugin --profile web add dsh-git-branch-manage

by Aealen

coding 工作台。以 git worktree 并行开发为地基,向上提供跨会话协作原语、项目分组侧栏与停靠式工作区面板,把 dsh 的单会话界面变成多工作区并行开发驾驶舱。

UI & ExperienceManifest valid

★ 4

↓ 147/wk

TypeScript

Sep 10, 2026

dsh plugin --profile web add dsh-coding-workspace

by jing-hy

Project/task dual-mode workspaces for DSH: a task skips the workspace picker and gets a fresh scratch directory (D:\dsh_working\<name>-<timestamp>) per conversation, Codex-style; no-workspace sessions

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

↓ 126/wk

MIT

JavaScript

Oct 11, 2026

dsh plugin --profile web add dsh-task-runner

by dd2673

Codex-style Git workbench: workspace-scoped changes, diff, stage, commit, guarded branch operations, graph history, fetch, fast-forward pull, and upstream push through official plugin APIs.

Development & InfrastructureManifest valid

★ 1

Apache-2.0

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-wending-git-workbench