DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-better-edit

Hash-anchored read, edit, batch edit, and undo tools for DeepSeek Harness.

Developer ToolsSecurity & Policy
10GitHub Stars2ForksUpdated2026-08-18

Install

$ dsh plugin --profile <name> add dsh-better-edit # from npm

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 is a DeepSeek Harness plugin that replaces scoped read/edit behavior with hashline tools. It addresses file lines by stable three-character hashes, verifies served ranges before writing, supports atomic batches, and persists undo state.

Key Capabilities

  • Provides hash-prefixed file reads with offset and limit paging.
  • Edits line ranges using hash anchors instead of echoed old text or line numbers.
  • Rejects stale, unserved, unverified, and ambiguous edit ranges before writing.
  • Supports up to 32 edits in one atomic batch_edit call.
  • Provides undo_last_edit when the file still matches the stored post-edit state; undo history persists across restarts.
  • Stores snapshots, served-state records, and undo history in a per-workspace SQLite store.
  • Integrates through a Cordis bundle patch and shadows built-in read/edit tools on the agent scope.

Useful For

  • Making repeated or structural code edits while retaining stable references to previously read lines.
  • Reducing replacement-text transcription in agent-driven file edits.
  • Preventing edits from silently applying to stale or incorrectly resolved file ranges.
  • Applying several dependent file modifications atomically.
  • Reverting the most recent hashline edit after a restart when the file has not changed.

Who It Fits

  • DeepSeek Harness users working with coding agents.
  • Developers making multi-step edits to source files.
  • Users who need verified, content-addressed edit ranges.

Documented Limitations

  • Requires Node.js ^22.19.0 or >=24.0.0 and a DSH profile.
  • Hashline editing applies only to readable, writable UTF-8 text files; directories, binary files, and non-UTF-8 files are rejected.
  • Files over the plugin's hashline line ceiling are rejected for editing.
  • A file must be read in the session before it can be edited, and ranges must have been served to the model.
  • batch_edit is limited to 32 edits per call.
  • Undo is unavailable if the file changed or was deleted after the edit, and earlier shared-home undo history is not migrated to the per-workspace layout.
  • The README notes DSH is in developer preview and the plugin is pinned to DSH 0.1.0-rc.6, with future breaking changes possible.

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 4 runtime, 11 development, 6 peer, and 0 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
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
9b711c8 · 2026-08-19

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
10GitHub stars
Forks
2
Open issues
1
Last commit
2026-08-18
Last release
2026-08-18
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