apply-patch
将结构化 unified diff(git 格式)应用到真实文件系统:多文件/多 hunk 解析、带行号偏移修正的模糊定位、全有或全无的应用与类型化冲突报告、反向补丁撤销日记及 dry-run——4 个 patch_* dsh 工具外加一个 CLI。
Applies structured unified diffs (git format) to the real filesystem: multi-file/hunk parsing, fuzzy hunk location with line-offset correction, all-or-nothing application with typed conflict reports, reverse-patch undo journal and dry-run - four patch_* dsh tools plus a CLI.
怎么安装
dsh plugin add dsh-patch-apply 简介
dsh-patch-apply **Apply structured unified diffs (git format) to the real filesystem inside DeepSeek Harness (dsh) — and anywhere else Node runs.** **中文文档:README.zh.md** dsh ships string-level edit/write tools but no structured diff-applier that **writes** to disk. dsh-patch-apply fills that gap: it parses a unified diff, applies every hunk with fuzzy context tolerance and line-offset correction, guards the whole operation so it is **all-or-nothing**, and records a **reverse patch** for byte-exact undo. Zero runtime dependencies. TypeScript sources, plain-object tool definitions, Node's built-…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-08-20
- 创建于
- 2026-08-20
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh, dsh-plugin
同类推荐
brave-search-mcp-server
brave/brave-search-mcp-server
Brave Search MCP服务器:网页结果、图片、视频、富结果、AI摘要等。
ms-365-mcp-server
softeria/ms-365-mcp-server
一个模型上下文协议(MCP)服务器,通过Graph API与Microsoft 365和Office服务交互。