DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Git Badge — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-git-badge

Git Badge

DeepSeek Harness 的 Git 状态徽章:每次安装都会显示输入行标签,并在完成一次手动操作后显示侧边栏会话行徽章(Git 状态、PR/CI 操作令牌):`npx dsh-git-badge apply`,然后重启 dsh web。通过 SSE 实现事件驱动的实时更新。

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

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

兼容性与来源证明

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

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

版本

0.17.4stable
2026/9/18
0.17.3stable
2026/9/17
0.17.2stable
2026/9/17
查看其余 23 个版本收起版本
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.8.0stable
2026/9/12
0.7.0stable
2026/9/12
0.6.0stable
2026/9/12
0.5.5stable
2026/9/10

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题
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

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. 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 conversation's directory is fixed when it is created, so a conversation that does its work in a linked git worktree would otherwise keep reporting the main checkout. The session registers its checkout (npx dsh-git-badge checkout <path>, run by the git-worktree and /gh checkout paths), and the badge describes that worktree instead — its branch, counts, tree mark 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 a checkout row with the conversation's own directory, so the main checkout's branch and dirty state stay one hover away. Registrations are advisory: git's own worktree list validates the path, entries expire after 24h, and a workspace-targeted row always reports the checkout the registry owns.
  • Sidebar session-row action token — each session row shows the ONE thing that conversation needs from you, or nothing at all: merge, fix CI, review, resolve, pull, push. It is triage rather than status: merge appears only when GitHub itself reports mergeStateStatus: CLEAN, and every waiting state (draft, blocked, behind, checks still running) stays silent. Hovering the row adds a line naming the checkout and the pull request the action refers to. The token floats to the right of the row, is set heavier than the timestamp beside it, and is coloured by how much it needs you — red for a conflict or a failing build, amber for a requested review, green for merge, quiet grey for routine sync. It appears only when the session is idle — while a turn is running the row stays quiet, because the checkout is still moving and a suggestion would describe a state that is about to change. Requires the sidebar.workspaces.sessionRow seam; without it the plugin degrades to chip-only and logs what's active to the browser console.
  • 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 seam is on the session row for that reason.

The leading mark belongs to the input chip: a circle filled with the status colour, or a tree when the checkout is a linked git worktree. The sidebar row deliberately carries no mark — see the row bullet above, where one word does the job a colour cannot. (●/🌳 stand in for it here — it is a drawn SVG so that it can take the theme's status colours.)

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 registered. 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 and git on PATH. gh, on PATH and authenticated, is optional — it only enables the PR/CI token.

Seam details: github.com/Kevin-McIsaac/dsh-workspace-git-badge (SEAM.md / PR.md).

Changelog

See CHANGELOG.md.

License

MIT

相关插件

继续浏览 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 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序