ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias TerminalExitStatus

    Exit information for an Agent-owned terminal.

    The presence of this object marks the terminal as exited, even when neither an exit code nor a signal is known.

    type TerminalExitStatus = {
        exitCode?: number | null;
        signal?: string | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    exitCode?: number | null

    Process exit code as the platform reports it, when known. Negative values are allowed, for example signed Windows exit codes. Omitted and null are equivalent.

    signal?: string | null

    Signal that terminated the process, when known.

    Agents SHOULD use the conventional platform signal name. POSIX examples include SIGTERM, SIGKILL, and SIGINT. Other platforms may use a platform-specific name. Omitted and null are equivalent.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility