dsh pluginsEnglish
← 返回热门插件目录

模型的一流 Git 工作流程工具

truelove-dreamer/dsh-plugin-git-workflow · 生产力

DeepSeek Harness 插件:用于模型的一流 Git 工作流程工具 — 存储库状态、差异、包含经过验证的消息的提交创建、最近的历史记录和分支。

★ 3GitHub 星标
0分支
2026-08-25最近更新
JavaScript开发语言
—许可证

主要功能

  • 零 shell 注入所有 git 调用经 harness 的 shell 执行器(ctx.shell)运行,参数逐个引号转义,用户输入不可能被解释为 shell 语法——同时继承沙箱与审批语义(read-only 会话无法 commit)。
  • git 调用经 harness 的 shell 执行器(ctx.shell)运行,继承沙箱与审批语义;路径校验是词法级的,符号链接/工作树外路径依赖 git 自身约束。
  • 输入校验commit message 非空、≤2000 字符、无 NUL;路径拒绝绝对路径与 ..
  • 穿越(反斜杠归一化后检查),保证不越出仓库。
  • 纯逻辑可单测解析(porcelain / diff-stat / log / branch)与校验全部在 lib/git.js 纯函数里,npm test 零依赖。

安装命令

dsh plugin --profile web add github:truelove-dreamer/dsh-plugin-git-workflow
查看 GitHub 仓库 ↗返回热门插件目录