← 返回列表

apply-patch

DeepSeek Harness 工具与能力 低风险

将结构化 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.

怎么安装

DeepSeek Harness 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-…

推荐参考

43 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
43 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
TypeScript
GitHub 星标
1
月下载
670
最近更新
2026-08-20
创建于
2026-08-20

链接

基础安全检查

检查结果
无
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
deepseek-harness, dsh, dsh-plugin

同类推荐

MCP 服务器
推荐93

fastmcp

punkpeye/fastmcp

用于构建MCP服务器的TypeScript框架。

☆ 3.3K ↓ 2.0M 工具与能力 ↗
MCP 服务器
推荐91

mobile-mcp

mobile-next/mobile-mcp

用于移动自动化与抓取的模型上下文协议服务器(iOS、Android、模拟器、仿真器和真实设备)

☆ 6.8K ↓ 102.4K 工具与能力 ↗
MCP 服务器
推荐88

davinci-resolve-mcp

samuelgursky/davinci-resolve-mcp

用于DaVinci Resolve Studio的MCP服务器集成

☆ 3.1K ↓ 72.0K 工具与能力 ↗
MCP 服务器
推荐83

ssh-mcp

tufantunc/ssh-mcp

通过Model Context Protocol暴露Linux服务器SSH控制的MCP服务器。

☆ 762 ↓ 42.0K 工具与能力 ↗