OptionalappRealtime: {The AgentSettings.Realtime overrides (Disclosure / Persona / ModelPreference).
OptionalChannels?: {AgentSettings.Realtime.Channels — the app's channel scoping (see RealtimeConfigSection.channels).
OptionalDisclosure?: RealtimeDisclosurePolicyOptionalModelPreference?: stringOptionalPersona?: { SpeakingStyle?: string; Tone?: string }OptionalrelevantAgents: RealtimeAllowedAgent[]The app's AgentSettings.RelevantAgents mapped to allowed-agent entries.
Canonical app-layer JSON string, or null when nothing was supplied (keeps the cascade lower).
Maps an app's
Application.AgentSettings.Realtimeblock (+ optionalRelevantAgents) into the canonical{"realtime":{…}}JSON the cascade consumes as its app layer. Pure mapper so the call site (which readsAgentSettingsObject) stays thin and this module stays canonical.