Member Junction
    Preparing search index...

    Everything one routing decision is asked about. Rebuilt for every message.

    interface RoutingDecisionInput {
        AllowedAgentIDs: readonly string[];
        ArtifactVersions: RoutingArtifactVersion[];
        ContinuityAgentId: string;
        ContinuityArtifacts?: readonly RoutingArtifactSummary[];
        ConversationManager: RoutingAgent;
        Message: string;
        Participants: RoutingParticipant[];
        RecentTurnParts?: readonly RoutingTurn[];
        RecentTurns: string[];
    }
    Index

    Properties

    AllowedAgentIDs: readonly string[]

    The host's allowed list. Null allows every agent.

    ArtifactVersions: RoutingArtifactVersion[]

    The participants' artifact versions. Empty leaves the artifact question out.

    ContinuityAgentId: string

    The last agent that answered, other than the conversation manager.

    ContinuityArtifacts?: readonly RoutingArtifactSummary[]

    The last agent's artifacts. Read only by BuildRoutingStateStructured, which lists them; the artifact question reads ArtifactVersions. Absent lists none.

    ConversationManager: RoutingAgent

    The conversation manager, offered as "someone else". Null when it isn't loaded or allowed.

    Message: string

    The person's new message, as saved.

    Participants: RoutingParticipant[]

    Every agent that has taken part and may answer now, newest first.

    RecentTurnParts?: readonly RoutingTurn[]

    The same turns as RecentTurns, split into speaker and text (BuildRecentTurnParts). Read only by BuildRoutingStateStructured; when absent it splits each RecentTurns line at its first : , which misreads an agent name that itself contains : .

    RecentTurns: string[]

    The last few turns before the new message, oldest first, each as Speaker: text.