Dashboardopencode-loreOpenCode global events, durable settlem…

OpenCode global events, durable settlement, and subscriber bounds

Category: architecture
Confidence: 1.00
ID: 01a0a4b2-8b3d-7b8d-9002-13b9e9ea930d
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 1O1uX56bx2edi1N9h
Created: 2026-08-25 09:17:58
Updated: 2026-09-15 10:52:39

Content

OpenCode publishes application events globally with workspace metadata so consumers can filter across instances; EventV2Bridge is the compatibility boundary into GlobalBus. Replayable state uses exactly one durable terminal settlement rather than reconstruction from progress deltas. session.tool.success, session.tool.failed, and session.compaction.ended settle durable state; reasoning and compaction deltas are live-only. SSE consumers must filter before enqueue and use queues bounded by bytes/events: finalizers alone do not prevent stalled subscribers from retaining arbitrary payloads.

Move to: