Skip to content

CommandExecOutputDeltaNotification

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Base64-encoded output chunk emitted for a streaming command/exec request.

These notifications are connection-scoped. If the originating connection closes, the server terminates the process.

Source code in src/codexed/models/v2_protocol.py
class CommandExecOutputDeltaNotification(CodexBaseModel):
    """Base64-encoded output chunk emitted for a streaming `command/exec` request.

    These notifications are connection-scoped. If the originating connection closes, the server terminates the process.
    """

    cap_reached: bool
    """
    `true` on the final streamed chunk for a stream when `outputBytesCap` truncated later output on that stream.
    """
    delta_base64: str
    """
    Base64-encoded output bytes.
    """
    process_id: str
    """
    Client-supplied, connection-scoped `processId` from the original `command/exec` request.
    """
    stream: CommandExecOutputStream
    """
    Output stream for this chunk.
    """

cap_reached instance-attribute

cap_reached: bool

true on the final streamed chunk for a stream when outputBytesCap truncated later output on that stream.

delta_base64 instance-attribute

delta_base64: str

Base64-encoded output bytes.

process_id instance-attribute

process_id: str

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

stream instance-attribute

Output stream for this chunk.

:fa-brands-github: Show source on GitHub