dsh-dsml-rescue:DSML 标记泄漏导致回合空转时自动续跑

dsh-dsml-rescue 是 dsh-plugin-lab 维护的 DSH 工作流插件。当 provider 将 DSML 工具调用标记当作普通推理文本回传、回合无回答且无实际调用而停滞时,插件自动发送简短续跑消息,并在用户输入时退避、有限重试,且覆盖 subagent。安装命令为 dsh plugin --profile web add dsh-dsml-rescue,重启 dsh --profile web 即可,默认无需配置。它不修复泄漏根因,也不处理无 DSML 标记的空回合。MIT 许可,运行于当前 dsh 进程权限下,安装前宜查阅源码与许可证。

阅读全文
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。

阅读全文