IFClite TypeScript API
    Preparing search index...

    Interface Proposal

    interface Proposal {
        base: { docId: string; specs: { name: string; specId: string }[] };
        batches: ProposalBatch[];
        diagnostics: DiagnosticBrief[];
        draft: StudioDocument;
        mode: AgentMode;
        model: string;
        previews: Record<Uuid, FunnelCounts>;
        promptVersion: string;
        questions: AskedQuestion[];
        receipt: RunReceipt;
        runId: string;
        status: AgentRunStatus;
        summary: string;
        unresolved: UnresolvedStatement[];
    }
    Index
    base: { docId: string; specs: { name: string; specId: string }[] }

    The document the run started from: its id and specifications, to tell added from changed.

    batches: ProposalBatch[]
    diagnostics: DiagnosticBrief[]

    Diagnostics of the draft (errors and warnings only).

    The sandbox document with every batch applied: the preview.

    mode: AgentMode
    model: string
    previews: Record<Uuid, FunnelCounts>

    Live counts per changed specification, when a model is loaded.

    promptVersion: string
    questions: AskedQuestion[]
    receipt: RunReceipt
    runId: string
    summary: string

    The model's final message.

    unresolved: UnresolvedStatement[]