limoiie/dsh-plugin-worktree

limoiie★ 0JavaScript最后同步: 2026-08-19

在 GitHub 打开

README 摘要

dsh-plugin-worktree A dsh plugin that brings Claude Code-style git worktree support to the dsh web UI. Create, switch, and delete worktree-backed sessions without leaving the browser. Features - New-session hero — the workspace chip shows the root workspace name when the current session is in a worktree, and the Worktree chip shows the current worktree name. You can list the repository's worktree workspaces, create a new git worktree, or switch to another worktree. - Sidebar badge — worktree workspaces are normal workspaces whose titles carry a ⑂ branch badge. - Delete dialog — deleting a worktree workspace asks whether to also remove the git worktree directory and its dsh/ branch, or keep them on disk. Requirements - A working dsh installation - A web profile ( dsh web ) - git available on the host machine - Node.js 18 or newer Install From npm Restart dsh web . The plugin registers the worktree bundle row automatically. From GitHub Pin a released version by replacing main with a tag, for example: Git-hosted installs may need pnpm's allowBuilds approval for the package's prepare script, as pnpm prints during installation. Update Restart dsh web after updating. If you installed fro…

在 GitHub 查看完整 README →
工具/开发dsh-pluginweb uisidebar

分类