← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-better-edit

Hash-anchored read, edit, and undo tools for DeepSeek Harness that reduce token overhead and prevent line drift.

Developer ToolsSecurity & Policy
35GitHub Stars6ForksUpdated2026-09-28

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.

source-grounded
dsh-better-edit provides hash-anchored file reading and editing tools for DeepSeek Harness. By replacing line numbers and string-matching replacements with stable 3-character content hashes, the plugin prevents file corruption caused by line shifts. Edits are pre-verified against served states to catch stale or unobserved ranges before writing, and atomic multi-edit batching and persistent undo operations are supported.

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.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 5 runtime, 25 development, 0 peer, and 1 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

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
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app