dsh-git
适用于 DeepSeek Harness 的 Git 能力捆绑包:提供结构化的 Git 工具、需审批的变更操作以及自动检查点功能。
AI 分析
核心用途是为 DSH 赋予安全的 Git 版本控制能力。适合需要 Agent 自动执行 Git 操作,同时要求对写操作进行审批并自动创建备份的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:walavave/dsh-git說明文件
閱讀完整 README ↗Install
Install through the Harness plugin command:
dsh plugin --profile web add dsh-git
dsh plugin runs pnpm add dsh-git inside the profile and auto-registers the bundle through its dsh.bundle.patch. Restart, and the three plugins (git-local, tool-git, git-checkpoint-policy) plus the seven git_* tools are live.
Alternatively, install the package manually and mount the plugins:
cd ~/.dsh/profiles/
npm install dsh-git
- insert:
- id: git-local
name: 'dsh-git/local'
- id: tool-git
name: 'dsh-git/tool'
- id: git-checkpoint-policy
name: 'dsh-git/checkpoint-policy'
Restart after editing the profile's cordis.patch.yml.
Do not mount
dsh-git/gitas a plugin entry. The definition registersctx.gitautomatically; mounting it alongsidegit-localcauses a duplicate-service error.