dsh-session-fix:掃描並修復 DSH 會話裏 tool_use / tool_result 配對錯誤
dsh-session-fix 是 DSH 社區插件,在設置頁掃描並修復 session.v4.jsonl.zstd 中因助手消息塊順序錯誤導致的 tool_use 與 tool_result 不匹配。它將 text/reasoning 挪到 tool-call 之前,僅重壓改動幀,修復前自動備份並可回滾。適用 Node≥22.15 與 DSH 0.2.1-rc 實測環境;在 profile 目錄用 pnpm add github:CalamitySpiritKite/dsh-session-fix 安裝後重啓即可使用。
閱讀全文