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 b5edeb98a0
commit 7636437244
34 changed files with 2453 additions and 254 deletions

View File

@@ -2518,6 +2518,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": {
@@ -3581,6 +3603,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": {