dsh-plugin-git-status
Manifest validDSH plugin: current workspace Git status in the Web GUI composer tool row (branch, change counts, expandable file list, auto-refresh) plus a git_status agent tool.
dsh-plugin-git-status
A DeepSeek Harness plugin that shows the git status of the current workspace. It is read-only: it never creates, modifies, or deletes any file.
- Git status panel — a small chip in the composer tool row, to the left of the model selector. It shows the branch name, a clean/dirty summary, and a manual refresh button. When the working tree has changes, the change count is clickable and expands into a grouped file list (conflicted / staged / unstaged / untracked) with porcelain status codes and rename origins. The panel refreshes every 30 seconds and hides entirely when the workspace is not a git repository.
git_statusmodel tool — callable through the normal tool pipeline. Returns structured JSON with the branch, commits ahead/behind upstream, grouped change counts, the file list, and the most recent commit. It accepts an optionalcwd; when omitted it inspects the current session workspace.
Screenshots
Clean workspace — the chip shows the branch and a green "✓ clean" summary:

Workspace with changes — the change count is a clickable text that opens the grouped file list:

Workspace with changes, file list expanded — grouped by conflicted / staged / unstaged / untracked; each row shows the porcelain status code, the path, and the original path for renames:

Supported Harness version
0.1.2-alpha.4 (the plugin peer-depends on the same @deepseek-ai/* package
versions). For older Harness releases use plugin 0.3.0 (0.1.0-rc.7) or
0.4.0 (0.1.1-rc.1).
Install
dsh plugin --profile <name> add dsh-plugin-git-status
If the CLI is not installed globally:
npx @deepseek-ai/dsh plugin --profile <name> add dsh-plugin-git-status
Replace <name> with your profile name (e.g. web). Restart the Harness
process after installing, then hard-refresh the browser page.
For a reproducible install, pin a commit (replace the example with the real commit SHA):
dsh plugin --profile <name> add github:<owner>/dsh-plugin-git-status#0123456789abcdef0123456789abcdef
Configuration
The panel auto-refresh cadence is configurable at runtime from the browser:
open Settings → Plugins and edit the Git status card
(refreshIntervalMs), like the terminal plugin's command-timeout card. The
change is written to the Host settings document and takes effect live (the
panel re-reads it when the tab becomes visible again).
It can also be set through the plugin's Cordis row. Add a config block for
the dsh-plugin-git-status row in your profile's cordis.patch.yml:
- id: dsh-plugin-git-status
name: dsh-plugin-git-status
config:
refreshIntervalMs: 60000
refreshIntervalMs— milliseconds between automatic refreshes (default30000). Set it to0to disable auto-refresh entirely; the panel then only updates on the manual refresh button or when the workspace changes.- Auto-refresh is also paused while the browser tab is hidden, and resumes (with an immediate refresh) when the tab becomes visible again.
Update / remove
Use the CLI's update and remove commands:
dsh plugin --profile <name> remove dsh-plugin-git-status
dsh plugin --profile <name> add dsh-plugin-git-status
Data storage
The plugin stores nothing. Git status is computed on demand by running
read-only git status / git log commands in the inspected directory.
Known limitations
- The panel is session-scoped and reflects the active session's workspace. If the session has no workspace directory, the panel is not shown.
- Paths with two or more consecutive spaces are read from
git status -z, so they are preserved exactly. - The panel does not offer inline file operations; it only reports status.
Changelog
Notable changes per release are documented in CHANGELOG.md.
Development
pnpm install
pnpm typecheck
pnpm test
pnpm build
pnpm build emits lib/index.js (Host), lib/typert.js (Remote descriptor),
and lib/client.js (browser bundle).
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.2.0 | — | — |
| 0.2.1 | — | — |
| 0.3.0 | — | — |
| 0.4.0 | — | — |
| 0.5.0 | — | — |
Comments
Loading…
Similar plugins
by Julyves
DeepSeek Harness (dsh) plugin: Git status pill in the session header — branch, dirty counts, ahead/behind, recent commits & changed files.
★ 3
MIT
TypeScript
Sep 1, 2026
dsh plugin --profile web add dsh-git-uiby happyqu
Git workbench for deepseek-harness: changelists, staging, history, branches, stashes and optional AI assistance
★ 0
NOASSERTION
JavaScript
Oct 19, 2026
dsh plugin --profile web add @happyqu/dsh-plugin-gitby melo7up
Git status badge in the composer tool row: a 14px branch glyph left of the model selector, with branch name, changed-file count and +added/-deleted lines on hover. Counts staged, unstaged and untracke
★ 4
MIT
JavaScript
Oct 9, 2026
dsh plugin --profile web add dsh-git-changeby KannaKuron
DSH plugin: Git Bash shell for all agent modes on Windows (replaces pwsh executor)
★ 41
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add dsh-gitbash-shellLocal Git workbench for DeepSeek Harness: branch search and switching, hunk-level staging, commit graph, file history and blame, stash and worktree management, conflict resolution, and eight git tools
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-plugin-git-workbenchby g1998815
DSH(DeepSeek Harness) 右侧原生工具侧边栏插件:文件系统浏览器 / Git 变更与 diff / 会话变更 采用·撤回 / PTY 控制台。Windows 直连 node-pty,跟随 DSH 主题,RPC fail-closed。
★ 3
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-workspace-tools