Member Junction
    Preparing search index...

    Shared state between conversation surfaces. Pure observable hub — knows nothing about any specific UI framework. Consumers subscribe to the streams they care about.

    Usually accessed via ConversationsRuntime.Instance.Bridge.

    Index

    Constructors

    Properties

    ActiveConversationID$: BehaviorSubject<string | null> = ...

    The currently active conversation ID shared between overlay and workspace.

    DeepLinkRequest$: Subject<ConversationDeepLink> = ...

    Deep-link navigation requests.

    ExpandOverlayRequested$: Subject<void> = ...

    "Expand the overlay" requests from anywhere in the app — typically a dashboard's "Refine with AI" button that wants to pop the chat after setting fresh AppContext. The mounted overlay subscribes and calls its own Expand() in response. Decoupled this way because the overlay component reference isn't reachable from arbitrary callers, and we don't want everyone to take a hard dep on the overlay class.

    OverlayActive$: BehaviorSubject<boolean> = ...

    Whether the overlay surface is currently active (expanded).

    SwitchEvent$: Subject<ConversationSwitchEvent> = ...

    Events emitted when switching between overlay and workspace.

    WorkspaceActive$: BehaviorSubject<boolean> = ...

    Whether the full workspace surface is currently active (visible).

    Methods

    • Set the active conversation from the overlay. The workspace picks up the change automatically via the shared ActiveConversationID$ stream.

      Parameters

      • conversationId: string | null

      Returns void

    • Set the active conversation from the workspace. The overlay picks up the change automatically via the shared ActiveConversationID$ stream.

      Parameters

      • conversationId: string | null

      Returns void

    • Request switching from workspace to overlay. The workspace can stay open, but the overlay resumes the conversation.

      Parameters

      • conversationId: string | null

      Returns void

    • Request switching from overlay to full workspace. The overlay should minimize; the workspace should open with the same conversation.

      Parameters

      • conversationId: string | null

      Returns void