Align app-server create-api-key flow

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Michael Fan
2026-03-27 12:49:16 -04:00
parent 8ccbe48ba6
commit 575bb8a885
31 changed files with 1032 additions and 663 deletions

View File

@@ -961,6 +961,54 @@
"title": "Thread/name/setRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"thread/dependencyEnv/set"
],
"title": "Thread/dependencyEnv/setRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/ThreadDependencyEnvSetParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Thread/dependencyEnv/setRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"thread/dependencyEnv/contains"
],
"title": "Thread/dependencyEnv/containsRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/ThreadDependencyEnvContainsParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "Thread/dependencyEnv/containsRequest",
"type": "object"
},
{
"properties": {
"id": {
@@ -5367,27 +5415,6 @@
"title": "ApiKeyv2::LoginAccountParams",
"type": "object"
},
{
"description": "[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.",
"properties": {
"apiKey": {
"type": "string"
},
"type": {
"enum": [
"ephemeralApiKey"
],
"title": "EphemeralApiKeyv2::LoginAccountParamsType",
"type": "string"
}
},
"required": [
"apiKey",
"type"
],
"title": "EphemeralApiKeyv2::LoginAccountParams",
"type": "object"
},
{
"properties": {
"type": {
@@ -9927,6 +9954,61 @@
"title": "ThreadCompactStartResponse",
"type": "object"
},
"ThreadDependencyEnvContainsParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"key": {
"type": "string"
},
"threadId": {
"type": "string"
}
},
"required": [
"key",
"threadId"
],
"title": "ThreadDependencyEnvContainsParams",
"type": "object"
},
"ThreadDependencyEnvContainsResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"contains": {
"type": "boolean"
}
},
"required": [
"contains"
],
"title": "ThreadDependencyEnvContainsResponse",
"type": "object"
},
"ThreadDependencyEnvSetParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"threadId": {
"type": "string"
},
"values": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"required": [
"threadId",
"values"
],
"title": "ThreadDependencyEnvSetParams",
"type": "object"
},
"ThreadDependencyEnvSetResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ThreadDependencyEnvSetResponse",
"type": "object"
},
"ThreadForkParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"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.",