diff --git a/.github/workflows/docs-agent.yml b/.github/workflows/docs-agent.yml index 59fa900de87..ff4399565f1 100644 --- a/.github/workflows/docs-agent.yml +++ b/.github/workflows/docs-agent.yml @@ -197,7 +197,8 @@ jobs: - name: Restore Node 24 path if: steps.gate.outputs.run_agent == 'true' - run: | # zizmor: ignore[github-env] NODE_BIN is set by the trusted local setup-node-env action in this same job + run: + | # zizmor: ignore[github-env] NODE_BIN is set by the trusted local setup-node-env action in this same job set -euo pipefail export PATH="${NODE_BIN}:${PATH}" echo "${NODE_BIN}" >> "$GITHUB_PATH" diff --git a/.github/workflows/test-performance-agent.yml b/.github/workflows/test-performance-agent.yml index 31d22ff0935..dbf29b83d33 100644 --- a/.github/workflows/test-performance-agent.yml +++ b/.github/workflows/test-performance-agent.yml @@ -181,7 +181,8 @@ jobs: - name: Restore Node 24 path if: steps.gate.outputs.run_agent == 'true' && steps.patch.outputs.has_changes == 'true' - run: | # zizmor: ignore[github-env] NODE_BIN is set by the trusted local setup-node-env action in this same job + run: + | # zizmor: ignore[github-env] NODE_BIN is set by the trusted local setup-node-env action in this same job set -euo pipefail export PATH="${NODE_BIN}:${PATH}" echo "${NODE_BIN}" >> "$GITHUB_PATH" diff --git a/extensions/codex/src/app-server/client.ts b/extensions/codex/src/app-server/client.ts index aed64ab45d4..809753a5233 100644 --- a/extensions/codex/src/app-server/client.ts +++ b/extensions/codex/src/app-server/client.ts @@ -1,7 +1,6 @@ import { createInterface, type Interface as ReadlineInterface } from "node:readline"; import { embeddedAgentLog, OPENCLAW_VERSION } from "openclaw/plugin-sdk/agent-harness-runtime"; import { resolveCodexAppServerRuntimeOptions, type CodexAppServerStartOptions } from "./config.js"; -import { MIN_CODEX_APP_SERVER_VERSION } from "./version.js"; import { type CodexAppServerRequestMethod, type CodexAppServerRequestParams, @@ -22,6 +21,7 @@ import { closeCodexAppServerTransportAndWait, type CodexAppServerTransport, } from "./transport.js"; +import { MIN_CODEX_APP_SERVER_VERSION } from "./version.js"; export { MIN_CODEX_APP_SERVER_VERSION } from "./version.js"; const CODEX_APP_SERVER_PARSE_LOG_MAX = 500; diff --git a/extensions/codex/src/app-server/protocol-generated/json/DynamicToolCallParams.json b/extensions/codex/src/app-server/protocol-generated/json/DynamicToolCallParams.json index 991733da668..870ba1a9513 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/DynamicToolCallParams.json +++ b/extensions/codex/src/app-server/protocol-generated/json/DynamicToolCallParams.json @@ -6,10 +6,7 @@ "type": "string" }, "namespace": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "threadId": { "type": "string" @@ -21,13 +18,7 @@ "type": "string" } }, - "required": [ - "arguments", - "callId", - "threadId", - "tool", - "turnId" - ], + "required": ["arguments", "callId", "threadId", "tool", "turnId"], "title": "DynamicToolCallParams", "type": "object" -} \ No newline at end of file +} diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/ErrorNotification.json b/extensions/codex/src/app-server/protocol-generated/json/v2/ErrorNotification.json index fd55d08764d..7778e473cba 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/ErrorNotification.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/ErrorNotification.json @@ -27,18 +27,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "httpConnectionFailed" - ], + "required": ["httpConnectionFailed"], "title": "HttpConnectionFailedCodexErrorInfo", "type": "object" }, @@ -51,18 +46,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamConnectionFailed" - ], + "required": ["responseStreamConnectionFailed"], "title": "ResponseStreamConnectionFailedCodexErrorInfo", "type": "object" }, @@ -75,18 +65,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamDisconnected" - ], + "required": ["responseStreamDisconnected"], "title": "ResponseStreamDisconnectedCodexErrorInfo", "type": "object" }, @@ -99,18 +84,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseTooManyFailedAttempts" - ], + "required": ["responseTooManyFailedAttempts"], "title": "ResponseTooManyFailedAttemptsCodexErrorInfo", "type": "object" }, @@ -124,35 +104,25 @@ "$ref": "#/definitions/NonSteerableTurnKind" } }, - "required": [ - "turnKind" - ], + "required": ["turnKind"], "type": "object" } }, - "required": [ - "activeTurnNotSteerable" - ], + "required": ["activeTurnNotSteerable"], "title": "ActiveTurnNotSteerableCodexErrorInfo", "type": "object" } ] }, "NonSteerableTurnKind": { - "enum": [ - "review", - "compact" - ], + "enum": ["review", "compact"], "type": "string" }, "TurnError": { "properties": { "additionalDetails": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "codexErrorInfo": { "anyOf": [ @@ -168,9 +138,7 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" } }, @@ -188,12 +156,7 @@ "type": "boolean" } }, - "required": [ - "error", - "threadId", - "turnId", - "willRetry" - ], + "required": ["error", "threadId", "turnId", "willRetry"], "title": "ErrorNotification", "type": "object" -} \ No newline at end of file +} diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json index dc60c5b770b..b9cfbecce32 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json @@ -6,16 +6,12 @@ "oneOf": [ { "description": "Plain text turns and tool payloads.", - "enum": [ - "text" - ], + "enum": ["text"], "type": "string" }, { "description": "Image attachments included in user turns.", - "enum": [ - "image" - ], + "enum": ["image"], "type": "string" } ] @@ -55,10 +51,7 @@ "type": "string" }, "inputModalities": { - "default": [ - "text", - "image" - ], + "default": ["text", "image"], "items": { "$ref": "#/definitions/InputModality" }, @@ -81,10 +74,7 @@ "type": "boolean" }, "upgrade": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "upgradeInfo": { "anyOf": [ @@ -115,50 +105,30 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "ModelUpgradeInfo": { "properties": { "migrationMarkdown": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "model": { "type": "string" }, "modelLink": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "upgradeCopy": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "model" - ], + "required": ["model"], "type": "object" }, "ReasoningEffort": { "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "enum": ["none", "minimal", "low", "medium", "high", "xhigh"], "type": "string" }, "ReasoningEffortOption": { @@ -170,10 +140,7 @@ "$ref": "#/definitions/ReasoningEffort" } }, - "required": [ - "description", - "reasoningEffort" - ], + "required": ["description", "reasoningEffort"], "type": "object" } }, @@ -186,15 +153,10 @@ }, "nextCursor": { "description": "Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "data" - ], + "required": ["data"], "title": "ModelListResponse", "type": "object" -} \ No newline at end of file +} diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json index 38b0eb0d376..0222801f8ab 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json @@ -10,22 +10,13 @@ }, "ApprovalsReviewer": { "description": "Configures who approval requests are routed to for review. Examples include sandbox escapes, blocked network access, MCP approval prompts, and ARC escalations. Defaults to `user`. `auto_review` uses a carefully prompted subagent to gather relevant context and apply a risk-based decision framework before approving or denying the request. The legacy value `guardian_subagent` is accepted for compatibility.", - "enum": [ - "user", - "auto_review", - "guardian_subagent" - ], + "enum": ["user", "auto_review", "guardian_subagent"], "type": "string" }, "AskForApproval": { "oneOf": [ { - "enum": [ - "untrusted", - "on-failure", - "on-request", - "never" - ], + "enum": ["untrusted", "on-failure", "on-request", "never"], "type": "string" }, { @@ -51,17 +42,11 @@ "type": "boolean" } }, - "required": [ - "mcp_elicitations", - "rules", - "sandbox_approval" - ], + "required": ["mcp_elicitations", "rules", "sandbox_approval"], "type": "object" } }, - "required": [ - "granular" - ], + "required": ["granular"], "title": "GranularAskForApproval", "type": "object" } @@ -80,10 +65,7 @@ "type": "integer" } }, - "required": [ - "end", - "start" - ], + "required": ["end", "start"], "type": "object" }, "CodexErrorInfo": { @@ -112,18 +94,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "httpConnectionFailed" - ], + "required": ["httpConnectionFailed"], "title": "HttpConnectionFailedCodexErrorInfo", "type": "object" }, @@ -136,18 +113,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamConnectionFailed" - ], + "required": ["responseStreamConnectionFailed"], "title": "ResponseStreamConnectionFailedCodexErrorInfo", "type": "object" }, @@ -160,18 +132,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamDisconnected" - ], + "required": ["responseStreamDisconnected"], "title": "ResponseStreamDisconnectedCodexErrorInfo", "type": "object" }, @@ -184,18 +151,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseTooManyFailedAttempts" - ], + "required": ["responseTooManyFailedAttempts"], "title": "ResponseTooManyFailedAttemptsCodexErrorInfo", "type": "object" }, @@ -209,15 +171,11 @@ "$ref": "#/definitions/NonSteerableTurnKind" } }, - "required": [ - "turnKind" - ], + "required": ["turnKind"], "type": "object" } }, - "required": [ - "activeTurnNotSteerable" - ], + "required": ["activeTurnNotSteerable"], "title": "ActiveTurnNotSteerableCodexErrorInfo", "type": "object" } @@ -226,18 +184,13 @@ "CollabAgentState": { "properties": { "message": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/CollabAgentStatus" } }, - "required": [ - "status" - ], + "required": ["status"], "type": "object" }, "CollabAgentStatus": { @@ -253,21 +206,11 @@ "type": "string" }, "CollabAgentTool": { - "enum": [ - "spawnAgent", - "sendInput", - "resumeAgent", - "wait", - "closeAgent" - ], + "enum": ["spawnAgent", "sendInput", "resumeAgent", "wait", "closeAgent"], "type": "string" }, "CollabAgentToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "CommandAction": { @@ -284,19 +227,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "read" - ], + "enum": ["read"], "title": "ReadCommandActionType", "type": "string" } }, - "required": [ - "command", - "name", - "path", - "type" - ], + "required": ["command", "name", "path", "type"], "title": "ReadCommandAction", "type": "object" }, @@ -306,23 +242,15 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "listFiles" - ], + "enum": ["listFiles"], "title": "ListFilesCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "ListFilesCommandAction", "type": "object" }, @@ -332,29 +260,18 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "SearchCommandAction", "type": "object" }, @@ -364,38 +281,23 @@ "type": "string" }, "type": { - "enum": [ - "unknown" - ], + "enum": ["unknown"], "title": "UnknownCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "UnknownCommandAction", "type": "object" } ] }, "CommandExecutionSource": { - "enum": [ - "agent", - "userShell", - "unifiedExecStartup", - "unifiedExecInteraction" - ], + "enum": ["agent", "userShell", "unifiedExecStartup", "unifiedExecInteraction"], "type": "string" }, "CommandExecutionStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "DynamicToolCallOutputContentItem": { @@ -406,17 +308,12 @@ "type": "string" }, "type": { - "enum": [ - "inputText" - ], + "enum": ["inputText"], "title": "InputTextDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "InputTextDynamicToolCallOutputContentItem", "type": "object" }, @@ -426,36 +323,23 @@ "type": "string" }, "type": { - "enum": [ - "inputImage" - ], + "enum": ["inputImage"], "title": "InputImageDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "imageUrl", - "type" - ], + "required": ["imageUrl", "type"], "title": "InputImageDynamicToolCallOutputContentItem", "type": "object" } ] }, "DynamicToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "FileSystemAccessMode": { - "enum": [ - "read", - "write", - "none" - ], + "enum": ["read", "write", "none"], "type": "string" }, "FileSystemPath": { @@ -466,17 +350,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "path" - ], + "enum": ["path"], "title": "PathFileSystemPathType", "type": "string" } }, - "required": [ - "path", - "type" - ], + "required": ["path", "type"], "title": "PathFileSystemPath", "type": "object" }, @@ -486,26 +365,19 @@ "type": "string" }, "type": { - "enum": [ - "glob_pattern" - ], + "enum": ["glob_pattern"], "title": "GlobPatternFileSystemPathType", "type": "string" } }, - "required": [ - "pattern", - "type" - ], + "required": ["pattern", "type"], "title": "GlobPatternFileSystemPath", "type": "object" }, { "properties": { "type": { - "enum": [ - "special" - ], + "enum": ["special"], "title": "SpecialFileSystemPathType", "type": "string" }, @@ -513,10 +385,7 @@ "$ref": "#/definitions/FileSystemSpecialPath" } }, - "required": [ - "type", - "value" - ], + "required": ["type", "value"], "title": "SpecialFileSystemPath", "type": "object" } @@ -531,10 +400,7 @@ "$ref": "#/definitions/FileSystemPath" } }, - "required": [ - "access", - "path" - ], + "required": ["access", "path"], "type": "object" }, "FileSystemSpecialPath": { @@ -542,121 +408,86 @@ { "properties": { "kind": { - "enum": [ - "root" - ], + "enum": ["root"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "RootFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "minimal" - ], + "enum": ["minimal"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "MinimalFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "current_working_directory" - ], + "enum": ["current_working_directory"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "CurrentWorkingDirectoryFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "project_roots" - ], + "enum": ["project_roots"], "type": "string" }, "subpath": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "KindFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "tmpdir" - ], + "enum": ["tmpdir"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "TmpdirFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "slash_tmp" - ], + "enum": ["slash_tmp"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "SlashTmpFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "unknown" - ], + "enum": ["unknown"], "type": "string" }, "path": { "type": "string" }, "subpath": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "kind", - "path" - ], + "required": ["kind", "path"], "type": "object" } ] @@ -673,32 +504,19 @@ "type": "string" } }, - "required": [ - "diff", - "kind", - "path" - ], + "required": ["diff", "kind", "path"], "type": "object" }, "GitInfo": { "properties": { "branch": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "originUrl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sha": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "type": "object" @@ -712,10 +530,7 @@ "type": "string" } }, - "required": [ - "hookRunId", - "text" - ], + "required": ["hookRunId", "text"], "type": "object" }, "McpToolCallError": { @@ -724,9 +539,7 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "McpToolCallResult": { @@ -738,17 +551,11 @@ }, "structuredContent": true }, - "required": [ - "content" - ], + "required": ["content"], "type": "object" }, "McpToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "MemoryCitation": { @@ -766,10 +573,7 @@ "type": "array" } }, - "required": [ - "entries", - "threadIds" - ], + "required": ["entries", "threadIds"], "type": "object" }, "MemoryCitationEntry": { @@ -791,12 +595,7 @@ "type": "string" } }, - "required": [ - "lineEnd", - "lineStart", - "note", - "path" - ], + "required": ["lineEnd", "lineStart", "note", "path"], "type": "object" }, "MessagePhase": { @@ -804,41 +603,26 @@ "oneOf": [ { "description": "Mid-turn assistant text (for example preamble/progress narration).\n\nAdditional tool calls or assistant output may follow before turn completion.", - "enum": [ - "commentary" - ], + "enum": ["commentary"], "type": "string" }, { "description": "The assistant's terminal answer text for the current turn.", - "enum": [ - "final_answer" - ], + "enum": ["final_answer"], "type": "string" } ] }, "NetworkAccess": { - "enum": [ - "restricted", - "enabled" - ], + "enum": ["restricted", "enabled"], "type": "string" }, "NonSteerableTurnKind": { - "enum": [ - "review", - "compact" - ], + "enum": ["review", "compact"], "type": "string" }, "PatchApplyStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "PatchChangeKind": { @@ -846,54 +630,39 @@ { "properties": { "type": { - "enum": [ - "add" - ], + "enum": ["add"], "title": "AddPatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "AddPatchChangeKind", "type": "object" }, { "properties": { "type": { - "enum": [ - "delete" - ], + "enum": ["delete"], "title": "DeletePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "DeletePatchChangeKind", "type": "object" }, { "properties": { "move_path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "update" - ], + "enum": ["update"], "title": "UpdatePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "UpdatePatchChangeKind", "type": "object" } @@ -935,24 +704,16 @@ "globScanMaxDepth": { "format": "uint", "minimum": 1.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, - "required": [ - "entries" - ], + "required": ["entries"], "type": "object" }, "PermissionProfileNetworkPermissions": { "properties": { "enabled": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } }, "type": "object" @@ -973,32 +734,24 @@ "type": "array" }, "type": { - "enum": [ - "restricted" - ], + "enum": ["restricted"], "title": "RestrictedReadOnlyAccessType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "RestrictedReadOnlyAccess", "type": "object" }, { "properties": { "type": { - "enum": [ - "fullAccess" - ], + "enum": ["fullAccess"], "title": "FullAccessReadOnlyAccessType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "FullAccessReadOnlyAccess", "type": "object" } @@ -1006,14 +759,7 @@ }, "ReasoningEffort": { "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "enum": ["none", "minimal", "low", "medium", "high", "xhigh"], "type": "string" }, "SandboxPolicy": { @@ -1021,16 +767,12 @@ { "properties": { "type": { - "enum": [ - "dangerFullAccess" - ], + "enum": ["dangerFullAccess"], "title": "DangerFullAccessSandboxPolicyType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "DangerFullAccessSandboxPolicy", "type": "object" }, @@ -1051,16 +793,12 @@ "type": "boolean" }, "type": { - "enum": [ - "readOnly" - ], + "enum": ["readOnly"], "title": "ReadOnlySandboxPolicyType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "ReadOnlySandboxPolicy", "type": "object" }, @@ -1075,16 +813,12 @@ "default": "restricted" }, "type": { - "enum": [ - "externalSandbox" - ], + "enum": ["externalSandbox"], "title": "ExternalSandboxSandboxPolicyType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "ExternalSandboxSandboxPolicy", "type": "object" }, @@ -1113,9 +847,7 @@ } }, "type": { - "enum": [ - "workspaceWrite" - ], + "enum": ["workspaceWrite"], "title": "WorkspaceWriteSandboxPolicyType", "type": "string" }, @@ -1127,31 +859,20 @@ "type": "array" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "WorkspaceWriteSandboxPolicy", "type": "object" } ] }, "ServiceTier": { - "enum": [ - "fast", - "flex" - ], + "enum": ["fast", "flex"], "type": "string" }, "SessionSource": { "oneOf": [ { - "enum": [ - "cli", - "vscode", - "exec", - "appServer", - "unknown" - ], + "enum": ["cli", "vscode", "exec", "appServer", "unknown"], "type": "string" }, { @@ -1161,9 +882,7 @@ "type": "string" } }, - "required": [ - "custom" - ], + "required": ["custom"], "title": "CustomSessionSource", "type": "object" }, @@ -1174,9 +893,7 @@ "$ref": "#/definitions/SubAgentSource" } }, - "required": [ - "subAgent" - ], + "required": ["subAgent"], "title": "SubAgentSessionSource", "type": "object" } @@ -1185,11 +902,7 @@ "SubAgentSource": { "oneOf": [ { - "enum": [ - "review", - "compact", - "memory_consolidation" - ], + "enum": ["review", "compact", "memory_consolidation"], "type": "string" }, { @@ -1199,10 +912,7 @@ "properties": { "agent_nickname": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "agent_path": { "anyOf": [ @@ -1217,10 +927,7 @@ }, "agent_role": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "depth": { "format": "int32", @@ -1230,16 +937,11 @@ "$ref": "#/definitions/ThreadId" } }, - "required": [ - "depth", - "parent_thread_id" - ], + "required": ["depth", "parent_thread_id"], "type": "object" } }, - "required": [ - "thread_spawn" - ], + "required": ["thread_spawn"], "title": "ThreadSpawnSubAgentSource", "type": "object" }, @@ -1250,9 +952,7 @@ "type": "string" } }, - "required": [ - "other" - ], + "required": ["other"], "title": "OtherSubAgentSource", "type": "object" } @@ -1270,32 +970,21 @@ }, "placeholder": { "description": "Optional human-readable placeholder for the element, displayed in the UI.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "byteRange" - ], + "required": ["byteRange"], "type": "object" }, "Thread": { "properties": { "agentNickname": { "description": "Optional random unique nickname assigned to an AgentControl-spawned sub-agent.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "agentRole": { "description": "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "cliVersion": { "description": "Version of the CLI that created the thread.", @@ -1320,10 +1009,7 @@ }, "forkedFromId": { "description": "Source thread id when this thread was created by forking another thread.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gitInfo": { "anyOf": [ @@ -1345,17 +1031,11 @@ }, "name": { "description": "Optional user-facing thread title.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "path": { "description": "[UNSTABLE] Path to the thread on disk.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "preview": { "description": "Usually the first user message in the thread, if available.", @@ -1406,10 +1086,7 @@ "type": "object" }, "ThreadActiveFlag": { - "enum": [ - "waitingOnApproval", - "waitingOnUserInput" - ], + "enum": ["waitingOnApproval", "waitingOnUserInput"], "type": "string" }, "ThreadId": { @@ -1429,18 +1106,12 @@ "type": "string" }, "type": { - "enum": [ - "userMessage" - ], + "enum": ["userMessage"], "title": "UserMessageThreadItemType", "type": "string" } }, - "required": [ - "content", - "id", - "type" - ], + "required": ["content", "id", "type"], "title": "UserMessageThreadItem", "type": "object" }, @@ -1456,18 +1127,12 @@ "type": "string" }, "type": { - "enum": [ - "hookPrompt" - ], + "enum": ["hookPrompt"], "title": "HookPromptThreadItemType", "type": "string" } }, - "required": [ - "fragments", - "id", - "type" - ], + "required": ["fragments", "id", "type"], "title": "HookPromptThreadItem", "type": "object" }, @@ -1502,18 +1167,12 @@ "type": "string" }, "type": { - "enum": [ - "agentMessage" - ], + "enum": ["agentMessage"], "title": "AgentMessageThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "AgentMessageThreadItem", "type": "object" }, @@ -1527,18 +1186,12 @@ "type": "string" }, "type": { - "enum": [ - "plan" - ], + "enum": ["plan"], "title": "PlanThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "PlanThreadItem", "type": "object" }, @@ -1562,17 +1215,12 @@ "type": "array" }, "type": { - "enum": [ - "reasoning" - ], + "enum": ["reasoning"], "title": "ReasoningThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ReasoningThreadItem", "type": "object" }, @@ -1580,10 +1228,7 @@ "properties": { "aggregatedOutput": { "description": "The command's output, aggregated from stdout and stderr.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "command": { "description": "The command to be executed.", @@ -1607,28 +1252,19 @@ "durationMs": { "description": "The duration of the command execution in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "exitCode": { "description": "The command's exit code.", "format": "int32", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "processId": { "description": "Identifier for the underlying PTY process (when available).", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "source": { "allOf": [ @@ -1642,21 +1278,12 @@ "$ref": "#/definitions/CommandExecutionStatus" }, "type": { - "enum": [ - "commandExecution" - ], + "enum": ["commandExecution"], "title": "CommandExecutionThreadItemType", "type": "string" } }, - "required": [ - "command", - "commandActions", - "cwd", - "id", - "status", - "type" - ], + "required": ["command", "commandActions", "cwd", "id", "status", "type"], "title": "CommandExecutionThreadItem", "type": "object" }, @@ -1675,19 +1302,12 @@ "$ref": "#/definitions/PatchApplyStatus" }, "type": { - "enum": [ - "fileChange" - ], + "enum": ["fileChange"], "title": "FileChangeThreadItemType", "type": "string" } }, - "required": [ - "changes", - "id", - "status", - "type" - ], + "required": ["changes", "id", "status", "type"], "title": "FileChangeThreadItem", "type": "object" }, @@ -1697,10 +1317,7 @@ "durationMs": { "description": "The duration of the MCP tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -1716,10 +1333,7 @@ "type": "string" }, "mcpAppResourceUri": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "result": { "anyOf": [ @@ -1741,21 +1355,12 @@ "type": "string" }, "type": { - "enum": [ - "mcpToolCall" - ], + "enum": ["mcpToolCall"], "title": "McpToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "server", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "server", "status", "tool", "type"], "title": "McpToolCallThreadItem", "type": "object" }, @@ -1766,55 +1371,35 @@ "items": { "$ref": "#/definitions/DynamicToolCallOutputContentItem" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "durationMs": { "description": "The duration of the dynamic tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "namespace": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/DynamicToolCallStatus" }, "success": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "tool": { "type": "string" }, "type": { - "enum": [ - "dynamicToolCall" - ], + "enum": ["dynamicToolCall"], "title": "DynamicToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "status", "tool", "type"], "title": "DynamicToolCallThreadItem", "type": "object" }, @@ -1833,17 +1418,11 @@ }, "model": { "description": "Model requested for the spawned agent, when applicable.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "prompt": { "description": "Prompt text sent as part of the collab tool call, when available.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "reasoningEffort": { "anyOf": [ @@ -1884,9 +1463,7 @@ "description": "Name of the collab tool that was invoked." }, "type": { - "enum": [ - "collabAgentToolCall" - ], + "enum": ["collabAgentToolCall"], "title": "CollabAgentToolCallThreadItemType", "type": "string" } @@ -1922,18 +1499,12 @@ "type": "string" }, "type": { - "enum": [ - "webSearch" - ], + "enum": ["webSearch"], "title": "WebSearchThreadItemType", "type": "string" } }, - "required": [ - "id", - "query", - "type" - ], + "required": ["id", "query", "type"], "title": "WebSearchThreadItem", "type": "object" }, @@ -1946,18 +1517,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "imageView" - ], + "enum": ["imageView"], "title": "ImageViewThreadItemType", "type": "string" } }, - "required": [ - "id", - "path", - "type" - ], + "required": ["id", "path", "type"], "title": "ImageViewThreadItem", "type": "object" }, @@ -1970,10 +1535,7 @@ "type": "string" }, "revisedPrompt": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "savedPath": { "anyOf": [ @@ -1989,19 +1551,12 @@ "type": "string" }, "type": { - "enum": [ - "imageGeneration" - ], + "enum": ["imageGeneration"], "title": "ImageGenerationThreadItemType", "type": "string" } }, - "required": [ - "id", - "result", - "status", - "type" - ], + "required": ["id", "result", "status", "type"], "title": "ImageGenerationThreadItem", "type": "object" }, @@ -2014,18 +1569,12 @@ "type": "string" }, "type": { - "enum": [ - "enteredReviewMode" - ], + "enum": ["enteredReviewMode"], "title": "EnteredReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "EnteredReviewModeThreadItem", "type": "object" }, @@ -2038,18 +1587,12 @@ "type": "string" }, "type": { - "enum": [ - "exitedReviewMode" - ], + "enum": ["exitedReviewMode"], "title": "ExitedReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "ExitedReviewModeThreadItem", "type": "object" }, @@ -2059,17 +1602,12 @@ "type": "string" }, "type": { - "enum": [ - "contextCompaction" - ], + "enum": ["contextCompaction"], "title": "ContextCompactionThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ContextCompactionThreadItem", "type": "object" } @@ -2080,48 +1618,36 @@ { "properties": { "type": { - "enum": [ - "notLoaded" - ], + "enum": ["notLoaded"], "title": "NotLoadedThreadStatusType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "NotLoadedThreadStatus", "type": "object" }, { "properties": { "type": { - "enum": [ - "idle" - ], + "enum": ["idle"], "title": "IdleThreadStatusType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "IdleThreadStatus", "type": "object" }, { "properties": { "type": { - "enum": [ - "systemError" - ], + "enum": ["systemError"], "title": "SystemErrorThreadStatusType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "SystemErrorThreadStatus", "type": "object" }, @@ -2134,17 +1660,12 @@ "type": "array" }, "type": { - "enum": [ - "active" - ], + "enum": ["active"], "title": "ActiveThreadStatusType", "type": "string" } }, - "required": [ - "activeFlags", - "type" - ], + "required": ["activeFlags", "type"], "title": "ActiveThreadStatus", "type": "object" } @@ -2155,18 +1676,12 @@ "completedAt": { "description": "Unix timestamp (in seconds) when the turn completed.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "durationMs": { "description": "Duration between turn start and completion in milliseconds, if known.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -2192,30 +1707,20 @@ "startedAt": { "description": "Unix timestamp (in seconds) when the turn started.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "status": { "$ref": "#/definitions/TurnStatus" } }, - "required": [ - "id", - "items", - "status" - ], + "required": ["id", "items", "status"], "type": "object" }, "TurnError": { "properties": { "additionalDetails": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "codexErrorInfo": { "anyOf": [ @@ -2231,18 +1736,11 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "TurnStatus": { - "enum": [ - "completed", - "interrupted", - "failed", - "inProgress" - ], + "enum": ["completed", "interrupted", "failed", "inProgress"], "type": "string" }, "UserInput": { @@ -2261,26 +1759,19 @@ "type": "array" }, "type": { - "enum": [ - "text" - ], + "enum": ["text"], "title": "TextUserInputType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "TextUserInput", "type": "object" }, { "properties": { "type": { - "enum": [ - "image" - ], + "enum": ["image"], "title": "ImageUserInputType", "type": "string" }, @@ -2288,10 +1779,7 @@ "type": "string" } }, - "required": [ - "type", - "url" - ], + "required": ["type", "url"], "title": "ImageUserInput", "type": "object" }, @@ -2301,17 +1789,12 @@ "type": "string" }, "type": { - "enum": [ - "localImage" - ], + "enum": ["localImage"], "title": "LocalImageUserInputType", "type": "string" } }, - "required": [ - "path", - "type" - ], + "required": ["path", "type"], "title": "LocalImageUserInput", "type": "object" }, @@ -2324,18 +1807,12 @@ "type": "string" }, "type": { - "enum": [ - "skill" - ], + "enum": ["skill"], "title": "SkillUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "SkillUserInput", "type": "object" }, @@ -2348,18 +1825,12 @@ "type": "string" }, "type": { - "enum": [ - "mention" - ], + "enum": ["mention"], "title": "MentionUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "MentionUserInput", "type": "object" } @@ -2373,94 +1844,63 @@ "items": { "type": "string" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "SearchWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "openPage" - ], + "enum": ["openPage"], "title": "OpenPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OpenPageWebSearchAction", "type": "object" }, { "properties": { "pattern": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "findInPage" - ], + "enum": ["findInPage"], "title": "FindInPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "FindInPageWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "other" - ], + "enum": ["other"], "title": "OtherWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OtherWebSearchAction", "type": "object" } @@ -2551,4 +1991,4 @@ ], "title": "ThreadResumeResponse", "type": "object" -} \ No newline at end of file +} diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json index 879fa5c6875..c5da03b3ea8 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json @@ -10,22 +10,13 @@ }, "ApprovalsReviewer": { "description": "Configures who approval requests are routed to for review. Examples include sandbox escapes, blocked network access, MCP approval prompts, and ARC escalations. Defaults to `user`. `auto_review` uses a carefully prompted subagent to gather relevant context and apply a risk-based decision framework before approving or denying the request. The legacy value `guardian_subagent` is accepted for compatibility.", - "enum": [ - "user", - "auto_review", - "guardian_subagent" - ], + "enum": ["user", "auto_review", "guardian_subagent"], "type": "string" }, "AskForApproval": { "oneOf": [ { - "enum": [ - "untrusted", - "on-failure", - "on-request", - "never" - ], + "enum": ["untrusted", "on-failure", "on-request", "never"], "type": "string" }, { @@ -51,17 +42,11 @@ "type": "boolean" } }, - "required": [ - "mcp_elicitations", - "rules", - "sandbox_approval" - ], + "required": ["mcp_elicitations", "rules", "sandbox_approval"], "type": "object" } }, - "required": [ - "granular" - ], + "required": ["granular"], "title": "GranularAskForApproval", "type": "object" } @@ -80,10 +65,7 @@ "type": "integer" } }, - "required": [ - "end", - "start" - ], + "required": ["end", "start"], "type": "object" }, "CodexErrorInfo": { @@ -112,18 +94,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "httpConnectionFailed" - ], + "required": ["httpConnectionFailed"], "title": "HttpConnectionFailedCodexErrorInfo", "type": "object" }, @@ -136,18 +113,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamConnectionFailed" - ], + "required": ["responseStreamConnectionFailed"], "title": "ResponseStreamConnectionFailedCodexErrorInfo", "type": "object" }, @@ -160,18 +132,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamDisconnected" - ], + "required": ["responseStreamDisconnected"], "title": "ResponseStreamDisconnectedCodexErrorInfo", "type": "object" }, @@ -184,18 +151,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseTooManyFailedAttempts" - ], + "required": ["responseTooManyFailedAttempts"], "title": "ResponseTooManyFailedAttemptsCodexErrorInfo", "type": "object" }, @@ -209,15 +171,11 @@ "$ref": "#/definitions/NonSteerableTurnKind" } }, - "required": [ - "turnKind" - ], + "required": ["turnKind"], "type": "object" } }, - "required": [ - "activeTurnNotSteerable" - ], + "required": ["activeTurnNotSteerable"], "title": "ActiveTurnNotSteerableCodexErrorInfo", "type": "object" } @@ -226,18 +184,13 @@ "CollabAgentState": { "properties": { "message": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/CollabAgentStatus" } }, - "required": [ - "status" - ], + "required": ["status"], "type": "object" }, "CollabAgentStatus": { @@ -253,21 +206,11 @@ "type": "string" }, "CollabAgentTool": { - "enum": [ - "spawnAgent", - "sendInput", - "resumeAgent", - "wait", - "closeAgent" - ], + "enum": ["spawnAgent", "sendInput", "resumeAgent", "wait", "closeAgent"], "type": "string" }, "CollabAgentToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "CommandAction": { @@ -284,19 +227,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "read" - ], + "enum": ["read"], "title": "ReadCommandActionType", "type": "string" } }, - "required": [ - "command", - "name", - "path", - "type" - ], + "required": ["command", "name", "path", "type"], "title": "ReadCommandAction", "type": "object" }, @@ -306,23 +242,15 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "listFiles" - ], + "enum": ["listFiles"], "title": "ListFilesCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "ListFilesCommandAction", "type": "object" }, @@ -332,29 +260,18 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "SearchCommandAction", "type": "object" }, @@ -364,38 +281,23 @@ "type": "string" }, "type": { - "enum": [ - "unknown" - ], + "enum": ["unknown"], "title": "UnknownCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "UnknownCommandAction", "type": "object" } ] }, "CommandExecutionSource": { - "enum": [ - "agent", - "userShell", - "unifiedExecStartup", - "unifiedExecInteraction" - ], + "enum": ["agent", "userShell", "unifiedExecStartup", "unifiedExecInteraction"], "type": "string" }, "CommandExecutionStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "DynamicToolCallOutputContentItem": { @@ -406,17 +308,12 @@ "type": "string" }, "type": { - "enum": [ - "inputText" - ], + "enum": ["inputText"], "title": "InputTextDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "InputTextDynamicToolCallOutputContentItem", "type": "object" }, @@ -426,36 +323,23 @@ "type": "string" }, "type": { - "enum": [ - "inputImage" - ], + "enum": ["inputImage"], "title": "InputImageDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "imageUrl", - "type" - ], + "required": ["imageUrl", "type"], "title": "InputImageDynamicToolCallOutputContentItem", "type": "object" } ] }, "DynamicToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "FileSystemAccessMode": { - "enum": [ - "read", - "write", - "none" - ], + "enum": ["read", "write", "none"], "type": "string" }, "FileSystemPath": { @@ -466,17 +350,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "path" - ], + "enum": ["path"], "title": "PathFileSystemPathType", "type": "string" } }, - "required": [ - "path", - "type" - ], + "required": ["path", "type"], "title": "PathFileSystemPath", "type": "object" }, @@ -486,26 +365,19 @@ "type": "string" }, "type": { - "enum": [ - "glob_pattern" - ], + "enum": ["glob_pattern"], "title": "GlobPatternFileSystemPathType", "type": "string" } }, - "required": [ - "pattern", - "type" - ], + "required": ["pattern", "type"], "title": "GlobPatternFileSystemPath", "type": "object" }, { "properties": { "type": { - "enum": [ - "special" - ], + "enum": ["special"], "title": "SpecialFileSystemPathType", "type": "string" }, @@ -513,10 +385,7 @@ "$ref": "#/definitions/FileSystemSpecialPath" } }, - "required": [ - "type", - "value" - ], + "required": ["type", "value"], "title": "SpecialFileSystemPath", "type": "object" } @@ -531,10 +400,7 @@ "$ref": "#/definitions/FileSystemPath" } }, - "required": [ - "access", - "path" - ], + "required": ["access", "path"], "type": "object" }, "FileSystemSpecialPath": { @@ -542,121 +408,86 @@ { "properties": { "kind": { - "enum": [ - "root" - ], + "enum": ["root"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "RootFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "minimal" - ], + "enum": ["minimal"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "MinimalFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "current_working_directory" - ], + "enum": ["current_working_directory"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "CurrentWorkingDirectoryFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "project_roots" - ], + "enum": ["project_roots"], "type": "string" }, "subpath": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "KindFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "tmpdir" - ], + "enum": ["tmpdir"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "TmpdirFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "slash_tmp" - ], + "enum": ["slash_tmp"], "type": "string" } }, - "required": [ - "kind" - ], + "required": ["kind"], "title": "SlashTmpFileSystemSpecialPath", "type": "object" }, { "properties": { "kind": { - "enum": [ - "unknown" - ], + "enum": ["unknown"], "type": "string" }, "path": { "type": "string" }, "subpath": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "kind", - "path" - ], + "required": ["kind", "path"], "type": "object" } ] @@ -673,32 +504,19 @@ "type": "string" } }, - "required": [ - "diff", - "kind", - "path" - ], + "required": ["diff", "kind", "path"], "type": "object" }, "GitInfo": { "properties": { "branch": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "originUrl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sha": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "type": "object" @@ -712,10 +530,7 @@ "type": "string" } }, - "required": [ - "hookRunId", - "text" - ], + "required": ["hookRunId", "text"], "type": "object" }, "McpToolCallError": { @@ -724,9 +539,7 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "McpToolCallResult": { @@ -738,17 +551,11 @@ }, "structuredContent": true }, - "required": [ - "content" - ], + "required": ["content"], "type": "object" }, "McpToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "MemoryCitation": { @@ -766,10 +573,7 @@ "type": "array" } }, - "required": [ - "entries", - "threadIds" - ], + "required": ["entries", "threadIds"], "type": "object" }, "MemoryCitationEntry": { @@ -791,12 +595,7 @@ "type": "string" } }, - "required": [ - "lineEnd", - "lineStart", - "note", - "path" - ], + "required": ["lineEnd", "lineStart", "note", "path"], "type": "object" }, "MessagePhase": { @@ -804,41 +603,26 @@ "oneOf": [ { "description": "Mid-turn assistant text (for example preamble/progress narration).\n\nAdditional tool calls or assistant output may follow before turn completion.", - "enum": [ - "commentary" - ], + "enum": ["commentary"], "type": "string" }, { "description": "The assistant's terminal answer text for the current turn.", - "enum": [ - "final_answer" - ], + "enum": ["final_answer"], "type": "string" } ] }, "NetworkAccess": { - "enum": [ - "restricted", - "enabled" - ], + "enum": ["restricted", "enabled"], "type": "string" }, "NonSteerableTurnKind": { - "enum": [ - "review", - "compact" - ], + "enum": ["review", "compact"], "type": "string" }, "PatchApplyStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "PatchChangeKind": { @@ -846,54 +630,39 @@ { "properties": { "type": { - "enum": [ - "add" - ], + "enum": ["add"], "title": "AddPatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "AddPatchChangeKind", "type": "object" }, { "properties": { "type": { - "enum": [ - "delete" - ], + "enum": ["delete"], "title": "DeletePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "DeletePatchChangeKind", "type": "object" }, { "properties": { "move_path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "update" - ], + "enum": ["update"], "title": "UpdatePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "UpdatePatchChangeKind", "type": "object" } @@ -935,24 +704,16 @@ "globScanMaxDepth": { "format": "uint", "minimum": 1.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, - "required": [ - "entries" - ], + "required": ["entries"], "type": "object" }, "PermissionProfileNetworkPermissions": { "properties": { "enabled": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } }, "type": "object" @@ -973,32 +734,24 @@ "type": "array" }, "type": { - "enum": [ - "restricted" - ], + "enum": ["restricted"], "title": "RestrictedReadOnlyAccessType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "RestrictedReadOnlyAccess", "type": "object" }, { "properties": { "type": { - "enum": [ - "fullAccess" - ], + "enum": ["fullAccess"], "title": "FullAccessReadOnlyAccessType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "FullAccessReadOnlyAccess", "type": "object" } @@ -1006,14 +759,7 @@ }, "ReasoningEffort": { "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "enum": ["none", "minimal", "low", "medium", "high", "xhigh"], "type": "string" }, "SandboxPolicy": { @@ -1021,16 +767,12 @@ { "properties": { "type": { - "enum": [ - "dangerFullAccess" - ], + "enum": ["dangerFullAccess"], "title": "DangerFullAccessSandboxPolicyType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "DangerFullAccessSandboxPolicy", "type": "object" }, @@ -1051,16 +793,12 @@ "type": "boolean" }, "type": { - "enum": [ - "readOnly" - ], + "enum": ["readOnly"], "title": "ReadOnlySandboxPolicyType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "ReadOnlySandboxPolicy", "type": "object" }, @@ -1075,16 +813,12 @@ "default": "restricted" }, "type": { - "enum": [ - "externalSandbox" - ], + "enum": ["externalSandbox"], "title": "ExternalSandboxSandboxPolicyType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "ExternalSandboxSandboxPolicy", "type": "object" }, @@ -1113,9 +847,7 @@ } }, "type": { - "enum": [ - "workspaceWrite" - ], + "enum": ["workspaceWrite"], "title": "WorkspaceWriteSandboxPolicyType", "type": "string" }, @@ -1127,31 +859,20 @@ "type": "array" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "WorkspaceWriteSandboxPolicy", "type": "object" } ] }, "ServiceTier": { - "enum": [ - "fast", - "flex" - ], + "enum": ["fast", "flex"], "type": "string" }, "SessionSource": { "oneOf": [ { - "enum": [ - "cli", - "vscode", - "exec", - "appServer", - "unknown" - ], + "enum": ["cli", "vscode", "exec", "appServer", "unknown"], "type": "string" }, { @@ -1161,9 +882,7 @@ "type": "string" } }, - "required": [ - "custom" - ], + "required": ["custom"], "title": "CustomSessionSource", "type": "object" }, @@ -1174,9 +893,7 @@ "$ref": "#/definitions/SubAgentSource" } }, - "required": [ - "subAgent" - ], + "required": ["subAgent"], "title": "SubAgentSessionSource", "type": "object" } @@ -1185,11 +902,7 @@ "SubAgentSource": { "oneOf": [ { - "enum": [ - "review", - "compact", - "memory_consolidation" - ], + "enum": ["review", "compact", "memory_consolidation"], "type": "string" }, { @@ -1199,10 +912,7 @@ "properties": { "agent_nickname": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "agent_path": { "anyOf": [ @@ -1217,10 +927,7 @@ }, "agent_role": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "depth": { "format": "int32", @@ -1230,16 +937,11 @@ "$ref": "#/definitions/ThreadId" } }, - "required": [ - "depth", - "parent_thread_id" - ], + "required": ["depth", "parent_thread_id"], "type": "object" } }, - "required": [ - "thread_spawn" - ], + "required": ["thread_spawn"], "title": "ThreadSpawnSubAgentSource", "type": "object" }, @@ -1250,9 +952,7 @@ "type": "string" } }, - "required": [ - "other" - ], + "required": ["other"], "title": "OtherSubAgentSource", "type": "object" } @@ -1270,32 +970,21 @@ }, "placeholder": { "description": "Optional human-readable placeholder for the element, displayed in the UI.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "byteRange" - ], + "required": ["byteRange"], "type": "object" }, "Thread": { "properties": { "agentNickname": { "description": "Optional random unique nickname assigned to an AgentControl-spawned sub-agent.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "agentRole": { "description": "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "cliVersion": { "description": "Version of the CLI that created the thread.", @@ -1320,10 +1009,7 @@ }, "forkedFromId": { "description": "Source thread id when this thread was created by forking another thread.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gitInfo": { "anyOf": [ @@ -1345,17 +1031,11 @@ }, "name": { "description": "Optional user-facing thread title.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "path": { "description": "[UNSTABLE] Path to the thread on disk.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "preview": { "description": "Usually the first user message in the thread, if available.", @@ -1406,10 +1086,7 @@ "type": "object" }, "ThreadActiveFlag": { - "enum": [ - "waitingOnApproval", - "waitingOnUserInput" - ], + "enum": ["waitingOnApproval", "waitingOnUserInput"], "type": "string" }, "ThreadId": { @@ -1429,18 +1106,12 @@ "type": "string" }, "type": { - "enum": [ - "userMessage" - ], + "enum": ["userMessage"], "title": "UserMessageThreadItemType", "type": "string" } }, - "required": [ - "content", - "id", - "type" - ], + "required": ["content", "id", "type"], "title": "UserMessageThreadItem", "type": "object" }, @@ -1456,18 +1127,12 @@ "type": "string" }, "type": { - "enum": [ - "hookPrompt" - ], + "enum": ["hookPrompt"], "title": "HookPromptThreadItemType", "type": "string" } }, - "required": [ - "fragments", - "id", - "type" - ], + "required": ["fragments", "id", "type"], "title": "HookPromptThreadItem", "type": "object" }, @@ -1502,18 +1167,12 @@ "type": "string" }, "type": { - "enum": [ - "agentMessage" - ], + "enum": ["agentMessage"], "title": "AgentMessageThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "AgentMessageThreadItem", "type": "object" }, @@ -1527,18 +1186,12 @@ "type": "string" }, "type": { - "enum": [ - "plan" - ], + "enum": ["plan"], "title": "PlanThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "PlanThreadItem", "type": "object" }, @@ -1562,17 +1215,12 @@ "type": "array" }, "type": { - "enum": [ - "reasoning" - ], + "enum": ["reasoning"], "title": "ReasoningThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ReasoningThreadItem", "type": "object" }, @@ -1580,10 +1228,7 @@ "properties": { "aggregatedOutput": { "description": "The command's output, aggregated from stdout and stderr.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "command": { "description": "The command to be executed.", @@ -1607,28 +1252,19 @@ "durationMs": { "description": "The duration of the command execution in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "exitCode": { "description": "The command's exit code.", "format": "int32", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "processId": { "description": "Identifier for the underlying PTY process (when available).", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "source": { "allOf": [ @@ -1642,21 +1278,12 @@ "$ref": "#/definitions/CommandExecutionStatus" }, "type": { - "enum": [ - "commandExecution" - ], + "enum": ["commandExecution"], "title": "CommandExecutionThreadItemType", "type": "string" } }, - "required": [ - "command", - "commandActions", - "cwd", - "id", - "status", - "type" - ], + "required": ["command", "commandActions", "cwd", "id", "status", "type"], "title": "CommandExecutionThreadItem", "type": "object" }, @@ -1675,19 +1302,12 @@ "$ref": "#/definitions/PatchApplyStatus" }, "type": { - "enum": [ - "fileChange" - ], + "enum": ["fileChange"], "title": "FileChangeThreadItemType", "type": "string" } }, - "required": [ - "changes", - "id", - "status", - "type" - ], + "required": ["changes", "id", "status", "type"], "title": "FileChangeThreadItem", "type": "object" }, @@ -1697,10 +1317,7 @@ "durationMs": { "description": "The duration of the MCP tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -1716,10 +1333,7 @@ "type": "string" }, "mcpAppResourceUri": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "result": { "anyOf": [ @@ -1741,21 +1355,12 @@ "type": "string" }, "type": { - "enum": [ - "mcpToolCall" - ], + "enum": ["mcpToolCall"], "title": "McpToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "server", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "server", "status", "tool", "type"], "title": "McpToolCallThreadItem", "type": "object" }, @@ -1766,55 +1371,35 @@ "items": { "$ref": "#/definitions/DynamicToolCallOutputContentItem" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "durationMs": { "description": "The duration of the dynamic tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "namespace": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/DynamicToolCallStatus" }, "success": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "tool": { "type": "string" }, "type": { - "enum": [ - "dynamicToolCall" - ], + "enum": ["dynamicToolCall"], "title": "DynamicToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "status", "tool", "type"], "title": "DynamicToolCallThreadItem", "type": "object" }, @@ -1833,17 +1418,11 @@ }, "model": { "description": "Model requested for the spawned agent, when applicable.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "prompt": { "description": "Prompt text sent as part of the collab tool call, when available.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "reasoningEffort": { "anyOf": [ @@ -1884,9 +1463,7 @@ "description": "Name of the collab tool that was invoked." }, "type": { - "enum": [ - "collabAgentToolCall" - ], + "enum": ["collabAgentToolCall"], "title": "CollabAgentToolCallThreadItemType", "type": "string" } @@ -1922,18 +1499,12 @@ "type": "string" }, "type": { - "enum": [ - "webSearch" - ], + "enum": ["webSearch"], "title": "WebSearchThreadItemType", "type": "string" } }, - "required": [ - "id", - "query", - "type" - ], + "required": ["id", "query", "type"], "title": "WebSearchThreadItem", "type": "object" }, @@ -1946,18 +1517,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "imageView" - ], + "enum": ["imageView"], "title": "ImageViewThreadItemType", "type": "string" } }, - "required": [ - "id", - "path", - "type" - ], + "required": ["id", "path", "type"], "title": "ImageViewThreadItem", "type": "object" }, @@ -1970,10 +1535,7 @@ "type": "string" }, "revisedPrompt": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "savedPath": { "anyOf": [ @@ -1989,19 +1551,12 @@ "type": "string" }, "type": { - "enum": [ - "imageGeneration" - ], + "enum": ["imageGeneration"], "title": "ImageGenerationThreadItemType", "type": "string" } }, - "required": [ - "id", - "result", - "status", - "type" - ], + "required": ["id", "result", "status", "type"], "title": "ImageGenerationThreadItem", "type": "object" }, @@ -2014,18 +1569,12 @@ "type": "string" }, "type": { - "enum": [ - "enteredReviewMode" - ], + "enum": ["enteredReviewMode"], "title": "EnteredReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "EnteredReviewModeThreadItem", "type": "object" }, @@ -2038,18 +1587,12 @@ "type": "string" }, "type": { - "enum": [ - "exitedReviewMode" - ], + "enum": ["exitedReviewMode"], "title": "ExitedReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "ExitedReviewModeThreadItem", "type": "object" }, @@ -2059,17 +1602,12 @@ "type": "string" }, "type": { - "enum": [ - "contextCompaction" - ], + "enum": ["contextCompaction"], "title": "ContextCompactionThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ContextCompactionThreadItem", "type": "object" } @@ -2080,48 +1618,36 @@ { "properties": { "type": { - "enum": [ - "notLoaded" - ], + "enum": ["notLoaded"], "title": "NotLoadedThreadStatusType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "NotLoadedThreadStatus", "type": "object" }, { "properties": { "type": { - "enum": [ - "idle" - ], + "enum": ["idle"], "title": "IdleThreadStatusType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "IdleThreadStatus", "type": "object" }, { "properties": { "type": { - "enum": [ - "systemError" - ], + "enum": ["systemError"], "title": "SystemErrorThreadStatusType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "SystemErrorThreadStatus", "type": "object" }, @@ -2134,17 +1660,12 @@ "type": "array" }, "type": { - "enum": [ - "active" - ], + "enum": ["active"], "title": "ActiveThreadStatusType", "type": "string" } }, - "required": [ - "activeFlags", - "type" - ], + "required": ["activeFlags", "type"], "title": "ActiveThreadStatus", "type": "object" } @@ -2155,18 +1676,12 @@ "completedAt": { "description": "Unix timestamp (in seconds) when the turn completed.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "durationMs": { "description": "Duration between turn start and completion in milliseconds, if known.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -2192,30 +1707,20 @@ "startedAt": { "description": "Unix timestamp (in seconds) when the turn started.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "status": { "$ref": "#/definitions/TurnStatus" } }, - "required": [ - "id", - "items", - "status" - ], + "required": ["id", "items", "status"], "type": "object" }, "TurnError": { "properties": { "additionalDetails": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "codexErrorInfo": { "anyOf": [ @@ -2231,18 +1736,11 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "TurnStatus": { - "enum": [ - "completed", - "interrupted", - "failed", - "inProgress" - ], + "enum": ["completed", "interrupted", "failed", "inProgress"], "type": "string" }, "UserInput": { @@ -2261,26 +1759,19 @@ "type": "array" }, "type": { - "enum": [ - "text" - ], + "enum": ["text"], "title": "TextUserInputType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "TextUserInput", "type": "object" }, { "properties": { "type": { - "enum": [ - "image" - ], + "enum": ["image"], "title": "ImageUserInputType", "type": "string" }, @@ -2288,10 +1779,7 @@ "type": "string" } }, - "required": [ - "type", - "url" - ], + "required": ["type", "url"], "title": "ImageUserInput", "type": "object" }, @@ -2301,17 +1789,12 @@ "type": "string" }, "type": { - "enum": [ - "localImage" - ], + "enum": ["localImage"], "title": "LocalImageUserInputType", "type": "string" } }, - "required": [ - "path", - "type" - ], + "required": ["path", "type"], "title": "LocalImageUserInput", "type": "object" }, @@ -2324,18 +1807,12 @@ "type": "string" }, "type": { - "enum": [ - "skill" - ], + "enum": ["skill"], "title": "SkillUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "SkillUserInput", "type": "object" }, @@ -2348,18 +1825,12 @@ "type": "string" }, "type": { - "enum": [ - "mention" - ], + "enum": ["mention"], "title": "MentionUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "MentionUserInput", "type": "object" } @@ -2373,94 +1844,63 @@ "items": { "type": "string" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "SearchWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "openPage" - ], + "enum": ["openPage"], "title": "OpenPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OpenPageWebSearchAction", "type": "object" }, { "properties": { "pattern": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "findInPage" - ], + "enum": ["findInPage"], "title": "FindInPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "FindInPageWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "other" - ], + "enum": ["other"], "title": "OtherWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OtherWebSearchAction", "type": "object" } @@ -2551,4 +1991,4 @@ ], "title": "ThreadStartResponse", "type": "object" -} \ No newline at end of file +} diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json index 0739fa31bc4..a27f840705f 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json @@ -18,10 +18,7 @@ "type": "integer" } }, - "required": [ - "end", - "start" - ], + "required": ["end", "start"], "type": "object" }, "CodexErrorInfo": { @@ -50,18 +47,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "httpConnectionFailed" - ], + "required": ["httpConnectionFailed"], "title": "HttpConnectionFailedCodexErrorInfo", "type": "object" }, @@ -74,18 +66,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamConnectionFailed" - ], + "required": ["responseStreamConnectionFailed"], "title": "ResponseStreamConnectionFailedCodexErrorInfo", "type": "object" }, @@ -98,18 +85,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamDisconnected" - ], + "required": ["responseStreamDisconnected"], "title": "ResponseStreamDisconnectedCodexErrorInfo", "type": "object" }, @@ -122,18 +104,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseTooManyFailedAttempts" - ], + "required": ["responseTooManyFailedAttempts"], "title": "ResponseTooManyFailedAttemptsCodexErrorInfo", "type": "object" }, @@ -147,15 +124,11 @@ "$ref": "#/definitions/NonSteerableTurnKind" } }, - "required": [ - "turnKind" - ], + "required": ["turnKind"], "type": "object" } }, - "required": [ - "activeTurnNotSteerable" - ], + "required": ["activeTurnNotSteerable"], "title": "ActiveTurnNotSteerableCodexErrorInfo", "type": "object" } @@ -164,18 +137,13 @@ "CollabAgentState": { "properties": { "message": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/CollabAgentStatus" } }, - "required": [ - "status" - ], + "required": ["status"], "type": "object" }, "CollabAgentStatus": { @@ -191,21 +159,11 @@ "type": "string" }, "CollabAgentTool": { - "enum": [ - "spawnAgent", - "sendInput", - "resumeAgent", - "wait", - "closeAgent" - ], + "enum": ["spawnAgent", "sendInput", "resumeAgent", "wait", "closeAgent"], "type": "string" }, "CollabAgentToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "CommandAction": { @@ -222,19 +180,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "read" - ], + "enum": ["read"], "title": "ReadCommandActionType", "type": "string" } }, - "required": [ - "command", - "name", - "path", - "type" - ], + "required": ["command", "name", "path", "type"], "title": "ReadCommandAction", "type": "object" }, @@ -244,23 +195,15 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "listFiles" - ], + "enum": ["listFiles"], "title": "ListFilesCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "ListFilesCommandAction", "type": "object" }, @@ -270,29 +213,18 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "SearchCommandAction", "type": "object" }, @@ -302,38 +234,23 @@ "type": "string" }, "type": { - "enum": [ - "unknown" - ], + "enum": ["unknown"], "title": "UnknownCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "UnknownCommandAction", "type": "object" } ] }, "CommandExecutionSource": { - "enum": [ - "agent", - "userShell", - "unifiedExecStartup", - "unifiedExecInteraction" - ], + "enum": ["agent", "userShell", "unifiedExecStartup", "unifiedExecInteraction"], "type": "string" }, "CommandExecutionStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "DynamicToolCallOutputContentItem": { @@ -344,17 +261,12 @@ "type": "string" }, "type": { - "enum": [ - "inputText" - ], + "enum": ["inputText"], "title": "InputTextDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "InputTextDynamicToolCallOutputContentItem", "type": "object" }, @@ -364,28 +276,19 @@ "type": "string" }, "type": { - "enum": [ - "inputImage" - ], + "enum": ["inputImage"], "title": "InputImageDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "imageUrl", - "type" - ], + "required": ["imageUrl", "type"], "title": "InputImageDynamicToolCallOutputContentItem", "type": "object" } ] }, "DynamicToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "FileUpdateChange": { @@ -400,11 +303,7 @@ "type": "string" } }, - "required": [ - "diff", - "kind", - "path" - ], + "required": ["diff", "kind", "path"], "type": "object" }, "HookPromptFragment": { @@ -416,10 +315,7 @@ "type": "string" } }, - "required": [ - "hookRunId", - "text" - ], + "required": ["hookRunId", "text"], "type": "object" }, "McpToolCallError": { @@ -428,9 +324,7 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "McpToolCallResult": { @@ -442,17 +336,11 @@ }, "structuredContent": true }, - "required": [ - "content" - ], + "required": ["content"], "type": "object" }, "McpToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "MemoryCitation": { @@ -470,10 +358,7 @@ "type": "array" } }, - "required": [ - "entries", - "threadIds" - ], + "required": ["entries", "threadIds"], "type": "object" }, "MemoryCitationEntry": { @@ -495,12 +380,7 @@ "type": "string" } }, - "required": [ - "lineEnd", - "lineStart", - "note", - "path" - ], + "required": ["lineEnd", "lineStart", "note", "path"], "type": "object" }, "MessagePhase": { @@ -508,34 +388,22 @@ "oneOf": [ { "description": "Mid-turn assistant text (for example preamble/progress narration).\n\nAdditional tool calls or assistant output may follow before turn completion.", - "enum": [ - "commentary" - ], + "enum": ["commentary"], "type": "string" }, { "description": "The assistant's terminal answer text for the current turn.", - "enum": [ - "final_answer" - ], + "enum": ["final_answer"], "type": "string" } ] }, "NonSteerableTurnKind": { - "enum": [ - "review", - "compact" - ], + "enum": ["review", "compact"], "type": "string" }, "PatchApplyStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "PatchChangeKind": { @@ -543,54 +411,39 @@ { "properties": { "type": { - "enum": [ - "add" - ], + "enum": ["add"], "title": "AddPatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "AddPatchChangeKind", "type": "object" }, { "properties": { "type": { - "enum": [ - "delete" - ], + "enum": ["delete"], "title": "DeletePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "DeletePatchChangeKind", "type": "object" }, { "properties": { "move_path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "update" - ], + "enum": ["update"], "title": "UpdatePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "UpdatePatchChangeKind", "type": "object" } @@ -598,14 +451,7 @@ }, "ReasoningEffort": { "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "enum": ["none", "minimal", "low", "medium", "high", "xhigh"], "type": "string" }, "TextElement": { @@ -620,15 +466,10 @@ }, "placeholder": { "description": "Optional human-readable placeholder for the element, displayed in the UI.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "byteRange" - ], + "required": ["byteRange"], "type": "object" }, "ThreadItem": { @@ -645,18 +486,12 @@ "type": "string" }, "type": { - "enum": [ - "userMessage" - ], + "enum": ["userMessage"], "title": "UserMessageThreadItemType", "type": "string" } }, - "required": [ - "content", - "id", - "type" - ], + "required": ["content", "id", "type"], "title": "UserMessageThreadItem", "type": "object" }, @@ -672,18 +507,12 @@ "type": "string" }, "type": { - "enum": [ - "hookPrompt" - ], + "enum": ["hookPrompt"], "title": "HookPromptThreadItemType", "type": "string" } }, - "required": [ - "fragments", - "id", - "type" - ], + "required": ["fragments", "id", "type"], "title": "HookPromptThreadItem", "type": "object" }, @@ -718,18 +547,12 @@ "type": "string" }, "type": { - "enum": [ - "agentMessage" - ], + "enum": ["agentMessage"], "title": "AgentMessageThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "AgentMessageThreadItem", "type": "object" }, @@ -743,18 +566,12 @@ "type": "string" }, "type": { - "enum": [ - "plan" - ], + "enum": ["plan"], "title": "PlanThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "PlanThreadItem", "type": "object" }, @@ -778,17 +595,12 @@ "type": "array" }, "type": { - "enum": [ - "reasoning" - ], + "enum": ["reasoning"], "title": "ReasoningThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ReasoningThreadItem", "type": "object" }, @@ -796,10 +608,7 @@ "properties": { "aggregatedOutput": { "description": "The command's output, aggregated from stdout and stderr.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "command": { "description": "The command to be executed.", @@ -823,28 +632,19 @@ "durationMs": { "description": "The duration of the command execution in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "exitCode": { "description": "The command's exit code.", "format": "int32", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "processId": { "description": "Identifier for the underlying PTY process (when available).", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "source": { "allOf": [ @@ -858,21 +658,12 @@ "$ref": "#/definitions/CommandExecutionStatus" }, "type": { - "enum": [ - "commandExecution" - ], + "enum": ["commandExecution"], "title": "CommandExecutionThreadItemType", "type": "string" } }, - "required": [ - "command", - "commandActions", - "cwd", - "id", - "status", - "type" - ], + "required": ["command", "commandActions", "cwd", "id", "status", "type"], "title": "CommandExecutionThreadItem", "type": "object" }, @@ -891,19 +682,12 @@ "$ref": "#/definitions/PatchApplyStatus" }, "type": { - "enum": [ - "fileChange" - ], + "enum": ["fileChange"], "title": "FileChangeThreadItemType", "type": "string" } }, - "required": [ - "changes", - "id", - "status", - "type" - ], + "required": ["changes", "id", "status", "type"], "title": "FileChangeThreadItem", "type": "object" }, @@ -913,10 +697,7 @@ "durationMs": { "description": "The duration of the MCP tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -932,10 +713,7 @@ "type": "string" }, "mcpAppResourceUri": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "result": { "anyOf": [ @@ -957,21 +735,12 @@ "type": "string" }, "type": { - "enum": [ - "mcpToolCall" - ], + "enum": ["mcpToolCall"], "title": "McpToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "server", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "server", "status", "tool", "type"], "title": "McpToolCallThreadItem", "type": "object" }, @@ -982,55 +751,35 @@ "items": { "$ref": "#/definitions/DynamicToolCallOutputContentItem" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "durationMs": { "description": "The duration of the dynamic tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "namespace": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/DynamicToolCallStatus" }, "success": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "tool": { "type": "string" }, "type": { - "enum": [ - "dynamicToolCall" - ], + "enum": ["dynamicToolCall"], "title": "DynamicToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "status", "tool", "type"], "title": "DynamicToolCallThreadItem", "type": "object" }, @@ -1049,17 +798,11 @@ }, "model": { "description": "Model requested for the spawned agent, when applicable.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "prompt": { "description": "Prompt text sent as part of the collab tool call, when available.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "reasoningEffort": { "anyOf": [ @@ -1100,9 +843,7 @@ "description": "Name of the collab tool that was invoked." }, "type": { - "enum": [ - "collabAgentToolCall" - ], + "enum": ["collabAgentToolCall"], "title": "CollabAgentToolCallThreadItemType", "type": "string" } @@ -1138,18 +879,12 @@ "type": "string" }, "type": { - "enum": [ - "webSearch" - ], + "enum": ["webSearch"], "title": "WebSearchThreadItemType", "type": "string" } }, - "required": [ - "id", - "query", - "type" - ], + "required": ["id", "query", "type"], "title": "WebSearchThreadItem", "type": "object" }, @@ -1162,18 +897,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "imageView" - ], + "enum": ["imageView"], "title": "ImageViewThreadItemType", "type": "string" } }, - "required": [ - "id", - "path", - "type" - ], + "required": ["id", "path", "type"], "title": "ImageViewThreadItem", "type": "object" }, @@ -1186,10 +915,7 @@ "type": "string" }, "revisedPrompt": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "savedPath": { "anyOf": [ @@ -1205,19 +931,12 @@ "type": "string" }, "type": { - "enum": [ - "imageGeneration" - ], + "enum": ["imageGeneration"], "title": "ImageGenerationThreadItemType", "type": "string" } }, - "required": [ - "id", - "result", - "status", - "type" - ], + "required": ["id", "result", "status", "type"], "title": "ImageGenerationThreadItem", "type": "object" }, @@ -1230,18 +949,12 @@ "type": "string" }, "type": { - "enum": [ - "enteredReviewMode" - ], + "enum": ["enteredReviewMode"], "title": "EnteredReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "EnteredReviewModeThreadItem", "type": "object" }, @@ -1254,18 +967,12 @@ "type": "string" }, "type": { - "enum": [ - "exitedReviewMode" - ], + "enum": ["exitedReviewMode"], "title": "ExitedReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "ExitedReviewModeThreadItem", "type": "object" }, @@ -1275,17 +982,12 @@ "type": "string" }, "type": { - "enum": [ - "contextCompaction" - ], + "enum": ["contextCompaction"], "title": "ContextCompactionThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ContextCompactionThreadItem", "type": "object" } @@ -1296,18 +998,12 @@ "completedAt": { "description": "Unix timestamp (in seconds) when the turn completed.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "durationMs": { "description": "Duration between turn start and completion in milliseconds, if known.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -1333,30 +1029,20 @@ "startedAt": { "description": "Unix timestamp (in seconds) when the turn started.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "status": { "$ref": "#/definitions/TurnStatus" } }, - "required": [ - "id", - "items", - "status" - ], + "required": ["id", "items", "status"], "type": "object" }, "TurnError": { "properties": { "additionalDetails": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "codexErrorInfo": { "anyOf": [ @@ -1372,18 +1058,11 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "TurnStatus": { - "enum": [ - "completed", - "interrupted", - "failed", - "inProgress" - ], + "enum": ["completed", "interrupted", "failed", "inProgress"], "type": "string" }, "UserInput": { @@ -1402,26 +1081,19 @@ "type": "array" }, "type": { - "enum": [ - "text" - ], + "enum": ["text"], "title": "TextUserInputType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "TextUserInput", "type": "object" }, { "properties": { "type": { - "enum": [ - "image" - ], + "enum": ["image"], "title": "ImageUserInputType", "type": "string" }, @@ -1429,10 +1101,7 @@ "type": "string" } }, - "required": [ - "type", - "url" - ], + "required": ["type", "url"], "title": "ImageUserInput", "type": "object" }, @@ -1442,17 +1111,12 @@ "type": "string" }, "type": { - "enum": [ - "localImage" - ], + "enum": ["localImage"], "title": "LocalImageUserInputType", "type": "string" } }, - "required": [ - "path", - "type" - ], + "required": ["path", "type"], "title": "LocalImageUserInput", "type": "object" }, @@ -1465,18 +1129,12 @@ "type": "string" }, "type": { - "enum": [ - "skill" - ], + "enum": ["skill"], "title": "SkillUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "SkillUserInput", "type": "object" }, @@ -1489,18 +1147,12 @@ "type": "string" }, "type": { - "enum": [ - "mention" - ], + "enum": ["mention"], "title": "MentionUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "MentionUserInput", "type": "object" } @@ -1514,94 +1166,63 @@ "items": { "type": "string" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "SearchWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "openPage" - ], + "enum": ["openPage"], "title": "OpenPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OpenPageWebSearchAction", "type": "object" }, { "properties": { "pattern": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "findInPage" - ], + "enum": ["findInPage"], "title": "FindInPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "FindInPageWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "other" - ], + "enum": ["other"], "title": "OtherWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OtherWebSearchAction", "type": "object" } @@ -1616,10 +1237,7 @@ "$ref": "#/definitions/Turn" } }, - "required": [ - "threadId", - "turn" - ], + "required": ["threadId", "turn"], "title": "TurnCompletedNotification", "type": "object" -} \ No newline at end of file +} diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json index bc5917ef15a..d568a32ecc5 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json @@ -18,10 +18,7 @@ "type": "integer" } }, - "required": [ - "end", - "start" - ], + "required": ["end", "start"], "type": "object" }, "CodexErrorInfo": { @@ -50,18 +47,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "httpConnectionFailed" - ], + "required": ["httpConnectionFailed"], "title": "HttpConnectionFailedCodexErrorInfo", "type": "object" }, @@ -74,18 +66,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamConnectionFailed" - ], + "required": ["responseStreamConnectionFailed"], "title": "ResponseStreamConnectionFailedCodexErrorInfo", "type": "object" }, @@ -98,18 +85,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseStreamDisconnected" - ], + "required": ["responseStreamDisconnected"], "title": "ResponseStreamDisconnectedCodexErrorInfo", "type": "object" }, @@ -122,18 +104,13 @@ "httpStatusCode": { "format": "uint16", "minimum": 0.0, - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] } }, "type": "object" } }, - "required": [ - "responseTooManyFailedAttempts" - ], + "required": ["responseTooManyFailedAttempts"], "title": "ResponseTooManyFailedAttemptsCodexErrorInfo", "type": "object" }, @@ -147,15 +124,11 @@ "$ref": "#/definitions/NonSteerableTurnKind" } }, - "required": [ - "turnKind" - ], + "required": ["turnKind"], "type": "object" } }, - "required": [ - "activeTurnNotSteerable" - ], + "required": ["activeTurnNotSteerable"], "title": "ActiveTurnNotSteerableCodexErrorInfo", "type": "object" } @@ -164,18 +137,13 @@ "CollabAgentState": { "properties": { "message": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/CollabAgentStatus" } }, - "required": [ - "status" - ], + "required": ["status"], "type": "object" }, "CollabAgentStatus": { @@ -191,21 +159,11 @@ "type": "string" }, "CollabAgentTool": { - "enum": [ - "spawnAgent", - "sendInput", - "resumeAgent", - "wait", - "closeAgent" - ], + "enum": ["spawnAgent", "sendInput", "resumeAgent", "wait", "closeAgent"], "type": "string" }, "CollabAgentToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "CommandAction": { @@ -222,19 +180,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "read" - ], + "enum": ["read"], "title": "ReadCommandActionType", "type": "string" } }, - "required": [ - "command", - "name", - "path", - "type" - ], + "required": ["command", "name", "path", "type"], "title": "ReadCommandAction", "type": "object" }, @@ -244,23 +195,15 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "listFiles" - ], + "enum": ["listFiles"], "title": "ListFilesCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "ListFilesCommandAction", "type": "object" }, @@ -270,29 +213,18 @@ "type": "string" }, "path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "SearchCommandAction", "type": "object" }, @@ -302,38 +234,23 @@ "type": "string" }, "type": { - "enum": [ - "unknown" - ], + "enum": ["unknown"], "title": "UnknownCommandActionType", "type": "string" } }, - "required": [ - "command", - "type" - ], + "required": ["command", "type"], "title": "UnknownCommandAction", "type": "object" } ] }, "CommandExecutionSource": { - "enum": [ - "agent", - "userShell", - "unifiedExecStartup", - "unifiedExecInteraction" - ], + "enum": ["agent", "userShell", "unifiedExecStartup", "unifiedExecInteraction"], "type": "string" }, "CommandExecutionStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "DynamicToolCallOutputContentItem": { @@ -344,17 +261,12 @@ "type": "string" }, "type": { - "enum": [ - "inputText" - ], + "enum": ["inputText"], "title": "InputTextDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "InputTextDynamicToolCallOutputContentItem", "type": "object" }, @@ -364,28 +276,19 @@ "type": "string" }, "type": { - "enum": [ - "inputImage" - ], + "enum": ["inputImage"], "title": "InputImageDynamicToolCallOutputContentItemType", "type": "string" } }, - "required": [ - "imageUrl", - "type" - ], + "required": ["imageUrl", "type"], "title": "InputImageDynamicToolCallOutputContentItem", "type": "object" } ] }, "DynamicToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "FileUpdateChange": { @@ -400,11 +303,7 @@ "type": "string" } }, - "required": [ - "diff", - "kind", - "path" - ], + "required": ["diff", "kind", "path"], "type": "object" }, "HookPromptFragment": { @@ -416,10 +315,7 @@ "type": "string" } }, - "required": [ - "hookRunId", - "text" - ], + "required": ["hookRunId", "text"], "type": "object" }, "McpToolCallError": { @@ -428,9 +324,7 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "McpToolCallResult": { @@ -442,17 +336,11 @@ }, "structuredContent": true }, - "required": [ - "content" - ], + "required": ["content"], "type": "object" }, "McpToolCallStatus": { - "enum": [ - "inProgress", - "completed", - "failed" - ], + "enum": ["inProgress", "completed", "failed"], "type": "string" }, "MemoryCitation": { @@ -470,10 +358,7 @@ "type": "array" } }, - "required": [ - "entries", - "threadIds" - ], + "required": ["entries", "threadIds"], "type": "object" }, "MemoryCitationEntry": { @@ -495,12 +380,7 @@ "type": "string" } }, - "required": [ - "lineEnd", - "lineStart", - "note", - "path" - ], + "required": ["lineEnd", "lineStart", "note", "path"], "type": "object" }, "MessagePhase": { @@ -508,34 +388,22 @@ "oneOf": [ { "description": "Mid-turn assistant text (for example preamble/progress narration).\n\nAdditional tool calls or assistant output may follow before turn completion.", - "enum": [ - "commentary" - ], + "enum": ["commentary"], "type": "string" }, { "description": "The assistant's terminal answer text for the current turn.", - "enum": [ - "final_answer" - ], + "enum": ["final_answer"], "type": "string" } ] }, "NonSteerableTurnKind": { - "enum": [ - "review", - "compact" - ], + "enum": ["review", "compact"], "type": "string" }, "PatchApplyStatus": { - "enum": [ - "inProgress", - "completed", - "failed", - "declined" - ], + "enum": ["inProgress", "completed", "failed", "declined"], "type": "string" }, "PatchChangeKind": { @@ -543,54 +411,39 @@ { "properties": { "type": { - "enum": [ - "add" - ], + "enum": ["add"], "title": "AddPatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "AddPatchChangeKind", "type": "object" }, { "properties": { "type": { - "enum": [ - "delete" - ], + "enum": ["delete"], "title": "DeletePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "DeletePatchChangeKind", "type": "object" }, { "properties": { "move_path": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "update" - ], + "enum": ["update"], "title": "UpdatePatchChangeKindType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "UpdatePatchChangeKind", "type": "object" } @@ -598,14 +451,7 @@ }, "ReasoningEffort": { "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "enum": ["none", "minimal", "low", "medium", "high", "xhigh"], "type": "string" }, "TextElement": { @@ -620,15 +466,10 @@ }, "placeholder": { "description": "Optional human-readable placeholder for the element, displayed in the UI.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "byteRange" - ], + "required": ["byteRange"], "type": "object" }, "ThreadItem": { @@ -645,18 +486,12 @@ "type": "string" }, "type": { - "enum": [ - "userMessage" - ], + "enum": ["userMessage"], "title": "UserMessageThreadItemType", "type": "string" } }, - "required": [ - "content", - "id", - "type" - ], + "required": ["content", "id", "type"], "title": "UserMessageThreadItem", "type": "object" }, @@ -672,18 +507,12 @@ "type": "string" }, "type": { - "enum": [ - "hookPrompt" - ], + "enum": ["hookPrompt"], "title": "HookPromptThreadItemType", "type": "string" } }, - "required": [ - "fragments", - "id", - "type" - ], + "required": ["fragments", "id", "type"], "title": "HookPromptThreadItem", "type": "object" }, @@ -718,18 +547,12 @@ "type": "string" }, "type": { - "enum": [ - "agentMessage" - ], + "enum": ["agentMessage"], "title": "AgentMessageThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "AgentMessageThreadItem", "type": "object" }, @@ -743,18 +566,12 @@ "type": "string" }, "type": { - "enum": [ - "plan" - ], + "enum": ["plan"], "title": "PlanThreadItemType", "type": "string" } }, - "required": [ - "id", - "text", - "type" - ], + "required": ["id", "text", "type"], "title": "PlanThreadItem", "type": "object" }, @@ -778,17 +595,12 @@ "type": "array" }, "type": { - "enum": [ - "reasoning" - ], + "enum": ["reasoning"], "title": "ReasoningThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ReasoningThreadItem", "type": "object" }, @@ -796,10 +608,7 @@ "properties": { "aggregatedOutput": { "description": "The command's output, aggregated from stdout and stderr.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "command": { "description": "The command to be executed.", @@ -823,28 +632,19 @@ "durationMs": { "description": "The duration of the command execution in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "exitCode": { "description": "The command's exit code.", "format": "int32", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "processId": { "description": "Identifier for the underlying PTY process (when available).", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "source": { "allOf": [ @@ -858,21 +658,12 @@ "$ref": "#/definitions/CommandExecutionStatus" }, "type": { - "enum": [ - "commandExecution" - ], + "enum": ["commandExecution"], "title": "CommandExecutionThreadItemType", "type": "string" } }, - "required": [ - "command", - "commandActions", - "cwd", - "id", - "status", - "type" - ], + "required": ["command", "commandActions", "cwd", "id", "status", "type"], "title": "CommandExecutionThreadItem", "type": "object" }, @@ -891,19 +682,12 @@ "$ref": "#/definitions/PatchApplyStatus" }, "type": { - "enum": [ - "fileChange" - ], + "enum": ["fileChange"], "title": "FileChangeThreadItemType", "type": "string" } }, - "required": [ - "changes", - "id", - "status", - "type" - ], + "required": ["changes", "id", "status", "type"], "title": "FileChangeThreadItem", "type": "object" }, @@ -913,10 +697,7 @@ "durationMs": { "description": "The duration of the MCP tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -932,10 +713,7 @@ "type": "string" }, "mcpAppResourceUri": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "result": { "anyOf": [ @@ -957,21 +735,12 @@ "type": "string" }, "type": { - "enum": [ - "mcpToolCall" - ], + "enum": ["mcpToolCall"], "title": "McpToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "server", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "server", "status", "tool", "type"], "title": "McpToolCallThreadItem", "type": "object" }, @@ -982,55 +751,35 @@ "items": { "$ref": "#/definitions/DynamicToolCallOutputContentItem" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "durationMs": { "description": "The duration of the dynamic tool call in milliseconds.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "id": { "type": "string" }, "namespace": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "$ref": "#/definitions/DynamicToolCallStatus" }, "success": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "tool": { "type": "string" }, "type": { - "enum": [ - "dynamicToolCall" - ], + "enum": ["dynamicToolCall"], "title": "DynamicToolCallThreadItemType", "type": "string" } }, - "required": [ - "arguments", - "id", - "status", - "tool", - "type" - ], + "required": ["arguments", "id", "status", "tool", "type"], "title": "DynamicToolCallThreadItem", "type": "object" }, @@ -1049,17 +798,11 @@ }, "model": { "description": "Model requested for the spawned agent, when applicable.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "prompt": { "description": "Prompt text sent as part of the collab tool call, when available.", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "reasoningEffort": { "anyOf": [ @@ -1100,9 +843,7 @@ "description": "Name of the collab tool that was invoked." }, "type": { - "enum": [ - "collabAgentToolCall" - ], + "enum": ["collabAgentToolCall"], "title": "CollabAgentToolCallThreadItemType", "type": "string" } @@ -1138,18 +879,12 @@ "type": "string" }, "type": { - "enum": [ - "webSearch" - ], + "enum": ["webSearch"], "title": "WebSearchThreadItemType", "type": "string" } }, - "required": [ - "id", - "query", - "type" - ], + "required": ["id", "query", "type"], "title": "WebSearchThreadItem", "type": "object" }, @@ -1162,18 +897,12 @@ "$ref": "#/definitions/AbsolutePathBuf" }, "type": { - "enum": [ - "imageView" - ], + "enum": ["imageView"], "title": "ImageViewThreadItemType", "type": "string" } }, - "required": [ - "id", - "path", - "type" - ], + "required": ["id", "path", "type"], "title": "ImageViewThreadItem", "type": "object" }, @@ -1186,10 +915,7 @@ "type": "string" }, "revisedPrompt": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "savedPath": { "anyOf": [ @@ -1205,19 +931,12 @@ "type": "string" }, "type": { - "enum": [ - "imageGeneration" - ], + "enum": ["imageGeneration"], "title": "ImageGenerationThreadItemType", "type": "string" } }, - "required": [ - "id", - "result", - "status", - "type" - ], + "required": ["id", "result", "status", "type"], "title": "ImageGenerationThreadItem", "type": "object" }, @@ -1230,18 +949,12 @@ "type": "string" }, "type": { - "enum": [ - "enteredReviewMode" - ], + "enum": ["enteredReviewMode"], "title": "EnteredReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "EnteredReviewModeThreadItem", "type": "object" }, @@ -1254,18 +967,12 @@ "type": "string" }, "type": { - "enum": [ - "exitedReviewMode" - ], + "enum": ["exitedReviewMode"], "title": "ExitedReviewModeThreadItemType", "type": "string" } }, - "required": [ - "id", - "review", - "type" - ], + "required": ["id", "review", "type"], "title": "ExitedReviewModeThreadItem", "type": "object" }, @@ -1275,17 +982,12 @@ "type": "string" }, "type": { - "enum": [ - "contextCompaction" - ], + "enum": ["contextCompaction"], "title": "ContextCompactionThreadItemType", "type": "string" } }, - "required": [ - "id", - "type" - ], + "required": ["id", "type"], "title": "ContextCompactionThreadItem", "type": "object" } @@ -1296,18 +998,12 @@ "completedAt": { "description": "Unix timestamp (in seconds) when the turn completed.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "durationMs": { "description": "Duration between turn start and completion in milliseconds, if known.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "error": { "anyOf": [ @@ -1333,30 +1029,20 @@ "startedAt": { "description": "Unix timestamp (in seconds) when the turn started.", "format": "int64", - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "status": { "$ref": "#/definitions/TurnStatus" } }, - "required": [ - "id", - "items", - "status" - ], + "required": ["id", "items", "status"], "type": "object" }, "TurnError": { "properties": { "additionalDetails": { "default": null, - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "codexErrorInfo": { "anyOf": [ @@ -1372,18 +1058,11 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "TurnStatus": { - "enum": [ - "completed", - "interrupted", - "failed", - "inProgress" - ], + "enum": ["completed", "interrupted", "failed", "inProgress"], "type": "string" }, "UserInput": { @@ -1402,26 +1081,19 @@ "type": "array" }, "type": { - "enum": [ - "text" - ], + "enum": ["text"], "title": "TextUserInputType", "type": "string" } }, - "required": [ - "text", - "type" - ], + "required": ["text", "type"], "title": "TextUserInput", "type": "object" }, { "properties": { "type": { - "enum": [ - "image" - ], + "enum": ["image"], "title": "ImageUserInputType", "type": "string" }, @@ -1429,10 +1101,7 @@ "type": "string" } }, - "required": [ - "type", - "url" - ], + "required": ["type", "url"], "title": "ImageUserInput", "type": "object" }, @@ -1442,17 +1111,12 @@ "type": "string" }, "type": { - "enum": [ - "localImage" - ], + "enum": ["localImage"], "title": "LocalImageUserInputType", "type": "string" } }, - "required": [ - "path", - "type" - ], + "required": ["path", "type"], "title": "LocalImageUserInput", "type": "object" }, @@ -1465,18 +1129,12 @@ "type": "string" }, "type": { - "enum": [ - "skill" - ], + "enum": ["skill"], "title": "SkillUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "SkillUserInput", "type": "object" }, @@ -1489,18 +1147,12 @@ "type": "string" }, "type": { - "enum": [ - "mention" - ], + "enum": ["mention"], "title": "MentionUserInputType", "type": "string" } }, - "required": [ - "name", - "path", - "type" - ], + "required": ["name", "path", "type"], "title": "MentionUserInput", "type": "object" } @@ -1514,94 +1166,63 @@ "items": { "type": "string" }, - "type": [ - "array", - "null" - ] + "type": ["array", "null"] }, "query": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "search" - ], + "enum": ["search"], "title": "SearchWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "SearchWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "openPage" - ], + "enum": ["openPage"], "title": "OpenPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OpenPageWebSearchAction", "type": "object" }, { "properties": { "pattern": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "type": { - "enum": [ - "findInPage" - ], + "enum": ["findInPage"], "title": "FindInPageWebSearchActionType", "type": "string" }, "url": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "type" - ], + "required": ["type"], "title": "FindInPageWebSearchAction", "type": "object" }, { "properties": { "type": { - "enum": [ - "other" - ], + "enum": ["other"], "title": "OtherWebSearchActionType", "type": "string" } }, - "required": [ - "type" - ], + "required": ["type"], "title": "OtherWebSearchAction", "type": "object" } @@ -1613,9 +1234,7 @@ "$ref": "#/definitions/Turn" } }, - "required": [ - "turn" - ], + "required": ["turn"], "title": "TurnStartResponse", "type": "object" -} \ No newline at end of file +} diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalParams.ts index f927682f052..0dd4959f95c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalParams.ts @@ -4,18 +4,21 @@ import type { FileChange } from "./FileChange.js"; import type { ThreadId } from "./ThreadId.js"; -export type ApplyPatchApprovalParams = { conversationId: ThreadId, -/** - * Use to correlate this with [codex_protocol::protocol::PatchApplyBeginEvent] - * and [codex_protocol::protocol::PatchApplyEndEvent]. - */ -callId: string, fileChanges: { [key in string]?: FileChange }, -/** - * Optional explanatory reason (e.g. request for extra write access). - */ -reason: string | null, -/** - * When set, the agent is asking the user to allow writes under this root - * for the remainder of the session (unclear if this is honored today). - */ -grantRoot: string | null, }; +export type ApplyPatchApprovalParams = { + conversationId: ThreadId; + /** + * Use to correlate this with [codex_protocol::protocol::PatchApplyBeginEvent] + * and [codex_protocol::protocol::PatchApplyEndEvent]. + */ + callId: string; + fileChanges: { [key in string]?: FileChange }; + /** + * Optional explanatory reason (e.g. request for extra write access). + */ + reason: string | null; + /** + * When set, the agent is asking the user to allow writes under this root + * for the remainder of the session (unclear if this is honored today). + */ + grantRoot: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalResponse.ts index 2dcc02ab635..4977876d966 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ApplyPatchApprovalResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ReviewDecision } from "./ReviewDecision.js"; -export type ApplyPatchApprovalResponse = { decision: ReviewDecision, }; +export type ApplyPatchApprovalResponse = { decision: ReviewDecision }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ClientInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ClientInfo.ts index 33339b6b20f..b3871d69067 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ClientInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ClientInfo.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ClientInfo = { name: string, title: string | null, version: string, }; +export type ClientInfo = { name: string; title: string | null; version: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ClientNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ClientNotification.ts index 8ce2839108a..814c9de78da 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ClientNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ClientNotification.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ClientNotification = { "method": "initialized" }; +export type ClientNotification = { method: "initialized" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ClientRequest.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ClientRequest.ts index 2b77f40c8bb..98b13802b9c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ClientRequest.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ClientRequest.ts @@ -76,4 +76,90 @@ import type { WindowsSandboxSetupStartParams } from "./v2/WindowsSandboxSetupSta /** * Request from the client to the server. */ -export type ClientRequest ={ "method": "initialize", id: RequestId, params: InitializeParams, } | { "method": "thread/start", id: RequestId, params: ThreadStartParams, } | { "method": "thread/resume", id: RequestId, params: ThreadResumeParams, } | { "method": "thread/fork", id: RequestId, params: ThreadForkParams, } | { "method": "thread/archive", id: RequestId, params: ThreadArchiveParams, } | { "method": "thread/unsubscribe", id: RequestId, params: ThreadUnsubscribeParams, } | { "method": "thread/name/set", id: RequestId, params: ThreadSetNameParams, } | { "method": "thread/metadata/update", id: RequestId, params: ThreadMetadataUpdateParams, } | { "method": "thread/unarchive", id: RequestId, params: ThreadUnarchiveParams, } | { "method": "thread/compact/start", id: RequestId, params: ThreadCompactStartParams, } | { "method": "thread/shellCommand", id: RequestId, params: ThreadShellCommandParams, } | { "method": "thread/approveGuardianDeniedAction", id: RequestId, params: ThreadApproveGuardianDeniedActionParams, } | { "method": "thread/rollback", id: RequestId, params: ThreadRollbackParams, } | { "method": "thread/list", id: RequestId, params: ThreadListParams, } | { "method": "thread/loaded/list", id: RequestId, params: ThreadLoadedListParams, } | { "method": "thread/read", id: RequestId, params: ThreadReadParams, } | { "method": "thread/turns/list", id: RequestId, params: ThreadTurnsListParams, } | { "method": "thread/inject_items", id: RequestId, params: ThreadInjectItemsParams, } | { "method": "skills/list", id: RequestId, params: SkillsListParams, } | { "method": "marketplace/add", id: RequestId, params: MarketplaceAddParams, } | { "method": "marketplace/remove", id: RequestId, params: MarketplaceRemoveParams, } | { "method": "marketplace/upgrade", id: RequestId, params: MarketplaceUpgradeParams, } | { "method": "plugin/list", id: RequestId, params: PluginListParams, } | { "method": "plugin/read", id: RequestId, params: PluginReadParams, } | { "method": "app/list", id: RequestId, params: AppsListParams, } | { "method": "device/key/create", id: RequestId, params: DeviceKeyCreateParams, } | { "method": "device/key/public", id: RequestId, params: DeviceKeyPublicParams, } | { "method": "device/key/sign", id: RequestId, params: DeviceKeySignParams, } | { "method": "fs/readFile", id: RequestId, params: FsReadFileParams, } | { "method": "fs/writeFile", id: RequestId, params: FsWriteFileParams, } | { "method": "fs/createDirectory", id: RequestId, params: FsCreateDirectoryParams, } | { "method": "fs/getMetadata", id: RequestId, params: FsGetMetadataParams, } | { "method": "fs/readDirectory", id: RequestId, params: FsReadDirectoryParams, } | { "method": "fs/remove", id: RequestId, params: FsRemoveParams, } | { "method": "fs/copy", id: RequestId, params: FsCopyParams, } | { "method": "fs/watch", id: RequestId, params: FsWatchParams, } | { "method": "fs/unwatch", id: RequestId, params: FsUnwatchParams, } | { "method": "skills/config/write", id: RequestId, params: SkillsConfigWriteParams, } | { "method": "plugin/install", id: RequestId, params: PluginInstallParams, } | { "method": "plugin/uninstall", id: RequestId, params: PluginUninstallParams, } | { "method": "turn/start", id: RequestId, params: TurnStartParams, } | { "method": "turn/steer", id: RequestId, params: TurnSteerParams, } | { "method": "turn/interrupt", id: RequestId, params: TurnInterruptParams, } | { "method": "review/start", id: RequestId, params: ReviewStartParams, } | { "method": "model/list", id: RequestId, params: ModelListParams, } | { "method": "experimentalFeature/list", id: RequestId, params: ExperimentalFeatureListParams, } | { "method": "experimentalFeature/enablement/set", id: RequestId, params: ExperimentalFeatureEnablementSetParams, } | { "method": "mcpServer/oauth/login", id: RequestId, params: McpServerOauthLoginParams, } | { "method": "config/mcpServer/reload", id: RequestId, params: undefined, } | { "method": "mcpServerStatus/list", id: RequestId, params: ListMcpServerStatusParams, } | { "method": "mcpServer/resource/read", id: RequestId, params: McpResourceReadParams, } | { "method": "mcpServer/tool/call", id: RequestId, params: McpServerToolCallParams, } | { "method": "windowsSandbox/setupStart", id: RequestId, params: WindowsSandboxSetupStartParams, } | { "method": "account/login/start", id: RequestId, params: LoginAccountParams, } | { "method": "account/login/cancel", id: RequestId, params: CancelLoginAccountParams, } | { "method": "account/logout", id: RequestId, params: undefined, } | { "method": "account/rateLimits/read", id: RequestId, params: undefined, } | { "method": "account/sendAddCreditsNudgeEmail", id: RequestId, params: SendAddCreditsNudgeEmailParams, } | { "method": "feedback/upload", id: RequestId, params: FeedbackUploadParams, } | { "method": "command/exec", id: RequestId, params: CommandExecParams, } | { "method": "command/exec/write", id: RequestId, params: CommandExecWriteParams, } | { "method": "command/exec/terminate", id: RequestId, params: CommandExecTerminateParams, } | { "method": "command/exec/resize", id: RequestId, params: CommandExecResizeParams, } | { "method": "config/read", id: RequestId, params: ConfigReadParams, } | { "method": "externalAgentConfig/detect", id: RequestId, params: ExternalAgentConfigDetectParams, } | { "method": "externalAgentConfig/import", id: RequestId, params: ExternalAgentConfigImportParams, } | { "method": "config/value/write", id: RequestId, params: ConfigValueWriteParams, } | { "method": "config/batchWrite", id: RequestId, params: ConfigBatchWriteParams, } | { "method": "configRequirements/read", id: RequestId, params: undefined, } | { "method": "account/read", id: RequestId, params: GetAccountParams, } | { "method": "getConversationSummary", id: RequestId, params: GetConversationSummaryParams, } | { "method": "gitDiffToRemote", id: RequestId, params: GitDiffToRemoteParams, } | { "method": "getAuthStatus", id: RequestId, params: GetAuthStatusParams, } | { "method": "fuzzyFileSearch", id: RequestId, params: FuzzyFileSearchParams, }; +export type ClientRequest = + | { method: "initialize"; id: RequestId; params: InitializeParams } + | { method: "thread/start"; id: RequestId; params: ThreadStartParams } + | { method: "thread/resume"; id: RequestId; params: ThreadResumeParams } + | { method: "thread/fork"; id: RequestId; params: ThreadForkParams } + | { method: "thread/archive"; id: RequestId; params: ThreadArchiveParams } + | { method: "thread/unsubscribe"; id: RequestId; params: ThreadUnsubscribeParams } + | { method: "thread/name/set"; id: RequestId; params: ThreadSetNameParams } + | { method: "thread/metadata/update"; id: RequestId; params: ThreadMetadataUpdateParams } + | { method: "thread/unarchive"; id: RequestId; params: ThreadUnarchiveParams } + | { method: "thread/compact/start"; id: RequestId; params: ThreadCompactStartParams } + | { method: "thread/shellCommand"; id: RequestId; params: ThreadShellCommandParams } + | { + method: "thread/approveGuardianDeniedAction"; + id: RequestId; + params: ThreadApproveGuardianDeniedActionParams; + } + | { method: "thread/rollback"; id: RequestId; params: ThreadRollbackParams } + | { method: "thread/list"; id: RequestId; params: ThreadListParams } + | { method: "thread/loaded/list"; id: RequestId; params: ThreadLoadedListParams } + | { method: "thread/read"; id: RequestId; params: ThreadReadParams } + | { method: "thread/turns/list"; id: RequestId; params: ThreadTurnsListParams } + | { method: "thread/inject_items"; id: RequestId; params: ThreadInjectItemsParams } + | { method: "skills/list"; id: RequestId; params: SkillsListParams } + | { method: "marketplace/add"; id: RequestId; params: MarketplaceAddParams } + | { method: "marketplace/remove"; id: RequestId; params: MarketplaceRemoveParams } + | { method: "marketplace/upgrade"; id: RequestId; params: MarketplaceUpgradeParams } + | { method: "plugin/list"; id: RequestId; params: PluginListParams } + | { method: "plugin/read"; id: RequestId; params: PluginReadParams } + | { method: "app/list"; id: RequestId; params: AppsListParams } + | { method: "device/key/create"; id: RequestId; params: DeviceKeyCreateParams } + | { method: "device/key/public"; id: RequestId; params: DeviceKeyPublicParams } + | { method: "device/key/sign"; id: RequestId; params: DeviceKeySignParams } + | { method: "fs/readFile"; id: RequestId; params: FsReadFileParams } + | { method: "fs/writeFile"; id: RequestId; params: FsWriteFileParams } + | { method: "fs/createDirectory"; id: RequestId; params: FsCreateDirectoryParams } + | { method: "fs/getMetadata"; id: RequestId; params: FsGetMetadataParams } + | { method: "fs/readDirectory"; id: RequestId; params: FsReadDirectoryParams } + | { method: "fs/remove"; id: RequestId; params: FsRemoveParams } + | { method: "fs/copy"; id: RequestId; params: FsCopyParams } + | { method: "fs/watch"; id: RequestId; params: FsWatchParams } + | { method: "fs/unwatch"; id: RequestId; params: FsUnwatchParams } + | { method: "skills/config/write"; id: RequestId; params: SkillsConfigWriteParams } + | { method: "plugin/install"; id: RequestId; params: PluginInstallParams } + | { method: "plugin/uninstall"; id: RequestId; params: PluginUninstallParams } + | { method: "turn/start"; id: RequestId; params: TurnStartParams } + | { method: "turn/steer"; id: RequestId; params: TurnSteerParams } + | { method: "turn/interrupt"; id: RequestId; params: TurnInterruptParams } + | { method: "review/start"; id: RequestId; params: ReviewStartParams } + | { method: "model/list"; id: RequestId; params: ModelListParams } + | { method: "experimentalFeature/list"; id: RequestId; params: ExperimentalFeatureListParams } + | { + method: "experimentalFeature/enablement/set"; + id: RequestId; + params: ExperimentalFeatureEnablementSetParams; + } + | { method: "mcpServer/oauth/login"; id: RequestId; params: McpServerOauthLoginParams } + | { method: "config/mcpServer/reload"; id: RequestId; params: undefined } + | { method: "mcpServerStatus/list"; id: RequestId; params: ListMcpServerStatusParams } + | { method: "mcpServer/resource/read"; id: RequestId; params: McpResourceReadParams } + | { method: "mcpServer/tool/call"; id: RequestId; params: McpServerToolCallParams } + | { method: "windowsSandbox/setupStart"; id: RequestId; params: WindowsSandboxSetupStartParams } + | { method: "account/login/start"; id: RequestId; params: LoginAccountParams } + | { method: "account/login/cancel"; id: RequestId; params: CancelLoginAccountParams } + | { method: "account/logout"; id: RequestId; params: undefined } + | { method: "account/rateLimits/read"; id: RequestId; params: undefined } + | { + method: "account/sendAddCreditsNudgeEmail"; + id: RequestId; + params: SendAddCreditsNudgeEmailParams; + } + | { method: "feedback/upload"; id: RequestId; params: FeedbackUploadParams } + | { method: "command/exec"; id: RequestId; params: CommandExecParams } + | { method: "command/exec/write"; id: RequestId; params: CommandExecWriteParams } + | { method: "command/exec/terminate"; id: RequestId; params: CommandExecTerminateParams } + | { method: "command/exec/resize"; id: RequestId; params: CommandExecResizeParams } + | { method: "config/read"; id: RequestId; params: ConfigReadParams } + | { method: "externalAgentConfig/detect"; id: RequestId; params: ExternalAgentConfigDetectParams } + | { method: "externalAgentConfig/import"; id: RequestId; params: ExternalAgentConfigImportParams } + | { method: "config/value/write"; id: RequestId; params: ConfigValueWriteParams } + | { method: "config/batchWrite"; id: RequestId; params: ConfigBatchWriteParams } + | { method: "configRequirements/read"; id: RequestId; params: undefined } + | { method: "account/read"; id: RequestId; params: GetAccountParams } + | { method: "getConversationSummary"; id: RequestId; params: GetConversationSummaryParams } + | { method: "gitDiffToRemote"; id: RequestId; params: GitDiffToRemoteParams } + | { method: "getAuthStatus"; id: RequestId; params: GetAuthStatusParams } + | { method: "fuzzyFileSearch"; id: RequestId; params: FuzzyFileSearchParams }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/CollaborationMode.ts b/extensions/codex/src/app-server/protocol-generated/typescript/CollaborationMode.ts index 54aa2267c6b..42ed1899432 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/CollaborationMode.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/CollaborationMode.ts @@ -7,4 +7,4 @@ import type { Settings } from "./Settings.js"; /** * Collaboration mode for a Codex session. */ -export type CollaborationMode = { mode: ModeKind, settings: Settings, }; +export type CollaborationMode = { mode: ModeKind; settings: Settings }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ContentItem.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ContentItem.ts index ae999b6236c..955e3a65264 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ContentItem.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ContentItem.ts @@ -3,4 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ImageDetail } from "./ImageDetail.js"; -export type ContentItem = { "type": "input_text", text: string, } | { "type": "input_image", image_url: string, detail?: ImageDetail, } | { "type": "output_text", text: string, }; +export type ContentItem = + | { type: "input_text"; text: string } + | { type: "input_image"; image_url: string; detail?: ImageDetail } + | { type: "output_text"; text: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ConversationGitInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ConversationGitInfo.ts index ff0da8383a7..87156451e03 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ConversationGitInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ConversationGitInfo.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ConversationGitInfo = { sha: string | null, branch: string | null, origin_url: string | null, }; +export type ConversationGitInfo = { + sha: string | null; + branch: string | null; + origin_url: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ConversationSummary.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ConversationSummary.ts index dd16b0d4cf5..431f5e79420 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ConversationSummary.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ConversationSummary.ts @@ -5,4 +5,15 @@ import type { ConversationGitInfo } from "./ConversationGitInfo.js"; import type { SessionSource } from "./SessionSource.js"; import type { ThreadId } from "./ThreadId.js"; -export type ConversationSummary = { conversationId: ThreadId, path: string, preview: string, timestamp: string | null, updatedAt: string | null, modelProvider: string, cwd: string, cliVersion: string, source: SessionSource, gitInfo: ConversationGitInfo | null, }; +export type ConversationSummary = { + conversationId: ThreadId; + path: string; + preview: string; + timestamp: string | null; + updatedAt: string | null; + modelProvider: string; + cwd: string; + cliVersion: string; + source: SessionSource; + gitInfo: ConversationGitInfo | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalParams.ts index b77e09de661..f6153f68889 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalParams.ts @@ -4,13 +4,19 @@ import type { ParsedCommand } from "./ParsedCommand.js"; import type { ThreadId } from "./ThreadId.js"; -export type ExecCommandApprovalParams = { conversationId: ThreadId, -/** - * Use to correlate this with [codex_protocol::protocol::ExecCommandBeginEvent] - * and [codex_protocol::protocol::ExecCommandEndEvent]. - */ -callId: string, -/** - * Identifier for this specific approval callback. - */ -approvalId: string | null, command: Array, cwd: string, reason: string | null, parsedCmd: Array, }; +export type ExecCommandApprovalParams = { + conversationId: ThreadId; + /** + * Use to correlate this with [codex_protocol::protocol::ExecCommandBeginEvent] + * and [codex_protocol::protocol::ExecCommandEndEvent]. + */ + callId: string; + /** + * Identifier for this specific approval callback. + */ + approvalId: string | null; + command: Array; + cwd: string; + reason: string | null; + parsedCmd: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalResponse.ts index 595cde03fcf..b695e5f12e1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ExecCommandApprovalResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ReviewDecision } from "./ReviewDecision.js"; -export type ExecCommandApprovalResponse = { decision: ReviewDecision, }; +export type ExecCommandApprovalResponse = { decision: ReviewDecision }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/FileChange.ts b/extensions/codex/src/app-server/protocol-generated/typescript/FileChange.ts index 8eaac9e8d71..da6abdda285 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/FileChange.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/FileChange.ts @@ -2,4 +2,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FileChange = { "type": "add", content: string, } | { "type": "delete", content: string, } | { "type": "update", unified_diff: string, move_path: string | null, }; +export type FileChange = + | { type: "add"; content: string } + | { type: "delete"; content: string } + | { type: "update"; unified_diff: string; move_path: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/FunctionCallOutputContentItem.ts b/extensions/codex/src/app-server/protocol-generated/typescript/FunctionCallOutputContentItem.ts index a670c896d6f..c60d1b72792 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/FunctionCallOutputContentItem.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/FunctionCallOutputContentItem.ts @@ -7,4 +7,6 @@ import type { ImageDetail } from "./ImageDetail.js"; * Responses API compatible content items that can be returned by a tool call. * This is a subset of ContentItem with the types we support as function call outputs. */ -export type FunctionCallOutputContentItem = { "type": "input_text", text: string, } | { "type": "input_image", image_url: string, detail?: ImageDetail, }; +export type FunctionCallOutputContentItem = + | { type: "input_text"; text: string } + | { type: "input_image"; image_url: string; detail?: ImageDetail }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchParams.ts index 02a7a7cfdf0..24e397c8478 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchParams.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FuzzyFileSearchParams = { query: string, roots: Array, cancellationToken: string | null, }; +export type FuzzyFileSearchParams = { + query: string; + roots: Array; + cancellationToken: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResponse.ts index 5ddfd8b3845..af93c1a2e42 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FuzzyFileSearchResult } from "./FuzzyFileSearchResult.js"; -export type FuzzyFileSearchResponse = { files: Array, }; +export type FuzzyFileSearchResponse = { files: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResult.ts b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResult.ts index 1e72f063fa3..bfd5992fd88 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResult.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchResult.ts @@ -6,4 +6,11 @@ import type { FuzzyFileSearchMatchType } from "./FuzzyFileSearchMatchType.js"; /** * Superset of [`codex_file_search::FileMatch`] */ -export type FuzzyFileSearchResult = { root: string, path: string, match_type: FuzzyFileSearchMatchType, file_name: string, score: number, indices: Array | null, }; +export type FuzzyFileSearchResult = { + root: string; + path: string; + match_type: FuzzyFileSearchMatchType; + file_name: string; + score: number; + indices: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionCompletedNotification.ts index f4dc7fac11a..e8f3e391fae 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionCompletedNotification.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FuzzyFileSearchSessionCompletedNotification = { sessionId: string, }; +export type FuzzyFileSearchSessionCompletedNotification = { sessionId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionUpdatedNotification.ts index f31b429b75d..ccd8f5c36e0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/FuzzyFileSearchSessionUpdatedNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FuzzyFileSearchResult } from "./FuzzyFileSearchResult.js"; -export type FuzzyFileSearchSessionUpdatedNotification = { sessionId: string, query: string, files: Array, }; +export type FuzzyFileSearchSessionUpdatedNotification = { + sessionId: string; + query: string; + files: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusParams.ts index f185a437181..c3f4c1a04f9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type GetAuthStatusParams = { includeToken: boolean | null, refreshToken: boolean | null, }; +export type GetAuthStatusParams = { includeToken: boolean | null; refreshToken: boolean | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusResponse.ts index b1a216a7a3e..ec5e7783a31 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/GetAuthStatusResponse.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AuthMode } from "./AuthMode.js"; -export type GetAuthStatusResponse = { authMethod: AuthMode | null, authToken: string | null, requiresOpenaiAuth: boolean | null, }; +export type GetAuthStatusResponse = { + authMethod: AuthMode | null; + authToken: string | null; + requiresOpenaiAuth: boolean | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryParams.ts index 70fd40a6b2a..acb7fba5d7b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryParams.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadId } from "./ThreadId.js"; -export type GetConversationSummaryParams = { rolloutPath: string, } | { conversationId: ThreadId, }; +export type GetConversationSummaryParams = { rolloutPath: string } | { conversationId: ThreadId }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryResponse.ts index 64fafcacfad..4b68fe805af 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/GetConversationSummaryResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConversationSummary } from "./ConversationSummary.js"; -export type GetConversationSummaryResponse = { summary: ConversationSummary, }; +export type GetConversationSummaryResponse = { summary: ConversationSummary }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/GhostCommit.ts b/extensions/codex/src/app-server/protocol-generated/typescript/GhostCommit.ts index d7b927492b5..fa11f89b0cf 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/GhostCommit.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/GhostCommit.ts @@ -5,4 +5,9 @@ /** * Details of a ghost commit created from a repository state. */ -export type GhostCommit = { id: string, parent: string | null, preexisting_untracked_files: Array, preexisting_untracked_dirs: Array, }; +export type GhostCommit = { + id: string; + parent: string | null; + preexisting_untracked_files: Array; + preexisting_untracked_dirs: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteParams.ts index 535aad3c294..31ff4f9ddd7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type GitDiffToRemoteParams = { cwd: string, }; +export type GitDiffToRemoteParams = { cwd: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteResponse.ts index 6a421d3d71e..e06a77c0a26 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/GitDiffToRemoteResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { GitSha } from "./GitSha.js"; -export type GitDiffToRemoteResponse = { sha: GitSha, diff: string, }; +export type GitDiffToRemoteResponse = { sha: GitSha; diff: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/InitializeCapabilities.ts b/extensions/codex/src/app-server/protocol-generated/typescript/InitializeCapabilities.ts index 5d42cc4852d..eaac4b8da1f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/InitializeCapabilities.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/InitializeCapabilities.ts @@ -6,12 +6,13 @@ * Client-declared capabilities negotiated during initialize. */ export type InitializeCapabilities = { -/** - * Opt into receiving experimental API methods and fields. - */ -experimentalApi: boolean, -/** - * Exact notification method names that should be suppressed for this - * connection (for example `thread/started`). - */ -optOutNotificationMethods?: Array | null, }; + /** + * Opt into receiving experimental API methods and fields. + */ + experimentalApi: boolean; + /** + * Exact notification method names that should be suppressed for this + * connection (for example `thread/started`). + */ + optOutNotificationMethods?: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/InitializeParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/InitializeParams.ts index 70b1de9de11..9322cf9129b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/InitializeParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/InitializeParams.ts @@ -4,4 +4,7 @@ import type { ClientInfo } from "./ClientInfo.js"; import type { InitializeCapabilities } from "./InitializeCapabilities.js"; -export type InitializeParams = { clientInfo: ClientInfo, capabilities: InitializeCapabilities | null, }; +export type InitializeParams = { + clientInfo: ClientInfo; + capabilities: InitializeCapabilities | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/InitializeResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/InitializeResponse.ts index 5d547946780..c6a9bc5377d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/InitializeResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/InitializeResponse.ts @@ -3,18 +3,20 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "./AbsolutePathBuf.js"; -export type InitializeResponse = { userAgent: string, -/** - * Absolute path to the server's $CODEX_HOME directory. - */ -codexHome: AbsolutePathBuf, -/** - * Platform family for the running app-server target, for example - * `"unix"` or `"windows"`. - */ -platformFamily: string, -/** - * Operating system for the running app-server target, for example - * `"macos"`, `"linux"`, or `"windows"`. - */ -platformOs: string, }; +export type InitializeResponse = { + userAgent: string; + /** + * Absolute path to the server's $CODEX_HOME directory. + */ + codexHome: AbsolutePathBuf; + /** + * Platform family for the running app-server target, for example + * `"unix"` or `"windows"`. + */ + platformFamily: string; + /** + * Operating system for the running app-server target, for example + * `"macos"`, `"linux"`, or `"windows"`. + */ + platformOs: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellAction.ts b/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellAction.ts index e07965a0500..89cd49e69b6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellAction.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellAction.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { LocalShellExecAction } from "./LocalShellExecAction.js"; -export type LocalShellAction = { "type": "exec" } & LocalShellExecAction; +export type LocalShellAction = { type: "exec" } & LocalShellExecAction; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellExecAction.ts b/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellExecAction.ts index 10d41336392..5faf9621ad9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellExecAction.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/LocalShellExecAction.ts @@ -2,4 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type LocalShellExecAction = { command: Array, timeout_ms: bigint | null, working_directory: string | null, env: { [key in string]?: string } | null, user: string | null, }; +export type LocalShellExecAction = { + command: Array; + timeout_ms: bigint | null; + working_directory: string | null; + env: { [key in string]?: string } | null; + user: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/NetworkPolicyAmendment.ts b/extensions/codex/src/app-server/protocol-generated/typescript/NetworkPolicyAmendment.ts index ffbc2203327..5455621ece7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/NetworkPolicyAmendment.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/NetworkPolicyAmendment.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NetworkPolicyRuleAction } from "./NetworkPolicyRuleAction.js"; -export type NetworkPolicyAmendment = { host: string, action: NetworkPolicyRuleAction, }; +export type NetworkPolicyAmendment = { host: string; action: NetworkPolicyRuleAction }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ParsedCommand.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ParsedCommand.ts index 092476e9ac2..2302ea10d74 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ParsedCommand.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ParsedCommand.ts @@ -2,11 +2,19 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ParsedCommand = { "type": "read", cmd: string, name: string, -/** - * (Best effort) Path to the file being read by the command. When - * possible, this is an absolute path, though when relative, it should - * be resolved against the `cwd`` that will be used to run the command - * to derive the absolute path. - */ -path: string, } | { "type": "list_files", cmd: string, path: string | null, } | { "type": "search", cmd: string, query: string | null, path: string | null, } | { "type": "unknown", cmd: string, }; +export type ParsedCommand = + | { + type: "read"; + cmd: string; + name: string; + /** + * (Best effort) Path to the file being read by the command. When + * possible, this is an absolute path, though when relative, it should + * be resolved against the `cwd`` that will be used to run the command + * to derive the absolute path. + */ + path: string; + } + | { type: "list_files"; cmd: string; path: string | null } + | { type: "search"; cmd: string; query: string | null; path: string | null } + | { type: "unknown"; cmd: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/PlanType.ts b/extensions/codex/src/app-server/protocol-generated/typescript/PlanType.ts index 44891467e92..54281532d13 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/PlanType.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/PlanType.ts @@ -2,4 +2,16 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_usage_based" | "business" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "unknown"; +export type PlanType = + | "free" + | "go" + | "plus" + | "pro" + | "prolite" + | "team" + | "self_serve_business_usage_based" + | "business" + | "enterprise_cbp_usage_based" + | "enterprise" + | "edu" + | "unknown"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoice.ts b/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoice.ts index c3a434e9449..bd40db79a1c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoice.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoice.ts @@ -2,4 +2,23 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type RealtimeVoice = "alloy" | "arbor" | "ash" | "ballad" | "breeze" | "cedar" | "coral" | "cove" | "echo" | "ember" | "juniper" | "maple" | "marin" | "sage" | "shimmer" | "sol" | "spruce" | "vale" | "verse"; +export type RealtimeVoice = + | "alloy" + | "arbor" + | "ash" + | "ballad" + | "breeze" + | "cedar" + | "coral" + | "cove" + | "echo" + | "ember" + | "juniper" + | "maple" + | "marin" + | "sage" + | "shimmer" + | "sol" + | "spruce" + | "vale" + | "verse"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoicesList.ts b/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoicesList.ts index c7c5de8ca31..f2d19ee1e30 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoicesList.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/RealtimeVoicesList.ts @@ -3,4 +3,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { RealtimeVoice } from "./RealtimeVoice.js"; -export type RealtimeVoicesList = { v1: Array, v2: Array, defaultV1: RealtimeVoice, defaultV2: RealtimeVoice, }; +export type RealtimeVoicesList = { + v1: Array; + v2: Array; + defaultV1: RealtimeVoice; + defaultV2: RealtimeVoice; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemContent.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemContent.ts index fd533796fe2..1583fa45f00 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemContent.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemContent.ts @@ -2,4 +2,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ReasoningItemContent = { "type": "reasoning_text", text: string, } | { "type": "text", text: string, }; +export type ReasoningItemContent = + | { type: "reasoning_text"; text: string } + | { type: "text"; text: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemReasoningSummary.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemReasoningSummary.ts index f01a88a0c03..cd7cf0acd2b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemReasoningSummary.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ReasoningItemReasoningSummary.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ReasoningItemReasoningSummary = { "type": "summary_text", text: string, }; +export type ReasoningItemReasoningSummary = { type: "summary_text"; text: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/Resource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/Resource.ts index 2daf5b92c76..b519402c8e8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/Resource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/Resource.ts @@ -6,4 +6,14 @@ import type { JsonValue } from "./serde_json/JsonValue.js"; /** * A known resource that the server is capable of reading. */ -export type Resource = { annotations?: JsonValue, description?: string, mimeType?: string, name: string, size?: number, title?: string, uri: string, icons?: Array, _meta?: JsonValue, }; +export type Resource = { + annotations?: JsonValue; + description?: string; + mimeType?: string; + name: string; + size?: number; + title?: string; + uri: string; + icons?: Array; + _meta?: JsonValue; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ResourceContent.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ResourceContent.ts index d465d730b7b..d1d8316aa3b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ResourceContent.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ResourceContent.ts @@ -6,12 +6,22 @@ import type { JsonValue } from "./serde_json/JsonValue.js"; /** * Contents returned when reading a resource from an MCP server. */ -export type ResourceContent = { -/** - * The URI of this resource. - */ -uri: string, mimeType?: string, text: string, _meta?: JsonValue, } | { -/** - * The URI of this resource. - */ -uri: string, mimeType?: string, blob: string, _meta?: JsonValue, }; +export type ResourceContent = + | { + /** + * The URI of this resource. + */ + uri: string; + mimeType?: string; + text: string; + _meta?: JsonValue; + } + | { + /** + * The URI of this resource. + */ + uri: string; + mimeType?: string; + blob: string; + _meta?: JsonValue; + }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ResourceTemplate.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ResourceTemplate.ts index 335de1aae3a..5ee2f13cd1b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ResourceTemplate.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ResourceTemplate.ts @@ -6,4 +6,11 @@ import type { JsonValue } from "./serde_json/JsonValue.js"; /** * A template description for resources available on the server. */ -export type ResourceTemplate = { annotations?: JsonValue, uriTemplate: string, name: string, title?: string, description?: string, mimeType?: string, }; +export type ResourceTemplate = { + annotations?: JsonValue; + uriTemplate: string; + name: string; + title?: string; + description?: string; + mimeType?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ResponseItem.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ResponseItem.ts index 16dd4fcf9a4..e18fb78b2f7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ResponseItem.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ResponseItem.ts @@ -11,8 +11,60 @@ import type { ReasoningItemContent } from "./ReasoningItemContent.js"; import type { ReasoningItemReasoningSummary } from "./ReasoningItemReasoningSummary.js"; import type { WebSearchAction } from "./WebSearchAction.js"; -export type ResponseItem = { "type": "message", role: string, content: Array, end_turn?: boolean, phase?: MessagePhase, } | { "type": "reasoning", summary: Array, content?: Array, encrypted_content: string | null, } | { "type": "local_shell_call", -/** - * Set when using the Responses API. - */ -call_id: string | null, status: LocalShellStatus, action: LocalShellAction, } | { "type": "function_call", name: string, namespace?: string, arguments: string, call_id: string, } | { "type": "tool_search_call", call_id: string | null, status?: string, execution: string, arguments: unknown, } | { "type": "function_call_output", call_id: string, output: FunctionCallOutputBody, } | { "type": "custom_tool_call", status?: string, call_id: string, name: string, input: string, } | { "type": "custom_tool_call_output", call_id: string, name?: string, output: FunctionCallOutputBody, } | { "type": "tool_search_output", call_id: string | null, status: string, execution: string, tools: unknown[], } | { "type": "web_search_call", status?: string, action?: WebSearchAction, } | { "type": "image_generation_call", id: string, status: string, revised_prompt?: string, result: string, } | { "type": "ghost_snapshot", ghost_commit: GhostCommit, } | { "type": "compaction", encrypted_content: string, } | { "type": "other" }; +export type ResponseItem = + | { + type: "message"; + role: string; + content: Array; + end_turn?: boolean; + phase?: MessagePhase; + } + | { + type: "reasoning"; + summary: Array; + content?: Array; + encrypted_content: string | null; + } + | { + type: "local_shell_call"; + /** + * Set when using the Responses API. + */ + call_id: string | null; + status: LocalShellStatus; + action: LocalShellAction; + } + | { type: "function_call"; name: string; namespace?: string; arguments: string; call_id: string } + | { + type: "tool_search_call"; + call_id: string | null; + status?: string; + execution: string; + arguments: unknown; + } + | { type: "function_call_output"; call_id: string; output: FunctionCallOutputBody } + | { type: "custom_tool_call"; status?: string; call_id: string; name: string; input: string } + | { + type: "custom_tool_call_output"; + call_id: string; + name?: string; + output: FunctionCallOutputBody; + } + | { + type: "tool_search_output"; + call_id: string | null; + status: string; + execution: string; + tools: unknown[]; + } + | { type: "web_search_call"; status?: string; action?: WebSearchAction } + | { + type: "image_generation_call"; + id: string; + status: string; + revised_prompt?: string; + result: string; + } + | { type: "ghost_snapshot"; ghost_commit: GhostCommit } + | { type: "compaction"; encrypted_content: string } + | { type: "other" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ReviewDecision.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ReviewDecision.ts index 0bdd652b029..23b8771936d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ReviewDecision.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ReviewDecision.ts @@ -7,4 +7,11 @@ import type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment.js"; /** * User's decision in response to an ExecApprovalRequest. */ -export type ReviewDecision = "approved" | { "approved_execpolicy_amendment": { proposed_execpolicy_amendment: ExecPolicyAmendment, } } | "approved_for_session" | { "network_policy_amendment": { network_policy_amendment: NetworkPolicyAmendment, } } | "denied" | "timed_out" | "abort"; +export type ReviewDecision = + | "approved" + | { approved_execpolicy_amendment: { proposed_execpolicy_amendment: ExecPolicyAmendment } } + | "approved_for_session" + | { network_policy_amendment: { network_policy_amendment: NetworkPolicyAmendment } } + | "denied" + | "timed_out" + | "abort"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ServerNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ServerNotification.ts index b767b612490..5a3d1737e3e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ServerNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ServerNotification.ts @@ -64,4 +64,81 @@ import type { WindowsWorldWritableWarningNotification } from "./v2/WindowsWorldW /** * Notification sent from the server to the client. */ -export type ServerNotification = { "method": "error", "params": ErrorNotification } | { "method": "thread/started", "params": ThreadStartedNotification } | { "method": "thread/status/changed", "params": ThreadStatusChangedNotification } | { "method": "thread/archived", "params": ThreadArchivedNotification } | { "method": "thread/unarchived", "params": ThreadUnarchivedNotification } | { "method": "thread/closed", "params": ThreadClosedNotification } | { "method": "skills/changed", "params": SkillsChangedNotification } | { "method": "thread/name/updated", "params": ThreadNameUpdatedNotification } | { "method": "thread/tokenUsage/updated", "params": ThreadTokenUsageUpdatedNotification } | { "method": "turn/started", "params": TurnStartedNotification } | { "method": "hook/started", "params": HookStartedNotification } | { "method": "turn/completed", "params": TurnCompletedNotification } | { "method": "hook/completed", "params": HookCompletedNotification } | { "method": "turn/diff/updated", "params": TurnDiffUpdatedNotification } | { "method": "turn/plan/updated", "params": TurnPlanUpdatedNotification } | { "method": "item/started", "params": ItemStartedNotification } | { "method": "item/autoApprovalReview/started", "params": ItemGuardianApprovalReviewStartedNotification } | { "method": "item/autoApprovalReview/completed", "params": ItemGuardianApprovalReviewCompletedNotification } | { "method": "item/completed", "params": ItemCompletedNotification } | { "method": "rawResponseItem/completed", "params": RawResponseItemCompletedNotification } | { "method": "item/agentMessage/delta", "params": AgentMessageDeltaNotification } | { "method": "item/plan/delta", "params": PlanDeltaNotification } | { "method": "command/exec/outputDelta", "params": CommandExecOutputDeltaNotification } | { "method": "item/commandExecution/outputDelta", "params": CommandExecutionOutputDeltaNotification } | { "method": "item/commandExecution/terminalInteraction", "params": TerminalInteractionNotification } | { "method": "item/fileChange/outputDelta", "params": FileChangeOutputDeltaNotification } | { "method": "item/fileChange/patchUpdated", "params": FileChangePatchUpdatedNotification } | { "method": "serverRequest/resolved", "params": ServerRequestResolvedNotification } | { "method": "item/mcpToolCall/progress", "params": McpToolCallProgressNotification } | { "method": "mcpServer/oauthLogin/completed", "params": McpServerOauthLoginCompletedNotification } | { "method": "mcpServer/startupStatus/updated", "params": McpServerStatusUpdatedNotification } | { "method": "account/updated", "params": AccountUpdatedNotification } | { "method": "account/rateLimits/updated", "params": AccountRateLimitsUpdatedNotification } | { "method": "app/list/updated", "params": AppListUpdatedNotification } | { "method": "externalAgentConfig/import/completed", "params": ExternalAgentConfigImportCompletedNotification } | { "method": "fs/changed", "params": FsChangedNotification } | { "method": "item/reasoning/summaryTextDelta", "params": ReasoningSummaryTextDeltaNotification } | { "method": "item/reasoning/summaryPartAdded", "params": ReasoningSummaryPartAddedNotification } | { "method": "item/reasoning/textDelta", "params": ReasoningTextDeltaNotification } | { "method": "thread/compacted", "params": ContextCompactedNotification } | { "method": "model/rerouted", "params": ModelReroutedNotification } | { "method": "model/verification", "params": ModelVerificationNotification } | { "method": "warning", "params": WarningNotification } | { "method": "guardianWarning", "params": GuardianWarningNotification } | { "method": "deprecationNotice", "params": DeprecationNoticeNotification } | { "method": "configWarning", "params": ConfigWarningNotification } | { "method": "fuzzyFileSearch/sessionUpdated", "params": FuzzyFileSearchSessionUpdatedNotification } | { "method": "fuzzyFileSearch/sessionCompleted", "params": FuzzyFileSearchSessionCompletedNotification } | { "method": "thread/realtime/started", "params": ThreadRealtimeStartedNotification } | { "method": "thread/realtime/itemAdded", "params": ThreadRealtimeItemAddedNotification } | { "method": "thread/realtime/transcript/delta", "params": ThreadRealtimeTranscriptDeltaNotification } | { "method": "thread/realtime/transcript/done", "params": ThreadRealtimeTranscriptDoneNotification } | { "method": "thread/realtime/outputAudio/delta", "params": ThreadRealtimeOutputAudioDeltaNotification } | { "method": "thread/realtime/sdp", "params": ThreadRealtimeSdpNotification } | { "method": "thread/realtime/error", "params": ThreadRealtimeErrorNotification } | { "method": "thread/realtime/closed", "params": ThreadRealtimeClosedNotification } | { "method": "windows/worldWritableWarning", "params": WindowsWorldWritableWarningNotification } | { "method": "windowsSandbox/setupCompleted", "params": WindowsSandboxSetupCompletedNotification } | { "method": "account/login/completed", "params": AccountLoginCompletedNotification }; +export type ServerNotification = + | { method: "error"; params: ErrorNotification } + | { method: "thread/started"; params: ThreadStartedNotification } + | { method: "thread/status/changed"; params: ThreadStatusChangedNotification } + | { method: "thread/archived"; params: ThreadArchivedNotification } + | { method: "thread/unarchived"; params: ThreadUnarchivedNotification } + | { method: "thread/closed"; params: ThreadClosedNotification } + | { method: "skills/changed"; params: SkillsChangedNotification } + | { method: "thread/name/updated"; params: ThreadNameUpdatedNotification } + | { method: "thread/tokenUsage/updated"; params: ThreadTokenUsageUpdatedNotification } + | { method: "turn/started"; params: TurnStartedNotification } + | { method: "hook/started"; params: HookStartedNotification } + | { method: "turn/completed"; params: TurnCompletedNotification } + | { method: "hook/completed"; params: HookCompletedNotification } + | { method: "turn/diff/updated"; params: TurnDiffUpdatedNotification } + | { method: "turn/plan/updated"; params: TurnPlanUpdatedNotification } + | { method: "item/started"; params: ItemStartedNotification } + | { + method: "item/autoApprovalReview/started"; + params: ItemGuardianApprovalReviewStartedNotification; + } + | { + method: "item/autoApprovalReview/completed"; + params: ItemGuardianApprovalReviewCompletedNotification; + } + | { method: "item/completed"; params: ItemCompletedNotification } + | { method: "rawResponseItem/completed"; params: RawResponseItemCompletedNotification } + | { method: "item/agentMessage/delta"; params: AgentMessageDeltaNotification } + | { method: "item/plan/delta"; params: PlanDeltaNotification } + | { method: "command/exec/outputDelta"; params: CommandExecOutputDeltaNotification } + | { method: "item/commandExecution/outputDelta"; params: CommandExecutionOutputDeltaNotification } + | { method: "item/commandExecution/terminalInteraction"; params: TerminalInteractionNotification } + | { method: "item/fileChange/outputDelta"; params: FileChangeOutputDeltaNotification } + | { method: "item/fileChange/patchUpdated"; params: FileChangePatchUpdatedNotification } + | { method: "serverRequest/resolved"; params: ServerRequestResolvedNotification } + | { method: "item/mcpToolCall/progress"; params: McpToolCallProgressNotification } + | { method: "mcpServer/oauthLogin/completed"; params: McpServerOauthLoginCompletedNotification } + | { method: "mcpServer/startupStatus/updated"; params: McpServerStatusUpdatedNotification } + | { method: "account/updated"; params: AccountUpdatedNotification } + | { method: "account/rateLimits/updated"; params: AccountRateLimitsUpdatedNotification } + | { method: "app/list/updated"; params: AppListUpdatedNotification } + | { + method: "externalAgentConfig/import/completed"; + params: ExternalAgentConfigImportCompletedNotification; + } + | { method: "fs/changed"; params: FsChangedNotification } + | { method: "item/reasoning/summaryTextDelta"; params: ReasoningSummaryTextDeltaNotification } + | { method: "item/reasoning/summaryPartAdded"; params: ReasoningSummaryPartAddedNotification } + | { method: "item/reasoning/textDelta"; params: ReasoningTextDeltaNotification } + | { method: "thread/compacted"; params: ContextCompactedNotification } + | { method: "model/rerouted"; params: ModelReroutedNotification } + | { method: "model/verification"; params: ModelVerificationNotification } + | { method: "warning"; params: WarningNotification } + | { method: "guardianWarning"; params: GuardianWarningNotification } + | { method: "deprecationNotice"; params: DeprecationNoticeNotification } + | { method: "configWarning"; params: ConfigWarningNotification } + | { method: "fuzzyFileSearch/sessionUpdated"; params: FuzzyFileSearchSessionUpdatedNotification } + | { + method: "fuzzyFileSearch/sessionCompleted"; + params: FuzzyFileSearchSessionCompletedNotification; + } + | { method: "thread/realtime/started"; params: ThreadRealtimeStartedNotification } + | { method: "thread/realtime/itemAdded"; params: ThreadRealtimeItemAddedNotification } + | { + method: "thread/realtime/transcript/delta"; + params: ThreadRealtimeTranscriptDeltaNotification; + } + | { method: "thread/realtime/transcript/done"; params: ThreadRealtimeTranscriptDoneNotification } + | { + method: "thread/realtime/outputAudio/delta"; + params: ThreadRealtimeOutputAudioDeltaNotification; + } + | { method: "thread/realtime/sdp"; params: ThreadRealtimeSdpNotification } + | { method: "thread/realtime/error"; params: ThreadRealtimeErrorNotification } + | { method: "thread/realtime/closed"; params: ThreadRealtimeClosedNotification } + | { method: "windows/worldWritableWarning"; params: WindowsWorldWritableWarningNotification } + | { method: "windowsSandbox/setupCompleted"; params: WindowsSandboxSetupCompletedNotification } + | { method: "account/login/completed"; params: AccountLoginCompletedNotification }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/ServerRequest.ts b/extensions/codex/src/app-server/protocol-generated/typescript/ServerRequest.ts index 09c3aa57ce1..356126c38ca 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/ServerRequest.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/ServerRequest.ts @@ -15,4 +15,33 @@ import type { ToolRequestUserInputParams } from "./v2/ToolRequestUserInputParams /** * Request initiated from the server and sent to the client. */ -export type ServerRequest = { "method": "item/commandExecution/requestApproval", id: RequestId, params: CommandExecutionRequestApprovalParams, } | { "method": "item/fileChange/requestApproval", id: RequestId, params: FileChangeRequestApprovalParams, } | { "method": "item/tool/requestUserInput", id: RequestId, params: ToolRequestUserInputParams, } | { "method": "mcpServer/elicitation/request", id: RequestId, params: McpServerElicitationRequestParams, } | { "method": "item/permissions/requestApproval", id: RequestId, params: PermissionsRequestApprovalParams, } | { "method": "item/tool/call", id: RequestId, params: DynamicToolCallParams, } | { "method": "account/chatgptAuthTokens/refresh", id: RequestId, params: ChatgptAuthTokensRefreshParams, } | { "method": "applyPatchApproval", id: RequestId, params: ApplyPatchApprovalParams, } | { "method": "execCommandApproval", id: RequestId, params: ExecCommandApprovalParams, }; +export type ServerRequest = + | { + method: "item/commandExecution/requestApproval"; + id: RequestId; + params: CommandExecutionRequestApprovalParams; + } + | { + method: "item/fileChange/requestApproval"; + id: RequestId; + params: FileChangeRequestApprovalParams; + } + | { method: "item/tool/requestUserInput"; id: RequestId; params: ToolRequestUserInputParams } + | { + method: "mcpServer/elicitation/request"; + id: RequestId; + params: McpServerElicitationRequestParams; + } + | { + method: "item/permissions/requestApproval"; + id: RequestId; + params: PermissionsRequestApprovalParams; + } + | { method: "item/tool/call"; id: RequestId; params: DynamicToolCallParams } + | { + method: "account/chatgptAuthTokens/refresh"; + id: RequestId; + params: ChatgptAuthTokensRefreshParams; + } + | { method: "applyPatchApproval"; id: RequestId; params: ApplyPatchApprovalParams } + | { method: "execCommandApproval"; id: RequestId; params: ExecCommandApprovalParams }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/SessionSource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/SessionSource.ts index 1a3b0c75059..66d6dfe3977 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/SessionSource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/SessionSource.ts @@ -3,4 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubAgentSource } from "./SubAgentSource.js"; -export type SessionSource = "cli" | "vscode" | "exec" | "mcp" | { "custom": string } | { "subagent": SubAgentSource } | "unknown"; +export type SessionSource = + | "cli" + | "vscode" + | "exec" + | "mcp" + | { custom: string } + | { subagent: SubAgentSource } + | "unknown"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/Settings.ts b/extensions/codex/src/app-server/protocol-generated/typescript/Settings.ts index bd4deaea4ac..12132380a22 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/Settings.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/Settings.ts @@ -6,4 +6,8 @@ import type { ReasoningEffort } from "./ReasoningEffort.js"; /** * Settings for a collaboration mode. */ -export type Settings = { model: string, reasoning_effort: ReasoningEffort | null, developer_instructions: string | null, }; +export type Settings = { + model: string; + reasoning_effort: ReasoningEffort | null; + developer_instructions: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/SubAgentSource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/SubAgentSource.ts index b3b08a56da9..3c102517629 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/SubAgentSource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/SubAgentSource.ts @@ -4,4 +4,17 @@ import type { AgentPath } from "./AgentPath.js"; import type { ThreadId } from "./ThreadId.js"; -export type SubAgentSource = "review" | "compact" | { "thread_spawn": { parent_thread_id: ThreadId, depth: number, agent_path: AgentPath | null, agent_nickname: string | null, agent_role: string | null, } } | "memory_consolidation" | { "other": string }; +export type SubAgentSource = + | "review" + | "compact" + | { + thread_spawn: { + parent_thread_id: ThreadId; + depth: number; + agent_path: AgentPath | null; + agent_nickname: string | null; + agent_role: string | null; + }; + } + | "memory_consolidation" + | { other: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/Tool.ts b/extensions/codex/src/app-server/protocol-generated/typescript/Tool.ts index 65f0e4f44a3..e0e7c0f9811 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/Tool.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/Tool.ts @@ -6,4 +6,13 @@ import type { JsonValue } from "./serde_json/JsonValue.js"; /** * Definition for a tool the client can call. */ -export type Tool = { name: string, title?: string, description?: string, inputSchema: JsonValue, outputSchema?: JsonValue, annotations?: JsonValue, icons?: Array, _meta?: JsonValue, }; +export type Tool = { + name: string; + title?: string; + description?: string; + inputSchema: JsonValue; + outputSchema?: JsonValue; + annotations?: JsonValue; + icons?: Array; + _meta?: JsonValue; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchAction.ts b/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchAction.ts index 91cb99e9ed4..3cae0b56f59 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchAction.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchAction.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type WebSearchAction = { "type": "search", query?: string, queries?: Array, } | { "type": "open_page", url?: string, } | { "type": "find_in_page", url?: string, pattern?: string, } | { "type": "other" }; +export type WebSearchAction = + | { type: "search"; query?: string; queries?: Array } + | { type: "open_page"; url?: string } + | { type: "find_in_page"; url?: string; pattern?: string } + | { type: "other" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchLocation.ts b/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchLocation.ts index 12319983d7d..4f257eeb418 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchLocation.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchLocation.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type WebSearchLocation = { country: string | null, region: string | null, city: string | null, timezone: string | null, }; +export type WebSearchLocation = { + country: string | null; + region: string | null; + city: string | null; + timezone: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchToolConfig.ts b/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchToolConfig.ts index d04ca48204d..31d47ae300d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchToolConfig.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/WebSearchToolConfig.ts @@ -4,4 +4,8 @@ import type { WebSearchContextSize } from "./WebSearchContextSize.js"; import type { WebSearchLocation } from "./WebSearchLocation.js"; -export type WebSearchToolConfig = { context_size: WebSearchContextSize | null, allowed_domains: Array | null, location: WebSearchLocation | null, }; +export type WebSearchToolConfig = { + context_size: WebSearchContextSize | null; + allowed_domains: Array | null; + location: WebSearchLocation | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/serde_json/JsonValue.ts b/extensions/codex/src/app-server/protocol-generated/typescript/serde_json/JsonValue.ts index 75cf7389adc..dbf7173b1dc 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/serde_json/JsonValue.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/serde_json/JsonValue.ts @@ -2,4 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type JsonValue = number | string | boolean | Array | { [key in string]?: JsonValue } | null; +export type JsonValue = + | number + | string + | boolean + | Array + | { [key in string]?: JsonValue } + | null; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountLoginCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountLoginCompletedNotification.ts index 587237b2752..b8960c6666e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountLoginCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountLoginCompletedNotification.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AccountLoginCompletedNotification = { loginId: string | null, success: boolean, error: string | null, }; +export type AccountLoginCompletedNotification = { + loginId: string | null; + success: boolean; + error: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountRateLimitsUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountRateLimitsUpdatedNotification.ts index 3396dd4b3df..4ae9a60207b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountRateLimitsUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountRateLimitsUpdatedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { RateLimitSnapshot } from "./RateLimitSnapshot.js"; -export type AccountRateLimitsUpdatedNotification = { rateLimits: RateLimitSnapshot, }; +export type AccountRateLimitsUpdatedNotification = { rateLimits: RateLimitSnapshot }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountUpdatedNotification.ts index a909b8adc51..867778fac4c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AccountUpdatedNotification.ts @@ -4,4 +4,4 @@ import type { AuthMode } from "../AuthMode.js"; import type { PlanType } from "../PlanType.js"; -export type AccountUpdatedNotification = { authMode: AuthMode | null, planType: PlanType | null, }; +export type AccountUpdatedNotification = { authMode: AuthMode | null; planType: PlanType | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalFileSystemPermissions.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalFileSystemPermissions.ts index 074bda5938c..7be8c2c956e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalFileSystemPermissions.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalFileSystemPermissions.ts @@ -5,11 +5,14 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { FileSystemSandboxEntry } from "./FileSystemSandboxEntry.js"; export type AdditionalFileSystemPermissions = { -/** - * This will be removed in favor of `entries`. - */ -read: Array | null, -/** - * This will be removed in favor of `entries`. - */ -write: Array | null, globScanMaxDepth?: number, entries?: Array, }; + /** + * This will be removed in favor of `entries`. + */ + read: Array | null; + /** + * This will be removed in favor of `entries`. + */ + write: Array | null; + globScanMaxDepth?: number; + entries?: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalNetworkPermissions.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalNetworkPermissions.ts index 823de26ca36..9349aa6628c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalNetworkPermissions.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalNetworkPermissions.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AdditionalNetworkPermissions = { enabled: boolean | null, }; +export type AdditionalNetworkPermissions = { enabled: boolean | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalPermissionProfile.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalPermissionProfile.ts index f74544f1aa2..41d1986a301 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalPermissionProfile.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AdditionalPermissionProfile.ts @@ -4,4 +4,7 @@ import type { AdditionalFileSystemPermissions } from "./AdditionalFileSystemPermissions.js"; import type { AdditionalNetworkPermissions } from "./AdditionalNetworkPermissions.js"; -export type AdditionalPermissionProfile = { network: AdditionalNetworkPermissions | null, fileSystem: AdditionalFileSystemPermissions | null, }; +export type AdditionalPermissionProfile = { + network: AdditionalNetworkPermissions | null; + fileSystem: AdditionalFileSystemPermissions | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AgentMessageDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AgentMessageDeltaNotification.ts index b47985e5b7c..1beb2e9026e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AgentMessageDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AgentMessageDeltaNotification.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AgentMessageDeltaNotification = { threadId: string, turnId: string, itemId: string, delta: string, }; +export type AgentMessageDeltaNotification = { + threadId: string; + turnId: string; + itemId: string; + delta: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AnalyticsConfig.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AnalyticsConfig.ts index 0762265257c..b8203b0d0b5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AnalyticsConfig.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AnalyticsConfig.ts @@ -3,4 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type AnalyticsConfig = { enabled: boolean | null, } & ({ [key in string]?: number | string | boolean | Array | { [key in string]?: JsonValue } | null }); +export type AnalyticsConfig = { enabled: boolean | null } & { + [key in string]?: + | number + | string + | boolean + | Array + | { [key in string]?: JsonValue } + | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppBranding.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppBranding.ts index 873398db670..8a2999eaa5b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppBranding.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppBranding.ts @@ -5,4 +5,11 @@ /** * EXPERIMENTAL - app metadata returned by app-list APIs. */ -export type AppBranding = { category: string | null, developer: string | null, website: string | null, privacyPolicy: string | null, termsOfService: string | null, isDiscoverableApp: boolean, }; +export type AppBranding = { + category: string | null; + developer: string | null; + website: string | null; + privacyPolicy: string | null; + termsOfService: string | null; + isDiscoverableApp: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppInfo.ts index 52146fa91fb..0f444d7cf5b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppInfo.ts @@ -7,13 +7,26 @@ import type { AppMetadata } from "./AppMetadata.js"; /** * EXPERIMENTAL - app metadata returned by app-list APIs. */ -export type AppInfo = { id: string, name: string, description: string | null, logoUrl: string | null, logoUrlDark: string | null, distributionChannel: string | null, branding: AppBranding | null, appMetadata: AppMetadata | null, labels: { [key in string]?: string } | null, installUrl: string | null, isAccessible: boolean, -/** - * Whether this app is enabled in config.toml. - * Example: - * ```toml - * [apps.bad_app] - * enabled = false - * ``` - */ -isEnabled: boolean, pluginDisplayNames: Array, }; +export type AppInfo = { + id: string; + name: string; + description: string | null; + logoUrl: string | null; + logoUrlDark: string | null; + distributionChannel: string | null; + branding: AppBranding | null; + appMetadata: AppMetadata | null; + labels: { [key in string]?: string } | null; + installUrl: string | null; + isAccessible: boolean; + /** + * Whether this app is enabled in config.toml. + * Example: + * ```toml + * [apps.bad_app] + * enabled = false + * ``` + */ + isEnabled: boolean; + pluginDisplayNames: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppListUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppListUpdatedNotification.ts index b02b5609190..285273d98f5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppListUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppListUpdatedNotification.ts @@ -6,4 +6,4 @@ import type { AppInfo } from "./AppInfo.js"; /** * EXPERIMENTAL - notification emitted when the app list changes. */ -export type AppListUpdatedNotification = { data: Array, }; +export type AppListUpdatedNotification = { data: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppMetadata.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppMetadata.ts index a04b701e051..5aee5aaf427 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppMetadata.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppMetadata.ts @@ -4,4 +4,17 @@ import type { AppReview } from "./AppReview.js"; import type { AppScreenshot } from "./AppScreenshot.js"; -export type AppMetadata = { review: AppReview | null, categories: Array | null, subCategories: Array | null, seoDescription: string | null, screenshots: Array | null, developer: string | null, version: string | null, versionId: string | null, versionNotes: string | null, firstPartyType: string | null, firstPartyRequiresInstall: boolean | null, showInComposerWhenUnlinked: boolean | null, }; +export type AppMetadata = { + review: AppReview | null; + categories: Array | null; + subCategories: Array | null; + seoDescription: string | null; + screenshots: Array | null; + developer: string | null; + version: string | null; + versionId: string | null; + versionNotes: string | null; + firstPartyType: string | null; + firstPartyRequiresInstall: boolean | null; + showInComposerWhenUnlinked: boolean | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppReview.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppReview.ts index 10fd95f09de..96e14b7e9c9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppReview.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppReview.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AppReview = { status: string, }; +export type AppReview = { status: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppScreenshot.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppScreenshot.ts index 0d264246f3f..f538ccc9bd8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppScreenshot.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppScreenshot.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AppScreenshot = { url: string | null, fileId: string | null, userPrompt: string, }; +export type AppScreenshot = { url: string | null; fileId: string | null; userPrompt: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppSummary.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppSummary.ts index 586c76f8f78..b3160665060 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppSummary.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppSummary.ts @@ -5,4 +5,10 @@ /** * EXPERIMENTAL - app metadata summary for plugin responses. */ -export type AppSummary = { id: string, name: string, description: string | null, installUrl: string | null, needsAuth: boolean, }; +export type AppSummary = { + id: string; + name: string; + description: string | null; + installUrl: string | null; + needsAuth: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppToolsConfig.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppToolsConfig.ts index 9e9110e2290..af47194bc86 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppToolsConfig.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppToolsConfig.ts @@ -3,4 +3,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AppToolApproval } from "./AppToolApproval.js"; -export type AppToolsConfig = { [key in string]?: { enabled: boolean | null, approval_mode: AppToolApproval | null, } }; +export type AppToolsConfig = { + [key in string]?: { enabled: boolean | null; approval_mode: AppToolApproval | null }; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsConfig.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsConfig.ts index 07bf0aab901..1bd048c7ddb 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsConfig.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsConfig.ts @@ -1,8 +1,17 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! +import type { AppsDefaultConfig } from "./AppsDefaultConfig.js"; // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AppToolApproval } from "./AppToolApproval.js"; import type { AppToolsConfig } from "./AppToolsConfig.js"; -import type { AppsDefaultConfig } from "./AppsDefaultConfig.js"; -export type AppsConfig = { _default: AppsDefaultConfig | null, } & ({ [key in string]?: { enabled: boolean, destructive_enabled: boolean | null, open_world_enabled: boolean | null, default_tools_approval_mode: AppToolApproval | null, default_tools_enabled: boolean | null, tools: AppToolsConfig | null, } }); +export type AppsConfig = { _default: AppsDefaultConfig | null } & { + [key in string]?: { + enabled: boolean; + destructive_enabled: boolean | null; + open_world_enabled: boolean | null; + default_tools_approval_mode: AppToolApproval | null; + default_tools_enabled: boolean | null; + tools: AppToolsConfig | null; + }; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsDefaultConfig.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsDefaultConfig.ts index e73386027e0..1fd8e81a0dc 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsDefaultConfig.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsDefaultConfig.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AppsDefaultConfig = { enabled: boolean, destructive_enabled: boolean, open_world_enabled: boolean, }; +export type AppsDefaultConfig = { + enabled: boolean; + destructive_enabled: boolean; + open_world_enabled: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListParams.ts index b96829567b2..e85212c2827 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListParams.ts @@ -6,19 +6,20 @@ * EXPERIMENTAL - list available apps/connectors. */ export type AppsListParams = { -/** - * Opaque pagination cursor returned by a previous call. - */ -cursor?: string | null, -/** - * Optional page size; defaults to a reasonable server-side value. - */ -limit?: number | null, -/** - * Optional thread id used to evaluate app feature gating from that thread's config. - */ -threadId?: string | null, -/** - * When true, bypass app caches and fetch the latest data from sources. - */ -forceRefetch?: boolean, }; + /** + * Opaque pagination cursor returned by a previous call. + */ + cursor?: string | null; + /** + * Optional page size; defaults to a reasonable server-side value. + */ + limit?: number | null; + /** + * Optional thread id used to evaluate app feature gating from that thread's config. + */ + threadId?: string | null; + /** + * When true, bypass app caches and fetch the latest data from sources. + */ + forceRefetch?: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListResponse.ts index 0e03c94615b..cd4cc6dc3e8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AppsListResponse.ts @@ -6,9 +6,11 @@ import type { AppInfo } from "./AppInfo.js"; /** * EXPERIMENTAL - app list response. */ -export type AppsListResponse = { data: Array, -/** - * Opaque cursor to pass to the next call to continue after the last item. - * If None, there are no more items to return. - */ -nextCursor: string | null, }; +export type AppsListResponse = { + data: Array; + /** + * Opaque cursor to pass to the next call to continue after the last item. + * If None, there are no more items to return. + */ + nextCursor: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AskForApproval.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AskForApproval.ts index 8d41214e013..8c134c91e24 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/AskForApproval.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/AskForApproval.ts @@ -2,4 +2,17 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AskForApproval = "untrusted" | "on-failure" | "on-request" | { "granular": { sandbox_approval: boolean, rules: boolean, skill_approval: boolean, request_permissions: boolean, mcp_elicitations: boolean, } } | "never"; +export type AskForApproval = + | "untrusted" + | "on-failure" + | "on-request" + | { + granular: { + sandbox_approval: boolean; + rules: boolean; + skill_approval: boolean; + request_permissions: boolean; + mcp_elicitations: boolean; + }; + } + | "never"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ByteRange.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ByteRange.ts index 6cb81b87c0b..fae7a1ca5f7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ByteRange.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ByteRange.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ByteRange = { start: number, end: number, }; +export type ByteRange = { start: number; end: number }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountParams.ts index 8e2e90dfb63..8096042be44 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type CancelLoginAccountParams = { loginId: string, }; +export type CancelLoginAccountParams = { loginId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountResponse.ts index 76602c47273..3a8b587da25 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CancelLoginAccountResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { CancelLoginAccountStatus } from "./CancelLoginAccountStatus.js"; -export type CancelLoginAccountResponse = { status: CancelLoginAccountStatus, }; +export type CancelLoginAccountResponse = { status: CancelLoginAccountStatus }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshParams.ts index 9dcd33a3387..548d26f9775 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshParams.ts @@ -3,14 +3,16 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ChatgptAuthTokensRefreshReason } from "./ChatgptAuthTokensRefreshReason.js"; -export type ChatgptAuthTokensRefreshParams = { reason: ChatgptAuthTokensRefreshReason, -/** - * Workspace/account identifier that Codex was previously using. - * - * Clients that manage multiple accounts/workspaces can use this as a hint - * to refresh the token for the correct workspace. - * - * This may be `null` when the prior auth state did not include a workspace - * identifier (`chatgpt_account_id`). - */ -previousAccountId?: string | null, }; +export type ChatgptAuthTokensRefreshParams = { + reason: ChatgptAuthTokensRefreshReason; + /** + * Workspace/account identifier that Codex was previously using. + * + * Clients that manage multiple accounts/workspaces can use this as a hint + * to refresh the token for the correct workspace. + * + * This may be `null` when the prior auth state did not include a workspace + * identifier (`chatgpt_account_id`). + */ + previousAccountId?: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshResponse.ts index 30bf03e83ea..060598850e3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ChatgptAuthTokensRefreshResponse.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ChatgptAuthTokensRefreshResponse = { accessToken: string, chatgptAccountId: string, chatgptPlanType: string | null, }; +export type ChatgptAuthTokensRefreshResponse = { + accessToken: string; + chatgptAccountId: string; + chatgptPlanType: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CodexErrorInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CodexErrorInfo.ts index 04e134f10e0..be64bb95465 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CodexErrorInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CodexErrorInfo.ts @@ -9,4 +9,19 @@ import type { NonSteerableTurnKind } from "./NonSteerableTurnKind.js"; * When an upstream HTTP status is available (for example, from the Responses API or a provider), * it is forwarded in `httpStatusCode` on the relevant `codexErrorInfo` variant. */ -export type CodexErrorInfo = "contextWindowExceeded" | "usageLimitExceeded" | "serverOverloaded" | "cyberPolicy" | { "httpConnectionFailed": { httpStatusCode: number | null, } } | { "responseStreamConnectionFailed": { httpStatusCode: number | null, } } | "internalServerError" | "unauthorized" | "badRequest" | "threadRollbackFailed" | "sandboxError" | { "responseStreamDisconnected": { httpStatusCode: number | null, } } | { "responseTooManyFailedAttempts": { httpStatusCode: number | null, } } | { "activeTurnNotSteerable": { turnKind: NonSteerableTurnKind, } } | "other"; +export type CodexErrorInfo = + | "contextWindowExceeded" + | "usageLimitExceeded" + | "serverOverloaded" + | "cyberPolicy" + | { httpConnectionFailed: { httpStatusCode: number | null } } + | { responseStreamConnectionFailed: { httpStatusCode: number | null } } + | "internalServerError" + | "unauthorized" + | "badRequest" + | "threadRollbackFailed" + | "sandboxError" + | { responseStreamDisconnected: { httpStatusCode: number | null } } + | { responseTooManyFailedAttempts: { httpStatusCode: number | null } } + | { activeTurnNotSteerable: { turnKind: NonSteerableTurnKind } } + | "other"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentState.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentState.ts index 0708c4014bb..0a3fb2c0490 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentState.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentState.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { CollabAgentStatus } from "./CollabAgentStatus.js"; -export type CollabAgentState = { status: CollabAgentStatus, message: string | null, }; +export type CollabAgentState = { status: CollabAgentStatus; message: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentStatus.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentStatus.ts index 66d3119ba68..5bff8e16bba 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentStatus.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollabAgentStatus.ts @@ -2,4 +2,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type CollabAgentStatus = "pendingInit" | "running" | "interrupted" | "completed" | "errored" | "shutdown" | "notFound"; +export type CollabAgentStatus = + | "pendingInit" + | "running" + | "interrupted" + | "completed" + | "errored" + | "shutdown" + | "notFound"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollaborationModeMask.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollaborationModeMask.ts index b5c38bb16ed..3482bcc3af7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollaborationModeMask.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CollaborationModeMask.ts @@ -7,4 +7,9 @@ import type { ReasoningEffort } from "../ReasoningEffort.js"; /** * EXPERIMENTAL - collaboration mode preset metadata for clients. */ -export type CollaborationModeMask = { name: string, mode: ModeKind | null, model: string | null, reasoning_effort: ReasoningEffort | null, }; +export type CollaborationModeMask = { + name: string; + mode: ModeKind | null; + model: string | null; + reasoning_effort: ReasoningEffort | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandAction.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandAction.ts index 12fa1b420ec..aa2c5cbae31 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandAction.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandAction.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type CommandAction = { "type": "read", command: string, name: string, path: AbsolutePathBuf, } | { "type": "listFiles", command: string, path: string | null, } | { "type": "search", command: string, query: string | null, path: string | null, } | { "type": "unknown", command: string, }; +export type CommandAction = + | { type: "read"; command: string; name: string; path: AbsolutePathBuf } + | { type: "listFiles"; command: string; path: string | null } + | { type: "search"; command: string; query: string | null; path: string | null } + | { type: "unknown"; command: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecOutputDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecOutputDeltaNotification.ts index 517c729efd0..669860d57a7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecOutputDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecOutputDeltaNotification.ts @@ -10,21 +10,22 @@ import type { CommandExecOutputStream } from "./CommandExecOutputStream.js"; * closes, the server terminates the process. */ export type CommandExecOutputDeltaNotification = { -/** - * Client-supplied, connection-scoped `processId` from the original - * `command/exec` request. - */ -processId: string, -/** - * Output stream for this chunk. - */ -stream: CommandExecOutputStream, -/** - * Base64-encoded output bytes. - */ -deltaBase64: string, -/** - * `true` on the final streamed chunk for a stream when `outputBytesCap` - * truncated later output on that stream. - */ -capReached: boolean, }; + /** + * Client-supplied, connection-scoped `processId` from the original + * `command/exec` request. + */ + processId: string; + /** + * Output stream for this chunk. + */ + stream: CommandExecOutputStream; + /** + * Base64-encoded output bytes. + */ + deltaBase64: string; + /** + * `true` on the final streamed chunk for a stream when `outputBytesCap` + * truncated later output on that stream. + */ + capReached: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecParams.ts index c848658c570..ab97afd89f8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecParams.ts @@ -14,93 +14,94 @@ import type { SandboxPolicy } from "./SandboxPolicy.js"; * connection have been emitted. */ export type CommandExecParams = { -/** - * Command argv vector. Empty arrays are rejected. - */ -command: Array, -/** - * Optional client-supplied, connection-scoped process id. - * - * Required for `tty`, `streamStdin`, `streamStdoutStderr`, and follow-up - * `command/exec/write`, `command/exec/resize`, and - * `command/exec/terminate` calls. When omitted, buffered execution gets an - * internal id that is not exposed to the client. - */ -processId?: string | null, -/** - * Enable PTY mode. - * - * This implies `streamStdin` and `streamStdoutStderr`. - */ -tty?: boolean, -/** - * Allow follow-up `command/exec/write` requests to write stdin bytes. - * - * Requires a client-supplied `processId`. - */ -streamStdin?: boolean, -/** - * Stream stdout/stderr via `command/exec/outputDelta` notifications. - * - * Streamed bytes are not duplicated into the final response and require a - * client-supplied `processId`. - */ -streamStdoutStderr?: boolean, -/** - * Optional per-stream stdout/stderr capture cap in bytes. - * - * When omitted, the server default applies. Cannot be combined with - * `disableOutputCap`. - */ -outputBytesCap?: number | null, -/** - * Disable stdout/stderr capture truncation for this request. - * - * Cannot be combined with `outputBytesCap`. - */ -disableOutputCap?: boolean, -/** - * Disable the timeout entirely for this request. - * - * Cannot be combined with `timeoutMs`. - */ -disableTimeout?: boolean, -/** - * Optional timeout in milliseconds. - * - * When omitted, the server default applies. Cannot be combined with - * `disableTimeout`. - */ -timeoutMs?: number | null, -/** - * Optional working directory. Defaults to the server cwd. - */ -cwd?: string | null, -/** - * Optional environment overrides merged into the server-computed - * environment. - * - * Matching names override inherited values. Set a key to `null` to unset - * an inherited variable. - */ -env?: { [key in string]?: string | null } | null, -/** - * Optional initial PTY size in character cells. Only valid when `tty` is - * true. - */ -size?: CommandExecTerminalSize | null, -/** - * Optional sandbox policy for this command. - * - * Uses the same shape as thread/turn execution sandbox configuration and - * defaults to the user's configured policy when omitted. Cannot be - * combined with `permissionProfile`. - */ -sandboxPolicy?: SandboxPolicy | null, -/** - * Optional full permissions profile for this command. - * - * Defaults to the user's configured permissions when omitted. Cannot be - * combined with `sandboxPolicy`. - */ -permissionProfile?: PermissionProfile | null, }; + /** + * Command argv vector. Empty arrays are rejected. + */ + command: Array; + /** + * Optional client-supplied, connection-scoped process id. + * + * Required for `tty`, `streamStdin`, `streamStdoutStderr`, and follow-up + * `command/exec/write`, `command/exec/resize`, and + * `command/exec/terminate` calls. When omitted, buffered execution gets an + * internal id that is not exposed to the client. + */ + processId?: string | null; + /** + * Enable PTY mode. + * + * This implies `streamStdin` and `streamStdoutStderr`. + */ + tty?: boolean; + /** + * Allow follow-up `command/exec/write` requests to write stdin bytes. + * + * Requires a client-supplied `processId`. + */ + streamStdin?: boolean; + /** + * Stream stdout/stderr via `command/exec/outputDelta` notifications. + * + * Streamed bytes are not duplicated into the final response and require a + * client-supplied `processId`. + */ + streamStdoutStderr?: boolean; + /** + * Optional per-stream stdout/stderr capture cap in bytes. + * + * When omitted, the server default applies. Cannot be combined with + * `disableOutputCap`. + */ + outputBytesCap?: number | null; + /** + * Disable stdout/stderr capture truncation for this request. + * + * Cannot be combined with `outputBytesCap`. + */ + disableOutputCap?: boolean; + /** + * Disable the timeout entirely for this request. + * + * Cannot be combined with `timeoutMs`. + */ + disableTimeout?: boolean; + /** + * Optional timeout in milliseconds. + * + * When omitted, the server default applies. Cannot be combined with + * `disableTimeout`. + */ + timeoutMs?: number | null; + /** + * Optional working directory. Defaults to the server cwd. + */ + cwd?: string | null; + /** + * Optional environment overrides merged into the server-computed + * environment. + * + * Matching names override inherited values. Set a key to `null` to unset + * an inherited variable. + */ + env?: { [key in string]?: string | null } | null; + /** + * Optional initial PTY size in character cells. Only valid when `tty` is + * true. + */ + size?: CommandExecTerminalSize | null; + /** + * Optional sandbox policy for this command. + * + * Uses the same shape as thread/turn execution sandbox configuration and + * defaults to the user's configured policy when omitted. Cannot be + * combined with `permissionProfile`. + */ + sandboxPolicy?: SandboxPolicy | null; + /** + * Optional full permissions profile for this command. + * + * Defaults to the user's configured permissions when omitted. Cannot be + * combined with `sandboxPolicy`. + */ + permissionProfile?: PermissionProfile | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResizeParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResizeParams.ts index ed74b404b22..d2a2e4b5873 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResizeParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResizeParams.ts @@ -7,12 +7,13 @@ import type { CommandExecTerminalSize } from "./CommandExecTerminalSize.js"; * Resize a running PTY-backed `command/exec` session. */ export type CommandExecResizeParams = { -/** - * Client-supplied, connection-scoped `processId` from the original - * `command/exec` request. - */ -processId: string, -/** - * New PTY size in character cells. - */ -size: CommandExecTerminalSize, }; + /** + * Client-supplied, connection-scoped `processId` from the original + * `command/exec` request. + */ + processId: string; + /** + * New PTY size in character cells. + */ + size: CommandExecTerminalSize; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResponse.ts index 25e01eb53bf..caa53bd18e1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecResponse.ts @@ -6,19 +6,20 @@ * Final buffered result for `command/exec`. */ export type CommandExecResponse = { -/** - * Process exit code. - */ -exitCode: number, -/** - * Buffered stdout capture. - * - * Empty when stdout was streamed via `command/exec/outputDelta`. - */ -stdout: string, -/** - * Buffered stderr capture. - * - * Empty when stderr was streamed via `command/exec/outputDelta`. - */ -stderr: string, }; + /** + * Process exit code. + */ + exitCode: number; + /** + * Buffered stdout capture. + * + * Empty when stdout was streamed via `command/exec/outputDelta`. + */ + stdout: string; + /** + * Buffered stderr capture. + * + * Empty when stderr was streamed via `command/exec/outputDelta`. + */ + stderr: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminalSize.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminalSize.ts index 0bfacb62c6d..5d409e076d5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminalSize.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminalSize.ts @@ -6,11 +6,12 @@ * PTY size in character cells for `command/exec` PTY sessions. */ export type CommandExecTerminalSize = { -/** - * Terminal height in character cells. - */ -rows: number, -/** - * Terminal width in character cells. - */ -cols: number, }; + /** + * Terminal height in character cells. + */ + rows: number; + /** + * Terminal width in character cells. + */ + cols: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminateParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminateParams.ts index cae97057523..43cbaab71c5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminateParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecTerminateParams.ts @@ -6,8 +6,9 @@ * Terminate a running `command/exec` session. */ export type CommandExecTerminateParams = { -/** - * Client-supplied, connection-scoped `processId` from the original - * `command/exec` request. - */ -processId: string, }; + /** + * Client-supplied, connection-scoped `processId` from the original + * `command/exec` request. + */ + processId: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecWriteParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecWriteParams.ts index 2092c793817..960fadcc872 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecWriteParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecWriteParams.ts @@ -7,16 +7,17 @@ * both. */ export type CommandExecWriteParams = { -/** - * Client-supplied, connection-scoped `processId` from the original - * `command/exec` request. - */ -processId: string, -/** - * Optional base64-encoded stdin bytes to write. - */ -deltaBase64?: string | null, -/** - * Close stdin after writing `deltaBase64`, if present. - */ -closeStdin?: boolean, }; + /** + * Client-supplied, connection-scoped `processId` from the original + * `command/exec` request. + */ + processId: string; + /** + * Optional base64-encoded stdin bytes to write. + */ + deltaBase64?: string | null; + /** + * Close stdin after writing `deltaBase64`, if present. + */ + closeStdin?: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionApprovalDecision.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionApprovalDecision.ts index 1eab5b67015..d6404e44b03 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionApprovalDecision.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionApprovalDecision.ts @@ -4,4 +4,10 @@ import type { ExecPolicyAmendment } from "./ExecPolicyAmendment.js"; import type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment.js"; -export type CommandExecutionApprovalDecision = "accept" | "acceptForSession" | { "acceptWithExecpolicyAmendment": { execpolicy_amendment: ExecPolicyAmendment, } } | { "applyNetworkPolicyAmendment": { network_policy_amendment: NetworkPolicyAmendment, } } | "decline" | "cancel"; +export type CommandExecutionApprovalDecision = + | "accept" + | "acceptForSession" + | { acceptWithExecpolicyAmendment: { execpolicy_amendment: ExecPolicyAmendment } } + | { applyNetworkPolicyAmendment: { network_policy_amendment: NetworkPolicyAmendment } } + | "decline" + | "cancel"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionOutputDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionOutputDeltaNotification.ts index 90a4ae17e6d..c476d448abe 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionOutputDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionOutputDeltaNotification.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type CommandExecutionOutputDeltaNotification = { threadId: string, turnId: string, itemId: string, delta: string, }; +export type CommandExecutionOutputDeltaNotification = { + threadId: string; + turnId: string; + itemId: string; + delta: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalParams.ts index 4d55a5aed78..2b1d21b21d3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalParams.ts @@ -9,50 +9,54 @@ import type { ExecPolicyAmendment } from "./ExecPolicyAmendment.js"; import type { NetworkApprovalContext } from "./NetworkApprovalContext.js"; import type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment.js"; -export type CommandExecutionRequestApprovalParams = { threadId: string, turnId: string, itemId: string, -/** - * Unique identifier for this specific approval callback. - * - * For regular shell/unified_exec approvals, this is null. - * - * For zsh-exec-bridge subcommand approvals, multiple callbacks can belong to - * one parent `itemId`, so `approvalId` is a distinct opaque callback id - * (a UUID) used to disambiguate routing. - */ -approvalId?: string | null, -/** - * Optional explanatory reason (e.g. request for network access). - */ -reason?: string | null, -/** - * Optional context for a managed-network approval prompt. - */ -networkApprovalContext?: NetworkApprovalContext | null, -/** - * The command to be executed. - */ -command?: string | null, -/** - * The command's working directory. - */ -cwd?: AbsolutePathBuf | null, -/** - * Best-effort parsed command actions for friendly display. - */ -commandActions?: Array | null, -/** - * Optional additional permissions requested for this command. - */ -additionalPermissions?: AdditionalPermissionProfile | null, -/** - * Optional proposed execpolicy amendment to allow similar commands without prompting. - */ -proposedExecpolicyAmendment?: ExecPolicyAmendment | null, -/** - * Optional proposed network policy amendments (allow/deny host) for future requests. - */ -proposedNetworkPolicyAmendments?: Array | null, -/** - * Ordered list of decisions the client may present for this prompt. - */ -availableDecisions?: Array | null, }; +export type CommandExecutionRequestApprovalParams = { + threadId: string; + turnId: string; + itemId: string; + /** + * Unique identifier for this specific approval callback. + * + * For regular shell/unified_exec approvals, this is null. + * + * For zsh-exec-bridge subcommand approvals, multiple callbacks can belong to + * one parent `itemId`, so `approvalId` is a distinct opaque callback id + * (a UUID) used to disambiguate routing. + */ + approvalId?: string | null; + /** + * Optional explanatory reason (e.g. request for network access). + */ + reason?: string | null; + /** + * Optional context for a managed-network approval prompt. + */ + networkApprovalContext?: NetworkApprovalContext | null; + /** + * The command to be executed. + */ + command?: string | null; + /** + * The command's working directory. + */ + cwd?: AbsolutePathBuf | null; + /** + * Best-effort parsed command actions for friendly display. + */ + commandActions?: Array | null; + /** + * Optional additional permissions requested for this command. + */ + additionalPermissions?: AdditionalPermissionProfile | null; + /** + * Optional proposed execpolicy amendment to allow similar commands without prompting. + */ + proposedExecpolicyAmendment?: ExecPolicyAmendment | null; + /** + * Optional proposed network policy amendments (allow/deny host) for future requests. + */ + proposedNetworkPolicyAmendments?: Array | null; + /** + * Ordered list of decisions the client may present for this prompt. + */ + availableDecisions?: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalResponse.ts index 738db4cbe0d..1a02bbf6a60 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionRequestApprovalResponse.ts @@ -3,4 +3,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { CommandExecutionApprovalDecision } from "./CommandExecutionApprovalDecision.js"; -export type CommandExecutionRequestApprovalResponse = { decision: CommandExecutionApprovalDecision, }; +export type CommandExecutionRequestApprovalResponse = { + decision: CommandExecutionApprovalDecision; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionSource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionSource.ts index 9432841fb7c..790b65b7ed1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionSource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CommandExecutionSource.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type CommandExecutionSource = "agent" | "userShell" | "unifiedExecStartup" | "unifiedExecInteraction"; +export type CommandExecutionSource = + | "agent" + | "userShell" + | "unifiedExecStartup" + | "unifiedExecInteraction"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Config.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Config.ts index 9b0488ba92d..03208042402 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Config.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Config.ts @@ -4,10 +4,10 @@ import type { ForcedLoginMethod } from "../ForcedLoginMethod.js"; import type { ReasoningEffort } from "../ReasoningEffort.js"; import type { ReasoningSummary } from "../ReasoningSummary.js"; +import type { JsonValue } from "../serde_json/JsonValue.js"; import type { ServiceTier } from "../ServiceTier.js"; import type { Verbosity } from "../Verbosity.js"; import type { WebSearchMode } from "../WebSearchMode.js"; -import type { JsonValue } from "../serde_json/JsonValue.js"; import type { AnalyticsConfig } from "./AnalyticsConfig.js"; import type { ApprovalsReviewer } from "./ApprovalsReviewer.js"; import type { AskForApproval } from "./AskForApproval.js"; @@ -16,8 +16,39 @@ import type { SandboxMode } from "./SandboxMode.js"; import type { SandboxWorkspaceWrite } from "./SandboxWorkspaceWrite.js"; import type { ToolsV2 } from "./ToolsV2.js"; -export type Config = {model: string | null, review_model: string | null, model_context_window: bigint | null, model_auto_compact_token_limit: bigint | null, model_provider: string | null, approval_policy: AskForApproval | null, /** - * [UNSTABLE] Optional default for where approval requests are routed for - * review. - */ -approvals_reviewer: ApprovalsReviewer | null, sandbox_mode: SandboxMode | null, sandbox_workspace_write: SandboxWorkspaceWrite | null, forced_chatgpt_workspace_id: string | null, forced_login_method: ForcedLoginMethod | null, web_search: WebSearchMode | null, tools: ToolsV2 | null, profile: string | null, profiles: { [key in string]?: ProfileV2 }, instructions: string | null, developer_instructions: string | null, compact_prompt: string | null, model_reasoning_effort: ReasoningEffort | null, model_reasoning_summary: ReasoningSummary | null, model_verbosity: Verbosity | null, service_tier: ServiceTier | null, analytics: AnalyticsConfig | null} & ({ [key in string]?: number | string | boolean | Array | { [key in string]?: JsonValue } | null }); +export type Config = { + model: string | null; + review_model: string | null; + model_context_window: bigint | null; + model_auto_compact_token_limit: bigint | null; + model_provider: string | null; + approval_policy: AskForApproval | null /** + * [UNSTABLE] Optional default for where approval requests are routed for + * review. + */; + approvals_reviewer: ApprovalsReviewer | null; + sandbox_mode: SandboxMode | null; + sandbox_workspace_write: SandboxWorkspaceWrite | null; + forced_chatgpt_workspace_id: string | null; + forced_login_method: ForcedLoginMethod | null; + web_search: WebSearchMode | null; + tools: ToolsV2 | null; + profile: string | null; + profiles: { [key in string]?: ProfileV2 }; + instructions: string | null; + developer_instructions: string | null; + compact_prompt: string | null; + model_reasoning_effort: ReasoningEffort | null; + model_reasoning_summary: ReasoningSummary | null; + model_verbosity: Verbosity | null; + service_tier: ServiceTier | null; + analytics: AnalyticsConfig | null; +} & { + [key in string]?: + | number + | string + | boolean + | Array + | { [key in string]?: JsonValue } + | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigBatchWriteParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigBatchWriteParams.ts index ba20efaf936..c763ac23a2f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigBatchWriteParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigBatchWriteParams.ts @@ -3,12 +3,15 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfigEdit } from "./ConfigEdit.js"; -export type ConfigBatchWriteParams = { edits: Array, -/** - * Path to the config file to write; defaults to the user's `config.toml` when omitted. - */ -filePath?: string | null, expectedVersion?: string | null, -/** - * When true, hot-reload the updated user config into all loaded threads after writing. - */ -reloadUserConfig?: boolean, }; +export type ConfigBatchWriteParams = { + edits: Array; + /** + * Path to the config file to write; defaults to the user's `config.toml` when omitted. + */ + filePath?: string | null; + expectedVersion?: string | null; + /** + * When true, hot-reload the updated user config into all loaded threads after writing. + */ + reloadUserConfig?: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigEdit.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigEdit.ts index 2d35740f0f1..92a26a15271 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigEdit.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigEdit.ts @@ -4,4 +4,4 @@ import type { JsonValue } from "../serde_json/JsonValue.js"; import type { MergeStrategy } from "./MergeStrategy.js"; -export type ConfigEdit = { keyPath: string, value: JsonValue, mergeStrategy: MergeStrategy, }; +export type ConfigEdit = { keyPath: string; value: JsonValue; mergeStrategy: MergeStrategy }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayer.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayer.ts index 6e0d9120e69..f48ad34a055 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayer.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayer.ts @@ -4,4 +4,9 @@ import type { JsonValue } from "../serde_json/JsonValue.js"; import type { ConfigLayerSource } from "./ConfigLayerSource.js"; -export type ConfigLayer = { name: ConfigLayerSource, version: string, config: JsonValue, disabledReason: string | null, }; +export type ConfigLayer = { + name: ConfigLayerSource; + version: string; + config: JsonValue; + disabledReason: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerMetadata.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerMetadata.ts index ab1e0e0b9b5..26d4e976305 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerMetadata.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerMetadata.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfigLayerSource } from "./ConfigLayerSource.js"; -export type ConfigLayerMetadata = { name: ConfigLayerSource, version: string, }; +export type ConfigLayerMetadata = { name: ConfigLayerSource; version: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerSource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerSource.ts index 7bfe796b145..2941dfe7e41 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerSource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigLayerSource.ts @@ -3,14 +3,25 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type ConfigLayerSource = { "type": "mdm", domain: string, key: string, } | { "type": "system", -/** - * This is the path to the system config.toml file, though it is not - * guaranteed to exist. - */ -file: AbsolutePathBuf, } | { "type": "user", -/** - * This is the path to the user's config.toml file, though it is not - * guaranteed to exist. - */ -file: AbsolutePathBuf, } | { "type": "project", dotCodexFolder: AbsolutePathBuf, } | { "type": "sessionFlags" } | { "type": "legacyManagedConfigTomlFromFile", file: AbsolutePathBuf, } | { "type": "legacyManagedConfigTomlFromMdm" }; +export type ConfigLayerSource = + | { type: "mdm"; domain: string; key: string } + | { + type: "system"; + /** + * This is the path to the system config.toml file, though it is not + * guaranteed to exist. + */ + file: AbsolutePathBuf; + } + | { + type: "user"; + /** + * This is the path to the user's config.toml file, though it is not + * guaranteed to exist. + */ + file: AbsolutePathBuf; + } + | { type: "project"; dotCodexFolder: AbsolutePathBuf } + | { type: "sessionFlags" } + | { type: "legacyManagedConfigTomlFromFile"; file: AbsolutePathBuf } + | { type: "legacyManagedConfigTomlFromMdm" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadParams.ts index 1fd418d1820..7e14e83f047 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadParams.ts @@ -2,10 +2,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ConfigReadParams = { includeLayers: boolean, -/** - * Optional working directory to resolve project config layers. If specified, - * return the effective config as seen from that directory (i.e., including any - * project layers between `cwd` and the project/repo root). - */ -cwd?: string | null, }; +export type ConfigReadParams = { + includeLayers: boolean; + /** + * Optional working directory to resolve project config layers. If specified, + * return the effective config as seen from that directory (i.e., including any + * project layers between `cwd` and the project/repo root). + */ + cwd?: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadResponse.ts index d6200223fc7..edf3436d977 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigReadResponse.ts @@ -5,4 +5,8 @@ import type { Config } from "./Config.js"; import type { ConfigLayer } from "./ConfigLayer.js"; import type { ConfigLayerMetadata } from "./ConfigLayerMetadata.js"; -export type ConfigReadResponse = { config: Config, origins: { [key in string]?: ConfigLayerMetadata }, layers: Array | null, }; +export type ConfigReadResponse = { + config: Config; + origins: { [key in string]?: ConfigLayerMetadata }; + layers: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirements.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirements.ts index 6cda0de9d9d..e4e59b77958 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirements.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirements.ts @@ -6,4 +6,10 @@ import type { AskForApproval } from "./AskForApproval.js"; import type { ResidencyRequirement } from "./ResidencyRequirement.js"; import type { SandboxMode } from "./SandboxMode.js"; -export type ConfigRequirements = {allowedApprovalPolicies: Array | null, allowedSandboxModes: Array | null, allowedWebSearchModes: Array | null, featureRequirements: { [key in string]?: boolean } | null, enforceResidency: ResidencyRequirement | null}; +export type ConfigRequirements = { + allowedApprovalPolicies: Array | null; + allowedSandboxModes: Array | null; + allowedWebSearchModes: Array | null; + featureRequirements: { [key in string]?: boolean } | null; + enforceResidency: ResidencyRequirement | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirementsReadResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirementsReadResponse.ts index 5a344b4a9d7..e030f512cd9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirementsReadResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigRequirementsReadResponse.ts @@ -4,7 +4,8 @@ import type { ConfigRequirements } from "./ConfigRequirements.js"; export type ConfigRequirementsReadResponse = { -/** - * Null if no requirements are configured (e.g. no requirements.toml/MDM entries). - */ -requirements: ConfigRequirements | null, }; + /** + * Null if no requirements are configured (e.g. no requirements.toml/MDM entries). + */ + requirements: ConfigRequirements | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigValueWriteParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigValueWriteParams.ts index 93657ea6d58..37b2f44ffe2 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigValueWriteParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigValueWriteParams.ts @@ -4,8 +4,13 @@ import type { JsonValue } from "../serde_json/JsonValue.js"; import type { MergeStrategy } from "./MergeStrategy.js"; -export type ConfigValueWriteParams = { keyPath: string, value: JsonValue, mergeStrategy: MergeStrategy, -/** - * Path to the config file to write; defaults to the user's `config.toml` when omitted. - */ -filePath?: string | null, expectedVersion?: string | null, }; +export type ConfigValueWriteParams = { + keyPath: string; + value: JsonValue; + mergeStrategy: MergeStrategy; + /** + * Path to the config file to write; defaults to the user's `config.toml` when omitted. + */ + filePath?: string | null; + expectedVersion?: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWarningNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWarningNotification.ts index cd7a384458e..f6be1f97f6b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWarningNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWarningNotification.ts @@ -4,19 +4,20 @@ import type { TextRange } from "./TextRange.js"; export type ConfigWarningNotification = { -/** - * Concise summary of the warning. - */ -summary: string, -/** - * Optional extra guidance or error details. - */ -details: string | null, -/** - * Optional path to the config file that triggered the warning. - */ -path?: string, -/** - * Optional range for the error location inside the config file. - */ -range?: TextRange, }; + /** + * Concise summary of the warning. + */ + summary: string; + /** + * Optional extra guidance or error details. + */ + details: string | null; + /** + * Optional path to the config file that triggered the warning. + */ + path?: string; + /** + * Optional range for the error location inside the config file. + */ + range?: TextRange; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWriteResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWriteResponse.ts index 9fe4cdaa503..43560042d03 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWriteResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfigWriteResponse.ts @@ -5,8 +5,12 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { OverriddenMetadata } from "./OverriddenMetadata.js"; import type { WriteStatus } from "./WriteStatus.js"; -export type ConfigWriteResponse = { status: WriteStatus, version: string, -/** - * Canonical path to the config file that was written. - */ -filePath: AbsolutePathBuf, overriddenMetadata: OverriddenMetadata | null, }; +export type ConfigWriteResponse = { + status: WriteStatus; + version: string; + /** + * Canonical path to the config file that was written. + */ + filePath: AbsolutePathBuf; + overriddenMetadata: OverriddenMetadata | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookHandler.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookHandler.ts index a81ce61f6e9..da81b015d96 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookHandler.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookHandler.ts @@ -2,4 +2,13 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ConfiguredHookHandler = { "type": "command", command: string, timeoutSec: bigint | null, async: boolean, statusMessage: string | null, } | { "type": "prompt", } | { "type": "agent", }; +export type ConfiguredHookHandler = + | { + type: "command"; + command: string; + timeoutSec: bigint | null; + async: boolean; + statusMessage: string | null; + } + | { type: "prompt" } + | { type: "agent" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookMatcherGroup.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookMatcherGroup.ts index d3076993dad..ee08ee7b1e0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookMatcherGroup.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ConfiguredHookMatcherGroup.ts @@ -3,4 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfiguredHookHandler } from "./ConfiguredHookHandler.js"; -export type ConfiguredHookMatcherGroup = { matcher: string | null, hooks: Array, }; +export type ConfiguredHookMatcherGroup = { + matcher: string | null; + hooks: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ContextCompactedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ContextCompactedNotification.ts index 6927609de7e..bb6825365bb 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ContextCompactedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ContextCompactedNotification.ts @@ -5,4 +5,4 @@ /** * Deprecated: Use `ContextCompaction` item type instead. */ -export type ContextCompactedNotification = { threadId: string, turnId: string, }; +export type ContextCompactedNotification = { threadId: string; turnId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CreditsSnapshot.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CreditsSnapshot.ts index 94577df6904..dd5e746f6da 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/CreditsSnapshot.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/CreditsSnapshot.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type CreditsSnapshot = { hasCredits: boolean, unlimited: boolean, balance: string | null, }; +export type CreditsSnapshot = { hasCredits: boolean; unlimited: boolean; balance: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeprecationNoticeNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeprecationNoticeNotification.ts index 29b61171576..54f3d085c08 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeprecationNoticeNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeprecationNoticeNotification.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type DeprecationNoticeNotification = { -/** - * Concise summary of what is deprecated. - */ -summary: string, -/** - * Optional extra guidance, such as migration steps or rationale. - */ -details: string | null, }; + /** + * Concise summary of what is deprecated. + */ + summary: string; + /** + * Optional extra guidance, such as migration steps or rationale. + */ + details: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateParams.ts index fcb4133bc99..485b6a7c9e3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateParams.ts @@ -7,7 +7,10 @@ import type { DeviceKeyProtectionPolicy } from "./DeviceKeyProtectionPolicy.js"; * Create a controller-local device key with a random key id. */ export type DeviceKeyCreateParams = { -/** - * Defaults to `hardware_only` when omitted. - */ -protectionPolicy?: DeviceKeyProtectionPolicy | null, accountUserId: string, clientId: string, }; + /** + * Defaults to `hardware_only` when omitted. + */ + protectionPolicy?: DeviceKeyProtectionPolicy | null; + accountUserId: string; + clientId: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateResponse.ts index 65e1bc18e03..a7b8ebcfd9a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyCreateResponse.ts @@ -7,8 +7,12 @@ import type { DeviceKeyProtectionClass } from "./DeviceKeyProtectionClass.js"; /** * Device-key metadata and public key returned by create/public APIs. */ -export type DeviceKeyCreateResponse = { keyId: string, -/** - * SubjectPublicKeyInfo DER encoded as base64. - */ -publicKeySpkiDerBase64: string, algorithm: DeviceKeyAlgorithm, protectionClass: DeviceKeyProtectionClass, }; +export type DeviceKeyCreateResponse = { + keyId: string; + /** + * SubjectPublicKeyInfo DER encoded as base64. + */ + publicKeySpkiDerBase64: string; + algorithm: DeviceKeyAlgorithm; + protectionClass: DeviceKeyProtectionClass; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyProtectionClass.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyProtectionClass.ts index ba7ff311ade..fd3471b71c6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyProtectionClass.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyProtectionClass.ts @@ -5,4 +5,7 @@ /** * Platform protection class for a controller-local device key. */ -export type DeviceKeyProtectionClass = "hardware_secure_enclave" | "hardware_tpm" | "os_protected_nonextractable"; +export type DeviceKeyProtectionClass = + | "hardware_secure_enclave" + | "hardware_tpm" + | "os_protected_nonextractable"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicParams.ts index 5a5b77899d3..06442578a80 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicParams.ts @@ -5,4 +5,4 @@ /** * Fetch a controller-local device key public key by id. */ -export type DeviceKeyPublicParams = { keyId: string, }; +export type DeviceKeyPublicParams = { keyId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicResponse.ts index 92563f07160..46176860cc1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeyPublicResponse.ts @@ -7,8 +7,12 @@ import type { DeviceKeyProtectionClass } from "./DeviceKeyProtectionClass.js"; /** * Device-key public metadata returned by `device/key/public`. */ -export type DeviceKeyPublicResponse = { keyId: string, -/** - * SubjectPublicKeyInfo DER encoded as base64. - */ -publicKeySpkiDerBase64: string, algorithm: DeviceKeyAlgorithm, protectionClass: DeviceKeyProtectionClass, }; +export type DeviceKeyPublicResponse = { + keyId: string; + /** + * SubjectPublicKeyInfo DER encoded as base64. + */ + publicKeySpkiDerBase64: string; + algorithm: DeviceKeyAlgorithm; + protectionClass: DeviceKeyProtectionClass; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignParams.ts index 51a848db003..bbb37c9a2af 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignParams.ts @@ -6,4 +6,4 @@ import type { DeviceKeySignPayload } from "./DeviceKeySignPayload.js"; /** * Sign an accepted structured payload with a controller-local device key. */ -export type DeviceKeySignParams = { keyId: string, payload: DeviceKeySignPayload, }; +export type DeviceKeySignParams = { keyId: string; payload: DeviceKeySignPayload }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignPayload.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignPayload.ts index da14b0e87e6..269026544ff 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignPayload.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignPayload.ts @@ -7,48 +7,62 @@ import type { RemoteControlClientEnrollmentAudience } from "./RemoteControlClien /** * Structured payloads accepted by `device/key/sign`. */ -export type DeviceKeySignPayload = { "type": "remoteControlClientConnection", nonce: string, audience: RemoteControlClientConnectionAudience, -/** - * Backend-issued websocket session id that this proof authorizes. - */ -sessionId: string, -/** - * Origin of the backend endpoint that issued the challenge and will verify this proof. - */ -targetOrigin: string, -/** - * Websocket route path that this proof authorizes. - */ -targetPath: string, accountUserId: string, clientId: string, -/** - * Remote-control token expiration as Unix seconds. - */ -tokenExpiresAt: number, -/** - * SHA-256 of the controller-scoped remote-control token, encoded as unpadded base64url. - */ -tokenSha256Base64url: string, -/** - * Must contain exactly `remote_control_controller_websocket`. - */ -scopes: Array, } | { "type": "remoteControlClientEnrollment", nonce: string, audience: RemoteControlClientEnrollmentAudience, -/** - * Backend-issued enrollment challenge id that this proof authorizes. - */ -challengeId: string, -/** - * Origin of the backend endpoint that issued the challenge and will verify this proof. - */ -targetOrigin: string, -/** - * HTTP route path that this proof authorizes. - */ -targetPath: string, accountUserId: string, clientId: string, -/** - * SHA-256 of the requested device identity operation, encoded as unpadded base64url. - */ -deviceIdentitySha256Base64url: string, -/** - * Enrollment challenge expiration as Unix seconds. - */ -challengeExpiresAt: number, }; +export type DeviceKeySignPayload = + | { + type: "remoteControlClientConnection"; + nonce: string; + audience: RemoteControlClientConnectionAudience; + /** + * Backend-issued websocket session id that this proof authorizes. + */ + sessionId: string; + /** + * Origin of the backend endpoint that issued the challenge and will verify this proof. + */ + targetOrigin: string; + /** + * Websocket route path that this proof authorizes. + */ + targetPath: string; + accountUserId: string; + clientId: string; + /** + * Remote-control token expiration as Unix seconds. + */ + tokenExpiresAt: number; + /** + * SHA-256 of the controller-scoped remote-control token, encoded as unpadded base64url. + */ + tokenSha256Base64url: string; + /** + * Must contain exactly `remote_control_controller_websocket`. + */ + scopes: Array; + } + | { + type: "remoteControlClientEnrollment"; + nonce: string; + audience: RemoteControlClientEnrollmentAudience; + /** + * Backend-issued enrollment challenge id that this proof authorizes. + */ + challengeId: string; + /** + * Origin of the backend endpoint that issued the challenge and will verify this proof. + */ + targetOrigin: string; + /** + * HTTP route path that this proof authorizes. + */ + targetPath: string; + accountUserId: string; + clientId: string; + /** + * SHA-256 of the requested device identity operation, encoded as unpadded base64url. + */ + deviceIdentitySha256Base64url: string; + /** + * Enrollment challenge expiration as Unix seconds. + */ + challengeExpiresAt: number; + }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignResponse.ts index 3e97af79738..b3882f463be 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DeviceKeySignResponse.ts @@ -7,12 +7,14 @@ import type { DeviceKeyAlgorithm } from "./DeviceKeyAlgorithm.js"; * ASN.1 DER signature returned by `device/key/sign`. */ export type DeviceKeySignResponse = { -/** - * ECDSA signature DER encoded as base64. - */ -signatureDerBase64: string, -/** - * Exact bytes signed by the device key, encoded as base64. Verifiers must verify this byte - * string directly and must not reserialize `payload`. - */ -signedPayloadBase64: string, algorithm: DeviceKeyAlgorithm, }; + /** + * ECDSA signature DER encoded as base64. + */ + signatureDerBase64: string; + /** + * Exact bytes signed by the device key, encoded as base64. Verifiers must verify this byte + * string directly and must not reserialize `payload`. + */ + signedPayloadBase64: string; + algorithm: DeviceKeyAlgorithm; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallOutputContentItem.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallOutputContentItem.ts index 8f432109d1b..c2fb2785582 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallOutputContentItem.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallOutputContentItem.ts @@ -2,4 +2,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type DynamicToolCallOutputContentItem = { "type": "inputText", text: string, } | { "type": "inputImage", imageUrl: string, }; +export type DynamicToolCallOutputContentItem = + | { type: "inputText"; text: string } + | { type: "inputImage"; imageUrl: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallParams.ts index e67df37b8b4..d35926a4f04 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallParams.ts @@ -3,4 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type DynamicToolCallParams = { threadId: string, turnId: string, callId: string, namespace: string | null, tool: string, arguments: JsonValue, }; +export type DynamicToolCallParams = { + threadId: string; + turnId: string; + callId: string; + namespace: string | null; + tool: string; + arguments: JsonValue; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallResponse.ts index 913fc643300..5e1e84b0956 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolCallResponse.ts @@ -3,4 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { DynamicToolCallOutputContentItem } from "./DynamicToolCallOutputContentItem.js"; -export type DynamicToolCallResponse = { contentItems: Array, success: boolean, }; +export type DynamicToolCallResponse = { + contentItems: Array; + success: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolSpec.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolSpec.ts index 290cdb86d4d..5f9176ac05d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolSpec.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/DynamicToolSpec.ts @@ -3,4 +3,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type DynamicToolSpec = { namespace?: string, name: string, description: string, inputSchema: JsonValue, deferLoading?: boolean, }; +export type DynamicToolSpec = { + namespace?: string; + name: string; + description: string; + inputSchema: JsonValue; + deferLoading?: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ErrorNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ErrorNotification.ts index 16755cc0050..c0cacfc8794 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ErrorNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ErrorNotification.ts @@ -3,4 +3,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TurnError } from "./TurnError.js"; -export type ErrorNotification = { error: TurnError, willRetry: boolean, threadId: string, turnId: string, }; +export type ErrorNotification = { + error: TurnError; + willRetry: boolean; + threadId: string; + turnId: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeature.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeature.ts index ebcc38d1b2d..6b44cc29cd1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeature.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeature.ts @@ -4,34 +4,35 @@ import type { ExperimentalFeatureStage } from "./ExperimentalFeatureStage.js"; export type ExperimentalFeature = { -/** - * Stable key used in config.toml and CLI flag toggles. - */ -name: string, -/** - * Lifecycle stage of this feature flag. - */ -stage: ExperimentalFeatureStage, -/** - * User-facing display name shown in the experimental features UI. - * Null when this feature is not in beta. - */ -displayName: string | null, -/** - * Short summary describing what the feature does. - * Null when this feature is not in beta. - */ -description: string | null, -/** - * Announcement copy shown to users when the feature is introduced. - * Null when this feature is not in beta. - */ -announcement: string | null, -/** - * Whether this feature is currently enabled in the loaded config. - */ -enabled: boolean, -/** - * Whether this feature is enabled by default. - */ -defaultEnabled: boolean, }; + /** + * Stable key used in config.toml and CLI flag toggles. + */ + name: string; + /** + * Lifecycle stage of this feature flag. + */ + stage: ExperimentalFeatureStage; + /** + * User-facing display name shown in the experimental features UI. + * Null when this feature is not in beta. + */ + displayName: string | null; + /** + * Short summary describing what the feature does. + * Null when this feature is not in beta. + */ + description: string | null; + /** + * Announcement copy shown to users when the feature is introduced. + * Null when this feature is not in beta. + */ + announcement: string | null; + /** + * Whether this feature is currently enabled in the loaded config. + */ + enabled: boolean; + /** + * Whether this feature is enabled by default. + */ + defaultEnabled: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetParams.ts index d96955bf3dc..de388e3dc62 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetParams.ts @@ -3,10 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ExperimentalFeatureEnablementSetParams = { -/** - * Process-wide runtime feature enablement keyed by canonical feature name. - * - * Only named features are updated. Omitted features are left unchanged. - * Send an empty map for a no-op. - */ -enablement: { [key in string]?: boolean }, }; + /** + * Process-wide runtime feature enablement keyed by canonical feature name. + * + * Only named features are updated. Omitted features are left unchanged. + * Send an empty map for a no-op. + */ + enablement: { [key in string]?: boolean }; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetResponse.ts index d0a8975b817..e3349d166d7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureEnablementSetResponse.ts @@ -3,7 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ExperimentalFeatureEnablementSetResponse = { -/** - * Feature enablement entries updated by this request. - */ -enablement: { [key in string]?: boolean }, }; + /** + * Feature enablement entries updated by this request. + */ + enablement: { [key in string]?: boolean }; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListParams.ts index 0a1555d9980..b17c8a637e4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListParams.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ExperimentalFeatureListParams = { -/** - * Opaque pagination cursor returned by a previous call. - */ -cursor?: string | null, -/** - * Optional page size; defaults to a reasonable server-side value. - */ -limit?: number | null, }; + /** + * Opaque pagination cursor returned by a previous call. + */ + cursor?: string | null; + /** + * Optional page size; defaults to a reasonable server-side value. + */ + limit?: number | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListResponse.ts index f64216ffcf9..c874344b568 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureListResponse.ts @@ -3,9 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ExperimentalFeature } from "./ExperimentalFeature.js"; -export type ExperimentalFeatureListResponse = { data: Array, -/** - * Opaque cursor to pass to the next call to continue after the last item. - * If None, there are no more items to return. - */ -nextCursor: string | null, }; +export type ExperimentalFeatureListResponse = { + data: Array; + /** + * Opaque cursor to pass to the next call to continue after the last item. + * If None, there are no more items to return. + */ + nextCursor: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureStage.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureStage.ts index dbd206e05f7..b72828d4ca3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureStage.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExperimentalFeatureStage.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ExperimentalFeatureStage = "beta" | "underDevelopment" | "stable" | "deprecated" | "removed"; +export type ExperimentalFeatureStage = + | "beta" + | "underDevelopment" + | "stable" + | "deprecated" + | "removed"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectParams.ts index 163d9619253..7a081f254c6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectParams.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ExternalAgentConfigDetectParams = { -/** - * If true, include detection under the user's home (~/.claude, ~/.codex, etc.). - */ -includeHome?: boolean, -/** - * Zero or more working directories to include for repo-scoped detection. - */ -cwds?: Array | null, }; + /** + * If true, include detection under the user's home (~/.claude, ~/.codex, etc.). + */ + includeHome?: boolean; + /** + * Zero or more working directories to include for repo-scoped detection. + */ + cwds?: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectResponse.ts index 6dff400ac48..db6c9c81236 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigDetectResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ExternalAgentConfigMigrationItem } from "./ExternalAgentConfigMigrationItem.js"; -export type ExternalAgentConfigDetectResponse = { items: Array, }; +export type ExternalAgentConfigDetectResponse = { items: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigImportParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigImportParams.ts index ac63fcd7db6..d83473ed92f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigImportParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigImportParams.ts @@ -3,4 +3,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ExternalAgentConfigMigrationItem } from "./ExternalAgentConfigMigrationItem.js"; -export type ExternalAgentConfigImportParams = { migrationItems: Array, }; +export type ExternalAgentConfigImportParams = { + migrationItems: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItem.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItem.ts index 30c0fbbb2bf..a4df7554331 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItem.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItem.ts @@ -4,8 +4,12 @@ import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType.js"; import type { MigrationDetails } from "./MigrationDetails.js"; -export type ExternalAgentConfigMigrationItem = { itemType: ExternalAgentConfigMigrationItemType, description: string, -/** - * Null or empty means home-scoped migration; non-empty means repo-scoped migration. - */ -cwd: string | null, details: MigrationDetails | null, }; +export type ExternalAgentConfigMigrationItem = { + itemType: ExternalAgentConfigMigrationItemType; + description: string; + /** + * Null or empty means home-scoped migration; non-empty means repo-scoped migration. + */ + cwd: string | null; + details: MigrationDetails | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItemType.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItemType.ts index dedc124f041..6e34dcae7a5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItemType.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ExternalAgentConfigMigrationItemType.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ExternalAgentConfigMigrationItemType = "AGENTS_MD" | "CONFIG" | "SKILLS" | "PLUGINS" | "MCP_SERVER_CONFIG"; +export type ExternalAgentConfigMigrationItemType = + | "AGENTS_MD" + | "CONFIG" + | "SKILLS" + | "PLUGINS" + | "MCP_SERVER_CONFIG"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadParams.ts index 86d9de2f0da..4313db5d87a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadParams.ts @@ -2,4 +2,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FeedbackUploadParams = { classification: string, reason?: string | null, threadId?: string | null, includeLogs: boolean, extraLogFiles?: Array | null, tags?: { [key in string]?: string } | null, }; +export type FeedbackUploadParams = { + classification: string; + reason?: string | null; + threadId?: string | null; + includeLogs: boolean; + extraLogFiles?: Array | null; + tags?: { [key in string]?: string } | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadResponse.ts index f0ad9784c03..6b2db6462f1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FeedbackUploadResponse.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FeedbackUploadResponse = { threadId: string, }; +export type FeedbackUploadResponse = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeOutputDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeOutputDeltaNotification.ts index 1018bd8a2b8..3e20ccd51d1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeOutputDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeOutputDeltaNotification.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FileChangeOutputDeltaNotification = { threadId: string, turnId: string, itemId: string, delta: string, }; +export type FileChangeOutputDeltaNotification = { + threadId: string; + turnId: string; + itemId: string; + delta: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangePatchUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangePatchUpdatedNotification.ts index 51b5d3f5be8..9015c2894ae 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangePatchUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangePatchUpdatedNotification.ts @@ -3,4 +3,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FileUpdateChange } from "./FileUpdateChange.js"; -export type FileChangePatchUpdatedNotification = { threadId: string, turnId: string, itemId: string, changes: Array, }; +export type FileChangePatchUpdatedNotification = { + threadId: string; + turnId: string; + itemId: string; + changes: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalParams.ts index c514ed62195..c7855319252 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalParams.ts @@ -2,13 +2,17 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FileChangeRequestApprovalParams = { threadId: string, turnId: string, itemId: string, -/** - * Optional explanatory reason (e.g. request for extra write access). - */ -reason?: string | null, -/** - * [UNSTABLE] When set, the agent is asking the user to allow writes under this root - * for the remainder of the session (unclear if this is honored today). - */ -grantRoot?: string | null, }; +export type FileChangeRequestApprovalParams = { + threadId: string; + turnId: string; + itemId: string; + /** + * Optional explanatory reason (e.g. request for extra write access). + */ + reason?: string | null; + /** + * [UNSTABLE] When set, the agent is asking the user to allow writes under this root + * for the remainder of the session (unclear if this is honored today). + */ + grantRoot?: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalResponse.ts index 42d869606eb..6e528884ad4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileChangeRequestApprovalResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FileChangeApprovalDecision } from "./FileChangeApprovalDecision.js"; -export type FileChangeRequestApprovalResponse = { decision: FileChangeApprovalDecision, }; +export type FileChangeRequestApprovalResponse = { decision: FileChangeApprovalDecision }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemPath.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemPath.ts index e216eda89dd..36dd69193c7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemPath.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemPath.ts @@ -4,4 +4,7 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { FileSystemSpecialPath } from "./FileSystemSpecialPath.js"; -export type FileSystemPath = { "type": "path", path: AbsolutePathBuf, } | { "type": "glob_pattern", pattern: string, } | { "type": "special", value: FileSystemSpecialPath, }; +export type FileSystemPath = + | { type: "path"; path: AbsolutePathBuf } + | { type: "glob_pattern"; pattern: string } + | { type: "special"; value: FileSystemSpecialPath }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSandboxEntry.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSandboxEntry.ts index 4fc55e475e9..ff0a2dabd63 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSandboxEntry.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSandboxEntry.ts @@ -4,4 +4,4 @@ import type { FileSystemAccessMode } from "./FileSystemAccessMode.js"; import type { FileSystemPath } from "./FileSystemPath.js"; -export type FileSystemSandboxEntry = { path: FileSystemPath, access: FileSystemAccessMode, }; +export type FileSystemSandboxEntry = { path: FileSystemPath; access: FileSystemAccessMode }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSpecialPath.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSpecialPath.ts index bf27547ee74..587971263c4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSpecialPath.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileSystemSpecialPath.ts @@ -2,4 +2,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FileSystemSpecialPath = { "kind": "root" } | { "kind": "minimal" } | { "kind": "current_working_directory" } | { "kind": "project_roots", subpath: string | null, } | { "kind": "tmpdir" } | { "kind": "slash_tmp" } | { "kind": "unknown", path: string, subpath: string | null, }; +export type FileSystemSpecialPath = + | { kind: "root" } + | { kind: "minimal" } + | { kind: "current_working_directory" } + | { kind: "project_roots"; subpath: string | null } + | { kind: "tmpdir" } + | { kind: "slash_tmp" } + | { kind: "unknown"; path: string; subpath: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileUpdateChange.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileUpdateChange.ts index 5243aeb8239..914add8a283 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileUpdateChange.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FileUpdateChange.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { PatchChangeKind } from "./PatchChangeKind.js"; -export type FileUpdateChange = { path: string, kind: PatchChangeKind, diff: string, }; +export type FileUpdateChange = { path: string; kind: PatchChangeKind; diff: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsChangedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsChangedNotification.ts index edba1e265ba..34572071185 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsChangedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsChangedNotification.ts @@ -7,11 +7,12 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Filesystem watch notification emitted for `fs/watch` subscribers. */ export type FsChangedNotification = { -/** - * Watch identifier previously provided to `fs/watch`. - */ -watchId: string, -/** - * File or directory paths associated with this event. - */ -changedPaths: Array, }; + /** + * Watch identifier previously provided to `fs/watch`. + */ + watchId: string; + /** + * File or directory paths associated with this event. + */ + changedPaths: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCopyParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCopyParams.ts index 4f2b5cc75e1..59b5906b4b1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCopyParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCopyParams.ts @@ -7,15 +7,16 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Copy a file or directory tree on the host filesystem. */ export type FsCopyParams = { -/** - * Absolute source path. - */ -sourcePath: AbsolutePathBuf, -/** - * Absolute destination path. - */ -destinationPath: AbsolutePathBuf, -/** - * Required for directory copies; ignored for file copies. - */ -recursive?: boolean, }; + /** + * Absolute source path. + */ + sourcePath: AbsolutePathBuf; + /** + * Absolute destination path. + */ + destinationPath: AbsolutePathBuf; + /** + * Required for directory copies; ignored for file copies. + */ + recursive?: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCreateDirectoryParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCreateDirectoryParams.ts index 5abf55b7815..f606ca5fe72 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCreateDirectoryParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsCreateDirectoryParams.ts @@ -7,11 +7,12 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Create a directory on the host filesystem. */ export type FsCreateDirectoryParams = { -/** - * Absolute directory path to create. - */ -path: AbsolutePathBuf, -/** - * Whether parent directories should also be created. Defaults to `true`. - */ -recursive?: boolean | null, }; + /** + * Absolute directory path to create. + */ + path: AbsolutePathBuf; + /** + * Whether parent directories should also be created. Defaults to `true`. + */ + recursive?: boolean | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataParams.ts index f1caa42c716..e4d68d01b24 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataParams.ts @@ -7,7 +7,8 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Request metadata for an absolute path. */ export type FsGetMetadataParams = { -/** - * Absolute path to inspect. - */ -path: AbsolutePathBuf, }; + /** + * Absolute path to inspect. + */ + path: AbsolutePathBuf; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataResponse.ts index a1a127e192f..14352b90800 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsGetMetadataResponse.ts @@ -6,23 +6,24 @@ * Metadata returned by `fs/getMetadata`. */ export type FsGetMetadataResponse = { -/** - * Whether the path resolves to a directory. - */ -isDirectory: boolean, -/** - * Whether the path resolves to a regular file. - */ -isFile: boolean, -/** - * Whether the path itself is a symbolic link. - */ -isSymlink: boolean, -/** - * File creation time in Unix milliseconds when available, otherwise `0`. - */ -createdAtMs: number, -/** - * File modification time in Unix milliseconds when available, otherwise `0`. - */ -modifiedAtMs: number, }; + /** + * Whether the path resolves to a directory. + */ + isDirectory: boolean; + /** + * Whether the path resolves to a regular file. + */ + isFile: boolean; + /** + * Whether the path itself is a symbolic link. + */ + isSymlink: boolean; + /** + * File creation time in Unix milliseconds when available, otherwise `0`. + */ + createdAtMs: number; + /** + * File modification time in Unix milliseconds when available, otherwise `0`. + */ + modifiedAtMs: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryEntry.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryEntry.ts index 197673d2bb2..0d44a75384f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryEntry.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryEntry.ts @@ -6,15 +6,16 @@ * A directory entry returned by `fs/readDirectory`. */ export type FsReadDirectoryEntry = { -/** - * Direct child entry name only, not an absolute or relative path. - */ -fileName: string, -/** - * Whether this entry resolves to a directory. - */ -isDirectory: boolean, -/** - * Whether this entry resolves to a regular file. - */ -isFile: boolean, }; + /** + * Direct child entry name only, not an absolute or relative path. + */ + fileName: string; + /** + * Whether this entry resolves to a directory. + */ + isDirectory: boolean; + /** + * Whether this entry resolves to a regular file. + */ + isFile: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryParams.ts index 11ca9d0c8c4..d025a33d754 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryParams.ts @@ -7,7 +7,8 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * List direct child names for a directory. */ export type FsReadDirectoryParams = { -/** - * Absolute directory path to read. - */ -path: AbsolutePathBuf, }; + /** + * Absolute directory path to read. + */ + path: AbsolutePathBuf; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryResponse.ts index e1c20b12250..3a235bbf35f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadDirectoryResponse.ts @@ -7,7 +7,8 @@ import type { FsReadDirectoryEntry } from "./FsReadDirectoryEntry.js"; * Directory entries returned by `fs/readDirectory`. */ export type FsReadDirectoryResponse = { -/** - * Direct child entries in the requested directory. - */ -entries: Array, }; + /** + * Direct child entries in the requested directory. + */ + entries: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileParams.ts index 5648294dfcd..179c3a46567 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileParams.ts @@ -7,7 +7,8 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Read a file from the host filesystem. */ export type FsReadFileParams = { -/** - * Absolute path to read. - */ -path: AbsolutePathBuf, }; + /** + * Absolute path to read. + */ + path: AbsolutePathBuf; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileResponse.ts index 26b6126970f..15906af2bdd 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsReadFileResponse.ts @@ -6,7 +6,8 @@ * Base64-encoded file contents returned by `fs/readFile`. */ export type FsReadFileResponse = { -/** - * File contents encoded as base64. - */ -dataBase64: string, }; + /** + * File contents encoded as base64. + */ + dataBase64: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsRemoveParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsRemoveParams.ts index da1a3fe6e05..779a9ef7eea 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsRemoveParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsRemoveParams.ts @@ -7,15 +7,16 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Remove a file or directory tree from the host filesystem. */ export type FsRemoveParams = { -/** - * Absolute path to remove. - */ -path: AbsolutePathBuf, -/** - * Whether directory removal should recurse. Defaults to `true`. - */ -recursive?: boolean | null, -/** - * Whether missing paths should be ignored. Defaults to `true`. - */ -force?: boolean | null, }; + /** + * Absolute path to remove. + */ + path: AbsolutePathBuf; + /** + * Whether directory removal should recurse. Defaults to `true`. + */ + recursive?: boolean | null; + /** + * Whether missing paths should be ignored. Defaults to `true`. + */ + force?: boolean | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsUnwatchParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsUnwatchParams.ts index ff314814f03..d3f6198b9a8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsUnwatchParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsUnwatchParams.ts @@ -6,7 +6,8 @@ * Stop filesystem watch notifications for a prior `fs/watch`. */ export type FsUnwatchParams = { -/** - * Watch identifier previously provided to `fs/watch`. - */ -watchId: string, }; + /** + * Watch identifier previously provided to `fs/watch`. + */ + watchId: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchParams.ts index f7d1c6a1367..a665c4c5cbb 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchParams.ts @@ -7,11 +7,12 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Start filesystem watch notifications for an absolute path. */ export type FsWatchParams = { -/** - * Connection-scoped watch identifier used for `fs/unwatch` and `fs/changed`. - */ -watchId: string, -/** - * Absolute file or directory path to watch. - */ -path: AbsolutePathBuf, }; + /** + * Connection-scoped watch identifier used for `fs/unwatch` and `fs/changed`. + */ + watchId: string; + /** + * Absolute file or directory path to watch. + */ + path: AbsolutePathBuf; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchResponse.ts index 18e3fc8ea4f..180484c7c24 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWatchResponse.ts @@ -7,7 +7,8 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Successful response for `fs/watch`. */ export type FsWatchResponse = { -/** - * Canonicalized path associated with the watch. - */ -path: AbsolutePathBuf, }; + /** + * Canonicalized path associated with the watch. + */ + path: AbsolutePathBuf; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWriteFileParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWriteFileParams.ts index ba2d69c756e..97322921683 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWriteFileParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/FsWriteFileParams.ts @@ -7,11 +7,12 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; * Write a file on the host filesystem. */ export type FsWriteFileParams = { -/** - * Absolute path to write. - */ -path: AbsolutePathBuf, -/** - * File contents encoded as base64. - */ -dataBase64: string, }; + /** + * Absolute path to write. + */ + path: AbsolutePathBuf; + /** + * File contents encoded as base64. + */ + dataBase64: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountParams.ts index a5c5c25f664..c297c3e0d73 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountParams.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type GetAccountParams = { -/** - * When `true`, requests a proactive token refresh before returning. - * - * In managed auth mode this triggers the normal refresh-token flow. In - * external auth mode this flag is ignored. Clients should refresh tokens - * themselves and call `account/login/start` with `chatgptAuthTokens`. - */ -refreshToken: boolean, }; + /** + * When `true`, requests a proactive token refresh before returning. + * + * In managed auth mode this triggers the normal refresh-token flow. In + * external auth mode this flag is ignored. Clients should refresh tokens + * themselves and call `account/login/start` with `chatgptAuthTokens`. + */ + refreshToken: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountRateLimitsResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountRateLimitsResponse.ts index 152dca531e2..ffb594807db 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountRateLimitsResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountRateLimitsResponse.ts @@ -4,11 +4,12 @@ import type { RateLimitSnapshot } from "./RateLimitSnapshot.js"; export type GetAccountRateLimitsResponse = { -/** - * Backward-compatible single-bucket view; mirrors the historical payload. - */ -rateLimits: RateLimitSnapshot, -/** - * Multi-bucket view keyed by metered `limit_id` (for example, `codex`). - */ -rateLimitsByLimitId: { [key in string]?: RateLimitSnapshot } | null, }; + /** + * Backward-compatible single-bucket view; mirrors the historical payload. + */ + rateLimits: RateLimitSnapshot; + /** + * Multi-bucket view keyed by metered `limit_id` (for example, `codex`). + */ + rateLimitsByLimitId: { [key in string]?: RateLimitSnapshot } | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountResponse.ts index f3621030f41..77f00e83aea 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GetAccountResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Account } from "./Account.js"; -export type GetAccountResponse = { account: Account | null, requiresOpenaiAuth: boolean, }; +export type GetAccountResponse = { account: Account | null; requiresOpenaiAuth: boolean }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GitInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GitInfo.ts index 9559272a0f9..ea62ce27226 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GitInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GitInfo.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type GitInfo = { sha: string | null, branch: string | null, originUrl: string | null, }; +export type GitInfo = { sha: string | null; branch: string | null; originUrl: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GrantedPermissionProfile.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GrantedPermissionProfile.ts index 9bc4044d4ae..70b804fa6fd 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GrantedPermissionProfile.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GrantedPermissionProfile.ts @@ -4,4 +4,7 @@ import type { AdditionalFileSystemPermissions } from "./AdditionalFileSystemPermissions.js"; import type { AdditionalNetworkPermissions } from "./AdditionalNetworkPermissions.js"; -export type GrantedPermissionProfile = { network?: AdditionalNetworkPermissions, fileSystem?: AdditionalFileSystemPermissions, }; +export type GrantedPermissionProfile = { + network?: AdditionalNetworkPermissions; + fileSystem?: AdditionalFileSystemPermissions; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReview.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReview.ts index b60f1ec28b2..11bc2010f57 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReview.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReview.ts @@ -10,4 +10,9 @@ import type { GuardianUserAuthorization } from "./GuardianUserAuthorization.js"; * `item/autoApprovalReview/*` notifications. This shape is expected to change * soon. */ -export type GuardianApprovalReview = { status: GuardianApprovalReviewStatus, riskLevel: GuardianRiskLevel | null, userAuthorization: GuardianUserAuthorization | null, rationale: string | null, }; +export type GuardianApprovalReview = { + status: GuardianApprovalReviewStatus; + riskLevel: GuardianRiskLevel | null; + userAuthorization: GuardianUserAuthorization | null; + rationale: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewAction.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewAction.ts index 34e1e67855d..5f9ddfa7df4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewAction.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewAction.ts @@ -6,4 +6,29 @@ import type { GuardianCommandSource } from "./GuardianCommandSource.js"; import type { NetworkApprovalProtocol } from "./NetworkApprovalProtocol.js"; import type { RequestPermissionProfile } from "./RequestPermissionProfile.js"; -export type GuardianApprovalReviewAction = { "type": "command", source: GuardianCommandSource, command: string, cwd: AbsolutePathBuf, } | { "type": "execve", source: GuardianCommandSource, program: string, argv: Array, cwd: AbsolutePathBuf, } | { "type": "applyPatch", cwd: AbsolutePathBuf, files: Array, } | { "type": "networkAccess", target: string, host: string, protocol: NetworkApprovalProtocol, port: number, } | { "type": "mcpToolCall", server: string, toolName: string, connectorId: string | null, connectorName: string | null, toolTitle: string | null, } | { "type": "requestPermissions", reason: string | null, permissions: RequestPermissionProfile, }; +export type GuardianApprovalReviewAction = + | { type: "command"; source: GuardianCommandSource; command: string; cwd: AbsolutePathBuf } + | { + type: "execve"; + source: GuardianCommandSource; + program: string; + argv: Array; + cwd: AbsolutePathBuf; + } + | { type: "applyPatch"; cwd: AbsolutePathBuf; files: Array } + | { + type: "networkAccess"; + target: string; + host: string; + protocol: NetworkApprovalProtocol; + port: number; + } + | { + type: "mcpToolCall"; + server: string; + toolName: string; + connectorId: string | null; + connectorName: string | null; + toolTitle: string | null; + } + | { type: "requestPermissions"; reason: string | null; permissions: RequestPermissionProfile }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewStatus.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewStatus.ts index ae892572f5d..7e84c40bffe 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewStatus.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianApprovalReviewStatus.ts @@ -5,4 +5,9 @@ /** * [UNSTABLE] Lifecycle state for an approval auto-review. */ -export type GuardianApprovalReviewStatus = "inProgress" | "approved" | "denied" | "timedOut" | "aborted"; +export type GuardianApprovalReviewStatus = + | "inProgress" + | "approved" + | "denied" + | "timedOut" + | "aborted"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianWarningNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianWarningNotification.ts index 1659f62f1bf..763a0f6ef8a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianWarningNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/GuardianWarningNotification.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type GuardianWarningNotification = { -/** - * Thread target for the guardian warning. - */ -threadId: string, -/** - * Concise guardian warning message for the user. - */ -message: string, }; + /** + * Thread target for the guardian warning. + */ + threadId: string; + /** + * Concise guardian warning message for the user. + */ + message: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookCompletedNotification.ts index 885d65b69f1..0a9ed32f4bf 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookCompletedNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { HookRunSummary } from "./HookRunSummary.js"; -export type HookCompletedNotification = { threadId: string, turnId: string | null, run: HookRunSummary, }; +export type HookCompletedNotification = { + threadId: string; + turnId: string | null; + run: HookRunSummary; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookEventName.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookEventName.ts index 28657d22821..6557e2247d9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookEventName.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookEventName.ts @@ -2,4 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type HookEventName = "preToolUse" | "permissionRequest" | "postToolUse" | "sessionStart" | "userPromptSubmit" | "stop"; +export type HookEventName = + | "preToolUse" + | "permissionRequest" + | "postToolUse" + | "sessionStart" + | "userPromptSubmit" + | "stop"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookOutputEntry.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookOutputEntry.ts index 33e1315467c..026a1b6579d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookOutputEntry.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookOutputEntry.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { HookOutputEntryKind } from "./HookOutputEntryKind.js"; -export type HookOutputEntry = { kind: HookOutputEntryKind, text: string, }; +export type HookOutputEntry = { kind: HookOutputEntryKind; text: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookPromptFragment.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookPromptFragment.ts index 2c6b18acba2..74f24559ae3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookPromptFragment.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookPromptFragment.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type HookPromptFragment = { text: string, hookRunId: string, }; +export type HookPromptFragment = { text: string; hookRunId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookRunSummary.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookRunSummary.ts index 944cca84d0d..2198e4f6094 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookRunSummary.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookRunSummary.ts @@ -10,4 +10,19 @@ import type { HookRunStatus } from "./HookRunStatus.js"; import type { HookScope } from "./HookScope.js"; import type { HookSource } from "./HookSource.js"; -export type HookRunSummary = { id: string, eventName: HookEventName, handlerType: HookHandlerType, executionMode: HookExecutionMode, scope: HookScope, sourcePath: AbsolutePathBuf, source: HookSource, displayOrder: bigint, status: HookRunStatus, statusMessage: string | null, startedAt: bigint, completedAt: bigint | null, durationMs: bigint | null, entries: Array, }; +export type HookRunSummary = { + id: string; + eventName: HookEventName; + handlerType: HookHandlerType; + executionMode: HookExecutionMode; + scope: HookScope; + sourcePath: AbsolutePathBuf; + source: HookSource; + displayOrder: bigint; + status: HookRunStatus; + statusMessage: string | null; + startedAt: bigint; + completedAt: bigint | null; + durationMs: bigint | null; + entries: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookSource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookSource.ts index 7edf61f9186..d06fda4c736 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookSource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookSource.ts @@ -2,4 +2,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type HookSource = "system" | "user" | "project" | "mdm" | "sessionFlags" | "legacyManagedConfigFile" | "legacyManagedConfigMdm" | "unknown"; +export type HookSource = + | "system" + | "user" + | "project" + | "mdm" + | "sessionFlags" + | "legacyManagedConfigFile" + | "legacyManagedConfigMdm" + | "unknown"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookStartedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookStartedNotification.ts index 6c657823ccc..445fa4b4251 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookStartedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/HookStartedNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { HookRunSummary } from "./HookRunSummary.js"; -export type HookStartedNotification = { threadId: string, turnId: string | null, run: HookRunSummary, }; +export type HookStartedNotification = { + threadId: string; + turnId: string | null; + run: HookRunSummary; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemCompletedNotification.ts index 12a8bb3d591..c9b29fd20c1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemCompletedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadItem } from "./ThreadItem.js"; -export type ItemCompletedNotification = { item: ThreadItem, threadId: string, turnId: string, }; +export type ItemCompletedNotification = { item: ThreadItem; threadId: string; turnId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewCompletedNotification.ts index 83de8cbe6a7..282594172db 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewCompletedNotification.ts @@ -9,22 +9,28 @@ import type { GuardianApprovalReviewAction } from "./GuardianApprovalReviewActio * [UNSTABLE] Temporary notification payload for approval auto-review. This * shape is expected to change soon. */ -export type ItemGuardianApprovalReviewCompletedNotification = { threadId: string, turnId: string, -/** - * Stable identifier for this review. - */ -reviewId: string, -/** - * Identifier for the reviewed item or tool call when one exists. - * - * In most cases, one review maps to one target item. The exceptions are - * - execve reviews, where a single command may contain multiple execve - * calls to review (only possible when using the shell_zsh_fork feature) - * - network policy reviews, where there is no target item - * - * A network call is triggered by a CommandExecution item, so having a - * target_item_id set to the CommandExecution item would be misleading - * because the review is about the network call, not the command execution. - * Therefore, target_item_id is set to None for network policy reviews. - */ -targetItemId: string | null, decisionSource: AutoReviewDecisionSource, review: GuardianApprovalReview, action: GuardianApprovalReviewAction, }; +export type ItemGuardianApprovalReviewCompletedNotification = { + threadId: string; + turnId: string; + /** + * Stable identifier for this review. + */ + reviewId: string; + /** + * Identifier for the reviewed item or tool call when one exists. + * + * In most cases, one review maps to one target item. The exceptions are + * - execve reviews, where a single command may contain multiple execve + * calls to review (only possible when using the shell_zsh_fork feature) + * - network policy reviews, where there is no target item + * + * A network call is triggered by a CommandExecution item, so having a + * target_item_id set to the CommandExecution item would be misleading + * because the review is about the network call, not the command execution. + * Therefore, target_item_id is set to None for network policy reviews. + */ + targetItemId: string | null; + decisionSource: AutoReviewDecisionSource; + review: GuardianApprovalReview; + action: GuardianApprovalReviewAction; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewStartedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewStartedNotification.ts index ef6ce4ef9c4..306084647ff 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewStartedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemGuardianApprovalReviewStartedNotification.ts @@ -8,22 +8,27 @@ import type { GuardianApprovalReviewAction } from "./GuardianApprovalReviewActio * [UNSTABLE] Temporary notification payload for approval auto-review. This * shape is expected to change soon. */ -export type ItemGuardianApprovalReviewStartedNotification = { threadId: string, turnId: string, -/** - * Stable identifier for this review. - */ -reviewId: string, -/** - * Identifier for the reviewed item or tool call when one exists. - * - * In most cases, one review maps to one target item. The exceptions are - * - execve reviews, where a single command may contain multiple execve - * calls to review (only possible when using the shell_zsh_fork feature) - * - network policy reviews, where there is no target item - * - * A network call is triggered by a CommandExecution item, so having a - * target_item_id set to the CommandExecution item would be misleading - * because the review is about the network call, not the command execution. - * Therefore, target_item_id is set to None for network policy reviews. - */ -targetItemId: string | null, review: GuardianApprovalReview, action: GuardianApprovalReviewAction, }; +export type ItemGuardianApprovalReviewStartedNotification = { + threadId: string; + turnId: string; + /** + * Stable identifier for this review. + */ + reviewId: string; + /** + * Identifier for the reviewed item or tool call when one exists. + * + * In most cases, one review maps to one target item. The exceptions are + * - execve reviews, where a single command may contain multiple execve + * calls to review (only possible when using the shell_zsh_fork feature) + * - network policy reviews, where there is no target item + * + * A network call is triggered by a CommandExecution item, so having a + * target_item_id set to the CommandExecution item would be misleading + * because the review is about the network call, not the command execution. + * Therefore, target_item_id is set to None for network policy reviews. + */ + targetItemId: string | null; + review: GuardianApprovalReview; + action: GuardianApprovalReviewAction; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemStartedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemStartedNotification.ts index c945f81468b..adcb2f76f0b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemStartedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ItemStartedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadItem } from "./ThreadItem.js"; -export type ItemStartedNotification = { item: ThreadItem, threadId: string, turnId: string, }; +export type ItemStartedNotification = { item: ThreadItem; threadId: string; turnId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusParams.ts index 1ee55e70783..d230518a335 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusParams.ts @@ -4,16 +4,17 @@ import type { McpServerStatusDetail } from "./McpServerStatusDetail.js"; export type ListMcpServerStatusParams = { -/** - * Opaque pagination cursor returned by a previous call. - */ -cursor?: string | null, -/** - * Optional page size; defaults to a server-defined value. - */ -limit?: number | null, -/** - * Controls how much MCP inventory data to fetch for each server. - * Defaults to `Full` when omitted. - */ -detail?: McpServerStatusDetail | null, }; + /** + * Opaque pagination cursor returned by a previous call. + */ + cursor?: string | null; + /** + * Optional page size; defaults to a server-defined value. + */ + limit?: number | null; + /** + * Controls how much MCP inventory data to fetch for each server. + * Defaults to `Full` when omitted. + */ + detail?: McpServerStatusDetail | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusResponse.ts index 1b28605a04b..e5ece3822b3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ListMcpServerStatusResponse.ts @@ -3,9 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpServerStatus } from "./McpServerStatus.js"; -export type ListMcpServerStatusResponse = { data: Array, -/** - * Opaque cursor to pass to the next call to continue after the last item. - * If None, there are no more items to return. - */ -nextCursor: string | null, }; +export type ListMcpServerStatusResponse = { + data: Array; + /** + * Opaque cursor to pass to the next call to continue after the last item. + * If None, there are no more items to return. + */ + nextCursor: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountParams.ts index 4831a6b2ded..fa279eb240c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountParams.ts @@ -2,20 +2,26 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type LoginAccountParams = { "type": "apiKey", apiKey: string, } | { "type": "chatgpt" } | { "type": "chatgptDeviceCode" } | { "type": "chatgptAuthTokens", -/** - * Access token (JWT) supplied by the client. - * This token is used for backend API requests and email extraction. - */ -accessToken: string, -/** - * Workspace/account identifier supplied by the client. - */ -chatgptAccountId: string, -/** - * Optional plan type supplied by the client. - * - * When `null`, Codex attempts to derive the plan type from access-token - * claims. If unavailable, the plan defaults to `unknown`. - */ -chatgptPlanType?: string | null, }; +export type LoginAccountParams = + | { type: "apiKey"; apiKey: string } + | { type: "chatgpt" } + | { type: "chatgptDeviceCode" } + | { + type: "chatgptAuthTokens"; + /** + * Access token (JWT) supplied by the client. + * This token is used for backend API requests and email extraction. + */ + accessToken: string; + /** + * Workspace/account identifier supplied by the client. + */ + chatgptAccountId: string; + /** + * Optional plan type supplied by the client. + * + * When `null`, Codex attempts to derive the plan type from access-token + * claims. If unavailable, the plan defaults to `unknown`. + */ + chatgptPlanType?: string | null; + }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountResponse.ts index 34bccd6578e..b961e2c14c3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/LoginAccountResponse.ts @@ -2,16 +2,26 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type LoginAccountResponse = { "type": "apiKey", } | { "type": "chatgpt", loginId: string, -/** - * URL the client should open in a browser to initiate the OAuth flow. - */ -authUrl: string, } | { "type": "chatgptDeviceCode", loginId: string, -/** - * URL the client should open in a browser to complete device code authorization. - */ -verificationUrl: string, -/** - * One-time code the user must enter after signing in. - */ -userCode: string, } | { "type": "chatgptAuthTokens", }; +export type LoginAccountResponse = + | { type: "apiKey" } + | { + type: "chatgpt"; + loginId: string; + /** + * URL the client should open in a browser to initiate the OAuth flow. + */ + authUrl: string; + } + | { + type: "chatgptDeviceCode"; + loginId: string; + /** + * URL the client should open in a browser to complete device code authorization. + */ + verificationUrl: string; + /** + * One-time code the user must enter after signing in. + */ + userCode: string; + } + | { type: "chatgptAuthTokens" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ManagedHooksRequirements.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ManagedHooksRequirements.ts index e1b94a7b313..59d3d7c2e41 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ManagedHooksRequirements.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ManagedHooksRequirements.ts @@ -3,4 +3,13 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfiguredHookMatcherGroup } from "./ConfiguredHookMatcherGroup.js"; -export type ManagedHooksRequirements = { managedDir: string | null, windowsManagedDir: string | null, PreToolUse: Array, PermissionRequest: Array, PostToolUse: Array, SessionStart: Array, UserPromptSubmit: Array, Stop: Array, }; +export type ManagedHooksRequirements = { + managedDir: string | null; + windowsManagedDir: string | null; + PreToolUse: Array; + PermissionRequest: Array; + PostToolUse: Array; + SessionStart: Array; + UserPromptSubmit: Array; + Stop: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddParams.ts index 23d16048124..40f5378dee5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddParams.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type MarketplaceAddParams = { source: string, refName?: string | null, sparsePaths?: Array | null, }; +export type MarketplaceAddParams = { + source: string; + refName?: string | null; + sparsePaths?: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddResponse.ts index b3bde4f43a9..f04abf50ed3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceAddResponse.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type MarketplaceAddResponse = { marketplaceName: string, installedRoot: AbsolutePathBuf, alreadyAdded: boolean, }; +export type MarketplaceAddResponse = { + marketplaceName: string; + installedRoot: AbsolutePathBuf; + alreadyAdded: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceInterface.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceInterface.ts index f82dc17944e..71f55ebcef0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceInterface.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceInterface.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type MarketplaceInterface = { displayName: string | null, }; +export type MarketplaceInterface = { displayName: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceLoadErrorInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceLoadErrorInfo.ts index b5b8daba927..5e755b46102 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceLoadErrorInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceLoadErrorInfo.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type MarketplaceLoadErrorInfo = { marketplacePath: AbsolutePathBuf, message: string, }; +export type MarketplaceLoadErrorInfo = { marketplacePath: AbsolutePathBuf; message: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveParams.ts index 086dd52a485..88e6f3fe50c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type MarketplaceRemoveParams = { marketplaceName: string, }; +export type MarketplaceRemoveParams = { marketplaceName: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveResponse.ts index e82c009ee1e..b5fe4787a08 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceRemoveResponse.ts @@ -3,4 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type MarketplaceRemoveResponse = { marketplaceName: string, installedRoot: AbsolutePathBuf | null, }; +export type MarketplaceRemoveResponse = { + marketplaceName: string; + installedRoot: AbsolutePathBuf | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeErrorInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeErrorInfo.ts index d54f8f592e9..6f3dfc67eb0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeErrorInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeErrorInfo.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type MarketplaceUpgradeErrorInfo = { marketplaceName: string, message: string, }; +export type MarketplaceUpgradeErrorInfo = { marketplaceName: string; message: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeParams.ts index 6d2e5f50bd6..2061385580e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type MarketplaceUpgradeParams = { marketplaceName?: string | null, }; +export type MarketplaceUpgradeParams = { marketplaceName?: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeResponse.ts index 1718eb68e9e..9c94c9bdcaa 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MarketplaceUpgradeResponse.ts @@ -4,4 +4,8 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { MarketplaceUpgradeErrorInfo } from "./MarketplaceUpgradeErrorInfo.js"; -export type MarketplaceUpgradeResponse = { selectedMarketplaces: Array, upgradedRoots: Array, errors: Array, }; +export type MarketplaceUpgradeResponse = { + selectedMarketplaces: Array; + upgradedRoots: Array; + errors: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationBooleanSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationBooleanSchema.ts index 8ac4f9b2861..eda80ed2415 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationBooleanSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationBooleanSchema.ts @@ -3,4 +3,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpElicitationBooleanType } from "./McpElicitationBooleanType.js"; -export type McpElicitationBooleanSchema = { type: McpElicitationBooleanType, title?: string, description?: string, default?: boolean, }; +export type McpElicitationBooleanSchema = { + type: McpElicitationBooleanType; + title?: string; + description?: string; + default?: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationConstOption.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationConstOption.ts index 2031655d8bc..eed92e21ac1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationConstOption.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationConstOption.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpElicitationConstOption = { const: string, title: string, }; +export type McpElicitationConstOption = { const: string; title: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationEnumSchema.ts index eaabc93dcbe..d34200ef9e3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationEnumSchema.ts @@ -5,4 +5,7 @@ import type { McpElicitationLegacyTitledEnumSchema } from "./McpElicitationLegac import type { McpElicitationMultiSelectEnumSchema } from "./McpElicitationMultiSelectEnumSchema.js"; import type { McpElicitationSingleSelectEnumSchema } from "./McpElicitationSingleSelectEnumSchema.js"; -export type McpElicitationEnumSchema = McpElicitationSingleSelectEnumSchema | McpElicitationMultiSelectEnumSchema | McpElicitationLegacyTitledEnumSchema; +export type McpElicitationEnumSchema = + | McpElicitationSingleSelectEnumSchema + | McpElicitationMultiSelectEnumSchema + | McpElicitationLegacyTitledEnumSchema; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationLegacyTitledEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationLegacyTitledEnumSchema.ts index d0938ab29ef..c00359f4b5e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationLegacyTitledEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationLegacyTitledEnumSchema.ts @@ -3,4 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpElicitationStringType } from "./McpElicitationStringType.js"; -export type McpElicitationLegacyTitledEnumSchema = { type: McpElicitationStringType, title?: string, description?: string, enum: Array, enumNames?: Array, default?: string, }; +export type McpElicitationLegacyTitledEnumSchema = { + type: McpElicitationStringType; + title?: string; + description?: string; + enum: Array; + enumNames?: Array; + default?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationMultiSelectEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationMultiSelectEnumSchema.ts index 283a84402d8..662639ac508 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationMultiSelectEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationMultiSelectEnumSchema.ts @@ -4,4 +4,6 @@ import type { McpElicitationTitledMultiSelectEnumSchema } from "./McpElicitationTitledMultiSelectEnumSchema.js"; import type { McpElicitationUntitledMultiSelectEnumSchema } from "./McpElicitationUntitledMultiSelectEnumSchema.js"; -export type McpElicitationMultiSelectEnumSchema = McpElicitationUntitledMultiSelectEnumSchema | McpElicitationTitledMultiSelectEnumSchema; +export type McpElicitationMultiSelectEnumSchema = + | McpElicitationUntitledMultiSelectEnumSchema + | McpElicitationTitledMultiSelectEnumSchema; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationNumberSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationNumberSchema.ts index 8112430af52..c579eb68558 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationNumberSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationNumberSchema.ts @@ -3,4 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpElicitationNumberType } from "./McpElicitationNumberType.js"; -export type McpElicitationNumberSchema = { type: McpElicitationNumberType, title?: string, description?: string, minimum?: number, maximum?: number, default?: number, }; +export type McpElicitationNumberSchema = { + type: McpElicitationNumberType; + title?: string; + description?: string; + minimum?: number; + maximum?: number; + default?: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationPrimitiveSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationPrimitiveSchema.ts index 22adee4354f..dacf6cf21d6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationPrimitiveSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationPrimitiveSchema.ts @@ -6,4 +6,8 @@ import type { McpElicitationEnumSchema } from "./McpElicitationEnumSchema.js"; import type { McpElicitationNumberSchema } from "./McpElicitationNumberSchema.js"; import type { McpElicitationStringSchema } from "./McpElicitationStringSchema.js"; -export type McpElicitationPrimitiveSchema = McpElicitationEnumSchema | McpElicitationStringSchema | McpElicitationNumberSchema | McpElicitationBooleanSchema; +export type McpElicitationPrimitiveSchema = + | McpElicitationEnumSchema + | McpElicitationStringSchema + | McpElicitationNumberSchema + | McpElicitationBooleanSchema; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSchema.ts index f297b9388a2..1c377f886fb 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSchema.ts @@ -10,4 +10,9 @@ import type { McpElicitationPrimitiveSchema } from "./McpElicitationPrimitiveSch * This matches the `requestedSchema` shape from the MCP 2025-11-25 * `ElicitRequestFormParams` schema. */ -export type McpElicitationSchema = { $schema?: string, type: McpElicitationObjectType, properties: { [key in string]?: McpElicitationPrimitiveSchema }, required?: Array, }; +export type McpElicitationSchema = { + $schema?: string; + type: McpElicitationObjectType; + properties: { [key in string]?: McpElicitationPrimitiveSchema }; + required?: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSingleSelectEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSingleSelectEnumSchema.ts index 52c504f2c83..e9a3c8d67c7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSingleSelectEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationSingleSelectEnumSchema.ts @@ -4,4 +4,6 @@ import type { McpElicitationTitledSingleSelectEnumSchema } from "./McpElicitationTitledSingleSelectEnumSchema.js"; import type { McpElicitationUntitledSingleSelectEnumSchema } from "./McpElicitationUntitledSingleSelectEnumSchema.js"; -export type McpElicitationSingleSelectEnumSchema = McpElicitationUntitledSingleSelectEnumSchema | McpElicitationTitledSingleSelectEnumSchema; +export type McpElicitationSingleSelectEnumSchema = + | McpElicitationUntitledSingleSelectEnumSchema + | McpElicitationTitledSingleSelectEnumSchema; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationStringSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationStringSchema.ts index a6dbc6d3749..f4d863d6f9b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationStringSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationStringSchema.ts @@ -4,4 +4,12 @@ import type { McpElicitationStringFormat } from "./McpElicitationStringFormat.js"; import type { McpElicitationStringType } from "./McpElicitationStringType.js"; -export type McpElicitationStringSchema = { type: McpElicitationStringType, title?: string, description?: string, minLength?: number, maxLength?: number, format?: McpElicitationStringFormat, default?: string, }; +export type McpElicitationStringSchema = { + type: McpElicitationStringType; + title?: string; + description?: string; + minLength?: number; + maxLength?: number; + format?: McpElicitationStringFormat; + default?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledEnumItems.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledEnumItems.ts index c198ff01e2d..f1f3b63ec5c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledEnumItems.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledEnumItems.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpElicitationConstOption } from "./McpElicitationConstOption.js"; -export type McpElicitationTitledEnumItems = { anyOf: Array, }; +export type McpElicitationTitledEnumItems = { anyOf: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledMultiSelectEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledMultiSelectEnumSchema.ts index 71141f21c9e..4a6aeb7afff 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledMultiSelectEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledMultiSelectEnumSchema.ts @@ -4,4 +4,12 @@ import type { McpElicitationArrayType } from "./McpElicitationArrayType.js"; import type { McpElicitationTitledEnumItems } from "./McpElicitationTitledEnumItems.js"; -export type McpElicitationTitledMultiSelectEnumSchema = { type: McpElicitationArrayType, title?: string, description?: string, minItems?: bigint, maxItems?: bigint, items: McpElicitationTitledEnumItems, default?: Array, }; +export type McpElicitationTitledMultiSelectEnumSchema = { + type: McpElicitationArrayType; + title?: string; + description?: string; + minItems?: bigint; + maxItems?: bigint; + items: McpElicitationTitledEnumItems; + default?: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledSingleSelectEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledSingleSelectEnumSchema.ts index 464c8131c96..2cc558616cd 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledSingleSelectEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationTitledSingleSelectEnumSchema.ts @@ -4,4 +4,10 @@ import type { McpElicitationConstOption } from "./McpElicitationConstOption.js"; import type { McpElicitationStringType } from "./McpElicitationStringType.js"; -export type McpElicitationTitledSingleSelectEnumSchema = { type: McpElicitationStringType, title?: string, description?: string, oneOf: Array, default?: string, }; +export type McpElicitationTitledSingleSelectEnumSchema = { + type: McpElicitationStringType; + title?: string; + description?: string; + oneOf: Array; + default?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledEnumItems.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledEnumItems.ts index c42f147b235..8419e36a4c9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledEnumItems.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledEnumItems.ts @@ -3,4 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpElicitationStringType } from "./McpElicitationStringType.js"; -export type McpElicitationUntitledEnumItems = { type: McpElicitationStringType, enum: Array, }; +export type McpElicitationUntitledEnumItems = { + type: McpElicitationStringType; + enum: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledMultiSelectEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledMultiSelectEnumSchema.ts index 86e5bf87fbb..5bfbbbd0a48 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledMultiSelectEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledMultiSelectEnumSchema.ts @@ -4,4 +4,12 @@ import type { McpElicitationArrayType } from "./McpElicitationArrayType.js"; import type { McpElicitationUntitledEnumItems } from "./McpElicitationUntitledEnumItems.js"; -export type McpElicitationUntitledMultiSelectEnumSchema = { type: McpElicitationArrayType, title?: string, description?: string, minItems?: bigint, maxItems?: bigint, items: McpElicitationUntitledEnumItems, default?: Array, }; +export type McpElicitationUntitledMultiSelectEnumSchema = { + type: McpElicitationArrayType; + title?: string; + description?: string; + minItems?: bigint; + maxItems?: bigint; + items: McpElicitationUntitledEnumItems; + default?: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledSingleSelectEnumSchema.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledSingleSelectEnumSchema.ts index f081ffe3bac..701c5d22e44 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledSingleSelectEnumSchema.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpElicitationUntitledSingleSelectEnumSchema.ts @@ -3,4 +3,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpElicitationStringType } from "./McpElicitationStringType.js"; -export type McpElicitationUntitledSingleSelectEnumSchema = { type: McpElicitationStringType, title?: string, description?: string, enum: Array, default?: string, }; +export type McpElicitationUntitledSingleSelectEnumSchema = { + type: McpElicitationStringType; + title?: string; + description?: string; + enum: Array; + default?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadParams.ts index c48795f27e8..1aa57b4471c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpResourceReadParams = { threadId?: string | null, server: string, uri: string, }; +export type McpResourceReadParams = { threadId?: string | null; server: string; uri: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadResponse.ts index 91785336cc4..337929783ae 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpResourceReadResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ResourceContent } from "../ResourceContent.js"; -export type McpResourceReadResponse = { contents: Array, }; +export type McpResourceReadResponse = { contents: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestParams.ts index 1ff8fd78c9c..c0a3c915efd 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestParams.ts @@ -4,13 +4,24 @@ import type { JsonValue } from "../serde_json/JsonValue.js"; import type { McpElicitationSchema } from "./McpElicitationSchema.js"; -export type McpServerElicitationRequestParams = { threadId: string, -/** - * Active Codex turn when this elicitation was observed, if app-server could correlate one. - * - * This is nullable because MCP models elicitation as a standalone server-to-client request - * identified by the MCP server request id. It may be triggered during a turn, but turn - * context is app-server correlation rather than part of the protocol identity of the - * elicitation itself. - */ -turnId: string | null, serverName: string, } & ({ "mode": "form", _meta: JsonValue | null, message: string, requestedSchema: McpElicitationSchema, } | { "mode": "url", _meta: JsonValue | null, message: string, url: string, elicitationId: string, }); +export type McpServerElicitationRequestParams = { + threadId: string; + /** + * Active Codex turn when this elicitation was observed, if app-server could correlate one. + * + * This is nullable because MCP models elicitation as a standalone server-to-client request + * identified by the MCP server request id. It may be triggered during a turn, but turn + * context is app-server correlation rather than part of the protocol identity of the + * elicitation itself. + */ + turnId: string | null; + serverName: string; +} & ( + | { + mode: "form"; + _meta: JsonValue | null; + message: string; + requestedSchema: McpElicitationSchema; + } + | { mode: "url"; _meta: JsonValue | null; message: string; url: string; elicitationId: string } +); diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestResponse.ts index f6a346f4b4e..d70c55de7f9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerElicitationRequestResponse.ts @@ -4,14 +4,16 @@ import type { JsonValue } from "../serde_json/JsonValue.js"; import type { McpServerElicitationAction } from "./McpServerElicitationAction.js"; -export type McpServerElicitationRequestResponse = { action: McpServerElicitationAction, -/** - * Structured user input for accepted elicitations, mirroring RMCP `CreateElicitationResult`. - * - * This is nullable because decline/cancel responses have no content. - */ -content: JsonValue | null, -/** - * Optional client metadata for form-mode action handling. - */ -_meta: JsonValue | null, }; +export type McpServerElicitationRequestResponse = { + action: McpServerElicitationAction; + /** + * Structured user input for accepted elicitations, mirroring RMCP `CreateElicitationResult`. + * + * This is nullable because decline/cancel responses have no content. + */ + content: JsonValue | null; + /** + * Optional client metadata for form-mode action handling. + */ + _meta: JsonValue | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginCompletedNotification.ts index 592860ae39e..6303a53c92f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginCompletedNotification.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpServerOauthLoginCompletedNotification = { name: string, success: boolean, error?: string, }; +export type McpServerOauthLoginCompletedNotification = { + name: string; + success: boolean; + error?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginParams.ts index a61c3046090..4d0982c4730 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginParams.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpServerOauthLoginParams = { name: string, scopes?: Array | null, timeoutSecs?: bigint | null, }; +export type McpServerOauthLoginParams = { + name: string; + scopes?: Array | null; + timeoutSecs?: bigint | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginResponse.ts index 5933574765c..b119e07650c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerOauthLoginResponse.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpServerOauthLoginResponse = { authorizationUrl: string, }; +export type McpServerOauthLoginResponse = { authorizationUrl: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatus.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatus.ts index 35530984f54..61fa8693130 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatus.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatus.ts @@ -6,4 +6,10 @@ import type { ResourceTemplate } from "../ResourceTemplate.js"; import type { Tool } from "../Tool.js"; import type { McpAuthStatus } from "./McpAuthStatus.js"; -export type McpServerStatus = { name: string, tools: { [key in string]?: Tool }, resources: Array, resourceTemplates: Array, authStatus: McpAuthStatus, }; +export type McpServerStatus = { + name: string; + tools: { [key in string]?: Tool }; + resources: Array; + resourceTemplates: Array; + authStatus: McpAuthStatus; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatusUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatusUpdatedNotification.ts index e58f7d7ed1e..3b6c168b119 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatusUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerStatusUpdatedNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { McpServerStartupState } from "./McpServerStartupState.js"; -export type McpServerStatusUpdatedNotification = { name: string, status: McpServerStartupState, error: string | null, }; +export type McpServerStatusUpdatedNotification = { + name: string; + status: McpServerStartupState; + error: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallParams.ts index d5bd8b48566..6da04c52ac4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallParams.ts @@ -3,4 +3,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type McpServerToolCallParams = { threadId: string, server: string, tool: string, arguments?: JsonValue, _meta?: JsonValue, }; +export type McpServerToolCallParams = { + threadId: string; + server: string; + tool: string; + arguments?: JsonValue; + _meta?: JsonValue; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallResponse.ts index 929858d9799..0314ef363d9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpServerToolCallResponse.ts @@ -3,4 +3,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type McpServerToolCallResponse = { content: Array, structuredContent?: JsonValue, isError?: boolean, _meta?: JsonValue, }; +export type McpServerToolCallResponse = { + content: Array; + structuredContent?: JsonValue; + isError?: boolean; + _meta?: JsonValue; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallError.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallError.ts index 5e4ae8391b9..f11054a8af9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallError.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallError.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpToolCallError = { message: string, }; +export type McpToolCallError = { message: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallProgressNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallProgressNotification.ts index c255de2709a..3f3137e100f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallProgressNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallProgressNotification.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpToolCallProgressNotification = { threadId: string, turnId: string, itemId: string, message: string, }; +export type McpToolCallProgressNotification = { + threadId: string; + turnId: string; + itemId: string; + message: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallResult.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallResult.ts index ecd82ed1ffc..ac6804332e7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallResult.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/McpToolCallResult.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type McpToolCallResult = { content: Array, structuredContent: JsonValue | null, _meta: JsonValue | null, }; +export type McpToolCallResult = { + content: Array; + structuredContent: JsonValue | null; + _meta: JsonValue | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitation.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitation.ts index 625a7af1956..677d2791cb4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitation.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitation.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { MemoryCitationEntry } from "./MemoryCitationEntry.js"; -export type MemoryCitation = { entries: Array, threadIds: Array, }; +export type MemoryCitation = { entries: Array; threadIds: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitationEntry.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitationEntry.ts index 9b9ce17267f..eb74521c268 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitationEntry.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MemoryCitationEntry.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type MemoryCitationEntry = { path: string, lineStart: number, lineEnd: number, note: string, }; +export type MemoryCitationEntry = { + path: string; + lineStart: number; + lineEnd: number; + note: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MigrationDetails.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MigrationDetails.ts index 88952c4456e..51c3ee5c85a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/MigrationDetails.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/MigrationDetails.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { PluginsMigration } from "./PluginsMigration.js"; -export type MigrationDetails = { plugins: Array, }; +export type MigrationDetails = { plugins: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Model.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Model.ts index 80a7497e035..88f0803e009 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Model.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Model.ts @@ -7,4 +7,19 @@ import type { ModelAvailabilityNux } from "./ModelAvailabilityNux.js"; import type { ModelUpgradeInfo } from "./ModelUpgradeInfo.js"; import type { ReasoningEffortOption } from "./ReasoningEffortOption.js"; -export type Model = { id: string, model: string, upgrade: string | null, upgradeInfo: ModelUpgradeInfo | null, availabilityNux: ModelAvailabilityNux | null, displayName: string, description: string, hidden: boolean, supportedReasoningEfforts: Array, defaultReasoningEffort: ReasoningEffort, inputModalities: Array, supportsPersonality: boolean, additionalSpeedTiers: Array, isDefault: boolean, }; +export type Model = { + id: string; + model: string; + upgrade: string | null; + upgradeInfo: ModelUpgradeInfo | null; + availabilityNux: ModelAvailabilityNux | null; + displayName: string; + description: string; + hidden: boolean; + supportedReasoningEfforts: Array; + defaultReasoningEffort: ReasoningEffort; + inputModalities: Array; + supportsPersonality: boolean; + additionalSpeedTiers: Array; + isDefault: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelAvailabilityNux.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelAvailabilityNux.ts index 7254aaec9b7..8ea4b6ed1fd 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelAvailabilityNux.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelAvailabilityNux.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ModelAvailabilityNux = { message: string, }; +export type ModelAvailabilityNux = { message: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListParams.ts index dae406dd2df..568c8ae9790 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListParams.ts @@ -3,15 +3,16 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ModelListParams = { -/** - * Opaque pagination cursor returned by a previous call. - */ -cursor?: string | null, -/** - * Optional page size; defaults to a reasonable server-side value. - */ -limit?: number | null, -/** - * When true, include models that are hidden from the default picker list. - */ -includeHidden?: boolean | null, }; + /** + * Opaque pagination cursor returned by a previous call. + */ + cursor?: string | null; + /** + * Optional page size; defaults to a reasonable server-side value. + */ + limit?: number | null; + /** + * When true, include models that are hidden from the default picker list. + */ + includeHidden?: boolean | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListResponse.ts index c640dcceddd..4de72f017e1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelListResponse.ts @@ -3,9 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Model } from "./Model.js"; -export type ModelListResponse = { data: Array, -/** - * Opaque cursor to pass to the next call to continue after the last item. - * If None, there are no more items to return. - */ -nextCursor: string | null, }; +export type ModelListResponse = { + data: Array; + /** + * Opaque cursor to pass to the next call to continue after the last item. + * If None, there are no more items to return. + */ + nextCursor: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelReroutedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelReroutedNotification.ts index 53834060e41..6d0e392660a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelReroutedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelReroutedNotification.ts @@ -3,4 +3,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ModelRerouteReason } from "./ModelRerouteReason.js"; -export type ModelReroutedNotification = { threadId: string, turnId: string, fromModel: string, toModel: string, reason: ModelRerouteReason, }; +export type ModelReroutedNotification = { + threadId: string; + turnId: string; + fromModel: string; + toModel: string; + reason: ModelRerouteReason; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelUpgradeInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelUpgradeInfo.ts index 82d73e9d062..2976b6d201d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelUpgradeInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelUpgradeInfo.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ModelUpgradeInfo = { model: string, upgradeCopy: string | null, modelLink: string | null, migrationMarkdown: string | null, }; +export type ModelUpgradeInfo = { + model: string; + upgradeCopy: string | null; + modelLink: string | null; + migrationMarkdown: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelVerificationNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelVerificationNotification.ts index d20b55e30b0..24dcb7e7bcf 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelVerificationNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ModelVerificationNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ModelVerification } from "./ModelVerification.js"; -export type ModelVerificationNotification = { threadId: string, turnId: string, verifications: Array, }; +export type ModelVerificationNotification = { + threadId: string; + turnId: string; + verifications: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkApprovalContext.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkApprovalContext.ts index f729b287c2a..20c32d6f445 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkApprovalContext.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkApprovalContext.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NetworkApprovalProtocol } from "./NetworkApprovalProtocol.js"; -export type NetworkApprovalContext = { host: string, protocol: NetworkApprovalProtocol, }; +export type NetworkApprovalContext = { host: string; protocol: NetworkApprovalProtocol }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkPolicyAmendment.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkPolicyAmendment.ts index ffbc2203327..5455621ece7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkPolicyAmendment.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkPolicyAmendment.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NetworkPolicyRuleAction } from "./NetworkPolicyRuleAction.js"; -export type NetworkPolicyAmendment = { host: string, action: NetworkPolicyRuleAction, }; +export type NetworkPolicyAmendment = { host: string; action: NetworkPolicyRuleAction }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkRequirements.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkRequirements.ts index 66eb200b3cf..ab7475c9af3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkRequirements.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/NetworkRequirements.ts @@ -4,29 +4,37 @@ import type { NetworkDomainPermission } from "./NetworkDomainPermission.js"; import type { NetworkUnixSocketPermission } from "./NetworkUnixSocketPermission.js"; -export type NetworkRequirements = { enabled: boolean | null, httpPort: number | null, socksPort: number | null, allowUpstreamProxy: boolean | null, dangerouslyAllowNonLoopbackProxy: boolean | null, dangerouslyAllowAllUnixSockets: boolean | null, -/** - * Canonical network permission map for `experimental_network`. - */ -domains: { [key in string]?: NetworkDomainPermission } | null, -/** - * When true, only managed allowlist entries are respected while managed - * network enforcement is active. - */ -managedAllowedDomainsOnly: boolean | null, -/** - * Legacy compatibility view derived from `domains`. - */ -allowedDomains: Array | null, -/** - * Legacy compatibility view derived from `domains`. - */ -deniedDomains: Array | null, -/** - * Canonical unix socket permission map for `experimental_network`. - */ -unixSockets: { [key in string]?: NetworkUnixSocketPermission } | null, -/** - * Legacy compatibility view derived from `unix_sockets`. - */ -allowUnixSockets: Array | null, allowLocalBinding: boolean | null, }; +export type NetworkRequirements = { + enabled: boolean | null; + httpPort: number | null; + socksPort: number | null; + allowUpstreamProxy: boolean | null; + dangerouslyAllowNonLoopbackProxy: boolean | null; + dangerouslyAllowAllUnixSockets: boolean | null; + /** + * Canonical network permission map for `experimental_network`. + */ + domains: { [key in string]?: NetworkDomainPermission } | null; + /** + * When true, only managed allowlist entries are respected while managed + * network enforcement is active. + */ + managedAllowedDomainsOnly: boolean | null; + /** + * Legacy compatibility view derived from `domains`. + */ + allowedDomains: Array | null; + /** + * Legacy compatibility view derived from `domains`. + */ + deniedDomains: Array | null; + /** + * Canonical unix socket permission map for `experimental_network`. + */ + unixSockets: { [key in string]?: NetworkUnixSocketPermission } | null; + /** + * Legacy compatibility view derived from `unix_sockets`. + */ + allowUnixSockets: Array | null; + allowLocalBinding: boolean | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/OverriddenMetadata.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/OverriddenMetadata.ts index 7ba3f0afb83..bc6817aeed4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/OverriddenMetadata.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/OverriddenMetadata.ts @@ -4,4 +4,8 @@ import type { JsonValue } from "../serde_json/JsonValue.js"; import type { ConfigLayerMetadata } from "./ConfigLayerMetadata.js"; -export type OverriddenMetadata = { message: string, overridingLayer: ConfigLayerMetadata, effectiveValue: JsonValue, }; +export type OverriddenMetadata = { + message: string; + overridingLayer: ConfigLayerMetadata; + effectiveValue: JsonValue; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PatchChangeKind.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PatchChangeKind.ts index 23dda6cb121..41ef25c6a48 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PatchChangeKind.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PatchChangeKind.ts @@ -2,4 +2,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PatchChangeKind = { "type": "add" } | { "type": "delete" } | { "type": "update", move_path: string | null, }; +export type PatchChangeKind = + | { type: "add" } + | { type: "delete" } + | { type: "update"; move_path: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfile.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfile.ts index a49c66e0230..35b893834a4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfile.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfile.ts @@ -4,4 +4,7 @@ import type { PermissionProfileFileSystemPermissions } from "./PermissionProfileFileSystemPermissions.js"; import type { PermissionProfileNetworkPermissions } from "./PermissionProfileNetworkPermissions.js"; -export type PermissionProfile = { network: PermissionProfileNetworkPermissions | null, fileSystem: PermissionProfileFileSystemPermissions | null, }; +export type PermissionProfile = { + network: PermissionProfileNetworkPermissions | null; + fileSystem: PermissionProfileFileSystemPermissions | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileFileSystemPermissions.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileFileSystemPermissions.ts index 489f284e59a..23604b4a909 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileFileSystemPermissions.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileFileSystemPermissions.ts @@ -3,4 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FileSystemSandboxEntry } from "./FileSystemSandboxEntry.js"; -export type PermissionProfileFileSystemPermissions = { entries: Array, globScanMaxDepth?: number, }; +export type PermissionProfileFileSystemPermissions = { + entries: Array; + globScanMaxDepth?: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileNetworkPermissions.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileNetworkPermissions.ts index 9aa130412a4..008fa9c233f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileNetworkPermissions.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionProfileNetworkPermissions.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PermissionProfileNetworkPermissions = { enabled: boolean | null, }; +export type PermissionProfileNetworkPermissions = { enabled: boolean | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalParams.ts index 4b8ab372d02..92d9d4b87c6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalParams.ts @@ -4,4 +4,11 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { RequestPermissionProfile } from "./RequestPermissionProfile.js"; -export type PermissionsRequestApprovalParams = { threadId: string, turnId: string, itemId: string, cwd: AbsolutePathBuf, reason: string | null, permissions: RequestPermissionProfile, }; +export type PermissionsRequestApprovalParams = { + threadId: string; + turnId: string; + itemId: string; + cwd: AbsolutePathBuf; + reason: string | null; + permissions: RequestPermissionProfile; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalResponse.ts index f49e893ce76..730f29c72e8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PermissionsRequestApprovalResponse.ts @@ -4,8 +4,11 @@ import type { GrantedPermissionProfile } from "./GrantedPermissionProfile.js"; import type { PermissionGrantScope } from "./PermissionGrantScope.js"; -export type PermissionsRequestApprovalResponse = { permissions: GrantedPermissionProfile, scope: PermissionGrantScope, -/** - * Review every subsequent command in this turn before normal sandboxed execution. - */ -strictAutoReview?: boolean, }; +export type PermissionsRequestApprovalResponse = { + permissions: GrantedPermissionProfile; + scope: PermissionGrantScope; + /** + * Review every subsequent command in this turn before normal sandboxed execution. + */ + strictAutoReview?: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PlanDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PlanDeltaNotification.ts index 5ab359668e6..262f65204cf 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PlanDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PlanDeltaNotification.ts @@ -6,4 +6,9 @@ * EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should * not assume concatenated deltas match the completed plan item content. */ -export type PlanDeltaNotification = { threadId: string, turnId: string, itemId: string, delta: string, }; +export type PlanDeltaNotification = { + threadId: string; + turnId: string; + itemId: string; + delta: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginDetail.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginDetail.ts index ea209df5592..6b7b1b3c5c5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginDetail.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginDetail.ts @@ -6,4 +6,12 @@ import type { AppSummary } from "./AppSummary.js"; import type { PluginSummary } from "./PluginSummary.js"; import type { SkillSummary } from "./SkillSummary.js"; -export type PluginDetail = { marketplaceName: string, marketplacePath: AbsolutePathBuf | null, summary: PluginSummary, description: string | null, skills: Array, apps: Array, mcpServers: Array, }; +export type PluginDetail = { + marketplaceName: string; + marketplacePath: AbsolutePathBuf | null; + summary: PluginSummary; + description: string | null; + skills: Array; + apps: Array; + mcpServers: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallParams.ts index 7893f8d1bf1..12584472d1a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallParams.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type PluginInstallParams = { marketplacePath?: AbsolutePathBuf | null, remoteMarketplaceName?: string | null, pluginName: string, }; +export type PluginInstallParams = { + marketplacePath?: AbsolutePathBuf | null; + remoteMarketplaceName?: string | null; + pluginName: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallResponse.ts index 03e48347cac..08bf1ebc20e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInstallResponse.ts @@ -4,4 +4,7 @@ import type { AppSummary } from "./AppSummary.js"; import type { PluginAuthPolicy } from "./PluginAuthPolicy.js"; -export type PluginInstallResponse = { authPolicy: PluginAuthPolicy, appsNeedingAuth: Array, }; +export type PluginInstallResponse = { + authPolicy: PluginAuthPolicy; + appsNeedingAuth: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInterface.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInterface.ts index cba69efdb47..97596ce765e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInterface.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginInterface.ts @@ -3,33 +3,44 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type PluginInterface = { displayName: string | null, shortDescription: string | null, longDescription: string | null, developerName: string | null, category: string | null, capabilities: Array, websiteUrl: string | null, privacyPolicyUrl: string | null, termsOfServiceUrl: string | null, -/** - * Starter prompts for the plugin. Capped at 3 entries with a maximum of - * 128 characters per entry. - */ -defaultPrompt: Array | null, brandColor: string | null, -/** - * Local composer icon path, resolved from the installed plugin package. - */ -composerIcon: AbsolutePathBuf | null, -/** - * Remote composer icon URL from the plugin catalog. - */ -composerIconUrl: string | null, -/** - * Local logo path, resolved from the installed plugin package. - */ -logo: AbsolutePathBuf | null, -/** - * Remote logo URL from the plugin catalog. - */ -logoUrl: string | null, -/** - * Local screenshot paths, resolved from the installed plugin package. - */ -screenshots: Array, -/** - * Remote screenshot URLs from the plugin catalog. - */ -screenshotUrls: Array, }; +export type PluginInterface = { + displayName: string | null; + shortDescription: string | null; + longDescription: string | null; + developerName: string | null; + category: string | null; + capabilities: Array; + websiteUrl: string | null; + privacyPolicyUrl: string | null; + termsOfServiceUrl: string | null; + /** + * Starter prompts for the plugin. Capped at 3 entries with a maximum of + * 128 characters per entry. + */ + defaultPrompt: Array | null; + brandColor: string | null; + /** + * Local composer icon path, resolved from the installed plugin package. + */ + composerIcon: AbsolutePathBuf | null; + /** + * Remote composer icon URL from the plugin catalog. + */ + composerIconUrl: string | null; + /** + * Local logo path, resolved from the installed plugin package. + */ + logo: AbsolutePathBuf | null; + /** + * Remote logo URL from the plugin catalog. + */ + logoUrl: string | null; + /** + * Local screenshot paths, resolved from the installed plugin package. + */ + screenshots: Array; + /** + * Remote screenshot URLs from the plugin catalog. + */ + screenshotUrls: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListParams.ts index 5830c5f195c..51e5652e91e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListParams.ts @@ -4,8 +4,9 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; export type PluginListParams = { -/** - * Optional working directories used to discover repo marketplaces. When omitted, - * only home-scoped marketplaces and the official curated marketplace are considered. - */ -cwds?: Array | null, }; + /** + * Optional working directories used to discover repo marketplaces. When omitted, + * only home-scoped marketplaces and the official curated marketplace are considered. + */ + cwds?: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListResponse.ts index c6e6c8407c1..c14b1306a68 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginListResponse.ts @@ -4,4 +4,8 @@ import type { MarketplaceLoadErrorInfo } from "./MarketplaceLoadErrorInfo.js"; import type { PluginMarketplaceEntry } from "./PluginMarketplaceEntry.js"; -export type PluginListResponse = { marketplaces: Array, marketplaceLoadErrors: Array, featuredPluginIds: Array, }; +export type PluginListResponse = { + marketplaces: Array; + marketplaceLoadErrors: Array; + featuredPluginIds: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginMarketplaceEntry.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginMarketplaceEntry.ts index 64b4f8fb63d..a7dbbd78c8e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginMarketplaceEntry.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginMarketplaceEntry.ts @@ -5,9 +5,13 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { MarketplaceInterface } from "./MarketplaceInterface.js"; import type { PluginSummary } from "./PluginSummary.js"; -export type PluginMarketplaceEntry = { name: string, -/** - * Local marketplace file path when the marketplace is backed by a local file. - * Remote-only catalog marketplaces do not have a local path. - */ -path: AbsolutePathBuf | null, interface: MarketplaceInterface | null, plugins: Array, }; +export type PluginMarketplaceEntry = { + name: string; + /** + * Local marketplace file path when the marketplace is backed by a local file. + * Remote-only catalog marketplaces do not have a local path. + */ + path: AbsolutePathBuf | null; + interface: MarketplaceInterface | null; + plugins: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadParams.ts index f9ddc30f940..47125184bd6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadParams.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type PluginReadParams = { marketplacePath?: AbsolutePathBuf | null, remoteMarketplaceName?: string | null, pluginName: string, }; +export type PluginReadParams = { + marketplacePath?: AbsolutePathBuf | null; + remoteMarketplaceName?: string | null; + pluginName: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadResponse.ts index 0f666d5ecb7..a23191fb80a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginReadResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { PluginDetail } from "./PluginDetail.js"; -export type PluginReadResponse = { plugin: PluginDetail, }; +export type PluginReadResponse = { plugin: PluginDetail }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSource.ts index 65fe0b7d70c..d3f864c5f31 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSource.ts @@ -3,4 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type PluginSource = { "type": "local", path: AbsolutePathBuf, } | { "type": "git", url: string, path: string | null, refName: string | null, sha: string | null, } | { "type": "remote" }; +export type PluginSource = + | { type: "local"; path: AbsolutePathBuf } + | { type: "git"; url: string; path: string | null; refName: string | null; sha: string | null } + | { type: "remote" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSummary.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSummary.ts index b25050db89c..a5be591805c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSummary.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginSummary.ts @@ -6,4 +6,13 @@ import type { PluginInstallPolicy } from "./PluginInstallPolicy.js"; import type { PluginInterface } from "./PluginInterface.js"; import type { PluginSource } from "./PluginSource.js"; -export type PluginSummary = { id: string, name: string, source: PluginSource, installed: boolean, enabled: boolean, installPolicy: PluginInstallPolicy, authPolicy: PluginAuthPolicy, interface: PluginInterface | null, }; +export type PluginSummary = { + id: string; + name: string; + source: PluginSource; + installed: boolean; + enabled: boolean; + installPolicy: PluginInstallPolicy; + authPolicy: PluginAuthPolicy; + interface: PluginInterface | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginUninstallParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginUninstallParams.ts index e7f52c0eb3c..250ee7d3b90 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginUninstallParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginUninstallParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PluginUninstallParams = { pluginId: string, }; +export type PluginUninstallParams = { pluginId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginsMigration.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginsMigration.ts index 0dce06d9ab4..3d882cf1929 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginsMigration.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/PluginsMigration.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PluginsMigration = { marketplaceName: string, pluginNames: Array, }; +export type PluginsMigration = { marketplaceName: string; pluginNames: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ProfileV2.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ProfileV2.ts index e377ccf26ce..c02e98ab8a4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ProfileV2.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ProfileV2.ts @@ -3,17 +3,36 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ReasoningEffort } from "../ReasoningEffort.js"; import type { ReasoningSummary } from "../ReasoningSummary.js"; +import type { JsonValue } from "../serde_json/JsonValue.js"; import type { ServiceTier } from "../ServiceTier.js"; import type { Verbosity } from "../Verbosity.js"; import type { WebSearchMode } from "../WebSearchMode.js"; -import type { JsonValue } from "../serde_json/JsonValue.js"; import type { ApprovalsReviewer } from "./ApprovalsReviewer.js"; import type { AskForApproval } from "./AskForApproval.js"; import type { ToolsV2 } from "./ToolsV2.js"; -export type ProfileV2 = {model: string | null, model_provider: string | null, approval_policy: AskForApproval | null, /** - * [UNSTABLE] Optional profile-level override for where approval requests - * are routed for review. If omitted, the enclosing config default is - * used. - */ -approvals_reviewer: ApprovalsReviewer | null, service_tier: ServiceTier | null, model_reasoning_effort: ReasoningEffort | null, model_reasoning_summary: ReasoningSummary | null, model_verbosity: Verbosity | null, web_search: WebSearchMode | null, tools: ToolsV2 | null, chatgpt_base_url: string | null} & ({ [key in string]?: number | string | boolean | Array | { [key in string]?: JsonValue } | null }); +export type ProfileV2 = { + model: string | null; + model_provider: string | null; + approval_policy: AskForApproval | null /** + * [UNSTABLE] Optional profile-level override for where approval requests + * are routed for review. If omitted, the enclosing config default is + * used. + */; + approvals_reviewer: ApprovalsReviewer | null; + service_tier: ServiceTier | null; + model_reasoning_effort: ReasoningEffort | null; + model_reasoning_summary: ReasoningSummary | null; + model_verbosity: Verbosity | null; + web_search: WebSearchMode | null; + tools: ToolsV2 | null; + chatgpt_base_url: string | null; +} & { + [key in string]?: + | number + | string + | boolean + | Array + | { [key in string]?: JsonValue } + | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitReachedType.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitReachedType.ts index 78f106c905d..84bb0b50979 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitReachedType.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitReachedType.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type RateLimitReachedType = "rate_limit_reached" | "workspace_owner_credits_depleted" | "workspace_member_credits_depleted" | "workspace_owner_usage_limit_reached" | "workspace_member_usage_limit_reached"; +export type RateLimitReachedType = + | "rate_limit_reached" + | "workspace_owner_credits_depleted" + | "workspace_member_credits_depleted" + | "workspace_owner_usage_limit_reached" + | "workspace_member_usage_limit_reached"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitSnapshot.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitSnapshot.ts index f6650962910..a852413d239 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitSnapshot.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitSnapshot.ts @@ -6,4 +6,12 @@ import type { CreditsSnapshot } from "./CreditsSnapshot.js"; import type { RateLimitReachedType } from "./RateLimitReachedType.js"; import type { RateLimitWindow } from "./RateLimitWindow.js"; -export type RateLimitSnapshot = { limitId: string | null, limitName: string | null, primary: RateLimitWindow | null, secondary: RateLimitWindow | null, credits: CreditsSnapshot | null, planType: PlanType | null, rateLimitReachedType: RateLimitReachedType | null, }; +export type RateLimitSnapshot = { + limitId: string | null; + limitName: string | null; + primary: RateLimitWindow | null; + secondary: RateLimitWindow | null; + credits: CreditsSnapshot | null; + planType: PlanType | null; + rateLimitReachedType: RateLimitReachedType | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitWindow.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitWindow.ts index 5031f8d93bc..c0ad59583b5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitWindow.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RateLimitWindow.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type RateLimitWindow = { usedPercent: number, windowDurationMins: number | null, resetsAt: number | null, }; +export type RateLimitWindow = { + usedPercent: number; + windowDurationMins: number | null; + resetsAt: number | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RawResponseItemCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RawResponseItemCompletedNotification.ts index 47af84fce2d..531655936f6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RawResponseItemCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RawResponseItemCompletedNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ResponseItem } from "../ResponseItem.js"; -export type RawResponseItemCompletedNotification = { threadId: string, turnId: string, item: ResponseItem, }; +export type RawResponseItemCompletedNotification = { + threadId: string; + turnId: string; + item: ResponseItem; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReadOnlyAccess.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReadOnlyAccess.ts index 709130cf612..ecc4b3d25fb 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReadOnlyAccess.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReadOnlyAccess.ts @@ -3,4 +3,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type ReadOnlyAccess = { "type": "restricted", includePlatformDefaults: boolean, readableRoots: Array, } | { "type": "fullAccess" }; +export type ReadOnlyAccess = + | { type: "restricted"; includePlatformDefaults: boolean; readableRoots: Array } + | { type: "fullAccess" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningEffortOption.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningEffortOption.ts index 7e53377a448..a9258c07079 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningEffortOption.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningEffortOption.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ReasoningEffort } from "../ReasoningEffort.js"; -export type ReasoningEffortOption = { reasoningEffort: ReasoningEffort, description: string, }; +export type ReasoningEffortOption = { reasoningEffort: ReasoningEffort; description: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryPartAddedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryPartAddedNotification.ts index 35858125056..3ba8282e045 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryPartAddedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryPartAddedNotification.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ReasoningSummaryPartAddedNotification = { threadId: string, turnId: string, itemId: string, summaryIndex: number, }; +export type ReasoningSummaryPartAddedNotification = { + threadId: string; + turnId: string; + itemId: string; + summaryIndex: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryTextDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryTextDeltaNotification.ts index aa932fa5244..7ce59515b14 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryTextDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningSummaryTextDeltaNotification.ts @@ -2,4 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ReasoningSummaryTextDeltaNotification = { threadId: string, turnId: string, itemId: string, delta: string, summaryIndex: number, }; +export type ReasoningSummaryTextDeltaNotification = { + threadId: string; + turnId: string; + itemId: string; + delta: string; + summaryIndex: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningTextDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningTextDeltaNotification.ts index 86584ba3b85..23e9bc4cc12 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningTextDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReasoningTextDeltaNotification.ts @@ -2,4 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ReasoningTextDeltaNotification = { threadId: string, turnId: string, itemId: string, delta: string, contentIndex: number, }; +export type ReasoningTextDeltaNotification = { + threadId: string; + turnId: string; + itemId: string; + delta: string; + contentIndex: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RequestPermissionProfile.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RequestPermissionProfile.ts index 9a1ee1b627a..3a5c34b243e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/RequestPermissionProfile.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/RequestPermissionProfile.ts @@ -4,4 +4,7 @@ import type { AdditionalFileSystemPermissions } from "./AdditionalFileSystemPermissions.js"; import type { AdditionalNetworkPermissions } from "./AdditionalNetworkPermissions.js"; -export type RequestPermissionProfile = { network: AdditionalNetworkPermissions | null, fileSystem: AdditionalFileSystemPermissions | null, }; +export type RequestPermissionProfile = { + network: AdditionalNetworkPermissions | null; + fileSystem: AdditionalFileSystemPermissions | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartParams.ts index c11c3fcc615..b2af886bf18 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartParams.ts @@ -4,9 +4,12 @@ import type { ReviewDelivery } from "./ReviewDelivery.js"; import type { ReviewTarget } from "./ReviewTarget.js"; -export type ReviewStartParams = { threadId: string, target: ReviewTarget, -/** - * Where to run the review: inline (default) on the current thread or - * detached on a new thread (returned in `reviewThreadId`). - */ -delivery?: ReviewDelivery | null, }; +export type ReviewStartParams = { + threadId: string; + target: ReviewTarget; + /** + * Where to run the review: inline (default) on the current thread or + * detached on a new thread (returned in `reviewThreadId`). + */ + delivery?: ReviewDelivery | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartResponse.ts index 05fd94417fa..ea0ebeb4de0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewStartResponse.ts @@ -3,11 +3,13 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Turn } from "./Turn.js"; -export type ReviewStartResponse = { turn: Turn, -/** - * Identifies the thread where the review runs. - * - * For inline reviews, this is the original thread id. - * For detached reviews, this is the id of the new review thread. - */ -reviewThreadId: string, }; +export type ReviewStartResponse = { + turn: Turn; + /** + * Identifies the thread where the review runs. + * + * For inline reviews, this is the original thread id. + * For detached reviews, this is the id of the new review thread. + */ + reviewThreadId: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewTarget.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewTarget.ts index a69b68c056c..640a5d8da8f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewTarget.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ReviewTarget.ts @@ -2,8 +2,15 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ReviewTarget = { "type": "uncommittedChanges" } | { "type": "baseBranch", branch: string, } | { "type": "commit", sha: string, -/** - * Optional human-readable label (e.g., commit subject) for UIs. - */ -title: string | null, } | { "type": "custom", instructions: string, }; +export type ReviewTarget = + | { type: "uncommittedChanges" } + | { type: "baseBranch"; branch: string } + | { + type: "commit"; + sha: string; + /** + * Optional human-readable label (e.g., commit subject) for UIs. + */ + title: string | null; + } + | { type: "custom"; instructions: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxPolicy.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxPolicy.ts index a70fdf6c859..14efec19b3e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxPolicy.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxPolicy.ts @@ -5,4 +5,15 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { NetworkAccess } from "./NetworkAccess.js"; import type { ReadOnlyAccess } from "./ReadOnlyAccess.js"; -export type SandboxPolicy = { "type": "dangerFullAccess" } | { "type": "readOnly", access: ReadOnlyAccess, networkAccess: boolean, } | { "type": "externalSandbox", networkAccess: NetworkAccess, } | { "type": "workspaceWrite", writableRoots: Array, readOnlyAccess: ReadOnlyAccess, networkAccess: boolean, excludeTmpdirEnvVar: boolean, excludeSlashTmp: boolean, }; +export type SandboxPolicy = + | { type: "dangerFullAccess" } + | { type: "readOnly"; access: ReadOnlyAccess; networkAccess: boolean } + | { type: "externalSandbox"; networkAccess: NetworkAccess } + | { + type: "workspaceWrite"; + writableRoots: Array; + readOnlyAccess: ReadOnlyAccess; + networkAccess: boolean; + excludeTmpdirEnvVar: boolean; + excludeSlashTmp: boolean; + }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxWorkspaceWrite.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxWorkspaceWrite.ts index cd19d83f1f2..c7e4cb6072f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxWorkspaceWrite.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SandboxWorkspaceWrite.ts @@ -2,4 +2,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SandboxWorkspaceWrite = { writable_roots: Array, network_access: boolean, exclude_tmpdir_env_var: boolean, exclude_slash_tmp: boolean, }; +export type SandboxWorkspaceWrite = { + writable_roots: Array; + network_access: boolean; + exclude_tmpdir_env_var: boolean; + exclude_slash_tmp: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailParams.ts index 8d523b80513..fa699d893e1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailParams.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AddCreditsNudgeCreditType } from "./AddCreditsNudgeCreditType.js"; -export type SendAddCreditsNudgeEmailParams = { creditType: AddCreditsNudgeCreditType, }; +export type SendAddCreditsNudgeEmailParams = { creditType: AddCreditsNudgeCreditType }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailResponse.ts index 19ed84594f0..2da8ace4c96 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SendAddCreditsNudgeEmailResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AddCreditsNudgeEmailStatus } from "./AddCreditsNudgeEmailStatus.js"; -export type SendAddCreditsNudgeEmailResponse = { status: AddCreditsNudgeEmailStatus, }; +export type SendAddCreditsNudgeEmailResponse = { status: AddCreditsNudgeEmailStatus }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ServerRequestResolvedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ServerRequestResolvedNotification.ts index 07fa929e1d1..80fdbfbf7f8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ServerRequestResolvedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ServerRequestResolvedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { RequestId } from "../RequestId.js"; -export type ServerRequestResolvedNotification = { threadId: string, requestId: RequestId, }; +export type ServerRequestResolvedNotification = { threadId: string; requestId: RequestId }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SessionSource.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SessionSource.ts index 9ac158c5429..37ed283f396 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SessionSource.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SessionSource.ts @@ -3,4 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubAgentSource } from "../SubAgentSource.js"; -export type SessionSource = "cli" | "vscode" | "exec" | "appServer" | { "custom": string } | { "subAgent": SubAgentSource } | "unknown"; +export type SessionSource = + | "cli" + | "vscode" + | "exec" + | "appServer" + | { custom: string } + | { subAgent: SubAgentSource } + | "unknown"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillDependencies.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillDependencies.ts index 3e59f7722d1..8d915861bf3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillDependencies.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillDependencies.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SkillToolDependency } from "./SkillToolDependency.js"; -export type SkillDependencies = { tools: Array, }; +export type SkillDependencies = { tools: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillErrorInfo.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillErrorInfo.ts index 6eaf035d8cc..5d7edccd0f1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillErrorInfo.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillErrorInfo.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SkillErrorInfo = { path: string, message: string, }; +export type SkillErrorInfo = { path: string; message: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillInterface.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillInterface.ts index f4d28665ce7..7db9e8eaea5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillInterface.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillInterface.ts @@ -3,4 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type SkillInterface = { displayName?: string, shortDescription?: string, iconSmall?: AbsolutePathBuf, iconLarge?: AbsolutePathBuf, brandColor?: string, defaultPrompt?: string, }; +export type SkillInterface = { + displayName?: string; + shortDescription?: string; + iconSmall?: AbsolutePathBuf; + iconLarge?: AbsolutePathBuf; + brandColor?: string; + defaultPrompt?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillMetadata.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillMetadata.ts index 49e622b51df..657b0a860c7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillMetadata.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillMetadata.ts @@ -6,8 +6,16 @@ import type { SkillDependencies } from "./SkillDependencies.js"; import type { SkillInterface } from "./SkillInterface.js"; import type { SkillScope } from "./SkillScope.js"; -export type SkillMetadata = { name: string, description: string, -/** - * Legacy short_description from SKILL.md. Prefer SKILL.json interface.short_description. - */ -shortDescription?: string, interface?: SkillInterface, dependencies?: SkillDependencies, path: AbsolutePathBuf, scope: SkillScope, enabled: boolean, }; +export type SkillMetadata = { + name: string; + description: string; + /** + * Legacy short_description from SKILL.md. Prefer SKILL.json interface.short_description. + */ + shortDescription?: string; + interface?: SkillInterface; + dependencies?: SkillDependencies; + path: AbsolutePathBuf; + scope: SkillScope; + enabled: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillSummary.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillSummary.ts index c0369ae9646..c4bb4c57707 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillSummary.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillSummary.ts @@ -4,4 +4,11 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { SkillInterface } from "./SkillInterface.js"; -export type SkillSummary = { name: string, description: string, shortDescription: string | null, interface: SkillInterface | null, path: AbsolutePathBuf | null, enabled: boolean, }; +export type SkillSummary = { + name: string; + description: string; + shortDescription: string | null; + interface: SkillInterface | null; + path: AbsolutePathBuf | null; + enabled: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillToolDependency.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillToolDependency.ts index a5da45e1785..36a30a113b4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillToolDependency.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillToolDependency.ts @@ -2,4 +2,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SkillToolDependency = { type: string, value: string, description?: string, transport?: string, command?: string, url?: string, }; +export type SkillToolDependency = { + type: string; + value: string; + description?: string; + transport?: string; + command?: string; + url?: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteParams.ts index 910e4c0c87e..542eeec1c39 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteParams.ts @@ -4,11 +4,13 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; export type SkillsConfigWriteParams = { -/** - * Path-based selector. - */ -path?: AbsolutePathBuf | null, -/** - * Name-based selector. - */ -name?: string | null, enabled: boolean, }; + /** + * Path-based selector. + */ + path?: AbsolutePathBuf | null; + /** + * Name-based selector. + */ + name?: string | null; + enabled: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteResponse.ts index c0e8ef7cbd1..ba5231919bc 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsConfigWriteResponse.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SkillsConfigWriteResponse = { effectiveEnabled: boolean, }; +export type SkillsConfigWriteResponse = { effectiveEnabled: boolean }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListEntry.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListEntry.ts index bf92da52e35..4b1197a26e4 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListEntry.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListEntry.ts @@ -4,4 +4,8 @@ import type { SkillErrorInfo } from "./SkillErrorInfo.js"; import type { SkillMetadata } from "./SkillMetadata.js"; -export type SkillsListEntry = { cwd: string, skills: Array, errors: Array, }; +export type SkillsListEntry = { + cwd: string; + skills: Array; + errors: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListExtraRootsForCwd.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListExtraRootsForCwd.ts index c18cd4ba1d8..00f6e857242 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListExtraRootsForCwd.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListExtraRootsForCwd.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SkillsListExtraRootsForCwd = { cwd: string, extraUserRoots: Array, }; +export type SkillsListExtraRootsForCwd = { cwd: string; extraUserRoots: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListParams.ts index 2266bcb4f64..a1d82190e44 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListParams.ts @@ -4,15 +4,16 @@ import type { SkillsListExtraRootsForCwd } from "./SkillsListExtraRootsForCwd.js"; export type SkillsListParams = { -/** - * When empty, defaults to the current session working directory. - */ -cwds?: Array, -/** - * When true, bypass the skills cache and re-scan skills from disk. - */ -forceReload?: boolean, -/** - * Optional per-cwd extra roots to scan as user-scoped skills. - */ -perCwdExtraUserRoots?: Array | null, }; + /** + * When empty, defaults to the current session working directory. + */ + cwds?: Array; + /** + * When true, bypass the skills cache and re-scan skills from disk. + */ + forceReload?: boolean; + /** + * Optional per-cwd extra roots to scan as user-scoped skills. + */ + perCwdExtraUserRoots?: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListResponse.ts index 059423ef978..61e4493b778 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/SkillsListResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SkillsListEntry } from "./SkillsListEntry.js"; -export type SkillsListResponse = { data: Array, }; +export type SkillsListResponse = { data: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TerminalInteractionNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TerminalInteractionNotification.ts index 1631f861745..17f49787df3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TerminalInteractionNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TerminalInteractionNotification.ts @@ -2,4 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type TerminalInteractionNotification = { threadId: string, turnId: string, itemId: string, processId: string, stdin: string, }; +export type TerminalInteractionNotification = { + threadId: string; + turnId: string; + itemId: string; + processId: string; + stdin: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextElement.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextElement.ts index 0692265241d..0a4abd273af 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextElement.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextElement.ts @@ -4,11 +4,12 @@ import type { ByteRange } from "./ByteRange.js"; export type TextElement = { -/** - * Byte range in the parent `text` buffer that this element occupies. - */ -byteRange: ByteRange, -/** - * Optional human-readable placeholder for the element, displayed in the UI. - */ -placeholder: string | null, }; + /** + * Byte range in the parent `text` buffer that this element occupies. + */ + byteRange: ByteRange; + /** + * Optional human-readable placeholder for the element, displayed in the UI. + */ + placeholder: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextPosition.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextPosition.ts index 0e6eeb13767..fb6c6457c7e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextPosition.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextPosition.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type TextPosition = { -/** - * 1-based line number. - */ -line: number, -/** - * 1-based column number (in Unicode scalar values). - */ -column: number, }; + /** + * 1-based line number. + */ + line: number; + /** + * 1-based column number (in Unicode scalar values). + */ + column: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextRange.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextRange.ts index 77ca22bbb1a..6e061b5efd0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextRange.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TextRange.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TextPosition } from "./TextPosition.js"; -export type TextRange = { start: TextPosition, end: TextPosition, }; +export type TextRange = { start: TextPosition; end: TextPosition }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Thread.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Thread.ts index a18c752e70c..a6c5fca1626 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Thread.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Thread.ts @@ -7,71 +7,73 @@ import type { SessionSource } from "./SessionSource.js"; import type { ThreadStatus } from "./ThreadStatus.js"; import type { Turn } from "./Turn.js"; -export type Thread = { id: string, -/** - * Source thread id when this thread was created by forking another thread. - */ -forkedFromId: string | null, -/** - * Usually the first user message in the thread, if available. - */ -preview: string, -/** - * Whether the thread is ephemeral and should not be materialized on disk. - */ -ephemeral: boolean, -/** - * Model provider used for this thread (for example, 'openai'). - */ -modelProvider: string, -/** - * Unix timestamp (in seconds) when the thread was created. - */ -createdAt: number, -/** - * Unix timestamp (in seconds) when the thread was last updated. - */ -updatedAt: number, -/** - * Current runtime status for the thread. - */ -status: ThreadStatus, -/** - * [UNSTABLE] Path to the thread on disk. - */ -path: string | null, -/** - * Working directory captured for the thread. - */ -cwd: AbsolutePathBuf, -/** - * Version of the CLI that created the thread. - */ -cliVersion: string, -/** - * Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.). - */ -source: SessionSource, -/** - * Optional random unique nickname assigned to an AgentControl-spawned sub-agent. - */ -agentNickname: string | null, -/** - * Optional role (agent_role) assigned to an AgentControl-spawned sub-agent. - */ -agentRole: string | null, -/** - * Optional Git metadata captured when the thread was created. - */ -gitInfo: GitInfo | null, -/** - * Optional user-facing thread title. - */ -name: string | null, -/** - * Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read` - * (when `includeTurns` is true) responses. - * For all other responses and notifications returning a Thread, - * the turns field will be an empty list. - */ -turns: Array, }; +export type Thread = { + id: string; + /** + * Source thread id when this thread was created by forking another thread. + */ + forkedFromId: string | null; + /** + * Usually the first user message in the thread, if available. + */ + preview: string; + /** + * Whether the thread is ephemeral and should not be materialized on disk. + */ + ephemeral: boolean; + /** + * Model provider used for this thread (for example, 'openai'). + */ + modelProvider: string; + /** + * Unix timestamp (in seconds) when the thread was created. + */ + createdAt: number; + /** + * Unix timestamp (in seconds) when the thread was last updated. + */ + updatedAt: number; + /** + * Current runtime status for the thread. + */ + status: ThreadStatus; + /** + * [UNSTABLE] Path to the thread on disk. + */ + path: string | null; + /** + * Working directory captured for the thread. + */ + cwd: AbsolutePathBuf; + /** + * Version of the CLI that created the thread. + */ + cliVersion: string; + /** + * Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.). + */ + source: SessionSource; + /** + * Optional random unique nickname assigned to an AgentControl-spawned sub-agent. + */ + agentNickname: string | null; + /** + * Optional role (agent_role) assigned to an AgentControl-spawned sub-agent. + */ + agentRole: string | null; + /** + * Optional Git metadata captured when the thread was created. + */ + gitInfo: GitInfo | null; + /** + * Optional user-facing thread title. + */ + name: string | null; + /** + * Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read` + * (when `includeTurns` is true) responses. + * For all other responses and notifications returning a Thread, + * the turns field will be an empty list. + */ + turns: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadApproveGuardianDeniedActionParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadApproveGuardianDeniedActionParams.ts index 8c7d69831d2..336709464a0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadApproveGuardianDeniedActionParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadApproveGuardianDeniedActionParams.ts @@ -3,8 +3,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type ThreadApproveGuardianDeniedActionParams = { threadId: string, -/** - * Serialized `codex_protocol::protocol::GuardianAssessmentEvent`. - */ -event: JsonValue, }; +export type ThreadApproveGuardianDeniedActionParams = { + threadId: string; + /** + * Serialized `codex_protocol::protocol::GuardianAssessmentEvent`. + */ + event: JsonValue; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchiveParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchiveParams.ts index ad4071cbfa4..81d1d47eaf8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchiveParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchiveParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadArchiveParams = { threadId: string, }; +export type ThreadArchiveParams = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchivedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchivedNotification.ts index cca18907912..a2e81a708bd 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchivedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadArchivedNotification.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadArchivedNotification = { threadId: string, }; +export type ThreadArchivedNotification = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadClosedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadClosedNotification.ts index ed5bf546caf..9efd8c21899 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadClosedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadClosedNotification.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadClosedNotification = { threadId: string, }; +export type ThreadClosedNotification = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadCompactStartParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadCompactStartParams.ts index a60b2c28129..bdb894f295a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadCompactStartParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadCompactStartParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadCompactStartParams = { threadId: string, }; +export type ThreadCompactStartParams = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkParams.ts index dcbc06dc3ee..0bd9860d3ed 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkParams.ts @@ -1,8 +1,8 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! +import type { JsonValue } from "../serde_json/JsonValue.js"; // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ServiceTier } from "../ServiceTier.js"; -import type { JsonValue } from "../serde_json/JsonValue.js"; import type { ApprovalsReviewer } from "./ApprovalsReviewer.js"; import type { AskForApproval } from "./AskForApproval.js"; import type { PermissionProfile } from "./PermissionProfile.js"; @@ -17,28 +17,39 @@ import type { SandboxMode } from "./SandboxMode.js"; * * Prefer using thread_id whenever possible. */ -export type ThreadForkParams = {threadId: string, /** - * [UNSTABLE] Specify the rollout path to fork from. - * If specified, the thread_id param will be ignored. - */ -path?: string | null, /** - * Configuration overrides for the forked thread, if any. - */ -model?: string | null, modelProvider?: string | null, serviceTier?: ServiceTier | null, cwd?: string | null, approvalPolicy?: AskForApproval | null, /** - * Override where approval requests are routed for review on this thread - * and subsequent turns. - */ -approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | null, /** - * Full permissions override for the forked thread. Cannot be combined - * with `sandbox`. - */ -permissionProfile?: PermissionProfile | null, config?: { [key in string]?: JsonValue } | null, baseInstructions?: string | null, developerInstructions?: string | null, ephemeral?: boolean, /** - * When true, return only thread metadata and live fork state without - * populating `thread.turns`. This is useful when the client plans to call - * `thread/turns/list` immediately after forking. - */ -excludeTurns?: boolean, /** - * If true, persist additional rollout EventMsg variants required to - * reconstruct a richer thread history on subsequent resume/fork/read. - */ -persistExtendedHistory: boolean}; +export type ThreadForkParams = { + threadId: string /** + * [UNSTABLE] Specify the rollout path to fork from. + * If specified, the thread_id param will be ignored. + */; + path?: string | null /** + * Configuration overrides for the forked thread, if any. + */; + model?: string | null; + modelProvider?: string | null; + serviceTier?: ServiceTier | null; + cwd?: string | null; + approvalPolicy?: AskForApproval | null /** + * Override where approval requests are routed for review on this thread + * and subsequent turns. + */; + approvalsReviewer?: ApprovalsReviewer | null; + sandbox?: SandboxMode | null /** + * Full permissions override for the forked thread. Cannot be combined + * with `sandbox`. + */; + permissionProfile?: PermissionProfile | null; + config?: { [key in string]?: JsonValue } | null; + baseInstructions?: string | null; + developerInstructions?: string | null; + ephemeral?: boolean /** + * When true, return only thread metadata and live fork state without + * populating `thread.turns`. This is useful when the client plans to call + * `thread/turns/list` immediately after forking. + */; + excludeTurns?: boolean /** + * If true, persist additional rollout EventMsg variants required to + * reconstruct a richer thread history on subsequent resume/fork/read. + */; + persistExtendedHistory: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkResponse.ts index d709cb7b9fe..22eac9f3c37 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadForkResponse.ts @@ -10,24 +10,32 @@ import type { PermissionProfile } from "./PermissionProfile.js"; import type { SandboxPolicy } from "./SandboxPolicy.js"; import type { Thread } from "./Thread.js"; -export type ThreadForkResponse = { thread: Thread, model: string, modelProvider: string, serviceTier: ServiceTier | null, cwd: AbsolutePathBuf, -/** - * Instruction source files currently loaded for this thread. - */ -instructionSources: Array, approvalPolicy: AskForApproval, -/** - * Reviewer currently used for approval requests on this thread. - */ -approvalsReviewer: ApprovalsReviewer, -/** - * Legacy sandbox policy retained for compatibility. New clients should use - * `permissionProfile` when present as the canonical active permissions - * view. - */ -sandbox: SandboxPolicy, -/** - * Canonical active permissions view for this thread when representable. - * This is `null` for external sandbox policies because external - * enforcement cannot be round-tripped as a `PermissionProfile`. - */ -permissionProfile: PermissionProfile | null, reasoningEffort: ReasoningEffort | null, }; +export type ThreadForkResponse = { + thread: Thread; + model: string; + modelProvider: string; + serviceTier: ServiceTier | null; + cwd: AbsolutePathBuf; + /** + * Instruction source files currently loaded for this thread. + */ + instructionSources: Array; + approvalPolicy: AskForApproval; + /** + * Reviewer currently used for approval requests on this thread. + */ + approvalsReviewer: ApprovalsReviewer; + /** + * Legacy sandbox policy retained for compatibility. New clients should use + * `permissionProfile` when present as the canonical active permissions + * view. + */ + sandbox: SandboxPolicy; + /** + * Canonical active permissions view for this thread when representable. + * This is `null` for external sandbox policies because external + * enforcement cannot be round-tripped as a `PermissionProfile`. + */ + permissionProfile: PermissionProfile | null; + reasoningEffort: ReasoningEffort | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadInjectItemsParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadInjectItemsParams.ts index d2765961913..143c73e5ef5 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadInjectItemsParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadInjectItemsParams.ts @@ -3,8 +3,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { JsonValue } from "../serde_json/JsonValue.js"; -export type ThreadInjectItemsParams = { threadId: string, -/** - * Raw Responses API items to append to the thread's model-visible history. - */ -items: Array, }; +export type ThreadInjectItemsParams = { + threadId: string; + /** + * Raw Responses API items to append to the thread's model-visible history. + */ + items: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadItem.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadItem.ts index 9994aee7d98..233162b0cee 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadItem.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadItem.ts @@ -23,79 +23,134 @@ import type { PatchApplyStatus } from "./PatchApplyStatus.js"; import type { UserInput } from "./UserInput.js"; import type { WebSearchAction } from "./WebSearchAction.js"; -export type ThreadItem = { "type": "userMessage", id: string, content: Array, } | { "type": "hookPrompt", id: string, fragments: Array, } | { "type": "agentMessage", id: string, text: string, phase: MessagePhase | null, memoryCitation: MemoryCitation | null, } | { "type": "plan", id: string, text: string, } | { "type": "reasoning", id: string, summary: Array, content: Array, } | { "type": "commandExecution", id: string, -/** - * The command to be executed. - */ -command: string, -/** - * The command's working directory. - */ -cwd: AbsolutePathBuf, -/** - * Identifier for the underlying PTY process (when available). - */ -processId: string | null, source: CommandExecutionSource, status: CommandExecutionStatus, -/** - * A best-effort parsing of the command to understand the action(s) it will perform. - * This returns a list of CommandAction objects because a single shell command may - * be composed of many commands piped together. - */ -commandActions: Array, -/** - * The command's output, aggregated from stdout and stderr. - */ -aggregatedOutput: string | null, -/** - * The command's exit code. - */ -exitCode: number | null, -/** - * The duration of the command execution in milliseconds. - */ -durationMs: number | null, } | { "type": "fileChange", id: string, changes: Array, status: PatchApplyStatus, } | { "type": "mcpToolCall", id: string, server: string, tool: string, status: McpToolCallStatus, arguments: JsonValue, mcpAppResourceUri?: string, result: McpToolCallResult | null, error: McpToolCallError | null, -/** - * The duration of the MCP tool call in milliseconds. - */ -durationMs: number | null, } | { "type": "dynamicToolCall", id: string, namespace: string | null, tool: string, arguments: JsonValue, status: DynamicToolCallStatus, contentItems: Array | null, success: boolean | null, -/** - * The duration of the dynamic tool call in milliseconds. - */ -durationMs: number | null, } | { "type": "collabAgentToolCall", -/** - * Unique identifier for this collab tool call. - */ -id: string, -/** - * Name of the collab tool that was invoked. - */ -tool: CollabAgentTool, -/** - * Current status of the collab tool call. - */ -status: CollabAgentToolCallStatus, -/** - * Thread ID of the agent issuing the collab request. - */ -senderThreadId: string, -/** - * Thread ID of the receiving agent, when applicable. In case of spawn operation, - * this corresponds to the newly spawned agent. - */ -receiverThreadIds: Array, -/** - * Prompt text sent as part of the collab tool call, when available. - */ -prompt: string | null, -/** - * Model requested for the spawned agent, when applicable. - */ -model: string | null, -/** - * Reasoning effort requested for the spawned agent, when applicable. - */ -reasoningEffort: ReasoningEffort | null, -/** - * Last known status of the target agents, when available. - */ -agentsStates: { [key in string]?: CollabAgentState }, } | { "type": "webSearch", id: string, query: string, action: WebSearchAction | null, } | { "type": "imageView", id: string, path: AbsolutePathBuf, } | { "type": "imageGeneration", id: string, status: string, revisedPrompt: string | null, result: string, savedPath?: AbsolutePathBuf, } | { "type": "enteredReviewMode", id: string, review: string, } | { "type": "exitedReviewMode", id: string, review: string, } | { "type": "contextCompaction", id: string, }; +export type ThreadItem = + | { type: "userMessage"; id: string; content: Array } + | { type: "hookPrompt"; id: string; fragments: Array } + | { + type: "agentMessage"; + id: string; + text: string; + phase: MessagePhase | null; + memoryCitation: MemoryCitation | null; + } + | { type: "plan"; id: string; text: string } + | { type: "reasoning"; id: string; summary: Array; content: Array } + | { + type: "commandExecution"; + id: string; + /** + * The command to be executed. + */ + command: string; + /** + * The command's working directory. + */ + cwd: AbsolutePathBuf; + /** + * Identifier for the underlying PTY process (when available). + */ + processId: string | null; + source: CommandExecutionSource; + status: CommandExecutionStatus; + /** + * A best-effort parsing of the command to understand the action(s) it will perform. + * This returns a list of CommandAction objects because a single shell command may + * be composed of many commands piped together. + */ + commandActions: Array; + /** + * The command's output, aggregated from stdout and stderr. + */ + aggregatedOutput: string | null; + /** + * The command's exit code. + */ + exitCode: number | null; + /** + * The duration of the command execution in milliseconds. + */ + durationMs: number | null; + } + | { type: "fileChange"; id: string; changes: Array; status: PatchApplyStatus } + | { + type: "mcpToolCall"; + id: string; + server: string; + tool: string; + status: McpToolCallStatus; + arguments: JsonValue; + mcpAppResourceUri?: string; + result: McpToolCallResult | null; + error: McpToolCallError | null; + /** + * The duration of the MCP tool call in milliseconds. + */ + durationMs: number | null; + } + | { + type: "dynamicToolCall"; + id: string; + namespace: string | null; + tool: string; + arguments: JsonValue; + status: DynamicToolCallStatus; + contentItems: Array | null; + success: boolean | null; + /** + * The duration of the dynamic tool call in milliseconds. + */ + durationMs: number | null; + } + | { + type: "collabAgentToolCall"; + /** + * Unique identifier for this collab tool call. + */ + id: string; + /** + * Name of the collab tool that was invoked. + */ + tool: CollabAgentTool; + /** + * Current status of the collab tool call. + */ + status: CollabAgentToolCallStatus; + /** + * Thread ID of the agent issuing the collab request. + */ + senderThreadId: string; + /** + * Thread ID of the receiving agent, when applicable. In case of spawn operation, + * this corresponds to the newly spawned agent. + */ + receiverThreadIds: Array; + /** + * Prompt text sent as part of the collab tool call, when available. + */ + prompt: string | null; + /** + * Model requested for the spawned agent, when applicable. + */ + model: string | null; + /** + * Reasoning effort requested for the spawned agent, when applicable. + */ + reasoningEffort: ReasoningEffort | null; + /** + * Last known status of the target agents, when available. + */ + agentsStates: { [key in string]?: CollabAgentState }; + } + | { type: "webSearch"; id: string; query: string; action: WebSearchAction | null } + | { type: "imageView"; id: string; path: AbsolutePathBuf } + | { + type: "imageGeneration"; + id: string; + status: string; + revisedPrompt: string | null; + result: string; + savedPath?: AbsolutePathBuf; + } + | { type: "enteredReviewMode"; id: string; review: string } + | { type: "exitedReviewMode"; id: string; review: string } + | { type: "contextCompaction"; id: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListParams.ts index 9511911262d..589101d632b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListParams.ts @@ -6,49 +6,50 @@ import type { ThreadSortKey } from "./ThreadSortKey.js"; import type { ThreadSourceKind } from "./ThreadSourceKind.js"; export type ThreadListParams = { -/** - * Opaque pagination cursor returned by a previous call. - */ -cursor?: string | null, -/** - * Optional page size; defaults to a reasonable server-side value. - */ -limit?: number | null, -/** - * Optional sort key; defaults to created_at. - */ -sortKey?: ThreadSortKey | null, -/** - * Optional sort direction; defaults to descending (newest first). - */ -sortDirection?: SortDirection | null, -/** - * Optional provider filter; when set, only sessions recorded under these - * providers are returned. When present but empty, includes all providers. - */ -modelProviders?: Array | null, -/** - * Optional source filter; when set, only sessions from these source kinds - * are returned. When omitted or empty, defaults to interactive sources. - */ -sourceKinds?: Array | null, -/** - * Optional archived filter; when set to true, only archived threads are returned. - * If false or null, only non-archived threads are returned. - */ -archived?: boolean | null, -/** - * Optional cwd filter or filters; when set, only threads whose session cwd - * exactly matches one of these paths are returned. - */ -cwd?: string | Array | null, -/** - * If true, return from the state DB without scanning JSONL rollouts to - * repair thread metadata. Omitted or false preserves scan-and-repair - * behavior. - */ -useStateDbOnly?: boolean, -/** - * Optional substring filter for the extracted thread title. - */ -searchTerm?: string | null, }; + /** + * Opaque pagination cursor returned by a previous call. + */ + cursor?: string | null; + /** + * Optional page size; defaults to a reasonable server-side value. + */ + limit?: number | null; + /** + * Optional sort key; defaults to created_at. + */ + sortKey?: ThreadSortKey | null; + /** + * Optional sort direction; defaults to descending (newest first). + */ + sortDirection?: SortDirection | null; + /** + * Optional provider filter; when set, only sessions recorded under these + * providers are returned. When present but empty, includes all providers. + */ + modelProviders?: Array | null; + /** + * Optional source filter; when set, only sessions from these source kinds + * are returned. When omitted or empty, defaults to interactive sources. + */ + sourceKinds?: Array | null; + /** + * Optional archived filter; when set to true, only archived threads are returned. + * If false or null, only non-archived threads are returned. + */ + archived?: boolean | null; + /** + * Optional cwd filter or filters; when set, only threads whose session cwd + * exactly matches one of these paths are returned. + */ + cwd?: string | Array | null; + /** + * If true, return from the state DB without scanning JSONL rollouts to + * repair thread metadata. Omitted or false preserves scan-and-repair + * behavior. + */ + useStateDbOnly?: boolean; + /** + * Optional substring filter for the extracted thread title. + */ + searchTerm?: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListResponse.ts index 0b94c4e008c..95815064359 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadListResponse.ts @@ -3,16 +3,18 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Thread } from "./Thread.js"; -export type ThreadListResponse = { data: Array, -/** - * Opaque cursor to pass to the next call to continue after the last item. - * if None, there are no more items to return. - */ -nextCursor: string | null, -/** - * Opaque cursor to pass as `cursor` when reversing `sortDirection`. - * This is only populated when the page contains at least one thread. - * Use it with the opposite `sortDirection`; for timestamp sorts it anchors - * at the start of the page timestamp so same-second updates are not skipped. - */ -backwardsCursor: string | null, }; +export type ThreadListResponse = { + data: Array; + /** + * Opaque cursor to pass to the next call to continue after the last item. + * if None, there are no more items to return. + */ + nextCursor: string | null; + /** + * Opaque cursor to pass as `cursor` when reversing `sortDirection`. + * This is only populated when the page contains at least one thread. + * Use it with the opposite `sortDirection`; for timestamp sorts it anchors + * at the start of the page timestamp so same-second updates are not skipped. + */ + backwardsCursor: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListParams.ts index a7889e4f09a..7269540838d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListParams.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ThreadLoadedListParams = { -/** - * Opaque pagination cursor returned by a previous call. - */ -cursor?: string | null, -/** - * Optional page size; defaults to no limit. - */ -limit?: number | null, }; + /** + * Opaque pagination cursor returned by a previous call. + */ + cursor?: string | null; + /** + * Optional page size; defaults to no limit. + */ + limit?: number | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListResponse.ts index 21a48c37e9f..5555ac2d771 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadLoadedListResponse.ts @@ -3,12 +3,13 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ThreadLoadedListResponse = { -/** - * Thread ids for sessions currently loaded in memory. - */ -data: Array, -/** - * Opaque cursor to pass to the next call to continue after the last item. - * if None, there are no more items to return. - */ -nextCursor: string | null, }; + /** + * Thread ids for sessions currently loaded in memory. + */ + data: Array; + /** + * Opaque cursor to pass to the next call to continue after the last item. + * if None, there are no more items to return. + */ + nextCursor: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataGitInfoUpdateParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataGitInfoUpdateParams.ts index 865b5346225..391427c4224 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataGitInfoUpdateParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataGitInfoUpdateParams.ts @@ -3,18 +3,19 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type ThreadMetadataGitInfoUpdateParams = { -/** - * Omit to leave the stored commit unchanged, set to `null` to clear it, - * or provide a non-empty string to replace it. - */ -sha?: string | null, -/** - * Omit to leave the stored branch unchanged, set to `null` to clear it, - * or provide a non-empty string to replace it. - */ -branch?: string | null, -/** - * Omit to leave the stored origin URL unchanged, set to `null` to clear it, - * or provide a non-empty string to replace it. - */ -originUrl?: string | null, }; + /** + * Omit to leave the stored commit unchanged, set to `null` to clear it, + * or provide a non-empty string to replace it. + */ + sha?: string | null; + /** + * Omit to leave the stored branch unchanged, set to `null` to clear it, + * or provide a non-empty string to replace it. + */ + branch?: string | null; + /** + * Omit to leave the stored origin URL unchanged, set to `null` to clear it, + * or provide a non-empty string to replace it. + */ + originUrl?: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateParams.ts index 2f2d85eb5f5..d6a41f3bad7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateParams.ts @@ -3,10 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadMetadataGitInfoUpdateParams } from "./ThreadMetadataGitInfoUpdateParams.js"; -export type ThreadMetadataUpdateParams = { threadId: string, -/** - * Patch the stored Git metadata for this thread. - * Omit a field to leave it unchanged, set it to `null` to clear it, or - * provide a string to replace the stored value. - */ -gitInfo?: ThreadMetadataGitInfoUpdateParams | null, }; +export type ThreadMetadataUpdateParams = { + threadId: string; + /** + * Patch the stored Git metadata for this thread. + * Omit a field to leave it unchanged, set it to `null` to clear it, or + * provide a string to replace the stored value. + */ + gitInfo?: ThreadMetadataGitInfoUpdateParams | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateResponse.ts index 127267f3d93..17574bd2df3 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadMetadataUpdateResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Thread } from "./Thread.js"; -export type ThreadMetadataUpdateResponse = { thread: Thread, }; +export type ThreadMetadataUpdateResponse = { thread: Thread }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadNameUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadNameUpdatedNotification.ts index c944b5aae3b..1bee8b50aa2 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadNameUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadNameUpdatedNotification.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadNameUpdatedNotification = { threadId: string, threadName?: string, }; +export type ThreadNameUpdatedNotification = { threadId: string; threadName?: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadParams.ts index 64169d2bf66..2159bd89d5e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadParams.ts @@ -2,8 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadReadParams = { threadId: string, -/** - * When true, include turns and their items from rollout history. - */ -includeTurns: boolean, }; +export type ThreadReadParams = { + threadId: string; + /** + * When true, include turns and their items from rollout history. + */ + includeTurns: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadResponse.ts index c953779c6ad..2c6e207f682 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadReadResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Thread } from "./Thread.js"; -export type ThreadReadResponse = { thread: Thread, }; +export type ThreadReadResponse = { thread: Thread }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeAudioChunk.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeAudioChunk.ts index eefb79dd656..61f4414f422 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeAudioChunk.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeAudioChunk.ts @@ -5,4 +5,10 @@ /** * EXPERIMENTAL - thread realtime audio chunk. */ -export type ThreadRealtimeAudioChunk = { data: string, sampleRate: number, numChannels: number, samplesPerChannel: number | null, itemId: string | null, }; +export type ThreadRealtimeAudioChunk = { + data: string; + sampleRate: number; + numChannels: number; + samplesPerChannel: number | null; + itemId: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeClosedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeClosedNotification.ts index a39cd71ed73..7f7e837e06f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeClosedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeClosedNotification.ts @@ -5,4 +5,4 @@ /** * EXPERIMENTAL - emitted when thread realtime transport closes. */ -export type ThreadRealtimeClosedNotification = { threadId: string, reason: string | null, }; +export type ThreadRealtimeClosedNotification = { threadId: string; reason: string | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeErrorNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeErrorNotification.ts index 0b24879ecdf..3c1e9d408a9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeErrorNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeErrorNotification.ts @@ -5,4 +5,4 @@ /** * EXPERIMENTAL - emitted when thread realtime encounters an error. */ -export type ThreadRealtimeErrorNotification = { threadId: string, message: string, }; +export type ThreadRealtimeErrorNotification = { threadId: string; message: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeItemAddedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeItemAddedNotification.ts index 010ec5f32b4..3195e4a02b8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeItemAddedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeItemAddedNotification.ts @@ -6,4 +6,4 @@ import type { JsonValue } from "../serde_json/JsonValue.js"; /** * EXPERIMENTAL - raw non-audio thread realtime item emitted by the backend. */ -export type ThreadRealtimeItemAddedNotification = { threadId: string, item: JsonValue, }; +export type ThreadRealtimeItemAddedNotification = { threadId: string; item: JsonValue }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeOutputAudioDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeOutputAudioDeltaNotification.ts index ef32dcd35f3..85946bd1b6f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeOutputAudioDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeOutputAudioDeltaNotification.ts @@ -6,4 +6,7 @@ import type { ThreadRealtimeAudioChunk } from "./ThreadRealtimeAudioChunk.js"; /** * EXPERIMENTAL - streamed output audio emitted by thread realtime. */ -export type ThreadRealtimeOutputAudioDeltaNotification = { threadId: string, audio: ThreadRealtimeAudioChunk, }; +export type ThreadRealtimeOutputAudioDeltaNotification = { + threadId: string; + audio: ThreadRealtimeAudioChunk; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeSdpNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeSdpNotification.ts index 16a7fd18c54..38af1bc9d8c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeSdpNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeSdpNotification.ts @@ -5,4 +5,4 @@ /** * EXPERIMENTAL - emitted with the remote SDP for a WebRTC realtime session. */ -export type ThreadRealtimeSdpNotification = { threadId: string, sdp: string, }; +export type ThreadRealtimeSdpNotification = { threadId: string; sdp: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartTransport.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartTransport.ts index 339e1b1b17a..82802df1128 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartTransport.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartTransport.ts @@ -5,9 +5,13 @@ /** * EXPERIMENTAL - transport used by thread realtime. */ -export type ThreadRealtimeStartTransport = { "type": "websocket" } | { "type": "webrtc", -/** - * SDP offer generated by a WebRTC RTCPeerConnection after configuring audio and the - * realtime events data channel. - */ -sdp: string, }; +export type ThreadRealtimeStartTransport = + | { type: "websocket" } + | { + type: "webrtc"; + /** + * SDP offer generated by a WebRTC RTCPeerConnection after configuring audio and the + * realtime events data channel. + */ + sdp: string; + }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartedNotification.ts index 8337e6eb223..fab2bee4f8c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeStartedNotification.ts @@ -6,4 +6,8 @@ import type { RealtimeConversationVersion } from "../RealtimeConversationVersion /** * EXPERIMENTAL - emitted when thread realtime startup is accepted. */ -export type ThreadRealtimeStartedNotification = { threadId: string, sessionId: string | null, version: RealtimeConversationVersion, }; +export type ThreadRealtimeStartedNotification = { + threadId: string; + sessionId: string | null; + version: RealtimeConversationVersion; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDeltaNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDeltaNotification.ts index 805eeddd768..0e6e0f4344a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDeltaNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDeltaNotification.ts @@ -6,8 +6,11 @@ * EXPERIMENTAL - flat transcript delta emitted whenever realtime * transcript text changes. */ -export type ThreadRealtimeTranscriptDeltaNotification = { threadId: string, role: string, -/** - * Live transcript delta from the realtime event. - */ -delta: string, }; +export type ThreadRealtimeTranscriptDeltaNotification = { + threadId: string; + role: string; + /** + * Live transcript delta from the realtime event. + */ + delta: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDoneNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDoneNotification.ts index d4667ad039f..eafdbe76743 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDoneNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRealtimeTranscriptDoneNotification.ts @@ -6,8 +6,11 @@ * EXPERIMENTAL - final transcript text emitted when realtime completes * a transcript part. */ -export type ThreadRealtimeTranscriptDoneNotification = { threadId: string, role: string, -/** - * Final complete text for the transcript part. - */ -text: string, }; +export type ThreadRealtimeTranscriptDoneNotification = { + threadId: string; + role: string; + /** + * Final complete text for the transcript part. + */ + text: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeParams.ts index 01fe473a762..cdf9626c806 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeParams.ts @@ -3,8 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Personality } from "../Personality.js"; import type { ResponseItem } from "../ResponseItem.js"; -import type { ServiceTier } from "../ServiceTier.js"; import type { JsonValue } from "../serde_json/JsonValue.js"; +import type { ServiceTier } from "../ServiceTier.js"; import type { ApprovalsReviewer } from "./ApprovalsReviewer.js"; import type { AskForApproval } from "./AskForApproval.js"; import type { PermissionProfile } from "./PermissionProfile.js"; @@ -21,33 +21,44 @@ import type { SandboxMode } from "./SandboxMode.js"; * * Prefer using thread_id whenever possible. */ -export type ThreadResumeParams = {threadId: string, /** - * [UNSTABLE] FOR CODEX CLOUD - DO NOT USE. - * If specified, the thread will be resumed with the provided history - * instead of loaded from disk. - */ -history?: Array | null, /** - * [UNSTABLE] Specify the rollout path to resume from. - * If specified, the thread_id param will be ignored. - */ -path?: string | null, /** - * Configuration overrides for the resumed thread, if any. - */ -model?: string | null, modelProvider?: string | null, serviceTier?: ServiceTier | null, cwd?: string | null, approvalPolicy?: AskForApproval | null, /** - * Override where approval requests are routed for review on this thread - * and subsequent turns. - */ -approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | null, /** - * Full permissions override for the resumed thread. Cannot be combined - * with `sandbox`. - */ -permissionProfile?: PermissionProfile | null, config?: { [key in string]?: JsonValue } | null, baseInstructions?: string | null, developerInstructions?: string | null, personality?: Personality | null, /** - * When true, return only thread metadata and live-resume state without - * populating `thread.turns`. This is useful when the client plans to call - * `thread/turns/list` immediately after resuming. - */ -excludeTurns?: boolean, /** - * If true, persist additional rollout EventMsg variants required to - * reconstruct a richer thread history on subsequent resume/fork/read. - */ -persistExtendedHistory: boolean}; +export type ThreadResumeParams = { + threadId: string /** + * [UNSTABLE] FOR CODEX CLOUD - DO NOT USE. + * If specified, the thread will be resumed with the provided history + * instead of loaded from disk. + */; + history?: Array | null /** + * [UNSTABLE] Specify the rollout path to resume from. + * If specified, the thread_id param will be ignored. + */; + path?: string | null /** + * Configuration overrides for the resumed thread, if any. + */; + model?: string | null; + modelProvider?: string | null; + serviceTier?: ServiceTier | null; + cwd?: string | null; + approvalPolicy?: AskForApproval | null /** + * Override where approval requests are routed for review on this thread + * and subsequent turns. + */; + approvalsReviewer?: ApprovalsReviewer | null; + sandbox?: SandboxMode | null /** + * Full permissions override for the resumed thread. Cannot be combined + * with `sandbox`. + */; + permissionProfile?: PermissionProfile | null; + config?: { [key in string]?: JsonValue } | null; + baseInstructions?: string | null; + developerInstructions?: string | null; + personality?: Personality | null /** + * When true, return only thread metadata and live-resume state without + * populating `thread.turns`. This is useful when the client plans to call + * `thread/turns/list` immediately after resuming. + */; + excludeTurns?: boolean /** + * If true, persist additional rollout EventMsg variants required to + * reconstruct a richer thread history on subsequent resume/fork/read. + */; + persistExtendedHistory: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeResponse.ts index 1741e44e0eb..a5cc7b14297 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadResumeResponse.ts @@ -10,24 +10,32 @@ import type { PermissionProfile } from "./PermissionProfile.js"; import type { SandboxPolicy } from "./SandboxPolicy.js"; import type { Thread } from "./Thread.js"; -export type ThreadResumeResponse = { thread: Thread, model: string, modelProvider: string, serviceTier: ServiceTier | null, cwd: AbsolutePathBuf, -/** - * Instruction source files currently loaded for this thread. - */ -instructionSources: Array, approvalPolicy: AskForApproval, -/** - * Reviewer currently used for approval requests on this thread. - */ -approvalsReviewer: ApprovalsReviewer, -/** - * Legacy sandbox policy retained for compatibility. New clients should use - * `permissionProfile` when present as the canonical active permissions - * view. - */ -sandbox: SandboxPolicy, -/** - * Canonical active permissions view for this thread when representable. - * This is `null` for external sandbox policies because external - * enforcement cannot be round-tripped as a `PermissionProfile`. - */ -permissionProfile: PermissionProfile | null, reasoningEffort: ReasoningEffort | null, }; +export type ThreadResumeResponse = { + thread: Thread; + model: string; + modelProvider: string; + serviceTier: ServiceTier | null; + cwd: AbsolutePathBuf; + /** + * Instruction source files currently loaded for this thread. + */ + instructionSources: Array; + approvalPolicy: AskForApproval; + /** + * Reviewer currently used for approval requests on this thread. + */ + approvalsReviewer: ApprovalsReviewer; + /** + * Legacy sandbox policy retained for compatibility. New clients should use + * `permissionProfile` when present as the canonical active permissions + * view. + */ + sandbox: SandboxPolicy; + /** + * Canonical active permissions view for this thread when representable. + * This is `null` for external sandbox policies because external + * enforcement cannot be round-tripped as a `PermissionProfile`. + */ + permissionProfile: PermissionProfile | null; + reasoningEffort: ReasoningEffort | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackParams.ts index 1c938e3bfdf..afe1bad9ffb 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackParams.ts @@ -2,11 +2,13 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadRollbackParams = { threadId: string, -/** - * The number of turns to drop from the end of the thread. Must be >= 1. - * - * This only modifies the thread's history and does not revert local file changes - * that have been made by the agent. Clients are responsible for reverting these changes. - */ -numTurns: number, }; +export type ThreadRollbackParams = { + threadId: string; + /** + * The number of turns to drop from the end of the thread. Must be >= 1. + * + * This only modifies the thread's history and does not revert local file changes + * that have been made by the agent. Clients are responsible for reverting these changes. + */ + numTurns: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackResponse.ts index ba8bee7fa80..5f2d0227997 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadRollbackResponse.ts @@ -4,11 +4,12 @@ import type { Thread } from "./Thread.js"; export type ThreadRollbackResponse = { -/** - * The updated thread after applying the rollback, with `turns` populated. - * - * The ThreadItems stored in each Turn are lossy since we explicitly do not - * persist all agent interactions, such as command executions. This is the same - * behavior as `thread/resume`. - */ -thread: Thread, }; + /** + * The updated thread after applying the rollback, with `turns` populated. + * + * The ThreadItems stored in each Turn are lossy since we explicitly do not + * persist all agent interactions, such as command executions. This is the same + * behavior as `thread/resume`. + */ + thread: Thread; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSetNameParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSetNameParams.ts index 82b9b3a1c63..17d12ee34ba 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSetNameParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSetNameParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadSetNameParams = { threadId: string, name: string, }; +export type ThreadSetNameParams = { threadId: string; name: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadShellCommandParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadShellCommandParams.ts index 2761dee2d0b..7e7b11890e9 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadShellCommandParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadShellCommandParams.ts @@ -2,11 +2,13 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadShellCommandParams = { threadId: string, -/** - * Shell command string evaluated by the thread's configured shell. - * Unlike `command/exec`, this intentionally preserves shell syntax - * such as pipes, redirects, and quoting. This runs unsandboxed with full - * access rather than inheriting the thread sandbox policy. - */ -command: string, }; +export type ThreadShellCommandParams = { + threadId: string; + /** + * Shell command string evaluated by the thread's configured shell. + * Unlike `command/exec`, this intentionally preserves shell syntax + * such as pipes, redirects, and quoting. This runs unsandboxed with full + * access rather than inheriting the thread sandbox policy. + */ + command: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSourceKind.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSourceKind.ts index 0a464e3d8d6..39b188796d6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSourceKind.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadSourceKind.ts @@ -2,4 +2,14 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadSourceKind = "cli" | "vscode" | "exec" | "appServer" | "subAgent" | "subAgentReview" | "subAgentCompact" | "subAgentThreadSpawn" | "subAgentOther" | "unknown"; +export type ThreadSourceKind = + | "cli" + | "vscode" + | "exec" + | "appServer" + | "subAgent" + | "subAgentReview" + | "subAgentCompact" + | "subAgentThreadSpawn" + | "subAgentOther" + | "unknown"; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartParams.ts index 88bf03ffe3a..d8b3a632b61 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartParams.ts @@ -2,28 +2,42 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Personality } from "../Personality.js"; -import type { ServiceTier } from "../ServiceTier.js"; import type { JsonValue } from "../serde_json/JsonValue.js"; +import type { ServiceTier } from "../ServiceTier.js"; import type { ApprovalsReviewer } from "./ApprovalsReviewer.js"; import type { AskForApproval } from "./AskForApproval.js"; import type { PermissionProfile } from "./PermissionProfile.js"; import type { SandboxMode } from "./SandboxMode.js"; import type { ThreadStartSource } from "./ThreadStartSource.js"; -export type ThreadStartParams = {model?: string | null, modelProvider?: string | null, serviceTier?: ServiceTier | null, cwd?: string | null, approvalPolicy?: AskForApproval | null, /** - * Override where approval requests are routed for review on this thread - * and subsequent turns. - */ -approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | null, /** - * Full permissions override for this thread. Cannot be combined with - * `sandbox`. - */ -permissionProfile?: PermissionProfile | null, config?: { [key in string]?: JsonValue } | null, serviceName?: string | null, baseInstructions?: string | null, developerInstructions?: string | null, personality?: Personality | null, ephemeral?: boolean | null, sessionStartSource?: ThreadStartSource | null, /** - * If true, opt into emitting raw Responses API items on the event stream. - * This is for internal use only (e.g. Codex Cloud). - */ -experimentalRawEvents: boolean, /** - * If true, persist additional rollout EventMsg variants required to - * reconstruct a richer thread history on resume/fork/read. - */ -persistExtendedHistory: boolean}; +export type ThreadStartParams = { + model?: string | null; + modelProvider?: string | null; + serviceTier?: ServiceTier | null; + cwd?: string | null; + approvalPolicy?: AskForApproval | null /** + * Override where approval requests are routed for review on this thread + * and subsequent turns. + */; + approvalsReviewer?: ApprovalsReviewer | null; + sandbox?: SandboxMode | null /** + * Full permissions override for this thread. Cannot be combined with + * `sandbox`. + */; + permissionProfile?: PermissionProfile | null; + config?: { [key in string]?: JsonValue } | null; + serviceName?: string | null; + baseInstructions?: string | null; + developerInstructions?: string | null; + personality?: Personality | null; + ephemeral?: boolean | null; + sessionStartSource?: ThreadStartSource | null /** + * If true, opt into emitting raw Responses API items on the event stream. + * This is for internal use only (e.g. Codex Cloud). + */; + experimentalRawEvents: boolean /** + * If true, persist additional rollout EventMsg variants required to + * reconstruct a richer thread history on resume/fork/read. + */; + persistExtendedHistory: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartResponse.ts index 27c2e0893c7..3ab1e950e0e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartResponse.ts @@ -10,24 +10,32 @@ import type { PermissionProfile } from "./PermissionProfile.js"; import type { SandboxPolicy } from "./SandboxPolicy.js"; import type { Thread } from "./Thread.js"; -export type ThreadStartResponse = { thread: Thread, model: string, modelProvider: string, serviceTier: ServiceTier | null, cwd: AbsolutePathBuf, -/** - * Instruction source files currently loaded for this thread. - */ -instructionSources: Array, approvalPolicy: AskForApproval, -/** - * Reviewer currently used for approval requests on this thread. - */ -approvalsReviewer: ApprovalsReviewer, -/** - * Legacy sandbox policy retained for compatibility. New clients should use - * `permissionProfile` when present as the canonical active permissions - * view. - */ -sandbox: SandboxPolicy, -/** - * Canonical active permissions view for this thread when representable. - * This is `null` for external sandbox policies because external - * enforcement cannot be round-tripped as a `PermissionProfile`. - */ -permissionProfile: PermissionProfile | null, reasoningEffort: ReasoningEffort | null, }; +export type ThreadStartResponse = { + thread: Thread; + model: string; + modelProvider: string; + serviceTier: ServiceTier | null; + cwd: AbsolutePathBuf; + /** + * Instruction source files currently loaded for this thread. + */ + instructionSources: Array; + approvalPolicy: AskForApproval; + /** + * Reviewer currently used for approval requests on this thread. + */ + approvalsReviewer: ApprovalsReviewer; + /** + * Legacy sandbox policy retained for compatibility. New clients should use + * `permissionProfile` when present as the canonical active permissions + * view. + */ + sandbox: SandboxPolicy; + /** + * Canonical active permissions view for this thread when representable. + * This is `null` for external sandbox policies because external + * enforcement cannot be round-tripped as a `PermissionProfile`. + */ + permissionProfile: PermissionProfile | null; + reasoningEffort: ReasoningEffort | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartedNotification.ts index 5d928629dad..6e56f09d565 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStartedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Thread } from "./Thread.js"; -export type ThreadStartedNotification = { thread: Thread, }; +export type ThreadStartedNotification = { thread: Thread }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatus.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatus.ts index fdaefdf3933..bcc3b0ae8cb 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatus.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatus.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadActiveFlag } from "./ThreadActiveFlag.js"; -export type ThreadStatus = { "type": "notLoaded" } | { "type": "idle" } | { "type": "systemError" } | { "type": "active", activeFlags: Array, }; +export type ThreadStatus = + | { type: "notLoaded" } + | { type: "idle" } + | { type: "systemError" } + | { type: "active"; activeFlags: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatusChangedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatusChangedNotification.ts index 17f3aa29ac0..5ba79094297 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatusChangedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadStatusChangedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadStatus } from "./ThreadStatus.js"; -export type ThreadStatusChangedNotification = { threadId: string, status: ThreadStatus, }; +export type ThreadStatusChangedNotification = { threadId: string; status: ThreadStatus }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsage.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsage.ts index 0a8fee1be2e..ca55ee9112f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsage.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsage.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TokenUsageBreakdown } from "./TokenUsageBreakdown.js"; -export type ThreadTokenUsage = { total: TokenUsageBreakdown, last: TokenUsageBreakdown, modelContextWindow: number | null, }; +export type ThreadTokenUsage = { + total: TokenUsageBreakdown; + last: TokenUsageBreakdown; + modelContextWindow: number | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsageUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsageUpdatedNotification.ts index 7ce67ebd3fa..1881dcd5b97 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsageUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTokenUsageUpdatedNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadTokenUsage } from "./ThreadTokenUsage.js"; -export type ThreadTokenUsageUpdatedNotification = { threadId: string, turnId: string, tokenUsage: ThreadTokenUsage, }; +export type ThreadTokenUsageUpdatedNotification = { + threadId: string; + turnId: string; + tokenUsage: ThreadTokenUsage; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListParams.ts index ec625c76d21..1f603cfb3b8 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListParams.ts @@ -3,16 +3,18 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SortDirection } from "./SortDirection.js"; -export type ThreadTurnsListParams = { threadId: string, -/** - * Opaque cursor to pass to the next call to continue after the last turn. - */ -cursor?: string | null, -/** - * Optional turn page size. - */ -limit?: number | null, -/** - * Optional turn pagination direction; defaults to descending. - */ -sortDirection?: SortDirection | null, }; +export type ThreadTurnsListParams = { + threadId: string; + /** + * Opaque cursor to pass to the next call to continue after the last turn. + */ + cursor?: string | null; + /** + * Optional turn page size. + */ + limit?: number | null; + /** + * Optional turn pagination direction; defaults to descending. + */ + sortDirection?: SortDirection | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListResponse.ts index d8eea0cfd17..ad82d40fd01 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadTurnsListResponse.ts @@ -3,16 +3,18 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Turn } from "./Turn.js"; -export type ThreadTurnsListResponse = { data: Array, -/** - * Opaque cursor to pass to the next call to continue after the last turn. - * if None, there are no more turns to return. - */ -nextCursor: string | null, -/** - * Opaque cursor to pass as `cursor` when reversing `sortDirection`. - * This is only populated when the page contains at least one turn. - * Use it with the opposite `sortDirection` to include the anchor turn again - * and catch updates to that turn. - */ -backwardsCursor: string | null, }; +export type ThreadTurnsListResponse = { + data: Array; + /** + * Opaque cursor to pass to the next call to continue after the last turn. + * if None, there are no more turns to return. + */ + nextCursor: string | null; + /** + * Opaque cursor to pass as `cursor` when reversing `sortDirection`. + * This is only populated when the page contains at least one turn. + * Use it with the opposite `sortDirection` to include the anchor turn again + * and catch updates to that turn. + */ + backwardsCursor: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveParams.ts index 4e464989e30..9b01abc9f87 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadUnarchiveParams = { threadId: string, }; +export type ThreadUnarchiveParams = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveResponse.ts index 3eefbc93ab2..4971de78e44 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchiveResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Thread } from "./Thread.js"; -export type ThreadUnarchiveResponse = { thread: Thread, }; +export type ThreadUnarchiveResponse = { thread: Thread }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchivedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchivedNotification.ts index e2c16171729..34a712ee066 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchivedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnarchivedNotification.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadUnarchivedNotification = { threadId: string, }; +export type ThreadUnarchivedNotification = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeParams.ts index 3d5f3a04cda..0fd5aaef7ab 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadUnsubscribeParams = { threadId: string, }; +export type ThreadUnsubscribeParams = { threadId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeResponse.ts index 1d5b6a370b1..a5fba38a1d7 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ThreadUnsubscribeResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ThreadUnsubscribeStatus } from "./ThreadUnsubscribeStatus.js"; -export type ThreadUnsubscribeResponse = { status: ThreadUnsubscribeStatus, }; +export type ThreadUnsubscribeResponse = { status: ThreadUnsubscribeStatus }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TokenUsageBreakdown.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TokenUsageBreakdown.ts index 1d4e408fadf..19ed7b1968e 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TokenUsageBreakdown.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TokenUsageBreakdown.ts @@ -2,4 +2,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type TokenUsageBreakdown = { totalTokens: number, inputTokens: number, cachedInputTokens: number, outputTokens: number, reasoningOutputTokens: number, }; +export type TokenUsageBreakdown = { + totalTokens: number; + inputTokens: number; + cachedInputTokens: number; + outputTokens: number; + reasoningOutputTokens: number; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputAnswer.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputAnswer.ts index 0c912db044d..87e581b7cac 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputAnswer.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputAnswer.ts @@ -5,4 +5,4 @@ /** * EXPERIMENTAL. Captures a user's answer to a request_user_input question. */ -export type ToolRequestUserInputAnswer = { answers: Array, }; +export type ToolRequestUserInputAnswer = { answers: Array }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputOption.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputOption.ts index ab21aca0466..6a92bc048da 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputOption.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputOption.ts @@ -5,4 +5,4 @@ /** * EXPERIMENTAL. Defines a single selectable option for request_user_input. */ -export type ToolRequestUserInputOption = { label: string, description: string, }; +export type ToolRequestUserInputOption = { label: string; description: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputParams.ts index 7a81acde8c0..df67d270b6b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputParams.ts @@ -6,4 +6,9 @@ import type { ToolRequestUserInputQuestion } from "./ToolRequestUserInputQuestio /** * EXPERIMENTAL. Params sent with a request_user_input event. */ -export type ToolRequestUserInputParams = { threadId: string, turnId: string, itemId: string, questions: Array, }; +export type ToolRequestUserInputParams = { + threadId: string; + turnId: string; + itemId: string; + questions: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputQuestion.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputQuestion.ts index b0037009741..5c9d690dd8a 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputQuestion.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputQuestion.ts @@ -6,4 +6,11 @@ import type { ToolRequestUserInputOption } from "./ToolRequestUserInputOption.js /** * EXPERIMENTAL. Represents one request_user_input question and its required options. */ -export type ToolRequestUserInputQuestion = { id: string, header: string, question: string, isOther: boolean, isSecret: boolean, options: Array | null, }; +export type ToolRequestUserInputQuestion = { + id: string; + header: string; + question: string; + isOther: boolean; + isSecret: boolean; + options: Array | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputResponse.ts index caf21fdf1ce..75511716001 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolRequestUserInputResponse.ts @@ -6,4 +6,6 @@ import type { ToolRequestUserInputAnswer } from "./ToolRequestUserInputAnswer.js /** * EXPERIMENTAL. Response payload mapping question ids to answers. */ -export type ToolRequestUserInputResponse = { answers: { [key in string]?: ToolRequestUserInputAnswer }, }; +export type ToolRequestUserInputResponse = { + answers: { [key in string]?: ToolRequestUserInputAnswer }; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolsV2.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolsV2.ts index a030ebba9e1..4adfc8dfe9c 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolsV2.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/ToolsV2.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { WebSearchToolConfig } from "../WebSearchToolConfig.js"; -export type ToolsV2 = { web_search: WebSearchToolConfig | null, view_image: boolean | null, }; +export type ToolsV2 = { web_search: WebSearchToolConfig | null; view_image: boolean | null }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Turn.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Turn.ts index 552282971fe..9487af6c7c0 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/Turn.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/Turn.ts @@ -5,26 +5,29 @@ import type { ThreadItem } from "./ThreadItem.js"; import type { TurnError } from "./TurnError.js"; import type { TurnStatus } from "./TurnStatus.js"; -export type Turn = { id: string, -/** - * Only populated on a `thread/resume` or `thread/fork` response. - * For all other responses and notifications returning a Turn, - * the items field will be an empty list. - */ -items: Array, status: TurnStatus, -/** - * Only populated when the Turn's status is failed. - */ -error: TurnError | null, -/** - * Unix timestamp (in seconds) when the turn started. - */ -startedAt: number | null, -/** - * Unix timestamp (in seconds) when the turn completed. - */ -completedAt: number | null, -/** - * Duration between turn start and completion in milliseconds, if known. - */ -durationMs: number | null, }; +export type Turn = { + id: string; + /** + * Only populated on a `thread/resume` or `thread/fork` response. + * For all other responses and notifications returning a Turn, + * the items field will be an empty list. + */ + items: Array; + status: TurnStatus; + /** + * Only populated when the Turn's status is failed. + */ + error: TurnError | null; + /** + * Unix timestamp (in seconds) when the turn started. + */ + startedAt: number | null; + /** + * Unix timestamp (in seconds) when the turn completed. + */ + completedAt: number | null; + /** + * Duration between turn start and completion in milliseconds, if known. + */ + durationMs: number | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnCompletedNotification.ts index 44c437dfd60..da36e077684 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnCompletedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Turn } from "./Turn.js"; -export type TurnCompletedNotification = { threadId: string, turn: Turn, }; +export type TurnCompletedNotification = { threadId: string; turn: Turn }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnDiffUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnDiffUpdatedNotification.ts index ec2b33349de..0f4bf14b15f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnDiffUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnDiffUpdatedNotification.ts @@ -6,4 +6,4 @@ * Notification that the turn-level unified diff has changed. * Contains the latest aggregated diff across all file changes in the turn. */ -export type TurnDiffUpdatedNotification = { threadId: string, turnId: string, diff: string, }; +export type TurnDiffUpdatedNotification = { threadId: string; turnId: string; diff: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnEnvironmentParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnEnvironmentParams.ts index 2fd77329ad6..c814b1334f6 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnEnvironmentParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnEnvironmentParams.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; -export type TurnEnvironmentParams = { environmentId: string, cwd: AbsolutePathBuf, }; +export type TurnEnvironmentParams = { environmentId: string; cwd: AbsolutePathBuf }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnError.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnError.ts index 530d55b6ff6..c87517026c2 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnError.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnError.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { CodexErrorInfo } from "./CodexErrorInfo.js"; -export type TurnError = { message: string, codexErrorInfo: CodexErrorInfo | null, additionalDetails: string | null, }; +export type TurnError = { + message: string; + codexErrorInfo: CodexErrorInfo | null; + additionalDetails: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnInterruptParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnInterruptParams.ts index ec35689e6dd..1373415ec08 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnInterruptParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnInterruptParams.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type TurnInterruptParams = { threadId: string, turnId: string, }; +export type TurnInterruptParams = { threadId: string; turnId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanStep.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanStep.ts index e62e644dbb0..4064f46a67f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanStep.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanStep.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TurnPlanStepStatus } from "./TurnPlanStepStatus.js"; -export type TurnPlanStep = { step: string, status: TurnPlanStepStatus, }; +export type TurnPlanStep = { step: string; status: TurnPlanStepStatus }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanUpdatedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanUpdatedNotification.ts index cd2e8898833..fd3780bdf73 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanUpdatedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnPlanUpdatedNotification.ts @@ -3,4 +3,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TurnPlanStep } from "./TurnPlanStep.js"; -export type TurnPlanUpdatedNotification = { threadId: string, turnId: string, explanation: string | null, plan: Array, }; +export type TurnPlanUpdatedNotification = { + threadId: string; + turnId: string; + explanation: string | null; + plan: Array; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartParams.ts index 42941adefe3..ae0e6d366ea 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartParams.ts @@ -5,55 +5,58 @@ import type { CollaborationMode } from "../CollaborationMode.js"; import type { Personality } from "../Personality.js"; import type { ReasoningEffort } from "../ReasoningEffort.js"; import type { ReasoningSummary } from "../ReasoningSummary.js"; -import type { ServiceTier } from "../ServiceTier.js"; import type { JsonValue } from "../serde_json/JsonValue.js"; +import type { ServiceTier } from "../ServiceTier.js"; import type { ApprovalsReviewer } from "./ApprovalsReviewer.js"; import type { AskForApproval } from "./AskForApproval.js"; import type { PermissionProfile } from "./PermissionProfile.js"; import type { SandboxPolicy } from "./SandboxPolicy.js"; import type { UserInput } from "./UserInput.js"; -export type TurnStartParams = {threadId: string, input: Array, /** - * Override the working directory for this turn and subsequent turns. - */ -cwd?: string | null, /** - * Override the approval policy for this turn and subsequent turns. - */ -approvalPolicy?: AskForApproval | null, /** - * Override where approval requests are routed for review on this turn and - * subsequent turns. - */ -approvalsReviewer?: ApprovalsReviewer | null, /** - * Override the sandbox policy for this turn and subsequent turns. - */ -sandboxPolicy?: SandboxPolicy | null, /** - * Override the full permissions profile for this turn and subsequent - * turns. Cannot be combined with `sandboxPolicy`. - */ -permissionProfile?: PermissionProfile | null, /** - * Override the model for this turn and subsequent turns. - */ -model?: string | null, /** - * Override the service tier for this turn and subsequent turns. - */ -serviceTier?: ServiceTier | null, /** - * Override the reasoning effort for this turn and subsequent turns. - */ -effort?: ReasoningEffort | null, /** - * Override the reasoning summary for this turn and subsequent turns. - */ -summary?: ReasoningSummary | null, /** - * Override the personality for this turn and subsequent turns. - */ -personality?: Personality | null, /** - * Optional JSON Schema used to constrain the final assistant message for - * this turn. - */ -outputSchema?: JsonValue | null, /** - * EXPERIMENTAL - Set a pre-set collaboration mode. - * Takes precedence over model, reasoning_effort, and developer instructions if set. - * - * For `collaboration_mode.settings.developer_instructions`, `null` means - * "use the built-in instructions for the selected mode". - */ -collaborationMode?: CollaborationMode | null}; +export type TurnStartParams = { + threadId: string; + input: Array /** + * Override the working directory for this turn and subsequent turns. + */; + cwd?: string | null /** + * Override the approval policy for this turn and subsequent turns. + */; + approvalPolicy?: AskForApproval | null /** + * Override where approval requests are routed for review on this turn and + * subsequent turns. + */; + approvalsReviewer?: ApprovalsReviewer | null /** + * Override the sandbox policy for this turn and subsequent turns. + */; + sandboxPolicy?: SandboxPolicy | null /** + * Override the full permissions profile for this turn and subsequent + * turns. Cannot be combined with `sandboxPolicy`. + */; + permissionProfile?: PermissionProfile | null /** + * Override the model for this turn and subsequent turns. + */; + model?: string | null /** + * Override the service tier for this turn and subsequent turns. + */; + serviceTier?: ServiceTier | null /** + * Override the reasoning effort for this turn and subsequent turns. + */; + effort?: ReasoningEffort | null /** + * Override the reasoning summary for this turn and subsequent turns. + */; + summary?: ReasoningSummary | null /** + * Override the personality for this turn and subsequent turns. + */; + personality?: Personality | null /** + * Optional JSON Schema used to constrain the final assistant message for + * this turn. + */; + outputSchema?: JsonValue | null /** + * EXPERIMENTAL - Set a pre-set collaboration mode. + * Takes precedence over model, reasoning_effort, and developer instructions if set. + * + * For `collaboration_mode.settings.developer_instructions`, `null` means + * "use the built-in instructions for the selected mode". + */; + collaborationMode?: CollaborationMode | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartResponse.ts index 7231293e710..79e6fc98354 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartResponse.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Turn } from "./Turn.js"; -export type TurnStartResponse = { turn: Turn, }; +export type TurnStartResponse = { turn: Turn }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartedNotification.ts index 420df9e5024..cf4b5a94d5d 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnStartedNotification.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Turn } from "./Turn.js"; -export type TurnStartedNotification = { threadId: string, turn: Turn, }; +export type TurnStartedNotification = { threadId: string; turn: Turn }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerParams.ts index 1b93b11dd3a..818508e5804 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerParams.ts @@ -3,8 +3,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { UserInput } from "./UserInput.js"; -export type TurnSteerParams = {threadId: string, input: Array, /** - * Required active turn id precondition. The request fails when it does not - * match the currently active turn. - */ -expectedTurnId: string}; +export type TurnSteerParams = { + threadId: string; + input: Array /** + * Required active turn id precondition. The request fails when it does not + * match the currently active turn. + */; + expectedTurnId: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerResponse.ts index 390adb4f59b..1ed155c1429 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/TurnSteerResponse.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type TurnSteerResponse = { turnId: string, }; +export type TurnSteerResponse = { turnId: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/UserInput.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/UserInput.ts index 8dc3e009367..d8531d3f27b 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/UserInput.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/UserInput.ts @@ -3,8 +3,16 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TextElement } from "./TextElement.js"; -export type UserInput = { "type": "text", text: string, -/** - * UI-defined spans within `text` used to render or persist special elements. - */ -text_elements: Array, } | { "type": "image", url: string, } | { "type": "localImage", path: string, } | { "type": "skill", name: string, path: string, } | { "type": "mention", name: string, path: string, }; +export type UserInput = + | { + type: "text"; + text: string; + /** + * UI-defined spans within `text` used to render or persist special elements. + */ + text_elements: Array; + } + | { type: "image"; url: string } + | { type: "localImage"; path: string } + | { type: "skill"; name: string; path: string } + | { type: "mention"; name: string; path: string }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WarningNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WarningNotification.ts index bd3433be41b..dc30ca05250 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WarningNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WarningNotification.ts @@ -3,11 +3,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type WarningNotification = { -/** - * Optional thread target when the warning applies to a specific thread. - */ -threadId: string | null, -/** - * Concise warning message for the user. - */ -message: string, }; + /** + * Optional thread target when the warning applies to a specific thread. + */ + threadId: string | null; + /** + * Concise warning message for the user. + */ + message: string; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WebSearchAction.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WebSearchAction.ts index 309bff45448..20801fb04c1 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WebSearchAction.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WebSearchAction.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type WebSearchAction = { "type": "search", query: string | null, queries: Array | null, } | { "type": "openPage", url: string | null, } | { "type": "findInPage", url: string | null, pattern: string | null, } | { "type": "other" }; +export type WebSearchAction = + | { type: "search"; query: string | null; queries: Array | null } + | { type: "openPage"; url: string | null } + | { type: "findInPage"; url: string | null; pattern: string | null } + | { type: "other" }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupCompletedNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupCompletedNotification.ts index 79ceb5f1212..57deea42444 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupCompletedNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupCompletedNotification.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { WindowsSandboxSetupMode } from "./WindowsSandboxSetupMode.js"; -export type WindowsSandboxSetupCompletedNotification = { mode: WindowsSandboxSetupMode, success: boolean, error: string | null, }; +export type WindowsSandboxSetupCompletedNotification = { + mode: WindowsSandboxSetupMode; + success: boolean; + error: string | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartParams.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartParams.ts index e55a87ff33b..9fd8992a3cf 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartParams.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartParams.ts @@ -4,4 +4,7 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf.js"; import type { WindowsSandboxSetupMode } from "./WindowsSandboxSetupMode.js"; -export type WindowsSandboxSetupStartParams = { mode: WindowsSandboxSetupMode, cwd?: AbsolutePathBuf | null, }; +export type WindowsSandboxSetupStartParams = { + mode: WindowsSandboxSetupMode; + cwd?: AbsolutePathBuf | null; +}; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartResponse.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartResponse.ts index a19004948ef..1aec14ca473 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartResponse.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsSandboxSetupStartResponse.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type WindowsSandboxSetupStartResponse = { started: boolean, }; +export type WindowsSandboxSetupStartResponse = { started: boolean }; diff --git a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsWorldWritableWarningNotification.ts b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsWorldWritableWarningNotification.ts index a11e7cef497..b61824c8b3f 100644 --- a/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsWorldWritableWarningNotification.ts +++ b/extensions/codex/src/app-server/protocol-generated/typescript/v2/WindowsWorldWritableWarningNotification.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type WindowsWorldWritableWarningNotification = { samplePaths: Array, extraCount: number, failedScan: boolean, }; +export type WindowsWorldWritableWarningNotification = { + samplePaths: Array; + extraCount: number; + failedScan: boolean; +}; diff --git a/extensions/codex/src/app-server/protocol-validators.ts b/extensions/codex/src/app-server/protocol-validators.ts index 14c7895ab53..05ce0c11045 100644 --- a/extensions/codex/src/app-server/protocol-validators.ts +++ b/extensions/codex/src/app-server/protocol-validators.ts @@ -2,18 +2,11 @@ import AjvPkg, { type ValidateFunction } from "ajv"; import dynamicToolCallParamsSchema from "./protocol-generated/json/DynamicToolCallParams.json" with { type: "json" }; import errorNotificationSchema from "./protocol-generated/json/v2/ErrorNotification.json" with { type: "json" }; import modelListResponseSchema from "./protocol-generated/json/v2/ModelListResponse.json" with { type: "json" }; -import threadResumeResponseSchema from "./protocol-generated/json/v2/ThreadResumeResponse.json" with { - type: "json", -}; -import threadStartResponseSchema from "./protocol-generated/json/v2/ThreadStartResponse.json" with { - type: "json", -}; -import turnCompletedNotificationSchema from "./protocol-generated/json/v2/TurnCompletedNotification.json" with { - type: "json", -}; -import turnStartResponseSchema from "./protocol-generated/json/v2/TurnStartResponse.json" with { - type: "json", -}; +import threadResumeResponseSchema from "./protocol-generated/json/v2/ThreadResumeResponse.json" with { type: "json" }; +import threadStartResponseSchema from "./protocol-generated/json/v2/ThreadStartResponse.json" with { type: "json" }; +import turnCompletedNotificationSchema from "./protocol-generated/json/v2/TurnCompletedNotification.json" with { type: "json" }; +import turnStartResponseSchema from "./protocol-generated/json/v2/TurnStartResponse.json" with { type: "json" }; +import type { v2 } from "./protocol-generated/typescript/index.js"; import type { CodexDynamicToolCallParams, CodexThreadResumeResponse, @@ -21,7 +14,6 @@ import type { CodexTurn, CodexTurnStartResponse, } from "./protocol.js"; -import type { v2 } from "./protocol-generated/typescript/index.js"; type AjvInstance = import("ajv").default; @@ -38,8 +30,9 @@ const validateDynamicToolCallParams = ajv.compile( ); const validateErrorNotification = ajv.compile(errorNotificationSchema); const validateModelListResponse = ajv.compile(modelListResponseSchema); -const validateThreadResumeResponse = - ajv.compile(threadResumeResponseSchema); +const validateThreadResumeResponse = ajv.compile( + threadResumeResponseSchema, +); const validateThreadStartResponse = ajv.compile(threadStartResponseSchema); const validateTurnCompletedNotification = ajv.compile( @@ -85,14 +78,13 @@ export function readCodexTurn(value: unknown): CodexTurn | undefined { export function readCodexTurnCompletedNotification( value: unknown, ): v2.TurnCompletedNotification | undefined { - return readCodexShape(validateTurnCompletedNotification, normalizeTurnCompletedNotification(value)); + return readCodexShape( + validateTurnCompletedNotification, + normalizeTurnCompletedNotification(value), + ); } -function assertCodexShape( - validate: ValidateFunction, - value: unknown, - label: string, -): T { +function assertCodexShape(validate: ValidateFunction, value: unknown, label: string): T { if (validate(value)) { return value; } diff --git a/extensions/github-copilot/index.ts b/extensions/github-copilot/index.ts index 17bb43bdf16..bf6fcfad2fe 100644 --- a/extensions/github-copilot/index.ts +++ b/extensions/github-copilot/index.ts @@ -1,7 +1,4 @@ -import { - resolvePluginConfigObject, - type OpenClawConfig, -} from "openclaw/plugin-sdk/config-runtime"; +import { resolvePluginConfigObject, type OpenClawConfig } from "openclaw/plugin-sdk/config-runtime"; import { definePluginEntry, type ProviderAuthContext } from "openclaw/plugin-sdk/plugin-entry"; import { ensureAuthProfileStore } from "openclaw/plugin-sdk/provider-auth"; import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/text-runtime"; diff --git a/extensions/memory-core/src/memory/manager.ts b/extensions/memory-core/src/memory/manager.ts index 4533d074b24..781cdd69e71 100644 --- a/extensions/memory-core/src/memory/manager.ts +++ b/extensions/memory-core/src/memory/manager.ts @@ -338,7 +338,11 @@ export class MemoryIndexManager extends MemoryManagerEmbeddingOps implements Mem opts?.sources && opts.sources.length > 0 ? [...new Set(opts.sources)].filter((s) => this.sources.has(s)) : undefined; - if (opts?.sources && opts.sources.length > 0 && (!searchSources || searchSources.length === 0)) { + if ( + opts?.sources && + opts.sources.length > 0 && + (!searchSources || searchSources.length === 0) + ) { return []; } const sourceFilterList = searchSources ?? [...this.sources]; @@ -375,9 +379,12 @@ export class MemoryIndexManager extends MemoryManagerEmbeddingOps implements Mem }); const searchTerms = keywords.length > 0 ? keywords : [cleaned]; return searchTerms.map((term) => - this.searchKeyword(term, candidates, { boostFallbackRanking: true }, sourceFilterList).catch( - () => [], - ), + this.searchKeyword( + term, + candidates, + { boostFallbackRanking: true }, + sourceFilterList, + ).catch(() => []), ); })(), ); diff --git a/extensions/memory-core/src/tools.ts b/extensions/memory-core/src/tools.ts index d6a2b6a8b41..3c542066249 100644 --- a/extensions/memory-core/src/tools.ts +++ b/extensions/memory-core/src/tools.ts @@ -1,4 +1,5 @@ import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime"; +import type { MemorySource } from "openclaw/plugin-sdk/memory-core-host-engine-storage"; import { asToolParamsRecord, jsonResult, @@ -6,7 +7,6 @@ import { readStringParam, type OpenClawConfig, } from "openclaw/plugin-sdk/memory-core-host-runtime-core"; -import type { MemorySource } from "openclaw/plugin-sdk/memory-core-host-engine-storage"; import type { MemorySearchResult, MemorySearchRuntimeDebug, diff --git a/extensions/ollama/index.ts b/extensions/ollama/index.ts index 0e399201aab..7d12d4bebf5 100644 --- a/extensions/ollama/index.ts +++ b/extensions/ollama/index.ts @@ -1,7 +1,4 @@ -import { - resolvePluginConfigObject, - type OpenClawConfig, -} from "openclaw/plugin-sdk/config-runtime"; +import { resolvePluginConfigObject, type OpenClawConfig } from "openclaw/plugin-sdk/config-runtime"; import { definePluginEntry, type OpenClawPluginApi, diff --git a/skills/coding-agent/SKILL.md b/skills/coding-agent/SKILL.md index 7d256e0b6f2..6961bd1ba5e 100644 --- a/skills/coding-agent/SKILL.md +++ b/skills/coding-agent/SKILL.md @@ -56,14 +56,14 @@ bash pty:true command:"claude --dangerously-skip-permissions 'task'" ### Bash Tool Parameters -| Parameter | Type | Description | -| ------------ | ------- | ---------------------------------------------------------- | -| `command` | string | The shell command to run | -| `pty` | boolean | Use for Codex/Pi/OpenCode | -| `workdir` | string | Working directory | -| `background` | boolean | **Always true for this skill** | -| `timeout` | number | Timeout in seconds | -| `elevated` | boolean | Run on host instead of sandbox (if allowed) | +| Parameter | Type | Description | +| ------------ | ------- | ------------------------------------------- | +| `command` | string | The shell command to run | +| `pty` | boolean | Use for Codex/Pi/OpenCode | +| `workdir` | string | Working directory | +| `background` | boolean | **Always true for this skill** | +| `timeout` | number | Timeout in seconds | +| `elevated` | boolean | Run on host instead of sandbox (if allowed) | ### Process Tool Actions @@ -191,11 +191,11 @@ Reuse this same notify-route injection block in every example below; only the ta ### Flags -| Flag | Effect | -| --------------- | -------------------------------------------------- | -| `exec "prompt"` | One-shot execution inside the worker CLI | -| `--full-auto` | Sandboxed but auto-approves in workspace | -| `--yolo` | No sandbox, no approvals | +| Flag | Effect | +| --------------- | ---------------------------------------- | +| `exec "prompt"` | One-shot execution inside the worker CLI | +| `--full-auto` | Sandboxed but auto-approves in workspace | +| `--yolo` | No sandbox, no approvals | ### Building/Creating diff --git a/src/cli/run-main.ts b/src/cli/run-main.ts index 529a08727fd..5fd302ad999 100644 --- a/src/cli/run-main.ts +++ b/src/cli/run-main.ts @@ -15,7 +15,6 @@ import { enableConsoleCapture } from "../logging.js"; import type { PluginManifestCommandAliasRegistry } from "../plugins/manifest-command-aliases.js"; import { resolveManifestCommandAliasOwner } from "../plugins/manifest-command-aliases.runtime.js"; import { hasMemoryRuntime } from "../plugins/memory-state.js"; -import { createCliProgress } from "./progress.js"; import { maybeWarnAboutDebugProxyCoverage } from "../proxy-capture/coverage.js"; import { finalizeDebugProxyCapture, @@ -34,6 +33,7 @@ import { import { shouldEnsureCliPathForCommandPath } from "./command-startup-policy.js"; import { maybeRunCliInContainer, parseCliContainerArgs } from "./container-target.js"; import { applyCliProfileEnv, parseCliProfileArgs } from "./profile.js"; +import { createCliProgress } from "./progress.js"; import { tryRouteCli } from "./route.js"; import { normalizeWindowsArgv } from "./windows-argv.js"; diff --git a/src/crestodian/crestodian.ts b/src/crestodian/crestodian.ts index 7e3778f71e9..243a670440c 100644 --- a/src/crestodian/crestodian.ts +++ b/src/crestodian/crestodian.ts @@ -1,6 +1,6 @@ import { stdin as defaultStdin, stdout as defaultStdout } from "node:process"; -import { defaultRuntime, writeRuntimeJson, type RuntimeEnv } from "../runtime.js"; import { withProgress } from "../cli/progress.js"; +import { defaultRuntime, writeRuntimeJson, type RuntimeEnv } from "../runtime.js"; import type { CrestodianAssistantPlanner } from "./assistant.js"; import { resolveCrestodianOperation } from "./dialogue.js"; import { diff --git a/src/logging/console.ts b/src/logging/console.ts index 205f0cc848b..422d1a26f1c 100644 --- a/src/logging/console.ts +++ b/src/logging/console.ts @@ -148,8 +148,7 @@ export function shouldLogSubsystemToConsole(subsystem?: string | null): boolean return false; } return filter.some( - (prefix) => - normalizedSubsystem === prefix || normalizedSubsystem.startsWith(`${prefix}/`), + (prefix) => normalizedSubsystem === prefix || normalizedSubsystem.startsWith(`${prefix}/`), ); } diff --git a/test/openclaw-npm-postpublish-verify.test.ts b/test/openclaw-npm-postpublish-verify.test.ts index b394d7ca673..093a86ef94f 100644 --- a/test/openclaw-npm-postpublish-verify.test.ts +++ b/test/openclaw-npm-postpublish-verify.test.ts @@ -545,7 +545,7 @@ describe("collectInstalledRootDependencyManifestErrors", () => { writeFileSync( join(packageRoot, "dist", "string-only.js"), [ - 'export const help = "run import(\'fake-package\') after setup";', + "export const help = \"run import('fake-package') after setup\";", 'export const note = "from \\"fake-package-two\\"";', "", ].join("\n"), diff --git a/ui/src/styles/chat/tool-cards.css b/ui/src/styles/chat/tool-cards.css index b032d9217ee..414100bb990 100644 --- a/ui/src/styles/chat/tool-cards.css +++ b/ui/src/styles/chat/tool-cards.css @@ -553,11 +553,7 @@ border: 1px solid color-mix(in srgb, var(--border) 75%, transparent); border-radius: var(--radius-md); background: - linear-gradient( - 90deg, - color-mix(in srgb, var(--accent) 9%, transparent), - transparent 34% - ), + linear-gradient(90deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 34%), color-mix(in srgb, var(--card) 86%, var(--secondary) 14%); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bg) 76%, transparent), @@ -575,11 +571,7 @@ .chat-tool-msg-summary[type="button"] { background: - linear-gradient( - 90deg, - color-mix(in srgb, var(--accent) 9%, transparent), - transparent 34% - ), + linear-gradient(90deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 34%), color-mix(in srgb, var(--card) 86%, var(--secondary) 14%); } @@ -610,11 +602,7 @@ .chat-tool-msg-summary:hover { color: var(--text); background: - linear-gradient( - 90deg, - color-mix(in srgb, var(--accent) 13%, transparent), - transparent 38% - ), + linear-gradient(90deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 38%), color-mix(in srgb, var(--card) 76%, var(--bg-hover) 24%); border-color: color-mix(in srgb, var(--border-strong) 70%, transparent); } diff --git a/ui/src/styles/components.css b/ui/src/styles/components.css index ee0b0fa90fe..87fc03eab33 100644 --- a/ui/src/styles/components.css +++ b/ui/src/styles/components.css @@ -3598,8 +3598,7 @@ td.data-table-key-col { .md-preview-dialog::backdrop { background: - radial-gradient(circle at top, rgba(255, 92, 92, 0.12), transparent 32%), - rgba(5, 8, 15, 0.76); + radial-gradient(circle at top, rgba(255, 92, 92, 0.12), transparent 32%), rgba(5, 8, 15, 0.76); backdrop-filter: blur(14px); } @@ -3613,8 +3612,7 @@ td.data-table-key-col { flex-direction: column; border: 1px solid color-mix(in srgb, var(--border-strong) 84%, white 8%); border-radius: calc(var(--radius-xl) + 6px); - background: - linear-gradient(180deg, color-mix(in srgb, var(--panel) 94%, black 6%), var(--panel)); + background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 94%, black 6%), var(--panel)); box-shadow: 0 32px 96px rgba(0, 0, 0, 0.48), 0 1px 0 rgba(255, 255, 255, 0.04) inset; @@ -3702,12 +3700,11 @@ td.data-table-key-col { padding: 0; border-radius: 12px; border-color: color-mix(in srgb, var(--border) 78%, white 10%); - background: - linear-gradient( - 180deg, - color-mix(in srgb, var(--bg-elevated) 92%, white 8%), - color-mix(in srgb, var(--bg-elevated) 88%, black 12%) - ); + background: linear-gradient( + 180deg, + color-mix(in srgb, var(--bg-elevated) 92%, white 8%), + color-mix(in srgb, var(--bg-elevated) 88%, black 12%) + ); color: color-mix(in srgb, var(--text) 86%, var(--muted)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), @@ -3716,12 +3713,11 @@ td.data-table-key-col { .md-preview-icon-btn:hover:not(:disabled) { border-color: color-mix(in srgb, var(--border-strong) 78%, white 14%); - background: - linear-gradient( - 180deg, - color-mix(in srgb, var(--bg-hover) 88%, white 10%), - color-mix(in srgb, var(--bg-elevated) 84%, black 16%) - ); + background: linear-gradient( + 180deg, + color-mix(in srgb, var(--bg-hover) 88%, white 10%), + color-mix(in srgb, var(--bg-elevated) 84%, black 16%) + ); color: var(--text-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), @@ -3769,12 +3765,11 @@ td.data-table-key-col { gap: 8px; padding: 0 22px 16px; border-bottom: 1px solid color-mix(in srgb, var(--border) 88%, white 6%); - background: - linear-gradient( - 180deg, - color-mix(in srgb, var(--panel) 96%, transparent 4%), - color-mix(in srgb, var(--panel) 92%, black 8%) - ); + background: linear-gradient( + 180deg, + color-mix(in srgb, var(--panel) 96%, transparent 4%), + color-mix(in srgb, var(--panel) 92%, black 8%) + ); } .md-preview-dialog__chip { @@ -3826,12 +3821,11 @@ td.data-table-key-col { padding: clamp(26px, 4vw, 56px); border: 1px solid color-mix(in srgb, var(--border-strong) 70%, white 10%); border-radius: calc(var(--radius-xl) + 2px); - background: - linear-gradient( - 180deg, - color-mix(in srgb, var(--md-preview-document-bg) 94%, white 6%), - var(--md-preview-document-bg) - ); + background: linear-gradient( + 180deg, + color-mix(in srgb, var(--md-preview-document-bg) 94%, white 6%), + var(--md-preview-document-bg) + ); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035); diff --git a/ui/src/ui/storage.node.test.ts b/ui/src/ui/storage.node.test.ts index 6544eafc0cf..cff892ea138 100644 --- a/ui/src/ui/storage.node.test.ts +++ b/ui/src/ui/storage.node.test.ts @@ -1,13 +1,13 @@ // @vitest-environment node import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; import { createStorageMock } from "../test-helpers/storage.ts"; +import { normalizeImportedCustomTheme } from "./custom-theme.ts"; import { loadLocalUserIdentity, loadSettings, saveLocalUserIdentity, saveSettings, } from "./storage.ts"; -import { normalizeImportedCustomTheme } from "./custom-theme.ts"; function setTestLocation(params: { protocol: string; host: string; pathname: string }) { vi.stubGlobal("location", {