Skip to content

CommandExecResizeParams

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  559907043["v2_protocol.CommandExecResizeParams"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 559907043
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Resize a running PTY-backed command/exec session.

Source code in src/codexed/models/v2_protocol.py
class CommandExecResizeParams(CodexBaseModel):
    """Resize a running PTY-backed `command/exec` session."""

    process_id: str
    """
    Client-supplied, connection-scoped `processId` from the original `command/exec` request.
    """
    size: CommandExecTerminalSize
    """
    New PTY size in character cells.
    """

process_id instance-attribute

process_id: str

Client-supplied, connection-scoped processId from the original command/exec request.

size instance-attribute

New PTY size in character cells.

:fa-brands-github: Show source on GitHub