DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-git-badge

Git Badge

DeepSeek Harness 的 Git 状态徽标:输入行徽标和侧边栏会话行操作图标,每次安装即可使用——无需补丁,也无需手动操作。通过 SSE 实现事件驱动的实时更新。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-git-badge@0.21.0
README兼容性版本

兼容性与来源证明

Git Badge 以 dsh-git-badge 发布,当前版本为 0.21.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/5

版本

0.21.0stable
2026/11/4
0.20.1stable
2026/10/13
0.20.0stable
2026/10/13
查看其余 28 个版本收起版本
0.19.0stable
2026/10/12
0.18.0stable
2026/10/12
0.17.4stable
2026/9/18
0.17.3stable
2026/9/17
0.17.2stable
2026/9/17
0.17.1stable
2026/9/16
0.17.0stable
2026/9/16
0.16.1stable
2026/9/16
0.16.0stable
2026/9/15
0.15.0stable
2026/9/15
0.14.1stable
2026/9/15
0.14.0stable
2026/9/15
0.13.0stable
2026/9/14
0.12.0stable
2026/9/14
0.11.0stable
2026/9/14
0.10.1stable
2026/9/14
0.10.0stable
2026/9/14
0.9.1stable
2026/9/14
0.9.0stable
2026/9/14

相关插件

正在加载相关插件…

最新版
0.21.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
254.4 kB
文件数
8
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
345
安全扫描
✓ v0.21.0 扫描通过
最近提交
2026/10/13
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
0.8.0stable
2026/9/12
0.7.0stable
2026/9/12
0.6.0stable
2026/9/12
0.5.5stable
2026/9/10
0.5.4stable
2026/9/1
0.5.3stable
2026/8/31
0.5.2stable
2026/8/31
0.5.1stable
2026/8/31
0.5.0stable
2026/8/31

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hub

README

dsh-git-badge

Git status badges for DeepSeek Harness:

  • Input-row chip — ✚ main ↑0 ↓2 ✎3 next to the access picker, showing the git state of the workspace the current conversation is attached to. The leading glyph is the action the node half picked; with no action the chip starts at the branch name. Works on every install.
  • Hover card — rest a pointer on the chip for what won't fit: the file breakdown (✎3 split into staged / unstaged / untracked), the last ten commits, and the stash. Fetched only on hover, so the everyday badge pays nothing for it. Works on every install.
  • PR / CI token — ✚ main ↑0 ↓2 PR#142 ✓ when the branch has a GitHub pull request, read through your own gh CLI (the plugin never handles a credential). The token links to the PR — it opens in a new tab, and underlines when you hover or focus it. Invisible when gh cannot answer: not installed, not logged in, no GitHub remote, offline or rate-limited all render the unchanged chip, and a token with no URL to link to stays plain text.
  • Worktree-aware — a session can enter a linked git worktree or another repository. DSH records the session's working directory (working_directory commits the change), and the badge describes that checkout — its branch, counts and PR/CI token (chore/global-skills-tiering ↑0 ↓2 PR#391 ✓ rather than main). The hover card names the tree in a worktree row and adds an own checkout row with the workspace's own directory, so the main checkout's branch and dirty state stay one hover away. The projection is a host fact, so no registration file, TTL or worktree guess is involved. A workspace-targeted row always reports the checkout the registry owns.
  • Sidebar session-row action glyph — each session row shows the ONE thing that conversation needs from you: resume, resolve, sync, pull, update, push, merge, commit, review, fix CI, or in sync when there is nothing to do. The node half is the single authority: it ranks the rules and attaches a rowToken and its rowSeverity to every status response, so the chip, the picker and the row cannot drift. It is triage rather than status: merge appears only when GitHub itself reports mergeStateStatus: CLEAN, and every waiting state (draft, blocked, checks still running) stays silent. The token renders as a single coloured icon, in the row's 16px leading cell and at the head of the input chip: red for a conflict, a paused operation or a failing build, amber for a requested review, green for merge, quiet blue for routine sync, and amber for the in sync disc when commits are not yet merged. It appears only when the session is idle — while a turn is running upstream shows its own status dots there, because the checkout is still moving and a suggestion would describe a state that is about to change. With nothing to do the node emits in sync, so a session is never iconless: a disc in both surfaces, green when the branch is the default branch or its work is merged, amber when commits are not yet merged. The same hover card explains it. Hovering the row opens the row's usual hover card, which renders the action as a label/value row — the icon, the word and the reason (↑ push — no upstream configured) — beside the checkout and the pull request. No patch and no install step: the glyph rides upstream's own sidebar.session.row.leading seat, and the explanation rides sidebar.session.row.hover, so both work on a pristine install.
  • Nothing on workspace rows. A workspace cannot know which worktree its conversations are using, so a per-workspace badge could only guess or report the main checkout. The token is on the session row for that reason.

There is no drawn status mark: the leading icon is the node half's action token, and its colour is the severity. The same icon leads the input chip and the session row's 16px cell. Four tokens are drawn arrows, the idle verdict is a drawn disc, and the rest are text glyphs. The card's worktree row names a linked checkout.

Event-driven freshness: working trees are watched and updates push over SSE — badges flip within ~1s of any commit, stage, or edit, including inside a linked worktree the session entered. One git status --porcelain=v2 per sample, shared by every surface pointing at the same checkout, plus at most one gh read per repository-and-branch per ~20s. The status API takes no path: the caller passes a session id (chip and sidebar rows) or a workspace id, and the server resolves the directory itself.

Diagrams, the hover card's full field list and a walkthrough for git newcomers live in the repo README — this file is the npm-facing summary.

Install

dsh plugin --profile web add dsh-git-badge

Restart the web process, refresh the browser. Requires Node ≥ 20, DSH 0.2.1 or newer, and git on PATH. gh, on PATH and authenticated, is optional — it only enables the PR/CI token.

No seam patch and no CLI. The badge reads DSH's own workingDirectory projection, so it follows the checkout a session entered without a registration step. The /gh skill is registered at runtime, not copied into your home.

Sidebar technical details

Both surfaces ride upstream seats: the status icon on sidebar.session.row.leading (a 16px, idle-only cell), the hover card on sidebar.session.row.hover.

Changelog

See CHANGELOG.md.

License

MIT