DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Git Tools — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
G

dsh-git-tools

Git Tools

用于 DeepSeek Harness 的本地 git 工具:git_status、git_diff、git_log、git_commit

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Shyboy0499/dsh-git-tools#5f52aa5dd762dd40fa6581839048f56b066e5e3c
README兼容性版本

兼容性与来源证明

Git Tools 以 dsh-git-tools 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/26

版本

0.1.0stable
2026/8/26

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
未声明
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/8/27
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序

README

dsh-git-tools

Local git tools for DeepSeek Harness (dsh).

dsh-git-tools is a dependency-free DeepSeek Harness plugin that gives the coding agent four local git tools — git_status, git_diff, git_log, and git_commit — so it can inspect the repo in the session workspace and create commits, all through the official tool API. No UI, Host-side only.

Features

ToolWhat it does
git_statusBranch, ahead/behind, and staged / unstaged / untracked files
git_diffStat summary or full patch, staged or unstaged, optional path filter
git_logRecent commits as { hash, author, date, subject }
git_commitStage specific paths (or all) and commit with a required message

Installation

dsh plugin --profile web add dsh-git-tools

Requires git on your PATH (present in any development environment).

Tool reference

All tools accept an optional cwd (defaults to the session workspace).

git_status

Inspect the working tree and branch state.

{ "branch": "main", "ahead": 0, "behind": 2,
  "staged": [{ "path": "src/index.ts", "status": "M" }],
  "unstaged": [], "untracked": ["scratch.txt"] }

git_diff

View changes. staged diffs the index, statOnly: true (default) returns a stat summary, statOnly: false returns the full patch. path filters to a single file.

{ "stat": [{ "file": "src/index.ts", "added": 3, "deleted": 1 }],
  "total": { "files": 1, "insertions": 3, "deletions": 1 }, "patch": null }

git_log

List recent commits. count defaults to 10 (max 100); path filters to a file.

{ "commits": [{ "hash": "a1b2c3d4e5f67890abcdef1234567890abcdef12", "author": "Shyboy0499", "date": "2026-08-26", "subject": "Fix typo" }],
  "total": 1 }

git_commit

Create a commit. message is required (non-empty). Stage specific files with paths, or everything with all: true. Never stages implicitly.

{ "success": true, "hash": "e5f6g7h0123456789abcdef0123456789abcdef01", "branch": "main", "filesStaged": 2 }

Safety

  • All git calls run through execFile with arguments passed as arrays — no shell interpolation, so user/model-controlled values are injection-safe.
  • git_commit requires an explicit message and never stages files on its own (pass paths or all: true).
  • No destructive operations (--amend, --force, rebase, reset) in the core scope.

Development

pnpm install
pnpm run build     # tsdown → lib/
pnpm test          # vitest against real throwaway git repos

License

MIT