Skip to content

ProcessOutputDeltaNotification

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: CodexBaseModel

Base64-encoded output chunk emitted for a streaming process/spawn request.

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

    cap_reached: bool
    """
    True on the final streamed chunk for this stream when output was truncated by `outputBytesCap`.
    """
    delta_base64: str
    """
    Base64-encoded output bytes.
    """
    process_handle: str
    """
    Client-supplied, connection-scoped `processHandle` from `process/spawn`.
    """
    stream: ProcessOutputStream
    """
    Output stream this chunk belongs to.
    """

cap_reached instance-attribute

cap_reached: bool

True on the final streamed chunk for this stream when output was truncated by outputBytesCap.

delta_base64 instance-attribute

delta_base64: str

Base64-encoded output bytes.

process_handle instance-attribute

process_handle: str

Client-supplied, connection-scoped processHandle from process/spawn.

stream instance-attribute

Output stream this chunk belongs to.

:fa-brands-github: Show source on GitHub