Cotal TypeScript packages
    Preparing search index...

    Interface MeshTargetErrorDetails

    Structured context for a MeshTargetError — enough for any surface to render its own recovery affordance (a CLI sentence, a web button, an SDK embed that wants no command at all).

    interface MeshTargetErrorDetails {
        available?: string[];
        firstStartServer?: string | null;
        folder?: string;
        found?: string;
        home?: string;
        lastRun?: boolean;
        manifest?: { path: string; space: string };
        recordedRoot?: string;
        records?: string[];
        removed?: boolean;
        requested?: string;
        restartUserAuth?: true;
        root?: string;
        rootMissing?: boolean;
        rootProblem?: ProjectRootProblem;
        selected?: boolean;
        server?: string;
        space?: string;
        spaces?: string[];
        stackRemedy?: string;
        stackSpace?: string;
        stopped?: {
            noManager?: true;
            operation: string;
            outcome: string;
            storeCap?: number;
        };
        trustRemedy?: string;
        uncheckedCandidates?: boolean;
        unsettled?: "up"
        | "down";
    }
    Index
    available?: string[]

    Candidates formatted as "<space> (<root>)" for ambiguity or "<space> (<server>)" for a host mismatch.

    firstStartServer?: string | null

    Explicit broker on a never-started target: a local startup address, or null when no local start can be suggested.

    folder?: string

    For unreadable-auth with no space: the first folder on the way to the root's trust folder that this account cannot enter, when a permission error kept that folder from being read.

    found?: string

    For stale-auth-root: the space the on-disk auth now claims, diverging from the record.

    home?: string

    For not-started: the Cotal home in use, when the root's stack runs under another one.

    lastRun?: boolean

    For not-started on a root with no registration: server is the broker its last start configured, which a bare cotal up there starts again.

    manifest?: { path: string; space: string }

    For no-meshes in a folder whose records name no space: a cotal.yaml in that folder that declares kind: Mesh and a space, and the space it declares. The file was read, not launched.

    recordedRoot?: string

    For not-started on a stack root whose journal another folder recorded, as a copy or a moved folder keeps it: that folder.

    records?: string[]

    For unreadable-auth with no space: the account records in the root's trust folder that will not load, by path.

    removed?: boolean

    For stale-auth-root: whether the diverging record was actually removed. An operator-registered record is kept (see pruneMesh), and the copy must not claim a removal that did not happen.

    requested?: string

    What the caller asked for that didn't match (e.g. an unknown --space).

    restartUserAuth?: true

    A retained local stack needs the user-auth launcher on restart.

    root?: string

    A checkout root involved.

    rootMissing?: boolean

    For not-started on a prepared space: no project directory is available at its root.

    rootProblem?: ProjectRootProblem

    Why the recorded project directory is unavailable.

    selected?: boolean

    For unknown-space: the name came from the cotal use selection, not from --space.

    server?: string

    A broker URL involved (e.g. the occupant of the default port).

    space?: string

    The space/mesh the failure concerns.

    spaces?: string[]

    The same meshes by SPACE NAME, in available's order — set where the ambiguity is a set of RECORDED meshes a caller can select by name: the running meshes of the bare fallback, or the registrations at one folder or broker, so a caller that must act on each (rather than print them) reads each by name and decides for it. Absent for every other ambiguity: several tenants on one root's disk name no registration to act on, and there the refusal stands.

    stackRemedy?: string

    For not-started in a folder whose stack journal another folder recorded: the next step that up and down name there too, from stackElsewhereRemedy.

    stackSpace?: string

    For not-started on a stack root with no registration or prepared record: the space its stack journal recorded, or the space the account of a root whose last start configured a broker names. It is kept out of space, which callers read as a prepared space.

    stopped?: {
        noManager?: true;
        operation: string;
        outcome: string;
        storeCap?: number;
    }

    For not-started on a prepared space whose controller stack launched a member and was stopped: its last operation, whether to restart without a manager, and its store cap.

    trustRemedy?: string

    The failed trust reader's file-specific recovery step.

    uncheckedCandidates?: boolean

    At least one fallback candidate is unchecked and its broker inventory did not confirm it.

    unsettled?: "up" | "down"

    For not-started on a prepared space: the last whole-stack operation its root's stack journal records for it with no outcome, which cotal status there names the way out of.