@gkorepanov/ccodex 0.4.20 → 0.4.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/agents/codex-wrapper.md +1 -0
- package/config/compatibility.json +5 -5
- package/dist/claude/inputMapper.d.ts +5 -0
- package/dist/claude/inputMapper.js +9 -0
- package/dist/claude/inputMapper.js.map +1 -1
- package/dist/claude/rateLimits.d.ts +2 -1
- package/dist/claude/rateLimits.js +12 -16
- package/dist/claude/rateLimits.js.map +1 -1
- package/dist/claude/service.d.ts +41 -1
- package/dist/claude/service.js +166 -69
- package/dist/claude/service.js.map +1 -1
- package/dist/claude/session/commands.d.ts +36 -0
- package/dist/claude/session/goalState.d.ts +5 -0
- package/dist/claude/session/goalState.js +22 -0
- package/dist/claude/session/goalState.js.map +1 -1
- package/dist/claude/session/providerRuntimeFactory.js +15 -7
- package/dist/claude/session/providerRuntimeFactory.js.map +1 -1
- package/dist/claude/session/repository.d.ts +3 -0
- package/dist/claude/session/repository.js +2 -0
- package/dist/claude/session/repository.js.map +1 -1
- package/dist/claude/session/runtime.d.ts +10 -0
- package/dist/claude/session/runtime.js +45 -3
- package/dist/claude/session/runtime.js.map +1 -1
- package/dist/claude/session/scopeState.js +1 -0
- package/dist/claude/session/scopeState.js.map +1 -1
- package/dist/claude/session/session.d.ts +1 -0
- package/dist/claude/session/session.js +162 -55
- package/dist/claude/session/session.js.map +1 -1
- package/dist/claude/skillCatalog.js +1 -0
- package/dist/claude/skillCatalog.js.map +1 -1
- package/dist/claude/statusCommand.js +1 -2
- package/dist/claude/statusCommand.js.map +1 -1
- package/dist/codex/generated/AuthMode.d.ts +1 -1
- package/dist/codex/generated/ClientRequest.d.ts +25 -0
- package/dist/codex/generated/InternalSessionSource.d.ts +1 -1
- package/dist/codex/generated/ResponseItem.d.ts +3 -1
- package/dist/codex/generated/ResponseItemRuntimeSchema.js +2 -2
- package/dist/codex/generated/ResponseItemRuntimeSchema.js.map +1 -1
- package/dist/codex/generated/ServerNotification.d.ts +23 -0
- package/dist/codex/generated/ServerNotificationEnvelope.d.ts +23 -0
- package/dist/codex/generated/v2/AllowDenyRequirement.d.ts +1 -0
- package/dist/codex/generated/v2/AllowDenyRequirement.js +3 -0
- package/dist/codex/generated/v2/AllowDenyRequirement.js.map +1 -0
- package/dist/codex/generated/v2/AppLinksConfig.d.ts +11 -0
- package/dist/codex/generated/v2/AppLinksConfig.js +3 -0
- package/dist/codex/generated/v2/AppLinksConfig.js.map +1 -0
- package/dist/codex/generated/v2/AppsConfig.d.ts +5 -0
- package/dist/codex/generated/v2/AsyncUserInputQuestion.d.ts +4 -0
- package/dist/codex/generated/v2/AsyncUserInputQuestion.js +3 -0
- package/dist/codex/generated/v2/AsyncUserInputQuestion.js.map +1 -0
- package/dist/codex/generated/v2/AuthRecoveryNotification.d.ts +6 -0
- package/dist/codex/generated/v2/AuthRecoveryNotification.js +3 -0
- package/dist/codex/generated/v2/AuthRecoveryNotification.js.map +1 -0
- package/dist/codex/generated/v2/BedrockSetupParams.d.ts +0 -8
- package/dist/codex/generated/v2/BrowserUseAccessApprovalLifetime.d.ts +1 -0
- package/dist/codex/generated/v2/BrowserUseAccessApprovalLifetime.js +3 -0
- package/dist/codex/generated/v2/BrowserUseAccessApprovalLifetime.js.map +1 -0
- package/dist/codex/generated/v2/BrowserUseConfig.d.ts +8 -0
- package/dist/codex/generated/v2/BrowserUseConfig.js +3 -0
- package/dist/codex/generated/v2/BrowserUseConfig.js.map +1 -0
- package/dist/codex/generated/v2/BrowserUseOriginPolicy.d.ts +11 -0
- package/dist/codex/generated/v2/BrowserUseOriginPolicy.js +3 -0
- package/dist/codex/generated/v2/BrowserUseOriginPolicy.js.map +1 -0
- package/dist/codex/generated/v2/BrowserUseOriginPolicyConfig.d.ts +7 -0
- package/dist/codex/generated/v2/BrowserUseOriginPolicyConfig.js +3 -0
- package/dist/codex/generated/v2/BrowserUseOriginPolicyConfig.js.map +1 -0
- package/dist/codex/generated/v2/BrowserUseRequirements.d.ts +7 -0
- package/dist/codex/generated/v2/CodexErrorInfo.d.ts +1 -1
- package/dist/codex/generated/v2/CollabAgentTool.d.ts +1 -1
- package/dist/codex/generated/v2/CollabAgentToolCallStatus.d.ts +1 -1
- package/dist/codex/generated/v2/CommandExecutionApprovalKind.d.ts +4 -0
- package/dist/codex/generated/v2/CommandExecutionApprovalKind.js +3 -0
- package/dist/codex/generated/v2/CommandExecutionApprovalKind.js.map +1 -0
- package/dist/codex/generated/v2/CommandExecutionRequestApprovalParams.d.ts +6 -0
- package/dist/codex/generated/v2/ComputerUseConfig.d.ts +8 -0
- package/dist/codex/generated/v2/ComputerUseConfig.js +3 -0
- package/dist/codex/generated/v2/ComputerUseConfig.js.map +1 -0
- package/dist/codex/generated/v2/ComputerUseMacosConfig.d.ts +6 -0
- package/dist/codex/generated/v2/ComputerUseMacosConfig.js +3 -0
- package/dist/codex/generated/v2/ComputerUseMacosConfig.js.map +1 -0
- package/dist/codex/generated/v2/ComputerUseMacosRequirements.d.ts +6 -0
- package/dist/codex/generated/v2/ComputerUseMacosRequirements.js +3 -0
- package/dist/codex/generated/v2/ComputerUseMacosRequirements.js.map +1 -0
- package/dist/codex/generated/v2/ComputerUseRequirements.d.ts +7 -0
- package/dist/codex/generated/v2/ComputerUseWindowsConfig.d.ts +8 -0
- package/dist/codex/generated/v2/ComputerUseWindowsConfig.js +3 -0
- package/dist/codex/generated/v2/ComputerUseWindowsConfig.js.map +1 -0
- package/dist/codex/generated/v2/ComputerUseWindowsExeConfig.d.ts +7 -0
- package/dist/codex/generated/v2/ComputerUseWindowsExeConfig.js +3 -0
- package/dist/codex/generated/v2/ComputerUseWindowsExeConfig.js.map +1 -0
- package/dist/codex/generated/v2/ComputerUseWindowsExeRequirement.d.ts +7 -0
- package/dist/codex/generated/v2/ComputerUseWindowsExeRequirement.js +3 -0
- package/dist/codex/generated/v2/ComputerUseWindowsExeRequirement.js.map +1 -0
- package/dist/codex/generated/v2/ComputerUseWindowsRequirements.d.ts +8 -0
- package/dist/codex/generated/v2/ComputerUseWindowsRequirements.js +3 -0
- package/dist/codex/generated/v2/ComputerUseWindowsRequirements.js.map +1 -0
- package/dist/codex/generated/v2/Config.d.ts +4 -0
- package/dist/codex/generated/v2/ConfigRequirements.d.ts +4 -0
- package/dist/codex/generated/v2/CyberAccessProgram.d.ts +5 -0
- package/dist/codex/generated/v2/CyberAccessProgram.js +3 -0
- package/dist/codex/generated/v2/CyberAccessProgram.js.map +1 -0
- package/dist/codex/generated/v2/GetAccountRateLimitsResponse.d.ts +10 -0
- package/dist/codex/generated/v2/GuardianApprovalReviewAction.d.ts +7 -0
- package/dist/codex/generated/v2/HookEventName.d.ts +1 -1
- package/dist/codex/generated/v2/InAppBrowserRequirements.d.ts +3 -0
- package/dist/codex/generated/v2/InAppBrowserRequirements.js +3 -0
- package/dist/codex/generated/v2/InAppBrowserRequirements.js.map +1 -0
- package/dist/codex/generated/v2/ItemGuardianApprovalReviewCompletedNotification.d.ts +2 -0
- package/dist/codex/generated/v2/ItemGuardianApprovalReviewStartedNotification.d.ts +2 -0
- package/dist/codex/generated/v2/LoginAccountParams.d.ts +6 -0
- package/dist/codex/generated/v2/ManagedHooksRequirements.d.ts +1 -0
- package/dist/codex/generated/v2/McpServerConnectionStatus.d.ts +1 -0
- package/dist/codex/generated/v2/McpServerConnectionStatus.js +3 -0
- package/dist/codex/generated/v2/McpServerConnectionStatus.js.map +1 -0
- package/dist/codex/generated/v2/McpServerElicitationRequestParams.d.ts +5 -0
- package/dist/codex/generated/v2/McpServerEventNotification.d.ts +5 -0
- package/dist/codex/generated/v2/McpServerEventNotification.js +3 -0
- package/dist/codex/generated/v2/McpServerEventNotification.js.map +1 -0
- package/dist/codex/generated/v2/McpServerEventStreamNotification.d.ts +5 -0
- package/dist/codex/generated/v2/McpServerEventStreamNotification.js +3 -0
- package/dist/codex/generated/v2/McpServerEventStreamNotification.js.map +1 -0
- package/dist/codex/generated/v2/McpServerEventStreamStartParams.d.ts +9 -0
- package/dist/codex/generated/v2/McpServerEventStreamStartParams.js +3 -0
- package/dist/codex/generated/v2/McpServerEventStreamStartParams.js.map +1 -0
- package/dist/codex/generated/v2/McpServerEventStreamStartResponse.d.ts +1 -0
- package/dist/codex/generated/v2/McpServerEventStreamStartResponse.js +3 -0
- package/dist/codex/generated/v2/McpServerEventStreamStartResponse.js.map +1 -0
- package/dist/codex/generated/v2/McpServerEventStreamStopParams.d.ts +3 -0
- package/dist/codex/generated/v2/McpServerEventStreamStopParams.js +3 -0
- package/dist/codex/generated/v2/McpServerEventStreamStopParams.js.map +1 -0
- package/dist/codex/generated/v2/McpServerEventStreamStopResponse.d.ts +1 -0
- package/dist/codex/generated/v2/McpServerEventStreamStopResponse.js +3 -0
- package/dist/codex/generated/v2/McpServerEventStreamStopResponse.js.map +1 -0
- package/dist/codex/generated/v2/McpServerStatus.d.ts +5 -0
- package/dist/codex/generated/v2/MisalignmentErrorDetails.d.ts +15 -0
- package/dist/codex/generated/v2/MisalignmentErrorDetails.js +3 -0
- package/dist/codex/generated/v2/MisalignmentErrorDetails.js.map +1 -0
- package/dist/codex/generated/v2/MisalignmentSteer.d.ts +3 -0
- package/dist/codex/generated/v2/MisalignmentSteer.js +3 -0
- package/dist/codex/generated/v2/MisalignmentSteer.js.map +1 -0
- package/dist/codex/generated/v2/PluginReconcileChangedPlugin.d.ts +19 -0
- package/dist/codex/generated/v2/PluginReconcileChangedPlugin.js +3 -0
- package/dist/codex/generated/v2/PluginReconcileChangedPlugin.js.map +1 -0
- package/dist/codex/generated/v2/PluginReconcileParams.d.ts +6 -0
- package/dist/codex/generated/v2/PluginReconcileParams.js +3 -0
- package/dist/codex/generated/v2/PluginReconcileParams.js.map +1 -0
- package/dist/codex/generated/v2/PluginReconcileResponse.d.ts +23 -0
- package/dist/codex/generated/v2/PluginReconcileResponse.js +3 -0
- package/dist/codex/generated/v2/PluginReconcileResponse.js.map +1 -0
- package/dist/codex/generated/v2/Project.d.ts +4 -0
- package/dist/codex/generated/v2/ProjectListParams.d.ts +10 -0
- package/dist/codex/generated/v2/ProjectSortKey.d.ts +1 -0
- package/dist/codex/generated/v2/ProjectSortKey.js +3 -0
- package/dist/codex/generated/v2/ProjectSortKey.js.map +1 -0
- package/dist/codex/generated/v2/RawResponseCompletedNotification.d.ts +2 -0
- package/dist/codex/generated/v2/ResponseUsageMetadata.d.ts +8 -0
- package/dist/codex/generated/v2/ResponseUsageMetadata.js +3 -0
- package/dist/codex/generated/v2/ResponseUsageMetadata.js.map +1 -0
- package/dist/codex/generated/v2/SkillMetadata.d.ts +4 -0
- package/dist/codex/generated/v2/SubAgentActivityKind.d.ts +1 -1
- package/dist/codex/generated/v2/Thread.d.ts +11 -0
- package/dist/codex/generated/v2/ThreadForkParams.d.ts +3 -1
- package/dist/codex/generated/v2/ThreadItem.d.ts +9 -0
- package/dist/codex/generated/v2/ThreadReadParams.d.ts +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeBemItemPresentation.d.ts +11 -0
- package/dist/codex/generated/v2/ThreadRealtimeBemItemPresentation.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeBemItemPresentation.js.map +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeItem.d.ts +24 -0
- package/dist/codex/generated/v2/ThreadRealtimeItem.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeItem.js.map +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemCompletedNotification.d.ts +8 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemCompletedNotification.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemCompletedNotification.js.map +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemStartedNotification.d.ts +8 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemStartedNotification.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemStartedNotification.js.map +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemTranscriptDeltaNotification.d.ts +8 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemTranscriptDeltaNotification.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeItemTranscriptDeltaNotification.js.map +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeSessionOutcome.d.ts +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeSessionOutcome.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeSessionOutcome.js.map +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeStartTransport.d.ts +6 -0
- package/dist/codex/generated/v2/ThreadRealtimeTranscriptRole.d.ts +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeTranscriptRole.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeTranscriptRole.js.map +1 -0
- package/dist/codex/generated/v2/ThreadResumeParams.d.ts +3 -1
- package/dist/codex/generated/v2/ThreadShellCommandParams.d.ts +6 -0
- package/dist/codex/generated/v2/ThreadTimelineEntry.d.ts +31 -0
- package/dist/codex/generated/v2/ThreadTimelineEntry.js +3 -0
- package/dist/codex/generated/v2/ThreadTimelineEntry.js.map +1 -0
- package/dist/codex/generated/v2/ThreadTimelineListParams.d.ts +8 -0
- package/dist/codex/generated/v2/ThreadTimelineListParams.js +3 -0
- package/dist/codex/generated/v2/ThreadTimelineListParams.js.map +1 -0
- package/dist/codex/generated/v2/ThreadTimelineListResponse.d.ts +9 -0
- package/dist/codex/generated/v2/ThreadTimelineListResponse.js +3 -0
- package/dist/codex/generated/v2/ThreadTimelineListResponse.js.map +1 -0
- package/dist/codex/generated/v2/TurnError.d.ts +5 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateParams.d.ts +34 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateParams.js +3 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateParams.js.map +1 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateResponse.d.ts +4 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateResponse.js +3 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateResponse.js.map +1 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateStatus.d.ts +1 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateStatus.js +3 -0
- package/dist/codex/generated/v2/TurnSettingsUpdateStatus.js.map +1 -0
- package/dist/codex/generated/v2/TurnStartParams.d.ts +19 -0
- package/dist/codex/generated/v2/TurnToolOutput.d.ts +6 -0
- package/dist/codex/generated/v2/TurnToolOutput.js +3 -0
- package/dist/codex/generated/v2/TurnToolOutput.js.map +1 -0
- package/dist/codex/generated/v2/index.d.ts +46 -0
- package/dist/daemon/ownership.js +9 -1
- package/dist/daemon/ownership.js.map +1 -1
- package/dist/daemon/probe.js +1 -1
- package/dist/gateway/clientConnection.js +105 -19
- package/dist/gateway/clientConnection.js.map +1 -1
- package/dist/gateway/optimisticSideThreads.d.ts +11 -5
- package/dist/gateway/optimisticSideThreads.js +103 -47
- package/dist/gateway/optimisticSideThreads.js.map +1 -1
- package/dist/gateway/remoteRelay.js +2 -2
- package/dist/gateway/remoteRelay.js.map +1 -1
- package/dist/gateway/server.js +31 -1
- package/dist/gateway/server.js.map +1 -1
- package/dist/gateway/stockSideThreads.d.ts +3 -6
- package/dist/gateway/stockSideThreads.js +38 -43
- package/dist/gateway/stockSideThreads.js.map +1 -1
- package/dist/gateway/threadList.d.ts +9 -3
- package/dist/gateway/threadList.js +66 -15
- package/dist/gateway/threadList.js.map +1 -1
- package/dist/gateway/transientNotice.js +4 -4
- package/dist/gateway/transientNotice.js.map +1 -1
- package/dist/handoff/service.d.ts +10 -2
- package/dist/handoff/service.js +164 -106
- package/dist/handoff/service.js.map +1 -1
- package/dist/handoff/store.d.ts +21 -0
- package/dist/handoff/store.js +15 -0
- package/dist/handoff/store.js.map +1 -1
- package/dist/handoff/titleGeneration.d.ts +1 -0
- package/dist/handoff/titleGeneration.js.map +1 -1
- package/dist/management/setup.d.ts +6 -0
- package/dist/management/setup.js +11 -3
- package/dist/management/setup.js.map +1 -1
- package/dist/protocol/search.d.ts +24 -0
- package/dist/protocol/search.js +105 -0
- package/dist/protocol/search.js.map +1 -0
- package/dist/protocol/turnPagination.d.ts +16 -0
- package/dist/protocol/turnPagination.js +75 -35
- package/dist/protocol/turnPagination.js.map +1 -1
- package/dist/runtime/dependencies.js +1 -1
- package/dist/store/HybridStore.d.ts +4 -0
- package/dist/store/HybridStore.js +1 -1
- package/dist/store/HybridStore.js.map +1 -1
- package/dist/store/memoryStore.d.ts +6 -0
- package/dist/store/memoryStore.js +16 -0
- package/dist/store/memoryStore.js.map +1 -1
- package/dist/store/sqliteStore.d.ts +3 -0
- package/dist/store/sqliteStore.js +57 -0
- package/dist/store/sqliteStore.js.map +1 -1
- package/legal/THIRD_PARTY_NOTICES.md +160 -140
- package/package.json +6 -6
- package/scripts/install-claude-stack.sh +27 -4
- package/vendor/codex/continuation.md +5 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skillCatalog.js","sourceRoot":"","sources":["../../src/claude/skillCatalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAM1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAA2B,MAAM,mBAAmB,CAAC;AAE/E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,GAAG,MAAM,CAAC;AAEhD,KAAK,SAAS,CAAC,CAAC,UAAU,CAAC,MAAmB;IAC5C,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO;IAC3B,MAAM,IAAI,OAAO,CAAO,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AACpG,CAAC;AAED,SAAS,YAAY,CAAC,GAAW;IAC/B,MAA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AG,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;YACvE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;QAC/D,CAAC;gBAAS,CAAC;YACT,KAAK,CAAC,KAAK,EAAE,CAAC;YACd,QAAQ,EAAE,KAAK,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;CACF"}
|
|
@@ -30,9 +30,8 @@ function durationLabel(window, fallback) {
|
|
|
30
30
|
function windowText(label, value, now) {
|
|
31
31
|
if (!value)
|
|
32
32
|
return undefined;
|
|
33
|
-
const usage = value.usedPercent === null ? "usage unavailable" : `${value.usedPercent}% used`;
|
|
34
33
|
const reset = resetText(value.resetsAt, now);
|
|
35
|
-
return `${label} ▸ ${
|
|
34
|
+
return `${label} ▸ ${value.usedPercent}% used · ${reset ? `resets ${reset}` : "reset unavailable"}`;
|
|
36
35
|
}
|
|
37
36
|
function aggregateWindows(snapshot, now) {
|
|
38
37
|
return [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statusCommand.js","sourceRoot":"","sources":["../../src/claude/statusCommand.ts"],"names":[],"mappings":"AAiCA,MAAM,UAAU,qBAAqB,CAAC,KAAkB;IACtD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,MAAM;QAAE,OAAO,KAAK,CAAC;IAClE,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IACnD,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,KAAK,eAAe,IAAI,OAAO,KAAK,gBAAgB,CAAC;AAChG,CAAC;AAED,0EAA0E;AAC1E,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,SAAS,YAAY,CAAC,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AU,kBAAkB,CAAC,MAAoB,EAAE,GAAG,GAAG,IAAI,IAAI,EAAE;IACvE,OAAO;QACL,uBAAuB;QACvB,EAAE;QACF,GAAG,aAAa,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QACpG,EAAE;QACF,GAAG,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;KACtG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Authentication mode for OpenAI-backed providers.
|
|
3
3
|
*/
|
|
4
|
-
export type AuthMode = "apikey" | "chatgpt" | "chatgptAuthTokens" | "headers" | "agentIdentity" | "personalAccessToken" | "bedrockApiKey";
|
|
4
|
+
export type AuthMode = "apikey" | "chatgpt" | "chatgptAuthTokens" | "headers" | "agentIdentity" | "personalAccessToken" | "bedrockApiKey" | "bedrockAccessKeys";
|
|
@@ -49,6 +49,8 @@ import type { MarketplaceAddParams } from "./v2/MarketplaceAddParams";
|
|
|
49
49
|
import type { MarketplaceRemoveParams } from "./v2/MarketplaceRemoveParams";
|
|
50
50
|
import type { MarketplaceUpgradeParams } from "./v2/MarketplaceUpgradeParams";
|
|
51
51
|
import type { McpResourceReadParams } from "./v2/McpResourceReadParams";
|
|
52
|
+
import type { McpServerEventStreamStartParams } from "./v2/McpServerEventStreamStartParams";
|
|
53
|
+
import type { McpServerEventStreamStopParams } from "./v2/McpServerEventStreamStopParams";
|
|
52
54
|
import type { McpServerOauthLoginParams } from "./v2/McpServerOauthLoginParams";
|
|
53
55
|
import type { McpServerToolCallParams } from "./v2/McpServerToolCallParams";
|
|
54
56
|
import type { MockExperimentalMethodParams } from "./v2/MockExperimentalMethodParams";
|
|
@@ -59,6 +61,7 @@ import type { PluginInstallParams } from "./v2/PluginInstallParams";
|
|
|
59
61
|
import type { PluginInstalledParams } from "./v2/PluginInstalledParams";
|
|
60
62
|
import type { PluginListParams } from "./v2/PluginListParams";
|
|
61
63
|
import type { PluginReadParams } from "./v2/PluginReadParams";
|
|
64
|
+
import type { PluginReconcileParams } from "./v2/PluginReconcileParams";
|
|
62
65
|
import type { PluginSearchParams } from "./v2/PluginSearchParams";
|
|
63
66
|
import type { PluginShareCheckoutParams } from "./v2/PluginShareCheckoutParams";
|
|
64
67
|
import type { PluginShareDeleteParams } from "./v2/PluginShareDeleteParams";
|
|
@@ -136,10 +139,12 @@ import type { ThreadSetNameParams } from "./v2/ThreadSetNameParams";
|
|
|
136
139
|
import type { ThreadSettingsUpdateParams } from "./v2/ThreadSettingsUpdateParams";
|
|
137
140
|
import type { ThreadShellCommandParams } from "./v2/ThreadShellCommandParams";
|
|
138
141
|
import type { ThreadStartParams } from "./v2/ThreadStartParams";
|
|
142
|
+
import type { ThreadTimelineListParams } from "./v2/ThreadTimelineListParams";
|
|
139
143
|
import type { ThreadTurnsListParams } from "./v2/ThreadTurnsListParams";
|
|
140
144
|
import type { ThreadUnarchiveParams } from "./v2/ThreadUnarchiveParams";
|
|
141
145
|
import type { ThreadUnsubscribeParams } from "./v2/ThreadUnsubscribeParams";
|
|
142
146
|
import type { TurnInterruptParams } from "./v2/TurnInterruptParams";
|
|
147
|
+
import type { TurnSettingsUpdateParams } from "./v2/TurnSettingsUpdateParams";
|
|
143
148
|
import type { TurnStartParams } from "./v2/TurnStartParams";
|
|
144
149
|
import type { TurnSteerParams } from "./v2/TurnSteerParams";
|
|
145
150
|
import type { WindowsSandboxSetupStartParams } from "./v2/WindowsSandboxSetupStartParams";
|
|
@@ -394,6 +399,10 @@ export type ClientRequest = {
|
|
|
394
399
|
"method": "plugin/installed";
|
|
395
400
|
id: RequestId;
|
|
396
401
|
params: PluginInstalledParams;
|
|
402
|
+
} | {
|
|
403
|
+
"method": "plugin/reconcile";
|
|
404
|
+
id: RequestId;
|
|
405
|
+
params: PluginReconcileParams;
|
|
397
406
|
} | {
|
|
398
407
|
"method": "plugin/read";
|
|
399
408
|
id: RequestId;
|
|
@@ -486,6 +495,10 @@ export type ClientRequest = {
|
|
|
486
495
|
"method": "turn/start";
|
|
487
496
|
id: RequestId;
|
|
488
497
|
params: TurnStartParams;
|
|
498
|
+
} | {
|
|
499
|
+
"method": "turn/settings/update";
|
|
500
|
+
id: RequestId;
|
|
501
|
+
params: TurnSettingsUpdateParams;
|
|
489
502
|
} | {
|
|
490
503
|
"method": "turn/steer";
|
|
491
504
|
id: RequestId;
|
|
@@ -514,6 +527,10 @@ export type ClientRequest = {
|
|
|
514
527
|
"method": "thread/realtime/stop";
|
|
515
528
|
id: RequestId;
|
|
516
529
|
params: ThreadRealtimeStopParams;
|
|
530
|
+
} | {
|
|
531
|
+
"method": "thread/timeline/list";
|
|
532
|
+
id: RequestId;
|
|
533
|
+
params: ThreadTimelineListParams;
|
|
517
534
|
} | {
|
|
518
535
|
"method": "thread/realtime/listVoices";
|
|
519
536
|
id: RequestId;
|
|
@@ -606,6 +623,14 @@ export type ClientRequest = {
|
|
|
606
623
|
"method": "mcpServer/resource/read";
|
|
607
624
|
id: RequestId;
|
|
608
625
|
params: McpResourceReadParams;
|
|
626
|
+
} | {
|
|
627
|
+
"method": "mcpServer/event/stream/start";
|
|
628
|
+
id: RequestId;
|
|
629
|
+
params: McpServerEventStreamStartParams;
|
|
630
|
+
} | {
|
|
631
|
+
"method": "mcpServer/event/stream/stop";
|
|
632
|
+
id: RequestId;
|
|
633
|
+
params: McpServerEventStreamStopParams;
|
|
609
634
|
} | {
|
|
610
635
|
"method": "mcpServer/tool/call";
|
|
611
636
|
id: RequestId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type InternalSessionSource = "memory_consolidation";
|
|
1
|
+
export type InternalSessionSource = "memory_consolidation" | "guardian";
|
|
@@ -63,7 +63,9 @@ export type ResponseItem = {
|
|
|
63
63
|
} | {
|
|
64
64
|
"type": "function_call_output";
|
|
65
65
|
id?: ResponseItemId;
|
|
66
|
-
call_id
|
|
66
|
+
call_id?: string;
|
|
67
|
+
name?: string;
|
|
68
|
+
namespace?: string;
|
|
67
69
|
output: FunctionCallOutputBody;
|
|
68
70
|
internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough;
|
|
69
71
|
} | {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
-
// Codex 0.
|
|
3
|
-
export const RESPONSE_ITEM_SCHEMA_JSON = "{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"oneOf\":[{\"properties\":{\"content\":{\"items\":{\"$ref\":\"#/definitions/ContentItem\"},\"type\":\"array\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"phase\":{\"anyOf\":[{\"$ref\":\"#/definitions/MessagePhase\"},{\"type\":\"null\"}]},\"role\":{\"type\":\"string\"},\"type\":{\"enum\":[\"message\"],\"title\":\"MessageResponseItemType\",\"type\":\"string\"}},\"required\":[\"content\",\"role\",\"type\"],\"title\":\"MessageResponseItem\",\"type\":\"object\"},{\"properties\":{\"author\":{\"type\":\"string\"},\"content\":{\"items\":{\"$ref\":\"#/definitions/AgentMessageInputContent\"},\"type\":\"array\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"recipient\":{\"type\":\"string\"},\"type\":{\"enum\":[\"agent_message\"],\"title\":\"AgentMessageResponseItemType\",\"type\":\"string\"}},\"required\":[\"author\",\"content\",\"recipient\",\"type\"],\"title\":\"AgentMessageResponseItem\",\"type\":\"object\"},{\"properties\":{\"content\":{\"default\":null,\"items\":{\"$ref\":\"#/definitions/ReasoningItemContent\"},\"type\":[\"array\",\"null\"]},\"encrypted_content\":{\"type\":[\"string\",\"null\"]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"summary\":{\"items\":{\"$ref\":\"#/definitions/ReasoningItemReasoningSummary\"},\"type\":\"array\"},\"type\":{\"enum\":[\"reasoning\"],\"title\":\"ReasoningResponseItemType\",\"type\":\"string\"}},\"required\":[\"summary\",\"type\"],\"title\":\"ReasoningResponseItem\",\"type\":\"object\"},{\"properties\":{\"action\":{\"$ref\":\"#/definitions/LocalShellAction\"},\"call_id\":{\"description\":\"Set when using the Responses API.\",\"type\":[\"string\",\"null\"]},\"id\":{\"description\":\"Legacy id field retained for compatibility with older payloads.\",\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"$ref\":\"#/definitions/LocalShellStatus\"},\"type\":{\"enum\":[\"local_shell_call\"],\"title\":\"LocalShellCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"action\",\"status\",\"type\"],\"title\":\"LocalShellCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"arguments\":{\"type\":\"string\"},\"call_id\":{\"type\":\"string\"},\"encrypted_function_args\":{\"items\":{\"type\":\"string\"},\"type\":[\"array\",\"null\"]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"name\":{\"type\":\"string\"},\"namespace\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"function_call\"],\"title\":\"FunctionCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"arguments\",\"call_id\",\"name\",\"type\"],\"title\":\"FunctionCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"arguments\":true,\"call_id\":{\"type\":[\"string\",\"null\"]},\"execution\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"tool_search_call\"],\"title\":\"ToolSearchCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"arguments\",\"execution\",\"type\"],\"title\":\"ToolSearchCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"output\":{\"$ref\":\"#/definitions/FunctionCallOutputBody\"},\"type\":{\"enum\":[\"function_call_output\"],\"title\":\"FunctionCallOutputResponseItemType\",\"type\":\"string\"}},\"required\":[\"call_id\",\"output\",\"type\"],\"title\":\"FunctionCallOutputResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"input\":{\"type\":\"string\"},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"name\":{\"type\":\"string\"},\"namespace\":{\"type\":[\"string\",\"null\"]},\"status\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"custom_tool_call\"],\"title\":\"CustomToolCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"call_id\",\"input\",\"name\",\"type\"],\"title\":\"CustomToolCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"name\":{\"type\":[\"string\",\"null\"]},\"output\":{\"$ref\":\"#/definitions/FunctionCallOutputBody\"},\"type\":{\"enum\":[\"custom_tool_call_output\"],\"title\":\"CustomToolCallOutputResponseItemType\",\"type\":\"string\"}},\"required\":[\"call_id\",\"output\",\"type\"],\"title\":\"CustomToolCallOutputResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":[\"string\",\"null\"]},\"execution\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"type\":\"string\"},\"tools\":{\"items\":true,\"type\":\"array\"},\"type\":{\"enum\":[\"tool_search_output\"],\"title\":\"ToolSearchOutputResponseItemType\",\"type\":\"string\"}},\"required\":[\"execution\",\"status\",\"tools\",\"type\"],\"title\":\"ToolSearchOutputResponseItem\",\"type\":\"object\"},{\"properties\":{\"action\":{\"anyOf\":[{\"$ref\":\"#/definitions/ResponsesApiWebSearchAction\"},{\"type\":\"null\"}]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"web_search_call\"],\"title\":\"WebSearchCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"WebSearchCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"result\":{\"type\":\"string\"},\"revised_prompt\":{\"type\":[\"string\",\"null\"]},\"status\":{\"type\":\"string\"},\"type\":{\"enum\":[\"image_generation_call\"],\"title\":\"ImageGenerationCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"result\",\"status\",\"type\"],\"title\":\"ImageGenerationCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"type\":{\"enum\":[\"compaction\"],\"title\":\"CompactionResponseItemType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"CompactionResponseItem\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"compaction_trigger\"],\"title\":\"CompactionTriggerResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"CompactionTriggerResponseItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":[\"string\",\"null\"]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"type\":{\"enum\":[\"context_compaction\"],\"title\":\"ContextCompactionResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"ContextCompactionResponseItem\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"other\"],\"title\":\"OtherResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"OtherResponseItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"type\":{\"enum\":[\"compaction_summary\"],\"title\":\"compaction_summaryResponseItemType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"compaction_summaryResponseItem\",\"type\":\"object\"},{\"type\":\"object\",\"required\":[\"role\",\"tools\",\"type\"],\"properties\":{\"id\":{\"type\":[\"string\",\"null\"]},\"role\":{\"type\":\"string\"},\"tools\":{\"type\":\"array\",\"items\":{}},\"type\":{\"type\":\"string\",\"enum\":[\"additional_tools\"]}},\"title\":\"AdditionalToolsResponseItem\"}],\"definitions\":{\"AgentMessageInputContent\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_text\"],\"title\":\"InputTextAgentMessageInputContentType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"InputTextAgentMessageInputContent\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"type\":{\"enum\":[\"encrypted_content\"],\"title\":\"EncryptedContentAgentMessageInputContentType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"EncryptedContentAgentMessageInputContent\",\"type\":\"object\"}]},\"ContentItem\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_text\"],\"title\":\"InputTextContentItemType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"InputTextContentItem\",\"type\":\"object\"},{\"properties\":{\"detail\":{\"anyOf\":[{\"$ref\":\"#/definitions/ImageDetail\"},{\"type\":\"null\"}]},\"image_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_image\"],\"title\":\"InputImageContentItemType\",\"type\":\"string\"}},\"required\":[\"image_url\",\"type\"],\"title\":\"InputImageContentItem\",\"type\":\"object\"},{\"properties\":{\"audio_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_audio\"],\"title\":\"InputAudioContentItemType\",\"type\":\"string\"}},\"required\":[\"audio_url\",\"type\"],\"title\":\"InputAudioContentItem\",\"type\":\"object\"},{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"output_text\"],\"title\":\"OutputTextContentItemType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"OutputTextContentItem\",\"type\":\"object\"}]},\"FunctionCallOutputBody\":{\"anyOf\":[{\"type\":\"string\"},{\"items\":{\"$ref\":\"#/definitions/FunctionCallOutputContentItem\"},\"type\":\"array\"}]},\"FunctionCallOutputContentItem\":{\"description\":\"Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.\",\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_text\"],\"title\":\"InputTextFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"InputTextFunctionCallOutputContentItem\",\"type\":\"object\"},{\"properties\":{\"detail\":{\"anyOf\":[{\"$ref\":\"#/definitions/ImageDetail\"},{\"type\":\"null\"}]},\"image_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_image\"],\"title\":\"InputImageFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"image_url\",\"type\"],\"title\":\"InputImageFunctionCallOutputContentItem\",\"type\":\"object\"},{\"properties\":{\"audio_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_audio\"],\"title\":\"InputAudioFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"audio_url\",\"type\"],\"title\":\"InputAudioFunctionCallOutputContentItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"type\":{\"enum\":[\"encrypted_content\"],\"title\":\"EncryptedContentFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"EncryptedContentFunctionCallOutputContentItem\",\"type\":\"object\"}]},\"ImageDetail\":{\"enum\":[\"auto\",\"low\",\"high\",\"original\"],\"type\":\"string\"},\"InternalChatMessageMetadataPassthrough\":{\"description\":\"Internal Responses API passthrough metadata copied into underlying chat messages.\\n\\nResponses API strongly types this payload. Do not modify it without first getting API approval and making the corresponding Responses API change.\",\"properties\":{\"turn_id\":{\"type\":[\"string\",\"null\"]}},\"type\":\"object\"},\"LocalShellAction\":{\"oneOf\":[{\"properties\":{\"command\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"env\":{\"additionalProperties\":{\"type\":\"string\"},\"type\":[\"object\",\"null\"]},\"timeout_ms\":{\"format\":\"uint64\",\"minimum\":0,\"type\":[\"integer\",\"null\"]},\"type\":{\"enum\":[\"exec\"],\"title\":\"ExecLocalShellActionType\",\"type\":\"string\"},\"user\":{\"type\":[\"string\",\"null\"]},\"working_directory\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"command\",\"type\"],\"title\":\"ExecLocalShellAction\",\"type\":\"object\"}]},\"LocalShellStatus\":{\"enum\":[\"completed\",\"in_progress\",\"incomplete\"],\"type\":\"string\"},\"MessagePhase\":{\"description\":\"Classifies an assistant message as interim commentary or final answer text.\\n\\nProviders do not emit this consistently, so callers must treat `None` as \\\"phase unknown\\\" and keep compatibility behavior for legacy models.\",\"oneOf\":[{\"description\":\"Mid-turn assistant text (for example preamble/progress narration).\\n\\nAdditional tool calls or assistant output may follow before turn completion.\",\"enum\":[\"commentary\"],\"type\":\"string\"},{\"description\":\"The assistant's terminal answer text for the current turn.\",\"enum\":[\"final_answer\"],\"type\":\"string\"}]},\"ReasoningItemContent\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"reasoning_text\"],\"title\":\"ReasoningTextReasoningItemContentType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"ReasoningTextReasoningItemContent\",\"type\":\"object\"},{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"text\"],\"title\":\"TextReasoningItemContentType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"TextReasoningItemContent\",\"type\":\"object\"}]},\"ReasoningItemReasoningSummary\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"summary_text\"],\"title\":\"SummaryTextReasoningItemReasoningSummaryType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"SummaryTextReasoningItemReasoningSummary\",\"type\":\"object\"}]},\"ResponsesApiWebSearchAction\":{\"oneOf\":[{\"properties\":{\"queries\":{\"items\":{\"type\":\"string\"},\"type\":[\"array\",\"null\"]},\"query\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"search\"],\"title\":\"SearchResponsesApiWebSearchActionType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"SearchResponsesApiWebSearchAction\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"open_page\"],\"title\":\"OpenPageResponsesApiWebSearchActionType\",\"type\":\"string\"},\"url\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"type\"],\"title\":\"OpenPageResponsesApiWebSearchAction\",\"type\":\"object\"},{\"properties\":{\"pattern\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"find_in_page\"],\"title\":\"FindInPageResponsesApiWebSearchActionType\",\"type\":\"string\"},\"url\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"type\"],\"title\":\"FindInPageResponsesApiWebSearchAction\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"other\"],\"title\":\"OtherResponsesApiWebSearchActionType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"OtherResponsesApiWebSearchAction\",\"type\":\"object\"}]}}}";
|
|
2
|
+
// Codex 0.153.3 ClientRequest JSON schema plus version-pinned serde overlays.
|
|
3
|
+
export const RESPONSE_ITEM_SCHEMA_JSON = "{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"oneOf\":[{\"properties\":{\"content\":{\"items\":{\"$ref\":\"#/definitions/ContentItem\"},\"type\":\"array\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"phase\":{\"anyOf\":[{\"$ref\":\"#/definitions/MessagePhase\"},{\"type\":\"null\"}]},\"role\":{\"type\":\"string\"},\"type\":{\"enum\":[\"message\"],\"title\":\"MessageResponseItemType\",\"type\":\"string\"}},\"required\":[\"content\",\"role\",\"type\"],\"title\":\"MessageResponseItem\",\"type\":\"object\"},{\"properties\":{\"author\":{\"type\":\"string\"},\"content\":{\"items\":{\"$ref\":\"#/definitions/AgentMessageInputContent\"},\"type\":\"array\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"recipient\":{\"type\":\"string\"},\"type\":{\"enum\":[\"agent_message\"],\"title\":\"AgentMessageResponseItemType\",\"type\":\"string\"}},\"required\":[\"author\",\"content\",\"recipient\",\"type\"],\"title\":\"AgentMessageResponseItem\",\"type\":\"object\"},{\"properties\":{\"content\":{\"default\":null,\"items\":{\"$ref\":\"#/definitions/ReasoningItemContent\"},\"type\":[\"array\",\"null\"]},\"encrypted_content\":{\"type\":[\"string\",\"null\"]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"summary\":{\"items\":{\"$ref\":\"#/definitions/ReasoningItemReasoningSummary\"},\"type\":\"array\"},\"type\":{\"enum\":[\"reasoning\"],\"title\":\"ReasoningResponseItemType\",\"type\":\"string\"}},\"required\":[\"summary\",\"type\"],\"title\":\"ReasoningResponseItem\",\"type\":\"object\"},{\"properties\":{\"action\":{\"$ref\":\"#/definitions/LocalShellAction\"},\"call_id\":{\"description\":\"Set when using the Responses API.\",\"type\":[\"string\",\"null\"]},\"id\":{\"description\":\"Legacy id field retained for compatibility with older payloads.\",\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"$ref\":\"#/definitions/LocalShellStatus\"},\"type\":{\"enum\":[\"local_shell_call\"],\"title\":\"LocalShellCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"action\",\"status\",\"type\"],\"title\":\"LocalShellCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"arguments\":{\"type\":\"string\"},\"call_id\":{\"type\":\"string\"},\"encrypted_function_args\":{\"items\":{\"type\":\"string\"},\"type\":[\"array\",\"null\"]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"name\":{\"type\":\"string\"},\"namespace\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"function_call\"],\"title\":\"FunctionCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"arguments\",\"call_id\",\"name\",\"type\"],\"title\":\"FunctionCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"arguments\":true,\"call_id\":{\"type\":[\"string\",\"null\"]},\"execution\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"tool_search_call\"],\"title\":\"ToolSearchCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"arguments\",\"execution\",\"type\"],\"title\":\"ToolSearchCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":[\"string\",\"null\"]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"name\":{\"type\":[\"string\",\"null\"]},\"namespace\":{\"type\":[\"string\",\"null\"]},\"output\":{\"$ref\":\"#/definitions/FunctionCallOutputBody\"},\"type\":{\"enum\":[\"function_call_output\"],\"title\":\"FunctionCallOutputResponseItemType\",\"type\":\"string\"}},\"required\":[\"output\",\"type\"],\"title\":\"FunctionCallOutputResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"input\":{\"type\":\"string\"},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"name\":{\"type\":\"string\"},\"namespace\":{\"type\":[\"string\",\"null\"]},\"status\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"custom_tool_call\"],\"title\":\"CustomToolCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"call_id\",\"input\",\"name\",\"type\"],\"title\":\"CustomToolCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"name\":{\"type\":[\"string\",\"null\"]},\"output\":{\"$ref\":\"#/definitions/FunctionCallOutputBody\"},\"type\":{\"enum\":[\"custom_tool_call_output\"],\"title\":\"CustomToolCallOutputResponseItemType\",\"type\":\"string\"}},\"required\":[\"call_id\",\"output\",\"type\"],\"title\":\"CustomToolCallOutputResponseItem\",\"type\":\"object\"},{\"properties\":{\"call_id\":{\"type\":[\"string\",\"null\"]},\"execution\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"type\":\"string\"},\"tools\":{\"items\":true,\"type\":\"array\"},\"type\":{\"enum\":[\"tool_search_output\"],\"title\":\"ToolSearchOutputResponseItemType\",\"type\":\"string\"}},\"required\":[\"execution\",\"status\",\"tools\",\"type\"],\"title\":\"ToolSearchOutputResponseItem\",\"type\":\"object\"},{\"properties\":{\"action\":{\"anyOf\":[{\"$ref\":\"#/definitions/ResponsesApiWebSearchAction\"},{\"type\":\"null\"}]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"status\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"web_search_call\"],\"title\":\"WebSearchCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"WebSearchCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"result\":{\"type\":\"string\"},\"revised_prompt\":{\"type\":[\"string\",\"null\"]},\"status\":{\"type\":\"string\"},\"type\":{\"enum\":[\"image_generation_call\"],\"title\":\"ImageGenerationCallResponseItemType\",\"type\":\"string\"}},\"required\":[\"result\",\"status\",\"type\"],\"title\":\"ImageGenerationCallResponseItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"type\":{\"enum\":[\"compaction\"],\"title\":\"CompactionResponseItemType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"CompactionResponseItem\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"compaction_trigger\"],\"title\":\"CompactionTriggerResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"CompactionTriggerResponseItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":[\"string\",\"null\"]},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"type\":{\"enum\":[\"context_compaction\"],\"title\":\"ContextCompactionResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"ContextCompactionResponseItem\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"other\"],\"title\":\"OtherResponseItemType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"OtherResponseItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"id\":{\"type\":[\"string\",\"null\"]},\"internal_chat_message_metadata_passthrough\":{\"anyOf\":[{\"$ref\":\"#/definitions/InternalChatMessageMetadataPassthrough\"},{\"type\":\"null\"}]},\"type\":{\"enum\":[\"compaction_summary\"],\"title\":\"compaction_summaryResponseItemType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"compaction_summaryResponseItem\",\"type\":\"object\"},{\"type\":\"object\",\"required\":[\"role\",\"tools\",\"type\"],\"properties\":{\"id\":{\"type\":[\"string\",\"null\"]},\"role\":{\"type\":\"string\"},\"tools\":{\"type\":\"array\",\"items\":{}},\"type\":{\"type\":\"string\",\"enum\":[\"additional_tools\"]}},\"title\":\"AdditionalToolsResponseItem\"}],\"definitions\":{\"AgentMessageInputContent\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_text\"],\"title\":\"InputTextAgentMessageInputContentType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"InputTextAgentMessageInputContent\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"type\":{\"enum\":[\"encrypted_content\"],\"title\":\"EncryptedContentAgentMessageInputContentType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"EncryptedContentAgentMessageInputContent\",\"type\":\"object\"}]},\"ContentItem\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_text\"],\"title\":\"InputTextContentItemType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"InputTextContentItem\",\"type\":\"object\"},{\"properties\":{\"detail\":{\"anyOf\":[{\"$ref\":\"#/definitions/ImageDetail\"},{\"type\":\"null\"}]},\"image_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_image\"],\"title\":\"InputImageContentItemType\",\"type\":\"string\"}},\"required\":[\"image_url\",\"type\"],\"title\":\"InputImageContentItem\",\"type\":\"object\"},{\"properties\":{\"audio_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_audio\"],\"title\":\"InputAudioContentItemType\",\"type\":\"string\"}},\"required\":[\"audio_url\",\"type\"],\"title\":\"InputAudioContentItem\",\"type\":\"object\"},{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"output_text\"],\"title\":\"OutputTextContentItemType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"OutputTextContentItem\",\"type\":\"object\"}]},\"FunctionCallOutputBody\":{\"anyOf\":[{\"type\":\"string\"},{\"items\":{\"$ref\":\"#/definitions/FunctionCallOutputContentItem\"},\"type\":\"array\"}]},\"FunctionCallOutputContentItem\":{\"description\":\"Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.\",\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_text\"],\"title\":\"InputTextFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"InputTextFunctionCallOutputContentItem\",\"type\":\"object\"},{\"properties\":{\"detail\":{\"anyOf\":[{\"$ref\":\"#/definitions/ImageDetail\"},{\"type\":\"null\"}]},\"image_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_image\"],\"title\":\"InputImageFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"image_url\",\"type\"],\"title\":\"InputImageFunctionCallOutputContentItem\",\"type\":\"object\"},{\"properties\":{\"audio_url\":{\"type\":\"string\"},\"type\":{\"enum\":[\"input_audio\"],\"title\":\"InputAudioFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"audio_url\",\"type\"],\"title\":\"InputAudioFunctionCallOutputContentItem\",\"type\":\"object\"},{\"properties\":{\"encrypted_content\":{\"type\":\"string\"},\"type\":{\"enum\":[\"encrypted_content\"],\"title\":\"EncryptedContentFunctionCallOutputContentItemType\",\"type\":\"string\"}},\"required\":[\"encrypted_content\",\"type\"],\"title\":\"EncryptedContentFunctionCallOutputContentItem\",\"type\":\"object\"}]},\"ImageDetail\":{\"enum\":[\"auto\",\"low\",\"high\",\"original\"],\"type\":\"string\"},\"InternalChatMessageMetadataPassthrough\":{\"description\":\"Internal Responses API passthrough metadata copied into underlying chat messages.\\n\\nResponses API strongly types this payload. Do not modify it without first getting API approval and making the corresponding Responses API change.\",\"properties\":{\"turn_id\":{\"type\":[\"string\",\"null\"]}},\"type\":\"object\"},\"LocalShellAction\":{\"oneOf\":[{\"properties\":{\"command\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"env\":{\"additionalProperties\":{\"type\":\"string\"},\"type\":[\"object\",\"null\"]},\"timeout_ms\":{\"format\":\"uint64\",\"minimum\":0,\"type\":[\"integer\",\"null\"]},\"type\":{\"enum\":[\"exec\"],\"title\":\"ExecLocalShellActionType\",\"type\":\"string\"},\"user\":{\"type\":[\"string\",\"null\"]},\"working_directory\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"command\",\"type\"],\"title\":\"ExecLocalShellAction\",\"type\":\"object\"}]},\"LocalShellStatus\":{\"enum\":[\"completed\",\"in_progress\",\"incomplete\"],\"type\":\"string\"},\"MessagePhase\":{\"description\":\"Classifies an assistant message as interim commentary or final answer text.\\n\\nProviders do not emit this consistently, so callers must treat `None` as \\\"phase unknown\\\" and keep compatibility behavior for legacy models.\",\"oneOf\":[{\"description\":\"Mid-turn assistant text (for example preamble/progress narration).\\n\\nAdditional tool calls or assistant output may follow before turn completion.\",\"enum\":[\"commentary\"],\"type\":\"string\"},{\"description\":\"The assistant's terminal answer text for the current turn.\",\"enum\":[\"final_answer\"],\"type\":\"string\"}]},\"ReasoningItemContent\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"reasoning_text\"],\"title\":\"ReasoningTextReasoningItemContentType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"ReasoningTextReasoningItemContent\",\"type\":\"object\"},{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"text\"],\"title\":\"TextReasoningItemContentType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"TextReasoningItemContent\",\"type\":\"object\"}]},\"ReasoningItemReasoningSummary\":{\"oneOf\":[{\"properties\":{\"text\":{\"type\":\"string\"},\"type\":{\"enum\":[\"summary_text\"],\"title\":\"SummaryTextReasoningItemReasoningSummaryType\",\"type\":\"string\"}},\"required\":[\"text\",\"type\"],\"title\":\"SummaryTextReasoningItemReasoningSummary\",\"type\":\"object\"}]},\"ResponsesApiWebSearchAction\":{\"oneOf\":[{\"properties\":{\"queries\":{\"items\":{\"type\":\"string\"},\"type\":[\"array\",\"null\"]},\"query\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"search\"],\"title\":\"SearchResponsesApiWebSearchActionType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"SearchResponsesApiWebSearchAction\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"open_page\"],\"title\":\"OpenPageResponsesApiWebSearchActionType\",\"type\":\"string\"},\"url\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"type\"],\"title\":\"OpenPageResponsesApiWebSearchAction\",\"type\":\"object\"},{\"properties\":{\"pattern\":{\"type\":[\"string\",\"null\"]},\"type\":{\"enum\":[\"find_in_page\"],\"title\":\"FindInPageResponsesApiWebSearchActionType\",\"type\":\"string\"},\"url\":{\"type\":[\"string\",\"null\"]}},\"required\":[\"type\"],\"title\":\"FindInPageResponsesApiWebSearchAction\",\"type\":\"object\"},{\"properties\":{\"type\":{\"enum\":[\"other\"],\"title\":\"OtherResponsesApiWebSearchActionType\",\"type\":\"string\"}},\"required\":[\"type\"],\"title\":\"OtherResponsesApiWebSearchAction\",\"type\":\"object\"}]}}}";
|
|
4
4
|
export const RESPONSE_ITEM_KNOWN_TYPES = ["message", "agent_message", "reasoning", "local_shell_call", "function_call", "tool_search_call", "function_call_output", "custom_tool_call", "custom_tool_call_output", "tool_search_output", "web_search_call", "image_generation_call", "compaction", "compaction_trigger", "context_compaction", "other", "compaction_summary", "additional_tools"];
|
|
5
5
|
export const WEB_SEARCH_ACTION_KNOWN_TYPES = ["search", "open_page", "find_in_page", "other"];
|
|
6
6
|
export const RESPONSE_ITEM_IMAGE_FIELDS = { "message": ["content"], "function_call_output": ["output"], "custom_tool_call_output": ["output"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseItemRuntimeSchema.js","sourceRoot":"","sources":["../../../src/codex/generated/ResponseItemRuntimeSchema.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,8EAA8E;AAC9E,MAAM,CAAC,MAAM,yBAAyB,GAAW,
|
|
1
|
+
{"version":3,"file":"ResponseItemRuntimeSchema.js","sourceRoot":"","sources":["../../../src/codex/generated/ResponseItemRuntimeSchema.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,8EAA8E;AAC9E,MAAM,CAAC,MAAM,yBAAyB,GAAW,+wgBAA+wgB,CAAC;AACj0gB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,SAAS,EAAC,eAAe,EAAC,WAAW,EAAC,kBAAkB,EAAC,eAAe,EAAC,kBAAkB,EAAC,sBAAsB,EAAC,kBAAkB,EAAC,yBAAyB,EAAC,oBAAoB,EAAC,iBAAiB,EAAC,uBAAuB,EAAC,YAAY,EAAC,oBAAoB,EAAC,oBAAoB,EAAC,OAAO,EAAC,oBAAoB,EAAC,kBAAkB,CAAU,CAAC;AAC1X,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,QAAQ,EAAC,WAAW,EAAC,cAAc,EAAC,OAAO,CAAU,CAAC;AACpG,MAAM,CAAC,MAAM,0BAA0B,GAAG,EAAC,SAAS,EAAC,CAAC,SAAS,CAAC,EAAC,sBAAsB,EAAC,CAAC,QAAQ,CAAC,EAAC,yBAAyB,EAAC,CAAC,QAAQ,CAAC,EAAU,CAAC"}
|
|
@@ -5,6 +5,7 @@ import type { AccountRateLimitsUpdatedNotification } from "./v2/AccountRateLimit
|
|
|
5
5
|
import type { AccountUpdatedNotification } from "./v2/AccountUpdatedNotification";
|
|
6
6
|
import type { AgentMessageDeltaNotification } from "./v2/AgentMessageDeltaNotification";
|
|
7
7
|
import type { AppListUpdatedNotification } from "./v2/AppListUpdatedNotification";
|
|
8
|
+
import type { AuthRecoveryNotification } from "./v2/AuthRecoveryNotification";
|
|
8
9
|
import type { CommandExecOutputDeltaNotification } from "./v2/CommandExecOutputDeltaNotification";
|
|
9
10
|
import type { CommandExecutionOutputDeltaNotification } from "./v2/CommandExecutionOutputDeltaNotification";
|
|
10
11
|
import type { ConfigWarningNotification } from "./v2/ConfigWarningNotification";
|
|
@@ -24,6 +25,7 @@ import type { ItemCompletedNotification } from "./v2/ItemCompletedNotification";
|
|
|
24
25
|
import type { ItemGuardianApprovalReviewCompletedNotification } from "./v2/ItemGuardianApprovalReviewCompletedNotification";
|
|
25
26
|
import type { ItemGuardianApprovalReviewStartedNotification } from "./v2/ItemGuardianApprovalReviewStartedNotification";
|
|
26
27
|
import type { ItemStartedNotification } from "./v2/ItemStartedNotification";
|
|
28
|
+
import type { McpServerEventStreamNotification } from "./v2/McpServerEventStreamNotification";
|
|
27
29
|
import type { McpServerOauthLoginCompletedNotification } from "./v2/McpServerOauthLoginCompletedNotification";
|
|
28
30
|
import type { McpServerStatusUpdatedNotification } from "./v2/McpServerStatusUpdatedNotification";
|
|
29
31
|
import type { McpToolCallProgressNotification } from "./v2/McpToolCallProgressNotification";
|
|
@@ -55,6 +57,9 @@ import type { ThreadQueueChangedNotification } from "./v2/ThreadQueueChangedNoti
|
|
|
55
57
|
import type { ThreadRealtimeClosedNotification } from "./v2/ThreadRealtimeClosedNotification";
|
|
56
58
|
import type { ThreadRealtimeErrorNotification } from "./v2/ThreadRealtimeErrorNotification";
|
|
57
59
|
import type { ThreadRealtimeItemAddedNotification } from "./v2/ThreadRealtimeItemAddedNotification";
|
|
60
|
+
import type { ThreadRealtimeItemCompletedNotification } from "./v2/ThreadRealtimeItemCompletedNotification";
|
|
61
|
+
import type { ThreadRealtimeItemStartedNotification } from "./v2/ThreadRealtimeItemStartedNotification";
|
|
62
|
+
import type { ThreadRealtimeItemTranscriptDeltaNotification } from "./v2/ThreadRealtimeItemTranscriptDeltaNotification";
|
|
58
63
|
import type { ThreadRealtimeOutputAudioDeltaNotification } from "./v2/ThreadRealtimeOutputAudioDeltaNotification";
|
|
59
64
|
import type { ThreadRealtimeSdpNotification } from "./v2/ThreadRealtimeSdpNotification";
|
|
60
65
|
import type { ThreadRealtimeStartedNotification } from "./v2/ThreadRealtimeStartedNotification";
|
|
@@ -212,6 +217,9 @@ export type ServerNotification = {
|
|
|
212
217
|
} | {
|
|
213
218
|
"method": "mcpServer/startupStatus/updated";
|
|
214
219
|
"params": McpServerStatusUpdatedNotification;
|
|
220
|
+
} | {
|
|
221
|
+
"method": "mcpServer/event/stream/notification";
|
|
222
|
+
"params": McpServerEventStreamNotification;
|
|
215
223
|
} | {
|
|
216
224
|
"method": "account/updated";
|
|
217
225
|
"params": AccountUpdatedNotification;
|
|
@@ -251,6 +259,12 @@ export type ServerNotification = {
|
|
|
251
259
|
} | {
|
|
252
260
|
"method": "model/verification";
|
|
253
261
|
"params": ModelVerificationNotification;
|
|
262
|
+
} | {
|
|
263
|
+
"method": "modelProvider/authRecoveryStarted";
|
|
264
|
+
"params": AuthRecoveryNotification;
|
|
265
|
+
} | {
|
|
266
|
+
"method": "modelProvider/authRecoveryCompleted";
|
|
267
|
+
"params": AuthRecoveryNotification;
|
|
254
268
|
} | {
|
|
255
269
|
"method": "turn/moderationMetadata";
|
|
256
270
|
"params": TurnModerationMetadataNotification;
|
|
@@ -281,6 +295,15 @@ export type ServerNotification = {
|
|
|
281
295
|
} | {
|
|
282
296
|
"method": "thread/realtime/itemAdded";
|
|
283
297
|
"params": ThreadRealtimeItemAddedNotification;
|
|
298
|
+
} | {
|
|
299
|
+
"method": "thread/realtime/item/started";
|
|
300
|
+
"params": ThreadRealtimeItemStartedNotification;
|
|
301
|
+
} | {
|
|
302
|
+
"method": "thread/realtime/item/transcript/delta";
|
|
303
|
+
"params": ThreadRealtimeItemTranscriptDeltaNotification;
|
|
304
|
+
} | {
|
|
305
|
+
"method": "thread/realtime/item/completed";
|
|
306
|
+
"params": ThreadRealtimeItemCompletedNotification;
|
|
284
307
|
} | {
|
|
285
308
|
"method": "thread/realtime/transcript/delta";
|
|
286
309
|
"params": ThreadRealtimeTranscriptDeltaNotification;
|
|
@@ -5,6 +5,7 @@ import type { AccountRateLimitsUpdatedNotification } from "./v2/AccountRateLimit
|
|
|
5
5
|
import type { AccountUpdatedNotification } from "./v2/AccountUpdatedNotification";
|
|
6
6
|
import type { AgentMessageDeltaNotification } from "./v2/AgentMessageDeltaNotification";
|
|
7
7
|
import type { AppListUpdatedNotification } from "./v2/AppListUpdatedNotification";
|
|
8
|
+
import type { AuthRecoveryNotification } from "./v2/AuthRecoveryNotification";
|
|
8
9
|
import type { CommandExecOutputDeltaNotification } from "./v2/CommandExecOutputDeltaNotification";
|
|
9
10
|
import type { CommandExecutionOutputDeltaNotification } from "./v2/CommandExecutionOutputDeltaNotification";
|
|
10
11
|
import type { ConfigWarningNotification } from "./v2/ConfigWarningNotification";
|
|
@@ -24,6 +25,7 @@ import type { ItemCompletedNotification } from "./v2/ItemCompletedNotification";
|
|
|
24
25
|
import type { ItemGuardianApprovalReviewCompletedNotification } from "./v2/ItemGuardianApprovalReviewCompletedNotification";
|
|
25
26
|
import type { ItemGuardianApprovalReviewStartedNotification } from "./v2/ItemGuardianApprovalReviewStartedNotification";
|
|
26
27
|
import type { ItemStartedNotification } from "./v2/ItemStartedNotification";
|
|
28
|
+
import type { McpServerEventStreamNotification } from "./v2/McpServerEventStreamNotification";
|
|
27
29
|
import type { McpServerOauthLoginCompletedNotification } from "./v2/McpServerOauthLoginCompletedNotification";
|
|
28
30
|
import type { McpServerStatusUpdatedNotification } from "./v2/McpServerStatusUpdatedNotification";
|
|
29
31
|
import type { McpToolCallProgressNotification } from "./v2/McpToolCallProgressNotification";
|
|
@@ -55,6 +57,9 @@ import type { ThreadQueueChangedNotification } from "./v2/ThreadQueueChangedNoti
|
|
|
55
57
|
import type { ThreadRealtimeClosedNotification } from "./v2/ThreadRealtimeClosedNotification";
|
|
56
58
|
import type { ThreadRealtimeErrorNotification } from "./v2/ThreadRealtimeErrorNotification";
|
|
57
59
|
import type { ThreadRealtimeItemAddedNotification } from "./v2/ThreadRealtimeItemAddedNotification";
|
|
60
|
+
import type { ThreadRealtimeItemCompletedNotification } from "./v2/ThreadRealtimeItemCompletedNotification";
|
|
61
|
+
import type { ThreadRealtimeItemStartedNotification } from "./v2/ThreadRealtimeItemStartedNotification";
|
|
62
|
+
import type { ThreadRealtimeItemTranscriptDeltaNotification } from "./v2/ThreadRealtimeItemTranscriptDeltaNotification";
|
|
58
63
|
import type { ThreadRealtimeOutputAudioDeltaNotification } from "./v2/ThreadRealtimeOutputAudioDeltaNotification";
|
|
59
64
|
import type { ThreadRealtimeSdpNotification } from "./v2/ThreadRealtimeSdpNotification";
|
|
60
65
|
import type { ThreadRealtimeStartedNotification } from "./v2/ThreadRealtimeStartedNotification";
|
|
@@ -223,6 +228,9 @@ export type ServerNotificationEnvelope = {
|
|
|
223
228
|
} | {
|
|
224
229
|
"method": "mcpServer/startupStatus/updated";
|
|
225
230
|
"params": McpServerStatusUpdatedNotification;
|
|
231
|
+
} | {
|
|
232
|
+
"method": "mcpServer/event/stream/notification";
|
|
233
|
+
"params": McpServerEventStreamNotification;
|
|
226
234
|
} | {
|
|
227
235
|
"method": "account/updated";
|
|
228
236
|
"params": AccountUpdatedNotification;
|
|
@@ -262,6 +270,12 @@ export type ServerNotificationEnvelope = {
|
|
|
262
270
|
} | {
|
|
263
271
|
"method": "model/verification";
|
|
264
272
|
"params": ModelVerificationNotification;
|
|
273
|
+
} | {
|
|
274
|
+
"method": "modelProvider/authRecoveryStarted";
|
|
275
|
+
"params": AuthRecoveryNotification;
|
|
276
|
+
} | {
|
|
277
|
+
"method": "modelProvider/authRecoveryCompleted";
|
|
278
|
+
"params": AuthRecoveryNotification;
|
|
265
279
|
} | {
|
|
266
280
|
"method": "turn/moderationMetadata";
|
|
267
281
|
"params": TurnModerationMetadataNotification;
|
|
@@ -292,6 +306,15 @@ export type ServerNotificationEnvelope = {
|
|
|
292
306
|
} | {
|
|
293
307
|
"method": "thread/realtime/itemAdded";
|
|
294
308
|
"params": ThreadRealtimeItemAddedNotification;
|
|
309
|
+
} | {
|
|
310
|
+
"method": "thread/realtime/item/started";
|
|
311
|
+
"params": ThreadRealtimeItemStartedNotification;
|
|
312
|
+
} | {
|
|
313
|
+
"method": "thread/realtime/item/transcript/delta";
|
|
314
|
+
"params": ThreadRealtimeItemTranscriptDeltaNotification;
|
|
315
|
+
} | {
|
|
316
|
+
"method": "thread/realtime/item/completed";
|
|
317
|
+
"params": ThreadRealtimeItemCompletedNotification;
|
|
295
318
|
} | {
|
|
296
319
|
"method": "thread/realtime/transcript/delta";
|
|
297
320
|
"params": ThreadRealtimeTranscriptDeltaNotification;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AllowDenyRequirement = "allow" | "deny";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AllowDenyRequirement.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AllowDenyRequirement.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AppToolApproval } from "./AppToolApproval";
|
|
2
|
+
import type { ApprovalsReviewer } from "./ApprovalsReviewer";
|
|
3
|
+
/**
|
|
4
|
+
* Account settings for a single app.
|
|
5
|
+
*/
|
|
6
|
+
export type AppLinksConfig = {
|
|
7
|
+
[key in string]?: {
|
|
8
|
+
approvals_reviewer: ApprovalsReviewer | null;
|
|
9
|
+
default_tools_approval_mode: AppToolApproval | null;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppLinksConfig.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AppLinksConfig.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AppLinksConfig } from "./AppLinksConfig";
|
|
1
2
|
import type { AppToolApproval } from "./AppToolApproval";
|
|
2
3
|
import type { AppToolsConfig } from "./AppToolsConfig";
|
|
3
4
|
import type { ApprovalsReviewer } from "./ApprovalsReviewer";
|
|
@@ -13,5 +14,9 @@ export type AppsConfig = {
|
|
|
13
14
|
default_tools_approval_mode: AppToolApproval | null;
|
|
14
15
|
default_tools_enabled: boolean | null;
|
|
15
16
|
tools: AppToolsConfig | null;
|
|
17
|
+
/**
|
|
18
|
+
* Per-account approval settings keyed by link ID.
|
|
19
|
+
*/
|
|
20
|
+
links: AppLinksConfig | null;
|
|
16
21
|
};
|
|
17
22
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsyncUserInputQuestion.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AsyncUserInputQuestion.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthRecoveryNotification.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AuthRecoveryNotification.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import type { AwsCredentialType } from "./AwsCredentialType";
|
|
2
1
|
export type BedrockSetupParams = {
|
|
3
2
|
"type": "profile";
|
|
4
3
|
profile: string;
|
|
5
4
|
region: string;
|
|
6
5
|
} | {
|
|
7
6
|
"type": "environment";
|
|
8
|
-
credentialType: AwsCredentialType;
|
|
9
|
-
region: string;
|
|
10
|
-
} | {
|
|
11
|
-
"type": "accessKeys";
|
|
12
|
-
accessKeyId: string;
|
|
13
|
-
secretAccessKey: string;
|
|
14
|
-
sessionToken?: string | null;
|
|
15
7
|
region: string;
|
|
16
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BrowserUseAccessApprovalLifetime = "turn" | "thread";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserUseAccessApprovalLifetime.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BrowserUseAccessApprovalLifetime.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BrowserUseOriginPolicyConfig } from "./BrowserUseOriginPolicyConfig";
|
|
2
|
+
export type BrowserUseConfig = {
|
|
3
|
+
allow_history_access: boolean | null;
|
|
4
|
+
default_origin_policy: BrowserUseOriginPolicyConfig | null;
|
|
5
|
+
origins: {
|
|
6
|
+
[key in string]?: BrowserUseOriginPolicyConfig;
|
|
7
|
+
} | null;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserUseConfig.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BrowserUseConfig.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AllowDenyRequirement } from "./AllowDenyRequirement";
|
|
2
|
+
import type { BrowserUseAccessApprovalLifetime } from "./BrowserUseAccessApprovalLifetime";
|
|
3
|
+
export type BrowserUseOriginPolicy = {
|
|
4
|
+
access: AllowDenyRequirement | null;
|
|
5
|
+
downloads: AllowDenyRequirement | null;
|
|
6
|
+
uploads: AllowDenyRequirement | null;
|
|
7
|
+
fullCdpAccess: AllowDenyRequirement | null;
|
|
8
|
+
autoReview: AllowDenyRequirement | null;
|
|
9
|
+
persistentApproval: boolean | null;
|
|
10
|
+
accessApprovalLifetime: BrowserUseAccessApprovalLifetime | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserUseOriginPolicy.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BrowserUseOriginPolicy.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AllowDenyRequirement } from "./AllowDenyRequirement";
|
|
2
|
+
export type BrowserUseOriginPolicyConfig = {
|
|
3
|
+
access: AllowDenyRequirement | null;
|
|
4
|
+
downloads: AllowDenyRequirement | null;
|
|
5
|
+
uploads: AllowDenyRequirement | null;
|
|
6
|
+
full_cdp_access: AllowDenyRequirement | null;
|
|
7
|
+
};
|