@salesforce/agents
    Preparing search index...

    Type Alias AgentPreviewInterface

    Common preview interface that both ScriptAgent and ProductionAgent implement

    type AgentPreviewInterface = {
        end: (...args: unknown[]) => Promise<AgentPreviewEndResponse>;
        getAllTraces: () => Promise<PlannerResponse[]>;
        saveSession: (outputDir?: string) => Promise<string>;
        send: (message: string) => Promise<AgentPreviewSendResponse>;
        setApexDebugging: (apexDebugging: boolean) => void;
        start: (...args: unknown[]) => Promise<AgentPreviewStartResponse>;
    }
    Index

    Properties

    end: (...args: unknown[]) => Promise<AgentPreviewEndResponse>
    getAllTraces: () => Promise<PlannerResponse[]>
    saveSession: (outputDir?: string) => Promise<string>
    send: (message: string) => Promise<AgentPreviewSendResponse>
    setApexDebugging: (apexDebugging: boolean) => void
    start: (...args: unknown[]) => Promise<AgentPreviewStartResponse>