BOWLUNA/dsh-zcode-git ↗★ 0

dsh-zcode-git

为Agent提供结构化、防注入且需审批的Git操作工具。 适合需要让Agent安全地执行Git版本控制和代码库变更管理的项目。

包名
dsh-zcode-git
兼容性
待验证
Harness 依赖范围
>=0.1.5-rc.2 <0.1.6-0 || >=0.1.6-alpha.1 <0.2.0-0
Cordis 依赖范围
^4.0.2
版本
1.0.1
许可证
MIT
最近更新
2026年9月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BOWLUNA/dsh-zcode-git

Configuration

KeyDefaultMeaning
timeoutMs30000Per-invocation timeout
maxDiffLines500Default patch line ceiling (clamped to 10–5000)
maxLogEntries50Default git_log limit (clamped to 1–500)
requireApprovalForWritestrueWhether 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