Interface DraftOutput

Draft output for human review/editing.

interface DraftOutput {
    draftId: string;
    contentType: "text" | "code" | "json" | "markdown" | "html";
    content: string;
    agentId: string;
    purpose: string;
    reviewFocus?: string[];
    confidence: number;
    generatedAt: Date;
    timeoutMs?: number;
}

Properties

draftId: string

Draft identifier

contentType: "text" | "code" | "json" | "markdown" | "html"

Type of content

content: string

The draft content

agentId: string

Agent that generated it

purpose: string

Purpose/context of the output

reviewFocus?: string[]

Specific areas to review

confidence: number

Agent's confidence in the output

generatedAt: Date

Timestamp

timeoutMs?: number

Timeout (ms)