dsh-web-git-sidebar

DSH Web 左侧栏的源代码管理面板:搜索、切换与创建分支并显示领先/落后提交数,拓扑序提交图,点击任意提交可展开查看其文件(A/M/D)、增删行数、提交信息、作者与时间。设置上方常驻一个底部停靠区,包含分支下拉与最近提交并跟随当前会话;fetch 与快进 pull 合并为一个按钮;另有 git_worktree 工具供智能体创建、列出与移除 worktree。

插件介绍

DSH Web 左侧栏的源代码管理面板:搜索、切换与创建分支并显示领先/落后提交数,拓扑序提交图,点击任意提交可展开查看其文件(A/M/D)、增删行数、提交信息、作者与时间。设置上方常驻一个底部停靠区,包含分支下拉与最近提交并跟随当前会话;fetch 与快进 pull 合并为一个按钮;另有 git_worktree 工具供智能体创建、列出与移除 worktree。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-web-git-sidebar

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:RaditPasya/dsh-web-git-sidebar

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。