functai for TypeScript - v0.1.0
    Preparing search index...

    Interface LoggedCall

    One logged call (contract/calls.md, formats 1 and 2), as TypeScript reads it; record is the line as written.

    interface LoggedCall {
        caller: Rec;
        confidence: number | null;
        content: boolean;
        error: { code?: string; message?: string; type: string } | null;
        id: string;
        inputs: Rec | null;
        model: string | null;
        omitted: { inputs: string[]; outputs: string[] } | null;
        outputs: Rec | null;
        parent: string | null;
        program: Program;
        record: Rec;
        root: string;
        seconds: number;
        started: Date;
        usage: Record<string, number>;
    }
    Index
    caller: Rec

    Who called: { evaluation: "…" }, { optimization: "…" }, $FUNCTAI_CALLER's keys.

    confidence: number | null
    content: boolean

    Whether every value was written.

    error: { code?: string; message?: string; type: string } | null
    id: string
    inputs: Rec | null

    The inputs written (all of them when content is true; null when none was).

    model: string | null
    omitted: { inputs: string[]; outputs: string[] } | null

    The fields whose values were not written (when content is false), by kind.

    outputs: Rec | null

    The outputs written (null when none was, or the call failed before an answer).

    parent: string | null
    program: Program
    record: Rec
    root: string
    seconds: number
    started: Date
    usage: Record<string, number>

    Tokens, summed over the call's requests: inputTokens, outputTokens, totalTokens, …