feat: release v0.3.4 — offload local LLM, CLI restore, bugfix scripts

This commit is contained in:
chrishuan
2026-05-13 14:56:56 +08:00
parent 28be408fb8
commit d377b09fbc
63 changed files with 2191 additions and 14410 deletions
+2 -1
View File
@@ -494,7 +494,8 @@ export function compressByScoreCascade(
for (const tuId of c.allToolUseIds) {
replacedIds.add(tuId);
replacedToolCallIdList.push(tuId);
const tuEntry = c.allOffloadEntries.find((e: OffloadEntry) => e.tool_call_id === tuId);
const tuIdNorm = normalizeToolCallIdForLookup(tuId);
const tuEntry = c.allOffloadEntries.find((e: OffloadEntry) => e.tool_call_id === tuId || e.tool_call_id === tuIdNorm || normalizeToolCallIdForLookup(e.tool_call_id) === tuIdNorm);
replacedDetails.push({ toolCallId: tuId, score: c.score, summaryPreview: (tuEntry?.summary ?? "").slice(0, 120) });
}
for (let ei = 0; ei < c.allToolUseIds.length; ei++) {