mirror of
https://github.com/openai/codex.git
synced 2026-04-25 07:05:38 +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`)
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"CommandExecTerminalSize": {
|
|
"description": "PTY size in character cells for `command/exec` PTY sessions.",
|
|
"properties": {
|
|
"cols": {
|
|
"description": "Terminal width in character cells.",
|
|
"format": "uint16",
|
|
"minimum": 0.0,
|
|
"type": "integer"
|
|
},
|
|
"rows": {
|
|
"description": "Terminal height in character cells.",
|
|
"format": "uint16",
|
|
"minimum": 0.0,
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"cols",
|
|
"rows"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "Resize a running PTY-backed `command/exec` session.",
|
|
"properties": {
|
|
"processId": {
|
|
"description": "Client-supplied, connection-scoped `processId` from the original `command/exec` request.",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/CommandExecTerminalSize"
|
|
}
|
|
],
|
|
"description": "New PTY size in character cells."
|
|
}
|
|
},
|
|
"required": [
|
|
"processId",
|
|
"size"
|
|
],
|
|
"title": "CommandExecResizeParams",
|
|
"type": "object"
|
|
} |