dsh-plugin-smart-patch
Micro-surgical fault-tolerant code patching engine with 4-tier fuzzy matching for DeepSeek Harness (dsh).
avaritiachaos
@avaritiachaos
⬇ 1
★ 0
main
安装
dsh plugin --profile web add github:avaritiachaos/dsh-plugin-smart-patch
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Micro-surgical fault-tolerant code patching engine with 4-tier fuzzy matching for DeepSeek Harness (dsh).
该插件未提供要点说明,请参考仓库 README。
cordisdeepseek-harnessdsh-pluginpatch
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/avaritiachaos/dsh-plugin-smart-patch |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-16 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# @shion-lab/dsh-plugin-smart-patch
[](https://www.npmjs.com/package/@shion-lab/dsh-plugin-smart-patch)
[](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% 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
```bash
npm install -g @shion-lab/dsh-plugin-smart-patch
```
In `cordis.yml`:
```yaml
plugins:
"@deepseek-ai/dsh": {}
"@shion-lab/dsh-plugin-smart-patch":
createBackup: false
```
---
## 📄 License
MIT © [Shion Lab](https://github.com/shion-lab)
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。