apply-patch
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.
将结构化 unified diff(git 格式)应用到真实文件系统:多文件/多 hunk 解析、带行号偏移修正的模糊定位、全有或全无的应用与类型化冲突报告、反向补丁撤销日记及 dry-run——4 个 patch_* dsh 工具外加一个 CLI。
How to install
dsh plugin add dsh-patch-apply About
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-…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-08-20
- Created
- 2026-08-20
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh, dsh-plugin
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
brave-search-mcp-server
brave/brave-search-mcp-server
Brave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.
ms-365-mcp-server
softeria/ms-365-mcp-server
A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API