Skip to content

TerminalExitStatus

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970869942512["terminals.TerminalExitStatus"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869942512
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Exit information for an agent-owned terminal.

Its presence marks the terminal as exited, even when neither code nor signal is known.

Source code in src/aclientp/schema/v2/terminals.py
class TerminalExitStatus(AnnotatedObject):
    """Exit information for an agent-owned terminal.

    Its presence marks the terminal as exited, even when neither code nor signal is known.
    """

    exit_code: int | MISSING | None = MISSING
    """Process exit code as the platform reports it; negative values are allowed."""

    signal: str | MISSING | None = MISSING
    """Signal that terminated the process, when known."""

exit_code class-attribute instance-attribute

exit_code: int | MISSING | None = MISSING

Process exit code as the platform reports it; negative values are allowed.

signal class-attribute instance-attribute

signal: str | MISSING | None = MISSING

Signal that terminated the process, when known.

:fa-brands-github: Show source on GitHub