Cotal TypeScript packages
    Preparing search index...

    Interface AttachCaller

    What only the caller of an attach knows. onRefusal chooses what an unresolvable mesh or an absent seat does on the first attempt: exit prints and exits as a command does, throw returns a verdict, which a TUI needs because an exit inside it blanks the screen. verb is the command a seat-miss refusal names. noTerminalRemedy renders the remedy for a seat whose runtime streams no terminal; without it that refusal carries none. notice receives every line the attach says while it runs, and defaults to stderr.

    interface AttachCaller {
        control: ControlClient;
        noTerminalRemedy?: (seat: { name: string; space: string }) => string;
        notice?: (notice: AttachNotice) => void;
        onRefusal: "exit" | "throw";
        verb: string;
    }
    Index
    control: ControlClient
    noTerminalRemedy?: (seat: { name: string; space: string }) => string
    notice?: (notice: AttachNotice) => void
    onRefusal: "exit" | "throw"
    verb: string