alpacachen/dsh-worktree1

@alpacachen/dsh-simple-worktree

A Git worktree plugin for DeepSeek Harness that creates task branches, registers worktrees as DSH Workspaces, and opens isolated sessions.

包名
@alpacachen/dsh-simple-worktree
版本
1.1.0
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alpacachen/dsh-worktree

Usage

Install

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.

Manage worktrees

Open Settings → Worktree Management to scan every Workspace for Git projects and linked worktrees, inspect their branch and dirty state, and remove worktrees that are no longer needed.

The worktree is created at:

project.worktrees/login-fix/
└── branch: task/login-fix

The new Workspace is named /. Removing the worktree Workspace does not delete its Git branch.