dsh-better-edit
Hash-anchored read / edit / batch_edit / undo_last_edit tools: every line gets a unique 3-character content hash, edits target hashes instead of line numbers, and served-state verification rejects stale ranges with fresh anchors.
基于哈希锚定的 read / edit / batch_edit / undo_last_edit 工具:每行分配唯一的 3 字符内容哈希,编辑按哈希而非行号定位;对已提供状态逐行校验,过期范围会被拒绝并回传新锚点。
How to install
dsh plugin add dsh-better-edit About
Edit by content address — not by line numbers, not by string replacement. Fewer tokens. More attention for real work. Zero misapplied edits.</strong> --- *"The harness — not the model — is the bottleneck."* — Can Bölük, *The Harness Problem* Most edit tools ask the model to echo the old code **token-for-token** before it can change anything — and that's exactly where agents fail: 46–51% patch-format failure rates for several models with replace-style edits. **dsh-better-edit** goes deeper. Every line of a file gets a unique 3-character content hash, and edits target hashes. The old text is nev…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 32
- mo. downloads
- 4.6K
- Last push
- 2026-09-22
- Created
- 2026-08-14
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh, dsh-plugin, edit, hashline, hashline-edit, oh-my-pi, pi, tools
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.