dsh-plugin-git-inspect
Run the following command in DeepSeek Harness:
dsh plugin install Wanbinyu/dsh-plugin-git-inspect
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Wanbinyu/dsh-plugin-git-inspect in a Harness CLI environment to install this read-only Git inspection plugin; source code is available at https://github.com/Wanbinyu/dsh-plugin-git-inspect .
About this plugin
When an agent needs to make sense of a Git repository—current branch, uncommitted changes, who owns a particular line, whether merge conflicts are pending—it must do so without touching write operations. dsh-plugin-git-inspect provides exactly that read-only inspection layer for DeepSeek Harness: ten registered tools covering status, diff, diff-stat, log, show, refs, conflicts, blame, stash-list, and worktree-list, letting the model drill into a repo the way a seasoned code reviewer would, with zero ability to commit, push, reset, or switch branches.
Security is the foundation of every design choice. The plugin never executes a shell; all git invocations go through the Harness subprocess service with a fixed argv. User-supplied paths are always placed after the --pathspec separator, eliminating shell-expansion vectors. Pagers, colored output, external diffs, and interactive prompts are all disabled so results stay stable and predictable. stdout and stderr are capped in bytes, and truncated output is explicitly flagged. Git blame returns at most 50 lines by default (200 as the hard ceiling), keeping context windows clean.
It is built for developers assembling agent-based code-review pipelines and for teams that want per-tool approval policies inside their host compositions. Whether you are debugging a local CI failure, triaging merge conflicts before integration, or scanning a multi-worktree project layout, a single bundle install adds a safe, structured layer of Git awareness to every Harness session.
Use Cases
- An agent inspects unresolved merge conflicts and working-tree diffs before a merge
- A reviewer traces commit ownership of a code segment via git blame
- A pipeline scans branches, stashes, and refs across multiple worktrees
Best For
- Developers assembling agent-based code-review pipelines
- Teams wiring read-only Git tools into their Harness compositions
- CI/CD engineers enforcing safe Git boundaries for autonomous agents
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.