mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-22 00:45:12 -10:00
Pending forms are transient runtime state keyed by Session, so the Form service now lives in the global node graph instead of each Location instance. Reading or settling a Session's forms no longer boots that Session's Location; the TUI's per-descendant form sync had been reactivating every idle Location on startup. Events keep routing per Location: the ledger resolves the owning Session's Location from SessionStore once at creation (or the ambient Location for the MCP global elicitation owner) and publishes with it explicitly. form.request.list keeps its per-Location shape by filtering the global ledger on that route.