dsh-tool-git¶
| 类型 | 插件 | 分类 | 开发者工具 |
| 星数 | ⭐3 | 状态 | ✅ 活跃 |
| 能力 | git, coding | 更新时间 | 2026-08-14 |
📖 项目简介¶
Structured, safe Git tool family for DeepSeek Harness (dsh). Coding agents reach for git constantly, but the stock runtime only offers raw bash. dsh-tool-git gives the model eight structured tools that run git through a shell-free subprocess runner and return canonical JSON values — plus a tools/pre-execute safety gate that stops destructive git operations (force push, hard reset, rebase, amend, branch deletion, …) before they happen,
✨ 核心特性¶
- No shell injection: every command goes through
execFilewith an explicit - Machine output: porcelain v2,
--numstat, and--formatrecords are parsed - Safety by default: destructive operations are denied with an explanation
📦 安装¶
dsh plugin --profile web add dsh-tool-git
🚀 快速开始¶
dsh plugin --profile web add github:lxj808624/dsh-tool-git#v0.1.3