Cotal TypeScript packages
    Preparing search index...

    Variable launchFlagsConst

    launchFlags: readonly [
        {
            description: "presence name override; does not choose the persona";
            name: "name";
            short: "n";
            type: "string";
            value: "<n>";
        },
        {
            description: "persona catalog name or file path; defaults from COTAL_DEFAULT_PERSONA";
            name: "config";
            type: "string";
            value: "<persona-or-path>";
        },
        {
            description: "connector type (claude, opencode, hermes …); defaults from COTAL_DEFAULT_AGENT";
            name: "agent";
            type: "string";
            value: "<a>";
        },
        {
            description: "role override (wins over the agent file's role:)";
            name: "role";
            type: "string";
            value: "<r>";
        },
        {
            description: "model override (wins over the agent file's model:)";
            name: "model";
            short: "m";
            type: "string";
            value: "<m>";
        },
        {
            description: "model variant override (connector-defined; wins over the agent file's variant:)";
            name: "variant";
            type: "string";
            value: "<v>";
        },
        {
            description: "model mode (repeatable): true or false for a toggle, an option id for a choice; `cotal models` lists them";
            multiple: true;
            name: "mode";
            type: "string";
            value: "<id=value>";
        },
        {
            description: "connector-specific launch option (repeatable); wins per-key over the agent file's launchOptions:";
            multiple: true;
            name: "opt";
            type: "string";
            value: "<k=v>";
        },
        {
            description: "working directory to root the agent at";
            name: "cwd";
            short: "C";
            type: "string";
            value: "<dir>";
        },
        {
            description: "initial prompt auto-submitted at start";
            name: "prompt";
            short: "p";
            type: "string";
            value: "<text>";
        },
        {
            description: "fork an existing session id into the mesh (only where the connector declares resume support; detached: pair with --cwd)";
            name: "resume";
            type: "string";
            value: "<id>";
        },
        {
            description: "force the session's AG-UI event plane on (already the default where supported)";
            name: "events";
            type: "boolean";
        },
        {
            description: "opt out of the session's AG-UI event plane";
            name: "no-events";
            type: "boolean";
        },
        {
            description: "withhold tool arguments and results, keeping event names and times";
            name: "no-event-payloads";
            type: "boolean";
        },
        {
            description: "share named operator MCP servers with the agent";
            name: "share-tools";
            type: "string";
            value: "<sel>";
        },
        {
            description: "channel read set override";
            name: "subscribe";
            type: "string";
            value: "<a,b>";
        },
        {
            description: "read ACL override";
            name: "allow-subscribe";
            type: "string";
            value: "<a,b>";
        },
        {
            description: "post ACL override";
            name: "allow-publish";
            type: "string";
            value: "<a,b>";
        },
    ] = ...

    The launch grammar: every knob for bringing an agent onto the mesh, shared verbatim by the foreground and detached (--detach, manager-run) paths of cotal spawn — one bundle, so the two launch modes can never again diverge in ability (the old spawn vs start drift). The MCP cotal_spawn tool mirrors this grammar; a parity smoke (not an import — tier rule) keeps it honest.