codex: fix env registry protocol CI follow-ups

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-15 18:49:18 -07:00
parent e8059b9551
commit bad4132003
33 changed files with 794 additions and 11 deletions

View File

@@ -1305,6 +1305,54 @@
"title": "App/listRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"environment/register"
],
"title": "Environment/registerRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/EnvironmentRegisterParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Environment/registerRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"environment/list"
],
"title": "Environment/listRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/EnvironmentListParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Environment/listRequest",
"type": "object"
},
{
"properties": {
"id": {
@@ -3860,6 +3908,95 @@
],
"type": "object"
},
"EnvironmentListEntry": {
"properties": {
"environmentId": {
"type": "string"
},
"execServerUrl": {
"type": [
"string",
"null"
]
}
},
"required": [
"environmentId"
],
"type": "object"
},
"EnvironmentListParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "List named execution environments registered with the app-server.",
"properties": {
"cursor": {
"type": [
"string",
"null"
]
},
"limit": {
"format": "uint32",
"minimum": 0.0,
"type": [
"integer",
"null"
]
}
},
"title": "EnvironmentListParams",
"type": "object"
},
"EnvironmentListResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"data": {
"items": {
"$ref": "#/definitions/EnvironmentListEntry"
},
"type": "array"
},
"nextCursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"data"
],
"title": "EnvironmentListResponse",
"type": "object"
},
"EnvironmentRegisterParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Register or replace a named execution environment.",
"properties": {
"environmentId": {
"description": "Logical environment identifier used by thread and fs APIs.",
"type": "string"
},
"execServerUrl": {
"description": "Optional exec-server websocket URL; omit for local execution.",
"type": [
"string",
"null"
]
}
},
"required": [
"environmentId"
],
"title": "EnvironmentRegisterParams",
"type": "object"
},
"EnvironmentRegisterResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Successful response for `environment/register`.",
"title": "EnvironmentRegisterResponse",
"type": "object"
},
"ErrorNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
@@ -4302,6 +4439,13 @@
],
"description": "Absolute destination path."
},
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"recursive": {
"description": "Required for directory copies; ignored for file copies.",
"type": "boolean"
@@ -4332,6 +4476,13 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Create a directory on the host filesystem.",
"properties": {
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"path": {
"allOf": [
{
@@ -4364,6 +4515,13 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Request metadata for an absolute path.",
"properties": {
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"path": {
"allOf": [
{
@@ -4443,6 +4601,13 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "List direct child names for a directory.",
"properties": {
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"path": {
"allOf": [
{
@@ -4480,6 +4645,13 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Read a file from the host filesystem.",
"properties": {
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"path": {
"allOf": [
{
@@ -4514,6 +4686,13 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Remove a file or directory tree from the host filesystem.",
"properties": {
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"force": {
"description": "Whether missing paths should be ignored. Defaults to `true`.",
"type": [
@@ -4574,6 +4753,13 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Start filesystem watch notifications for an absolute path.",
"properties": {
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"path": {
"allOf": [
{
@@ -4621,6 +4807,13 @@
"description": "File contents encoded as base64.",
"type": "string"
},
"environmentId": {
"description": "Optional environment selection. Omit to use the default environment.",
"type": [
"string",
"null"
]
},
"path": {
"allOf": [
{
@@ -12400,6 +12593,12 @@
"null"
]
},
"environmentId": {
"type": [
"string",
"null"
]
},
"ephemeral": {
"type": [
"boolean",