dsh-better-edit
Hash-anchored read, edit, and undo tools for DeepSeek Harness that reduce token overhead and prevent line drift.
Install
No clear install command was found in the current repository evidence.
Plugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Hash-anchored read and edit tools using stable 3-character content hashes
- Pre-write verification against served session state to prevent overwriting drifted or unobserved files
- Atomic multi-edit batching on single files (up to 32 edits)
- Persistent undo functionality across harness restarts
- ASCII-whitespace-insensitive canonicalization surviving linter and formatter passes
- Self-healing reject-and-serve recovery without full file re-reads
Useful For
- Editing codebase files accurately in long DeepSeek Harness agent sessions without line drift
- Reducing prompt token consumption during refactoring by eliminating the need to echo unmodified code
- Safely applying batched multi-line modifications to existing source files
- Reverting agent file modifications with persisted undo state
Who It Fits
- Developers using DeepSeek Harness for automated code editing and refactoring
- Engineers looking to optimize agent token economics and reduce context window bloat
- Maintainers requiring fail-closed file modification safeguards in agent workflows
Documented Limitations
- Only supports text files; binary, directory, UTF-16, and UTF-32 files are rejected
- Files are capped at a maximum of 238,328 lines
- Whitespace-only changes within string literals and regexes are ignored by anchor canonicalization
- Requires Node.js ^22.19.0 or >=24.0.0 due to node:sqlite requirements
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 5 runtime, 25 development, 0 peer, and 1 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- Rianico/dsh-better-edit
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 7f38175 · 2026-09-30
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 35GitHub stars
- Forks
- 6
- Open issues
- 5
- Last commit
- 2026-09-28
- Last release
- 2026-09-27
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Backup, undo, redo, and crash-recovery savepoint manager with WebUI and offline rescue tools for DeepSeek Harness.
View plugin →Verifiable research-report engine with content-addressed evidence ledgers and sealed reports for DeepSeek Harness.
View plugin →Cybersecurity red-team and prompt evaluation plugin for DeepSeek Harness with host policy patching and drill consoles.
View plugin →Vision routing and pixel-level visual tool suite for DeepSeek Harness agents with built-in free fallbacks.
View plugin →