Repository navigation
Releases
v0.1.0
First release, published as dsh-worktree-bar.
One row above the composer, and the row changes with the Session it belongs to:
- Start screen — a Session that has not been prompted gets a
worktreecheckbox. Checking it creates a linked git worktree and opens the blank Session in it, so the next prompt runs on a worktree branch; unchecking removes a worktree this plugin created and returns to the main checkout. - Conversation — the workspace, the branch the Session runs on, the worktree it belongs to, and the working-tree diff totals, each with the menu that reaches the checkout from the OS.
A repository declares what its own worktrees need in dsh-worktree.json (link, linkIgnored, copy, setup), so the plugin hardcodes no project's layout and a fresh worktree can run the project's own entry point.
Install
dsh plugin --profile desktop install Hermannmayer/dsh-worktree-barWithout a global CLI: npx @deepseek-ai/dsh plugin --profile desktop install Hermannmayer/dsh-worktree-bar.
Requires DSH >=0.1.7-rc.1 <0.2.0 and Node 20+. See the README for the full reference.
Naming
The package is dsh-worktree-bar, not dsh-worktree: the plain name is taken on npm by an unrelated plugin, and one name cannot cover two packages. The route path (/dsh-worktree/api) and the convention file (dsh-worktree.json) keep their original spelling deliberately — see the README.
Verified
Four dependency-free suites (npm test, 113 checks) run on Linux and Windows against Node 20 and 22 in CI.