diff --git a/codex.version b/codex.version index dee8ea1..456df80 100644 --- a/codex.version +++ b/codex.version @@ -1 +1 @@ -0.145.0 +0.153.3 diff --git a/src/codex/progress.ts b/src/codex/progress.ts index 2b2a267..c5a2f37 100644 --- a/src/codex/progress.ts +++ b/src/codex/progress.ts @@ -139,5 +139,13 @@ function collaborationLabel( return "wait for agents"; case "closeAgent": return "close agent"; + case "sendMessage": + return "message agent"; + case "followupTask": + return "assign follow-up task"; + case "interruptAgent": + return "interrupt agent"; + case "listAgents": + return "list agents"; } } diff --git a/src/generated/codex/AuthMode.ts b/src/generated/codex/AuthMode.ts index b248876..b346c72 100644 --- a/src/generated/codex/AuthMode.ts +++ b/src/generated/codex/AuthMode.ts @@ -5,4 +5,4 @@ /** * Authentication mode for OpenAI-backed providers. */ -export type AuthMode = "apikey" | "chatgpt" | "chatgptAuthTokens" | "headers" | "agentIdentity" | "personalAccessToken" | "bedrockApiKey"; +export type AuthMode = "apikey" | "chatgpt" | "chatgptAuthTokens" | "headers" | "agentIdentity" | "personalAccessToken" | "bedrockApiKey" | "bedrockAccessKeys"; diff --git a/src/generated/codex/ClientRequest.ts b/src/generated/codex/ClientRequest.ts index bcfcaf6..6907bc3 100644 --- a/src/generated/codex/ClientRequest.ts +++ b/src/generated/codex/ClientRequest.ts @@ -22,6 +22,7 @@ import type { ConsumeAccountRateLimitResetCreditParams } from "./v2/ConsumeAccou import type { ExperimentalFeatureEnablementSetParams } from "./v2/ExperimentalFeatureEnablementSetParams"; import type { ExperimentalFeatureListParams } from "./v2/ExperimentalFeatureListParams"; import type { ExternalAgentConfigDetectParams } from "./v2/ExternalAgentConfigDetectParams"; +import type { ExternalAgentConfigImportHistoryRecordParams } from "./v2/ExternalAgentConfigImportHistoryRecordParams"; import type { ExternalAgentConfigImportParams } from "./v2/ExternalAgentConfigImportParams"; import type { FeedbackUploadParams } from "./v2/FeedbackUploadParams"; import type { FsCopyParams } from "./v2/FsCopyParams"; @@ -34,6 +35,7 @@ import type { FsUnwatchParams } from "./v2/FsUnwatchParams"; import type { FsWatchParams } from "./v2/FsWatchParams"; import type { FsWriteFileParams } from "./v2/FsWriteFileParams"; import type { GetAccountParams } from "./v2/GetAccountParams"; +import type { GetAccountTokenUsageParams } from "./v2/GetAccountTokenUsageParams"; import type { HooksListParams } from "./v2/HooksListParams"; import type { ListMcpServerStatusParams } from "./v2/ListMcpServerStatusParams"; import type { LoginAccountParams } from "./v2/LoginAccountParams"; @@ -50,6 +52,7 @@ import type { PluginInstallParams } from "./v2/PluginInstallParams"; import type { PluginInstalledParams } from "./v2/PluginInstalledParams"; import type { PluginListParams } from "./v2/PluginListParams"; import type { PluginReadParams } from "./v2/PluginReadParams"; +import type { PluginReconcileParams } from "./v2/PluginReconcileParams"; import type { PluginShareCheckoutParams } from "./v2/PluginShareCheckoutParams"; import type { PluginShareDeleteParams } from "./v2/PluginShareDeleteParams"; import type { PluginShareListParams } from "./v2/PluginShareListParams"; @@ -71,15 +74,23 @@ import type { ThreadGoalClearParams } from "./v2/ThreadGoalClearParams"; import type { ThreadGoalGetParams } from "./v2/ThreadGoalGetParams"; import type { ThreadGoalSetParams } from "./v2/ThreadGoalSetParams"; import type { ThreadInjectItemsParams } from "./v2/ThreadInjectItemsParams"; +import type { ThreadItemsListParams } from "./v2/ThreadItemsListParams"; import type { ThreadListParams } from "./v2/ThreadListParams"; import type { ThreadLoadedListParams } from "./v2/ThreadLoadedListParams"; import type { ThreadMetadataUpdateParams } from "./v2/ThreadMetadataUpdateParams"; import type { ThreadReadParams } from "./v2/ThreadReadParams"; import type { ThreadResumeParams } from "./v2/ThreadResumeParams"; +import type { ThreadRevertParams } from "./v2/ThreadRevertParams"; import type { ThreadRollbackParams } from "./v2/ThreadRollbackParams"; +import type { ThreadSectionCreateParams } from "./v2/ThreadSectionCreateParams"; +import type { ThreadSectionDeleteParams } from "./v2/ThreadSectionDeleteParams"; +import type { ThreadSectionListParams } from "./v2/ThreadSectionListParams"; +import type { ThreadSectionMoveParams } from "./v2/ThreadSectionMoveParams"; +import type { ThreadSectionUpdateParams } from "./v2/ThreadSectionUpdateParams"; import type { ThreadSetNameParams } from "./v2/ThreadSetNameParams"; import type { ThreadShellCommandParams } from "./v2/ThreadShellCommandParams"; import type { ThreadStartParams } from "./v2/ThreadStartParams"; +import type { ThreadTurnsListParams } from "./v2/ThreadTurnsListParams"; import type { ThreadUnarchiveParams } from "./v2/ThreadUnarchiveParams"; import type { ThreadUnsubscribeParams } from "./v2/ThreadUnsubscribeParams"; import type { TurnInterruptParams } from "./v2/TurnInterruptParams"; @@ -90,4 +101,4 @@ 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/delete", id: RequestId, params: ThreadDeleteParams, } | { "method": "thread/unsubscribe", id: RequestId, params: ThreadUnsubscribeParams, } | { "method": "thread/name/set", id: RequestId, params: ThreadSetNameParams, } | { "method": "thread/goal/set", id: RequestId, params: ThreadGoalSetParams, } | { "method": "thread/goal/get", id: RequestId, params: ThreadGoalGetParams, } | { "method": "thread/goal/clear", id: RequestId, params: ThreadGoalClearParams, } | { "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/inject_items", id: RequestId, params: ThreadInjectItemsParams, } | { "method": "skills/list", id: RequestId, params: SkillsListParams, } | { "method": "skills/extraRoots/set", id: RequestId, params: SkillsExtraRootsSetParams, } | { "method": "hooks/list", id: RequestId, params: HooksListParams, } | { "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/installed", id: RequestId, params: PluginInstalledParams, } | { "method": "plugin/read", id: RequestId, params: PluginReadParams, } | { "method": "plugin/skill/read", id: RequestId, params: PluginSkillReadParams, } | { "method": "plugin/share/save", id: RequestId, params: PluginShareSaveParams, } | { "method": "plugin/share/updateTargets", id: RequestId, params: PluginShareUpdateTargetsParams, } | { "method": "plugin/share/list", id: RequestId, params: PluginShareListParams, } | { "method": "plugin/share/checkout", id: RequestId, params: PluginShareCheckoutParams, } | { "method": "plugin/share/delete", id: RequestId, params: PluginShareDeleteParams, } | { "method": "app/read", id: RequestId, params: AppsReadParams, } | { "method": "app/list", id: RequestId, params: AppsListParams, } | { "method": "app/installed", id: RequestId, params: AppsInstalledParams, } | { "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": "modelProvider/capabilities/read", id: RequestId, params: ModelProviderCapabilitiesReadParams, } | { "method": "experimentalFeature/list", id: RequestId, params: ExperimentalFeatureListParams, } | { "method": "permissionProfile/list", id: RequestId, params: PermissionProfileListParams, } | { "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": "windowsSandbox/readiness", id: RequestId, params: undefined, } | { "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/rateLimitResetCredit/consume", id: RequestId, params: ConsumeAccountRateLimitResetCreditParams, } | { "method": "account/usage/read", id: RequestId, params: undefined, } | { "method": "account/workspaceMessages/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": "externalAgentConfig/import/readHistories", id: RequestId, params: undefined, } | { "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/delete", id: RequestId, params: ThreadDeleteParams, } | { "method": "thread/unsubscribe", id: RequestId, params: ThreadUnsubscribeParams, } | { "method": "thread/name/set", id: RequestId, params: ThreadSetNameParams, } | { "method": "thread/goal/set", id: RequestId, params: ThreadGoalSetParams, } | { "method": "thread/goal/get", id: RequestId, params: ThreadGoalGetParams, } | { "method": "thread/goal/clear", id: RequestId, params: ThreadGoalClearParams, } | { "method": "thread/metadata/update", id: RequestId, params: ThreadMetadataUpdateParams, } | { "method": "thread/section/move", id: RequestId, params: ThreadSectionMoveParams, } | { "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/revert", id: RequestId, params: ThreadRevertParams, } | { "method": "thread/list", id: RequestId, params: ThreadListParams, } | { "method": "threadSection/list", id: RequestId, params: ThreadSectionListParams, } | { "method": "threadSection/create", id: RequestId, params: ThreadSectionCreateParams, } | { "method": "threadSection/update", id: RequestId, params: ThreadSectionUpdateParams, } | { "method": "threadSection/delete", id: RequestId, params: ThreadSectionDeleteParams, } | { "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/items/list", id: RequestId, params: ThreadItemsListParams, } | { "method": "thread/inject_items", id: RequestId, params: ThreadInjectItemsParams, } | { "method": "skills/list", id: RequestId, params: SkillsListParams, } | { "method": "skills/extraRoots/set", id: RequestId, params: SkillsExtraRootsSetParams, } | { "method": "hooks/list", id: RequestId, params: HooksListParams, } | { "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/installed", id: RequestId, params: PluginInstalledParams, } | { "method": "plugin/reconcile", id: RequestId, params: PluginReconcileParams, } | { "method": "plugin/read", id: RequestId, params: PluginReadParams, } | { "method": "plugin/skill/read", id: RequestId, params: PluginSkillReadParams, } | { "method": "plugin/share/save", id: RequestId, params: PluginShareSaveParams, } | { "method": "plugin/share/updateTargets", id: RequestId, params: PluginShareUpdateTargetsParams, } | { "method": "plugin/share/list", id: RequestId, params: PluginShareListParams, } | { "method": "plugin/share/checkout", id: RequestId, params: PluginShareCheckoutParams, } | { "method": "plugin/share/delete", id: RequestId, params: PluginShareDeleteParams, } | { "method": "app/read", id: RequestId, params: AppsReadParams, } | { "method": "app/list", id: RequestId, params: AppsListParams, } | { "method": "app/installed", id: RequestId, params: AppsInstalledParams, } | { "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": "modelProvider/capabilities/read", id: RequestId, params: ModelProviderCapabilitiesReadParams, } | { "method": "experimentalFeature/list", id: RequestId, params: ExperimentalFeatureListParams, } | { "method": "permissionProfile/list", id: RequestId, params: PermissionProfileListParams, } | { "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": "windowsSandbox/readiness", id: RequestId, params: undefined, } | { "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/rateLimitResetCredit/consume", id: RequestId, params: ConsumeAccountRateLimitResetCreditParams, } | { "method": "account/usage/read", id: RequestId, params?: GetAccountTokenUsageParams | undefined, } | { "method": "account/workspaceMessages/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": "externalAgentConfig/import/recordHistory", id: RequestId, params: ExternalAgentConfigImportHistoryRecordParams, } | { "method": "externalAgentConfig/import/readHistories", id: RequestId, params: undefined, } | { "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/src/generated/codex/ImageGenerationFailure.ts b/src/generated/codex/ImageGenerationFailure.ts new file mode 100644 index 0000000..00cd17d --- /dev/null +++ b/src/generated/codex/ImageGenerationFailure.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ImageGenerationFailure = { "type": "usageLimitExceeded", limitId: string, resetsAt: number | null, }; diff --git a/src/generated/codex/ImageGenerationItem.ts b/src/generated/codex/ImageGenerationItem.ts index 26cd628..645d275 100644 --- a/src/generated/codex/ImageGenerationItem.ts +++ b/src/generated/codex/ImageGenerationItem.ts @@ -2,5 +2,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"; +import type { ImageGenerationFailure } from "./ImageGenerationFailure"; -export type ImageGenerationItem = { id: string, status: string, revisedPrompt: string | null, result: string, savedPath?: AbsolutePathBuf, }; +export type ImageGenerationItem = { id: string, status: string, revisedPrompt: string | null, result: string, transparentBackground?: boolean, failure: ImageGenerationFailure | null, savedPath?: AbsolutePathBuf, }; diff --git a/src/generated/codex/InitializeCapabilities.ts b/src/generated/codex/InitializeCapabilities.ts index dcc4dff..6b4afd1 100644 --- a/src/generated/codex/InitializeCapabilities.ts +++ b/src/generated/codex/InitializeCapabilities.ts @@ -1,6 +1,7 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // 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"; /** * Client-declared capabilities negotiated during initialize. @@ -15,11 +16,17 @@ experimentalApi: boolean, */ requestAttestation: boolean, /** - * Allow downstream MCP servers to request OpenAI extended form elicitations. + * Legacy opt-in for the `openai/form` MCP extension. + * + * New clients should declare `openai/form` in [`Self::extensions`]. */ mcpServerOpenaiFormElicitation?: boolean, /** * Exact notification method names that should be suppressed for this * connection (for example `thread/started`). */ -optOutNotificationMethods?: Array | null, }; +optOutNotificationMethods?: Array | null, +/** + * MCP extension settings declared by the app-server client. + */ +extensions?: { [key in string]?: JsonValue } | null, }; diff --git a/src/generated/codex/InternalSessionSource.ts b/src/generated/codex/InternalSessionSource.ts index 47417c5..d847e34 100644 --- a/src/generated/codex/InternalSessionSource.ts +++ b/src/generated/codex/InternalSessionSource.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 InternalSessionSource = "memory_consolidation"; +export type InternalSessionSource = "memory_consolidation" | "guardian"; diff --git a/src/generated/codex/PathUri.ts b/src/generated/codex/PathUri.ts new file mode 100644 index 0000000..ba11296 --- /dev/null +++ b/src/generated/codex/PathUri.ts @@ -0,0 +1,32 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * An immutable, cross-platform representation of a `file:` URI. + * + * Only the `file:` scheme is currently accepted. Construction validates the + * URL, and the URI cannot be mutated after construction. [`Self::basename`], + * [`Self::parent`], and [`Self::join`] operate on URI path segments without + * interpreting them using the operating system running Codex. Fallback URIs + * created by [`Self::from_abs_path`] are opaque to these lexical operations. + * + * `file:` paths retain their URI spelling so they can be parsed independently + * of the current host, except that Windows drive letters are canonicalized to + * uppercase. A local POSIX `file:` URI can also retain percent-encoded non-UTF-8 + * bytes for lossless native round trips. + * + * Like [VS Code resources], path operations use `/` URI separators on every + * host. Lexical path operations preserve a URL authority without interpreting + * Windows drive or UNC roots from path text. Windows path equality and hashing + * ignore ASCII case, while POSIX paths remain case-sensitive. Native path + * normalization, filesystem aliases, symlinks, and Unicode normalization are + * not resolved. + * + * Serde represents a `PathUri` as its canonical URI string. Deserialization + * accepts only valid `file:` URI strings. These strings round-trip through + * their canonical URL form, including encoded non-UTF-8 path bytes. + * + * [VS Code resources]: https://github.com/microsoft/vscode/blob/main/src/vs/base/common/resources.ts + */ +export type PathUri = string; diff --git a/src/generated/codex/PlanType.ts b/src/generated/codex/PlanType.ts index 4489146..3f27f24 100644 --- a/src/generated/codex/PlanType.ts +++ b/src/generated/codex/PlanType.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 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_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown"; diff --git a/src/generated/codex/ResponseItem.ts b/src/generated/codex/ResponseItem.ts index 2758941..178cd65 100644 --- a/src/generated/codex/ResponseItem.ts +++ b/src/generated/codex/ResponseItem.ts @@ -21,4 +21,4 @@ id?: ResponseItemId, /** * Set when using the Responses API. */ -call_id: string | null, status: LocalShellStatus, action: LocalShellAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call", id?: ResponseItemId, name: string, namespace?: string, arguments: string, call_id: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_call", id?: ResponseItemId, call_id: string | null, status?: string, execution: string, arguments: unknown, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call_output", id?: ResponseItemId, call_id: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call", id?: ResponseItemId, status?: string, call_id: string, name: string, namespace?: string, input: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call_output", id?: ResponseItemId, call_id: string, name?: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_output", id?: ResponseItemId, call_id: string | null, status: string, execution: string, tools: unknown[], internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "web_search_call", id?: ResponseItemId, status?: string, action?: WebSearchAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "image_generation_call", id?: ResponseItemId, status: string, revised_prompt?: string, result: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction", id?: ResponseItemId, encrypted_content: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction_trigger", } | { "type": "context_compaction", id?: ResponseItemId, encrypted_content?: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "other" }; +call_id: string | null, status: LocalShellStatus, action: LocalShellAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call", id?: ResponseItemId, name: string, namespace?: string, arguments: string, encrypted_function_args?: Array, call_id: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_call", id?: ResponseItemId, call_id: string | null, status?: string, execution: string, arguments: unknown, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call_output", id?: ResponseItemId, call_id?: string, name?: string, namespace?: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call", id?: ResponseItemId, status?: string, call_id: string, name: string, namespace?: string, input: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call_output", id?: ResponseItemId, call_id: string, name?: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_output", id?: ResponseItemId, call_id: string | null, status: string, execution: string, tools: unknown[], internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "web_search_call", id?: ResponseItemId, status?: string, action?: WebSearchAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "image_generation_call", id?: ResponseItemId, status: string, revised_prompt?: string, result: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction", id?: ResponseItemId, encrypted_content: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction_trigger", } | { "type": "context_compaction", id?: ResponseItemId, encrypted_content?: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "other" }; diff --git a/src/generated/codex/ReviewDecision.ts b/src/generated/codex/ReviewDecision.ts index 22c09a2..e2a499f 100644 --- a/src/generated/codex/ReviewDecision.ts +++ b/src/generated/codex/ReviewDecision.ts @@ -7,4 +7,4 @@ import type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment"; /** * 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": { rejection: string, } } | "timed_out" | "abort"; +export type ReviewDecision = "approved" | { "approved_execpolicy_amendment": { proposed_execpolicy_amendment: ExecPolicyAmendment, } } | "approved_for_session" | "approved_mcp_policy_amendment" | { "network_policy_amendment": { network_policy_amendment: NetworkPolicyAmendment, } } | { "denied": { rejection: string, } } | "timed_out" | "abort"; diff --git a/src/generated/codex/ServerNotification.ts b/src/generated/codex/ServerNotification.ts index 271bfd4..c65fccb 100644 --- a/src/generated/codex/ServerNotification.ts +++ b/src/generated/codex/ServerNotification.ts @@ -8,6 +8,7 @@ import type { AccountRateLimitsUpdatedNotification } from "./v2/AccountRateLimit import type { AccountUpdatedNotification } from "./v2/AccountUpdatedNotification"; import type { AgentMessageDeltaNotification } from "./v2/AgentMessageDeltaNotification"; import type { AppListUpdatedNotification } from "./v2/AppListUpdatedNotification"; +import type { AuthRecoveryNotification } from "./v2/AuthRecoveryNotification"; import type { CommandExecOutputDeltaNotification } from "./v2/CommandExecOutputDeltaNotification"; import type { CommandExecutionOutputDeltaNotification } from "./v2/CommandExecutionOutputDeltaNotification"; import type { ConfigWarningNotification } from "./v2/ConfigWarningNotification"; @@ -27,6 +28,7 @@ import type { ItemCompletedNotification } from "./v2/ItemCompletedNotification"; import type { ItemGuardianApprovalReviewCompletedNotification } from "./v2/ItemGuardianApprovalReviewCompletedNotification"; import type { ItemGuardianApprovalReviewStartedNotification } from "./v2/ItemGuardianApprovalReviewStartedNotification"; import type { ItemStartedNotification } from "./v2/ItemStartedNotification"; +import type { McpServerEventStreamNotification } from "./v2/McpServerEventStreamNotification"; import type { McpServerOauthLoginCompletedNotification } from "./v2/McpServerOauthLoginCompletedNotification"; import type { McpServerStatusUpdatedNotification } from "./v2/McpServerStatusUpdatedNotification"; import type { McpToolCallProgressNotification } from "./v2/McpToolCallProgressNotification"; @@ -36,6 +38,7 @@ import type { ModelVerificationNotification } from "./v2/ModelVerificationNotifi import type { PlanDeltaNotification } from "./v2/PlanDeltaNotification"; import type { ProcessExitedNotification } from "./v2/ProcessExitedNotification"; import type { ProcessOutputDeltaNotification } from "./v2/ProcessOutputDeltaNotification"; +import type { ProjectChangedNotification } from "./v2/ProjectChangedNotification"; import type { RawResponseCompletedNotification } from "./v2/RawResponseCompletedNotification"; import type { RawResponseItemCompletedNotification } from "./v2/RawResponseItemCompletedNotification"; import type { ReasoningSummaryPartAddedNotification } from "./v2/ReasoningSummaryPartAddedNotification"; @@ -44,6 +47,7 @@ import type { ReasoningTextDeltaNotification } from "./v2/ReasoningTextDeltaNoti import type { RemoteControlStatusChangedNotification } from "./v2/RemoteControlStatusChangedNotification"; import type { ServerRequestResolvedNotification } from "./v2/ServerRequestResolvedNotification"; import type { SkillsChangedNotification } from "./v2/SkillsChangedNotification"; +import type { StrictReviewRequiredNotification } from "./v2/StrictReviewRequiredNotification"; import type { TerminalInteractionNotification } from "./v2/TerminalInteractionNotification"; import type { ThreadArchivedNotification } from "./v2/ThreadArchivedNotification"; import type { ThreadClosedNotification } from "./v2/ThreadClosedNotification"; @@ -51,14 +55,20 @@ import type { ThreadDeletedNotification } from "./v2/ThreadDeletedNotification"; import type { ThreadGoalClearedNotification } from "./v2/ThreadGoalClearedNotification"; import type { ThreadGoalUpdatedNotification } from "./v2/ThreadGoalUpdatedNotification"; import type { ThreadNameUpdatedNotification } from "./v2/ThreadNameUpdatedNotification"; +import type { ThreadProjectUpdatedNotification } from "./v2/ThreadProjectUpdatedNotification"; +import type { ThreadQueueChangedNotification } from "./v2/ThreadQueueChangedNotification"; import type { ThreadRealtimeClosedNotification } from "./v2/ThreadRealtimeClosedNotification"; import type { ThreadRealtimeErrorNotification } from "./v2/ThreadRealtimeErrorNotification"; import type { ThreadRealtimeItemAddedNotification } from "./v2/ThreadRealtimeItemAddedNotification"; +import type { ThreadRealtimeItemCompletedNotification } from "./v2/ThreadRealtimeItemCompletedNotification"; +import type { ThreadRealtimeItemStartedNotification } from "./v2/ThreadRealtimeItemStartedNotification"; +import type { ThreadRealtimeItemTranscriptDeltaNotification } from "./v2/ThreadRealtimeItemTranscriptDeltaNotification"; import type { ThreadRealtimeOutputAudioDeltaNotification } from "./v2/ThreadRealtimeOutputAudioDeltaNotification"; import type { ThreadRealtimeSdpNotification } from "./v2/ThreadRealtimeSdpNotification"; import type { ThreadRealtimeStartedNotification } from "./v2/ThreadRealtimeStartedNotification"; import type { ThreadRealtimeTranscriptDeltaNotification } from "./v2/ThreadRealtimeTranscriptDeltaNotification"; import type { ThreadRealtimeTranscriptDoneNotification } from "./v2/ThreadRealtimeTranscriptDoneNotification"; +import type { ThreadRevertedNotification } from "./v2/ThreadRevertedNotification"; import type { ThreadSettingsUpdatedNotification } from "./v2/ThreadSettingsUpdatedNotification"; import type { ThreadStartedNotification } from "./v2/ThreadStartedNotification"; import type { ThreadStatusChangedNotification } from "./v2/ThreadStatusChangedNotification"; @@ -76,4 +86,4 @@ 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/deleted", "params": ThreadDeletedNotification } | { "method": "thread/unarchived", "params": ThreadUnarchivedNotification } | { "method": "thread/closed", "params": ThreadClosedNotification } | { "method": "skills/changed", "params": SkillsChangedNotification } | { "method": "thread/name/updated", "params": ThreadNameUpdatedNotification } | { "method": "thread/goal/updated", "params": ThreadGoalUpdatedNotification } | { "method": "thread/goal/cleared", "params": ThreadGoalClearedNotification } | { "method": "thread/environment/connected", "params": EnvironmentConnectionNotification } | { "method": "thread/environment/disconnected", "params": EnvironmentConnectionNotification } | { "method": "thread/settings/updated", "params": ThreadSettingsUpdatedNotification } | { "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": "rawResponse/completed", "params": RawResponseCompletedNotification } | { "method": "item/agentMessage/delta", "params": AgentMessageDeltaNotification } | { "method": "item/plan/delta", "params": PlanDeltaNotification } | { "method": "command/exec/outputDelta", "params": CommandExecOutputDeltaNotification } | { "method": "process/outputDelta", "params": ProcessOutputDeltaNotification } | { "method": "process/exited", "params": ProcessExitedNotification } | { "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": "remoteControl/status/changed", "params": RemoteControlStatusChangedNotification } | { "method": "externalAgentConfig/import/progress", "params": ExternalAgentConfigImportProgressNotification } | { "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": "turn/moderationMetadata", "params": TurnModerationMetadataNotification } | { "method": "model/safetyBuffering/updated", "params": ModelSafetyBufferingUpdatedNotification } | { "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/deleted", "params": ThreadDeletedNotification } | { "method": "thread/unarchived", "params": ThreadUnarchivedNotification } | { "method": "thread/closed", "params": ThreadClosedNotification } | { "method": "thread/reverted", "params": ThreadRevertedNotification } | { "method": "skills/changed", "params": SkillsChangedNotification } | { "method": "thread/name/updated", "params": ThreadNameUpdatedNotification } | { "method": "thread/goal/updated", "params": ThreadGoalUpdatedNotification } | { "method": "thread/goal/cleared", "params": ThreadGoalClearedNotification } | { "method": "thread/queue/changed", "params": ThreadQueueChangedNotification } | { "method": "project/changed", "params": ProjectChangedNotification } | { "method": "thread/project/updated", "params": ThreadProjectUpdatedNotification } | { "method": "thread/environment/connected", "params": EnvironmentConnectionNotification } | { "method": "thread/environment/disconnected", "params": EnvironmentConnectionNotification } | { "method": "thread/settings/updated", "params": ThreadSettingsUpdatedNotification } | { "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": "autoApprovalReview/strictReviewRequired", "params": StrictReviewRequiredNotification } | { "method": "item/completed", "params": ItemCompletedNotification } | { "method": "rawResponseItem/completed", "params": RawResponseItemCompletedNotification } | { "method": "rawResponse/completed", "params": RawResponseCompletedNotification } | { "method": "item/agentMessage/delta", "params": AgentMessageDeltaNotification } | { "method": "item/plan/delta", "params": PlanDeltaNotification } | { "method": "command/exec/outputDelta", "params": CommandExecOutputDeltaNotification } | { "method": "process/outputDelta", "params": ProcessOutputDeltaNotification } | { "method": "process/exited", "params": ProcessExitedNotification } | { "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": "mcpServer/event/stream/notification", "params": McpServerEventStreamNotification } | { "method": "account/updated", "params": AccountUpdatedNotification } | { "method": "account/rateLimits/updated", "params": AccountRateLimitsUpdatedNotification } | { "method": "app/list/updated", "params": AppListUpdatedNotification } | { "method": "remoteControl/status/changed", "params": RemoteControlStatusChangedNotification } | { "method": "externalAgentConfig/import/progress", "params": ExternalAgentConfigImportProgressNotification } | { "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": "modelProvider/authRecoveryStarted", "params": AuthRecoveryNotification } | { "method": "modelProvider/authRecoveryCompleted", "params": AuthRecoveryNotification } | { "method": "turn/moderationMetadata", "params": TurnModerationMetadataNotification } | { "method": "model/safetyBuffering/updated", "params": ModelSafetyBufferingUpdatedNotification } | { "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/item/started", "params": ThreadRealtimeItemStartedNotification } | { "method": "thread/realtime/item/transcript/delta", "params": ThreadRealtimeItemTranscriptDeltaNotification } | { "method": "thread/realtime/item/completed", "params": ThreadRealtimeItemCompletedNotification } | { "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/src/generated/codex/ServerNotificationEnvelope.ts b/src/generated/codex/ServerNotificationEnvelope.ts index 46c4fb0..bb5799a 100644 --- a/src/generated/codex/ServerNotificationEnvelope.ts +++ b/src/generated/codex/ServerNotificationEnvelope.ts @@ -8,6 +8,7 @@ import type { AccountRateLimitsUpdatedNotification } from "./v2/AccountRateLimit import type { AccountUpdatedNotification } from "./v2/AccountUpdatedNotification"; import type { AgentMessageDeltaNotification } from "./v2/AgentMessageDeltaNotification"; import type { AppListUpdatedNotification } from "./v2/AppListUpdatedNotification"; +import type { AuthRecoveryNotification } from "./v2/AuthRecoveryNotification"; import type { CommandExecOutputDeltaNotification } from "./v2/CommandExecOutputDeltaNotification"; import type { CommandExecutionOutputDeltaNotification } from "./v2/CommandExecutionOutputDeltaNotification"; import type { ConfigWarningNotification } from "./v2/ConfigWarningNotification"; @@ -27,6 +28,7 @@ import type { ItemCompletedNotification } from "./v2/ItemCompletedNotification"; import type { ItemGuardianApprovalReviewCompletedNotification } from "./v2/ItemGuardianApprovalReviewCompletedNotification"; import type { ItemGuardianApprovalReviewStartedNotification } from "./v2/ItemGuardianApprovalReviewStartedNotification"; import type { ItemStartedNotification } from "./v2/ItemStartedNotification"; +import type { McpServerEventStreamNotification } from "./v2/McpServerEventStreamNotification"; import type { McpServerOauthLoginCompletedNotification } from "./v2/McpServerOauthLoginCompletedNotification"; import type { McpServerStatusUpdatedNotification } from "./v2/McpServerStatusUpdatedNotification"; import type { McpToolCallProgressNotification } from "./v2/McpToolCallProgressNotification"; @@ -36,6 +38,7 @@ import type { ModelVerificationNotification } from "./v2/ModelVerificationNotifi import type { PlanDeltaNotification } from "./v2/PlanDeltaNotification"; import type { ProcessExitedNotification } from "./v2/ProcessExitedNotification"; import type { ProcessOutputDeltaNotification } from "./v2/ProcessOutputDeltaNotification"; +import type { ProjectChangedNotification } from "./v2/ProjectChangedNotification"; import type { RawResponseCompletedNotification } from "./v2/RawResponseCompletedNotification"; import type { RawResponseItemCompletedNotification } from "./v2/RawResponseItemCompletedNotification"; import type { ReasoningSummaryPartAddedNotification } from "./v2/ReasoningSummaryPartAddedNotification"; @@ -44,6 +47,7 @@ import type { ReasoningTextDeltaNotification } from "./v2/ReasoningTextDeltaNoti import type { RemoteControlStatusChangedNotification } from "./v2/RemoteControlStatusChangedNotification"; import type { ServerRequestResolvedNotification } from "./v2/ServerRequestResolvedNotification"; import type { SkillsChangedNotification } from "./v2/SkillsChangedNotification"; +import type { StrictReviewRequiredNotification } from "./v2/StrictReviewRequiredNotification"; import type { TerminalInteractionNotification } from "./v2/TerminalInteractionNotification"; import type { ThreadArchivedNotification } from "./v2/ThreadArchivedNotification"; import type { ThreadClosedNotification } from "./v2/ThreadClosedNotification"; @@ -51,14 +55,20 @@ import type { ThreadDeletedNotification } from "./v2/ThreadDeletedNotification"; import type { ThreadGoalClearedNotification } from "./v2/ThreadGoalClearedNotification"; import type { ThreadGoalUpdatedNotification } from "./v2/ThreadGoalUpdatedNotification"; import type { ThreadNameUpdatedNotification } from "./v2/ThreadNameUpdatedNotification"; +import type { ThreadProjectUpdatedNotification } from "./v2/ThreadProjectUpdatedNotification"; +import type { ThreadQueueChangedNotification } from "./v2/ThreadQueueChangedNotification"; import type { ThreadRealtimeClosedNotification } from "./v2/ThreadRealtimeClosedNotification"; import type { ThreadRealtimeErrorNotification } from "./v2/ThreadRealtimeErrorNotification"; import type { ThreadRealtimeItemAddedNotification } from "./v2/ThreadRealtimeItemAddedNotification"; +import type { ThreadRealtimeItemCompletedNotification } from "./v2/ThreadRealtimeItemCompletedNotification"; +import type { ThreadRealtimeItemStartedNotification } from "./v2/ThreadRealtimeItemStartedNotification"; +import type { ThreadRealtimeItemTranscriptDeltaNotification } from "./v2/ThreadRealtimeItemTranscriptDeltaNotification"; import type { ThreadRealtimeOutputAudioDeltaNotification } from "./v2/ThreadRealtimeOutputAudioDeltaNotification"; import type { ThreadRealtimeSdpNotification } from "./v2/ThreadRealtimeSdpNotification"; import type { ThreadRealtimeStartedNotification } from "./v2/ThreadRealtimeStartedNotification"; import type { ThreadRealtimeTranscriptDeltaNotification } from "./v2/ThreadRealtimeTranscriptDeltaNotification"; import type { ThreadRealtimeTranscriptDoneNotification } from "./v2/ThreadRealtimeTranscriptDoneNotification"; +import type { ThreadRevertedNotification } from "./v2/ThreadRevertedNotification"; import type { ThreadSettingsUpdatedNotification } from "./v2/ThreadSettingsUpdatedNotification"; import type { ThreadStartedNotification } from "./v2/ThreadStartedNotification"; import type { ThreadStatusChangedNotification } from "./v2/ThreadStatusChangedNotification"; @@ -86,4 +96,4 @@ export type ServerNotificationEnvelope = { * Optional so clients can decode notifications from older app-server * versions. Current app-server versions always populate it. */ -emittedAtMs?: number, } & ({ "method": "error", "params": ErrorNotification } | { "method": "thread/started", "params": ThreadStartedNotification } | { "method": "thread/status/changed", "params": ThreadStatusChangedNotification } | { "method": "thread/archived", "params": ThreadArchivedNotification } | { "method": "thread/deleted", "params": ThreadDeletedNotification } | { "method": "thread/unarchived", "params": ThreadUnarchivedNotification } | { "method": "thread/closed", "params": ThreadClosedNotification } | { "method": "skills/changed", "params": SkillsChangedNotification } | { "method": "thread/name/updated", "params": ThreadNameUpdatedNotification } | { "method": "thread/goal/updated", "params": ThreadGoalUpdatedNotification } | { "method": "thread/goal/cleared", "params": ThreadGoalClearedNotification } | { "method": "thread/environment/connected", "params": EnvironmentConnectionNotification } | { "method": "thread/environment/disconnected", "params": EnvironmentConnectionNotification } | { "method": "thread/settings/updated", "params": ThreadSettingsUpdatedNotification } | { "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": "rawResponse/completed", "params": RawResponseCompletedNotification } | { "method": "item/agentMessage/delta", "params": AgentMessageDeltaNotification } | { "method": "item/plan/delta", "params": PlanDeltaNotification } | { "method": "command/exec/outputDelta", "params": CommandExecOutputDeltaNotification } | { "method": "process/outputDelta", "params": ProcessOutputDeltaNotification } | { "method": "process/exited", "params": ProcessExitedNotification } | { "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": "remoteControl/status/changed", "params": RemoteControlStatusChangedNotification } | { "method": "externalAgentConfig/import/progress", "params": ExternalAgentConfigImportProgressNotification } | { "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": "turn/moderationMetadata", "params": TurnModerationMetadataNotification } | { "method": "model/safetyBuffering/updated", "params": ModelSafetyBufferingUpdatedNotification } | { "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 }); +emittedAtMs?: number, } & ({ "method": "error", "params": ErrorNotification } | { "method": "thread/started", "params": ThreadStartedNotification } | { "method": "thread/status/changed", "params": ThreadStatusChangedNotification } | { "method": "thread/archived", "params": ThreadArchivedNotification } | { "method": "thread/deleted", "params": ThreadDeletedNotification } | { "method": "thread/unarchived", "params": ThreadUnarchivedNotification } | { "method": "thread/closed", "params": ThreadClosedNotification } | { "method": "thread/reverted", "params": ThreadRevertedNotification } | { "method": "skills/changed", "params": SkillsChangedNotification } | { "method": "thread/name/updated", "params": ThreadNameUpdatedNotification } | { "method": "thread/goal/updated", "params": ThreadGoalUpdatedNotification } | { "method": "thread/goal/cleared", "params": ThreadGoalClearedNotification } | { "method": "thread/queue/changed", "params": ThreadQueueChangedNotification } | { "method": "project/changed", "params": ProjectChangedNotification } | { "method": "thread/project/updated", "params": ThreadProjectUpdatedNotification } | { "method": "thread/environment/connected", "params": EnvironmentConnectionNotification } | { "method": "thread/environment/disconnected", "params": EnvironmentConnectionNotification } | { "method": "thread/settings/updated", "params": ThreadSettingsUpdatedNotification } | { "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": "autoApprovalReview/strictReviewRequired", "params": StrictReviewRequiredNotification } | { "method": "item/completed", "params": ItemCompletedNotification } | { "method": "rawResponseItem/completed", "params": RawResponseItemCompletedNotification } | { "method": "rawResponse/completed", "params": RawResponseCompletedNotification } | { "method": "item/agentMessage/delta", "params": AgentMessageDeltaNotification } | { "method": "item/plan/delta", "params": PlanDeltaNotification } | { "method": "command/exec/outputDelta", "params": CommandExecOutputDeltaNotification } | { "method": "process/outputDelta", "params": ProcessOutputDeltaNotification } | { "method": "process/exited", "params": ProcessExitedNotification } | { "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": "mcpServer/event/stream/notification", "params": McpServerEventStreamNotification } | { "method": "account/updated", "params": AccountUpdatedNotification } | { "method": "account/rateLimits/updated", "params": AccountRateLimitsUpdatedNotification } | { "method": "app/list/updated", "params": AppListUpdatedNotification } | { "method": "remoteControl/status/changed", "params": RemoteControlStatusChangedNotification } | { "method": "externalAgentConfig/import/progress", "params": ExternalAgentConfigImportProgressNotification } | { "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": "modelProvider/authRecoveryStarted", "params": AuthRecoveryNotification } | { "method": "modelProvider/authRecoveryCompleted", "params": AuthRecoveryNotification } | { "method": "turn/moderationMetadata", "params": TurnModerationMetadataNotification } | { "method": "model/safetyBuffering/updated", "params": ModelSafetyBufferingUpdatedNotification } | { "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/item/started", "params": ThreadRealtimeItemStartedNotification } | { "method": "thread/realtime/item/transcript/delta", "params": ThreadRealtimeItemTranscriptDeltaNotification } | { "method": "thread/realtime/item/completed", "params": ThreadRealtimeItemCompletedNotification } | { "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/src/generated/codex/index.ts b/src/generated/codex/index.ts index e3e88ad..893117f 100644 --- a/src/generated/codex/index.ts +++ b/src/generated/codex/index.ts @@ -37,6 +37,7 @@ export type { GitDiffToRemoteParams } from "./GitDiffToRemoteParams"; export type { GitDiffToRemoteResponse } from "./GitDiffToRemoteResponse"; export type { GitSha } from "./GitSha"; export type { ImageDetail } from "./ImageDetail"; +export type { ImageGenerationFailure } from "./ImageGenerationFailure"; export type { ImageGenerationItem } from "./ImageGenerationItem"; export type { InitializeCapabilities } from "./InitializeCapabilities"; export type { InitializeParams } from "./InitializeParams"; @@ -55,6 +56,7 @@ export type { MultiAgentMode } from "./MultiAgentMode"; export type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment"; export type { NetworkPolicyRuleAction } from "./NetworkPolicyRuleAction"; export type { ParsedCommand } from "./ParsedCommand"; +export type { PathUri } from "./PathUri"; export type { Personality } from "./Personality"; export type { PlanType } from "./PlanType"; export type { RealtimeConversationVersion } from "./RealtimeConversationVersion"; diff --git a/src/generated/codex/protocol-manifest.json b/src/generated/codex/protocol-manifest.json index adf6a95..e0b8d2b 100644 --- a/src/generated/codex/protocol-manifest.json +++ b/src/generated/codex/protocol-manifest.json @@ -1,5 +1,5 @@ { - "codexVersion": "0.145.0", + "codexVersion": "0.153.3", "methods": { "clientRequests": [ "account/login/cancel", @@ -28,6 +28,7 @@ "externalAgentConfig/detect", "externalAgentConfig/import", "externalAgentConfig/import/readHistories", + "externalAgentConfig/import/recordHistory", "feedback/upload", "fs/copy", "fs/createDirectory", @@ -58,6 +59,7 @@ "plugin/installed", "plugin/list", "plugin/read", + "plugin/reconcile", "plugin/share/checkout", "plugin/share/delete", "plugin/share/list", @@ -78,17 +80,25 @@ "thread/goal/get", "thread/goal/set", "thread/inject_items", + "thread/items/list", "thread/list", "thread/loaded/list", "thread/metadata/update", "thread/name/set", "thread/read", "thread/resume", + "thread/revert", "thread/rollback", + "thread/section/move", "thread/shellCommand", "thread/start", + "thread/turns/list", "thread/unarchive", "thread/unsubscribe", + "threadSection/create", + "threadSection/delete", + "threadSection/list", + "threadSection/update", "turn/interrupt", "turn/start", "turn/steer", @@ -115,6 +125,7 @@ "account/rateLimits/updated", "account/updated", "app/list/updated", + "autoApprovalReview/strictReviewRequired", "command/exec/outputDelta", "configWarning", "deprecationNotice", @@ -141,13 +152,17 @@ "item/reasoning/summaryTextDelta", "item/reasoning/textDelta", "item/started", + "mcpServer/event/stream/notification", "mcpServer/oauthLogin/completed", "mcpServer/startupStatus/updated", "model/rerouted", "model/safetyBuffering/updated", "model/verification", + "modelProvider/authRecoveryCompleted", + "modelProvider/authRecoveryStarted", "process/exited", "process/outputDelta", + "project/changed", "rawResponse/completed", "rawResponseItem/completed", "remoteControl/status/changed", @@ -162,14 +177,20 @@ "thread/goal/cleared", "thread/goal/updated", "thread/name/updated", + "thread/project/updated", + "thread/queue/changed", "thread/realtime/closed", "thread/realtime/error", + "thread/realtime/item/completed", + "thread/realtime/item/started", + "thread/realtime/item/transcript/delta", "thread/realtime/itemAdded", "thread/realtime/outputAudio/delta", "thread/realtime/sdp", "thread/realtime/started", "thread/realtime/transcript/delta", "thread/realtime/transcript/done", + "thread/reverted", "thread/settings/updated", "thread/started", "thread/status/changed", diff --git a/src/generated/codex/v2/AccountLoginCompletedNotification.ts b/src/generated/codex/v2/AccountLoginCompletedNotification.ts index 587237b..65e251e 100644 --- a/src/generated/codex/v2/AccountLoginCompletedNotification.ts +++ b/src/generated/codex/v2/AccountLoginCompletedNotification.ts @@ -1,5 +1,6 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { DesktopOnboardingEntrypoint } from "./DesktopOnboardingEntrypoint"; -export type AccountLoginCompletedNotification = { loginId: string | null, success: boolean, error: string | null, }; +export type AccountLoginCompletedNotification = { loginId: string | null, success: boolean, error: string | null, onboardingEntrypoint: DesktopOnboardingEntrypoint | null, }; diff --git a/src/generated/codex/v2/AgentMessageDelivery.ts b/src/generated/codex/v2/AgentMessageDelivery.ts new file mode 100644 index 0000000..bc6547e --- /dev/null +++ b/src/generated/codex/v2/AgentMessageDelivery.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type AgentMessageDelivery = "async"; diff --git a/src/generated/codex/v2/AllowDenyRequirement.ts b/src/generated/codex/v2/AllowDenyRequirement.ts new file mode 100644 index 0000000..ec13796 --- /dev/null +++ b/src/generated/codex/v2/AllowDenyRequirement.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type AllowDenyRequirement = "allow" | "deny"; diff --git a/src/generated/codex/v2/AppLinksConfig.ts b/src/generated/codex/v2/AppLinksConfig.ts new file mode 100644 index 0000000..c016c92 --- /dev/null +++ b/src/generated/codex/v2/AppLinksConfig.ts @@ -0,0 +1,10 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; +import type { ApprovalsReviewer } from "./ApprovalsReviewer"; + +/** + * Account settings for a single app. + */ +export type AppLinksConfig = { [key in string]?: { approvals_reviewer: ApprovalsReviewer | null, default_tools_approval_mode: AppToolApproval | null, } }; diff --git a/src/generated/codex/v2/AppMetadata.ts b/src/generated/codex/v2/AppMetadata.ts index f1a5001..d4f0a95 100644 --- a/src/generated/codex/v2/AppMetadata.ts +++ b/src/generated/codex/v2/AppMetadata.ts @@ -4,4 +4,4 @@ import type { AppReview } from "./AppReview"; import type { AppScreenshot } from "./AppScreenshot"; -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, firstPartyRequiresInstall: boolean | null, showInComposerWhenUnlinked: boolean | null, }; diff --git a/src/generated/codex/v2/AppToolSummary.ts b/src/generated/codex/v2/AppToolSummary.ts index 15677b0..6ab5c16 100644 --- a/src/generated/codex/v2/AppToolSummary.ts +++ b/src/generated/codex/v2/AppToolSummary.ts @@ -5,4 +5,4 @@ /** * EXPERIMENTAL - metadata returned by app/read. */ -export type AppToolSummary = { name: string, title: string | null, description: string, }; +export type AppToolSummary = { name: string, title: string | null, description: string, isEnabled: boolean, disabledReason: string | null, isReadOnly: boolean, }; diff --git a/src/generated/codex/v2/AppsConfig.ts b/src/generated/codex/v2/AppsConfig.ts index a4a0f22..ea07dc3 100644 --- a/src/generated/codex/v2/AppsConfig.ts +++ b/src/generated/codex/v2/AppsConfig.ts @@ -1,9 +1,14 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AppLinksConfig } from "./AppLinksConfig"; import type { AppToolApproval } from "./AppToolApproval"; import type { AppToolsConfig } from "./AppToolsConfig"; import type { ApprovalsReviewer } from "./ApprovalsReviewer"; import type { AppsDefaultConfig } from "./AppsDefaultConfig"; -export type AppsConfig = { _default: AppsDefaultConfig | null, } & ({ [key in string]?: { enabled: boolean, approvals_reviewer: ApprovalsReviewer | null, 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, approvals_reviewer: ApprovalsReviewer | null, destructive_enabled: boolean | null, open_world_enabled: boolean | null, default_tools_approval_mode: AppToolApproval | null, default_tools_enabled: boolean | null, tools: AppToolsConfig | null, +/** + * Per-account approval settings keyed by link ID. + */ +links: AppLinksConfig | null, } }); diff --git a/src/generated/codex/v2/AppsReadParams.ts b/src/generated/codex/v2/AppsReadParams.ts index 4d58f86..19a0e8f 100644 --- a/src/generated/codex/v2/AppsReadParams.ts +++ b/src/generated/codex/v2/AppsReadParams.ts @@ -11,6 +11,10 @@ export type AppsReadParams = { * preserving their first-request order. */ appIds: Array, +/** + * Optional loaded thread id used to evaluate effective app configuration. + */ +threadId?: string | null, /** * When true, include display-only public tool summaries in the returned metadata. */ diff --git a/src/generated/codex/v2/AsyncUserInputQuestion.ts b/src/generated/codex/v2/AsyncUserInputQuestion.ts new file mode 100644 index 0000000..bac5531 --- /dev/null +++ b/src/generated/codex/v2/AsyncUserInputQuestion.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type AsyncUserInputQuestion = { title: string, options: Array | null, }; diff --git a/src/generated/codex/v2/AuthRecoveryNotification.ts b/src/generated/codex/v2/AuthRecoveryNotification.ts new file mode 100644 index 0000000..62d8d06 --- /dev/null +++ b/src/generated/codex/v2/AuthRecoveryNotification.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type AuthRecoveryNotification = { threadId: string, turnId: string, provider: string, message: string, }; diff --git a/src/generated/codex/v2/AutoReviewRequirements.ts b/src/generated/codex/v2/AutoReviewRequirements.ts new file mode 100644 index 0000000..04036ba --- /dev/null +++ b/src/generated/codex/v2/AutoReviewRequirements.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type AutoReviewRequirements = { requiredOnModels: Array | null, ignoreRules: Array | null, }; diff --git a/src/generated/codex/v2/BrowserUseAccessApprovalLifetime.ts b/src/generated/codex/v2/BrowserUseAccessApprovalLifetime.ts new file mode 100644 index 0000000..f86b59e --- /dev/null +++ b/src/generated/codex/v2/BrowserUseAccessApprovalLifetime.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type BrowserUseAccessApprovalLifetime = "turn" | "thread"; diff --git a/src/generated/codex/v2/BrowserUseConfig.ts b/src/generated/codex/v2/BrowserUseConfig.ts new file mode 100644 index 0000000..5cea396 --- /dev/null +++ b/src/generated/codex/v2/BrowserUseConfig.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { BrowserUseOriginPolicyConfig } from "./BrowserUseOriginPolicyConfig"; + +export type BrowserUseConfig = { allow_history_access: boolean | null, default_origin_policy: BrowserUseOriginPolicyConfig | null, origins: { [key in string]?: BrowserUseOriginPolicyConfig } | null, }; diff --git a/src/generated/codex/v2/BrowserUseOriginPolicy.ts b/src/generated/codex/v2/BrowserUseOriginPolicy.ts new file mode 100644 index 0000000..117330d --- /dev/null +++ b/src/generated/codex/v2/BrowserUseOriginPolicy.ts @@ -0,0 +1,7 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; +import type { BrowserUseAccessApprovalLifetime } from "./BrowserUseAccessApprovalLifetime"; + +export type BrowserUseOriginPolicy = { access: AllowDenyRequirement | null, downloads: AllowDenyRequirement | null, uploads: AllowDenyRequirement | null, fullCdpAccess: AllowDenyRequirement | null, autoReview: AllowDenyRequirement | null, persistentApproval: boolean | null, accessApprovalLifetime: BrowserUseAccessApprovalLifetime | null, }; diff --git a/src/generated/codex/v2/BrowserUseOriginPolicyConfig.ts b/src/generated/codex/v2/BrowserUseOriginPolicyConfig.ts new file mode 100644 index 0000000..caf024d --- /dev/null +++ b/src/generated/codex/v2/BrowserUseOriginPolicyConfig.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; + +export type BrowserUseOriginPolicyConfig = { access: AllowDenyRequirement | null, downloads: AllowDenyRequirement | null, uploads: AllowDenyRequirement | null, full_cdp_access: AllowDenyRequirement | null, }; diff --git a/src/generated/codex/v2/BrowserUseRequirements.ts b/src/generated/codex/v2/BrowserUseRequirements.ts new file mode 100644 index 0000000..894caa9 --- /dev/null +++ b/src/generated/codex/v2/BrowserUseRequirements.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { BrowserUseOriginPolicy } from "./BrowserUseOriginPolicy"; + +export type BrowserUseRequirements = { allowHistoryAccess: boolean | null, disableAutoReview: boolean | null, allowGlobalPersistentApproval: boolean | null, defaultOriginPolicy: BrowserUseOriginPolicy | null, origins: { [key in string]?: BrowserUseOriginPolicy } | null, }; diff --git a/src/generated/codex/v2/CliAuthCredentialsStoreMode.ts b/src/generated/codex/v2/CliAuthCredentialsStoreMode.ts new file mode 100644 index 0000000..366d748 --- /dev/null +++ b/src/generated/codex/v2/CliAuthCredentialsStoreMode.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type CliAuthCredentialsStoreMode = "file" | "keyring" | "auto" | "ephemeral"; diff --git a/src/generated/codex/v2/CodexErrorInfo.ts b/src/generated/codex/v2/CodexErrorInfo.ts index ec50328..e93d7fd 100644 --- a/src/generated/codex/v2/CodexErrorInfo.ts +++ b/src/generated/codex/v2/CodexErrorInfo.ts @@ -9,4 +9,4 @@ import type { NonSteerableTurnKind } from "./NonSteerableTurnKind"; * 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" | "sessionBudgetExceeded" | "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" | "sessionBudgetExceeded" | "usageLimitExceeded" | "rateLimitExceeded" | "serverOverloaded" | "cyberPolicy" | "misalignmentPolicyViolation" | { "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/src/generated/codex/v2/CollabAgentTool.ts b/src/generated/codex/v2/CollabAgentTool.ts index 3637853..9d8673e 100644 --- a/src/generated/codex/v2/CollabAgentTool.ts +++ b/src/generated/codex/v2/CollabAgentTool.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 CollabAgentTool = "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; +export type CollabAgentTool = "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent" | "sendMessage" | "followupTask" | "interruptAgent" | "listAgents"; diff --git a/src/generated/codex/v2/CollabAgentToolCallStatus.ts b/src/generated/codex/v2/CollabAgentToolCallStatus.ts index f21f7bd..2309bb8 100644 --- a/src/generated/codex/v2/CollabAgentToolCallStatus.ts +++ b/src/generated/codex/v2/CollabAgentToolCallStatus.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 CollabAgentToolCallStatus = "inProgress" | "completed" | "failed"; +export type CollabAgentToolCallStatus = "inProgress" | "completed" | "failed" | "interrupted"; diff --git a/src/generated/codex/v2/CommandAction.ts b/src/generated/codex/v2/CommandAction.ts index a17fb06..91c92c9 100644 --- a/src/generated/codex/v2/CommandAction.ts +++ b/src/generated/codex/v2/CommandAction.ts @@ -1,6 +1,6 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // 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"; +import type { LegacyAppPathString } from "../LegacyAppPathString"; -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: LegacyAppPathString, } | { "type": "listFiles", command: string, path: string | null, } | { "type": "search", command: string, query: string | null, path: string | null, } | { "type": "unknown", command: string, }; diff --git a/src/generated/codex/v2/CommandExecutionApprovalKind.ts b/src/generated/codex/v2/CommandExecutionApprovalKind.ts new file mode 100644 index 0000000..f94eac8 --- /dev/null +++ b/src/generated/codex/v2/CommandExecutionApprovalKind.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Distinguishes a command approval from input sent to an existing terminal. + */ +export type CommandExecutionApprovalKind = "command" | "writeStdin"; diff --git a/src/generated/codex/v2/CommandExecutionRequestApprovalParams.ts b/src/generated/codex/v2/CommandExecutionRequestApprovalParams.ts index 4f02c92..0ad35b4 100644 --- a/src/generated/codex/v2/CommandExecutionRequestApprovalParams.ts +++ b/src/generated/codex/v2/CommandExecutionRequestApprovalParams.ts @@ -3,11 +3,15 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { LegacyAppPathString } from "../LegacyAppPathString"; import type { CommandAction } from "./CommandAction"; +import type { CommandExecutionApprovalKind } from "./CommandExecutionApprovalKind"; import type { ExecPolicyAmendment } from "./ExecPolicyAmendment"; import type { NetworkApprovalContext } from "./NetworkApprovalContext"; import type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment"; -export type CommandExecutionRequestApprovalParams = {threadId: string, turnId: string, itemId: string, /** +export type CommandExecutionRequestApprovalParams = {/** + * Kind of action under review. Defaults to `command` for older servers. + */ +kind: CommandExecutionApprovalKind, threadId: string, turnId: string, itemId: string, /** * Unix timestamp (in milliseconds) when this approval request started. */ startedAtMs: number, /** @@ -18,6 +22,7 @@ startedAtMs: number, /** * 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. + * Stdin approvals also use a distinct callback id; inspect `kind` to distinguish them. */ approvalId?: string | null, /** * Environment in which the command will run. diff --git a/src/generated/codex/v2/ComputerUseConfig.ts b/src/generated/codex/v2/ComputerUseConfig.ts new file mode 100644 index 0000000..0069ddd --- /dev/null +++ b/src/generated/codex/v2/ComputerUseConfig.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; +import type { ComputerUseMacosConfig } from "./ComputerUseMacosConfig"; +import type { ComputerUseWindowsConfig } from "./ComputerUseWindowsConfig"; + +export type ComputerUseConfig = { default_app_access: AllowDenyRequirement | null, macos: ComputerUseMacosConfig | null, windows: ComputerUseWindowsConfig | null, }; diff --git a/src/generated/codex/v2/ComputerUseMacosConfig.ts b/src/generated/codex/v2/ComputerUseMacosConfig.ts new file mode 100644 index 0000000..91b03c3 --- /dev/null +++ b/src/generated/codex/v2/ComputerUseMacosConfig.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; + +export type ComputerUseMacosConfig = { bundle_ids: { [key in string]?: AllowDenyRequirement } | null, }; diff --git a/src/generated/codex/v2/ComputerUseMacosRequirements.ts b/src/generated/codex/v2/ComputerUseMacosRequirements.ts new file mode 100644 index 0000000..e5577ae --- /dev/null +++ b/src/generated/codex/v2/ComputerUseMacosRequirements.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; + +export type ComputerUseMacosRequirements = { bundleIds: { [key in string]?: AllowDenyRequirement } | null, }; diff --git a/src/generated/codex/v2/ComputerUseRequirements.ts b/src/generated/codex/v2/ComputerUseRequirements.ts index 7a82e7a..f0894b1 100644 --- a/src/generated/codex/v2/ComputerUseRequirements.ts +++ b/src/generated/codex/v2/ComputerUseRequirements.ts @@ -1,5 +1,8 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; +import type { ComputerUseMacosRequirements } from "./ComputerUseMacosRequirements"; +import type { ComputerUseWindowsRequirements } from "./ComputerUseWindowsRequirements"; -export type ComputerUseRequirements = { allowLockedComputerUse: boolean | null, }; +export type ComputerUseRequirements = { allowLockedComputerUse: boolean | null, allowPersistentApproval: boolean | null, defaultAppAccess: AllowDenyRequirement | null, macos: ComputerUseMacosRequirements | null, windows: ComputerUseWindowsRequirements | null, }; diff --git a/src/generated/codex/v2/ComputerUseWindowsConfig.ts b/src/generated/codex/v2/ComputerUseWindowsConfig.ts new file mode 100644 index 0000000..9fe64ef --- /dev/null +++ b/src/generated/codex/v2/ComputerUseWindowsConfig.ts @@ -0,0 +1,7 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; +import type { ComputerUseWindowsExeConfig } from "./ComputerUseWindowsExeConfig"; + +export type ComputerUseWindowsConfig = { aumids: { [key in string]?: AllowDenyRequirement } | null, exes: Array | null, }; diff --git a/src/generated/codex/v2/ComputerUseWindowsExeConfig.ts b/src/generated/codex/v2/ComputerUseWindowsExeConfig.ts new file mode 100644 index 0000000..afd4ff2 --- /dev/null +++ b/src/generated/codex/v2/ComputerUseWindowsExeConfig.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; + +export type ComputerUseWindowsExeConfig = { publisher_name: string, product_name: string, binary_name: string | null, access: AllowDenyRequirement, }; diff --git a/src/generated/codex/v2/ComputerUseWindowsExeRequirement.ts b/src/generated/codex/v2/ComputerUseWindowsExeRequirement.ts new file mode 100644 index 0000000..e7fa076 --- /dev/null +++ b/src/generated/codex/v2/ComputerUseWindowsExeRequirement.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; + +export type ComputerUseWindowsExeRequirement = { publisherName: string, productName: string, binaryName: string | null, access: AllowDenyRequirement, }; diff --git a/src/generated/codex/v2/ComputerUseWindowsRequirements.ts b/src/generated/codex/v2/ComputerUseWindowsRequirements.ts new file mode 100644 index 0000000..1f9f42e --- /dev/null +++ b/src/generated/codex/v2/ComputerUseWindowsRequirements.ts @@ -0,0 +1,7 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AllowDenyRequirement } from "./AllowDenyRequirement"; +import type { ComputerUseWindowsExeRequirement } from "./ComputerUseWindowsExeRequirement"; + +export type ComputerUseWindowsRequirements = { aumids: { [key in string]?: AllowDenyRequirement } | null, exes: Array | null, }; diff --git a/src/generated/codex/v2/Config.ts b/src/generated/codex/v2/Config.ts index cc15fb4..4d0c409 100644 --- a/src/generated/codex/v2/Config.ts +++ b/src/generated/codex/v2/Config.ts @@ -11,6 +11,8 @@ import type { JsonValue } from "../serde_json/JsonValue"; import type { AnalyticsConfig } from "./AnalyticsConfig"; import type { ApprovalsReviewer } from "./ApprovalsReviewer"; import type { AskForApproval } from "./AskForApproval"; +import type { BrowserUseConfig } from "./BrowserUseConfig"; +import type { ComputerUseConfig } from "./ComputerUseConfig"; import type { ForcedChatgptWorkspaceIds } from "./ForcedChatgptWorkspaceIds"; import type { SandboxMode } from "./SandboxMode"; import type { SandboxWorkspaceWrite } from "./SandboxWorkspaceWrite"; @@ -20,4 +22,4 @@ export type Config = {model: string | null, review_model: string | null, model_c * [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: ForcedChatgptWorkspaceIds | null, forced_login_method: ForcedLoginMethod | null, web_search: WebSearchMode | null, tools: ToolsV2 | null, 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: string | null, analytics: AnalyticsConfig | null, desktop: { [key in string]?: JsonValue } | null} & ({ [key in string]?: number | string | boolean | Array | { [key in string]?: JsonValue } | null }); +approvals_reviewer: ApprovalsReviewer | null, sandbox_mode: SandboxMode | null, sandbox_workspace_write: SandboxWorkspaceWrite | null, forced_chatgpt_workspace_id: ForcedChatgptWorkspaceIds | null, forced_login_method: ForcedLoginMethod | null, web_search: WebSearchMode | null, tools: ToolsV2 | null, 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: string | null, analytics: AnalyticsConfig | null, browser_use: BrowserUseConfig | null, computer_use: ComputerUseConfig | null, desktop: { [key in string]?: JsonValue } | null} & ({ [key in string]?: number | string | boolean | Array | { [key in string]?: JsonValue } | null }); diff --git a/src/generated/codex/v2/ConfigBatchWriteParams.ts b/src/generated/codex/v2/ConfigBatchWriteParams.ts index 352eac2..fe82988 100644 --- a/src/generated/codex/v2/ConfigBatchWriteParams.ts +++ b/src/generated/codex/v2/ConfigBatchWriteParams.ts @@ -9,6 +9,8 @@ export type ConfigBatchWriteParams = { edits: Array, */ filePath?: string | null, expectedVersion?: string | null, /** - * When true, hot-reload the updated user config into all loaded threads after writing. + * When true, hot-reload updated runtime settings into loaded threads after writing. + * Session-static model, reasoning-effort, Plan-mode reasoning-effort, service-tier, and + * personality defaults are not reloaded. */ reloadUserConfig?: boolean, }; diff --git a/src/generated/codex/v2/ConfigLayerSource.ts b/src/generated/codex/v2/ConfigLayerSource.ts index 963c331..431d9dc 100644 --- a/src/generated/codex/v2/ConfigLayerSource.ts +++ b/src/generated/codex/v2/ConfigLayerSource.ts @@ -3,7 +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"; -export type ConfigLayerSource = { "type": "mdm", domain: string, key: string, } | { "type": "system", +export type ConfigLayerSource = { "type": "packagedDefaults", +/** + * Path to the packaged default configuration file. + */ +file: AbsolutePathBuf, } | { "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. diff --git a/src/generated/codex/v2/ConfigRequirements.ts b/src/generated/codex/v2/ConfigRequirements.ts index e2fd573..12be715 100644 --- a/src/generated/codex/v2/ConfigRequirements.ts +++ b/src/generated/codex/v2/ConfigRequirements.ts @@ -1,12 +1,18 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { PathUri } from "../PathUri"; import type { WebSearchMode } from "../WebSearchMode"; import type { AskForApproval } from "./AskForApproval"; +import type { AutoReviewRequirements } from "./AutoReviewRequirements"; +import type { BrowserUseRequirements } from "./BrowserUseRequirements"; +import type { CliAuthCredentialsStoreMode } from "./CliAuthCredentialsStoreMode"; import type { ComputerUseRequirements } from "./ComputerUseRequirements"; +import type { FeedbackRequirements } from "./FeedbackRequirements"; +import type { InAppBrowserRequirements } from "./InAppBrowserRequirements"; import type { ModelsRequirements } from "./ModelsRequirements"; import type { ResidencyRequirement } from "./ResidencyRequirement"; import type { SandboxMode } from "./SandboxMode"; import type { WindowsSandboxSetupMode } from "./WindowsSandboxSetupMode"; -export type ConfigRequirements = {allowedApprovalPolicies: Array | null, allowedSandboxModes: Array | null, allowedWindowsSandboxImplementations: Array | null, allowedPermissionProfiles: { [key in string]?: boolean } | null, defaultPermissions: string | null, allowedWebSearchModes: Array | null, allowManagedHooksOnly: boolean | null, allowAppshots: boolean | null, allowRemoteControl: boolean | null, computerUse: ComputerUseRequirements | null, featureRequirements: { [key in string]?: boolean } | null, enforceResidency: ResidencyRequirement | null, models: ModelsRequirements | null}; +export type ConfigRequirements = {cliAuthCredentialsStore: CliAuthCredentialsStoreMode | null, chatgptBaseUrl: string | null, additionalDeveloperInstructions: string | null, allowedApprovalPolicies: Array | null, allowedSandboxModes: Array | null, allowedWindowsSandboxImplementations: Array | null, allowedPermissionProfiles: { [key in string]?: boolean } | null, defaultPermissions: string | null, allowedWebSearchModes: Array | null, allowManagedHooksOnly: boolean | null, allowBrowserAndComputerUse: boolean | null, allowAppshots: boolean | null, allowRemoteControl: boolean | null, computerUse: ComputerUseRequirements | null, browserUse: BrowserUseRequirements | null, inAppBrowser: InAppBrowserRequirements | null, featureRequirements: { [key in string]?: boolean } | null, enforceResidency: ResidencyRequirement | null, autoReview: AutoReviewRequirements | null, models: ModelsRequirements | null, sqliteHome: PathUri | null, logDir: PathUri | null, modelCatalogJson: PathUri | null, checkForUpdateOnStartup: boolean | null, allowLoginShell: boolean | null, feedback: FeedbackRequirements | null, windowsSandboxPrivateDesktop: boolean | null}; diff --git a/src/generated/codex/v2/ConfiguredHookHandler.ts b/src/generated/codex/v2/ConfiguredHookHandler.ts index 38adeb2..6ee1b16 100644 --- a/src/generated/codex/v2/ConfiguredHookHandler.ts +++ b/src/generated/codex/v2/ConfiguredHookHandler.ts @@ -1,6 +1,7 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // 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"; export type ConfiguredHookHandler = { "type": "command", command: string, commandWindows: string | null, timeoutSec: bigint | null, async: boolean, statusMessage: string | null, /** @@ -9,4 +10,4 @@ export type ConfiguredHookHandler = { "type": "command", command: string, comman * evaluated against the original context; a spilled preview also includes recovery * metadata. */ -additionalContextLimit: number | null, } | { "type": "prompt", } | { "type": "agent", }; +additionalContextLimit: number | null, } | { "type": "mcp_tool", server: string, tool: string, input: { [key in string]?: JsonValue }, timeoutSec: bigint | null, statusMessage: string | null, } | { "type": "prompt", } | { "type": "agent", }; diff --git a/src/generated/codex/v2/CyberAccessProgram.ts b/src/generated/codex/v2/CyberAccessProgram.ts new file mode 100644 index 0000000..ccd4118 --- /dev/null +++ b/src/generated/codex/v2/CyberAccessProgram.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Requested cyber treatment for a ChatGPT-authenticated Codex turn. + * Authorization and model-tier restrictions remain server-owned. + */ +export type CyberAccessProgram = "standard" | "daybreakBlue" | "daybreakRed"; diff --git a/src/generated/codex/v2/DesktopOnboardingEntrypoint.ts b/src/generated/codex/v2/DesktopOnboardingEntrypoint.ts new file mode 100644 index 0000000..75a7321 --- /dev/null +++ b/src/generated/codex/v2/DesktopOnboardingEntrypoint.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type DesktopOnboardingEntrypoint = "life_sciences"; diff --git a/src/generated/codex/v2/ExternalAgentConfigDetectParams.ts b/src/generated/codex/v2/ExternalAgentConfigDetectParams.ts index 5d43fb4..b6abb7e 100644 --- a/src/generated/codex/v2/ExternalAgentConfigDetectParams.ts +++ b/src/generated/codex/v2/ExternalAgentConfigDetectParams.ts @@ -11,6 +11,14 @@ includeHome?: boolean, * Zero or more working directories to include for repo-scoped detection. */ cwds?: Array | null, +/** + * Maximum age in days for detected sessions. Missing values use the default limit. + */ +maxSessionAgeDays?: number | null, +/** + * Maximum number of sessions to detect. Missing values use the default limit. + */ +maxSessions?: number | null, /** * Deprecated field retained for compatibility. This field is ignored; use `migrationSource` * to select the migration source. diff --git a/src/generated/codex/v2/ExternalAgentConfigDetectResponse.ts b/src/generated/codex/v2/ExternalAgentConfigDetectResponse.ts index f220e3b..5df7e69 100644 --- a/src/generated/codex/v2/ExternalAgentConfigDetectResponse.ts +++ b/src/generated/codex/v2/ExternalAgentConfigDetectResponse.ts @@ -2,5 +2,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"; +import type { ExternalAgentDetectedConnectorCandidate } from "./ExternalAgentDetectedConnectorCandidate"; -export type ExternalAgentConfigDetectResponse = { items: Array, }; +export type ExternalAgentConfigDetectResponse = { items: Array, connectors: Array, }; diff --git a/src/generated/codex/v2/ExternalAgentConfigImportHistory.ts b/src/generated/codex/v2/ExternalAgentConfigImportHistory.ts index 37273fc..0531aa6 100644 --- a/src/generated/codex/v2/ExternalAgentConfigImportHistory.ts +++ b/src/generated/codex/v2/ExternalAgentConfigImportHistory.ts @@ -4,4 +4,4 @@ import type { ExternalAgentConfigImportItemTypeFailure } from "./ExternalAgentConfigImportItemTypeFailure"; import type { ExternalAgentConfigImportItemTypeSuccess } from "./ExternalAgentConfigImportItemTypeSuccess"; -export type ExternalAgentConfigImportHistory = { importId: string, completedAtMs: bigint, successes: Array, failures: Array, }; +export type ExternalAgentConfigImportHistory = { importId: string, providerId: string | null, completedAtMs: bigint, successes: Array, failures: Array, }; diff --git a/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordParams.ts b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordParams.ts new file mode 100644 index 0000000..379c1e1 --- /dev/null +++ b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordParams.ts @@ -0,0 +1,14 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ExternalAgentConfigImportHistoryRecordTypeResultParams } from "./ExternalAgentConfigImportHistoryRecordTypeResultParams"; + +export type ExternalAgentConfigImportHistoryRecordParams = { +/** + * Opaque provider identifier for the externally completed import. + */ +providerId: string, +/** + * Completed results grouped by imported item type. + */ +itemTypeResults: Array, }; diff --git a/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordResponse.ts b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordResponse.ts new file mode 100644 index 0000000..dbb14d6 --- /dev/null +++ b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordResponse.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ExternalAgentConfigImportHistoryRecordResponse = { importId: string, }; diff --git a/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.ts b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.ts new file mode 100644 index 0000000..a2f475d --- /dev/null +++ b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.ts @@ -0,0 +1,10 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; + +export type ExternalAgentConfigImportHistoryRecordSuccessParams = { itemType: ExternalAgentConfigMigrationItemType, cwd: string | null, source: string | null, target: string | null, +/** + * Original title for an imported session, when available. + */ +title?: string | null, }; diff --git a/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.ts b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.ts new file mode 100644 index 0000000..6a5d053 --- /dev/null +++ b/src/generated/codex/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ExternalAgentConfigImportHistoryRecordSuccessParams } from "./ExternalAgentConfigImportHistoryRecordSuccessParams"; +import type { ExternalAgentConfigImportItemTypeFailure } from "./ExternalAgentConfigImportItemTypeFailure"; +import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; + +export type ExternalAgentConfigImportHistoryRecordTypeResultParams = { itemType: ExternalAgentConfigMigrationItemType, successes: Array, failures: Array, }; diff --git a/src/generated/codex/v2/ExternalAgentConfigImportItemTypeSuccess.ts b/src/generated/codex/v2/ExternalAgentConfigImportItemTypeSuccess.ts index d94ad4a..5142313 100644 --- a/src/generated/codex/v2/ExternalAgentConfigImportItemTypeSuccess.ts +++ b/src/generated/codex/v2/ExternalAgentConfigImportItemTypeSuccess.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 { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; -export type ExternalAgentConfigImportItemTypeSuccess = { itemType: ExternalAgentConfigMigrationItemType, cwd: string | null, source: string | null, target: string | null, }; +export type ExternalAgentConfigImportItemTypeSuccess = { itemType: ExternalAgentConfigMigrationItemType, cwd: string | null, source: string | null, target: string | null, +/** + * Original title for an imported session; null for other item types. + */ +title: string | null, }; diff --git a/src/generated/codex/v2/ExternalAgentConfigImportParams.ts b/src/generated/codex/v2/ExternalAgentConfigImportParams.ts index 8c28680..ebe23a7 100644 --- a/src/generated/codex/v2/ExternalAgentConfigImportParams.ts +++ b/src/generated/codex/v2/ExternalAgentConfigImportParams.ts @@ -8,6 +8,11 @@ export type ExternalAgentConfigImportParams = { migrationItems: Array | null, }; +export type GetAccountTokenUsageResponse = { summary: AccountTokenUsageSummary, dailyUsageBuckets: Array | null, +/** + * Estimated usage when a thread was requested and its billing route is available. + */ +threadUsage?: ThreadUsage | null, }; diff --git a/src/generated/codex/v2/GuardianApprovalReviewAction.ts b/src/generated/codex/v2/GuardianApprovalReviewAction.ts index 4f00e37..8c21a9e 100644 --- a/src/generated/codex/v2/GuardianApprovalReviewAction.ts +++ b/src/generated/codex/v2/GuardianApprovalReviewAction.ts @@ -2,8 +2,9 @@ // 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"; +import type { LegacyAppPathString } from "../LegacyAppPathString"; import type { GuardianCommandSource } from "./GuardianCommandSource"; import type { NetworkApprovalProtocol } from "./NetworkApprovalProtocol"; import type { RequestPermissionProfile } from "./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, }; +export type GuardianApprovalReviewAction = { "type": "command", source: GuardianCommandSource, command: string, cwd: AbsolutePathBuf, } | { "type": "execve", source: GuardianCommandSource, program: string, argv: Array, cwd: AbsolutePathBuf, } | { "type": "writeStdin", approvalId: string, processId: string, stdin: string, cwd: LegacyAppPathString, } | { "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/src/generated/codex/v2/HookEventName.ts b/src/generated/codex/v2/HookEventName.ts index ae8a7f3..5425272 100644 --- a/src/generated/codex/v2/HookEventName.ts +++ b/src/generated/codex/v2/HookEventName.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 HookEventName = "preToolUse" | "permissionRequest" | "postToolUse" | "preCompact" | "postCompact" | "sessionStart" | "sessionEnd" | "userPromptSubmit" | "subagentStart" | "subagentStop" | "stop"; +export type HookEventName = "preToolUse" | "permissionRequest" | "postToolUse" | "preCompact" | "postCompact" | "sessionStart" | "sessionEnd" | "userPromptSubmit" | "subagentStart" | "subagentStop" | "stop" | "interrupt"; diff --git a/src/generated/codex/v2/HookHandlerType.ts b/src/generated/codex/v2/HookHandlerType.ts index dc3f087..7dd671e 100644 --- a/src/generated/codex/v2/HookHandlerType.ts +++ b/src/generated/codex/v2/HookHandlerType.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 HookHandlerType = "command" | "prompt" | "agent"; +export type HookHandlerType = "command" | "mcpTool" | "prompt" | "agent"; diff --git a/src/generated/codex/v2/HookMetadata.ts b/src/generated/codex/v2/HookMetadata.ts index 82244f0..04358a9 100644 --- a/src/generated/codex/v2/HookMetadata.ts +++ b/src/generated/codex/v2/HookMetadata.ts @@ -3,13 +3,12 @@ // 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"; import type { HookEventName } from "./HookEventName"; -import type { HookHandlerType } from "./HookHandlerType"; import type { HookSource } from "./HookSource"; import type { HookTrustStatus } from "./HookTrustStatus"; -export type HookMetadata = { key: string, eventName: HookEventName, handlerType: HookHandlerType, matcher: string | null, command: string | null, timeoutSec: bigint, statusMessage: string | null, +export type HookMetadata = { key: string, eventName: HookEventName, matcher: string | null, timeoutSec: bigint, statusMessage: string | null, /** * Configured `additionalContext` spill threshold. * `null` uses 2,500 tokens; `0` disables spilling. */ -additionalContextLimit: number | null, sourcePath: AbsolutePathBuf, source: HookSource, pluginId: string | null, displayOrder: bigint, enabled: boolean, isManaged: boolean, currentHash: string, trustStatus: HookTrustStatus, }; +additionalContextLimit: number | null, sourcePath: AbsolutePathBuf, source: HookSource, pluginId: string | null, displayOrder: bigint, enabled: boolean, isManaged: boolean, currentHash: string, trustStatus: HookTrustStatus, } & ({ "handlerType": "command", command: string, async: boolean, } | { "handlerType": "mcpTool", server: string, tool: string, } | { "handlerType": "prompt", } | { "handlerType": "agent", }); diff --git a/src/generated/codex/v2/InAppBrowserRequirements.ts b/src/generated/codex/v2/InAppBrowserRequirements.ts new file mode 100644 index 0000000..5bafbf0 --- /dev/null +++ b/src/generated/codex/v2/InAppBrowserRequirements.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type InAppBrowserRequirements = { allowExternalBrowserSettingsImport: boolean | null, }; diff --git a/src/generated/codex/v2/ItemGuardianApprovalReviewCompletedNotification.ts b/src/generated/codex/v2/ItemGuardianApprovalReviewCompletedNotification.ts index 32d12be..d28059d 100644 --- a/src/generated/codex/v2/ItemGuardianApprovalReviewCompletedNotification.ts +++ b/src/generated/codex/v2/ItemGuardianApprovalReviewCompletedNotification.ts @@ -28,6 +28,8 @@ reviewId: string, * 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) + * - stdin reviews, which refer to the existing parent command item and + * have a separate approval ID in the action payload * - network policy reviews, where there is no target item * * A network call is triggered by a CommandExecution item, so having a diff --git a/src/generated/codex/v2/ItemGuardianApprovalReviewStartedNotification.ts b/src/generated/codex/v2/ItemGuardianApprovalReviewStartedNotification.ts index 92d34fd..79b548d 100644 --- a/src/generated/codex/v2/ItemGuardianApprovalReviewStartedNotification.ts +++ b/src/generated/codex/v2/ItemGuardianApprovalReviewStartedNotification.ts @@ -23,6 +23,8 @@ reviewId: string, * 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) + * - stdin reviews, which refer to the existing parent command item and + * have a separate approval ID in the action payload * - network policy reviews, where there is no target item * * A network call is triggered by a CommandExecution item, so having a diff --git a/src/generated/codex/v2/LoginAccountParams.ts b/src/generated/codex/v2/LoginAccountParams.ts index 41d6075..c316cac 100644 --- a/src/generated/codex/v2/LoginAccountParams.ts +++ b/src/generated/codex/v2/LoginAccountParams.ts @@ -19,4 +19,4 @@ chatgptAccountId: string, * When `null`, Codex attempts to derive the plan type from access-token * claims. If unavailable, the plan defaults to `unknown`. */ -chatgptPlanType?: string | null, } | { "type": "amazonBedrock", apiKey: string, region: string, }; +chatgptPlanType?: string | null, } | { "type": "amazonBedrock", apiKey: string, region: string, } | { "type": "amazonBedrockAccessKeys", accessKeyId: string, secretAccessKey: string, sessionToken?: string | null, region: string, }; diff --git a/src/generated/codex/v2/ManagedHooksRequirements.ts b/src/generated/codex/v2/ManagedHooksRequirements.ts index 6d49d5f..777a531 100644 --- a/src/generated/codex/v2/ManagedHooksRequirements.ts +++ b/src/generated/codex/v2/ManagedHooksRequirements.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 { ConfiguredHookMatcherGroup } from "./ConfiguredHookMatcherGroup"; -export type ManagedHooksRequirements = { managedDir: string | null, windowsManagedDir: string | null, PreToolUse: Array, PermissionRequest: Array, PostToolUse: Array, PreCompact: Array, PostCompact: Array, SessionStart: Array, SessionEnd: Array, UserPromptSubmit: Array, SubagentStart: Array, SubagentStop: Array, Stop: Array, }; +export type ManagedHooksRequirements = { managedDir: string | null, windowsManagedDir: string | null, PreToolUse: Array, PermissionRequest: Array, PostToolUse: Array, PreCompact: Array, PostCompact: Array, SessionStart: Array, SessionEnd: Array, UserPromptSubmit: Array, SubagentStart: Array, SubagentStop: Array, Stop: Array, Interrupt: Array, }; diff --git a/src/generated/codex/v2/McpAuthStatus.ts b/src/generated/codex/v2/McpAuthStatus.ts index 6903a12..67d1233 100644 --- a/src/generated/codex/v2/McpAuthStatus.ts +++ b/src/generated/codex/v2/McpAuthStatus.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 McpAuthStatus = "unsupported" | "notLoggedIn" | "bearerToken" | "oAuth"; +export type McpAuthStatus = "unknown" | "unsupported" | "notLoggedIn" | "bearerToken" | "oAuth"; diff --git a/src/generated/codex/v2/McpResourceReadParams.ts b/src/generated/codex/v2/McpResourceReadParams.ts index c48795f..7e15066 100644 --- a/src/generated/codex/v2/McpResourceReadParams.ts +++ b/src/generated/codex/v2/McpResourceReadParams.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 McpResourceReadParams = { threadId?: string | null, server: string, uri: string, }; +export type McpResourceReadParams = { threadId?: string | null, +/** + * Originating MCP tool call used to select the resource's app. + */ +originCallId?: string | null, server: string, uri: string, connectorId?: string | null, }; diff --git a/src/generated/codex/v2/McpResourceReadResponse.ts b/src/generated/codex/v2/McpResourceReadResponse.ts index 2af1dbc..2b1194d 100644 --- a/src/generated/codex/v2/McpResourceReadResponse.ts +++ b/src/generated/codex/v2/McpResourceReadResponse.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 { ResourceContent } from "../ResourceContent"; -export type McpResourceReadResponse = { contents: Array, }; +export type McpResourceReadResponse = { contents: Array, +/** + * Originating call when the server applied app-specific resource scoping. + */ +originCallId: string | null, }; diff --git a/src/generated/codex/v2/McpServerConnectionStatus.ts b/src/generated/codex/v2/McpServerConnectionStatus.ts new file mode 100644 index 0000000..42645ec --- /dev/null +++ b/src/generated/codex/v2/McpServerConnectionStatus.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type McpServerConnectionStatus = "notStarted" | "starting" | "connected" | "authenticationRequired" | "failed" | "cancelled" | "disabled"; diff --git a/src/generated/codex/v2/McpServerElicitationRequestParams.ts b/src/generated/codex/v2/McpServerElicitationRequestParams.ts index a4f1e73..3c86739 100644 --- a/src/generated/codex/v2/McpServerElicitationRequestParams.ts +++ b/src/generated/codex/v2/McpServerElicitationRequestParams.ts @@ -13,4 +13,4 @@ export type McpServerElicitationRequestParams = { threadId: string, * 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": "openai/form", _meta: JsonValue | null, message: string, requestedSchema: JsonValue, } | { "mode": "url", _meta: JsonValue | null, message: string, url: string, elicitationId: string, }); +turnId: string | null, serverName: string, } & ({ "mode": "form", _meta: JsonValue | null, message: string, requestedSchema: McpElicitationSchema, } | { "mode": "openai/form", _meta: JsonValue | null, message: string, requestedSchema: JsonValue, } | { "mode": "openaiForm", _meta: JsonValue | null, message: string, requestedSchema: JsonValue, } | { "mode": "url", _meta: JsonValue | null, message: string, url: string, elicitationId: string, }); diff --git a/src/generated/codex/v2/McpServerEventNotification.ts b/src/generated/codex/v2/McpServerEventNotification.ts new file mode 100644 index 0000000..fd01cbe --- /dev/null +++ b/src/generated/codex/v2/McpServerEventNotification.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; + +export type McpServerEventNotification = { method: string, params: JsonValue, }; diff --git a/src/generated/codex/v2/McpServerEventStreamNotification.ts b/src/generated/codex/v2/McpServerEventStreamNotification.ts new file mode 100644 index 0000000..81f1234 --- /dev/null +++ b/src/generated/codex/v2/McpServerEventStreamNotification.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { McpServerEventNotification } from "./McpServerEventNotification"; + +export type McpServerEventStreamNotification = { subscriptionId: string, notification: McpServerEventNotification, }; diff --git a/src/generated/codex/v2/McpServerOauthClientRegistration.ts b/src/generated/codex/v2/McpServerOauthClientRegistration.ts new file mode 100644 index 0000000..052150b --- /dev/null +++ b/src/generated/codex/v2/McpServerOauthClientRegistration.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type McpServerOauthClientRegistration = "auto" | "cimd" | "dcr"; diff --git a/src/generated/codex/v2/McpServerOauthLoginParams.ts b/src/generated/codex/v2/McpServerOauthLoginParams.ts index ff088b8..3d3aebd 100644 --- a/src/generated/codex/v2/McpServerOauthLoginParams.ts +++ b/src/generated/codex/v2/McpServerOauthLoginParams.ts @@ -1,5 +1,10 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { McpServerOauthClientRegistration } from "./McpServerOauthClientRegistration"; -export type McpServerOauthLoginParams = { name: string, threadId?: string | null, scopes?: Array | null, timeoutSecs?: bigint | null, }; +export type McpServerOauthLoginParams = { name: string, threadId?: string | null, +/** + * Registration strategy for this login only; omission selects automatic discovery. + */ +clientRegistration?: McpServerOauthClientRegistration | null, scopes?: Array | null, timeoutSecs?: bigint | null, }; diff --git a/src/generated/codex/v2/McpServerStatus.ts b/src/generated/codex/v2/McpServerStatus.ts index d2e99ce..9a95414 100644 --- a/src/generated/codex/v2/McpServerStatus.ts +++ b/src/generated/codex/v2/McpServerStatus.ts @@ -6,5 +6,10 @@ import type { Resource } from "../Resource"; import type { ResourceTemplate } from "../ResourceTemplate"; import type { Tool } from "../Tool"; import type { McpAuthStatus } from "./McpAuthStatus"; +import type { McpServerConnectionStatus } from "./McpServerConnectionStatus"; -export type McpServerStatus = { name: string, serverInfo: McpServerInfo | null, tools: { [key in string]?: Tool }, resources: Array, resourceTemplates: Array, authStatus: McpAuthStatus, }; +export type McpServerStatus = { name: string, +/** + * Current thread-runtime connection state; null when unavailable or the configuration changed. + */ +runtimeStatus: McpServerConnectionStatus | null, pluginId: string | null, serverInfo: McpServerInfo | null, tools: { [key in string]?: Tool }, resources: Array, resourceTemplates: Array, authStatus: McpAuthStatus, }; diff --git a/src/generated/codex/v2/MisalignmentErrorDetails.ts b/src/generated/codex/v2/MisalignmentErrorDetails.ts new file mode 100644 index 0000000..3f6e449 --- /dev/null +++ b/src/generated/codex/v2/MisalignmentErrorDetails.ts @@ -0,0 +1,18 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { MisalignmentSteer } from "./MisalignmentSteer"; + +export type MisalignmentErrorDetails = { +/** + * Open-ended classification; clients must accept categories added by Responses. + */ +errorType: string | null, +/** + * A substantive localized explanation is required before offering continuation. + */ +detailedExplanation: string | null, +/** + * Instruction to submit as the next turn's user input if continuation is confirmed. + */ +steer: MisalignmentSteer | null, }; diff --git a/src/generated/codex/v2/MisalignmentSteer.ts b/src/generated/codex/v2/MisalignmentSteer.ts new file mode 100644 index 0000000..f0c4304 --- /dev/null +++ b/src/generated/codex/v2/MisalignmentSteer.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type MisalignmentSteer = { message: string, }; diff --git a/src/generated/codex/v2/Model.ts b/src/generated/codex/v2/Model.ts index e9dbf15..29defcd 100644 --- a/src/generated/codex/v2/Model.ts +++ b/src/generated/codex/v2/Model.ts @@ -6,9 +6,14 @@ import type { ReasoningEffort } from "../ReasoningEffort"; import type { ModelAvailabilityNux } from "./ModelAvailabilityNux"; import type { ModelServiceTier } from "./ModelServiceTier"; import type { ModelUpgradeInfo } from "./ModelUpgradeInfo"; +import type { MultiAgentVersion } from "./MultiAgentVersion"; import type { ReasoningEffortOption } from "./ReasoningEffortOption"; -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, +export type Model = { id: string, model: string, upgrade: string | null, upgradeInfo: ModelUpgradeInfo | null, availabilityNux: ModelAvailabilityNux | null, displayName: string, description: string, modelSpecialty: string | null, hidden: boolean, supportedReasoningEfforts: Array, defaultReasoningEffort: ReasoningEffort, inputModalities: Array, supportsPersonality: boolean, +/** + * Multi-agent runtime declared by this model, when available. + */ +multiAgentVersion: MultiAgentVersion | null, /** * Deprecated: use `serviceTiers` instead. */ diff --git a/src/generated/codex/v2/ModelUpgradeInfo.ts b/src/generated/codex/v2/ModelUpgradeInfo.ts index 82d73e9..8374735 100644 --- a/src/generated/codex/v2/ModelUpgradeInfo.ts +++ b/src/generated/codex/v2/ModelUpgradeInfo.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 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, +/** + * Informational Unix timestamp for this upgrade's scheduled retirement, if known. + */ +retirementAt: number | null, }; diff --git a/src/generated/codex/v2/MultiAgentVersion.ts b/src/generated/codex/v2/MultiAgentVersion.ts new file mode 100644 index 0000000..b71323e --- /dev/null +++ b/src/generated/codex/v2/MultiAgentVersion.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Multi-agent runtime supported by a model. + */ +export type MultiAgentVersion = "disabled" | "v1" | "v2"; diff --git a/src/generated/codex/v2/PluginDisabledReason.ts b/src/generated/codex/v2/PluginDisabledReason.ts new file mode 100644 index 0000000..01799dd --- /dev/null +++ b/src/generated/codex/v2/PluginDisabledReason.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type PluginDisabledReason = "disabled_by_admin" | "plan_not_eligible" | "required_app_unavailable" | "unknown"; diff --git a/src/generated/codex/v2/PluginInstallParams.ts b/src/generated/codex/v2/PluginInstallParams.ts index 257dc47..fae3fbd 100644 --- a/src/generated/codex/v2/PluginInstallParams.ts +++ b/src/generated/codex/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"; -export type PluginInstallParams = { marketplacePath?: AbsolutePathBuf | null, remoteMarketplaceName?: string | null, pluginName: string, }; +export type PluginInstallParams = { marketplacePath?: AbsolutePathBuf | null, remoteMarketplaceName?: string | null, +/** + * Client-generated identifier used to correlate one installation attempt. + */ +installAttemptId?: string | null, pluginName: string, }; diff --git a/src/generated/codex/v2/PluginListParams.ts b/src/generated/codex/v2/PluginListParams.ts index 6dd86b8..ecd1225 100644 --- a/src/generated/codex/v2/PluginListParams.ts +++ b/src/generated/codex/v2/PluginListParams.ts @@ -14,4 +14,8 @@ cwds?: Array | null, * Optional marketplace kind filter. When omitted, only local marketplaces are queried, plus * the default remote catalog when enabled by feature flag. */ -marketplaceKinds?: Array | null, }; +marketplaceKinds?: Array | null, +/** + * Whether the client requests a fresh remote plugin catalog fetch. + */ +forceRefetch?: boolean, }; diff --git a/src/generated/codex/v2/PluginReconcileChangedPlugin.ts b/src/generated/codex/v2/PluginReconcileChangedPlugin.ts new file mode 100644 index 0000000..1e36b01 --- /dev/null +++ b/src/generated/codex/v2/PluginReconcileChangedPlugin.ts @@ -0,0 +1,19 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Runtime categories affected by this change, not just capabilities currently present. + * Flags describe declarations before runtime policy filtering. Updates OR the old and new + * bundle flags; enablement changes and cached reinstalls use the cached bundle; removals retain + * the old bundle's flags. + */ +export type PluginReconcileChangedPlugin = { +/** + * Local plugin ID (`name@marketplace`), matching `PluginSummary.id`. + */ +id: string, hasMcps: boolean, hasApps: boolean, hasHooks: boolean, +/** + * Whether either bundle declares skill roots; not a validated inventory of enabled skills. + */ +hasSkills: boolean, }; diff --git a/src/generated/codex/v2/PluginReconcileParams.ts b/src/generated/codex/v2/PluginReconcileParams.ts new file mode 100644 index 0000000..8f647f4 --- /dev/null +++ b/src/generated/codex/v2/PluginReconcileParams.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type PluginReconcileParams = { +/** + * Optional client-provided reason recorded with the reconciliation attempt. + */ +reason?: string | null, }; diff --git a/src/generated/codex/v2/PluginReconcileResponse.ts b/src/generated/codex/v2/PluginReconcileResponse.ts new file mode 100644 index 0000000..f7d2c00 --- /dev/null +++ b/src/generated/codex/v2/PluginReconcileResponse.ts @@ -0,0 +1,26 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { PluginReconcileChangedPlugin } from "./PluginReconcileChangedPlugin"; + +/** + * Bundle and installed-state changes observed by this pass, not a runtime-readiness + * acknowledgement or a cumulative diff since the client's last request. Other metadata-only + * changes are not listed. + */ +export type PluginReconcileResponse = { +/** + * Plugins affected by bundle changes, enablement changes, or removals. + * Installed-state changes compare against the previous cached snapshot, including + * cached reinstalls. Removal hints survive cache cleanup failures; unchanged plugins are omitted. + */ +changedPlugins: Array, +/** + * Backend remote plugin IDs whose bundle or identity update failed. + */ +failedRemotePluginIds: Array, +/** + * Subset of failures for which the requested bundle could not be materialized. + * A previously cached version may still be available. + */ +failedMaterializationRemotePluginIds: Array, }; diff --git a/src/generated/codex/v2/PluginSearchResult.ts b/src/generated/codex/v2/PluginSearchResult.ts new file mode 100644 index 0000000..94a2895 --- /dev/null +++ b/src/generated/codex/v2/PluginSearchResult.ts @@ -0,0 +1,7 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; +import type { PluginSummary } from "./PluginSummary"; + +export type PluginSearchResult = { plugin: PluginSummary, marketplaceName: string, marketplacePath: AbsolutePathBuf | null, }; diff --git a/src/generated/codex/v2/PluginSearchScope.ts b/src/generated/codex/v2/PluginSearchScope.ts new file mode 100644 index 0000000..0def10b --- /dev/null +++ b/src/generated/codex/v2/PluginSearchScope.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type PluginSearchScope = "global" | "workspace" | "personal"; diff --git a/src/generated/codex/v2/PluginShareContext.ts b/src/generated/codex/v2/PluginShareContext.ts index 99b8f46..24445c8 100644 --- a/src/generated/codex/v2/PluginShareContext.ts +++ b/src/generated/codex/v2/PluginShareContext.ts @@ -8,4 +8,4 @@ export type PluginShareContext = { remotePluginId: string, /** * Version of the remote shared plugin release when available. */ -remoteVersion: string | null, discoverability: PluginShareDiscoverability | null, shareUrl: string | null, creatorAccountUserId: string | null, creatorName: string | null, sharePrincipals: Array | null, }; +remoteVersion: string | null, discoverability: PluginShareDiscoverability | null, shareUrl: string | null, creatorAccountUserId: string | null, creatorName: string | null, sharePrincipals: Array | null, canPublishToWorkspace: boolean | null, }; diff --git a/src/generated/codex/v2/PluginShareSaveResponse.ts b/src/generated/codex/v2/PluginShareSaveResponse.ts index b53ace0..fba7630 100644 --- a/src/generated/codex/v2/PluginShareSaveResponse.ts +++ b/src/generated/codex/v2/PluginShareSaveResponse.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 PluginShareSaveResponse = { remotePluginId: string, shareUrl: string, }; +export type PluginShareSaveResponse = { remotePluginId: string, shareUrl: string, canPublishToWorkspace: boolean | null, }; diff --git a/src/generated/codex/v2/PluginSummary.ts b/src/generated/codex/v2/PluginSummary.ts index b02eba1..6dedc1b 100644 --- a/src/generated/codex/v2/PluginSummary.ts +++ b/src/generated/codex/v2/PluginSummary.ts @@ -3,6 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { PluginAuthPolicy } from "./PluginAuthPolicy"; import type { PluginAvailability } from "./PluginAvailability"; +import type { PluginDisabledReason } from "./PluginDisabledReason"; import type { PluginInstallPolicy } from "./PluginInstallPolicy"; import type { PluginInstallPolicySource } from "./PluginInstallPolicySource"; import type { PluginInterface } from "./PluginInterface"; @@ -25,8 +26,20 @@ localVersion: string | null, name: string, /** * Remote sharing context associated with this plugin when available. */ -shareContext: PluginShareContext | null, source: PluginSource, installed: boolean, enabled: boolean, installPolicy: PluginInstallPolicy, installPolicySource: PluginInstallPolicySource | null, mustShowInstallationInterstitial: boolean | null, authPolicy: PluginAuthPolicy, +shareContext: PluginShareContext | null, source: PluginSource, installed: boolean, +/** + * Unix timestamp in seconds when the remote plugin was installed, when available. + */ +installedAt: number | null, enabled: boolean, installPolicy: PluginInstallPolicy, installPolicySource: PluginInstallPolicySource | null, mustShowInstallationInterstitial: boolean | null, authPolicy: PluginAuthPolicy, /** * Availability state for installing and using the plugin. */ -availability: PluginAvailability, interface: PluginInterface | null, keywords: Array, }; +availability: PluginAvailability, +/** + * Why the remote plugin is unavailable, when provided by plugin-service. + */ +disabledReason: PluginDisabledReason | null, +/** + * Raw plugin-service plan identifiers eligible to install the plugin. + */ +eligiblePlanTypes: Array | null, interface: PluginInterface | null, keywords: Array, }; diff --git a/src/generated/codex/v2/Project.ts b/src/generated/codex/v2/Project.ts new file mode 100644 index 0000000..7d40f67 --- /dev/null +++ b/src/generated/codex/v2/Project.ts @@ -0,0 +1,10 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ProjectRoot } from "./ProjectRoot"; + +export type Project = { id: string, name: string, roots: Array, metadata: { [key in string]?: string }, position: number, createdAt: number, updatedAt: number, +/** + * Newest non-archived member thread's recency, in Unix seconds; null when none exist. + */ +recencyAt: number | null, }; diff --git a/src/generated/codex/v2/ProjectChangeType.ts b/src/generated/codex/v2/ProjectChangeType.ts new file mode 100644 index 0000000..7c589c0 --- /dev/null +++ b/src/generated/codex/v2/ProjectChangeType.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ProjectChangeType = "created" | "updated" | "deleted"; diff --git a/src/generated/codex/v2/ProjectChangedNotification.ts b/src/generated/codex/v2/ProjectChangedNotification.ts new file mode 100644 index 0000000..ed61bdb --- /dev/null +++ b/src/generated/codex/v2/ProjectChangedNotification.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ProjectChangeType } from "./ProjectChangeType"; + +export type ProjectChangedNotification = { projectId: string, changeType: ProjectChangeType, }; diff --git a/src/generated/codex/v2/ProjectRoot.ts b/src/generated/codex/v2/ProjectRoot.ts new file mode 100644 index 0000000..3b3718a --- /dev/null +++ b/src/generated/codex/v2/ProjectRoot.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; + +export type ProjectRoot = { path: AbsolutePathBuf, }; diff --git a/src/generated/codex/v2/ProjectSortKey.ts b/src/generated/codex/v2/ProjectSortKey.ts new file mode 100644 index 0000000..de6252a --- /dev/null +++ b/src/generated/codex/v2/ProjectSortKey.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ProjectSortKey = "position" | "recencyAt"; diff --git a/src/generated/codex/v2/QueuedSubmission.ts b/src/generated/codex/v2/QueuedSubmission.ts new file mode 100644 index 0000000..f364b8c --- /dev/null +++ b/src/generated/codex/v2/QueuedSubmission.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; + +export type QueuedSubmission = { id: string, input: Array, clientUserMessageId: string, }; diff --git a/src/generated/codex/v2/RawResponseCompletedNotification.ts b/src/generated/codex/v2/RawResponseCompletedNotification.ts index b06e74b..a442f75 100644 --- a/src/generated/codex/v2/RawResponseCompletedNotification.ts +++ b/src/generated/codex/v2/RawResponseCompletedNotification.ts @@ -1,10 +1,11 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ResponseUsageMetadata } from "./ResponseUsageMetadata"; import type { TokenUsageBreakdown } from "./TokenUsageBreakdown"; /** * Internal-only notification containing the exact usage from one upstream * Responses API completion. */ -export type RawResponseCompletedNotification = { threadId: string, turnId: string, responseId: string, usage: TokenUsageBreakdown | null, }; +export type RawResponseCompletedNotification = { threadId: string, turnId: string, responseId: string, usage: TokenUsageBreakdown | null, usageMetadata: ResponseUsageMetadata | null, }; diff --git a/src/generated/codex/v2/ResponseUsageMetadata.ts b/src/generated/codex/v2/ResponseUsageMetadata.ts new file mode 100644 index 0000000..34b492b --- /dev/null +++ b/src/generated/codex/v2/ResponseUsageMetadata.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; + +/** + * Usage metadata reported for one upstream response. + */ +export type ResponseUsageMetadata = { amount: string | null, metadata: JsonValue | null, }; diff --git a/src/generated/codex/v2/ServerDiagnosticsGauge.ts b/src/generated/codex/v2/ServerDiagnosticsGauge.ts new file mode 100644 index 0000000..df4ab12 --- /dev/null +++ b/src/generated/codex/v2/ServerDiagnosticsGauge.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ServerDiagnosticsGauge = { name: string, value: number, }; diff --git a/src/generated/codex/v2/ServerDiagnosticsProcess.ts b/src/generated/codex/v2/ServerDiagnosticsProcess.ts new file mode 100644 index 0000000..5fc4e79 --- /dev/null +++ b/src/generated/codex/v2/ServerDiagnosticsProcess.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ServerDiagnosticsProcess = { id: number, residentMemoryBytes: number | null, physicalFootprintBytes: number | null, }; diff --git a/src/generated/codex/v2/SkillInterface.ts b/src/generated/codex/v2/SkillInterface.ts index 2361afc..1ac1db8 100644 --- a/src/generated/codex/v2/SkillInterface.ts +++ b/src/generated/codex/v2/SkillInterface.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 { AbsolutePathBuf } from "../AbsolutePathBuf"; -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, +/** + * Remote small icon URL from the plugin catalog. + */ +iconSmallUrl: string | null, +/** + * Remote large icon URL from the plugin catalog. + */ +iconLargeUrl: string | null, brandColor?: string, defaultPrompt?: string, }; diff --git a/src/generated/codex/v2/SkillMetadata.ts b/src/generated/codex/v2/SkillMetadata.ts index e43484d..7428421 100644 --- a/src/generated/codex/v2/SkillMetadata.ts +++ b/src/generated/codex/v2/SkillMetadata.ts @@ -10,4 +10,8 @@ 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, }; +shortDescription?: string, interface?: SkillInterface, dependencies?: SkillDependencies, path: AbsolutePathBuf, scope: SkillScope, enabled: boolean, +/** + * Owning plugin ID, matching `PluginSummary.id`, when known. + */ +pluginId: string | null, }; diff --git a/src/generated/codex/v2/StrictReviewRequiredNotification.ts b/src/generated/codex/v2/StrictReviewRequiredNotification.ts new file mode 100644 index 0000000..cae1a57 --- /dev/null +++ b/src/generated/codex/v2/StrictReviewRequiredNotification.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type StrictReviewRequiredNotification = { threadId: string, turnId: string, +/** + * Unix timestamp (in milliseconds) when this review started. + */ +startedAtMs: number, }; diff --git a/src/generated/codex/v2/SubAgentActivityKind.ts b/src/generated/codex/v2/SubAgentActivityKind.ts index 5e3ce81..8dcacee 100644 --- a/src/generated/codex/v2/SubAgentActivityKind.ts +++ b/src/generated/codex/v2/SubAgentActivityKind.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 SubAgentActivityKind = "started" | "interacted" | "interrupted"; +export type SubAgentActivityKind = "started" | "interacted" | "interrupted" | "completed"; diff --git a/src/generated/codex/v2/Thread.ts b/src/generated/codex/v2/Thread.ts index 49e2411..61e91df 100644 --- a/src/generated/codex/v2/Thread.ts +++ b/src/generated/codex/v2/Thread.ts @@ -2,8 +2,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"; +import type { ReasoningEffort } from "../ReasoningEffort"; import type { GitInfo } from "./GitInfo"; import type { SessionSource } from "./SessionSource"; +import type { ThreadHistoryMode } from "./ThreadHistoryMode"; +import type { ThreadSection } from "./ThreadSection"; import type { ThreadSource } from "./ThreadSource"; import type { ThreadStatus } from "./ThreadStatus"; import type { Turn } from "./Turn"; @@ -27,9 +30,29 @@ preview: string, /** * Whether the thread is ephemeral and should not be materialized on disk. */ ephemeral: boolean, /** + * The independently persisted section selected for this thread, if any. + */ +section: ThreadSection | null, /** + * Unix timestamp in seconds when the thread entered its current section. + */ +sectionEnteredAt: number | null, /** + * Canonical project assignment owned by app-server, if any. + */ +projectId: string | null, /** + * Persisted thread history contract selected when this thread was created. + */ +historyMode: ThreadHistoryMode, /** * Model provider used for this thread (for example, 'openai'). */ modelProvider: string, /** + * Current configured model when loaded, otherwise the latest persisted model. + * Null when unavailable. This is not per-turn execution telemetry. + */ +model: string | null, /** + * Current configured reasoning effort when loaded, otherwise the latest persisted effort. + * Null when unset or unavailable. This is not per-turn execution telemetry. + */ +reasoningEffort: ReasoningEffort | null, /** * Unix timestamp (in seconds) when the thread was created. */ createdAt: number, /** diff --git a/src/generated/codex/v2/ThreadForkParams.ts b/src/generated/codex/v2/ThreadForkParams.ts index 3ace4d4..88ff693 100644 --- a/src/generated/codex/v2/ThreadForkParams.ts +++ b/src/generated/codex/v2/ThreadForkParams.ts @@ -33,4 +33,11 @@ model?: string | null, modelProvider?: string | null, serviceTier?: string | nul approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | null, config?: { [key in string]?: JsonValue } | null, baseInstructions?: string | null, developerInstructions?: string | null, ephemeral?: boolean, /** * Optional client-supplied analytics source classification for this forked thread. */ -threadSource?: ThreadSource | null}; +threadSource?: ThreadSource | null, /** + * 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. Full-history hydration + * is deprecated for paginated threads; use this with `thread/turns/list` + * and `thread/items/list` instead. + */ +excludeTurns?: boolean}; diff --git a/src/generated/codex/v2/ThreadItem.ts b/src/generated/codex/v2/ThreadItem.ts index df1a5db..ae8c00a 100644 --- a/src/generated/codex/v2/ThreadItem.ts +++ b/src/generated/codex/v2/ThreadItem.ts @@ -1,6 +1,7 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { FunctionCallOutputBody } from "../FunctionCallOutputBody"; import type { ImageGenerationItem } from "../ImageGenerationItem"; import type { LegacyAppPathString } from "../LegacyAppPathString"; import type { MessagePhase } from "../MessagePhase"; @@ -8,6 +9,8 @@ import type { ReasoningEffort } from "../ReasoningEffort"; import type { SleepItem } from "../SleepItem"; import type { WebSearchItem } from "../WebSearchItem"; import type { JsonValue } from "../serde_json/JsonValue"; +import type { AgentMessageDelivery } from "./AgentMessageDelivery"; +import type { AsyncUserInputQuestion } from "./AsyncUserInputQuestion"; import type { CollabAgentState } from "./CollabAgentState"; import type { CollabAgentTool } from "./CollabAgentTool"; import type { CollabAgentToolCallStatus } from "./CollabAgentToolCallStatus"; @@ -27,7 +30,15 @@ import type { PatchApplyStatus } from "./PatchApplyStatus"; import type { SubAgentActivityKind } from "./SubAgentActivityKind"; import type { UserInput } from "./UserInput"; -export type ThreadItem = { "type": "userMessage", id: string, clientId: string | null, 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, +export type ThreadItem = { "type": "userMessage", id: string, clientId: string | null, content: Array, } | { "type": "hookPrompt", id: string, fragments: Array, } | { "type": "agentMessage", id: string, text: string, phase: MessagePhase | null, memoryCitation: MemoryCitation | null, delivery: AgentMessageDelivery | null, questions: Array | null, } | { "type": "functionCallOutput", id: string, name: string, namespace: string | null, output: FunctionCallOutputBody, } | { "type": "plan", id: string, text: string, } | { "type": "reasoning", id: string, summary: Array, content: Array, } | { "type": "commandExecution", id: string, +/** + * Trusted first-party plugin id when this command resolves to one plugin script. + */ +pluginId: string | null, +/** + * Safe plugin-relative path when this command resolves to one plugin script. + */ +scriptPath: string | null, /** * The command to be executed. */ @@ -61,7 +72,7 @@ durationMs: number | null, } | { "type": "fileChange", id: string, changes: Arra /** * Deprecated: use `appContext.resourceUri` instead. */ -mcpAppResourceUri?: string, pluginId: string | null, result: McpToolCallResult | null, error: McpToolCallError | null, +mcpAppResourceUri?: string, pluginId: string | null, readOnlyHint: boolean | null, result: McpToolCallResult | null, error: McpToolCallError | null, /** * The duration of the MCP tool call in milliseconds. */ diff --git a/src/generated/codex/v2/ThreadItemsListParams.ts b/src/generated/codex/v2/ThreadItemsListParams.ts new file mode 100644 index 0000000..c41e93f --- /dev/null +++ b/src/generated/codex/v2/ThreadItemsListParams.ts @@ -0,0 +1,22 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; + +export type ThreadItemsListParams = { threadId: string, +/** + * Optional turn id to filter by. When omitted, returns items across the thread. + */ +turnId?: string | null, +/** + * Opaque cursor to pass to the next call to continue after the last item. + */ +cursor?: string | null, +/** + * Optional item page size. + */ +limit?: number | null, +/** + * Optional item pagination direction; defaults to ascending. + */ +sortDirection?: SortDirection | null, }; diff --git a/src/generated/codex/v2/ThreadItemsListResponse.ts b/src/generated/codex/v2/ThreadItemsListResponse.ts new file mode 100644 index 0000000..7b176ff --- /dev/null +++ b/src/generated/codex/v2/ThreadItemsListResponse.ts @@ -0,0 +1,16 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadItemEntry } from "./ThreadItemEntry"; + +export type ThreadItemsListResponse = { 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 item. + */ +backwardsCursor: string | null, }; diff --git a/src/generated/codex/v2/ThreadListParams.ts b/src/generated/codex/v2/ThreadListParams.ts index ce2539a..3bff76e 100644 --- a/src/generated/codex/v2/ThreadListParams.ts +++ b/src/generated/codex/v2/ThreadListParams.ts @@ -30,6 +30,10 @@ sourceKinds?: Array | null, /** * If false or null, only non-archived threads are returned. */ archived?: boolean | null, /** + * Omit to include every section, set to `null` for unsectioned threads, + * or provide a section ID to return only threads in that section. + */ +sectionId?: string | null, /** * Optional cwd filter or filters; when set, only threads whose session cwd * exactly matches one of these paths are returned. */ diff --git a/src/generated/codex/v2/ThreadMetadataUpdateParams.ts b/src/generated/codex/v2/ThreadMetadataUpdateParams.ts index bec4bc1..16511ae 100644 --- a/src/generated/codex/v2/ThreadMetadataUpdateParams.ts +++ b/src/generated/codex/v2/ThreadMetadataUpdateParams.ts @@ -3,10 +3,9 @@ // 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"; -export type ThreadMetadataUpdateParams = { threadId: string, -/** +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, }; +gitInfo?: ThreadMetadataGitInfoUpdateParams | null}; diff --git a/src/generated/codex/v2/ThreadProjectUpdatedNotification.ts b/src/generated/codex/v2/ThreadProjectUpdatedNotification.ts new file mode 100644 index 0000000..ca045f3 --- /dev/null +++ b/src/generated/codex/v2/ThreadProjectUpdatedNotification.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadProjectUpdatedNotification = { threadId: string, projectId: string | null, }; diff --git a/src/generated/codex/v2/ThreadQueueChangedNotification.ts b/src/generated/codex/v2/ThreadQueueChangedNotification.ts new file mode 100644 index 0000000..55fd1b2 --- /dev/null +++ b/src/generated/codex/v2/ThreadQueueChangedNotification.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadQueueChangedNotification = { threadId: string, }; diff --git a/src/generated/codex/v2/ThreadReadParams.ts b/src/generated/codex/v2/ThreadReadParams.ts index c26e896..9a17ee6 100644 --- a/src/generated/codex/v2/ThreadReadParams.ts +++ b/src/generated/codex/v2/ThreadReadParams.ts @@ -5,5 +5,8 @@ export type ThreadReadParams = { threadId: string, /** * When true, include turns and their items from rollout history. + * Full-history hydration is deprecated for paginated threads; prefer a + * metadata-only read and page with `thread/turns/list` and + * `thread/items/list`. */ includeTurns?: boolean, }; diff --git a/src/generated/codex/v2/ThreadRealtimeBemItemPresentation.ts b/src/generated/codex/v2/ThreadRealtimeBemItemPresentation.ts new file mode 100644 index 0000000..61a1193 --- /dev/null +++ b/src/generated/codex/v2/ThreadRealtimeBemItemPresentation.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * EXPERIMENTAL - how an existing agent item appears in a realtime conversation. + */ +export type ThreadRealtimeBemItemPresentation = { "type": "wholeItem" } | { "type": "inlineMarkdown" } | { "type": "inlineVisualization", index: number, }; diff --git a/src/generated/codex/v2/ThreadRealtimeItem.ts b/src/generated/codex/v2/ThreadRealtimeItem.ts new file mode 100644 index 0000000..5ac5de9 --- /dev/null +++ b/src/generated/codex/v2/ThreadRealtimeItem.ts @@ -0,0 +1,11 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadRealtimeBemItemPresentation } from "./ThreadRealtimeBemItemPresentation"; +import type { ThreadRealtimeSessionOutcome } from "./ThreadRealtimeSessionOutcome"; +import type { ThreadRealtimeTranscriptRole } from "./ThreadRealtimeTranscriptRole"; + +/** + * EXPERIMENTAL - a thread-scoped realtime item in the canonical timeline. + */ +export type ThreadRealtimeItem = { id: string, realtimeSessionId: string, } & ({ "type": "realtimeSessionStarted" } | { "type": "transcriptSegment", role: ThreadRealtimeTranscriptRole, text: string, } | { "type": "bemItemPromoted", turnId: string, itemId: string, presentation: ThreadRealtimeBemItemPresentation, } | { "type": "realtimeSessionClosed", outcome: ThreadRealtimeSessionOutcome, }); diff --git a/src/generated/codex/v2/ThreadRealtimeItemCompletedNotification.ts b/src/generated/codex/v2/ThreadRealtimeItemCompletedNotification.ts new file mode 100644 index 0000000..2a77b0c --- /dev/null +++ b/src/generated/codex/v2/ThreadRealtimeItemCompletedNotification.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadRealtimeItem } from "./ThreadRealtimeItem"; + +/** + * EXPERIMENTAL - a realtime timeline item published after canonical commit. + */ +export type ThreadRealtimeItemCompletedNotification = { threadId: string, item: ThreadRealtimeItem, }; diff --git a/src/generated/codex/v2/ThreadRealtimeItemStartedNotification.ts b/src/generated/codex/v2/ThreadRealtimeItemStartedNotification.ts new file mode 100644 index 0000000..cec5b8b --- /dev/null +++ b/src/generated/codex/v2/ThreadRealtimeItemStartedNotification.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadRealtimeItem } from "./ThreadRealtimeItem"; + +/** + * EXPERIMENTAL - a realtime timeline item started before its content streams. + */ +export type ThreadRealtimeItemStartedNotification = { threadId: string, item: ThreadRealtimeItem, }; diff --git a/src/generated/codex/v2/ThreadRealtimeItemTranscriptDeltaNotification.ts b/src/generated/codex/v2/ThreadRealtimeItemTranscriptDeltaNotification.ts new file mode 100644 index 0000000..550b55b --- /dev/null +++ b/src/generated/codex/v2/ThreadRealtimeItemTranscriptDeltaNotification.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * EXPERIMENTAL - text appended to an active realtime transcript item. + */ +export type ThreadRealtimeItemTranscriptDeltaNotification = { threadId: string, itemId: string, delta: string, }; diff --git a/src/generated/codex/v2/ThreadRealtimeSessionOutcome.ts b/src/generated/codex/v2/ThreadRealtimeSessionOutcome.ts new file mode 100644 index 0000000..c3c73df --- /dev/null +++ b/src/generated/codex/v2/ThreadRealtimeSessionOutcome.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadRealtimeSessionOutcome = "ended" | "failed"; diff --git a/src/generated/codex/v2/ThreadRealtimeStartTransport.ts b/src/generated/codex/v2/ThreadRealtimeStartTransport.ts index 339e1b1..eabc5ea 100644 --- a/src/generated/codex/v2/ThreadRealtimeStartTransport.ts +++ b/src/generated/codex/v2/ThreadRealtimeStartTransport.ts @@ -10,4 +10,8 @@ export type ThreadRealtimeStartTransport = { "type": "websocket" } | { "type": " * SDP offer generated by a WebRTC RTCPeerConnection after configuring audio and the * realtime events data channel. */ -sdp: string, }; +sdp: string, } | { "type": "existingCall", +/** + * Identifier of a realtime call already created and negotiated by the client. + */ +callId: string, }; diff --git a/src/generated/codex/v2/ThreadRealtimeTranscriptRole.ts b/src/generated/codex/v2/ThreadRealtimeTranscriptRole.ts new file mode 100644 index 0000000..d957a42 --- /dev/null +++ b/src/generated/codex/v2/ThreadRealtimeTranscriptRole.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadRealtimeTranscriptRole = "user" | "assistant"; diff --git a/src/generated/codex/v2/ThreadResumeParams.ts b/src/generated/codex/v2/ThreadResumeParams.ts index 0ec8953..d9918d9 100644 --- a/src/generated/codex/v2/ThreadResumeParams.ts +++ b/src/generated/codex/v2/ThreadResumeParams.ts @@ -30,4 +30,11 @@ model?: string | null, modelProvider?: string | null, serviceTier?: string | nul * Override where approval requests are routed for review on this thread * and subsequent turns. */ -approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | null, config?: { [key in string]?: JsonValue } | null, baseInstructions?: string | null, developerInstructions?: string | null, personality?: Personality | null}; +approvalsReviewer?: ApprovalsReviewer | null, sandbox?: SandboxMode | 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. Full-history hydration + * is deprecated for paginated threads; use this with `thread/turns/list` + * and `thread/items/list` instead. + */ +excludeTurns?: boolean}; diff --git a/src/generated/codex/v2/ThreadResumeResponse.ts b/src/generated/codex/v2/ThreadResumeResponse.ts index e1f7d64..d1282c7 100644 --- a/src/generated/codex/v2/ThreadResumeResponse.ts +++ b/src/generated/codex/v2/ThreadResumeResponse.ts @@ -19,4 +19,16 @@ approvalsReviewer: ApprovalsReviewer, /** * Legacy sandbox policy retained for compatibility. Experimental clients * should prefer `activePermissionProfile` for profile provenance. */ -sandbox: SandboxPolicy, reasoningEffort: ReasoningEffort | null}; +sandbox: SandboxPolicy, reasoningEffort: ReasoningEffort | null, /** + * Opaque cursor for hydrating paginated turns backwards. + * + * Pass this as `cursor` to `thread/turns/list` with + * `sortDirection: "desc"`. The first page includes the turn identified by the cursor. + */ +turnsBackwardsCursor: string | null, /** + * Opaque cursor for hydrating paginated items backwards. + * + * Pass this as `cursor` to `thread/items/list` with + * `sortDirection: "desc"`. The first page includes the item identified by the cursor. + */ +itemsBackwardsCursor: string | null}; diff --git a/src/generated/codex/v2/ThreadRevertParams.ts b/src/generated/codex/v2/ThreadRevertParams.ts new file mode 100644 index 0000000..1090a5c --- /dev/null +++ b/src/generated/codex/v2/ThreadRevertParams.ts @@ -0,0 +1,14 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Replace a paginated thread's durable history with the prefix before one turn. + * + * This only changes persisted conversation history. It does not revert local file changes. + */ +export type ThreadRevertParams = { threadId: string, +/** + * Turn excluded from the replacement history, together with every later turn. + */ +beforeTurnId: string, }; diff --git a/src/generated/codex/v2/ThreadRevertResponse.ts b/src/generated/codex/v2/ThreadRevertResponse.ts new file mode 100644 index 0000000..afc389a --- /dev/null +++ b/src/generated/codex/v2/ThreadRevertResponse.ts @@ -0,0 +1,25 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; + +export type ThreadRevertResponse = { +/** + * Updated loaded thread metadata. `turns` is always empty; hydrate retained history through + * `thread/turns/list`. + */ +thread: Thread, +/** + * Opaque cursor for hydrating paginated turns backwards. + * + * Pass this as `cursor` to `thread/turns/list` with + * `sortDirection: "desc"`. The first page includes the turn identified by the cursor. + */ +turnsBackwardsCursor: string | null, +/** + * Opaque cursor for hydrating paginated items backwards. + * + * Pass this as `cursor` to `thread/items/list` with + * `sortDirection: "desc"`. The first page includes the item identified by the cursor. + */ +itemsBackwardsCursor: string | null, }; diff --git a/src/generated/codex/v2/ThreadRevertedNotification.ts b/src/generated/codex/v2/ThreadRevertedNotification.ts new file mode 100644 index 0000000..803d1cc --- /dev/null +++ b/src/generated/codex/v2/ThreadRevertedNotification.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadRevertedNotification = { threadId: string, }; diff --git a/src/generated/codex/v2/ThreadSearchSortKey.ts b/src/generated/codex/v2/ThreadSearchSortKey.ts new file mode 100644 index 0000000..4abf271 --- /dev/null +++ b/src/generated/codex/v2/ThreadSearchSortKey.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadSearchSortKey = "created_at" | "updated_at" | "recency_at"; diff --git a/src/generated/codex/v2/ThreadSection.ts b/src/generated/codex/v2/ThreadSection.ts new file mode 100644 index 0000000..17cde81 --- /dev/null +++ b/src/generated/codex/v2/ThreadSection.ts @@ -0,0 +1,21 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSectionAppearance } from "./ThreadSectionAppearance"; + +/** + * An independently persisted, user-visible thread section. + */ +export type ThreadSection = { +/** + * Opaque UUIDv7 identity that remains stable when the section is renamed. + */ +id: string, +/** + * The current user-visible section name. + */ +name: string, +/** + * Optional appearance synchronized across clients. + */ +appearance: ThreadSectionAppearance | null, }; diff --git a/src/generated/codex/v2/ThreadSectionAppearance.ts b/src/generated/codex/v2/ThreadSectionAppearance.ts new file mode 100644 index 0000000..c6eab73 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionAppearance.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Extensible visual presentation for a custom thread section. + */ +export type ThreadSectionAppearance = { icon: string | null, color: string | null, }; diff --git a/src/generated/codex/v2/ThreadSectionCreateParams.ts b/src/generated/codex/v2/ThreadSectionCreateParams.ts new file mode 100644 index 0000000..e6272c3 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionCreateParams.ts @@ -0,0 +1,13 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSectionAppearance } from "./ThreadSectionAppearance"; + +/** + * Parameters for creating an independently persisted thread section. + */ +export type ThreadSectionCreateParams = { +/** + * The user-visible name of the section. + */ +name: string, appearance?: ThreadSectionAppearance | null, }; diff --git a/src/generated/codex/v2/ThreadSectionCreateResponse.ts b/src/generated/codex/v2/ThreadSectionCreateResponse.ts new file mode 100644 index 0000000..ef51ca0 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionCreateResponse.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSection } from "./ThreadSection"; + +/** + * The independently persisted section created by the server. + */ +export type ThreadSectionCreateResponse = { section: ThreadSection, }; diff --git a/src/generated/codex/v2/ThreadSectionDeleteParams.ts b/src/generated/codex/v2/ThreadSectionDeleteParams.ts new file mode 100644 index 0000000..2cb21bc --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionDeleteParams.ts @@ -0,0 +1,12 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for deleting an independently persisted thread section. + */ +export type ThreadSectionDeleteParams = { +/** + * The stable, server-generated identity of the section to delete. + */ +sectionId: string, }; diff --git a/src/generated/codex/v2/ThreadSectionDeleteResponse.ts b/src/generated/codex/v2/ThreadSectionDeleteResponse.ts new file mode 100644 index 0000000..0ad58d0 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionDeleteResponse.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Successful deletion does not return additional section data. + */ +export type ThreadSectionDeleteResponse = Record; diff --git a/src/generated/codex/v2/ThreadSectionListParams.ts b/src/generated/codex/v2/ThreadSectionListParams.ts new file mode 100644 index 0000000..57a28c7 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionListParams.ts @@ -0,0 +1,16 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for listing independently persisted thread sections. + */ +export type ThreadSectionListParams = { +/** + * Opaque pagination cursor returned by a previous call. + */ +cursor?: string | null, +/** + * Maximum number of sections to return. + */ +limit?: number | null, }; diff --git a/src/generated/codex/v2/ThreadSectionListResponse.ts b/src/generated/codex/v2/ThreadSectionListResponse.ts new file mode 100644 index 0000000..08bebab --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionListResponse.ts @@ -0,0 +1,13 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSection } from "./ThreadSection"; + +/** + * One page of independently persisted thread sections. + */ +export type ThreadSectionListResponse = { data: Array, +/** + * Opaque cursor for the next page, or `null` when no sections remain. + */ +nextCursor: string | null, }; diff --git a/src/generated/codex/v2/ThreadSectionMoveParams.ts b/src/generated/codex/v2/ThreadSectionMoveParams.ts new file mode 100644 index 0000000..b3b70cb --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionMoveParams.ts @@ -0,0 +1,20 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for moving a thread within a server-owned section ordering. + */ +export type ThreadSectionMoveParams = { +/** + * Thread to move into, within, or out of a section. + */ +threadId: string, +/** + * Destination section, or `null` to remove the thread from its section. + */ +sectionId: string | null, +/** + * Existing thread to insert before; omission or null appends to the section. + */ +beforeThreadId?: string | null, }; diff --git a/src/generated/codex/v2/ThreadSectionMoveResponse.ts b/src/generated/codex/v2/ThreadSectionMoveResponse.ts new file mode 100644 index 0000000..e9e0f43 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionMoveResponse.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadSectionMoveResponse = Record; diff --git a/src/generated/codex/v2/ThreadSectionUpdateParams.ts b/src/generated/codex/v2/ThreadSectionUpdateParams.ts new file mode 100644 index 0000000..1010200 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionUpdateParams.ts @@ -0,0 +1,21 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSectionAppearance } from "./ThreadSectionAppearance"; + +/** + * Parameters for updating an independently persisted thread section. + */ +export type ThreadSectionUpdateParams = { +/** + * The stable, server-generated identity of the section to update. + */ +sectionId: string, +/** + * The updated user-visible name of the section. + */ +name: string, +/** + * Omit to preserve appearance, use `null` to clear it, or provide a replacement. + */ +appearance?: ThreadSectionAppearance | null, }; diff --git a/src/generated/codex/v2/ThreadSectionUpdateResponse.ts b/src/generated/codex/v2/ThreadSectionUpdateResponse.ts new file mode 100644 index 0000000..54f4c15 --- /dev/null +++ b/src/generated/codex/v2/ThreadSectionUpdateResponse.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSection } from "./ThreadSection"; + +/** + * The independently persisted section after its name is updated. + */ +export type ThreadSectionUpdateResponse = { section: ThreadSection, }; diff --git a/src/generated/codex/v2/ThreadShellCommandParams.ts b/src/generated/codex/v2/ThreadShellCommandParams.ts index 2761dee..e1f87e1 100644 --- a/src/generated/codex/v2/ThreadShellCommandParams.ts +++ b/src/generated/codex/v2/ThreadShellCommandParams.ts @@ -9,4 +9,10 @@ export type ThreadShellCommandParams = { threadId: string, * such as pipes, redirects, and quoting. This runs unsandboxed with full * access rather than inheriting the thread sandbox policy. */ -command: string, }; +command: string, +/** + * Maximum execution time in milliseconds. Defaults to one hour when omitted + * or null. Must be non-negative; zero requests an immediate timeout, not + * unlimited execution. Does not affect the immediate RPC acknowledgement. + */ +timeoutMs?: number | null, }; diff --git a/src/generated/codex/v2/ThreadSortKey.ts b/src/generated/codex/v2/ThreadSortKey.ts index d93f1c4..21eae4e 100644 --- a/src/generated/codex/v2/ThreadSortKey.ts +++ b/src/generated/codex/v2/ThreadSortKey.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 ThreadSortKey = "created_at" | "updated_at" | "recency_at"; +export type ThreadSortKey = "created_at" | "updated_at" | "recency_at" | "section_position"; diff --git a/src/generated/codex/v2/ThreadTimelineEntry.ts b/src/generated/codex/v2/ThreadTimelineEntry.ts new file mode 100644 index 0000000..f528548 --- /dev/null +++ b/src/generated/codex/v2/ThreadTimelineEntry.ts @@ -0,0 +1,12 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; +import type { ThreadRealtimeItem } from "./ThreadRealtimeItem"; +import type { TurnError } from "./TurnError"; +import type { TurnStatus } from "./TurnStatus"; + +/** + * EXPERIMENTAL - one item or turn boundary in canonical rollout order. + */ +export type ThreadTimelineEntry = { "type": "item", position: number, turnId: string, item: ThreadItem, } | { "type": "realtime", position: number, item: ThreadRealtimeItem, } | { "type": "turnStarted", position: number, turnId: string, startedAt: number | null, } | { "type": "turnCompleted", position: number, turnId: string, status: TurnStatus, error: TurnError | null, startedAt: number | null, completedAt: number | null, durationMs: number | null, }; diff --git a/src/generated/codex/v2/ThreadTurnsListParams.ts b/src/generated/codex/v2/ThreadTurnsListParams.ts new file mode 100644 index 0000000..a1aa682 --- /dev/null +++ b/src/generated/codex/v2/ThreadTurnsListParams.ts @@ -0,0 +1,23 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; +import type { TurnItemsView } from "./TurnItemsView"; + +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, +/** + * How much item detail to include for each returned turn; defaults to summary. + */ +itemsView?: TurnItemsView | null, }; diff --git a/src/generated/codex/v2/ThreadTurnsListResponse.ts b/src/generated/codex/v2/ThreadTurnsListResponse.ts new file mode 100644 index 0000000..1dbed91 --- /dev/null +++ b/src/generated/codex/v2/ThreadTurnsListResponse.ts @@ -0,0 +1,18 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// 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"; + +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/src/generated/codex/v2/ThreadUsage.ts b/src/generated/codex/v2/ThreadUsage.ts new file mode 100644 index 0000000..1fcf444 --- /dev/null +++ b/src/generated/codex/v2/ThreadUsage.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadUsageBreakdownGroup } from "./ThreadUsageBreakdownGroup"; + +export type ThreadUsage = { threadId: string, estimatedUsageCreditsMicros: bigint, estimatedUsageUsdMicros: bigint | null, groups: Array, }; diff --git a/src/generated/codex/v2/ThreadUsageBreakdownGroup.ts b/src/generated/codex/v2/ThreadUsageBreakdownGroup.ts new file mode 100644 index 0000000..e1e9593 --- /dev/null +++ b/src/generated/codex/v2/ThreadUsageBreakdownGroup.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadUsageBreakdownGroup = { model: string | null, reasoningEffort: string | null, speed: string | null, estimatedUsageCreditsMicros: bigint, netNewInputTokens: bigint | null, cachedInputTokens: bigint | null, inputTokens: bigint | null, outputTokens: bigint | null, totalTokens: bigint | null, }; diff --git a/src/generated/codex/v2/ToolRequestUserInputParams.ts b/src/generated/codex/v2/ToolRequestUserInputParams.ts index 73ff8b6..135389f 100644 --- a/src/generated/codex/v2/ToolRequestUserInputParams.ts +++ b/src/generated/codex/v2/ToolRequestUserInputParams.ts @@ -6,4 +6,8 @@ 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, autoResolutionMs: number | null, }; +export type ToolRequestUserInputParams = { threadId: string, turnId: string, itemId: string, questions: Array, isBlocking: boolean, +/** + * @deprecated Use `isBlocking` to decide whether the request should block. + */ +autoResolutionMs: number | null, }; diff --git a/src/generated/codex/v2/TurnError.ts b/src/generated/codex/v2/TurnError.ts index 765a8e0..2893b58 100644 --- a/src/generated/codex/v2/TurnError.ts +++ b/src/generated/codex/v2/TurnError.ts @@ -2,5 +2,10 @@ // 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"; +import type { MisalignmentErrorDetails } from "./MisalignmentErrorDetails"; -export type TurnError = { message: string, codexErrorInfo: CodexErrorInfo | null, additionalDetails: string | null, }; +export type TurnError = { message: string, codexErrorInfo: CodexErrorInfo | null, additionalDetails: string | null, +/** + * Optional public explanation and continuation instruction for a misalignment block. + */ +misalignment: MisalignmentErrorDetails | null, }; diff --git a/src/generated/codex/v2/TurnStartParams.ts b/src/generated/codex/v2/TurnStartParams.ts index afe1ac6..97ed892 100644 --- a/src/generated/codex/v2/TurnStartParams.ts +++ b/src/generated/codex/v2/TurnStartParams.ts @@ -8,9 +8,14 @@ import type { JsonValue } from "../serde_json/JsonValue"; import type { ApprovalsReviewer } from "./ApprovalsReviewer"; import type { AskForApproval } from "./AskForApproval"; import type { SandboxPolicy } from "./SandboxPolicy"; +import type { TurnToolOutput } from "./TurnToolOutput"; import type { UserInput } from "./UserInput"; export type TurnStartParams = {threadId: string, clientUserMessageId?: string | null, input: Array, /** + * Optional source classification for the caller that starts this turn. + * Ignored when this request steers an already-active turn. + */ +turnTrigger?: string | null, toolOutput?: TurnToolOutput | null, /** * Override the working directory for this turn and subsequent turns. */ cwd?: string | null, /** @@ -30,6 +35,11 @@ model?: string | null, /** * Override the service tier for this turn and subsequent turns. */ serviceTier?: string | null | null, /** + * Override the service tier only when this request starts a new turn. + * Use "default" for standard speed. Omitted or null inherits the thread's tier. + * Does not change the thread's tier or a turn being steered. + */ +serviceTierForTurn?: string | null, /** * Override the reasoning effort for this turn and subsequent turns. */ effort?: ReasoningEffort | null, /** diff --git a/src/generated/codex/v2/TurnToolOutput.ts b/src/generated/codex/v2/TurnToolOutput.ts new file mode 100644 index 0000000..77df888 --- /dev/null +++ b/src/generated/codex/v2/TurnToolOutput.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { FunctionCallOutputBody } from "../FunctionCallOutputBody"; + +export type TurnToolOutput = { name: string, namespace: string | null, output: FunctionCallOutputBody, }; diff --git a/src/generated/codex/v2/index.ts b/src/generated/codex/v2/index.ts index f818e31..fefe723 100644 --- a/src/generated/codex/v2/index.ts +++ b/src/generated/codex/v2/index.ts @@ -14,10 +14,13 @@ export type { AdditionalContextKind } from "./AdditionalContextKind"; export type { AdditionalFileSystemPermissions } from "./AdditionalFileSystemPermissions"; export type { AdditionalNetworkPermissions } from "./AdditionalNetworkPermissions"; export type { AdditionalPermissionProfile } from "./AdditionalPermissionProfile"; +export type { AgentMessageDelivery } from "./AgentMessageDelivery"; export type { AgentMessageDeltaNotification } from "./AgentMessageDeltaNotification"; +export type { AllowDenyRequirement } from "./AllowDenyRequirement"; export type { AnalyticsConfig } from "./AnalyticsConfig"; export type { AppBranding } from "./AppBranding"; export type { AppInfo } from "./AppInfo"; +export type { AppLinksConfig } from "./AppLinksConfig"; export type { AppListUpdatedNotification } from "./AppListUpdatedNotification"; export type { AppMetadata } from "./AppMetadata"; export type { AppReview } from "./AppReview"; @@ -38,9 +41,17 @@ export type { AppsListResponse } from "./AppsListResponse"; export type { AppsReadParams } from "./AppsReadParams"; export type { AppsReadResponse } from "./AppsReadResponse"; export type { AskForApproval } from "./AskForApproval"; +export type { AsyncUserInputQuestion } from "./AsyncUserInputQuestion"; export type { AttestationGenerateParams } from "./AttestationGenerateParams"; export type { AttestationGenerateResponse } from "./AttestationGenerateResponse"; +export type { AuthRecoveryNotification } from "./AuthRecoveryNotification"; export type { AutoReviewDecisionSource } from "./AutoReviewDecisionSource"; +export type { AutoReviewRequirements } from "./AutoReviewRequirements"; +export type { BrowserUseAccessApprovalLifetime } from "./BrowserUseAccessApprovalLifetime"; +export type { BrowserUseConfig } from "./BrowserUseConfig"; +export type { BrowserUseOriginPolicy } from "./BrowserUseOriginPolicy"; +export type { BrowserUseOriginPolicyConfig } from "./BrowserUseOriginPolicyConfig"; +export type { BrowserUseRequirements } from "./BrowserUseRequirements"; export type { ByteRange } from "./ByteRange"; export type { CancelLoginAccountParams } from "./CancelLoginAccountParams"; export type { CancelLoginAccountResponse } from "./CancelLoginAccountResponse"; @@ -49,6 +60,7 @@ export type { CapabilityRootLocation } from "./CapabilityRootLocation"; export type { ChatgptAuthTokensRefreshParams } from "./ChatgptAuthTokensRefreshParams"; export type { ChatgptAuthTokensRefreshReason } from "./ChatgptAuthTokensRefreshReason"; export type { ChatgptAuthTokensRefreshResponse } from "./ChatgptAuthTokensRefreshResponse"; +export type { CliAuthCredentialsStoreMode } from "./CliAuthCredentialsStoreMode"; export type { CodexErrorInfo } from "./CodexErrorInfo"; export type { CollabAgentState } from "./CollabAgentState"; export type { CollabAgentStatus } from "./CollabAgentStatus"; @@ -68,13 +80,21 @@ export type { CommandExecTerminateResponse } from "./CommandExecTerminateRespons export type { CommandExecWriteParams } from "./CommandExecWriteParams"; export type { CommandExecWriteResponse } from "./CommandExecWriteResponse"; export type { CommandExecutionApprovalDecision } from "./CommandExecutionApprovalDecision"; +export type { CommandExecutionApprovalKind } from "./CommandExecutionApprovalKind"; export type { CommandExecutionOutputDeltaNotification } from "./CommandExecutionOutputDeltaNotification"; export type { CommandExecutionRequestApprovalParams } from "./CommandExecutionRequestApprovalParams"; export type { CommandExecutionRequestApprovalResponse } from "./CommandExecutionRequestApprovalResponse"; export type { CommandExecutionSource } from "./CommandExecutionSource"; export type { CommandExecutionStatus } from "./CommandExecutionStatus"; export type { CommandMigration } from "./CommandMigration"; +export type { ComputerUseConfig } from "./ComputerUseConfig"; +export type { ComputerUseMacosConfig } from "./ComputerUseMacosConfig"; +export type { ComputerUseMacosRequirements } from "./ComputerUseMacosRequirements"; export type { ComputerUseRequirements } from "./ComputerUseRequirements"; +export type { ComputerUseWindowsConfig } from "./ComputerUseWindowsConfig"; +export type { ComputerUseWindowsExeConfig } from "./ComputerUseWindowsExeConfig"; +export type { ComputerUseWindowsExeRequirement } from "./ComputerUseWindowsExeRequirement"; +export type { ComputerUseWindowsRequirements } from "./ComputerUseWindowsRequirements"; export type { Config } from "./Config"; export type { ConfigBatchWriteParams } from "./ConfigBatchWriteParams"; export type { ConfigEdit } from "./ConfigEdit"; @@ -96,7 +116,9 @@ export type { ConsumeAccountRateLimitResetCreditParams } from "./ConsumeAccountR export type { ConsumeAccountRateLimitResetCreditResponse } from "./ConsumeAccountRateLimitResetCreditResponse"; export type { ContextCompactedNotification } from "./ContextCompactedNotification"; export type { CreditsSnapshot } from "./CreditsSnapshot"; +export type { CyberAccessProgram } from "./CyberAccessProgram"; export type { DeprecationNoticeNotification } from "./DeprecationNoticeNotification"; +export type { DesktopOnboardingEntrypoint } from "./DesktopOnboardingEntrypoint"; export type { DynamicToolCallOutputContentItem } from "./DynamicToolCallOutputContentItem"; export type { DynamicToolCallParams } from "./DynamicToolCallParams"; export type { DynamicToolCallResponse } from "./DynamicToolCallResponse"; @@ -119,6 +141,10 @@ export type { ExternalAgentConfigDetectResponse } from "./ExternalAgentConfigDet export type { ExternalAgentConfigImportCompletedNotification } from "./ExternalAgentConfigImportCompletedNotification"; export type { ExternalAgentConfigImportHistoriesReadResponse } from "./ExternalAgentConfigImportHistoriesReadResponse"; export type { ExternalAgentConfigImportHistory } from "./ExternalAgentConfigImportHistory"; +export type { ExternalAgentConfigImportHistoryRecordParams } from "./ExternalAgentConfigImportHistoryRecordParams"; +export type { ExternalAgentConfigImportHistoryRecordResponse } from "./ExternalAgentConfigImportHistoryRecordResponse"; +export type { ExternalAgentConfigImportHistoryRecordSuccessParams } from "./ExternalAgentConfigImportHistoryRecordSuccessParams"; +export type { ExternalAgentConfigImportHistoryRecordTypeResultParams } from "./ExternalAgentConfigImportHistoryRecordTypeResultParams"; export type { ExternalAgentConfigImportItemTypeFailure } from "./ExternalAgentConfigImportItemTypeFailure"; export type { ExternalAgentConfigImportItemTypeSuccess } from "./ExternalAgentConfigImportItemTypeSuccess"; export type { ExternalAgentConfigImportParams } from "./ExternalAgentConfigImportParams"; @@ -127,8 +153,11 @@ export type { ExternalAgentConfigImportResponse } from "./ExternalAgentConfigImp export type { ExternalAgentConfigImportTypeResult } from "./ExternalAgentConfigImportTypeResult"; export type { ExternalAgentConfigMigrationItem } from "./ExternalAgentConfigMigrationItem"; export type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; +export type { ExternalAgentDetectedConnectorCandidate } from "./ExternalAgentDetectedConnectorCandidate"; +export type { ExternalAgentDetectedConnectorSource } from "./ExternalAgentDetectedConnectorSource"; export type { ExternalAgentImportedConnectorCandidate } from "./ExternalAgentImportedConnectorCandidate"; export type { ExternalAgentImportedConnectorSource } from "./ExternalAgentImportedConnectorSource"; +export type { FeedbackRequirements } from "./FeedbackRequirements"; export type { FeedbackUploadParams } from "./FeedbackUploadParams"; export type { FeedbackUploadResponse } from "./FeedbackUploadResponse"; export type { FileChangeApprovalDecision } from "./FileChangeApprovalDecision"; @@ -165,6 +194,7 @@ export type { FsWriteFileResponse } from "./FsWriteFileResponse"; export type { GetAccountParams } from "./GetAccountParams"; export type { GetAccountRateLimitsResponse } from "./GetAccountRateLimitsResponse"; export type { GetAccountResponse } from "./GetAccountResponse"; +export type { GetAccountTokenUsageParams } from "./GetAccountTokenUsageParams"; export type { GetAccountTokenUsageResponse } from "./GetAccountTokenUsageResponse"; export type { GetWorkspaceMessagesResponse } from "./GetWorkspaceMessagesResponse"; export type { GitInfo } from "./GitInfo"; @@ -195,6 +225,7 @@ export type { HookTrustStatus } from "./HookTrustStatus"; export type { HooksListEntry } from "./HooksListEntry"; export type { HooksListParams } from "./HooksListParams"; export type { HooksListResponse } from "./HooksListResponse"; +export type { InAppBrowserRequirements } from "./InAppBrowserRequirements"; export type { InstalledApp } from "./InstalledApp"; export type { ItemCompletedNotification } from "./ItemCompletedNotification"; export type { ItemGuardianApprovalReviewCompletedNotification } from "./ItemGuardianApprovalReviewCompletedNotification"; @@ -241,10 +272,14 @@ export type { McpElicitationUntitledMultiSelectEnumSchema } from "./McpElicitati export type { McpElicitationUntitledSingleSelectEnumSchema } from "./McpElicitationUntitledSingleSelectEnumSchema"; export type { McpResourceReadParams } from "./McpResourceReadParams"; export type { McpResourceReadResponse } from "./McpResourceReadResponse"; +export type { McpServerConnectionStatus } from "./McpServerConnectionStatus"; export type { McpServerElicitationAction } from "./McpServerElicitationAction"; export type { McpServerElicitationRequestParams } from "./McpServerElicitationRequestParams"; export type { McpServerElicitationRequestResponse } from "./McpServerElicitationRequestResponse"; +export type { McpServerEventNotification } from "./McpServerEventNotification"; +export type { McpServerEventStreamNotification } from "./McpServerEventStreamNotification"; export type { McpServerMigration } from "./McpServerMigration"; +export type { McpServerOauthClientRegistration } from "./McpServerOauthClientRegistration"; export type { McpServerOauthLoginCompletedNotification } from "./McpServerOauthLoginCompletedNotification"; export type { McpServerOauthLoginParams } from "./McpServerOauthLoginParams"; export type { McpServerOauthLoginResponse } from "./McpServerOauthLoginResponse"; @@ -265,6 +300,8 @@ export type { MemoryCitation } from "./MemoryCitation"; export type { MemoryCitationEntry } from "./MemoryCitationEntry"; export type { MergeStrategy } from "./MergeStrategy"; export type { MigrationDetails } from "./MigrationDetails"; +export type { MisalignmentErrorDetails } from "./MisalignmentErrorDetails"; +export type { MisalignmentSteer } from "./MisalignmentSteer"; export type { Model } from "./Model"; export type { ModelAvailabilityNux } from "./ModelAvailabilityNux"; export type { ModelListParams } from "./ModelListParams"; @@ -279,6 +316,7 @@ export type { ModelUpgradeInfo } from "./ModelUpgradeInfo"; export type { ModelVerification } from "./ModelVerification"; export type { ModelVerificationNotification } from "./ModelVerificationNotification"; export type { ModelsRequirements } from "./ModelsRequirements"; +export type { MultiAgentVersion } from "./MultiAgentVersion"; export type { NetworkAccess } from "./NetworkAccess"; export type { NetworkApprovalContext } from "./NetworkApprovalContext"; export type { NetworkApprovalProtocol } from "./NetworkApprovalProtocol"; @@ -302,6 +340,7 @@ export type { PlanDeltaNotification } from "./PlanDeltaNotification"; export type { PluginAuthPolicy } from "./PluginAuthPolicy"; export type { PluginAvailability } from "./PluginAvailability"; export type { PluginDetail } from "./PluginDetail"; +export type { PluginDisabledReason } from "./PluginDisabledReason"; export type { PluginHookSummary } from "./PluginHookSummary"; export type { PluginInstallParams } from "./PluginInstallParams"; export type { PluginInstallPolicy } from "./PluginInstallPolicy"; @@ -316,6 +355,11 @@ export type { PluginListResponse } from "./PluginListResponse"; export type { PluginMarketplaceEntry } from "./PluginMarketplaceEntry"; export type { PluginReadParams } from "./PluginReadParams"; export type { PluginReadResponse } from "./PluginReadResponse"; +export type { PluginReconcileChangedPlugin } from "./PluginReconcileChangedPlugin"; +export type { PluginReconcileParams } from "./PluginReconcileParams"; +export type { PluginReconcileResponse } from "./PluginReconcileResponse"; +export type { PluginSearchResult } from "./PluginSearchResult"; +export type { PluginSearchScope } from "./PluginSearchScope"; export type { PluginShareCheckoutParams } from "./PluginShareCheckoutParams"; export type { PluginShareCheckoutResponse } from "./PluginShareCheckoutResponse"; export type { PluginShareContext } from "./PluginShareContext"; @@ -346,6 +390,12 @@ export type { ProcessExitedNotification } from "./ProcessExitedNotification"; export type { ProcessOutputDeltaNotification } from "./ProcessOutputDeltaNotification"; export type { ProcessOutputStream } from "./ProcessOutputStream"; export type { ProcessTerminalSize } from "./ProcessTerminalSize"; +export type { Project } from "./Project"; +export type { ProjectChangeType } from "./ProjectChangeType"; +export type { ProjectChangedNotification } from "./ProjectChangedNotification"; +export type { ProjectRoot } from "./ProjectRoot"; +export type { ProjectSortKey } from "./ProjectSortKey"; +export type { QueuedSubmission } from "./QueuedSubmission"; export type { RateLimitReachedType } from "./RateLimitReachedType"; export type { RateLimitResetCredit } from "./RateLimitResetCredit"; export type { RateLimitResetCreditStatus } from "./RateLimitResetCreditStatus"; @@ -365,6 +415,7 @@ export type { RemoteControlEnableParams } from "./RemoteControlEnableParams"; export type { RemoteControlStatusChangedNotification } from "./RemoteControlStatusChangedNotification"; export type { RequestPermissionProfile } from "./RequestPermissionProfile"; export type { ResidencyRequirement } from "./ResidencyRequirement"; +export type { ResponseUsageMetadata } from "./ResponseUsageMetadata"; export type { ReviewDelivery } from "./ReviewDelivery"; export type { ReviewStartParams } from "./ReviewStartParams"; export type { ReviewStartResponse } from "./ReviewStartResponse"; @@ -378,6 +429,8 @@ export type { ScheduledTaskWeekday } from "./ScheduledTaskWeekday"; export type { SelectedCapabilityRoot } from "./SelectedCapabilityRoot"; export type { SendAddCreditsNudgeEmailParams } from "./SendAddCreditsNudgeEmailParams"; export type { SendAddCreditsNudgeEmailResponse } from "./SendAddCreditsNudgeEmailResponse"; +export type { ServerDiagnosticsGauge } from "./ServerDiagnosticsGauge"; +export type { ServerDiagnosticsProcess } from "./ServerDiagnosticsProcess"; export type { ServerRequestResolvedNotification } from "./ServerRequestResolvedNotification"; export type { SessionMigration } from "./SessionMigration"; export type { SessionSource } from "./SessionSource"; @@ -399,6 +452,7 @@ export type { SkillsListParams } from "./SkillsListParams"; export type { SkillsListResponse } from "./SkillsListResponse"; export type { SortDirection } from "./SortDirection"; export type { SpendControlLimitSnapshot } from "./SpendControlLimitSnapshot"; +export type { StrictReviewRequiredNotification } from "./StrictReviewRequiredNotification"; export type { SubAgentActivityKind } from "./SubAgentActivityKind"; export type { SubagentMigration } from "./SubagentMigration"; export type { TerminalInteractionNotification } from "./TerminalInteractionNotification"; @@ -436,6 +490,8 @@ export type { ThreadInjectItemsParams } from "./ThreadInjectItemsParams"; export type { ThreadInjectItemsResponse } from "./ThreadInjectItemsResponse"; export type { ThreadItem } from "./ThreadItem"; export type { ThreadItemEntry } from "./ThreadItemEntry"; +export type { ThreadItemsListParams } from "./ThreadItemsListParams"; +export type { ThreadItemsListResponse } from "./ThreadItemsListResponse"; export type { ThreadListParams } from "./ThreadListParams"; export type { ThreadListResponse } from "./ThreadListResponse"; export type { ThreadLoadedListParams } from "./ThreadLoadedListParams"; @@ -444,25 +500,50 @@ export type { ThreadMetadataGitInfoUpdateParams } from "./ThreadMetadataGitInfoU export type { ThreadMetadataUpdateParams } from "./ThreadMetadataUpdateParams"; export type { ThreadMetadataUpdateResponse } from "./ThreadMetadataUpdateResponse"; export type { ThreadNameUpdatedNotification } from "./ThreadNameUpdatedNotification"; +export type { ThreadProjectUpdatedNotification } from "./ThreadProjectUpdatedNotification"; +export type { ThreadQueueChangedNotification } from "./ThreadQueueChangedNotification"; export type { ThreadReadParams } from "./ThreadReadParams"; export type { ThreadReadResponse } from "./ThreadReadResponse"; export type { ThreadRealtimeAudioChunk } from "./ThreadRealtimeAudioChunk"; +export type { ThreadRealtimeBemItemPresentation } from "./ThreadRealtimeBemItemPresentation"; export type { ThreadRealtimeClosedNotification } from "./ThreadRealtimeClosedNotification"; export type { ThreadRealtimeErrorNotification } from "./ThreadRealtimeErrorNotification"; export type { ThreadRealtimeInitialItem } from "./ThreadRealtimeInitialItem"; +export type { ThreadRealtimeItem } from "./ThreadRealtimeItem"; export type { ThreadRealtimeItemAddedNotification } from "./ThreadRealtimeItemAddedNotification"; +export type { ThreadRealtimeItemCompletedNotification } from "./ThreadRealtimeItemCompletedNotification"; +export type { ThreadRealtimeItemStartedNotification } from "./ThreadRealtimeItemStartedNotification"; +export type { ThreadRealtimeItemTranscriptDeltaNotification } from "./ThreadRealtimeItemTranscriptDeltaNotification"; export type { ThreadRealtimeOutputAudioDeltaNotification } from "./ThreadRealtimeOutputAudioDeltaNotification"; export type { ThreadRealtimeSdpNotification } from "./ThreadRealtimeSdpNotification"; +export type { ThreadRealtimeSessionOutcome } from "./ThreadRealtimeSessionOutcome"; export type { ThreadRealtimeStartTransport } from "./ThreadRealtimeStartTransport"; export type { ThreadRealtimeStartedNotification } from "./ThreadRealtimeStartedNotification"; export type { ThreadRealtimeTranscriptDeltaNotification } from "./ThreadRealtimeTranscriptDeltaNotification"; export type { ThreadRealtimeTranscriptDoneNotification } from "./ThreadRealtimeTranscriptDoneNotification"; +export type { ThreadRealtimeTranscriptRole } from "./ThreadRealtimeTranscriptRole"; export type { ThreadResumeInitialTurnsPageParams } from "./ThreadResumeInitialTurnsPageParams"; export type { ThreadResumeParams } from "./ThreadResumeParams"; export type { ThreadResumeResponse } from "./ThreadResumeResponse"; +export type { ThreadRevertParams } from "./ThreadRevertParams"; +export type { ThreadRevertResponse } from "./ThreadRevertResponse"; +export type { ThreadRevertedNotification } from "./ThreadRevertedNotification"; export type { ThreadRollbackParams } from "./ThreadRollbackParams"; export type { ThreadRollbackResponse } from "./ThreadRollbackResponse"; export type { ThreadSearchResult } from "./ThreadSearchResult"; +export type { ThreadSearchSortKey } from "./ThreadSearchSortKey"; +export type { ThreadSection } from "./ThreadSection"; +export type { ThreadSectionAppearance } from "./ThreadSectionAppearance"; +export type { ThreadSectionCreateParams } from "./ThreadSectionCreateParams"; +export type { ThreadSectionCreateResponse } from "./ThreadSectionCreateResponse"; +export type { ThreadSectionDeleteParams } from "./ThreadSectionDeleteParams"; +export type { ThreadSectionDeleteResponse } from "./ThreadSectionDeleteResponse"; +export type { ThreadSectionListParams } from "./ThreadSectionListParams"; +export type { ThreadSectionListResponse } from "./ThreadSectionListResponse"; +export type { ThreadSectionMoveParams } from "./ThreadSectionMoveParams"; +export type { ThreadSectionMoveResponse } from "./ThreadSectionMoveResponse"; +export type { ThreadSectionUpdateParams } from "./ThreadSectionUpdateParams"; +export type { ThreadSectionUpdateResponse } from "./ThreadSectionUpdateResponse"; export type { ThreadSetNameParams } from "./ThreadSetNameParams"; export type { ThreadSetNameResponse } from "./ThreadSetNameResponse"; export type { ThreadSettings } from "./ThreadSettings"; @@ -478,14 +559,19 @@ export type { ThreadStartSource } from "./ThreadStartSource"; export type { ThreadStartedNotification } from "./ThreadStartedNotification"; export type { ThreadStatus } from "./ThreadStatus"; export type { ThreadStatusChangedNotification } from "./ThreadStatusChangedNotification"; +export type { ThreadTimelineEntry } from "./ThreadTimelineEntry"; export type { ThreadTokenUsage } from "./ThreadTokenUsage"; export type { ThreadTokenUsageUpdatedNotification } from "./ThreadTokenUsageUpdatedNotification"; +export type { ThreadTurnsListParams } from "./ThreadTurnsListParams"; +export type { ThreadTurnsListResponse } from "./ThreadTurnsListResponse"; export type { ThreadUnarchiveParams } from "./ThreadUnarchiveParams"; export type { ThreadUnarchiveResponse } from "./ThreadUnarchiveResponse"; export type { ThreadUnarchivedNotification } from "./ThreadUnarchivedNotification"; export type { ThreadUnsubscribeParams } from "./ThreadUnsubscribeParams"; export type { ThreadUnsubscribeResponse } from "./ThreadUnsubscribeResponse"; export type { ThreadUnsubscribeStatus } from "./ThreadUnsubscribeStatus"; +export type { ThreadUsage } from "./ThreadUsage"; +export type { ThreadUsageBreakdownGroup } from "./ThreadUsageBreakdownGroup"; export type { TokenUsageBreakdown } from "./TokenUsageBreakdown"; export type { ToolRequestUserInputAnswer } from "./ToolRequestUserInputAnswer"; export type { ToolRequestUserInputOption } from "./ToolRequestUserInputOption"; @@ -511,6 +597,7 @@ export type { TurnStartedNotification } from "./TurnStartedNotification"; export type { TurnStatus } from "./TurnStatus"; export type { TurnSteerParams } from "./TurnSteerParams"; export type { TurnSteerResponse } from "./TurnSteerResponse"; +export type { TurnToolOutput } from "./TurnToolOutput"; export type { TurnsPage } from "./TurnsPage"; export type { UserInput } from "./UserInput"; export type { WarningNotification } from "./WarningNotification";