Cotal TypeScript packages
    Preparing search index...

    Interface ConnectFlags

    The one way every command that touches a running mesh figures out WHICH mesh + with what creds, and confirms it's actually up — shared by every command surface (@cotal-ai/cli, @cotal-ai/web) so spawn, send, console, web, … all behave identically from any directory. The pure resolution/probe/classify/render steps live beside this file; these wrappers own the OPERATOR I/O — they colour, print the command-copy line, and exit the process. That is deliberate: this is the workstation layer, not the wire library (core never prints or exits). Two escape hatches take a RAW off-registry connection (no registry lookup, no stale-prune): explicit --creds, and --server + an unregistered --space (an open remote mesh that has no creds to pass).

    interface ConnectFlags {
        allowStoppedLocal?: boolean;
        creds?: string;
        offline?: readonly string[];
        openInventory?: { served: readonly string[]; unserved: readonly string[] };
        readOnly?: boolean;
        reportUnverifiedFolderPrecedence?: boolean;
        server?: string;
        space?: string;
    }

    Hierarchy (View Summary)

    Index
    allowStoppedLocal?: boolean

    File-only signing may use this project's retained broker configuration without connecting.

    creds?: string

    Explicit creds file — triggers a raw off-registry connection (see connectOrExit).

    offline?: readonly string[]

    Spaces whose broker the last liveness sweep already found dead. Their records stay (that is the registry's job); they are not live candidates for unflagged resolution. Named --space and the selected current still resolve a dead record so preflight can name its root. Callers that do not sweep omit this; TAB completion must.

    openInventory?: { served: readonly string[]; unserved: readonly string[] }

    Broker inventory evidence for automatic target selection.

    readOnly?: boolean

    Diagnostic/preview resolution must retain a stale registration rather than repair it.

    reportUnverifiedFolderPrecedence?: boolean

    Report that folder precedence is unverified when the command does not probe brokers.

    server?: string

    --server <url> — raw broker escape hatch.

    space?: string

    --space <name> — pick a specific running mesh from the registry.