mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +00:00
Define the v2 command/exec contract and wire it through app-server and core in one slice: processId, env overrides, timeout and output-cap controls, streaming notifications, and PTY write/resize/terminate support. Keep the generated schema, README updates, backend plumbing, and test harness changes together so reviewers can read the API and runtime behavior in the same commit.
38 lines
713 B
JSON
38 lines
713 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"CommandExecTerminalSize": {
|
|
"properties": {
|
|
"cols": {
|
|
"format": "uint16",
|
|
"minimum": 0.0,
|
|
"type": "integer"
|
|
},
|
|
"rows": {
|
|
"format": "uint16",
|
|
"minimum": 0.0,
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"cols",
|
|
"rows"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"processId": {
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"$ref": "#/definitions/CommandExecTerminalSize"
|
|
}
|
|
},
|
|
"required": [
|
|
"processId",
|
|
"size"
|
|
],
|
|
"title": "CommandExecResizeParams",
|
|
"type": "object"
|
|
} |