Member Junction
    Preparing search index...

    A channel the HOST brings to a session — the way a page or app adds a channel that has no MJ: AI Agent Channels row, which is the ONLY way a connect-only (anonymous embed) session gets channels, because that kind of session has no entity metadata to read the registry from.

    Supply either ClientPluginClass (a ClassFactory key, exactly like a registry row's ClientPluginClass) or Create (a factory — for a channel the host constructs itself, e.g. with injected collaborators). If both are given, Create wins.

    A host adds channels and supplies defaults; it cannot lift an agent or app exclude, and its Config / DisplayPolicy are overridden by the agent/app layers. An inactive registry row for the same channel still switches it off.

    interface RealtimeHostChannelDeclaration {
        ClientPluginClass?: string;
        Config?: JSONObject;
        Create?: () => BaseRealtimeChannelClient;
        DisplayPolicy?: RealtimeChannelDisplayPolicy;
    }
    Index

    Properties

    ClientPluginClass?: string

    ClassFactory key of the channel plugin (@RegisterClass(BaseRealtimeChannelClient, '<key>')).

    Config?: JSONObject

    Default per-channel configuration; agent/app channels.config overrides it.

    Factory that builds the plugin; use when the host constructs it with its own collaborators.

    Default display for this host; agent/app channels.displayPolicy overrides it.