OptionalCoThe MJ: AI Agent Runs row id created for this voice session (delegated runs nest under it).
Finalizes the co-agent + prompt run. Idempotent; safe to call from multiple teardown paths.
OptionalPromptThe MJ: AI Prompt Runs row id for the session's system prompt.
The runtime handle returned by RealtimeClientSessionService.WireBridgeRealtimeSession — the server long-lived (bridged) counterpart to what
PrepareClientSessionreturns for the browser. The bridge holds this for the life of the session: the observability run ids (for nesting + correlation) and an idempotent Finalize the bridge MUST call on teardown so the co-agent run + prompt run don't dangle inRunning. Finalize also runs automatically when the session'sClose()is invoked or the connection drops — calling it again is a safe no-op.