ddv12138/dsh-hash-edit

ddv12138★ 0JavaScriptLast synced: 2026-08-15

Open on GitHub

Hash-anchored read / replace / undo for DeepSeek Harness (DSH) 为 DeepSeek Harness (DSH) 开发的哈希锚行读写 / 替换 / 撤销插件

README excerpt

@ddv12138/dsh-hash-edit Hash-anchored read / replace / undo for DeepSeek Harness (DSH) 为 DeepSeek Harness (DSH) 开发的哈希锚行读写 / 替换 / 撤销插件 Ported from pi-hashline-edit-pro · 移植自 pi-hashline-edit-pro What it does · 它能做什么 Every line of a text file carries a stable 3-character base-62 anchor . Tools address lines by anchor instead of line number or raw text, so edits never corrupt the file: stale or ambiguous anchors are rejected — never fuzzy-matched . Undo persists across restarts. 每个文本文件的每一行都带有一个 稳定、唯一的 3 位 base-62 锚点 。工具通过锚点(而非行号或原文)定位行, 因此编辑绝不会损坏文件: 过期或歧义锚点一律拒绝——绝不模糊匹配 。撤销记录跨重启持久化。 Install · 安装 This is a DSH bundle — an npm package that ships a cordis.patch.yml layer. A bundle is what you author and distribute; a user installs it into a profile : 这是 DSH 的 bundle(插件包) —— 一个携带 cordis.patch.yml 配置层的 npm 包。插件作者只发布 bundle;用户把它安装进一个 profile : Mounting the bundle's patch inserts the @ddv12138/dsh-hash-edit row, which takes over editing (see next section). Because you install it per profile, it works from any preset / profile — this is how "usable from any preset" is realized in DSH's model. 把该 bundle 的 patch 装载进 profile 后,会插入 @ddv12138/dsh-hash-edit 插件行,从而 接管 编辑(见下节)。 由于是按 profile 安装,它能在 任意 …

View full README on GitHub →
Tools / Devdsh-plugindsh-plugin-bundledsh-plugins

Category