apply-patch avatar

apply-patch

Apply structured unified diffs (git format) to the real filesystem inside DeepSeek Harness (dsh): multi-file parsing, fuzzy hunk location, all-or-nothing application, dry-run, and reverse-patch undo.

PluginDeveloperFileCode reviewGitHub integration
Verification
L2 · Structured
Security
Low
Health
Active
Trust
Silver

What it doesAI

Apply unified diffs to real filesystem with fuzzy hunk matching, dry-run, and all-or-nothing undo.

  • Multi-file unified diff parsing
  • Fuzzy hunk location matching
  • Dry-run and reverse-patch undo

AI-generated from the repo README — for reference only.

Installation

dsh plugin --profile web add github:JohnXu22786/apply-patch

Install method: GitHub · not yet tested in container (L3+)

Compatibility

DSH VersionStatus
not statedDeclared — not tested

Requirements

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

Security Report

Automated static scan, not manual review.

DSH.SO AUDITPASSED93fad3
Automated review · daily
PASSED

No critical or warning findings in the automated scan. The result is valid only for the commit hash shown.

0 critical·0 warning·0 info·15 files scanned
plugin version1.0.0dsh manifest
scanned commit93fad30836512026-08-20
latest commit93fad3083651

The scan result is valid for the scanned commit. New commits within 7 days are tolerated (the rating still counts); after 7 days without a rescan the badge shows outdated.

Disclaimer: automated static analysis, not a security guarantee. Always review what you install.

Second-opinion scan (vet · parallel evaluation)
vet: clean

vet verdict: vet: clean · score 100

  • R10 · info [heuristic] — 依赖清单:2 项(@types/node, typescript,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
  • R12 · info [certain] (downgraded) — 入口文件缺失:./build/src/index.js
  • R12 · info [heuristic] (downgraded) — engines.node=>=18 低于 DSH 运行要求(>=22.19),可能不兼容
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.argv
  • R3 · info [certain] (downgraded) — 只读 process 成员(能力触达面):process.exitCode

vet is advisory and does not change dsh’s four-tier level.

Risk: Low0 critical · 0 warning · 0 info

• Static heuristic scan: done (15 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

Activity

Last commit 2026-08-20 · activity: Active

• Repo created: 2026-08-20

• Stars: ★ 0 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/JohnXu22786/apply-patch

Was this page helpful?