Files
codex-telegram-bot/schemas/v2/ProcessOutputDeltaNotification.json
2026-05-21 08:40:16 +00:00

55 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ProcessOutputDeltaNotification",
"description": "Base64-encoded output chunk emitted for a streaming `process/spawn` request.",
"type": "object",
"required": [
"capReached",
"deltaBase64",
"processHandle",
"stream"
],
"properties": {
"capReached": {
"description": "True on the final streamed chunk for this stream when output was truncated by `outputBytesCap`.",
"type": "boolean"
},
"deltaBase64": {
"description": "Base64-encoded output bytes.",
"type": "string"
},
"processHandle": {
"description": "Client-supplied, connection-scoped `processHandle` from `process/spawn`.",
"type": "string"
},
"stream": {
"description": "Output stream this chunk belongs to.",
"allOf": [
{
"$ref": "#/definitions/ProcessOutputStream"
}
]
}
},
"definitions": {
"ProcessOutputStream": {
"description": "Stream label for `process/outputDelta` notifications.",
"oneOf": [
{
"description": "stdout stream. PTY mode multiplexes terminal output here.",
"type": "string",
"enum": [
"stdout"
]
},
{
"description": "stderr stream.",
"type": "string",
"enum": [
"stderr"
]
}
]
}
}
}