dsh-zcode-git
First-class Git tools for DeepSeek Harness agents: structured status/diff/log/branch/commit/stash whose output is immune to the user's pager, color, quotepath and alias configuration; every invocation is an argv array so no shell ever sees an argument; mutations go through the harness approval service. 适合需要让Agent安全地执行Git版本控制和代码库变更管理的项目。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BOWLUNA/dsh-zcode-gitREADME
Read the full README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
timeoutMs | 30000 | Per-invocation timeout |
maxDiffLines | 500 | Default patch line ceiling (clamped to 10–5000) |
maxLogEntries | 50 | Default git_log limit (clamped to 1–500) |
requireApprovalForWrites | true | Whether mutations need an approval decision |
A patch entry replaces the whole config map rather than merging into it,
so restate anything you want to keep:
- insert:
- id: tool-git
name: dsh-zcode-git
config:
timeoutMs: 60000
requireApprovalForWrites: true