dsh-hashline-edit-pro: Edit Files with Content Hash Anchors, Line Number Independent

dsh-hashline-edit-pro is a DSH client plugin maintained by sleepinginsummer that provides hashline_read, replace, and undo_last_replace. It uses a 3-character content hash of each line as its address and validates anchors before editing to prevent incorrect line edits due to line-number or string matching after file changes. Ported from pi-hashline-edit-pro, it retains DSH’s built-in read/edit/write. Installation: dsh plugin --profile <name> add dsh-hashline-edit-pro; take effect after restart. State is persisted in the workspace at .dsh-hashline-state.json, with served-state guards and atomic writes.

Read More