Member Junction
    Preparing search index...

    The view-model for one delegated tool/agent call in the live session. Built by RealtimeSessionState from the DelegationProgress$ / DelegationResult$ streams (correlated by CallID) and rendered both inline in the session thread and as a compact card in the activity rail.

    Card objects are treated as IMMUTABLE — every progress/result event REPLACES the card object (and the arrays containing it) so Angular bindings always see fresh references and in-place updates reliably re-render.

    interface RealtimeDelegationCardVM {
        AgentName: string;
        Artifacts?: ParsedDelegationArtifact[];
        CallID: string;
        Done: boolean;
        FinishedAt?: number;
        Kind: "agent" | "action";
        LatestMessage: string;
        LatestStep: string;
        Percentage?: number;
        Result?: string | null;
        RunID?: string;
        RunRef?: string;
        StartedAt: number;
        Success: boolean;
        ToolName?: string;
    }
    Index

    Properties

    AgentName: string

    Display name of the delegated agent (e.g. "Sage") or formatted direct action title (e.g. "Get Weather").

    Artifacts the delegated run produced (set with the terminal result). Powers the "View" affordance on done cards / rail entries and the surface panel's artifact tabs.

    CallID: string

    The invoke-target-agent or direct-action call this card represents.

    Done: boolean

    true once the delegation reached a terminal result.

    FinishedAt?: number

    Epoch ms when the terminal result arrived.

    Kind: "agent" | "action"

    What this card represents: a delegated agent run, or a direct action invoked by the co-agent.

    LatestMessage: string

    Latest human-readable progress message from the stream.

    LatestStep: string

    The delegation phase (prompt_execution | action_execution | direct_action | …).

    Percentage?: number

    Optional completion percentage (0–100) when the server supplies it.

    Result?: string | null

    The real result text once the delegation completes.

    RunID?: string

    ID of the delegated agent run (MJ: AI Agent Runs) once the result reports it. Powers the gear-gated "Open run" developer link on the card / rail entry.

    RunRef?: string

    Short run identifier (e.g. "#a3f1") if known; shown in expanded provenance detail.

    StartedAt: number

    Epoch ms when the first progress event for this call arrived.

    Success: boolean

    Whether the delegated work succeeded (meaningful once Done is true).

    ToolName?: string

    The raw tool name when Kind === 'action' (e.g. "File_Storage_List_Objects").