v0.3.0
A Git change summary button plugin for DeepSeek Harness (DSH): one click shows the current branch's changes in a DSH-themed panel.
Features
- Overview cards: files changed / +added / −deleted / net change / untracked
- Meta: repo path, branch, upstream ahead/behind, auto-detected base branch, HEAD commit (hash + subject + author + date)
- Uncommitted changes in three groups — total vs HEAD / staged / unstaged — with status badges and
+x −yline counts - Branch commits ahead of the base branch + combined diff stats
- File details: TOP5 most-changed, by extension, by top-level directory
- Extra checks: untracked files, binary files, conflict markers, whitespace errors, recent commits
- Automatic repo detection from the session workspace; auto-refresh on workspace switch
- DSH-themed UI (light/dark), button placed beside the "Session log" in the session header
- Cross-environment resilient: 4-level fallback (default → standard PATH → unsandboxed →
subprocessdirect), independent of host PATH completeness and sandbox runner availability
Install
In a DSH session, define the plugin with cordis_define:
code.host←plugin/host.jscode.client←plugin/client.js
then activate with cordis_run (browser approval required on first activation). Full docs: README / docs/.
Assets
plugin/host.js— Host half (code.hostfunction body)plugin/client.js— Client half (code.clientfunction body)