Dashboard › opencode-lore › Distillation
8c63f6d8-d7e2-48d2-908f-d0beebb5f40f["lore_tm_v1_XLeP-Shx19DBCTgGJG3gdxQBWqc6hC7AHTjBoJk-k7k"]
Date: September 16, 2026
postResponse.packages/gateway/src/pipeline.ts covered approximately lines 9817–10779, including late-reader cancellation, synthetic response construction, abort cleanup, SSE parsing, principal failure categorization, recall-tool stream handling, transactional rollback, and continuation retries.parseSSEStream(reader, ...) and accumulates events into internal state even when handling hidden recall-tool behavior, ensuring postResponse receives the complete accumulated state.hiddenRecallBytes and maxHiddenRecallBytes; malformed argument streams are constrained so they cannot grow without bound."recall stream ended before function arguments completed" and uses settleRecall; an executed.rollback result triggers rollback handling.recallContinuationTransportRetries and initializes continuation accumulation with const contState = makeResponsesAccState().principalReadFinished, ordinaryToolEmitted, resolvingRecallTool, transactionalBytes, and deferredBytes, and invokes late-reader cancellation when signal.aborted.