dsh-zcode-git
为Agent提供结构化、防注入且需审批的Git操作工具。 适合需要让Agent安全地执行Git版本控制和代码库变更管理的项目。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BOWLUNA/dsh-zcode-git說明文件
閱讀完整 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