avaritiachaos/dsh-plugin-smart-patch

avaritiachaos★ 0TypeScript最后同步: 2026-08-16

在 GitHub 打开

README 摘要

@shion-lab/dsh-plugin-smart-patch 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 In cordis.yml : 📄 License MIT © Shion Lab

在 GitHub 查看完整 README →
工具/开发cordisdeepseek-harnessdsh-pluginpatchagentsearch

分类