← 返回列表
D

@shion-lab/dsh-plugin-smart-patch

v0.1.2 · 0 天前发布

Micro-surgical fault-tolerant code patching engine with 4-tier fuzzy matching for DeepSeek Harness (dsh).

deepseekdeepseek-harnessdshdsh-plugincordispatchdifffuzzy-match

README

@shion-lab/dsh-plugin-smart-patch

![npm version](https://www.npmjs.com/package/@shion-lab/dsh-plugin-smart-patch)
![License: MIT](https://opensource.org/licenses/MIT)

Micro-surgical fault-tolerant code patching engine with 4-tier fuzzy matching for DeepSeek Harness (dsh).

---

🌟 Why dsh-plugin-smart-patch?

AI coding agents often fail at applying diffs because of:

  • Minor whitespace / indentation drift (e.g. 2 spaces vs 4 spaces).

  • Line ending mismatches (\r\n vs \n).

  • Non-essential comment differences in search blocks.
  • @shion-lab/dsh-plugin-smart-patch introduces 4-tier cascading matching:
    1. Tier 1: Exact Substring Match (100% co

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @shion-lab/dsh-plugin-smart-patch
    Repo
    git+https://github.com/avaritiachaos/dsh-plugin-smart-patch.git
    Engines
    {"node":">=18"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"displayName":"Smart Patch Diff Engine","description":"4-tier micro-surgical fuzzy code patching engine surviving indentation drift and CRLF","icon":"code","service":"smartPatch","category":"developer"}