OptionalappRealtime: {The AgentSettings.Realtime overrides (Disclosure / Persona / ModelPreference).
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.