Bundle
@alpacachen/dsh-simple-worktree
A Git worktree plugin for DeepSeek Harness that creates task branches, registers worktrees as DSH Workspaces, and opens isolated sessions.
- Source
- alpacachen
- stars
- 1 stars
- License
- MIT
- Updated
- Updated yesterday
Readme
# dsh-worktree A Git worktree plugin for DeepSeek Harness that creates task branches, registers worktrees as DSH Workspaces, and opens isolated sessions. > npm package: `@alpacachen/dsh-simple-worktree` [](https://www.npmjs.com/package/@alpacachen/dsh-simple-worktree)  [](https://awesome-dsh-plugin.com)  [简体中文](README.zh.md) · **English**  ## Features - Create a Git worktree from a new-session action or any Git Workspace menu. - Choose the current branch or the repository's main branch. - Register and open the new worktree as a DSH Workspace with an isolated session. - Create task branches as `task/<name>`. - No additional service or project configuration. - Supports DSH themes, Chinese, and English. ## Usage ### Install ```sh dsh plugin --profile web add @alpacachen/dsh-simple-worktree ``` Restart `dsh web` after installation. You can also install from GitHub with `dsh plugin --profile web add github:alpacachen/dsh-worktree`. ### Create from a new session 1. Open **New Session** in a Git Workspace. 2. Choose **Create worktree** above the composer. 3. Enter a task name. The repository's main branch is selected by default. 4. Click **Create and open**. ### Create from a Workspace menu 1. Open a Git Workspace menu and choose **Create worktree**. 2. Enter a task name, such as `login-fix`. 3. Choose **Current branch** or **Main branch**. 4. Click **Create and open**. The worktree is created at: ```text project.worktrees/login-fix/ └── branch: task/login-fix ``` The new Workspace is named `<parent>/<task>`. Removing the worktree Workspace does not delete its Git branch.
Install
dsh plugin --profile web add github:alpacachen/dsh-worktree
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install alpacachen-dsh-simple-worktree from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.