Merge master and integrate image offload with both DeepSeek protocols

This commit is contained in:
creatixchu committed 2026-09-14 10:19:11 +08:00
commit a7070008e7
2052 files changed
+727131 -33615

No files matched your search

@@ -486,7 +486,7 @@ function commitCompactionBody(
usage,
checkpointMessage,
} = summarized
const callProvenance = summarized.llmStreamCall === true
const callRecord = summarized.llmStreamCall === true
? { rawOutput: summarized.rawOutput, llmStreamCall: true as const }
: summarized.rawOutput === undefined ? {} : { rawOutput: summarized.rawOutput }
const summaryEvent = session.append('compaction/summary', {
@@ -495,7 +495,7 @@ function commitCompactionBody(
? {}
: { sourceCommandId: startEvent.data.sourceCommandId },
summary,
...callProvenance,
...callRecord,
shadowedRange: { start, end },
shadowedSeqs: [...shadowedSeqs],
shadowedTokenCount,