CoAgent8
    Preparing search index...

    Type Alias ConversationPayload

    ConversationPayload:
        | { type: "turn_started" }
        | { text: string; type: "user_message" }
        | { messageId: string; text: string; type: "assistant_delta" }
        | { messageId: string; text: string; type: "assistant_message" }
        | { name: string; toolId: string; type: "tool_started" }
        | { name: string; success: boolean; toolId: string; type: "tool_finished" }
        | { message: string; type: "status" }
        | { message: string; type: "warning" }
        | { error: ExecutionError; type: "error" }
        | { status: TerminalStatus; type: "turn_finished"; usage?: TokenUsage }

    Type Declaration

    • { type: "turn_started" }
    • { text: string; type: "user_message" }
    • { messageId: string; text: string; type: "assistant_delta" }
    • { messageId: string; text: string; type: "assistant_message" }
    • { name: string; toolId: string; type: "tool_started" }
    • { name: string; success: boolean; toolId: string; type: "tool_finished" }
    • { message: string; type: "status" }
    • { message: string; type: "warning" }
    • { error: ExecutionError; type: "error" }
    • { status: TerminalStatus; type: "turn_finished"; usage?: TokenUsage }

      usage is optional: older histories and backends without counts have none (AX-001f).