dsh-llm-sub2api-dsml:把 reasoning 里的 DSML 转成 DSH 原生工具调用
dsh-llm-sub2api-dsml 是 DeepSeek Harness 的 DSML 兼容插件。当 DeepSeek 经 Sub2API 等渠道把工具调用写在 reasoning 或 text 的 DSML 文本里时,插件对流式缓冲、按当前工具 schema 校验,并转成 DSH 原生 tool-call,使 Agent Loop 以 finish(kind=tool-calls) 继续。按模型 ID 含 deepseek 自动匹配,沿用原 provider,不保存密钥。支持 DSH 0.2.1-rc.3、Node.js >=22.19.0;可配置 dsmlCompatibility 与 maxBufferChars。安装需 npm pack 后 dsh plugin add tarball。
阅读全文