Cotal TypeScript packages
    Preparing search index...

    Interface ManagedLaunchRequest

    What one managed launch asks the manager for.

    interface ManagedLaunchRequest {
        agent?: string;
        allowPublish?: string[];
        allowSubscribe?: string[];
        askPermissions?: boolean;
        config?: string;
        cwd?: string;
        defaultAgent?: string;
        eventPayloads?: boolean;
        events?: boolean;
        identity?: string;
        launchOptions?: Record<string, string>;
        model?: string;
        modes?: Record<string, string | boolean>;
        persona: string;
        prompt?: string;
        reasoningEvents?: boolean;
        resume?: string;
        resumeClaim?: { agent: string; claim: string };
        role?: string;
        runtime?: string;
        shareTools?: readonly string[];
        subscribe?: string[];
        supervise?: { restarts: number; windowMs: number };
        variant?: string;
    }
    Index
    agent?: string

    An explicit harness. It ranks above the persona file's pin, which ranks above defaultAgent.

    allowPublish?: string[]
    allowSubscribe?: string[]
    askPermissions?: boolean

    Launch the harness asking before it uses a tool. Only for a connector that declares it.

    config?: string
    cwd?: string
    defaultAgent?: string

    The caller's default harness, kept apart from agent so it never beats the persona file's pin.

    eventPayloads?: boolean
    events?: boolean

    Whether the agent publishes an event plane. Absent leaves it to the manager and the space's policy.

    identity?: string

    The agent's name, when it is not the persona file's name:.

    launchOptions?: Record<string, string>
    model?: string
    modes?: Record<string, string | boolean>

    Mode choices, as --mode gave them. Sent only when there are some, so a Manager older than the field still takes a launch that chose none.

    persona: string

    The persona the manager loads: a name in its catalog, or the file config names on its host.

    prompt?: string
    reasoningEvents?: boolean

    Publish the model's reasoning on the event plane. Only for a connector that declares it.

    resume?: string

    A host-local session id. The manager checks that the connector can resume it.

    resumeClaim?: { agent: string; claim: string }

    The transcript claim the caller carried for resume, and the harness it carried it with.

    role?: string
    runtime?: string
    shareTools?: readonly string[]
    subscribe?: string[]
    supervise?: { restarts: number; windowMs: number }
    variant?: string