Dashboard › opencode-lore › Distillation
29ae5e43-8969-4589-ab2a-e627b418fcd2["lore_tm_v1_B2Y6CgBp3DbpLzhrHuPeueNTkdQPjsu3gToFn1AtgdU"]
Date: Sep 16, 2026
packages/gateway/src/pipeline.ts lines 9235–10053 showed terminal-output reconciliation that treats the output_item lifecycle as authoritative, tracks allowed incomplete indexes, and throws "Responses terminal output changed streamed item" when terminal output conflicts with accumulated streamed state.packages/gateway/src/pipeline.ts validates referenced items, tracks whether each reference is done, and distinguishes reference identities from synthetic identities using syntheticIdentities.streamResponsesPassthrough, converts formatted SSE frames to encoded output, and parses incoming SSE chunks by extracting lines prefixed with data: .opts.onRecall, follow-up uses opts.runFollowUp, and late readers are cancelled through cancelLateReader() when execution is aborted or no longer needed.output_item.added → content_part.added → repeated output_text.delta, then completion events; synthesized items include output_index, item_id, content, and a default "completed" status when no explicit status is available.inclusiveInputTokens, support incompleteDetails, and normalize raw output items into indexed records while preserving available content and status fields.currentPrincipalResponse.body?.cancel(signal.reason).