← 返回列表

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

推荐参考

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

信息

协议
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

同类推荐

MCP 服务器 新上架
推荐93

fastmcp

punkpeye/fastmcp

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

☆ 3.3K ↓ 2.2M 工具与能力
MCP 服务器 新上架
推荐90

mobile-mcp

mobile-next/mobile-mcp

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

☆ 6.0K ↓ 95.1K 工具与能力
MCP 服务器 新上架
推荐86

brave-search-mcp-server

brave/brave-search-mcp-server

Brave Search MCP服务器:网页结果、图片、视频、富结果、AI摘要等。

☆ 1.4K ↓ 97.6K 工具与能力
MCP 服务器 新上架
推荐85

ms-365-mcp-server

softeria/ms-365-mcp-server

一个模型上下文协议(MCP)服务器,通过Graph API与Microsoft 365和Office服务交互。

☆ 931 ↓ 171.7K 工具与能力