CoAgent8 - Source API
    Preparing search index...

    Interface ExecutionResult

    Output resulting from executing a prompt against a CLI adapter.

    interface ExecutionResult {
        continuationAvailable?: boolean;
        error?: ExecutionError;
        errorDetail?: string;
        exitCode?: number | null;
        isError: boolean;
        model?: string;
        nativeSessionId?: string | null;
        output: string;
        signal?: Signals | null;
        status?: TerminalStatus;
        threadId?: string | null;
        truncated?: boolean;
        usage?: {
            inputTokens?: number;
            outputTokens?: number;
            source: "provider";
            totalTokens?: number;
        };
    }

    Hierarchy (View Summary)

    Index
    continuationAvailable?: boolean
    errorDetail?: string

    Optional error trace or failure message.

    exitCode?: number | null

    Process exit status code.

    isError: boolean

    Whether execution failed or exited with an error.

    model?: string
    nativeSessionId?: string | null
    output: string

    Bounded public answer or partial text; inspect truncated/status for completeness.

    signal?: Signals | null

    Legacy helpers may omit this; registered adapters require a terminal result.

    threadId?: string | null

    Persistent conversation/thread identifier for multi-turn sessions.

    truncated?: boolean
    usage?: {
        inputTokens?: number;
        outputTokens?: number;
        source: "provider";
        totalTokens?: number;
    }