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;
        LatestMessage: string;
        LatestStep: string;
        Percentage?: number;
        Result?: string | null;
        RunID?: string;
        RunRef?: string;
        StartedAt: number;
        Success: boolean;
    }
    Index

    Properties

    AgentName: string

    Display name of the delegated agent (e.g. "Sage").

    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 call this card represents.

    Done: boolean

    true once the delegation reached a terminal result.

    FinishedAt?: number

    Epoch ms when the terminal result arrived.

    LatestMessage: string

    Latest human-readable progress message from the stream.

    LatestStep: string

    The delegation phase (prompt_execution | action_execution | …).

    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).