dsh-toolcall-id-repair:修复 OpenAI 兼容上游空 tool_call id 导致的会话锁死

DeepSeek Harness 0.2.x 在使用会省略 tool_calls id 的 OpenAI 兼容上游时,空字符串可能通过流校验却违反 session format v4,导致 turn 无法追加 tool/result。插件 @dsh-local/dsh-toolcall-id-repair(0.1.1)在 llm/stream 补全空 id,并提供 repair-session.py 同步改写三处 id 点位与 verify-session.mjs 调用 harness 原生校验。支持 DSH Store 或 cordis.patch.yml 安装,另可手工挂载 guard-plugin.js。

阅读全文