Dashboard › opencode › Distillation
89c88ce1-f7a5-470b-95be-8ce63e5f281a["lore_tm_v1_Yg6JSHHTUBSeCmYcR9U00cG-idBrFNlv9ChSy3BUjoM"]
Date: Sep 14, 2026
/home/byk/.local/share/opencode/tool-output/tool_0a237b78f001uV5MzDo0DZsILQ.publish = (event: LLMEvent, outputPaths: ReadonlyArray<string> = []) => withPublication(publisher.publish(event, outputPaths)), initializes overflowFailure: ProviderErrorEvent | undefined, and consumes llm.stream(request) through Stream.suspend(...) and Stream.runForEach(...).overflowFailure is set or publisher.hasProviderError() is true. A provider error satisfying isContextOverflowFailure(event) is captured as overflowFailure before publication only when !publisher.hasAssistantStarted().event.type === "tool-call" and !event.providerExecuted. If toolMaterialization is unavailable, it calls publisher.failUnsettledTools("Tools are disabled after the maximum agent steps"); otherwise it sets needsContinuation = true, obtains publisher.assistantMessageID(event.id), and begins an Effect.uninterruptibleMask((restore) => ...) operation.{ phase: "unknown", assistant_message_id: null }; its enclosing file and full control flow were elided.publisher.failUnsettledTools("Tool execution interrupted"); surrounding replacement behavior was elided.packages/core/src/session/compaction.ts; visible content includes the instruction - Use terse bullets, not prose paragraphs. and the export serializeToolContent = (content: SessionMessage.ToolStateCompleted["content"]) => ..., with the implementation partially elided.