dsh-better-edit
通过复核版本当前v0.1.4沙箱与安全
Hash-anchored read/edit/batch_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 restart[作者原文(英文)]
安装
dsh plugin --profile web add dsh-better-edit把 web 换成你自己的 profile 名。首次使用会自动初始化该 profile。
复核结果
- declares-bundle声明了 dsh.bundle.patch → cordis.patch.yml
- patch-shippedpatch 文件确实打进了 tarball
- patch-parsespatch 解析正常,挂载 1 个插件行
- rows-resolvable每个插件行都能解析到已发布的包
- entry-shipped入口模块已打包:lib/index.js
- prebuilt预构建 —— 安装时无需执行构建脚本
它挂载了什么
insertdsh-better-editdsh-better-edit
这些是插件的 cordis.patch.yml 往你的配置树里插入的行。装进去之后,dsh --profile <名字> --dump-config 会原样打印它们。
版本兼容
@deepseek-ai/dsh-sandbox^0.1.0-rc.6→ 0.1.0-rc.6版本当前
@deepseek-ai/cordis^4.0.0→ 4.0.1版本当前
@deepseek-ai/dsh-fs^0.1.0-rc.6→ 0.1.0-rc.6版本当前
@deepseek-ai/dsh-agent^0.1.0-rc.6→ 0.1.0-rc.6版本当前
@deepseek-ai/dsh-tools^0.1.0-rc.6→ 0.1.0-rc.6版本当前
@deepseek-ai/dsh-session^0.1.0-rc.6→ 0.1.0-rc.6版本当前
@deepseek-ai/dsh-home-paths^0.1.0-rc.6→ 0.1.0-rc.6版本当前
dsh 三天里从 0.0.1-rc.1 走到 0.1.0-rc.6。注意:dsh 库包的当前版本发布在 next 标签上,latest 标签仍停在首日版本。