Dashboard › opencode-lore › Distillation
442af430-42d0-44db-a885-4f79da8c105b["lore_tm_v1_LcpAdGcsY_PLyKzmSikvvaOwZMw30ML8fDc1PqoWVUc"]
Date: Sep 16, 2026
packages/gateway/src/pipeline.ts near line 10368.packages/gateway/src/pipeline.ts excerpt (lines 10047–10910) includes principal-stream handling with principalReader, principalReadFinished, principalTransportRetries, and an outcome type containing "principal_unexpected".pendingRecalls: PendingResponsesRecall[], promoteDeferredCandidate(outputIndex), resolvingVisibleTool, visible/source output indices, and a "post_output" classification.Error(\malformed JSON in Responses event ${event}`)for malformed event JSON and can throwSSEStreamLimitError` when stream limits are exceeded.contState with makeResponsesAccState(), tracks deferredContinuationBytes, accounts for continuation streams after each follow-up, and skips continuation payloads when !cd || cd === "[DONE]".