Member Junction
    Preparing search index...

    What the executor needs.

    interface RoomCallToolExecutorDeps {
        Agent: () => RoomHandoffAgentContext | undefined;
        CancelPendingWork: () => number;
        EndCall: (reason: string) => Promise<void>;
        Engine: Pick<RoomHandoffEngine, "RequestHandoff" | "AgentReadyToLeave">;
        ResolveDestination: (
            target: TransferTarget,
        ) => Promise<ResolvedDestination>;
        SettleMs?: number;
        Targets: readonly TransferTarget[];
    }
    Index

    Properties

    Agent: () => RoomHandoffAgentContext | undefined

    The agent's room context. Resolved lazily: the bridge session exists only after the agent has started.

    CancelPendingWork: () => number

    Aborts the delegated work in flight; returns how many runs were aborted.

    EndCall: (reason: string) => Promise<void>

    Ends the conversation (stops this agent and hangs up the phone leg, if any).

    Engine: Pick<RoomHandoffEngine, "RequestHandoff" | "AgentReadyToLeave">

    The handoff engine (a Pick so tests inject a fake).

    ResolveDestination: (target: TransferTarget) => Promise<ResolvedDestination>

    Resolves a directory entry to a destination, checking everything that can change while the server runs.

    SettleMs?: number

    Override for the goodbye settle delay (tests).

    Targets: readonly TransferTarget[]

    The directory entries the agent can hand over to (supported ones only).