dsh-better-edit
Run the following command in DeepSeek Harness:
dsh plugin install Rianico/dsh-better-edit
Paste the following prompt into your AI chat to install this plugin:
Install https://github.com/Rianico/dsh-better-edit as a DeepSeek Harness plugin to enable hash-anchored editing.
About this plugin
dsh-better-edit is designed for long, multi-step file-editing sessions in DeepSeek Harness. It addresses the failure modes of line-number or string-replacement editing: a single insertion can shift every later line number, models may have to repeat old code, and unverified ranges can silently land in the wrong place. Instead, it uses content hashes as line anchors, so edits are addressed by what the agent actually saw rather than by fragile positions.
The plugin provides hashline-style reading and editing: read returns each line with a hash anchor, edit targets hash ranges, and every range is checked against served rows before any write. Stale or unseen ranges are rejected and re-served with fresh anchors for retry, while ASCII-whitespace-insensitive anchors tolerate common formatters. With support for chained edits and atomic same-file batches, it is best suited for developers and coding agents doing structural refactors, repeated edits, or long sessions where an edit must not land on the wrong line; it offers less benefit for one-line touch-ups or brand-new files.
Screenshots
Use Cases
- Making continuous edits to the same file in long sessions
- Avoiding line-number drift after insertions
- Applying atomic batches of edits to one file
Best For
- Developers using DeepSeek Harness
- Coding agents that need reliable file edits
- Teams doing frequent structural refactors
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.