@hy-sde-org dsh-tool-edit
富人 edit DeepSeek Harness工具插件:将/ patch / apply_patch / hashline模式替换为嵌入式LSP客户端(format-on-write + diagnostics)。
dsh plugin --profile web add @hy-sde-org/dsh-tool-edit
官方线束版本(rc.8+): 安装bundle会禁用 运
str_replace_editor工具,并且富编辑器替换了库存edit通过代理作用域跟踪。安装提供的预设行-参见 替换内置编辑器 节和examples/agent-preset/在这个包裹里。安装bundle 孤独永不破靴。
完整的使用、配置和针对内置的基准测试 str_replace_editor: https://github.com/hy-sde/dsh-tool-edit#readme
TypeScript 7 native LSP(可选择加入)
TypeScript 7去掉了JS lib/tsserver.js 那 typescript-language-server
封装并使用本机的语言协议 tsc --lsp --stdio,所以
包装器在 initialize TypeScript 7项目。集
typescriptNative (关闭,除非设置-与上游的oh-my-pi提交完全相同
530664c8f5),以使嵌入式客户端每次只选择一个服务器
工作区:
- id: tool-edit
config:
lspCommand: npx --yes typescript-language-server --stdio
typescriptNative: {} # enabled; native launcher defaults to `tsc`
# typescriptNative:
# command: tsc # override the native launcher name/path,
# # e.g. a tsc wrapper or `tsgo`
的工作空间根目录在每个工作空间第一次生成时运行一次选择
编辑(workspaceRoot):一个工作空间的TypeScript安装(走到
Repo根目录,所以monorepo工作区使用根目录安装
lib/tsserver.js 生成工作区自己的 tsc (.bin/tsc,使用win32
.exe/.cmd/.bat 候选人,回到一揽子计划 bin/tsc),
--lsp --stdio;一个经典的安装(有 lib/tsserver.js)或不安装
lspCommand 不变;由于没有安装工作空间,本机启动程序已解决
仅在其安装还缺少时才使用 lib/tsserver.js;任何东西
无法觉察的保持 lspCommand 就像今天一样。