ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias TerminalExitStatusExperimental

    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, when known. 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. Implementations MUST NOT make assumptions about values at these keys. This metadata is scoped to the exit information. Omitted and null are equivalent and mean no exit metadata was provided.

    See protocol docs: Extensibility