Eleven-is-cool/dsh-worktree--packages-client-ui-worktree ↗★ 0
@eleven-is-cool/dsh-client-ui-worktree
DSH 工作区工作树面板插件:提供工作区行菜单面板及侧边栏页脚图标入口
AI 分析
核心用途是在 DSH 界面中管理 Git 工作树(worktree)。适合使用 Git worktree 进行多分支并行开发、需要在 DSH 中快速切换和创建工作区的开发者。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗@eleven-is-cool/dsh-client-ui-worktree
Worktree panel plugin for the dsh web surface. Two registration surfaces:
sidebar.workspaces.workspaceMenu(patched ui-workspace, seepatches/): the panel under each Workspace row's "…" menu.sidebar.footer.action(stock DSH): a fallback icon action beside Settings that opens the same panel for the current Workspace.
Shape
The panel lists the repository's worktrees with an "Open" action per row — registering the directory as a Workspace (ctx.workspaces.create) and opening its session (ctx.workspaces.startSession) — plus a creation form: branch input with a local-branch datalist, a new-branch checkbox (auto-selected for unknown names), and an optional target directory; creating opens the new worktree the same way.
The plugin waits on the remote.worktree inject key, provided by @eleven-is-cool/dsh-worktree's client assembly.
Model Experience
None. The package registers no tools, injects no prompts, and writes no session events.
Known Limitations and Deferred Work
- Worktree removal, prune, and move operations belong to the host service and are deferred until a consumer asks for them.