DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

avaritiachaos /

dsh-plugin-smart-patch

仅 Topic 仓库

这个仓库还没有填写简介。

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@176c4227

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

npm version License: 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% confidence).
  2. Tier 2: Whitespace-Normalized Line Match (survives tab/space indentation drift).
  3. Tier 3: Unique Anchor-Based Boundary Match (locks unique prefix/suffix lines).
  4. Tier 4: Levenshtein Distance Fallback.

📦 Installation & Usage

npm install -g @shion-lab/dsh-plugin-smart-patch

In cordis.yml:

plugins:
  "@deepseek-ai/dsh": {}
  "@shion-lab/dsh-plugin-smart-patch":
    createBackup: false

📄 License

MIT © Shion Lab

—/ 5

暂无评分

需要先验证清单

Commit 176c4227ed73

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于