dsh-better-edit
Hash-anchored read/edit/undo_last_edit tools for DeepSeek Harness (dsh). Every line gets a unique 3-char hash (A-Za-z0-9) that stays stable across edits; stale or ambiguous anchors are rejected, never fuzzy-matched. Undo persists across restarts. 适合需要高精度代码编辑的 Agent 任务,通过唯一行哈希避免模糊匹配错误。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Rianico/dsh-better-editConfiguration
Tenancy and prompt guidance declare once, read at agent/created, no code change.
Store central by default $DSH_HOME/plugins/dsh-better-edit/runtime/-/ (ls-readable + .wsPath sidecar). DBs are disposable caches — rm -rf runtime/-/ is safe, rebuilt on next read.