dsh-statusline
IdentifiedA single row at the bottom of the DSH Web GUI with the active session's Git branch (the short commit when detached), worktree, working directory, modified / added / untracked / deleted path counts and
dsh-statusline
One line at the bottom of DeepSeek Harness: the current session's git branch, worktree, working directory, uncommitted changes, and ahead/behind.
What it shows
| Segment | Label | Source |
|---|---|---|
| Branch | branch | git status --porcelain=v2 --branch; a detached HEAD shows the short commit |
| Worktree | worktree | always shown; the checkout directory name, with the repository path in the tooltip |
| Directory | cwd | the session's cwd, last path segment; hover for the full path |
| Changes | changes | porcelain v2, split into * modified / + added / ? untracked / - deleted; counts are paths, so an untracked directory counts once |
| Sync | ↑a ↓b | branch.ab ahead / behind, shown only when non-zero |
Outside a repository it shows the directory and "not a git repository". If git is missing or does not answer within 5 seconds, the row says git not found or git timed out instead of pretending the directory is not a repository. The row appears only while a session with a working directory is open; the empty start screen has nothing to show.
Install
The plugin is distributed from this repository.
Desktop app — the app owns its profile and ships no dsh command:
- Clone this repository (
git clone https://github.com/Magicqy/dsh-statusline). - In DeepSeek Harness open Plugins → Add plugin and choose the cloned folder.
- Restart DeepSeek Harness.
dsh CLI — install from the repository into the profile you use:
dsh plugin --profile <profile> add github:Magicqy/dsh-statusline
Then restart DeepSeek Harness: a page refresh reloads the browser half but does not load the Host half.
Plugin market — once this repository is listed in the awesome-dsh-plugin catalog, dsh-market shows the entry and installs it from the GitHub source.
Requirements
giton PATH. Only read-only commands run, with a 5 s timeout; a missing or slowgitis reported as such instead of being shown as "not a git repository".- DSH
0.2.2-rc.x; developed and tested on0.2.2-rc.5. The client reads the sessions store shape (retainedBy,projectionsBySession), so a future release may need an update.
Privacy
- Read-only git:
rev-parseandstatus --porcelain=v2. - Two routes under the harness's normal same-origin authentication:
GET /api/statusline/git?cwd=<absolute path>andPOST /api/statusline/report. - Nothing is written to disk unless
DSH_STATUSLINE_REPORT=1is set, in which case the self-check log goes to the OS temp directory.
Uninstall
Remove it in the plugin manager, or dsh plugin --profile <profile> remove dsh-statusline.
Development
index.js is the Host half (Node built-ins only) and client.js the browser half, which claims the shell.bottom slot and reads react from the host module loader.
Edit the files in a checkout directly: a page refresh reloads client.js, while a change to index.js needs a DSH restart. To test the packaged form instead of a linked checkout, install this repository into a disposable profile with dsh plugin --profile <profile> add <absolute path>.
License
MIT
Comments
Loading…
Similar plugins
by RaditPasya
Git panel for DeepSeek Harness — branch dropdown, commit graph, and previews in the left rail, plus an always-on footer dock that follows your session
★ 0
MIT
TypeScript
Oct 7, 2026
dsh plugin --profile web add dsh-web-git-sidebarby jdz321
DSH 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.
★ 0
MIT
TypeScript
Oct 13, 2026
dsh plugin --profile web add dsh-plugin-git-statusby 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 konnga
Read-only Git panel for the current workspace: branch, changed files and diffs, plus which files this session changed, what has been reviewed, and which tools and skills it ran.
★ 4
↓ 362/wk
MIT
JavaScript
Nov 9, 2026
dsh plugin --profile web add @konnga/dsh-hudby 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 wdxtub
Git inside your AI session: one sync button that fetches, pulls, or pushes; a default commit tab; AI-written commit messages for DeepSeek Harness.
★ 2
MIT
JavaScript
Nov 22, 2026
dsh plugin --profile web add dsh-wdx-git