truelove-dreamer/dsh-plugin-git-workflow ↗★ 2
dsh-plugin-git-workflow
DeepSeek Harness plugin: first-class Git workflow tools for the model — repo status, diffs, commit creation with validated messages, recent history, and branches. No bare-shell git calls; every invocation runs through the harness shell executor (sandbox + approval semantics) with quoted args, and path/message validation.
AI 分析
核心用途是让 Agent 在沙箱和审批机制下安全地执行 Git 操作。适合需要 Agent 辅助进行版本控制、自动提交代码且不希望直接暴露裸 Shell 的开发者。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:truelove-dreamer/dsh-plugin-git-workflowドキュメント
README 全文を読む ↗使用
git_status # 看当前仓库状态
git_diff # 看未暂存改动
git_diff staged: true # 看已暂存改动
git_commit message: "fix: ..." # 提交(全部已暂存内容)
git_commit message: "feat: ..." paths: ["src/a.js"] # 先 add 再提交
git_log count: 20 files: true # 最近 20 条 + 改动文件
git_branch # 分支列表
所有工具都接受 workdir(默认会话工作目录,相对路径按会话目录解析)。