Skip to content

TerminalExitMeta

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  95970865805536["field_meta.TerminalExitMeta"]
  125067848556736["builtins.dict"]
  125067848591872["builtins.object"]
  125067848556736 --> 95970865805536
  125067848591872 --> 125067848556736

🛈 DocStrings

Bases: TypedDict

Signals that the process of a display-only terminal has exited.

Sent on the final tool_call_update of a shell tool.

Source code in src/aclientp/schema/field_meta.py
class TerminalExitMeta(TypedDict):
    """Signals that the process of a display-only terminal has exited.

    Sent on the final ``tool_call_update`` of a shell tool.
    """

    terminal_id: str
    """The terminal that exited. Must match a previous ``terminal_info``."""

    exit_code: int | None
    """Process exit code, or ``None`` when the agent does not know it."""

    signal: str | None
    """Signal that terminated the process, or ``None``."""

exit_code instance-attribute

exit_code: int | None

Process exit code, or None when the agent does not know it.

signal instance-attribute

signal: str | None

Signal that terminated the process, or None.

terminal_id instance-attribute

terminal_id: str

The terminal that exited. Must match a previous terminal_info.

:fa-brands-github: Show source on GitHub