mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
* Add an ability to stream stdin, stdout, and stderr * Streaming of stdout and stderr has a configurable cap for total amount of transmitted bytes (with an ability to disable it) * Add support for overriding environment variables * Add an ability to terminate running applications (using `command/exec/terminate`) * Add TTY/PTY support, with an ability to resize the terminal (using `command/exec/resize`)
26 lines
699 B
JSON
26 lines
699 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Final buffered result for `command/exec`.",
|
|
"properties": {
|
|
"exitCode": {
|
|
"description": "Process exit code.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"stderr": {
|
|
"description": "Buffered stderr capture.\n\nEmpty when stderr was streamed via `command/exec/outputDelta`.",
|
|
"type": "string"
|
|
},
|
|
"stdout": {
|
|
"description": "Buffered stdout capture.\n\nEmpty when stdout was streamed via `command/exec/outputDelta`.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"exitCode",
|
|
"stderr",
|
|
"stdout"
|
|
],
|
|
"title": "CommandExecResponse",
|
|
"type": "object"
|
|
} |