← Back to list

apply-patch

DeepSeek Harness Tools & Capabilities Low risk

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

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

43 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
43 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
1
mo. downloads
670
Last push
2026-08-20
Created
2026-08-20

Links

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

MCP Server
Score93

fastmcp

punkpeye/fastmcp

A TypeScript framework for building MCP servers.

☆ 3.3K ↓ 2.0M Tools & Capabilities ↗
MCP Server
Score91

mobile-mcp

mobile-next/mobile-mcp

Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)

☆ 6.8K ↓ 102.4K Tools & Capabilities ↗
MCP Server
Score88

davinci-resolve-mcp

samuelgursky/davinci-resolve-mcp

MCP server integration for DaVinci Resolve Studio

☆ 3.1K ↓ 72.0K Tools & Capabilities ↗
MCP Server
Score83

ssh-mcp

tufantunc/ssh-mcp

MCP server exposing SSH control for Linux servers via Model Context Protocol.

☆ 762 ↓ 42.0K Tools & Capabilities ↗