dsh-toolcall-id-repair

修复并预防 OpenAI 兼容网关流式返回空 tool_call id 导致的 DSH v4 会话锁死:在 llm/stream 拦截点纯内存合成一致的 call_<sha256> ID 补全 tool-call-delta 与 block-end,并在仓库 tools/ 下附带离线会话修复与校验脚本。

插件介绍

修复并预防 OpenAI 兼容网关流式返回空 tool_call id 导致的 DSH v4 会话锁死:在 llm/stream 拦截点纯内存合成一致的 call_<sha256> ID 补全 tool-call-delta 与 block-end,并在仓库 tools/ 下附带离线会话修复与校验脚本。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:zyf2492313716-cloud/dsh-toolcall-id-repair

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.

版本兼容情况

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