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.

Plugin开发文件代码审查GitHub 集成
验证
L2 · 结构化
安全
低风险
健康
活跃
信任

功能介绍AI

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 基于 README 自动生成,仅供参考。

安装

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

Install method: GitHub · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

自动静态扫描,非人工审核。

DSH.SO AUDIT已通过93fad3
自动审查 · 每日更新
已通过

自动化扫描未发现严重或警告级问题。结果仅对所示 commit hash 对应版本有效。

0 严重·0 警告·0 提示·15 扫描文件数
插件版本1.0.0dsh 清单
扫描版本93fad30836512026-08-20
当前版本93fad3083651

扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

第二意见扫描(vet · 并行评估期)
vet:干净

vet 判定:vet:干净 · 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 仅作参考,不改变 dsh 的四档等级。

风险:低风险0 critical · 0 warning · 0 info

• 静态启发式扫描:已完成(15 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

活跃度

最近提交 2026-08-20 · 活跃度:活跃

• 仓库创建: 2026-08-20

• 星标: ★ 0 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

GitHub: github.com/JohnXu22786/apply-patch

这页有帮助吗?