Cotal TypeScript packages
    Preparing search index...

    Type Alias AttachVerdict

    AttachVerdict:
        | { kind: "ended"; reason: string }
        | { kind: "gone" }
        | {
            kind: "failed";
            message: string;
            refusal?: { code?: string; noTerminal: boolean };
        }

    How the attach finished, decided inside the loop and acted on outside it — so the terminal is always given back before anything prints or exits. A failure the manager refused carries that refusal's code and whether it bore the manager's marker that the seat's runtime streams no terminal, so a caller can act on it without reading the wording.