- Главная
- Плагины
- Инструменты и функции
- dsh-plugin-smart-patch
A
dsh-plugin-smart-patch
avaritiachaos/dsh-plugin-smart-patch
Механизм точечного и отказоустойчивого исправления кода для DeepSeek Harness (dsh) с нечетким сопоставлением в 4 уровня.
Установка
dsh plugin --profile web add github:avaritiachaos/dsh-plugin-smart-patchREADME
@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\nvs\n). - Non-essential comment differences in search blocks.
@shion-lab/dsh-plugin-smart-patch introduces 4-tier cascading matching:
- Tier 1: Exact Substring Match (100% confidence).
- Tier 2: Whitespace-Normalized Line Match (survives tab/space indentation drift).
- Tier 3: Unique Anchor-Based Boundary Match (locks unique prefix/suffix lines).
- 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
Похожие плагины
T
archify (deepseek-harness)
tt-a1i/archify
97.1kвчераИнструменты и функцииApache-2.0
T
WeKnora (dsh-weknora)
tencent/weknora
37.5kвчераИнструменты и функции
D
next-ai-draw-io (dsh-plugin)
dayuanjiang/next-ai-draw-io
37k19 часов назадИнструменты и функцииApache-2.0
T
weknora
tencent/weknora
20.2k3 месяца назадИнструменты и функции