mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
Add app-server environment registry for exec-server routing
Expose app-server environment register/list RPCs, persist environment selection through thread lifecycle flows, and cover the new routing behavior with app-server tests. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -524,6 +524,26 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"EnvironmentListParams": {
|
||||
"type": "object"
|
||||
},
|
||||
"EnvironmentRegisterParams": {
|
||||
"properties": {
|
||||
"environmentId": {
|
||||
"type": "string"
|
||||
},
|
||||
"execServerUrl": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"environmentId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ExperimentalFeatureEnablementSetParams": {
|
||||
"properties": {
|
||||
"enablement": {
|
||||
@@ -2663,6 +2683,13 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"environmentId": {
|
||||
"description": "Override the execution environment used by the forked thread.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"ephemeral": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -3026,6 +3053,13 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"environmentId": {
|
||||
"description": "Override the execution environment used when resuming this thread.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"model": {
|
||||
"description": "Configuration overrides for the resumed thread, if any.",
|
||||
"type": [
|
||||
@@ -3204,6 +3238,13 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"environmentId": {
|
||||
"description": "Select a registered app-server execution environment for this thread.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"ephemeral": {
|
||||
"type": [
|
||||
"boolean",
|
||||
@@ -4097,6 +4138,54 @@
|
||||
"title": "App/listRequest",
|
||||
"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": {
|
||||
"$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": {
|
||||
|
||||
Reference in New Issue
Block a user