codex: make create-api-key app-server backed

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Michael Fan
2026-04-05 18:07:48 -04:00
parent 0b9e42f6f7
commit 64b5036b99
34 changed files with 2453 additions and 253 deletions

View File

@@ -2555,6 +2555,28 @@
],
"type": "object"
},
"ThreadCreateApiKeyFinishParams": {
"properties": {
"threadId": {
"type": "string"
}
},
"required": [
"threadId"
],
"type": "object"
},
"ThreadCreateApiKeyStartParams": {
"properties": {
"threadId": {
"type": "string"
}
},
"required": [
"threadId"
],
"type": "object"
},
"ThreadForkParams": {
"description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.",
"properties": {
@@ -3618,6 +3640,54 @@
"title": "Thread/unsubscribeRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"thread/createApiKey/start"
],
"title": "Thread/createApiKey/startRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/ThreadCreateApiKeyStartParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Thread/createApiKey/startRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"thread/createApiKey/finish"
],
"title": "Thread/createApiKey/finishRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/ThreadCreateApiKeyFinishParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Thread/createApiKey/finishRequest",
"type": "object"
},
{
"properties": {
"id": {