fix(replay): mark local compaction calls

This commit is contained in:
Tianyi Cui
2026-08-08 02:16:17 +08:00
parent d301dbdc7d
commit 8dcfe5c406
29 changed files with 147 additions and 50 deletions

View File

@@ -416,6 +416,7 @@ function commitCompactionBody(
shadowedTokenCount,
summary,
rawOutput,
llmStreamCall,
provider,
model,
maxTokens,
@@ -425,6 +426,7 @@ function commitCompactionBody(
const summaryEvent = session.append('compact/summary', {
summary,
...rawOutput === undefined ? {} : { rawOutput },
...llmStreamCall === undefined ? {} : { llmStreamCall },
shadowedRange: { start, end },
shadowedSeqs: [...shadowedSeqs],
shadowedTokenCount,