@jrkropp/codex-js 0.1.4 → 0.2.0
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/CHANGELOG.md +6 -0
- package/README.md +57 -617
- package/dist/client/index.d.ts +2 -16
- package/dist/client/index.js +2522 -16
- package/dist/index.d.ts +2 -25
- package/dist/index.js +699 -20
- package/dist/internal/codex/app-server/src/bespoke_event_handling.d.ts +5 -0
- package/dist/internal/codex/app-server/src/connection_rpc_gate.d.ts +11 -0
- package/dist/internal/codex/app-server/src/dynamic_tools.d.ts +5 -0
- package/dist/internal/codex/app-server/src/message_processor.d.ts +88 -0
- package/dist/internal/codex/app-server/src/outgoing_message.d.ts +73 -0
- package/dist/internal/codex/app-server/src/request_processors/common.d.ts +25 -0
- package/dist/internal/codex/app-server/src/request_processors/mcp_processor.d.ts +32 -0
- package/dist/internal/codex/app-server/src/request_processors/request_errors.d.ts +9 -0
- package/dist/internal/codex/app-server/src/request_processors/thread_processor.d.ts +38 -0
- package/dist/internal/codex/app-server/src/request_processors/token_usage_replay.d.ts +22 -0
- package/dist/internal/codex/app-server/src/request_processors/turn_processor.d.ts +21 -0
- package/dist/internal/codex/app-server/src/request_processors.d.ts +5 -0
- package/dist/internal/codex/app-server/src/request_serialization.d.ts +7 -0
- package/dist/internal/codex/app-server/src/runtime.d.ts +96 -0
- package/dist/internal/codex/app-server/src/server_request_response.d.ts +30 -0
- package/dist/internal/codex/app-server/src/session_factory.d.ts +30 -0
- package/dist/internal/codex/app-server/src/session_task_runner.d.ts +44 -0
- package/dist/internal/codex/app-server/src/thread_state.d.ts +56 -0
- package/dist/internal/codex/app-server-client/src/lib.d.ts +48 -0
- package/dist/{index-77U_Oc-a.d.ts → internal/codex/app-server-client/src/pending_requests.d.ts} +7 -18
- package/dist/internal/codex/app-server-client/src/remote.d.ts +18 -0
- package/dist/{session-BRYzi8OT.d.ts → internal/codex/app-server-client/src/session.d.ts} +5 -9
- package/dist/{thread_event_store-C0zYzukG.d.ts → internal/codex/app-server-client/src/thread_event_store.d.ts} +14 -14
- package/dist/internal/codex/app-server-client/src/thread_projection.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/AbsolutePathBuf.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/AgentPath.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ApplyPatchApprovalParams.d.ts +22 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ApplyPatchApprovalResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/AuthMode.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ClientInfo.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ClientNotification.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ClientRequest.d.ts +410 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/CollaborationMode.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ContentItem.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ConversationGitInfo.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ConversationSummary.d.ts +15 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ExecCommandApprovalParams.d.ts +18 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ExecCommandApprovalResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ExecPolicyAmendment.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FileChange.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ForcedLoginMethod.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FunctionCallOutputBody.d.ts +2 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FunctionCallOutputContentItem.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FuzzyFileSearchMatchType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FuzzyFileSearchParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FuzzyFileSearchResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FuzzyFileSearchResult.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FuzzyFileSearchSessionCompletedNotification.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/FuzzyFileSearchSessionUpdatedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/GetAuthStatusParams.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/GetAuthStatusResponse.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/GetConversationSummaryParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/GetConversationSummaryResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/GitDiffToRemoteParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/GitDiffToRemoteResponse.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/GitSha.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ImageDetail.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/InitializeCapabilities.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/InitializeParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/InitializeResponse.d.ts +18 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/InputModality.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/InternalSessionSource.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/LocalShellAction.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/LocalShellExecAction.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/LocalShellStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/MessagePhase.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ModeKind.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/NetworkPolicyAmendment.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/NetworkPolicyRuleAction.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ParsedCommand.d.ts +24 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/Personality.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/PlanType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/RealtimeConversationVersion.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/RealtimeOutputModality.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/RealtimeVoice.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/RealtimeVoicesList.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ReasoningEffort.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ReasoningItemContent.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ReasoningItemReasoningSummary.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ReasoningSummary.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/RequestId.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/Resource.d.ts +15 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ResourceContent.d.ts +21 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ResourceTemplate.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ResponseItem.d.ts +78 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ReviewDecision.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ServerNotification.d.ts +260 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ServerRequest.d.ts +50 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/SessionSource.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/Settings.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/SubAgentSource.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ThreadId.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/ThreadMemoryMode.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/Tool.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/Verbosity.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/WebSearchAction.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/WebSearchContextSize.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/WebSearchLocation.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/WebSearchMode.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/WebSearchToolConfig.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/index.d.ts +77 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/serde_json/JsonValue.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/Account.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AccountLoginCompletedNotification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AccountRateLimitsUpdatedNotification.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AccountUpdatedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ActivePermissionProfile.d.ts +18 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ActivePermissionProfileModification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AddCreditsNudgeCreditType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AddCreditsNudgeEmailStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AdditionalFileSystemPermissions.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AdditionalNetworkPermissions.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AdditionalPermissionProfile.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AgentMessageDeltaNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AnalyticsConfig.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppBranding.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppInfo.d.ts +30 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppListUpdatedNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppMetadata.d.ts +16 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppReview.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppScreenshot.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppSummary.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppToolApproval.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppToolsConfig.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ApprovalsReviewer.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppsConfig.d.ts +15 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppsDefaultConfig.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppsListParams.d.ts +21 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AppsListResponse.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AskForApproval.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/AutoReviewDecisionSource.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ByteRange.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CancelLoginAccountParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CancelLoginAccountResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CancelLoginAccountStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ChatgptAuthTokensRefreshParams.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ChatgptAuthTokensRefreshReason.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ChatgptAuthTokensRefreshResponse.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CodexErrorInfo.d.ts +28 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CollabAgentState.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CollabAgentStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CollabAgentTool.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CollabAgentToolCallStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CollaborationModeListParams.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CollaborationModeListResponse.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CollaborationModeMask.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandAction.d.ts +19 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecOutputDeltaNotification.d.ts +27 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecOutputStream.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecParams.d.ts +82 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecResizeParams.d.ts +15 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecResizeResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecResponse.d.ts +21 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecTerminalSize.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecTerminateParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecTerminateResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecWriteParams.d.ts +19 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecWriteResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecutionApprovalDecision.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecutionOutputDeltaNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecutionRequestApprovalParams.d.ts +40 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecutionRequestApprovalResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecutionSource.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandExecutionStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CommandMigration.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/Config.d.ts +47 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigBatchWriteParams.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigEdit.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigLayer.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigLayerMetadata.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigLayerSource.d.ts +30 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigReadParams.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigReadResponse.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigRequirements.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigRequirementsReadResponse.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigValueWriteParams.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigWarningNotification.d.ts +19 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfigWriteResponse.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfiguredHookHandler.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ConfiguredHookMatcherGroup.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ContextCompactedNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/CreditsSnapshot.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeprecationNoticeNotification.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeyAlgorithm.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeyCreateParams.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeyCreateResponse.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeyProtectionClass.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeyProtectionPolicy.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeyPublicParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeyPublicResponse.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeySignParams.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeySignPayload.d.ts +62 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DeviceKeySignResponse.d.ts +16 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DynamicToolCallOutputContentItem.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DynamicToolCallParams.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DynamicToolCallResponse.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DynamicToolCallStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/DynamicToolSpec.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ErrorNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExecPolicyAmendment.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExperimentalFeature.d.ts +34 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExperimentalFeatureEnablementSetParams.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExperimentalFeatureEnablementSetResponse.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExperimentalFeatureListParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExperimentalFeatureListResponse.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExperimentalFeatureStage.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExternalAgentConfigDetectParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExternalAgentConfigDetectResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExternalAgentConfigImportCompletedNotification.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExternalAgentConfigImportParams.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExternalAgentConfigImportResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExternalAgentConfigMigrationItem.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ExternalAgentConfigMigrationItemType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FeedbackUploadParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FeedbackUploadResponse.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileChangeApprovalDecision.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileChangeOutputDeltaNotification.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileChangePatchUpdatedNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileChangeRequestApprovalParams.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileChangeRequestApprovalResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileSystemAccessMode.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileSystemPath.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileSystemSandboxEntry.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileSystemSpecialPath.d.ts +16 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FileUpdateChange.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsChangedNotification.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsCopyParams.d.ts +18 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsCopyResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsCreateDirectoryParams.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsCreateDirectoryResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsGetMetadataParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsGetMetadataResponse.d.ts +25 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsReadDirectoryEntry.d.ts +17 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsReadDirectoryParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsReadDirectoryResponse.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsReadFileParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsReadFileResponse.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsRemoveParams.d.ts +18 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsRemoveResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsUnwatchParams.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsUnwatchResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsWatchParams.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsWatchResponse.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsWriteFileParams.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/FsWriteFileResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GetAccountParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GetAccountRateLimitsResponse.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GetAccountResponse.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GitInfo.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GrantedPermissionProfile.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GuardianApprovalReview.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GuardianApprovalReviewAction.d.ts +37 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GuardianApprovalReviewStatus.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GuardianCommandSource.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GuardianRiskLevel.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GuardianUserAuthorization.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/GuardianWarningNotification.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookCompletedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookErrorInfo.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookEventName.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookExecutionMode.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookHandlerType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookMetadata.d.ts +22 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookMigration.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookOutputEntry.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookOutputEntryKind.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookPromptFragment.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookRunStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookRunSummary.d.ts +24 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookScope.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookSource.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookStartedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HookTrustStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HooksListEntry.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HooksListParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/HooksListResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ItemCompletedNotification.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ItemGuardianApprovalReviewCompletedNotification.d.ts +32 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ItemGuardianApprovalReviewStartedNotification.d.ts +30 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ItemStartedNotification.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ListMcpServerStatusParams.d.ts +16 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ListMcpServerStatusResponse.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/LoginAccountParams.d.ts +27 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/LoginAccountResponse.d.ts +23 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/LogoutAccountResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ManagedHooksRequirements.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceAddParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceAddResponse.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceInterface.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceLoadErrorInfo.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceRemoveParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceRemoveResponse.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceUpgradeErrorInfo.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceUpgradeParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MarketplaceUpgradeResponse.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpAuthStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationArrayType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationBooleanSchema.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationBooleanType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationConstOption.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationEnumSchema.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationLegacyTitledEnumSchema.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationMultiSelectEnumSchema.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationNumberSchema.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationNumberType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationObjectType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationPrimitiveSchema.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationSchema.d.ts +16 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationSingleSelectEnumSchema.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationStringFormat.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationStringSchema.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationStringType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationTitledEnumItems.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationTitledMultiSelectEnumSchema.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationTitledSingleSelectEnumSchema.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationUntitledEnumItems.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationUntitledMultiSelectEnumSchema.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpElicitationUntitledSingleSelectEnumSchema.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpResourceReadParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpResourceReadResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerElicitationAction.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerElicitationRequestParams.d.ts +26 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerElicitationRequestResponse.d.ts +15 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerMigration.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerOauthLoginCompletedNotification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerOauthLoginParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerOauthLoginResponse.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerRefreshResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerStartupState.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerStatus.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerStatusDetail.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerStatusUpdatedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerToolCallParams.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpServerToolCallResponse.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpToolCallError.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpToolCallProgressNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpToolCallResult.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/McpToolCallStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MemoryCitation.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MemoryCitationEntry.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MergeStrategy.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/MigrationDetails.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/Model.d.ts +26 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelAvailabilityNux.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelListParams.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelListResponse.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelProviderCapabilitiesReadParams.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelProviderCapabilitiesReadResponse.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelRerouteReason.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelReroutedNotification.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelServiceTier.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelUpgradeInfo.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelVerification.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ModelVerificationNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkAccess.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkApprovalContext.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkApprovalProtocol.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkDomainPermission.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkPolicyAmendment.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkPolicyRuleAction.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkRequirements.d.ts +40 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NetworkUnixSocketPermission.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/NonSteerableTurnKind.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/OverriddenMetadata.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PatchApplyStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PatchChangeKind.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionGrantScope.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionProfile.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionProfileFileSystemPermissions.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionProfileModificationParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionProfileNetworkPermissions.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionProfileSelectionParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionsRequestApprovalParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PermissionsRequestApprovalResponse.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PlanDeltaNotification.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginAuthPolicy.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginAvailability.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginDetail.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginInstallParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginInstallPolicy.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginInstallResponse.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginInterface.d.ts +42 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginListMarketplaceKind.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginListParams.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginListResponse.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginMarketplaceEntry.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginReadParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginReadResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareContext.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareDeleteParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareDeleteResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareDiscoverability.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareListItem.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareListParams.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareListResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginSharePrincipal.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginSharePrincipalType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareSaveParams.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareSaveResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareTarget.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareUpdateTargetsParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginShareUpdateTargetsResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginSkillReadParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginSkillReadResponse.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginSource.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginSummary.d.ts +25 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginUninstallParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginUninstallResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/PluginsMigration.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ProcessExitedNotification.d.ts +39 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ProcessOutputDeltaNotification.d.ts +23 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ProcessOutputStream.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ProcessTerminalSize.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ProfileV2.d.ts +29 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RateLimitReachedType.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RateLimitSnapshot.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RateLimitWindow.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RawResponseItemCompletedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReasoningEffortOption.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReasoningSummaryPartAddedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReasoningSummaryTextDeltaNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReasoningTextDeltaNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RemoteControlClientConnectionAudience.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RemoteControlClientEnrollmentAudience.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RemoteControlConnectionStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RemoteControlStatusChangedNotification.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/RequestPermissionProfile.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ResidencyRequirement.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReviewDelivery.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReviewStartParams.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReviewStartResponse.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ReviewTarget.d.ts +16 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SandboxMode.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SandboxPolicy.d.ts +17 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SandboxWorkspaceWrite.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SendAddCreditsNudgeEmailParams.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SendAddCreditsNudgeEmailResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ServerRequestResolvedNotification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SessionMigration.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SessionSource.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillDependencies.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillErrorInfo.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillInterface.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillMetadata.d.ts +17 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillScope.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillSummary.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillToolDependency.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillsChangedNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillsConfigWriteParams.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillsConfigWriteResponse.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillsListEntry.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillsListExtraRootsForCwd.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillsListParams.d.ts +15 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SkillsListResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SortDirection.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/SubagentMigration.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TerminalInteractionNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TextElement.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TextPosition.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TextRange.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/Thread.d.ts +84 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadActiveFlag.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadApproveGuardianDeniedActionParams.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadApproveGuardianDeniedActionResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadArchiveParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadArchiveResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadArchivedNotification.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadClosedNotification.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadCompactStartParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadCompactStartResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadForkParams.d.ts +38 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadForkResponse.d.ts +26 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadGoal.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadGoalClearedNotification.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadGoalStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadGoalUpdatedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadInjectItemsParams.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadInjectItemsResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadItem.d.ts +180 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadListParams.d.ts +51 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadListResponse.d.ts +16 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadLoadedListParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadLoadedListResponse.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadMetadataGitInfoUpdateParams.d.ts +17 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadMetadataUpdateParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadMetadataUpdateResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadNameUpdatedNotification.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadReadParams.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadReadResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeAudioChunk.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeClosedNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeErrorNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeItemAddedNotification.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeOutputAudioDeltaNotification.d.ts +8 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeSdpNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeStartTransport.d.ts +13 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeStartedNotification.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeTranscriptDeltaNotification.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRealtimeTranscriptDoneNotification.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadResumeParams.d.ts +37 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadResumeResponse.d.ts +26 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRollbackParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadRollbackResponse.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadSetNameParams.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadSetNameResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadShellCommandParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadShellCommandResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadSortKey.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadSource.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadSourceKind.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadStartParams.d.ts +31 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadStartResponse.d.ts +26 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadStartSource.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadStartedNotification.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadStatus.d.ts +11 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadStatusChangedNotification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadTokenUsage.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadTokenUsageUpdatedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadUnarchiveParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadUnarchiveResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadUnarchivedNotification.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadUnsubscribeParams.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadUnsubscribeResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ThreadUnsubscribeStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TokenUsageBreakdown.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ToolRequestUserInputAnswer.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ToolRequestUserInputOption.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ToolRequestUserInputParams.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ToolRequestUserInputQuestion.d.ts +12 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ToolRequestUserInputResponse.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/ToolsV2.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/Turn.d.ts +32 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnCompletedNotification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnDiffUpdatedNotification.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnEnvironmentParams.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnError.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnInterruptParams.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnInterruptResponse.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnItemsView.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnPlanStep.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnPlanStepStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnPlanUpdatedNotification.d.ts +7 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnStartParams.d.ts +44 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnStartResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnStartedNotification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnSteerParams.d.ts +9 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/TurnSteerResponse.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/UserInput.d.ts +23 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WarningNotification.d.ts +10 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WebSearchAction.d.ts +14 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WindowsSandboxReadiness.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WindowsSandboxReadinessResponse.d.ts +4 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WindowsSandboxSetupCompletedNotification.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WindowsSandboxSetupMode.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WindowsSandboxSetupStartParams.d.ts +6 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WindowsSandboxSetupStartResponse.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WindowsWorldWritableWarningNotification.d.ts +5 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/WriteStatus.d.ts +1 -0
- package/dist/internal/codex/app-server-protocol/schema/typescript/v2/index.d.ts +457 -0
- package/dist/internal/codex/app-server-protocol/src/protocol/common.d.ts +36 -0
- package/dist/internal/codex/app-server-protocol/src/protocol/event-mapping.d.ts +41 -0
- package/dist/internal/codex/app-server-protocol/src/protocol/index.d.ts +3 -0
- package/dist/internal/codex/app-server-protocol/src/protocol/thread-resume.d.ts +11 -0
- package/dist/internal/codex/app-server-transport/src/outgoing_message.d.ts +27 -0
- package/dist/internal/codex/app-server-transport/src/transport/mod.d.ts +78 -0
- package/dist/internal/codex/codex-api/src/common.d.ts +100 -0
- package/dist/internal/codex/codex-api/src/endpoint/responses.d.ts +28 -0
- package/dist/internal/codex/codex-api/src/endpoint/responses_websocket.d.ts +54 -0
- package/dist/internal/codex/codex-api/src/error.d.ts +21 -0
- package/dist/internal/codex/codex-api/src/index.d.ts +9 -0
- package/dist/internal/codex/codex-api/src/provider.d.ts +22 -0
- package/dist/internal/codex/codex-api/src/rate_limits.d.ts +3 -0
- package/dist/internal/codex/codex-api/src/requests/responses.d.ts +16 -0
- package/dist/internal/codex/codex-api/src/sse/responses.d.ts +13 -0
- package/dist/internal/codex/codex-api/src/stream_events_utils.d.ts +23 -0
- package/dist/internal/codex/codex-mcp/src/auth_elicitation.d.ts +41 -0
- package/dist/internal/codex/codex-mcp/src/codex_apps.d.ts +57 -0
- package/dist/internal/codex/codex-mcp/src/connection_manager.d.ts +72 -0
- package/dist/internal/codex/codex-mcp/src/elicitation.d.ts +77 -0
- package/dist/internal/codex/codex-mcp/src/mcp/auth.d.ts +64 -0
- package/dist/internal/codex/codex-mcp/src/mcp/mod.d.ts +16 -0
- package/dist/internal/codex/codex-mcp/src/rmcp_client.d.ts +221 -0
- package/dist/internal/codex/codex-mcp/src/tools.d.ts +37 -0
- package/dist/internal/codex/config/src/config_toml.d.ts +14 -0
- package/dist/internal/codex/config/src/index.d.ts +7 -0
- package/dist/internal/codex/config/src/loader/mod.d.ts +21 -0
- package/dist/internal/codex/config/src/merge.d.ts +22 -0
- package/dist/internal/codex/config/src/permissions_toml.d.ts +6 -0
- package/dist/internal/codex/config/src/profile_toml.d.ts +1 -0
- package/dist/internal/codex/config/src/thread_config.d.ts +43 -0
- package/dist/internal/codex/config/src/types.d.ts +121 -0
- package/dist/internal/codex/core/src/agent/agent_resolver.d.ts +3 -0
- package/dist/internal/codex/core/src/agent/control.d.ts +76 -0
- package/dist/internal/codex/core/src/agent/mailbox.d.ts +28 -0
- package/dist/internal/codex/core/src/agent/mod.d.ts +6 -0
- package/dist/internal/codex/core/src/agent/registry.d.ts +54 -0
- package/dist/internal/codex/core/src/agent/role.d.ts +19 -0
- package/dist/internal/codex/core/src/agent/status.d.ts +3 -0
- package/dist/internal/codex/core/src/auth.d.ts +65 -0
- package/dist/internal/codex/core/src/client.d.ts +129 -0
- package/dist/internal/codex/core/src/collaboration-mode-presets.d.ts +9 -0
- package/dist/internal/codex/core/src/compact-task-runner.d.ts +18 -0
- package/dist/internal/codex/core/src/compact.d.ts +12 -0
- package/dist/internal/codex/core/src/config/agent_roles.d.ts +6 -0
- package/dist/internal/codex/core/src/config/managed_features.d.ts +7 -0
- package/dist/internal/codex/core/src/config/mod.d.ts +9 -0
- package/dist/internal/codex/core/src/config/network_proxy_spec.d.ts +5 -0
- package/dist/internal/codex/core/src/config/permissions.d.ts +30 -0
- package/dist/internal/codex/core/src/config-types.d.ts +28 -0
- package/dist/internal/codex/core/src/context/collaboration-mode-instructions.d.ts +10 -0
- package/dist/internal/codex/core/src/context/context-updates.d.ts +10 -0
- package/dist/internal/codex/core/src/context/environment-context.d.ts +24 -0
- package/dist/internal/codex/core/src/context/fragment.d.ts +22 -0
- package/dist/internal/codex/core/src/context/permissions-instructions.d.ts +8 -0
- package/dist/internal/codex/core/src/context/prompt-context.d.ts +8 -0
- package/dist/internal/codex/core/src/context/turn-aborted.d.ts +3 -0
- package/dist/internal/codex/core/src/context/user-instructions.d.ts +7 -0
- package/dist/internal/codex/core/src/context_manager/history.d.ts +60 -0
- package/dist/internal/codex/core/src/context_manager/normalize.d.ts +6 -0
- package/dist/internal/codex/core/src/event-mapping.d.ts +9 -0
- package/dist/internal/codex/core/src/exec-output.d.ts +20 -0
- package/dist/internal/codex/core/src/goals/index.d.ts +2 -0
- package/dist/internal/codex/core/src/goals/runtime.d.ts +32 -0
- package/dist/internal/codex/core/src/goals/types.d.ts +95 -0
- package/dist/internal/codex/core/src/goals.d.ts +1 -0
- package/dist/internal/codex/core/src/hooks/dispatcher.d.ts +5 -0
- package/dist/internal/codex/core/src/hooks/index.d.ts +4 -0
- package/dist/internal/codex/core/src/hooks/output-parser.d.ts +9 -0
- package/dist/internal/codex/core/src/hooks/runtime.d.ts +125 -0
- package/dist/internal/codex/core/src/hooks/types.d.ts +40 -0
- package/dist/internal/codex/core/src/ids.d.ts +5 -0
- package/dist/internal/codex/core/src/index.d.ts +98 -0
- package/dist/internal/codex/core/src/items.d.ts +137 -0
- package/dist/internal/codex/core/src/mcp/index.d.ts +10 -0
- package/dist/internal/codex/core/src/mcp/manager.d.ts +73 -0
- package/dist/internal/codex/core/src/mcp/types.d.ts +165 -0
- package/dist/internal/codex/core/src/mcp.d.ts +1 -0
- package/dist/internal/codex/core/src/memory.d.ts +21 -0
- package/dist/internal/codex/core/src/model-provider.d.ts +193 -0
- package/dist/internal/codex/core/src/models.d.ts +158 -0
- package/dist/internal/codex/core/src/plan-mode.d.ts +1 -0
- package/dist/internal/codex/core/src/protocol/dynamic_tools.d.ts +48 -0
- package/dist/internal/codex/core/src/protocol/user_input.d.ts +30 -0
- package/dist/internal/codex/core/src/protocol.d.ts +893 -0
- package/dist/internal/codex/core/src/rendered-thread.d.ts +30 -0
- package/dist/internal/codex/core/src/request_permissions.d.ts +52 -0
- package/dist/internal/codex/core/src/request_user_input.d.ts +47 -0
- package/dist/internal/codex/core/src/session/rollout-reconstruction.d.ts +11 -0
- package/dist/internal/codex/core/src/session/session-settings.d.ts +29 -0
- package/dist/internal/codex/core/src/session/session.d.ts +226 -0
- package/dist/internal/codex/core/src/session/turn-context.d.ts +71 -0
- package/dist/internal/codex/core/src/session/turn-timing.d.ts +12 -0
- package/dist/internal/codex/core/src/session/turn.d.ts +35 -0
- package/dist/internal/codex/core/src/state/session.d.ts +40 -0
- package/dist/internal/codex/core/src/state/turn.d.ts +83 -0
- package/dist/internal/codex/core/src/stream-parser.d.ts +36 -0
- package/dist/internal/codex/core/src/stream_events_utils.d.ts +43 -0
- package/dist/internal/codex/core/src/tasks/compact.d.ts +26 -0
- package/dist/internal/codex/core/src/tasks/mod.d.ts +43 -0
- package/dist/internal/codex/core/src/tasks/regular.d.ts +27 -0
- package/dist/internal/codex/core/src/templates.d.ts +12 -0
- package/dist/{thread-history-builder-zW0zeqcS.d.ts → internal/codex/core/src/thread-history-builder.d.ts} +14 -16
- package/dist/internal/codex/core/src/thread-store/index.d.ts +3 -0
- package/dist/{live-thread-BMvlflzM.d.ts → internal/codex/core/src/thread-store/live-thread.d.ts} +7 -8
- package/dist/{store-AGRxhgQ3.d.ts → internal/codex/core/src/thread-store/store.d.ts} +3 -6
- package/dist/{types-BTeabLYr.d.ts → internal/codex/core/src/thread-store/types.d.ts} +25 -26
- package/dist/internal/codex/core/src/tools/code_mode/execute_handler.d.ts +7 -0
- package/dist/internal/codex/core/src/tools/code_mode/execute_spec.d.ts +13 -0
- package/dist/internal/codex/core/src/tools/code_mode/mod.d.ts +5 -0
- package/dist/internal/codex/core/src/tools/code_mode/response_adapter.d.ts +2 -0
- package/dist/internal/codex/core/src/tools/code_mode/wait_handler.d.ts +7 -0
- package/dist/internal/codex/core/src/tools/code_mode/wait_spec.d.ts +13 -0
- package/dist/internal/codex/core/src/tools/context.d.ts +155 -0
- package/dist/internal/codex/core/src/tools/events.d.ts +50 -0
- package/dist/internal/codex/core/src/tools/handlers/apply_patch.d.ts +14 -0
- package/dist/internal/codex/core/src/tools/handlers/apply_patch_spec.d.ts +16 -0
- package/dist/internal/codex/core/src/tools/handlers/dynamic.d.ts +17 -0
- package/dist/internal/codex/core/src/tools/handlers/goal.d.ts +20 -0
- package/dist/internal/codex/core/src/tools/handlers/goal_spec.d.ts +51 -0
- package/dist/internal/codex/core/src/tools/handlers/mcp.d.ts +23 -0
- package/dist/internal/codex/core/src/tools/handlers/mcp_resource.d.ts +24 -0
- package/dist/internal/codex/core/src/tools/handlers/mcp_resource_spec.d.ts +61 -0
- package/dist/internal/codex/core/src/tools/handlers/multi_agents.d.ts +50 -0
- package/dist/internal/codex/core/src/tools/handlers/multi_agents_common.d.ts +3 -0
- package/dist/internal/codex/core/src/tools/handlers/multi_agents_spec.d.ts +5 -0
- package/dist/internal/codex/core/src/tools/handlers/multi_agents_v2.d.ts +1 -0
- package/dist/internal/codex/core/src/tools/handlers/plan.d.ts +8 -0
- package/dist/internal/codex/core/src/tools/handlers/plan_spec.d.ts +35 -0
- package/dist/internal/codex/core/src/tools/handlers/request_permissions.d.ts +7 -0
- package/dist/internal/codex/core/src/tools/handlers/request_permissions_spec.d.ts +1 -0
- package/dist/internal/codex/core/src/tools/handlers/request_plugin_install.d.ts +8 -0
- package/dist/internal/codex/core/src/tools/handlers/request_plugin_install_spec.d.ts +12 -0
- package/dist/internal/codex/core/src/tools/handlers/request_user_input.d.ts +13 -0
- package/dist/internal/codex/core/src/tools/handlers/request_user_input_spec.d.ts +1 -0
- package/dist/internal/codex/core/src/tools/handlers/shell_spec.d.ts +60 -0
- package/dist/internal/codex/core/src/tools/handlers/test_sync.d.ts +1 -0
- package/dist/internal/codex/core/src/tools/handlers/test_sync_spec.d.ts +12 -0
- package/dist/internal/codex/core/src/tools/handlers/tool_search.d.ts +28 -0
- package/dist/internal/codex/core/src/tools/handlers/tool_search_spec.d.ts +21 -0
- package/dist/internal/codex/core/src/tools/handlers/unavailable_tool.d.ts +10 -0
- package/dist/internal/codex/core/src/tools/handlers/unified_exec/exec_command.d.ts +13 -0
- package/dist/internal/codex/core/src/tools/handlers/unified_exec/write_stdin.d.ts +8 -0
- package/dist/internal/codex/core/src/tools/handlers/unified_exec.d.ts +2 -0
- package/dist/internal/codex/core/src/tools/hook_names.d.ts +6 -0
- package/dist/internal/codex/core/src/tools/hosted_spec.d.ts +9 -0
- package/dist/internal/codex/core/src/tools/network_approval.d.ts +11 -0
- package/dist/internal/codex/core/src/tools/orchestrator.d.ts +28 -0
- package/dist/internal/codex/core/src/tools/parallel.d.ts +33 -0
- package/dist/internal/codex/core/src/tools/registry.d.ts +27 -0
- package/dist/internal/codex/core/src/tools/responses_api.d.ts +34 -0
- package/dist/internal/codex/core/src/tools/router.d.ts +50 -0
- package/dist/internal/codex/core/src/tools/runtimes/apply_patch.d.ts +2 -0
- package/dist/internal/codex/core/src/tools/runtimes/mod.d.ts +4 -0
- package/dist/internal/codex/core/src/tools/runtimes/shell.d.ts +2 -0
- package/dist/internal/codex/core/src/tools/runtimes/unified_exec.d.ts +2 -0
- package/dist/internal/codex/core/src/tools/sandboxing.d.ts +36 -0
- package/dist/internal/codex/core/src/tools/spec.d.ts +10 -0
- package/dist/internal/codex/core/src/tools/spec_plan.d.ts +2 -0
- package/dist/internal/codex/core/src/tools/spec_plan_types.d.ts +93 -0
- package/dist/internal/codex/core/src/tools/tool_dispatch_trace.d.ts +12 -0
- package/dist/internal/codex/core/src/tools/tool_name.d.ts +17 -0
- package/dist/internal/codex/core/src/tools/tool_search_entry.d.ts +35 -0
- package/dist/internal/codex/core/src/tools/tool_spec.d.ts +29 -0
- package/dist/{mod-DYVLSWO4.d.ts → internal/codex/thread-store/src/in_memory.d.ts} +8 -39
- package/dist/internal/codex/thread-store/src/index.d.ts +6 -0
- package/dist/internal/codex/thread-store/src/local/mod.d.ts +32 -0
- package/dist/internal/codex/utils/output-truncation/src/lib.d.ts +19 -0
- package/dist/internal/codex/utils/string/src/lib.d.ts +1 -0
- package/dist/internal/codex/utils/string/src/truncate.d.ts +5 -0
- package/dist/runtime/index.d.ts +47 -0
- package/dist/server/index.d.ts +2 -29
- package/dist/server/index.js +20488 -15
- package/dist/testing/index.d.ts +2 -9
- package/dist/testing/index.js +1698 -15
- package/package.json +61 -152
- package/dist/ClientNotification-B6-FhXQf.d.ts +0 -5
- package/dist/DynamicToolCallResponse-82DFjES2.d.ts +0 -8
- package/dist/DynamicToolSpec-CfnhqAYK.d.ts +0 -29
- package/dist/PermissionsRequestApprovalResponse-DxzPPDRb.d.ts +0 -55
- package/dist/ProviderStatusBanner-BlP6lzwE.d.ts +0 -441
- package/dist/ServerRequest-B5cKVJjr.d.ts +0 -2181
- package/dist/ThreadResumeResponse-DvmE1juU.d.ts +0 -1542
- package/dist/ToolRequestUserInputQuestion-CeZa5X1J.d.ts +0 -23
- package/dist/ToolRequestUserInputResponse-zcPLwbiK.d.ts +0 -17
- package/dist/TurnSteerResponse-0kBCfplh.d.ts +0 -209
- package/dist/WebSearchToolConfig-D3ep0625.d.ts +0 -18
- package/dist/chat-runtime-9RkXHC_w.d.ts +0 -382
- package/dist/chunk-2DZRMCI2.js +0 -1258
- package/dist/chunk-2DZRMCI2.js.map +0 -1
- package/dist/chunk-4DPLJPB5.js +0 -396
- package/dist/chunk-4DPLJPB5.js.map +0 -1
- package/dist/chunk-5JMJ6OI5.js +0 -3
- package/dist/chunk-5JMJ6OI5.js.map +0 -1
- package/dist/chunk-6ZMJ34KE.js +0 -1153
- package/dist/chunk-6ZMJ34KE.js.map +0 -1
- package/dist/chunk-CGBS37IU.js +0 -128
- package/dist/chunk-CGBS37IU.js.map +0 -1
- package/dist/chunk-DCMKA2A6.js +0 -18
- package/dist/chunk-DCMKA2A6.js.map +0 -1
- package/dist/chunk-DYLHN3HG.js +0 -937
- package/dist/chunk-DYLHN3HG.js.map +0 -1
- package/dist/chunk-FN3SWHRH.js +0 -934
- package/dist/chunk-FN3SWHRH.js.map +0 -1
- package/dist/chunk-LWQNX4LI.js +0 -13755
- package/dist/chunk-LWQNX4LI.js.map +0 -1
- package/dist/chunk-NCI4MAWZ.js +0 -7733
- package/dist/chunk-NCI4MAWZ.js.map +0 -1
- package/dist/chunk-O44XP7LH.js +0 -214
- package/dist/chunk-O44XP7LH.js.map +0 -1
- package/dist/chunk-PST3ZWX2.js +0 -555
- package/dist/chunk-PST3ZWX2.js.map +0 -1
- package/dist/chunk-SYPHCDRD.js +0 -1133
- package/dist/chunk-SYPHCDRD.js.map +0 -1
- package/dist/chunk-V4BMZWBM.js +0 -2401
- package/dist/chunk-V4BMZWBM.js.map +0 -1
- package/dist/chunk-W7S6HFCQ.js +0 -1983
- package/dist/chunk-W7S6HFCQ.js.map +0 -1
- package/dist/chunk-YHVCFD2D.js +0 -117
- package/dist/chunk-YHVCFD2D.js.map +0 -1
- package/dist/chunk-Z63UPBS3.js +0 -152
- package/dist/chunk-Z63UPBS3.js.map +0 -1
- package/dist/chunk-ZX5OIIJX.js +0 -3
- package/dist/chunk-ZX5OIIJX.js.map +0 -1
- package/dist/client/index.js.map +0 -1
- package/dist/codex-rs/app-server/index.d.ts +0 -161
- package/dist/codex-rs/app-server/index.js +0 -13
- package/dist/codex-rs/app-server/index.js.map +0 -1
- package/dist/codex-rs/app-server-protocol/index.d.ts +0 -1722
- package/dist/codex-rs/app-server-protocol/index.js +0 -6
- package/dist/codex-rs/app-server-protocol/index.js.map +0 -1
- package/dist/codex-rs/app-server-protocol/protocol.d.ts +0 -19
- package/dist/codex-rs/app-server-protocol/protocol.js +0 -4
- package/dist/codex-rs/app-server-protocol/protocol.js.map +0 -1
- package/dist/codex-rs/codex-api/index.d.ts +0 -104
- package/dist/codex-rs/codex-api/index.js +0 -11
- package/dist/codex-rs/codex-api/index.js.map +0 -1
- package/dist/codex-rs/config/index.d.ts +0 -88
- package/dist/codex-rs/config/index.js +0 -4
- package/dist/codex-rs/config/index.js.map +0 -1
- package/dist/codex-rs/core/config/index.d.ts +0 -61
- package/dist/codex-rs/core/config/index.js +0 -5
- package/dist/codex-rs/core/config/index.js.map +0 -1
- package/dist/codex-rs/core/index.d.ts +0 -1393
- package/dist/codex-rs/core/index.js +0 -11
- package/dist/codex-rs/core/index.js.map +0 -1
- package/dist/codex-rs/model-provider/index.d.ts +0 -2
- package/dist/codex-rs/model-provider/index.js +0 -4
- package/dist/codex-rs/model-provider/index.js.map +0 -1
- package/dist/codex-rs/models-manager/index.d.ts +0 -2
- package/dist/codex-rs/models-manager/index.js +0 -4
- package/dist/codex-rs/models-manager/index.js.map +0 -1
- package/dist/codex-rs/parity.d.ts +0 -26
- package/dist/codex-rs/parity.js +0 -3
- package/dist/codex-rs/parity.js.map +0 -1
- package/dist/codex-rs/thread-store/index.d.ts +0 -5
- package/dist/codex-rs/thread-store/index.js +0 -4
- package/dist/codex-rs/thread-store/index.js.map +0 -1
- package/dist/codex-rs/unsupported.d.ts +0 -15
- package/dist/codex-rs/unsupported.js +0 -22
- package/dist/codex-rs/unsupported.js.map +0 -1
- package/dist/codex-rs/utils/output-truncation.d.ts +0 -21
- package/dist/codex-rs/utils/output-truncation.js +0 -4
- package/dist/codex-rs/utils/output-truncation.js.map +0 -1
- package/dist/codex-rs/utils/string.d.ts +0 -7
- package/dist/codex-rs/utils/string.js +0 -3
- package/dist/codex-rs/utils/string.js.map +0 -1
- package/dist/common-CTyph5x8.d.ts +0 -40
- package/dist/event-mapping-CbISdQ1D.d.ts +0 -43
- package/dist/history-CfM-4V7b.d.ts +0 -1654
- package/dist/index-CoDZosq0.d.ts +0 -261
- package/dist/index.js.map +0 -1
- package/dist/lib-nXlaKiS-.d.ts +0 -48
- package/dist/merge-B_AWVmnI.d.ts +0 -24
- package/dist/plan-mode-Cv6KWb_S.d.ts +0 -14
- package/dist/proposed-plan-DpN1ma0Y.d.ts +0 -53
- package/dist/protocol-mpBcYHrm.d.ts +0 -1655
- package/dist/react/index.d.ts +0 -81
- package/dist/react/index.js +0 -19
- package/dist/react/index.js.map +0 -1
- package/dist/remote-ClZbq9KN.d.ts +0 -21
- package/dist/rendered-thread-AOxw3V5b.d.ts +0 -29
- package/dist/responses_websocket-BhxSgCzK.d.ts +0 -183
- package/dist/runtime-Cm6ml53h.d.ts +0 -528
- package/dist/server/index.js.map +0 -1
- package/dist/shadcn/index.d.ts +0 -68
- package/dist/shadcn/index.js +0 -334
- package/dist/shadcn/index.js.map +0 -1
- package/dist/sidebar-DMMij22z.d.ts +0 -87
- package/dist/spec_plan_types-CmsJ-Tfn.d.ts +0 -260
- package/dist/styles.css +0 -1
- package/dist/t3code/apps/web/components/chat.d.ts +0 -508
- package/dist/t3code/apps/web/components/chat.js +0 -12
- package/dist/t3code/apps/web/components/chat.js.map +0 -1
- package/dist/t3code/apps/web/index.d.ts +0 -12
- package/dist/t3code/apps/web/index.js +0 -13
- package/dist/t3code/apps/web/index.js.map +0 -1
- package/dist/testing/index.js.map +0 -1
|
@@ -1,1542 +0,0 @@
|
|
|
1
|
-
import { i as ThreadId, h as AbsolutePathBuf, J as JsonValue, j as ThreadSource, U as UserInput, f as ReasoningEffort, W as WindowsSandboxSetupMode, T as Thread } from './ServerRequest-B5cKVJjr.js';
|
|
2
|
-
import { R as RequestId } from './ToolRequestUserInputQuestion-CeZa5X1J.js';
|
|
3
|
-
|
|
4
|
-
type ClientInfo = {
|
|
5
|
-
name: string;
|
|
6
|
-
title: string | null;
|
|
7
|
-
version: string;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
type FuzzyFileSearchParams = {
|
|
11
|
-
query: string;
|
|
12
|
-
roots: Array<string>;
|
|
13
|
-
cancellationToken: string | null;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
type GetAuthStatusParams = {
|
|
17
|
-
includeToken: boolean | null;
|
|
18
|
-
refreshToken: boolean | null;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
type GetConversationSummaryParams = {
|
|
22
|
-
rolloutPath: string;
|
|
23
|
-
} | {
|
|
24
|
-
conversationId: ThreadId;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
type GitDiffToRemoteParams = {
|
|
28
|
-
cwd: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Client-declared capabilities negotiated during initialize.
|
|
33
|
-
*/
|
|
34
|
-
type InitializeCapabilities = {
|
|
35
|
-
/**
|
|
36
|
-
* Opt into receiving experimental API methods and fields.
|
|
37
|
-
*/
|
|
38
|
-
experimentalApi: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Exact notification method names that should be suppressed for this
|
|
41
|
-
* connection (for example `thread/started`).
|
|
42
|
-
*/
|
|
43
|
-
optOutNotificationMethods?: Array<string> | null;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
type InitializeParams = {
|
|
47
|
-
clientInfo: ClientInfo;
|
|
48
|
-
capabilities: InitializeCapabilities | null;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* EXPERIMENTAL - list available apps/connectors.
|
|
53
|
-
*/
|
|
54
|
-
type AppsListParams = {
|
|
55
|
-
/**
|
|
56
|
-
* Opaque pagination cursor returned by a previous call.
|
|
57
|
-
*/
|
|
58
|
-
cursor?: string | null;
|
|
59
|
-
/**
|
|
60
|
-
* Optional page size; defaults to a reasonable server-side value.
|
|
61
|
-
*/
|
|
62
|
-
limit?: number | null;
|
|
63
|
-
/**
|
|
64
|
-
* Optional thread id used to evaluate app feature gating from that thread's config.
|
|
65
|
-
*/
|
|
66
|
-
threadId?: string | null;
|
|
67
|
-
/**
|
|
68
|
-
* When true, bypass app caches and fetch the latest data from sources.
|
|
69
|
-
*/
|
|
70
|
-
forceRefetch?: boolean;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
type CancelLoginAccountParams = {
|
|
74
|
-
loginId: string;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* PTY size in character cells for `command/exec` PTY sessions.
|
|
79
|
-
*/
|
|
80
|
-
type CommandExecTerminalSize = {
|
|
81
|
-
/**
|
|
82
|
-
* Terminal height in character cells.
|
|
83
|
-
*/
|
|
84
|
-
rows: number;
|
|
85
|
-
/**
|
|
86
|
-
* Terminal width in character cells.
|
|
87
|
-
*/
|
|
88
|
-
cols: number;
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
type NetworkAccess = "restricted" | "enabled";
|
|
92
|
-
|
|
93
|
-
type SandboxPolicy = {
|
|
94
|
-
"type": "dangerFullAccess";
|
|
95
|
-
} | {
|
|
96
|
-
"type": "readOnly";
|
|
97
|
-
networkAccess: boolean;
|
|
98
|
-
} | {
|
|
99
|
-
"type": "externalSandbox";
|
|
100
|
-
networkAccess: NetworkAccess;
|
|
101
|
-
} | {
|
|
102
|
-
"type": "workspaceWrite";
|
|
103
|
-
writableRoots: Array<AbsolutePathBuf>;
|
|
104
|
-
networkAccess: boolean;
|
|
105
|
-
excludeTmpdirEnvVar: boolean;
|
|
106
|
-
excludeSlashTmp: boolean;
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Run a standalone command (argv vector) in the server sandbox without
|
|
111
|
-
* creating a thread or turn.
|
|
112
|
-
*
|
|
113
|
-
* The final `command/exec` response is deferred until the process exits and is
|
|
114
|
-
* sent only after all `command/exec/outputDelta` notifications for that
|
|
115
|
-
* connection have been emitted.
|
|
116
|
-
*/
|
|
117
|
-
type CommandExecParams = {
|
|
118
|
-
command: Array<string>; /**
|
|
119
|
-
* Optional client-supplied, connection-scoped process id.
|
|
120
|
-
*
|
|
121
|
-
* Required for `tty`, `streamStdin`, `streamStdoutStderr`, and follow-up
|
|
122
|
-
* `command/exec/write`, `command/exec/resize`, and
|
|
123
|
-
* `command/exec/terminate` calls. When omitted, buffered execution gets an
|
|
124
|
-
* internal id that is not exposed to the client.
|
|
125
|
-
*/
|
|
126
|
-
processId?: string | null; /**
|
|
127
|
-
* Enable PTY mode.
|
|
128
|
-
*
|
|
129
|
-
* This implies `streamStdin` and `streamStdoutStderr`.
|
|
130
|
-
*/
|
|
131
|
-
tty?: boolean; /**
|
|
132
|
-
* Allow follow-up `command/exec/write` requests to write stdin bytes.
|
|
133
|
-
*
|
|
134
|
-
* Requires a client-supplied `processId`.
|
|
135
|
-
*/
|
|
136
|
-
streamStdin?: boolean; /**
|
|
137
|
-
* Stream stdout/stderr via `command/exec/outputDelta` notifications.
|
|
138
|
-
*
|
|
139
|
-
* Streamed bytes are not duplicated into the final response and require a
|
|
140
|
-
* client-supplied `processId`.
|
|
141
|
-
*/
|
|
142
|
-
streamStdoutStderr?: boolean; /**
|
|
143
|
-
* Optional per-stream stdout/stderr capture cap in bytes.
|
|
144
|
-
*
|
|
145
|
-
* When omitted, the server default applies. Cannot be combined with
|
|
146
|
-
* `disableOutputCap`.
|
|
147
|
-
*/
|
|
148
|
-
outputBytesCap?: number | null; /**
|
|
149
|
-
* Disable stdout/stderr capture truncation for this request.
|
|
150
|
-
*
|
|
151
|
-
* Cannot be combined with `outputBytesCap`.
|
|
152
|
-
*/
|
|
153
|
-
disableOutputCap?: boolean; /**
|
|
154
|
-
* Disable the timeout entirely for this request.
|
|
155
|
-
*
|
|
156
|
-
* Cannot be combined with `timeoutMs`.
|
|
157
|
-
*/
|
|
158
|
-
disableTimeout?: boolean; /**
|
|
159
|
-
* Optional timeout in milliseconds.
|
|
160
|
-
*
|
|
161
|
-
* When omitted, the server default applies. Cannot be combined with
|
|
162
|
-
* `disableTimeout`.
|
|
163
|
-
*/
|
|
164
|
-
timeoutMs?: number | null; /**
|
|
165
|
-
* Optional working directory. Defaults to the server cwd.
|
|
166
|
-
*/
|
|
167
|
-
cwd?: string | null; /**
|
|
168
|
-
* Optional environment overrides merged into the server-computed
|
|
169
|
-
* environment.
|
|
170
|
-
*
|
|
171
|
-
* Matching names override inherited values. Set a key to `null` to unset
|
|
172
|
-
* an inherited variable.
|
|
173
|
-
*/
|
|
174
|
-
env?: {
|
|
175
|
-
[key in string]?: string | null;
|
|
176
|
-
} | null; /**
|
|
177
|
-
* Optional initial PTY size in character cells. Only valid when `tty` is
|
|
178
|
-
* true.
|
|
179
|
-
*/
|
|
180
|
-
size?: CommandExecTerminalSize | null; /**
|
|
181
|
-
* Optional sandbox policy for this command.
|
|
182
|
-
*
|
|
183
|
-
* Uses the same shape as thread/turn execution sandbox configuration and
|
|
184
|
-
* defaults to the user's configured policy when omitted. Cannot be
|
|
185
|
-
* combined with `permissionProfile`.
|
|
186
|
-
*/
|
|
187
|
-
sandboxPolicy?: SandboxPolicy | null;
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Resize a running PTY-backed `command/exec` session.
|
|
192
|
-
*/
|
|
193
|
-
type CommandExecResizeParams = {
|
|
194
|
-
/**
|
|
195
|
-
* Client-supplied, connection-scoped `processId` from the original
|
|
196
|
-
* `command/exec` request.
|
|
197
|
-
*/
|
|
198
|
-
processId: string;
|
|
199
|
-
/**
|
|
200
|
-
* New PTY size in character cells.
|
|
201
|
-
*/
|
|
202
|
-
size: CommandExecTerminalSize;
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Terminate a running `command/exec` session.
|
|
207
|
-
*/
|
|
208
|
-
type CommandExecTerminateParams = {
|
|
209
|
-
/**
|
|
210
|
-
* Client-supplied, connection-scoped `processId` from the original
|
|
211
|
-
* `command/exec` request.
|
|
212
|
-
*/
|
|
213
|
-
processId: string;
|
|
214
|
-
};
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Write stdin bytes to a running `command/exec` session, close stdin, or
|
|
218
|
-
* both.
|
|
219
|
-
*/
|
|
220
|
-
type CommandExecWriteParams = {
|
|
221
|
-
/**
|
|
222
|
-
* Client-supplied, connection-scoped `processId` from the original
|
|
223
|
-
* `command/exec` request.
|
|
224
|
-
*/
|
|
225
|
-
processId: string;
|
|
226
|
-
/**
|
|
227
|
-
* Optional base64-encoded stdin bytes to write.
|
|
228
|
-
*/
|
|
229
|
-
deltaBase64?: string | null;
|
|
230
|
-
/**
|
|
231
|
-
* Close stdin after writing `deltaBase64`, if present.
|
|
232
|
-
*/
|
|
233
|
-
closeStdin?: boolean;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* EXPERIMENTAL - list collaboration mode presets.
|
|
238
|
-
*/
|
|
239
|
-
type CollaborationModeListParams = Record<string, never>;
|
|
240
|
-
|
|
241
|
-
type MergeStrategy = "replace" | "upsert";
|
|
242
|
-
|
|
243
|
-
type ConfigEdit = {
|
|
244
|
-
keyPath: string;
|
|
245
|
-
value: JsonValue;
|
|
246
|
-
mergeStrategy: MergeStrategy;
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
type ConfigBatchWriteParams = {
|
|
250
|
-
edits: Array<ConfigEdit>;
|
|
251
|
-
/**
|
|
252
|
-
* Path to the config file to write; defaults to the user's `config.toml` when omitted.
|
|
253
|
-
*/
|
|
254
|
-
filePath?: string | null;
|
|
255
|
-
expectedVersion?: string | null;
|
|
256
|
-
/**
|
|
257
|
-
* When true, hot-reload the updated user config into all loaded threads after writing.
|
|
258
|
-
*/
|
|
259
|
-
reloadUserConfig?: boolean;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
type ConfigReadParams = {
|
|
263
|
-
includeLayers: boolean;
|
|
264
|
-
/**
|
|
265
|
-
* Optional working directory to resolve project config layers. If specified,
|
|
266
|
-
* return the effective config as seen from that directory (i.e., including any
|
|
267
|
-
* project layers between `cwd` and the project/repo root).
|
|
268
|
-
*/
|
|
269
|
-
cwd?: string | null;
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
type ConfigValueWriteParams = {
|
|
273
|
-
keyPath: string;
|
|
274
|
-
value: JsonValue;
|
|
275
|
-
mergeStrategy: MergeStrategy;
|
|
276
|
-
/**
|
|
277
|
-
* Path to the config file to write; defaults to the user's `config.toml` when omitted.
|
|
278
|
-
*/
|
|
279
|
-
filePath?: string | null;
|
|
280
|
-
expectedVersion?: string | null;
|
|
281
|
-
};
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Protection policy for creating or loading a controller-local device key.
|
|
285
|
-
*/
|
|
286
|
-
type DeviceKeyProtectionPolicy = "hardware_only" | "allow_os_protected_nonextractable";
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Create a controller-local device key with a random key id.
|
|
290
|
-
*/
|
|
291
|
-
type DeviceKeyCreateParams = {
|
|
292
|
-
/**
|
|
293
|
-
* Defaults to `hardware_only` when omitted.
|
|
294
|
-
*/
|
|
295
|
-
protectionPolicy?: DeviceKeyProtectionPolicy | null;
|
|
296
|
-
accountUserId: string;
|
|
297
|
-
clientId: string;
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Fetch a controller-local device key public key by id.
|
|
302
|
-
*/
|
|
303
|
-
type DeviceKeyPublicParams = {
|
|
304
|
-
keyId: string;
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* Audience for a remote-control client connection device-key proof.
|
|
309
|
-
*/
|
|
310
|
-
type RemoteControlClientConnectionAudience = "remote_control_client_websocket";
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Audience for a remote-control client enrollment device-key proof.
|
|
314
|
-
*/
|
|
315
|
-
type RemoteControlClientEnrollmentAudience = "remote_control_client_enrollment";
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Structured payloads accepted by `device/key/sign`.
|
|
319
|
-
*/
|
|
320
|
-
type DeviceKeySignPayload = {
|
|
321
|
-
"type": "remoteControlClientConnection";
|
|
322
|
-
nonce: string;
|
|
323
|
-
audience: RemoteControlClientConnectionAudience;
|
|
324
|
-
/**
|
|
325
|
-
* Backend-issued websocket session id that this proof authorizes.
|
|
326
|
-
*/
|
|
327
|
-
sessionId: string;
|
|
328
|
-
/**
|
|
329
|
-
* Origin of the backend endpoint that issued the challenge and will verify this proof.
|
|
330
|
-
*/
|
|
331
|
-
targetOrigin: string;
|
|
332
|
-
/**
|
|
333
|
-
* Websocket route path that this proof authorizes.
|
|
334
|
-
*/
|
|
335
|
-
targetPath: string;
|
|
336
|
-
accountUserId: string;
|
|
337
|
-
clientId: string;
|
|
338
|
-
/**
|
|
339
|
-
* Remote-control token expiration as Unix seconds.
|
|
340
|
-
*/
|
|
341
|
-
tokenExpiresAt: number;
|
|
342
|
-
/**
|
|
343
|
-
* SHA-256 of the controller-scoped remote-control token, encoded as unpadded base64url.
|
|
344
|
-
*/
|
|
345
|
-
tokenSha256Base64url: string;
|
|
346
|
-
/**
|
|
347
|
-
* Must contain exactly `remote_control_controller_websocket`.
|
|
348
|
-
*/
|
|
349
|
-
scopes: Array<string>;
|
|
350
|
-
} | {
|
|
351
|
-
"type": "remoteControlClientEnrollment";
|
|
352
|
-
nonce: string;
|
|
353
|
-
audience: RemoteControlClientEnrollmentAudience;
|
|
354
|
-
/**
|
|
355
|
-
* Backend-issued enrollment challenge id that this proof authorizes.
|
|
356
|
-
*/
|
|
357
|
-
challengeId: string;
|
|
358
|
-
/**
|
|
359
|
-
* Origin of the backend endpoint that issued the challenge and will verify this proof.
|
|
360
|
-
*/
|
|
361
|
-
targetOrigin: string;
|
|
362
|
-
/**
|
|
363
|
-
* HTTP route path that this proof authorizes.
|
|
364
|
-
*/
|
|
365
|
-
targetPath: string;
|
|
366
|
-
accountUserId: string;
|
|
367
|
-
clientId: string;
|
|
368
|
-
/**
|
|
369
|
-
* SHA-256 of the requested device identity operation, encoded as unpadded base64url.
|
|
370
|
-
*/
|
|
371
|
-
deviceIdentitySha256Base64url: string;
|
|
372
|
-
/**
|
|
373
|
-
* Enrollment challenge expiration as Unix seconds.
|
|
374
|
-
*/
|
|
375
|
-
challengeExpiresAt: number;
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Sign an accepted structured payload with a controller-local device key.
|
|
380
|
-
*/
|
|
381
|
-
type DeviceKeySignParams = {
|
|
382
|
-
keyId: string;
|
|
383
|
-
payload: DeviceKeySignPayload;
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
type ExperimentalFeatureEnablementSetParams = {
|
|
387
|
-
/**
|
|
388
|
-
* Process-wide runtime feature enablement keyed by canonical feature name.
|
|
389
|
-
*
|
|
390
|
-
* Only named features are updated. Omitted features are left unchanged.
|
|
391
|
-
* Send an empty map for a no-op.
|
|
392
|
-
*/
|
|
393
|
-
enablement: {
|
|
394
|
-
[key in string]?: boolean;
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
type ExperimentalFeatureListParams = {
|
|
399
|
-
/**
|
|
400
|
-
* Opaque pagination cursor returned by a previous call.
|
|
401
|
-
*/
|
|
402
|
-
cursor?: string | null;
|
|
403
|
-
/**
|
|
404
|
-
* Optional page size; defaults to a reasonable server-side value.
|
|
405
|
-
*/
|
|
406
|
-
limit?: number | null;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
type ExternalAgentConfigDetectParams = {
|
|
410
|
-
/**
|
|
411
|
-
* If true, include detection under the user's home (~/.claude, ~/.codex, etc.).
|
|
412
|
-
*/
|
|
413
|
-
includeHome?: boolean;
|
|
414
|
-
/**
|
|
415
|
-
* Zero or more working directories to include for repo-scoped detection.
|
|
416
|
-
*/
|
|
417
|
-
cwds?: Array<string> | null;
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
type ExternalAgentConfigMigrationItemType = "AGENTS_MD" | "CONFIG" | "SKILLS" | "PLUGINS" | "MCP_SERVER_CONFIG" | "SUBAGENTS" | "HOOKS" | "COMMANDS" | "SESSIONS";
|
|
421
|
-
|
|
422
|
-
type CommandMigration = {
|
|
423
|
-
name: string;
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
type HookMigration = {
|
|
427
|
-
name: string;
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
type McpServerMigration = {
|
|
431
|
-
name: string;
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
type PluginsMigration = {
|
|
435
|
-
marketplaceName: string;
|
|
436
|
-
pluginNames: Array<string>;
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
type SessionMigration = {
|
|
440
|
-
path: string;
|
|
441
|
-
cwd: string;
|
|
442
|
-
title: string | null;
|
|
443
|
-
};
|
|
444
|
-
|
|
445
|
-
type SubagentMigration = {
|
|
446
|
-
name: string;
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
type MigrationDetails = {
|
|
450
|
-
plugins: Array<PluginsMigration>;
|
|
451
|
-
sessions: Array<SessionMigration>;
|
|
452
|
-
mcpServers: Array<McpServerMigration>;
|
|
453
|
-
hooks: Array<HookMigration>;
|
|
454
|
-
subagents: Array<SubagentMigration>;
|
|
455
|
-
commands: Array<CommandMigration>;
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
type ExternalAgentConfigMigrationItem = {
|
|
459
|
-
itemType: ExternalAgentConfigMigrationItemType;
|
|
460
|
-
description: string;
|
|
461
|
-
/**
|
|
462
|
-
* Null or empty means home-scoped migration; non-empty means repo-scoped migration.
|
|
463
|
-
*/
|
|
464
|
-
cwd: string | null;
|
|
465
|
-
details: MigrationDetails | null;
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
type ExternalAgentConfigImportParams = {
|
|
469
|
-
migrationItems: Array<ExternalAgentConfigMigrationItem>;
|
|
470
|
-
};
|
|
471
|
-
|
|
472
|
-
type FeedbackUploadParams = {
|
|
473
|
-
classification: string;
|
|
474
|
-
reason?: string | null;
|
|
475
|
-
threadId?: string | null;
|
|
476
|
-
includeLogs: boolean;
|
|
477
|
-
extraLogFiles?: Array<string> | null;
|
|
478
|
-
tags?: {
|
|
479
|
-
[key in string]?: string;
|
|
480
|
-
} | null;
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Copy a file or directory tree on the host filesystem.
|
|
485
|
-
*/
|
|
486
|
-
type FsCopyParams = {
|
|
487
|
-
/**
|
|
488
|
-
* Absolute source path.
|
|
489
|
-
*/
|
|
490
|
-
sourcePath: AbsolutePathBuf;
|
|
491
|
-
/**
|
|
492
|
-
* Absolute destination path.
|
|
493
|
-
*/
|
|
494
|
-
destinationPath: AbsolutePathBuf;
|
|
495
|
-
/**
|
|
496
|
-
* Required for directory copies; ignored for file copies.
|
|
497
|
-
*/
|
|
498
|
-
recursive?: boolean;
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Create a directory on the host filesystem.
|
|
503
|
-
*/
|
|
504
|
-
type FsCreateDirectoryParams = {
|
|
505
|
-
/**
|
|
506
|
-
* Absolute directory path to create.
|
|
507
|
-
*/
|
|
508
|
-
path: AbsolutePathBuf;
|
|
509
|
-
/**
|
|
510
|
-
* Whether parent directories should also be created. Defaults to `true`.
|
|
511
|
-
*/
|
|
512
|
-
recursive?: boolean | null;
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Request metadata for an absolute path.
|
|
517
|
-
*/
|
|
518
|
-
type FsGetMetadataParams = {
|
|
519
|
-
/**
|
|
520
|
-
* Absolute path to inspect.
|
|
521
|
-
*/
|
|
522
|
-
path: AbsolutePathBuf;
|
|
523
|
-
};
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* List direct child names for a directory.
|
|
527
|
-
*/
|
|
528
|
-
type FsReadDirectoryParams = {
|
|
529
|
-
/**
|
|
530
|
-
* Absolute directory path to read.
|
|
531
|
-
*/
|
|
532
|
-
path: AbsolutePathBuf;
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Read a file from the host filesystem.
|
|
537
|
-
*/
|
|
538
|
-
type FsReadFileParams = {
|
|
539
|
-
/**
|
|
540
|
-
* Absolute path to read.
|
|
541
|
-
*/
|
|
542
|
-
path: AbsolutePathBuf;
|
|
543
|
-
};
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* Remove a file or directory tree from the host filesystem.
|
|
547
|
-
*/
|
|
548
|
-
type FsRemoveParams = {
|
|
549
|
-
/**
|
|
550
|
-
* Absolute path to remove.
|
|
551
|
-
*/
|
|
552
|
-
path: AbsolutePathBuf;
|
|
553
|
-
/**
|
|
554
|
-
* Whether directory removal should recurse. Defaults to `true`.
|
|
555
|
-
*/
|
|
556
|
-
recursive?: boolean | null;
|
|
557
|
-
/**
|
|
558
|
-
* Whether missing paths should be ignored. Defaults to `true`.
|
|
559
|
-
*/
|
|
560
|
-
force?: boolean | null;
|
|
561
|
-
};
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* Stop filesystem watch notifications for a prior `fs/watch`.
|
|
565
|
-
*/
|
|
566
|
-
type FsUnwatchParams = {
|
|
567
|
-
/**
|
|
568
|
-
* Watch identifier previously provided to `fs/watch`.
|
|
569
|
-
*/
|
|
570
|
-
watchId: string;
|
|
571
|
-
};
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* Start filesystem watch notifications for an absolute path.
|
|
575
|
-
*/
|
|
576
|
-
type FsWatchParams = {
|
|
577
|
-
/**
|
|
578
|
-
* Connection-scoped watch identifier used for `fs/unwatch` and `fs/changed`.
|
|
579
|
-
*/
|
|
580
|
-
watchId: string;
|
|
581
|
-
/**
|
|
582
|
-
* Absolute file or directory path to watch.
|
|
583
|
-
*/
|
|
584
|
-
path: AbsolutePathBuf;
|
|
585
|
-
};
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Write a file on the host filesystem.
|
|
589
|
-
*/
|
|
590
|
-
type FsWriteFileParams = {
|
|
591
|
-
/**
|
|
592
|
-
* Absolute path to write.
|
|
593
|
-
*/
|
|
594
|
-
path: AbsolutePathBuf;
|
|
595
|
-
/**
|
|
596
|
-
* File contents encoded as base64.
|
|
597
|
-
*/
|
|
598
|
-
dataBase64: string;
|
|
599
|
-
};
|
|
600
|
-
|
|
601
|
-
type GetAccountParams = {
|
|
602
|
-
/**
|
|
603
|
-
* When `true`, requests a proactive token refresh before returning.
|
|
604
|
-
*
|
|
605
|
-
* In managed auth mode this triggers the normal refresh-token flow. In
|
|
606
|
-
* external auth mode this flag is ignored. Clients should refresh tokens
|
|
607
|
-
* themselves and call `account/login/start` with `chatgptAuthTokens`.
|
|
608
|
-
*/
|
|
609
|
-
refreshToken: boolean;
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
type HooksListParams = {
|
|
613
|
-
/**
|
|
614
|
-
* When empty, defaults to the current session working directory.
|
|
615
|
-
*/
|
|
616
|
-
cwds?: Array<string>;
|
|
617
|
-
};
|
|
618
|
-
|
|
619
|
-
type McpServerStatusDetail = "full" | "toolsAndAuthOnly";
|
|
620
|
-
|
|
621
|
-
type ListMcpServerStatusParams = {
|
|
622
|
-
/**
|
|
623
|
-
* Opaque pagination cursor returned by a previous call.
|
|
624
|
-
*/
|
|
625
|
-
cursor?: string | null;
|
|
626
|
-
/**
|
|
627
|
-
* Optional page size; defaults to a server-defined value.
|
|
628
|
-
*/
|
|
629
|
-
limit?: number | null;
|
|
630
|
-
/**
|
|
631
|
-
* Controls how much MCP inventory data to fetch for each server.
|
|
632
|
-
* Defaults to `Full` when omitted.
|
|
633
|
-
*/
|
|
634
|
-
detail?: McpServerStatusDetail | null;
|
|
635
|
-
};
|
|
636
|
-
|
|
637
|
-
type LoginAccountParams = {
|
|
638
|
-
"type": "apiKey";
|
|
639
|
-
apiKey: string;
|
|
640
|
-
} | {
|
|
641
|
-
"type": "chatgpt";
|
|
642
|
-
codexStreamlinedLogin?: boolean;
|
|
643
|
-
} | {
|
|
644
|
-
"type": "chatgptDeviceCode";
|
|
645
|
-
} | {
|
|
646
|
-
"type": "chatgptAuthTokens";
|
|
647
|
-
/**
|
|
648
|
-
* Access token (JWT) supplied by the client.
|
|
649
|
-
* This token is used for backend API requests and email extraction.
|
|
650
|
-
*/
|
|
651
|
-
accessToken: string;
|
|
652
|
-
/**
|
|
653
|
-
* Workspace/account identifier supplied by the client.
|
|
654
|
-
*/
|
|
655
|
-
chatgptAccountId: string;
|
|
656
|
-
/**
|
|
657
|
-
* Optional plan type supplied by the client.
|
|
658
|
-
*
|
|
659
|
-
* When `null`, Codex attempts to derive the plan type from access-token
|
|
660
|
-
* claims. If unavailable, the plan defaults to `unknown`.
|
|
661
|
-
*/
|
|
662
|
-
chatgptPlanType?: string | null;
|
|
663
|
-
};
|
|
664
|
-
|
|
665
|
-
type MarketplaceAddParams = {
|
|
666
|
-
source: string;
|
|
667
|
-
refName?: string | null;
|
|
668
|
-
sparsePaths?: Array<string> | null;
|
|
669
|
-
};
|
|
670
|
-
|
|
671
|
-
type MarketplaceRemoveParams = {
|
|
672
|
-
marketplaceName: string;
|
|
673
|
-
};
|
|
674
|
-
|
|
675
|
-
type MarketplaceUpgradeParams = {
|
|
676
|
-
marketplaceName?: string | null;
|
|
677
|
-
};
|
|
678
|
-
|
|
679
|
-
type McpResourceReadParams = {
|
|
680
|
-
threadId?: string | null;
|
|
681
|
-
server: string;
|
|
682
|
-
uri: string;
|
|
683
|
-
};
|
|
684
|
-
|
|
685
|
-
type McpServerOauthLoginParams = {
|
|
686
|
-
name: string;
|
|
687
|
-
scopes?: Array<string> | null;
|
|
688
|
-
timeoutSecs?: bigint | null;
|
|
689
|
-
};
|
|
690
|
-
|
|
691
|
-
type McpServerToolCallParams = {
|
|
692
|
-
threadId: string;
|
|
693
|
-
server: string;
|
|
694
|
-
tool: string;
|
|
695
|
-
arguments?: JsonValue;
|
|
696
|
-
_meta?: JsonValue;
|
|
697
|
-
};
|
|
698
|
-
|
|
699
|
-
type ModelListParams = {
|
|
700
|
-
/**
|
|
701
|
-
* Opaque pagination cursor returned by a previous call.
|
|
702
|
-
*/
|
|
703
|
-
cursor?: string | null;
|
|
704
|
-
/**
|
|
705
|
-
* Optional page size; defaults to a reasonable server-side value.
|
|
706
|
-
*/
|
|
707
|
-
limit?: number | null;
|
|
708
|
-
/**
|
|
709
|
-
* When true, include models that are hidden from the default picker list.
|
|
710
|
-
*/
|
|
711
|
-
includeHidden?: boolean | null;
|
|
712
|
-
};
|
|
713
|
-
|
|
714
|
-
type ModelProviderCapabilitiesReadParams = Record<string, never>;
|
|
715
|
-
|
|
716
|
-
type PluginInstallParams = {
|
|
717
|
-
marketplacePath?: AbsolutePathBuf | null;
|
|
718
|
-
remoteMarketplaceName?: string | null;
|
|
719
|
-
pluginName: string;
|
|
720
|
-
};
|
|
721
|
-
|
|
722
|
-
type PluginListMarketplaceKind = "local" | "workspace-directory" | "shared-with-me";
|
|
723
|
-
|
|
724
|
-
type PluginListParams = {
|
|
725
|
-
/**
|
|
726
|
-
* Optional working directories used to discover repo marketplaces. When omitted,
|
|
727
|
-
* only home-scoped marketplaces and the official curated marketplace are considered.
|
|
728
|
-
*/
|
|
729
|
-
cwds?: Array<AbsolutePathBuf> | null;
|
|
730
|
-
/**
|
|
731
|
-
* Optional marketplace kind filter. When omitted, only local marketplaces are queried, plus
|
|
732
|
-
* the default remote catalog when enabled by feature flag.
|
|
733
|
-
*/
|
|
734
|
-
marketplaceKinds?: Array<PluginListMarketplaceKind> | null;
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
type PluginReadParams = {
|
|
738
|
-
marketplacePath?: AbsolutePathBuf | null;
|
|
739
|
-
remoteMarketplaceName?: string | null;
|
|
740
|
-
pluginName: string;
|
|
741
|
-
};
|
|
742
|
-
|
|
743
|
-
type PluginShareDeleteParams = {
|
|
744
|
-
remotePluginId: string;
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
type PluginShareListParams = Record<string, never>;
|
|
748
|
-
|
|
749
|
-
type PluginShareDiscoverability = "LISTED" | "UNLISTED" | "PRIVATE";
|
|
750
|
-
|
|
751
|
-
type PluginSharePrincipalType = "user" | "group" | "workspace";
|
|
752
|
-
|
|
753
|
-
type PluginShareTarget = {
|
|
754
|
-
principalType: PluginSharePrincipalType;
|
|
755
|
-
principalId: string;
|
|
756
|
-
};
|
|
757
|
-
|
|
758
|
-
type PluginShareSaveParams = {
|
|
759
|
-
pluginPath: AbsolutePathBuf;
|
|
760
|
-
remotePluginId?: string | null;
|
|
761
|
-
discoverability?: PluginShareDiscoverability | null;
|
|
762
|
-
shareTargets?: Array<PluginShareTarget> | null;
|
|
763
|
-
};
|
|
764
|
-
|
|
765
|
-
type PluginShareUpdateTargetsParams = {
|
|
766
|
-
remotePluginId: string;
|
|
767
|
-
shareTargets: Array<PluginShareTarget>;
|
|
768
|
-
};
|
|
769
|
-
|
|
770
|
-
type PluginSkillReadParams = {
|
|
771
|
-
remoteMarketplaceName: string;
|
|
772
|
-
remotePluginId: string;
|
|
773
|
-
skillName: string;
|
|
774
|
-
};
|
|
775
|
-
|
|
776
|
-
type PluginUninstallParams = {
|
|
777
|
-
pluginId: string;
|
|
778
|
-
};
|
|
779
|
-
|
|
780
|
-
type ReviewDelivery = "inline" | "detached";
|
|
781
|
-
|
|
782
|
-
type ReviewTarget = {
|
|
783
|
-
"type": "uncommittedChanges";
|
|
784
|
-
} | {
|
|
785
|
-
"type": "baseBranch";
|
|
786
|
-
branch: string;
|
|
787
|
-
} | {
|
|
788
|
-
"type": "commit";
|
|
789
|
-
sha: string;
|
|
790
|
-
/**
|
|
791
|
-
* Optional human-readable label (e.g., commit subject) for UIs.
|
|
792
|
-
*/
|
|
793
|
-
title: string | null;
|
|
794
|
-
} | {
|
|
795
|
-
"type": "custom";
|
|
796
|
-
instructions: string;
|
|
797
|
-
};
|
|
798
|
-
|
|
799
|
-
type ReviewStartParams = {
|
|
800
|
-
threadId: string;
|
|
801
|
-
target: ReviewTarget;
|
|
802
|
-
/**
|
|
803
|
-
* Where to run the review: inline (default) on the current thread or
|
|
804
|
-
* detached on a new thread (returned in `reviewThreadId`).
|
|
805
|
-
*/
|
|
806
|
-
delivery?: ReviewDelivery | null;
|
|
807
|
-
};
|
|
808
|
-
|
|
809
|
-
type AddCreditsNudgeCreditType = "credits" | "usage_limit";
|
|
810
|
-
|
|
811
|
-
type SendAddCreditsNudgeEmailParams = {
|
|
812
|
-
creditType: AddCreditsNudgeCreditType;
|
|
813
|
-
};
|
|
814
|
-
|
|
815
|
-
type SkillsConfigWriteParams = {
|
|
816
|
-
/**
|
|
817
|
-
* Path-based selector.
|
|
818
|
-
*/
|
|
819
|
-
path?: AbsolutePathBuf | null;
|
|
820
|
-
/**
|
|
821
|
-
* Name-based selector.
|
|
822
|
-
*/
|
|
823
|
-
name?: string | null;
|
|
824
|
-
enabled: boolean;
|
|
825
|
-
};
|
|
826
|
-
|
|
827
|
-
type SkillsListExtraRootsForCwd = {
|
|
828
|
-
cwd: string;
|
|
829
|
-
extraUserRoots: Array<string>;
|
|
830
|
-
};
|
|
831
|
-
|
|
832
|
-
type SkillsListParams = {
|
|
833
|
-
/**
|
|
834
|
-
* When empty, defaults to the current session working directory.
|
|
835
|
-
*/
|
|
836
|
-
cwds?: Array<string>;
|
|
837
|
-
/**
|
|
838
|
-
* When true, bypass the skills cache and re-scan skills from disk.
|
|
839
|
-
*/
|
|
840
|
-
forceReload?: boolean;
|
|
841
|
-
/**
|
|
842
|
-
* Optional per-cwd extra roots to scan as user-scoped skills.
|
|
843
|
-
*/
|
|
844
|
-
perCwdExtraUserRoots?: Array<SkillsListExtraRootsForCwd> | null;
|
|
845
|
-
};
|
|
846
|
-
|
|
847
|
-
type ThreadApproveGuardianDeniedActionParams = {
|
|
848
|
-
threadId: string;
|
|
849
|
-
/**
|
|
850
|
-
* Serialized `codex_protocol::protocol::GuardianAssessmentEvent`.
|
|
851
|
-
*/
|
|
852
|
-
event: JsonValue;
|
|
853
|
-
};
|
|
854
|
-
|
|
855
|
-
type ThreadArchiveParams = {
|
|
856
|
-
threadId: string;
|
|
857
|
-
};
|
|
858
|
-
|
|
859
|
-
type ThreadCompactStartParams = {
|
|
860
|
-
threadId: string;
|
|
861
|
-
};
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* Configures who approval requests are routed to for review. Examples
|
|
865
|
-
* include sandbox escapes, blocked network access, MCP approval prompts, and
|
|
866
|
-
* ARC escalations. Defaults to `user`. `auto_review` uses a carefully
|
|
867
|
-
* prompted subagent to gather relevant context and apply a risk-based
|
|
868
|
-
* decision framework before approving or denying the request.
|
|
869
|
-
*/
|
|
870
|
-
type ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent";
|
|
871
|
-
|
|
872
|
-
type AskForApproval = "untrusted" | "on-failure" | "on-request" | {
|
|
873
|
-
"granular": {
|
|
874
|
-
sandbox_approval: boolean;
|
|
875
|
-
rules: boolean;
|
|
876
|
-
skill_approval: boolean;
|
|
877
|
-
request_permissions: boolean;
|
|
878
|
-
mcp_elicitations: boolean;
|
|
879
|
-
};
|
|
880
|
-
} | "never";
|
|
881
|
-
|
|
882
|
-
type SandboxMode = "read-only" | "workspace-write" | "danger-full-access";
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* There are two ways to fork a thread:
|
|
886
|
-
* 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread.
|
|
887
|
-
* 2. By path: load the thread from disk by path and fork it into a new thread.
|
|
888
|
-
*
|
|
889
|
-
* If using path, the thread_id param will be ignored.
|
|
890
|
-
*
|
|
891
|
-
* Prefer using thread_id whenever possible.
|
|
892
|
-
*/
|
|
893
|
-
type ThreadForkParams = {
|
|
894
|
-
threadId: string; /**
|
|
895
|
-
* Configuration overrides for the forked thread, if any.
|
|
896
|
-
*/
|
|
897
|
-
model?: string | null;
|
|
898
|
-
modelProvider?: string | null;
|
|
899
|
-
serviceTier?: string | null | null;
|
|
900
|
-
cwd?: string | null;
|
|
901
|
-
approvalPolicy?: AskForApproval | null; /**
|
|
902
|
-
* Override where approval requests are routed for review on this thread
|
|
903
|
-
* and subsequent turns.
|
|
904
|
-
*/
|
|
905
|
-
approvalsReviewer?: ApprovalsReviewer | null;
|
|
906
|
-
sandbox?: SandboxMode | null;
|
|
907
|
-
config?: {
|
|
908
|
-
[key in string]?: JsonValue;
|
|
909
|
-
} | null;
|
|
910
|
-
baseInstructions?: string | null;
|
|
911
|
-
developerInstructions?: string | null;
|
|
912
|
-
ephemeral?: boolean; /**
|
|
913
|
-
* Optional client-supplied analytics source classification for this forked thread.
|
|
914
|
-
*/
|
|
915
|
-
threadSource?: ThreadSource | null;
|
|
916
|
-
};
|
|
917
|
-
|
|
918
|
-
type ThreadInjectItemsParams = {
|
|
919
|
-
threadId: string;
|
|
920
|
-
/**
|
|
921
|
-
* Raw Responses API items to append to the thread's model-visible history.
|
|
922
|
-
*/
|
|
923
|
-
items: Array<JsonValue>;
|
|
924
|
-
};
|
|
925
|
-
|
|
926
|
-
type SortDirection = "asc" | "desc";
|
|
927
|
-
|
|
928
|
-
type ThreadSortKey = "created_at" | "updated_at";
|
|
929
|
-
|
|
930
|
-
type ThreadSourceKind = "cli" | "vscode" | "exec" | "appServer" | "subAgent" | "subAgentReview" | "subAgentCompact" | "subAgentThreadSpawn" | "subAgentOther" | "unknown";
|
|
931
|
-
|
|
932
|
-
type ThreadListParams = {
|
|
933
|
-
/**
|
|
934
|
-
* Opaque pagination cursor returned by a previous call.
|
|
935
|
-
*/
|
|
936
|
-
cursor?: string | null;
|
|
937
|
-
/**
|
|
938
|
-
* Optional page size; defaults to a reasonable server-side value.
|
|
939
|
-
*/
|
|
940
|
-
limit?: number | null;
|
|
941
|
-
/**
|
|
942
|
-
* Optional sort key; defaults to created_at.
|
|
943
|
-
*/
|
|
944
|
-
sortKey?: ThreadSortKey | null;
|
|
945
|
-
/**
|
|
946
|
-
* Optional sort direction; defaults to descending (newest first).
|
|
947
|
-
*/
|
|
948
|
-
sortDirection?: SortDirection | null;
|
|
949
|
-
/**
|
|
950
|
-
* Optional provider filter; when set, only sessions recorded under these
|
|
951
|
-
* providers are returned. When present but empty, includes all providers.
|
|
952
|
-
*/
|
|
953
|
-
modelProviders?: Array<string> | null;
|
|
954
|
-
/**
|
|
955
|
-
* Optional source filter; when set, only sessions from these source kinds
|
|
956
|
-
* are returned. When omitted or empty, defaults to interactive sources.
|
|
957
|
-
*/
|
|
958
|
-
sourceKinds?: Array<ThreadSourceKind> | null;
|
|
959
|
-
/**
|
|
960
|
-
* Optional archived filter; when set to true, only archived threads are returned.
|
|
961
|
-
* If false or null, only non-archived threads are returned.
|
|
962
|
-
*/
|
|
963
|
-
archived?: boolean | null;
|
|
964
|
-
/**
|
|
965
|
-
* Optional cwd filter or filters; when set, only threads whose session cwd
|
|
966
|
-
* exactly matches one of these paths are returned.
|
|
967
|
-
*/
|
|
968
|
-
cwd?: string | Array<string> | null;
|
|
969
|
-
/**
|
|
970
|
-
* If true, return from the state DB without scanning JSONL rollouts to
|
|
971
|
-
* repair thread metadata. Omitted or false preserves scan-and-repair
|
|
972
|
-
* behavior.
|
|
973
|
-
*/
|
|
974
|
-
useStateDbOnly?: boolean;
|
|
975
|
-
/**
|
|
976
|
-
* Optional substring filter for the extracted thread title.
|
|
977
|
-
*/
|
|
978
|
-
searchTerm?: string | null;
|
|
979
|
-
};
|
|
980
|
-
|
|
981
|
-
type ThreadLoadedListParams = {
|
|
982
|
-
/**
|
|
983
|
-
* Opaque pagination cursor returned by a previous call.
|
|
984
|
-
*/
|
|
985
|
-
cursor?: string | null;
|
|
986
|
-
/**
|
|
987
|
-
* Optional page size; defaults to no limit.
|
|
988
|
-
*/
|
|
989
|
-
limit?: number | null;
|
|
990
|
-
};
|
|
991
|
-
|
|
992
|
-
type ThreadMetadataGitInfoUpdateParams = {
|
|
993
|
-
/**
|
|
994
|
-
* Omit to leave the stored commit unchanged, set to `null` to clear it,
|
|
995
|
-
* or provide a non-empty string to replace it.
|
|
996
|
-
*/
|
|
997
|
-
sha?: string | null;
|
|
998
|
-
/**
|
|
999
|
-
* Omit to leave the stored branch unchanged, set to `null` to clear it,
|
|
1000
|
-
* or provide a non-empty string to replace it.
|
|
1001
|
-
*/
|
|
1002
|
-
branch?: string | null;
|
|
1003
|
-
/**
|
|
1004
|
-
* Omit to leave the stored origin URL unchanged, set to `null` to clear it,
|
|
1005
|
-
* or provide a non-empty string to replace it.
|
|
1006
|
-
*/
|
|
1007
|
-
originUrl?: string | null;
|
|
1008
|
-
};
|
|
1009
|
-
|
|
1010
|
-
type ThreadMetadataUpdateParams = {
|
|
1011
|
-
threadId: string;
|
|
1012
|
-
/**
|
|
1013
|
-
* Patch the stored Git metadata for this thread.
|
|
1014
|
-
* Omit a field to leave it unchanged, set it to `null` to clear it, or
|
|
1015
|
-
* provide a string to replace the stored value.
|
|
1016
|
-
*/
|
|
1017
|
-
gitInfo?: ThreadMetadataGitInfoUpdateParams | null;
|
|
1018
|
-
};
|
|
1019
|
-
|
|
1020
|
-
type ThreadReadParams = {
|
|
1021
|
-
threadId: string;
|
|
1022
|
-
/**
|
|
1023
|
-
* When true, include turns and their items from rollout history.
|
|
1024
|
-
*/
|
|
1025
|
-
includeTurns: boolean;
|
|
1026
|
-
};
|
|
1027
|
-
|
|
1028
|
-
type Personality = "none" | "friendly" | "pragmatic";
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* There are three ways to resume a thread:
|
|
1032
|
-
* 1. By thread_id: load the thread from disk by thread_id and resume it.
|
|
1033
|
-
* 2. By history: instantiate the thread from memory and resume it.
|
|
1034
|
-
* 3. By path: load the thread from disk by path and resume it.
|
|
1035
|
-
*
|
|
1036
|
-
* The precedence is: history > path > thread_id.
|
|
1037
|
-
* If using history or path, the thread_id param will be ignored.
|
|
1038
|
-
*
|
|
1039
|
-
* Prefer using thread_id whenever possible.
|
|
1040
|
-
*/
|
|
1041
|
-
type ThreadResumeParams = {
|
|
1042
|
-
threadId: string; /**
|
|
1043
|
-
* Configuration overrides for the resumed thread, if any.
|
|
1044
|
-
*/
|
|
1045
|
-
model?: string | null;
|
|
1046
|
-
modelProvider?: string | null;
|
|
1047
|
-
serviceTier?: string | null | null;
|
|
1048
|
-
cwd?: string | null;
|
|
1049
|
-
approvalPolicy?: AskForApproval | null; /**
|
|
1050
|
-
* Override where approval requests are routed for review on this thread
|
|
1051
|
-
* and subsequent turns.
|
|
1052
|
-
*/
|
|
1053
|
-
approvalsReviewer?: ApprovalsReviewer | null;
|
|
1054
|
-
sandbox?: SandboxMode | null;
|
|
1055
|
-
config?: {
|
|
1056
|
-
[key in string]?: JsonValue;
|
|
1057
|
-
} | null;
|
|
1058
|
-
baseInstructions?: string | null;
|
|
1059
|
-
developerInstructions?: string | null;
|
|
1060
|
-
personality?: Personality | null;
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
type ThreadRollbackParams = {
|
|
1064
|
-
threadId: string;
|
|
1065
|
-
/**
|
|
1066
|
-
* The number of turns to drop from the end of the thread. Must be >= 1.
|
|
1067
|
-
*
|
|
1068
|
-
* This only modifies the thread's history and does not revert local file changes
|
|
1069
|
-
* that have been made by the agent. Clients are responsible for reverting these changes.
|
|
1070
|
-
*/
|
|
1071
|
-
numTurns: number;
|
|
1072
|
-
};
|
|
1073
|
-
|
|
1074
|
-
type ThreadSetNameParams = {
|
|
1075
|
-
threadId: string;
|
|
1076
|
-
name: string;
|
|
1077
|
-
};
|
|
1078
|
-
|
|
1079
|
-
type ThreadShellCommandParams = {
|
|
1080
|
-
threadId: string;
|
|
1081
|
-
/**
|
|
1082
|
-
* Shell command string evaluated by the thread's configured shell.
|
|
1083
|
-
* Unlike `command/exec`, this intentionally preserves shell syntax
|
|
1084
|
-
* such as pipes, redirects, and quoting. This runs unsandboxed with full
|
|
1085
|
-
* access rather than inheriting the thread sandbox policy.
|
|
1086
|
-
*/
|
|
1087
|
-
command: string;
|
|
1088
|
-
};
|
|
1089
|
-
|
|
1090
|
-
type ThreadStartSource = "startup" | "clear";
|
|
1091
|
-
|
|
1092
|
-
type ThreadStartParams = {
|
|
1093
|
-
model?: string | null;
|
|
1094
|
-
modelProvider?: string | null;
|
|
1095
|
-
serviceTier?: string | null | null;
|
|
1096
|
-
cwd?: string | null;
|
|
1097
|
-
approvalPolicy?: AskForApproval | null; /**
|
|
1098
|
-
* Override where approval requests are routed for review on this thread
|
|
1099
|
-
* and subsequent turns.
|
|
1100
|
-
*/
|
|
1101
|
-
approvalsReviewer?: ApprovalsReviewer | null;
|
|
1102
|
-
sandbox?: SandboxMode | null;
|
|
1103
|
-
config?: {
|
|
1104
|
-
[key in string]?: JsonValue;
|
|
1105
|
-
} | null;
|
|
1106
|
-
serviceName?: string | null;
|
|
1107
|
-
baseInstructions?: string | null;
|
|
1108
|
-
developerInstructions?: string | null;
|
|
1109
|
-
personality?: Personality | null;
|
|
1110
|
-
ephemeral?: boolean | null;
|
|
1111
|
-
sessionStartSource?: ThreadStartSource | null; /**
|
|
1112
|
-
* Optional client-supplied analytics source classification for this thread.
|
|
1113
|
-
*/
|
|
1114
|
-
threadSource?: ThreadSource | null;
|
|
1115
|
-
};
|
|
1116
|
-
|
|
1117
|
-
type ThreadUnarchiveParams = {
|
|
1118
|
-
threadId: string;
|
|
1119
|
-
};
|
|
1120
|
-
|
|
1121
|
-
type ThreadUnsubscribeParams = {
|
|
1122
|
-
threadId: string;
|
|
1123
|
-
};
|
|
1124
|
-
|
|
1125
|
-
type TurnInterruptParams = {
|
|
1126
|
-
threadId: string;
|
|
1127
|
-
turnId: string;
|
|
1128
|
-
};
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* A summary of the reasoning performed by the model. This can be useful for
|
|
1132
|
-
* debugging and understanding the model's reasoning process.
|
|
1133
|
-
* See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries
|
|
1134
|
-
*/
|
|
1135
|
-
type ReasoningSummary = "auto" | "concise" | "detailed" | "none";
|
|
1136
|
-
|
|
1137
|
-
type TurnStartParams = {
|
|
1138
|
-
threadId: string;
|
|
1139
|
-
input: Array<UserInput>; /**
|
|
1140
|
-
* Override the working directory for this turn and subsequent turns.
|
|
1141
|
-
*/
|
|
1142
|
-
cwd?: string | null; /**
|
|
1143
|
-
* Override the approval policy for this turn and subsequent turns.
|
|
1144
|
-
*/
|
|
1145
|
-
approvalPolicy?: AskForApproval | null; /**
|
|
1146
|
-
* Override where approval requests are routed for review on this turn and
|
|
1147
|
-
* subsequent turns.
|
|
1148
|
-
*/
|
|
1149
|
-
approvalsReviewer?: ApprovalsReviewer | null; /**
|
|
1150
|
-
* Override the sandbox policy for this turn and subsequent turns.
|
|
1151
|
-
*/
|
|
1152
|
-
sandboxPolicy?: SandboxPolicy | null; /**
|
|
1153
|
-
* Override the model for this turn and subsequent turns.
|
|
1154
|
-
*/
|
|
1155
|
-
model?: string | null; /**
|
|
1156
|
-
* Override the service tier for this turn and subsequent turns.
|
|
1157
|
-
*/
|
|
1158
|
-
serviceTier?: string | null | null; /**
|
|
1159
|
-
* Override the reasoning effort for this turn and subsequent turns.
|
|
1160
|
-
*/
|
|
1161
|
-
effort?: ReasoningEffort | null; /**
|
|
1162
|
-
* Override the reasoning summary for this turn and subsequent turns.
|
|
1163
|
-
*/
|
|
1164
|
-
summary?: ReasoningSummary | null; /**
|
|
1165
|
-
* Override the personality for this turn and subsequent turns.
|
|
1166
|
-
*/
|
|
1167
|
-
personality?: Personality | null; /**
|
|
1168
|
-
* Optional JSON Schema used to constrain the final assistant message for
|
|
1169
|
-
* this turn.
|
|
1170
|
-
*/
|
|
1171
|
-
outputSchema?: JsonValue | null;
|
|
1172
|
-
};
|
|
1173
|
-
|
|
1174
|
-
type TurnSteerParams = {
|
|
1175
|
-
threadId: string;
|
|
1176
|
-
input: Array<UserInput>; /**
|
|
1177
|
-
* Required active turn id precondition. The request fails when it does not
|
|
1178
|
-
* match the currently active turn.
|
|
1179
|
-
*/
|
|
1180
|
-
expectedTurnId: string;
|
|
1181
|
-
};
|
|
1182
|
-
|
|
1183
|
-
type WindowsSandboxSetupStartParams = {
|
|
1184
|
-
mode: WindowsSandboxSetupMode;
|
|
1185
|
-
cwd?: AbsolutePathBuf | null;
|
|
1186
|
-
};
|
|
1187
|
-
|
|
1188
|
-
/**
|
|
1189
|
-
* Request from the client to the server.
|
|
1190
|
-
*/
|
|
1191
|
-
type ClientRequest = {
|
|
1192
|
-
"method": "initialize";
|
|
1193
|
-
id: RequestId;
|
|
1194
|
-
params: InitializeParams;
|
|
1195
|
-
} | {
|
|
1196
|
-
"method": "thread/start";
|
|
1197
|
-
id: RequestId;
|
|
1198
|
-
params: ThreadStartParams;
|
|
1199
|
-
} | {
|
|
1200
|
-
"method": "thread/resume";
|
|
1201
|
-
id: RequestId;
|
|
1202
|
-
params: ThreadResumeParams;
|
|
1203
|
-
} | {
|
|
1204
|
-
"method": "thread/fork";
|
|
1205
|
-
id: RequestId;
|
|
1206
|
-
params: ThreadForkParams;
|
|
1207
|
-
} | {
|
|
1208
|
-
"method": "thread/archive";
|
|
1209
|
-
id: RequestId;
|
|
1210
|
-
params: ThreadArchiveParams;
|
|
1211
|
-
} | {
|
|
1212
|
-
"method": "thread/unsubscribe";
|
|
1213
|
-
id: RequestId;
|
|
1214
|
-
params: ThreadUnsubscribeParams;
|
|
1215
|
-
} | {
|
|
1216
|
-
"method": "thread/name/set";
|
|
1217
|
-
id: RequestId;
|
|
1218
|
-
params: ThreadSetNameParams;
|
|
1219
|
-
} | {
|
|
1220
|
-
"method": "thread/metadata/update";
|
|
1221
|
-
id: RequestId;
|
|
1222
|
-
params: ThreadMetadataUpdateParams;
|
|
1223
|
-
} | {
|
|
1224
|
-
"method": "thread/unarchive";
|
|
1225
|
-
id: RequestId;
|
|
1226
|
-
params: ThreadUnarchiveParams;
|
|
1227
|
-
} | {
|
|
1228
|
-
"method": "thread/compact/start";
|
|
1229
|
-
id: RequestId;
|
|
1230
|
-
params: ThreadCompactStartParams;
|
|
1231
|
-
} | {
|
|
1232
|
-
"method": "thread/shellCommand";
|
|
1233
|
-
id: RequestId;
|
|
1234
|
-
params: ThreadShellCommandParams;
|
|
1235
|
-
} | {
|
|
1236
|
-
"method": "thread/approveGuardianDeniedAction";
|
|
1237
|
-
id: RequestId;
|
|
1238
|
-
params: ThreadApproveGuardianDeniedActionParams;
|
|
1239
|
-
} | {
|
|
1240
|
-
"method": "thread/rollback";
|
|
1241
|
-
id: RequestId;
|
|
1242
|
-
params: ThreadRollbackParams;
|
|
1243
|
-
} | {
|
|
1244
|
-
"method": "thread/list";
|
|
1245
|
-
id: RequestId;
|
|
1246
|
-
params: ThreadListParams;
|
|
1247
|
-
} | {
|
|
1248
|
-
"method": "thread/loaded/list";
|
|
1249
|
-
id: RequestId;
|
|
1250
|
-
params: ThreadLoadedListParams;
|
|
1251
|
-
} | {
|
|
1252
|
-
"method": "thread/read";
|
|
1253
|
-
id: RequestId;
|
|
1254
|
-
params: ThreadReadParams;
|
|
1255
|
-
} | {
|
|
1256
|
-
"method": "thread/inject_items";
|
|
1257
|
-
id: RequestId;
|
|
1258
|
-
params: ThreadInjectItemsParams;
|
|
1259
|
-
} | {
|
|
1260
|
-
"method": "skills/list";
|
|
1261
|
-
id: RequestId;
|
|
1262
|
-
params: SkillsListParams;
|
|
1263
|
-
} | {
|
|
1264
|
-
"method": "hooks/list";
|
|
1265
|
-
id: RequestId;
|
|
1266
|
-
params: HooksListParams;
|
|
1267
|
-
} | {
|
|
1268
|
-
"method": "marketplace/add";
|
|
1269
|
-
id: RequestId;
|
|
1270
|
-
params: MarketplaceAddParams;
|
|
1271
|
-
} | {
|
|
1272
|
-
"method": "marketplace/remove";
|
|
1273
|
-
id: RequestId;
|
|
1274
|
-
params: MarketplaceRemoveParams;
|
|
1275
|
-
} | {
|
|
1276
|
-
"method": "marketplace/upgrade";
|
|
1277
|
-
id: RequestId;
|
|
1278
|
-
params: MarketplaceUpgradeParams;
|
|
1279
|
-
} | {
|
|
1280
|
-
"method": "plugin/list";
|
|
1281
|
-
id: RequestId;
|
|
1282
|
-
params: PluginListParams;
|
|
1283
|
-
} | {
|
|
1284
|
-
"method": "plugin/read";
|
|
1285
|
-
id: RequestId;
|
|
1286
|
-
params: PluginReadParams;
|
|
1287
|
-
} | {
|
|
1288
|
-
"method": "plugin/skill/read";
|
|
1289
|
-
id: RequestId;
|
|
1290
|
-
params: PluginSkillReadParams;
|
|
1291
|
-
} | {
|
|
1292
|
-
"method": "plugin/share/save";
|
|
1293
|
-
id: RequestId;
|
|
1294
|
-
params: PluginShareSaveParams;
|
|
1295
|
-
} | {
|
|
1296
|
-
"method": "plugin/share/updateTargets";
|
|
1297
|
-
id: RequestId;
|
|
1298
|
-
params: PluginShareUpdateTargetsParams;
|
|
1299
|
-
} | {
|
|
1300
|
-
"method": "plugin/share/list";
|
|
1301
|
-
id: RequestId;
|
|
1302
|
-
params: PluginShareListParams;
|
|
1303
|
-
} | {
|
|
1304
|
-
"method": "plugin/share/delete";
|
|
1305
|
-
id: RequestId;
|
|
1306
|
-
params: PluginShareDeleteParams;
|
|
1307
|
-
} | {
|
|
1308
|
-
"method": "app/list";
|
|
1309
|
-
id: RequestId;
|
|
1310
|
-
params: AppsListParams;
|
|
1311
|
-
} | {
|
|
1312
|
-
"method": "device/key/create";
|
|
1313
|
-
id: RequestId;
|
|
1314
|
-
params: DeviceKeyCreateParams;
|
|
1315
|
-
} | {
|
|
1316
|
-
"method": "device/key/public";
|
|
1317
|
-
id: RequestId;
|
|
1318
|
-
params: DeviceKeyPublicParams;
|
|
1319
|
-
} | {
|
|
1320
|
-
"method": "device/key/sign";
|
|
1321
|
-
id: RequestId;
|
|
1322
|
-
params: DeviceKeySignParams;
|
|
1323
|
-
} | {
|
|
1324
|
-
"method": "fs/readFile";
|
|
1325
|
-
id: RequestId;
|
|
1326
|
-
params: FsReadFileParams;
|
|
1327
|
-
} | {
|
|
1328
|
-
"method": "fs/writeFile";
|
|
1329
|
-
id: RequestId;
|
|
1330
|
-
params: FsWriteFileParams;
|
|
1331
|
-
} | {
|
|
1332
|
-
"method": "fs/createDirectory";
|
|
1333
|
-
id: RequestId;
|
|
1334
|
-
params: FsCreateDirectoryParams;
|
|
1335
|
-
} | {
|
|
1336
|
-
"method": "fs/getMetadata";
|
|
1337
|
-
id: RequestId;
|
|
1338
|
-
params: FsGetMetadataParams;
|
|
1339
|
-
} | {
|
|
1340
|
-
"method": "fs/readDirectory";
|
|
1341
|
-
id: RequestId;
|
|
1342
|
-
params: FsReadDirectoryParams;
|
|
1343
|
-
} | {
|
|
1344
|
-
"method": "fs/remove";
|
|
1345
|
-
id: RequestId;
|
|
1346
|
-
params: FsRemoveParams;
|
|
1347
|
-
} | {
|
|
1348
|
-
"method": "fs/copy";
|
|
1349
|
-
id: RequestId;
|
|
1350
|
-
params: FsCopyParams;
|
|
1351
|
-
} | {
|
|
1352
|
-
"method": "fs/watch";
|
|
1353
|
-
id: RequestId;
|
|
1354
|
-
params: FsWatchParams;
|
|
1355
|
-
} | {
|
|
1356
|
-
"method": "fs/unwatch";
|
|
1357
|
-
id: RequestId;
|
|
1358
|
-
params: FsUnwatchParams;
|
|
1359
|
-
} | {
|
|
1360
|
-
"method": "skills/config/write";
|
|
1361
|
-
id: RequestId;
|
|
1362
|
-
params: SkillsConfigWriteParams;
|
|
1363
|
-
} | {
|
|
1364
|
-
"method": "plugin/install";
|
|
1365
|
-
id: RequestId;
|
|
1366
|
-
params: PluginInstallParams;
|
|
1367
|
-
} | {
|
|
1368
|
-
"method": "plugin/uninstall";
|
|
1369
|
-
id: RequestId;
|
|
1370
|
-
params: PluginUninstallParams;
|
|
1371
|
-
} | {
|
|
1372
|
-
"method": "turn/start";
|
|
1373
|
-
id: RequestId;
|
|
1374
|
-
params: TurnStartParams;
|
|
1375
|
-
} | {
|
|
1376
|
-
"method": "turn/steer";
|
|
1377
|
-
id: RequestId;
|
|
1378
|
-
params: TurnSteerParams;
|
|
1379
|
-
} | {
|
|
1380
|
-
"method": "turn/interrupt";
|
|
1381
|
-
id: RequestId;
|
|
1382
|
-
params: TurnInterruptParams;
|
|
1383
|
-
} | {
|
|
1384
|
-
"method": "review/start";
|
|
1385
|
-
id: RequestId;
|
|
1386
|
-
params: ReviewStartParams;
|
|
1387
|
-
} | {
|
|
1388
|
-
"method": "model/list";
|
|
1389
|
-
id: RequestId;
|
|
1390
|
-
params: ModelListParams;
|
|
1391
|
-
} | {
|
|
1392
|
-
"method": "collaborationMode/list";
|
|
1393
|
-
id: RequestId;
|
|
1394
|
-
params: CollaborationModeListParams;
|
|
1395
|
-
} | {
|
|
1396
|
-
"method": "modelProvider/capabilities/read";
|
|
1397
|
-
id: RequestId;
|
|
1398
|
-
params: ModelProviderCapabilitiesReadParams;
|
|
1399
|
-
} | {
|
|
1400
|
-
"method": "experimentalFeature/list";
|
|
1401
|
-
id: RequestId;
|
|
1402
|
-
params: ExperimentalFeatureListParams;
|
|
1403
|
-
} | {
|
|
1404
|
-
"method": "experimentalFeature/enablement/set";
|
|
1405
|
-
id: RequestId;
|
|
1406
|
-
params: ExperimentalFeatureEnablementSetParams;
|
|
1407
|
-
} | {
|
|
1408
|
-
"method": "mcpServer/oauth/login";
|
|
1409
|
-
id: RequestId;
|
|
1410
|
-
params: McpServerOauthLoginParams;
|
|
1411
|
-
} | {
|
|
1412
|
-
"method": "config/mcpServer/reload";
|
|
1413
|
-
id: RequestId;
|
|
1414
|
-
params: undefined;
|
|
1415
|
-
} | {
|
|
1416
|
-
"method": "mcpServerStatus/list";
|
|
1417
|
-
id: RequestId;
|
|
1418
|
-
params: ListMcpServerStatusParams;
|
|
1419
|
-
} | {
|
|
1420
|
-
"method": "mcpServer/resource/read";
|
|
1421
|
-
id: RequestId;
|
|
1422
|
-
params: McpResourceReadParams;
|
|
1423
|
-
} | {
|
|
1424
|
-
"method": "mcpServer/tool/call";
|
|
1425
|
-
id: RequestId;
|
|
1426
|
-
params: McpServerToolCallParams;
|
|
1427
|
-
} | {
|
|
1428
|
-
"method": "windowsSandbox/setupStart";
|
|
1429
|
-
id: RequestId;
|
|
1430
|
-
params: WindowsSandboxSetupStartParams;
|
|
1431
|
-
} | {
|
|
1432
|
-
"method": "windowsSandbox/readiness";
|
|
1433
|
-
id: RequestId;
|
|
1434
|
-
params: undefined;
|
|
1435
|
-
} | {
|
|
1436
|
-
"method": "account/login/start";
|
|
1437
|
-
id: RequestId;
|
|
1438
|
-
params: LoginAccountParams;
|
|
1439
|
-
} | {
|
|
1440
|
-
"method": "account/login/cancel";
|
|
1441
|
-
id: RequestId;
|
|
1442
|
-
params: CancelLoginAccountParams;
|
|
1443
|
-
} | {
|
|
1444
|
-
"method": "account/logout";
|
|
1445
|
-
id: RequestId;
|
|
1446
|
-
params: undefined;
|
|
1447
|
-
} | {
|
|
1448
|
-
"method": "account/rateLimits/read";
|
|
1449
|
-
id: RequestId;
|
|
1450
|
-
params: undefined;
|
|
1451
|
-
} | {
|
|
1452
|
-
"method": "account/sendAddCreditsNudgeEmail";
|
|
1453
|
-
id: RequestId;
|
|
1454
|
-
params: SendAddCreditsNudgeEmailParams;
|
|
1455
|
-
} | {
|
|
1456
|
-
"method": "feedback/upload";
|
|
1457
|
-
id: RequestId;
|
|
1458
|
-
params: FeedbackUploadParams;
|
|
1459
|
-
} | {
|
|
1460
|
-
"method": "command/exec";
|
|
1461
|
-
id: RequestId;
|
|
1462
|
-
params: CommandExecParams;
|
|
1463
|
-
} | {
|
|
1464
|
-
"method": "command/exec/write";
|
|
1465
|
-
id: RequestId;
|
|
1466
|
-
params: CommandExecWriteParams;
|
|
1467
|
-
} | {
|
|
1468
|
-
"method": "command/exec/terminate";
|
|
1469
|
-
id: RequestId;
|
|
1470
|
-
params: CommandExecTerminateParams;
|
|
1471
|
-
} | {
|
|
1472
|
-
"method": "command/exec/resize";
|
|
1473
|
-
id: RequestId;
|
|
1474
|
-
params: CommandExecResizeParams;
|
|
1475
|
-
} | {
|
|
1476
|
-
"method": "config/read";
|
|
1477
|
-
id: RequestId;
|
|
1478
|
-
params: ConfigReadParams;
|
|
1479
|
-
} | {
|
|
1480
|
-
"method": "externalAgentConfig/detect";
|
|
1481
|
-
id: RequestId;
|
|
1482
|
-
params: ExternalAgentConfigDetectParams;
|
|
1483
|
-
} | {
|
|
1484
|
-
"method": "externalAgentConfig/import";
|
|
1485
|
-
id: RequestId;
|
|
1486
|
-
params: ExternalAgentConfigImportParams;
|
|
1487
|
-
} | {
|
|
1488
|
-
"method": "config/value/write";
|
|
1489
|
-
id: RequestId;
|
|
1490
|
-
params: ConfigValueWriteParams;
|
|
1491
|
-
} | {
|
|
1492
|
-
"method": "config/batchWrite";
|
|
1493
|
-
id: RequestId;
|
|
1494
|
-
params: ConfigBatchWriteParams;
|
|
1495
|
-
} | {
|
|
1496
|
-
"method": "configRequirements/read";
|
|
1497
|
-
id: RequestId;
|
|
1498
|
-
params: undefined;
|
|
1499
|
-
} | {
|
|
1500
|
-
"method": "account/read";
|
|
1501
|
-
id: RequestId;
|
|
1502
|
-
params: GetAccountParams;
|
|
1503
|
-
} | {
|
|
1504
|
-
"method": "getConversationSummary";
|
|
1505
|
-
id: RequestId;
|
|
1506
|
-
params: GetConversationSummaryParams;
|
|
1507
|
-
} | {
|
|
1508
|
-
"method": "gitDiffToRemote";
|
|
1509
|
-
id: RequestId;
|
|
1510
|
-
params: GitDiffToRemoteParams;
|
|
1511
|
-
} | {
|
|
1512
|
-
"method": "getAuthStatus";
|
|
1513
|
-
id: RequestId;
|
|
1514
|
-
params: GetAuthStatusParams;
|
|
1515
|
-
} | {
|
|
1516
|
-
"method": "fuzzyFileSearch";
|
|
1517
|
-
id: RequestId;
|
|
1518
|
-
params: FuzzyFileSearchParams;
|
|
1519
|
-
};
|
|
1520
|
-
|
|
1521
|
-
type ThreadResumeResponse = {
|
|
1522
|
-
thread: Thread;
|
|
1523
|
-
model: string;
|
|
1524
|
-
modelProvider: string;
|
|
1525
|
-
serviceTier: string | null;
|
|
1526
|
-
cwd: AbsolutePathBuf; /**
|
|
1527
|
-
* Instruction source files currently loaded for this thread.
|
|
1528
|
-
*/
|
|
1529
|
-
instructionSources: Array<AbsolutePathBuf>;
|
|
1530
|
-
approvalPolicy: AskForApproval; /**
|
|
1531
|
-
* Reviewer currently used for approval requests on this thread.
|
|
1532
|
-
*/
|
|
1533
|
-
approvalsReviewer: ApprovalsReviewer; /**
|
|
1534
|
-
* Legacy sandbox policy retained for compatibility. Experimental clients
|
|
1535
|
-
* should prefer `permissionProfile` when they need exact runtime
|
|
1536
|
-
* permissions.
|
|
1537
|
-
*/
|
|
1538
|
-
sandbox: SandboxPolicy;
|
|
1539
|
-
reasoningEffort: ReasoningEffort | null;
|
|
1540
|
-
};
|
|
1541
|
-
|
|
1542
|
-
export type { FsGetMetadataParams as $, AskForApproval as A, ConfigBatchWriteParams as B, ClientRequest as C, ConfigEdit as D, ExternalAgentConfigMigrationItem as E, ConfigReadParams as F, ConfigValueWriteParams as G, DeviceKeyCreateParams as H, InitializeParams as I, DeviceKeyProtectionPolicy as J, DeviceKeyPublicParams as K, ListMcpServerStatusParams as L, McpResourceReadParams as M, DeviceKeySignParams as N, DeviceKeySignPayload as O, PluginSharePrincipalType as P, ExperimentalFeatureEnablementSetParams as Q, ReasoningSummary as R, SandboxPolicy as S, ThreadArchiveParams as T, ExperimentalFeatureListParams as U, ExternalAgentConfigDetectParams as V, ExternalAgentConfigImportParams as W, ExternalAgentConfigMigrationItemType as X, FeedbackUploadParams as Y, FsCopyParams as Z, FsCreateDirectoryParams as _, CollaborationModeListParams as a, Personality as a$, FsReadDirectoryParams as a0, FsReadFileParams as a1, FsRemoveParams as a2, FsUnwatchParams as a3, FsWatchParams as a4, FsWriteFileParams as a5, GetAccountParams as a6, HookMigration as a7, HooksListParams as a8, LoginAccountParams as a9, ReviewStartParams as aA, ReviewTarget as aB, SendAddCreditsNudgeEmailParams as aC, SessionMigration as aD, SkillsConfigWriteParams as aE, SkillsListExtraRootsForCwd as aF, SkillsListParams as aG, SortDirection as aH, SubagentMigration as aI, ThreadApproveGuardianDeniedActionParams as aJ, ThreadForkParams as aK, ThreadInjectItemsParams as aL, ThreadLoadedListParams as aM, ThreadMetadataGitInfoUpdateParams as aN, ThreadRollbackParams as aO, ThreadShellCommandParams as aP, ThreadSortKey as aQ, ThreadSourceKind as aR, ThreadStartSource as aS, ThreadUnsubscribeParams as aT, WindowsSandboxSetupStartParams as aU, ClientInfo as aV, FuzzyFileSearchParams as aW, GetAuthStatusParams as aX, GetConversationSummaryParams as aY, GitDiffToRemoteParams as aZ, InitializeCapabilities as a_, MarketplaceAddParams as aa, MarketplaceRemoveParams as ab, MarketplaceUpgradeParams as ac, McpServerMigration as ad, McpServerStatusDetail as ae, MergeStrategy as af, MigrationDetails as ag, ModelListParams as ah, ModelProviderCapabilitiesReadParams as ai, NetworkAccess as aj, PluginInstallParams as ak, PluginListMarketplaceKind as al, PluginListParams as am, PluginReadParams as an, PluginShareDeleteParams as ao, PluginShareDiscoverability as ap, PluginShareListParams as aq, PluginShareSaveParams as ar, PluginShareTarget as as, PluginShareUpdateTargetsParams as at, PluginSkillReadParams as au, PluginUninstallParams as av, PluginsMigration as aw, RemoteControlClientConnectionAudience as ax, RemoteControlClientEnrollmentAudience as ay, ReviewDelivery as az, McpServerOauthLoginParams as b, McpServerToolCallParams as c, ThreadCompactStartParams as d, ThreadListParams as e, ThreadMetadataUpdateParams as f, ThreadReadParams as g, ThreadResumeParams as h, ThreadResumeResponse as i, ThreadSetNameParams as j, ThreadStartParams as k, ThreadUnarchiveParams as l, TurnInterruptParams as m, TurnStartParams as n, TurnSteerParams as o, ApprovalsReviewer as p, SandboxMode as q, AddCreditsNudgeCreditType as r, AppsListParams as s, CancelLoginAccountParams as t, CommandExecParams as u, CommandExecResizeParams as v, CommandExecTerminalSize as w, CommandExecTerminateParams as x, CommandExecWriteParams as y, CommandMigration as z };
|