dsh-git-remotes
Manifest valid★ 4DSH web plugin: better-sidebar Git Remotes tab for fetch / ff-only pull / confirmed push
dsh-git-remotes
English · 简体中文
DeepSeek Harness Web 插件:在 dsh-better-sidebar 里增加一个 Git 远程 Tab。
内置 Git Tab 负责暂存 / 提交 / 丢弃。本插件不替换它,只补它没有的远程动作:
- 看当前分支、上游、ahead / behind、remote 列表
git fetch(全部或指定远程;默认 prune 失效跟踪分支)git pull --ff-only(分叉则报错,不隐式 merge)git push(面板二次确认;没有 force-push;没有模型工具自动推送)
安装
先装 better-sidebar,再装本插件(官方 web profile):
dsh plugin --profile web add dsh-better-sidebar
dsh plugin --profile web add git+https://github.com/yq04/dsh-git-remotes.git
没有 better-sidebar 时,host 路由仍会挂上,客户端 inject = ['betterSidebar'],Tab 不会出现。卸载:
dsh plugin --profile web remove dsh-git-remotes
dsh plugin --profile web --dump-config
需要系统 git。推送凭据走你本机已有的 credential helper / SSH agent,插件不存 token,错误信息会把 URL 里的 user:pass 打成 ***。
行为边界
| 做 | 不做 |
|---|---|
| fetch / ff-only pull / 确认后 push | 暂存、提交、revert(用内置 Git Tab) |
| 远程名校验后再拼进 argv | shell 拼接、--force |
POST + application/json + Host 信任围栏 | 给模型注册 push 工具 |
prune 清掉 [gone] 跟踪 ref | 自动删本地分支 |
Push 必须 confirm: true。这是有意学 Claude Code 捆绑插件 commit-commands 的用法:/commit-push-pr 由人发起;本插件把同一约束做成侧边栏按钮,而不是斜杠命令,也不调用 gh pr create。Fetch 默认 prune,对应他们的 /clean_gone 所依赖的「先 fetch --prune」。
开发
pnpm install
pnpm typecheck
pnpm test
pnpm build
dsh.bundle.patch 在 cordis.patch.yml。发布前 pnpm build(npm prepare 会跑 tsdown)。
仓库已打 GitHub topics:dsh、dsh-plugin、dsh-better-sidebar、git。
许可
BSD-3-Clause(与官方 plugin-template 相同)。
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by auggie246
A Git sidebar for DeepSeek Harness Web
★ 0
MIT
JavaScript
Sep 13, 2026
dsh plugin --profile web add dsh-sidebarGit commit-and-push automation for DSH with pre-push auditing, rule-based quality scoring, SSH key generation, and a three-tab settings sidebar.
★ 2
NOASSERTION
JavaScript
dsh plugin --profile web add dsh-git-pushby Rock-ql
DSH Desktop plugin: git branch pill in the composer, with local/remote listing and confirmed checkout | DSH 对话栏 Git 分支胶囊
★ 0
↓ 57/wk
MIT
TypeScript
Aug 25, 2026
dsh plugin --profile web add dsh-git-branchby EasyTZ
Git panel plugin for DeepSeek Harness (dsh) — visual staging, commits, push and branch switching in the sidebar
★ 1
↓ 43/wk
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add @easytz/dsh-gitby hutao562
DeepSeek Harness plugin: a sidebar tab that takes over the whole page with another DSH instance's Web GUI, plus a remote session-state badge. 在侧边栏顶部加一个「远程」标签,整页切到另一台主机上的 DSH。
★ 0
↓ 289/wk
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-remote-dshby pinzza
DSH Web 侧边栏底部的紧凑 Git 状态插件,参考 ccstatusline-zh 的 Git widgets
★ 0
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-git-statusline