dsh-hashline-edittool

把 DeepSeek Harness 的文件工具换成哈希锚定版本:read、edit、write、grep 被替换为按变长内容锚点定位每一行(而不是行号)的实现,插件同时注册 delete、rename、undo_last_edit、ast_grep、ast_edit、lsp 与 format 七个工具。编辑以统一 diff 返回;失效或歧义的锚点被拒绝并重新下发新鲜锚点;undo 跨重启保留;结构化查找与改写走 tree-sitter,语义能力走语言服务器;随包的 web 卡片插件按各工具自带的结构化元数据渲染 read、diff、grep 与 LSP 卡片。

插件介绍

把 DeepSeek Harness 的文件工具换成哈希锚定版本:read、edit、write、grep 被替换为按变长内容锚点定位每一行(而不是行号)的实现,插件同时注册 delete、rename、undo_last_edit、ast_grep、ast_edit、lsp 与 format 七个工具。编辑以统一 diff 返回;失效或歧义的锚点被拒绝并重新下发新鲜锚点;undo 跨重启保留;结构化查找与改写走 tree-sitter,语义能力走语言服务器;随包的 web 卡片插件按各工具自带的结构化元数据渲染 read、diff、grep 与 LSP 卡片。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-hashline-edittool

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:hyperion2144/dsh-hashline-edittool

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令
  • 可能需要提供凭据