dsh-worktree
Run the following command in DeepSeek Harness:
dsh plugin install Jiazliang/dsh-worktree
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Jiazliang/dsh-worktree in the DeepSeek Harness terminal to install this plugin, source code is available at https://github.com/Jiazliang/dsh-worktree
About this plugin
Working on multiple development lines in parallel is most effective when each branch has its own isolated directory. Yet manually running git worktree add, switching directories, and spawning new sessions is tedious and risks polluting the main repository or causing accidental damage.
dsh-worktree collapses that workflow into three menu items. Create Worktree spins up an independent branch and directory from any workspace and automatically opens a new session bound to it. Fork to Worktree branches off a new session that inherits the full conversation history and model preset, letting you try a new approach without touching the mainline. Delete Worktree tears down the directory, branch, and registration in one click, and is only visible on workspaces the plugin itself created, so the main repository can never be accidentally removed. The entire create, use, and clean-up cycle lives in the sidebar and session menus, with no need to leave DSH.
Built for developers who juggle multiple feature branches in DSH, want to experiment on a side branch without disturbing the mainline, or need separate sessions pinned to independent branches. It is plug-and-play, makes no modifications to DSH core, and works out of the box on both new and legacy builds.
Use Cases
- Create an isolated branch workspace from the main one to run multiple tasks in parallel without interference
- Fork a session with full conversation context to try a new approach while the mainline is still in progress
- Clean up a finished worktree in one click, removing the directory, branch, and registration while keeping the main repo spotless
Best For
- Engineers juggling multiple development lines in DSH
- Developers who want to experiment on a side branch without touching the mainline
- Teams that want each session pinned to its own branch with zero setup overhead
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.