hj01857655/dsh-plugins--packages-dsh-git-ops ↗★ 1

dsh-git-ops

Structured git tools for your dsh agent: status, diff, log, and commit that run in the host process, not inside a sandbox whose environment strips HOME.

包名
dsh-git-ops
兼容性
待验证
Harness 依赖范围
^0.2.1-rc.2
Cordis 依赖范围
~4.0.5
版本
2.0.0
许可证
MIT
最近更新
2026年10月29日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:hj01857655/dsh-plugins#50a88d8cab3f1b295c218964815a07935f7f2660&path:packages/dsh-git-ops'

配置(2.0)

/plugin-data/dsh-git-ops/config.json:

{ "identity": { "name": "...", "email": "..." }, "allowPush": false }
  • identity:git_commit 以 -c user.name/email 传参,优先于全局 git 配置
  • allowPush:git_push 工具的注册门禁,默认关闭。宿主进程跑 git 不经沙箱审批层, 推送这类不可逆外联操作必须由宿主操作者显式打开