Member Junction
    Preparing search index...

    What destination resolution reads. All optional: production defaults are used when absent.

    interface HandoffDestinationDeps {
        CanRunAgent?: (agentId: string, user: UserInfo) => Promise<boolean>;
        Directory?: RunAsUserDirectory;
        FindAgentByName?: (
            name: string,
            user: UserInfo,
            provider: IMetadataProvider,
        ) => Promise<FoundAgent | undefined>;
        Policy: OutboundCallPolicy;
    }
    Index

    Properties

    CanRunAgent?: (agentId: string, user: UserInfo) => Promise<boolean>

    Whether the user may run the agent (defaults to the agent permission check the browser path applies).

    Directory?: RunAsUserDirectory

    User lookups (defaults to the process-wide user cache).

    FindAgentByName?: (
        name: string,
        user: UserInfo,
        provider: IMetadataProvider,
    ) => Promise<FoundAgent | undefined>

    Finds an active agent by name (defaults to the AI engine's agent cache).

    The outbound policy a number (or a fallback number) is checked against.