mcp-codex-worker 0.1.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/README.md +135 -0
- package/bin/mcp-codex-worker.mjs +17 -0
- package/dist/src/app.d.ts +29 -0
- package/dist/src/app.js +353 -0
- package/dist/src/app.js.map +1 -0
- package/dist/src/config/defaults.d.ts +11 -0
- package/dist/src/config/defaults.js +12 -0
- package/dist/src/config/defaults.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +64 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/mcp/tool-definitions.d.ts +180 -0
- package/dist/src/mcp/tool-definitions.js +241 -0
- package/dist/src/mcp/tool-definitions.js.map +1 -0
- package/dist/src/services/app-server-client.d.ts +65 -0
- package/dist/src/services/app-server-client.js +511 -0
- package/dist/src/services/app-server-client.js.map +1 -0
- package/dist/src/services/codex-runtime.d.ts +84 -0
- package/dist/src/services/codex-runtime.js +371 -0
- package/dist/src/services/codex-runtime.js.map +1 -0
- package/dist/src/services/fleet-mode.d.ts +3 -0
- package/dist/src/services/fleet-mode.js +21 -0
- package/dist/src/services/fleet-mode.js.map +1 -0
- package/dist/src/services/model-catalog.d.ts +22 -0
- package/dist/src/services/model-catalog.js +51 -0
- package/dist/src/services/model-catalog.js.map +1 -0
- package/dist/src/services/profile-manager.d.ts +29 -0
- package/dist/src/services/profile-manager.js +82 -0
- package/dist/src/services/profile-manager.js.map +1 -0
- package/dist/src/types/codex.d.ts +50 -0
- package/dist/src/types/codex.js +2 -0
- package/dist/src/types/codex.js.map +1 -0
- package/package.json +53 -0
- package/src/app.ts +417 -0
- package/src/config/defaults.ts +14 -0
- package/src/index.ts +84 -0
- package/src/mcp/tool-definitions.ts +280 -0
- package/src/protocol/AbsolutePathBuf.ts +14 -0
- package/src/protocol/AgentPath.ts +5 -0
- package/src/protocol/ApplyPatchApprovalParams.ts +21 -0
- package/src/protocol/ApplyPatchApprovalResponse.ts +6 -0
- package/src/protocol/AuthMode.ts +8 -0
- package/src/protocol/ClientInfo.ts +5 -0
- package/src/protocol/ClientNotification.ts +5 -0
- package/src/protocol/ClientRequest.ts +67 -0
- package/src/protocol/CollaborationMode.ts +10 -0
- package/src/protocol/ContentItem.ts +5 -0
- package/src/protocol/ConversationGitInfo.ts +5 -0
- package/src/protocol/ConversationSummary.ts +8 -0
- package/src/protocol/ExecCommandApprovalParams.ts +16 -0
- package/src/protocol/ExecCommandApprovalResponse.ts +6 -0
- package/src/protocol/ExecPolicyAmendment.ts +12 -0
- package/src/protocol/FileChange.ts +5 -0
- package/src/protocol/ForcedLoginMethod.ts +5 -0
- package/src/protocol/FunctionCallOutputBody.ts +6 -0
- package/src/protocol/FunctionCallOutputContentItem.ts +10 -0
- package/src/protocol/FuzzyFileSearchMatchType.ts +5 -0
- package/src/protocol/FuzzyFileSearchParams.ts +5 -0
- package/src/protocol/FuzzyFileSearchResponse.ts +6 -0
- package/src/protocol/FuzzyFileSearchResult.ts +9 -0
- package/src/protocol/FuzzyFileSearchSessionCompletedNotification.ts +5 -0
- package/src/protocol/FuzzyFileSearchSessionUpdatedNotification.ts +6 -0
- package/src/protocol/GetAuthStatusParams.ts +5 -0
- package/src/protocol/GetAuthStatusResponse.ts +6 -0
- package/src/protocol/GetConversationSummaryParams.ts +6 -0
- package/src/protocol/GetConversationSummaryResponse.ts +6 -0
- package/src/protocol/GhostCommit.ts +8 -0
- package/src/protocol/GitDiffToRemoteParams.ts +5 -0
- package/src/protocol/GitDiffToRemoteResponse.ts +6 -0
- package/src/protocol/GitSha.ts +5 -0
- package/src/protocol/ImageDetail.ts +5 -0
- package/src/protocol/InitializeCapabilities.ts +17 -0
- package/src/protocol/InitializeParams.ts +7 -0
- package/src/protocol/InitializeResponse.ts +20 -0
- package/src/protocol/InputModality.ts +8 -0
- package/src/protocol/LocalShellAction.ts +6 -0
- package/src/protocol/LocalShellExecAction.ts +5 -0
- package/src/protocol/LocalShellStatus.ts +5 -0
- package/src/protocol/MessagePhase.ts +11 -0
- package/src/protocol/ModeKind.ts +8 -0
- package/src/protocol/NetworkPolicyAmendment.ts +6 -0
- package/src/protocol/NetworkPolicyRuleAction.ts +5 -0
- package/src/protocol/ParsedCommand.ts +12 -0
- package/src/protocol/Personality.ts +5 -0
- package/src/protocol/PlanType.ts +5 -0
- package/src/protocol/RealtimeConversationVersion.ts +5 -0
- package/src/protocol/ReasoningEffort.ts +8 -0
- package/src/protocol/ReasoningItemContent.ts +5 -0
- package/src/protocol/ReasoningItemReasoningSummary.ts +5 -0
- package/src/protocol/ReasoningSummary.ts +10 -0
- package/src/protocol/RequestId.ts +5 -0
- package/src/protocol/Resource.ts +9 -0
- package/src/protocol/ResourceTemplate.ts +9 -0
- package/src/protocol/ResponseItem.ts +18 -0
- package/src/protocol/ReviewDecision.ts +10 -0
- package/src/protocol/ServerNotification.ts +60 -0
- package/src/protocol/ServerRequest.ts +18 -0
- package/src/protocol/ServiceTier.ts +5 -0
- package/src/protocol/SessionSource.ts +6 -0
- package/src/protocol/Settings.ts +9 -0
- package/src/protocol/SubAgentSource.ts +7 -0
- package/src/protocol/ThreadId.ts +5 -0
- package/src/protocol/Tool.ts +9 -0
- package/src/protocol/Verbosity.ts +9 -0
- package/src/protocol/WebSearchAction.ts +5 -0
- package/src/protocol/WebSearchContextSize.ts +5 -0
- package/src/protocol/WebSearchLocation.ts +5 -0
- package/src/protocol/WebSearchMode.ts +5 -0
- package/src/protocol/WebSearchToolConfig.ts +7 -0
- package/src/protocol/index.ts +75 -0
- package/src/protocol/serde_json/JsonValue.ts +5 -0
- package/src/protocol/v2/Account.ts +6 -0
- package/src/protocol/v2/AccountLoginCompletedNotification.ts +5 -0
- package/src/protocol/v2/AccountRateLimitsUpdatedNotification.ts +6 -0
- package/src/protocol/v2/AccountUpdatedNotification.ts +7 -0
- package/src/protocol/v2/AdditionalFileSystemPermissions.ts +6 -0
- package/src/protocol/v2/AdditionalNetworkPermissions.ts +5 -0
- package/src/protocol/v2/AdditionalPermissionProfile.ts +7 -0
- package/src/protocol/v2/AgentMessageDeltaNotification.ts +5 -0
- package/src/protocol/v2/AnalyticsConfig.ts +6 -0
- package/src/protocol/v2/AppBranding.ts +8 -0
- package/src/protocol/v2/AppInfo.ts +19 -0
- package/src/protocol/v2/AppListUpdatedNotification.ts +9 -0
- package/src/protocol/v2/AppMetadata.ts +7 -0
- package/src/protocol/v2/AppReview.ts +5 -0
- package/src/protocol/v2/AppScreenshot.ts +5 -0
- package/src/protocol/v2/AppSummary.ts +8 -0
- package/src/protocol/v2/AppToolApproval.ts +5 -0
- package/src/protocol/v2/AppToolsConfig.ts +6 -0
- package/src/protocol/v2/ApprovalsReviewer.ts +12 -0
- package/src/protocol/v2/AppsConfig.ts +8 -0
- package/src/protocol/v2/AppsDefaultConfig.ts +5 -0
- package/src/protocol/v2/AppsListParams.ts +24 -0
- package/src/protocol/v2/AppsListResponse.ts +14 -0
- package/src/protocol/v2/AskForApproval.ts +5 -0
- package/src/protocol/v2/ByteRange.ts +5 -0
- package/src/protocol/v2/CancelLoginAccountParams.ts +5 -0
- package/src/protocol/v2/CancelLoginAccountResponse.ts +6 -0
- package/src/protocol/v2/CancelLoginAccountStatus.ts +5 -0
- package/src/protocol/v2/ChatgptAuthTokensRefreshParams.ts +16 -0
- package/src/protocol/v2/ChatgptAuthTokensRefreshReason.ts +5 -0
- package/src/protocol/v2/ChatgptAuthTokensRefreshResponse.ts +5 -0
- package/src/protocol/v2/CodexErrorInfo.ts +12 -0
- package/src/protocol/v2/CollabAgentState.ts +6 -0
- package/src/protocol/v2/CollabAgentStatus.ts +5 -0
- package/src/protocol/v2/CollabAgentTool.ts +5 -0
- package/src/protocol/v2/CollabAgentToolCallStatus.ts +5 -0
- package/src/protocol/v2/CollaborationModeMask.ts +10 -0
- package/src/protocol/v2/CommandAction.ts +5 -0
- package/src/protocol/v2/CommandExecOutputDeltaNotification.ts +30 -0
- package/src/protocol/v2/CommandExecOutputStream.ts +8 -0
- package/src/protocol/v2/CommandExecParams.ts +97 -0
- package/src/protocol/v2/CommandExecResizeParams.ts +18 -0
- package/src/protocol/v2/CommandExecResizeResponse.ts +8 -0
- package/src/protocol/v2/CommandExecResponse.ts +24 -0
- package/src/protocol/v2/CommandExecTerminalSize.ts +16 -0
- package/src/protocol/v2/CommandExecTerminateParams.ts +13 -0
- package/src/protocol/v2/CommandExecTerminateResponse.ts +8 -0
- package/src/protocol/v2/CommandExecWriteParams.ts +22 -0
- package/src/protocol/v2/CommandExecWriteResponse.ts +8 -0
- package/src/protocol/v2/CommandExecutionApprovalDecision.ts +7 -0
- package/src/protocol/v2/CommandExecutionOutputDeltaNotification.ts +5 -0
- package/src/protocol/v2/CommandExecutionRequestApprovalParams.ts +57 -0
- package/src/protocol/v2/CommandExecutionRequestApprovalResponse.ts +6 -0
- package/src/protocol/v2/CommandExecutionSource.ts +5 -0
- package/src/protocol/v2/CommandExecutionStatus.ts +5 -0
- package/src/protocol/v2/Config.ts +23 -0
- package/src/protocol/v2/ConfigBatchWriteParams.ts +14 -0
- package/src/protocol/v2/ConfigEdit.ts +7 -0
- package/src/protocol/v2/ConfigLayer.ts +7 -0
- package/src/protocol/v2/ConfigLayerMetadata.ts +6 -0
- package/src/protocol/v2/ConfigLayerSource.ts +16 -0
- package/src/protocol/v2/ConfigReadParams.ts +11 -0
- package/src/protocol/v2/ConfigReadResponse.ts +8 -0
- package/src/protocol/v2/ConfigRequirements.ts +9 -0
- package/src/protocol/v2/ConfigRequirementsReadResponse.ts +10 -0
- package/src/protocol/v2/ConfigValueWriteParams.ts +11 -0
- package/src/protocol/v2/ConfigWarningNotification.ts +22 -0
- package/src/protocol/v2/ConfigWriteResponse.ts +12 -0
- package/src/protocol/v2/ContextCompactedNotification.ts +8 -0
- package/src/protocol/v2/CreditsSnapshot.ts +5 -0
- package/src/protocol/v2/DeprecationNoticeNotification.ts +13 -0
- package/src/protocol/v2/DynamicToolCallOutputContentItem.ts +5 -0
- package/src/protocol/v2/DynamicToolCallParams.ts +6 -0
- package/src/protocol/v2/DynamicToolCallResponse.ts +6 -0
- package/src/protocol/v2/DynamicToolCallStatus.ts +5 -0
- package/src/protocol/v2/DynamicToolSpec.ts +6 -0
- package/src/protocol/v2/ErrorNotification.ts +6 -0
- package/src/protocol/v2/ExecPolicyAmendment.ts +5 -0
- package/src/protocol/v2/ExperimentalFeature.ts +37 -0
- package/src/protocol/v2/ExperimentalFeatureEnablementSetParams.ts +12 -0
- package/src/protocol/v2/ExperimentalFeatureEnablementSetResponse.ts +9 -0
- package/src/protocol/v2/ExperimentalFeatureListParams.ts +13 -0
- package/src/protocol/v2/ExperimentalFeatureListResponse.ts +11 -0
- package/src/protocol/v2/ExperimentalFeatureStage.ts +5 -0
- package/src/protocol/v2/ExternalAgentConfigDetectParams.ts +13 -0
- package/src/protocol/v2/ExternalAgentConfigDetectResponse.ts +6 -0
- package/src/protocol/v2/ExternalAgentConfigImportParams.ts +6 -0
- package/src/protocol/v2/ExternalAgentConfigImportResponse.ts +5 -0
- package/src/protocol/v2/ExternalAgentConfigMigrationItem.ts +10 -0
- package/src/protocol/v2/ExternalAgentConfigMigrationItemType.ts +5 -0
- package/src/protocol/v2/FeedbackUploadParams.ts +5 -0
- package/src/protocol/v2/FeedbackUploadResponse.ts +5 -0
- package/src/protocol/v2/FileChangeApprovalDecision.ts +5 -0
- package/src/protocol/v2/FileChangeOutputDeltaNotification.ts +5 -0
- package/src/protocol/v2/FileChangeRequestApprovalParams.ts +14 -0
- package/src/protocol/v2/FileChangeRequestApprovalResponse.ts +6 -0
- package/src/protocol/v2/FileUpdateChange.ts +6 -0
- package/src/protocol/v2/FsChangedNotification.ts +17 -0
- package/src/protocol/v2/FsCopyParams.ts +21 -0
- package/src/protocol/v2/FsCopyResponse.ts +8 -0
- package/src/protocol/v2/FsCreateDirectoryParams.ts +17 -0
- package/src/protocol/v2/FsCreateDirectoryResponse.ts +8 -0
- package/src/protocol/v2/FsGetMetadataParams.ts +13 -0
- package/src/protocol/v2/FsGetMetadataResponse.ts +24 -0
- package/src/protocol/v2/FsReadDirectoryEntry.ts +20 -0
- package/src/protocol/v2/FsReadDirectoryParams.ts +13 -0
- package/src/protocol/v2/FsReadDirectoryResponse.ts +13 -0
- package/src/protocol/v2/FsReadFileParams.ts +13 -0
- package/src/protocol/v2/FsReadFileResponse.ts +12 -0
- package/src/protocol/v2/FsRemoveParams.ts +21 -0
- package/src/protocol/v2/FsRemoveResponse.ts +8 -0
- package/src/protocol/v2/FsUnwatchParams.ts +12 -0
- package/src/protocol/v2/FsUnwatchResponse.ts +8 -0
- package/src/protocol/v2/FsWatchParams.ts +13 -0
- package/src/protocol/v2/FsWatchResponse.ts +17 -0
- package/src/protocol/v2/FsWriteFileParams.ts +17 -0
- package/src/protocol/v2/FsWriteFileResponse.ts +8 -0
- package/src/protocol/v2/GetAccountParams.ts +13 -0
- package/src/protocol/v2/GetAccountRateLimitsResponse.ts +14 -0
- package/src/protocol/v2/GetAccountResponse.ts +6 -0
- package/src/protocol/v2/GitInfo.ts +5 -0
- package/src/protocol/v2/GrantedPermissionProfile.ts +7 -0
- package/src/protocol/v2/GuardianApprovalReview.ts +12 -0
- package/src/protocol/v2/GuardianApprovalReviewStatus.ts +8 -0
- package/src/protocol/v2/GuardianRiskLevel.ts +8 -0
- package/src/protocol/v2/HookCompletedNotification.ts +6 -0
- package/src/protocol/v2/HookEventName.ts +5 -0
- package/src/protocol/v2/HookExecutionMode.ts +5 -0
- package/src/protocol/v2/HookHandlerType.ts +5 -0
- package/src/protocol/v2/HookOutputEntry.ts +6 -0
- package/src/protocol/v2/HookOutputEntryKind.ts +5 -0
- package/src/protocol/v2/HookPromptFragment.ts +5 -0
- package/src/protocol/v2/HookRunStatus.ts +5 -0
- package/src/protocol/v2/HookRunSummary.ts +11 -0
- package/src/protocol/v2/HookScope.ts +5 -0
- package/src/protocol/v2/HookStartedNotification.ts +6 -0
- package/src/protocol/v2/ItemCompletedNotification.ts +6 -0
- package/src/protocol/v2/ItemGuardianApprovalReviewCompletedNotification.ts +15 -0
- package/src/protocol/v2/ItemGuardianApprovalReviewStartedNotification.ts +15 -0
- package/src/protocol/v2/ItemStartedNotification.ts +6 -0
- package/src/protocol/v2/ListMcpServerStatusParams.ts +13 -0
- package/src/protocol/v2/ListMcpServerStatusResponse.ts +11 -0
- package/src/protocol/v2/LoginAccountParams.ts +21 -0
- package/src/protocol/v2/LoginAccountResponse.ts +17 -0
- package/src/protocol/v2/LogoutAccountResponse.ts +5 -0
- package/src/protocol/v2/MarketplaceInterface.ts +5 -0
- package/src/protocol/v2/MarketplaceLoadErrorInfo.ts +6 -0
- package/src/protocol/v2/McpAuthStatus.ts +5 -0
- package/src/protocol/v2/McpElicitationArrayType.ts +5 -0
- package/src/protocol/v2/McpElicitationBooleanSchema.ts +6 -0
- package/src/protocol/v2/McpElicitationBooleanType.ts +5 -0
- package/src/protocol/v2/McpElicitationConstOption.ts +5 -0
- package/src/protocol/v2/McpElicitationEnumSchema.ts +8 -0
- package/src/protocol/v2/McpElicitationLegacyTitledEnumSchema.ts +6 -0
- package/src/protocol/v2/McpElicitationMultiSelectEnumSchema.ts +7 -0
- package/src/protocol/v2/McpElicitationNumberSchema.ts +6 -0
- package/src/protocol/v2/McpElicitationNumberType.ts +5 -0
- package/src/protocol/v2/McpElicitationObjectType.ts +5 -0
- package/src/protocol/v2/McpElicitationPrimitiveSchema.ts +9 -0
- package/src/protocol/v2/McpElicitationSchema.ts +13 -0
- package/src/protocol/v2/McpElicitationSingleSelectEnumSchema.ts +7 -0
- package/src/protocol/v2/McpElicitationStringFormat.ts +5 -0
- package/src/protocol/v2/McpElicitationStringSchema.ts +7 -0
- package/src/protocol/v2/McpElicitationStringType.ts +5 -0
- package/src/protocol/v2/McpElicitationTitledEnumItems.ts +6 -0
- package/src/protocol/v2/McpElicitationTitledMultiSelectEnumSchema.ts +7 -0
- package/src/protocol/v2/McpElicitationTitledSingleSelectEnumSchema.ts +7 -0
- package/src/protocol/v2/McpElicitationUntitledEnumItems.ts +6 -0
- package/src/protocol/v2/McpElicitationUntitledMultiSelectEnumSchema.ts +7 -0
- package/src/protocol/v2/McpElicitationUntitledSingleSelectEnumSchema.ts +6 -0
- package/src/protocol/v2/McpServerElicitationAction.ts +5 -0
- package/src/protocol/v2/McpServerElicitationRequestParams.ts +16 -0
- package/src/protocol/v2/McpServerElicitationRequestResponse.ts +17 -0
- package/src/protocol/v2/McpServerOauthLoginCompletedNotification.ts +5 -0
- package/src/protocol/v2/McpServerOauthLoginParams.ts +5 -0
- package/src/protocol/v2/McpServerOauthLoginResponse.ts +5 -0
- package/src/protocol/v2/McpServerRefreshResponse.ts +5 -0
- package/src/protocol/v2/McpServerStartupState.ts +5 -0
- package/src/protocol/v2/McpServerStatus.ts +9 -0
- package/src/protocol/v2/McpServerStatusUpdatedNotification.ts +6 -0
- package/src/protocol/v2/McpToolCallError.ts +5 -0
- package/src/protocol/v2/McpToolCallProgressNotification.ts +5 -0
- package/src/protocol/v2/McpToolCallResult.ts +6 -0
- package/src/protocol/v2/McpToolCallStatus.ts +5 -0
- package/src/protocol/v2/MemoryCitation.ts +6 -0
- package/src/protocol/v2/MemoryCitationEntry.ts +5 -0
- package/src/protocol/v2/MergeStrategy.ts +5 -0
- package/src/protocol/v2/Model.ts +10 -0
- package/src/protocol/v2/ModelAvailabilityNux.ts +5 -0
- package/src/protocol/v2/ModelListParams.ts +17 -0
- package/src/protocol/v2/ModelListResponse.ts +11 -0
- package/src/protocol/v2/ModelRerouteReason.ts +5 -0
- package/src/protocol/v2/ModelReroutedNotification.ts +6 -0
- package/src/protocol/v2/ModelUpgradeInfo.ts +5 -0
- package/src/protocol/v2/NetworkAccess.ts +5 -0
- package/src/protocol/v2/NetworkApprovalContext.ts +6 -0
- package/src/protocol/v2/NetworkApprovalProtocol.ts +5 -0
- package/src/protocol/v2/NetworkDomainPermission.ts +5 -0
- package/src/protocol/v2/NetworkPolicyAmendment.ts +6 -0
- package/src/protocol/v2/NetworkPolicyRuleAction.ts +5 -0
- package/src/protocol/v2/NetworkRequirements.ts +32 -0
- package/src/protocol/v2/NetworkUnixSocketPermission.ts +5 -0
- package/src/protocol/v2/NonSteerableTurnKind.ts +5 -0
- package/src/protocol/v2/OverriddenMetadata.ts +7 -0
- package/src/protocol/v2/PatchApplyStatus.ts +5 -0
- package/src/protocol/v2/PatchChangeKind.ts +5 -0
- package/src/protocol/v2/PermissionGrantScope.ts +5 -0
- package/src/protocol/v2/PermissionsRequestApprovalParams.ts +6 -0
- package/src/protocol/v2/PermissionsRequestApprovalResponse.ts +7 -0
- package/src/protocol/v2/PlanDeltaNotification.ts +9 -0
- package/src/protocol/v2/PluginAuthPolicy.ts +5 -0
- package/src/protocol/v2/PluginDetail.ts +9 -0
- package/src/protocol/v2/PluginInstallParams.ts +10 -0
- package/src/protocol/v2/PluginInstallPolicy.ts +5 -0
- package/src/protocol/v2/PluginInstallResponse.ts +7 -0
- package/src/protocol/v2/PluginInterface.ts +11 -0
- package/src/protocol/v2/PluginListParams.ts +16 -0
- package/src/protocol/v2/PluginListResponse.ts +7 -0
- package/src/protocol/v2/PluginMarketplaceEntry.ts +8 -0
- package/src/protocol/v2/PluginReadParams.ts +6 -0
- package/src/protocol/v2/PluginReadResponse.ts +6 -0
- package/src/protocol/v2/PluginSource.ts +6 -0
- package/src/protocol/v2/PluginSummary.ts +9 -0
- package/src/protocol/v2/PluginUninstallParams.ts +9 -0
- package/src/protocol/v2/PluginUninstallResponse.ts +5 -0
- package/src/protocol/v2/ProfileV2.ts +19 -0
- package/src/protocol/v2/RateLimitSnapshot.ts +8 -0
- package/src/protocol/v2/RateLimitWindow.ts +5 -0
- package/src/protocol/v2/RawResponseItemCompletedNotification.ts +6 -0
- package/src/protocol/v2/ReadOnlyAccess.ts +6 -0
- package/src/protocol/v2/ReasoningEffortOption.ts +6 -0
- package/src/protocol/v2/ReasoningSummaryPartAddedNotification.ts +5 -0
- package/src/protocol/v2/ReasoningSummaryTextDeltaNotification.ts +5 -0
- package/src/protocol/v2/ReasoningTextDeltaNotification.ts +5 -0
- package/src/protocol/v2/RequestPermissionProfile.ts +7 -0
- package/src/protocol/v2/ResidencyRequirement.ts +5 -0
- package/src/protocol/v2/ReviewDelivery.ts +5 -0
- package/src/protocol/v2/ReviewStartParams.ts +12 -0
- package/src/protocol/v2/ReviewStartResponse.ts +13 -0
- package/src/protocol/v2/ReviewTarget.ts +9 -0
- package/src/protocol/v2/SandboxMode.ts +5 -0
- package/src/protocol/v2/SandboxPolicy.ts +8 -0
- package/src/protocol/v2/SandboxWorkspaceWrite.ts +5 -0
- package/src/protocol/v2/ServerRequestResolvedNotification.ts +6 -0
- package/src/protocol/v2/SessionSource.ts +6 -0
- package/src/protocol/v2/SkillDependencies.ts +6 -0
- package/src/protocol/v2/SkillErrorInfo.ts +5 -0
- package/src/protocol/v2/SkillInterface.ts +5 -0
- package/src/protocol/v2/SkillMetadata.ts +12 -0
- package/src/protocol/v2/SkillScope.ts +5 -0
- package/src/protocol/v2/SkillSummary.ts +6 -0
- package/src/protocol/v2/SkillToolDependency.ts +5 -0
- package/src/protocol/v2/SkillsChangedNotification.ts +11 -0
- package/src/protocol/v2/SkillsConfigWriteParams.ts +14 -0
- package/src/protocol/v2/SkillsConfigWriteResponse.ts +5 -0
- package/src/protocol/v2/SkillsListEntry.ts +7 -0
- package/src/protocol/v2/SkillsListExtraRootsForCwd.ts +5 -0
- package/src/protocol/v2/SkillsListParams.ts +18 -0
- package/src/protocol/v2/SkillsListResponse.ts +6 -0
- package/src/protocol/v2/TerminalInteractionNotification.ts +5 -0
- package/src/protocol/v2/TextElement.ts +14 -0
- package/src/protocol/v2/TextPosition.ts +13 -0
- package/src/protocol/v2/TextRange.ts +6 -0
- package/src/protocol/v2/Thread.ts +72 -0
- package/src/protocol/v2/ThreadActiveFlag.ts +5 -0
- package/src/protocol/v2/ThreadArchiveParams.ts +5 -0
- package/src/protocol/v2/ThreadArchiveResponse.ts +5 -0
- package/src/protocol/v2/ThreadArchivedNotification.ts +5 -0
- package/src/protocol/v2/ThreadClosedNotification.ts +5 -0
- package/src/protocol/v2/ThreadCompactStartParams.ts +5 -0
- package/src/protocol/v2/ThreadCompactStartResponse.ts +5 -0
- package/src/protocol/v2/ThreadForkParams.ts +34 -0
- package/src/protocol/v2/ThreadForkResponse.ts +15 -0
- package/src/protocol/v2/ThreadItem.ts +100 -0
- package/src/protocol/v2/ThreadListParams.ts +43 -0
- package/src/protocol/v2/ThreadListResponse.ts +11 -0
- package/src/protocol/v2/ThreadLoadedListParams.ts +13 -0
- package/src/protocol/v2/ThreadLoadedListResponse.ts +14 -0
- package/src/protocol/v2/ThreadMetadataGitInfoUpdateParams.ts +20 -0
- package/src/protocol/v2/ThreadMetadataUpdateParams.ts +12 -0
- package/src/protocol/v2/ThreadMetadataUpdateResponse.ts +6 -0
- package/src/protocol/v2/ThreadNameUpdatedNotification.ts +5 -0
- package/src/protocol/v2/ThreadReadParams.ts +9 -0
- package/src/protocol/v2/ThreadReadResponse.ts +6 -0
- package/src/protocol/v2/ThreadRealtimeAudioChunk.ts +8 -0
- package/src/protocol/v2/ThreadRealtimeClosedNotification.ts +8 -0
- package/src/protocol/v2/ThreadRealtimeErrorNotification.ts +8 -0
- package/src/protocol/v2/ThreadRealtimeItemAddedNotification.ts +9 -0
- package/src/protocol/v2/ThreadRealtimeOutputAudioDeltaNotification.ts +9 -0
- package/src/protocol/v2/ThreadRealtimeStartedNotification.ts +9 -0
- package/src/protocol/v2/ThreadRealtimeTranscriptUpdatedNotification.ts +9 -0
- package/src/protocol/v2/ThreadResumeParams.ts +43 -0
- package/src/protocol/v2/ThreadResumeResponse.ts +15 -0
- package/src/protocol/v2/ThreadRollbackParams.ts +12 -0
- package/src/protocol/v2/ThreadRollbackResponse.ts +14 -0
- package/src/protocol/v2/ThreadSetNameParams.ts +5 -0
- package/src/protocol/v2/ThreadSetNameResponse.ts +5 -0
- package/src/protocol/v2/ThreadShellCommandParams.ts +12 -0
- package/src/protocol/v2/ThreadShellCommandResponse.ts +5 -0
- package/src/protocol/v2/ThreadSortKey.ts +5 -0
- package/src/protocol/v2/ThreadSourceKind.ts +5 -0
- package/src/protocol/v2/ThreadStartParams.ts +23 -0
- package/src/protocol/v2/ThreadStartResponse.ts +15 -0
- package/src/protocol/v2/ThreadStartedNotification.ts +6 -0
- package/src/protocol/v2/ThreadStatus.ts +6 -0
- package/src/protocol/v2/ThreadStatusChangedNotification.ts +6 -0
- package/src/protocol/v2/ThreadTokenUsage.ts +6 -0
- package/src/protocol/v2/ThreadTokenUsageUpdatedNotification.ts +6 -0
- package/src/protocol/v2/ThreadUnarchiveParams.ts +5 -0
- package/src/protocol/v2/ThreadUnarchiveResponse.ts +6 -0
- package/src/protocol/v2/ThreadUnarchivedNotification.ts +5 -0
- package/src/protocol/v2/ThreadUnsubscribeParams.ts +5 -0
- package/src/protocol/v2/ThreadUnsubscribeResponse.ts +6 -0
- package/src/protocol/v2/ThreadUnsubscribeStatus.ts +5 -0
- package/src/protocol/v2/TokenUsageBreakdown.ts +5 -0
- package/src/protocol/v2/ToolRequestUserInputAnswer.ts +8 -0
- package/src/protocol/v2/ToolRequestUserInputOption.ts +8 -0
- package/src/protocol/v2/ToolRequestUserInputParams.ts +9 -0
- package/src/protocol/v2/ToolRequestUserInputQuestion.ts +9 -0
- package/src/protocol/v2/ToolRequestUserInputResponse.ts +9 -0
- package/src/protocol/v2/ToolsV2.ts +6 -0
- package/src/protocol/v2/Turn.ts +18 -0
- package/src/protocol/v2/TurnCompletedNotification.ts +6 -0
- package/src/protocol/v2/TurnDiffUpdatedNotification.ts +9 -0
- package/src/protocol/v2/TurnError.ts +6 -0
- package/src/protocol/v2/TurnInterruptParams.ts +5 -0
- package/src/protocol/v2/TurnInterruptResponse.ts +5 -0
- package/src/protocol/v2/TurnPlanStep.ts +6 -0
- package/src/protocol/v2/TurnPlanStepStatus.ts +5 -0
- package/src/protocol/v2/TurnPlanUpdatedNotification.ts +6 -0
- package/src/protocol/v2/TurnStartParams.ts +54 -0
- package/src/protocol/v2/TurnStartResponse.ts +6 -0
- package/src/protocol/v2/TurnStartedNotification.ts +6 -0
- package/src/protocol/v2/TurnStatus.ts +5 -0
- package/src/protocol/v2/TurnSteerParams.ts +11 -0
- package/src/protocol/v2/TurnSteerResponse.ts +5 -0
- package/src/protocol/v2/UserInput.ts +10 -0
- package/src/protocol/v2/WebSearchAction.ts +5 -0
- package/src/protocol/v2/WindowsSandboxSetupCompletedNotification.ts +6 -0
- package/src/protocol/v2/WindowsSandboxSetupMode.ts +5 -0
- package/src/protocol/v2/WindowsSandboxSetupStartParams.ts +7 -0
- package/src/protocol/v2/WindowsSandboxSetupStartResponse.ts +5 -0
- package/src/protocol/v2/WindowsWorldWritableWarningNotification.ts +5 -0
- package/src/protocol/v2/WriteStatus.ts +5 -0
- package/src/protocol/v2/index.ts +346 -0
- package/src/services/app-server-client.ts +636 -0
- package/src/services/codex-runtime.ts +500 -0
- package/src/services/fleet-mode.ts +29 -0
- package/src/services/model-catalog.ts +86 -0
- package/src/services/profile-manager.ts +113 -0
- package/src/types/codex.ts +57 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { GitSha } from "./GitSha";
|
|
5
|
+
|
|
6
|
+
export type GitDiffToRemoteResponse = { sha: GitSha, diff: string, };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Client-declared capabilities negotiated during initialize.
|
|
7
|
+
*/
|
|
8
|
+
export type InitializeCapabilities = {
|
|
9
|
+
/**
|
|
10
|
+
* Opt into receiving experimental API methods and fields.
|
|
11
|
+
*/
|
|
12
|
+
experimentalApi: boolean,
|
|
13
|
+
/**
|
|
14
|
+
* Exact notification method names that should be suppressed for this
|
|
15
|
+
* connection (for example `thread/started`).
|
|
16
|
+
*/
|
|
17
|
+
optOutNotificationMethods?: Array<string> | null, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { ClientInfo } from "./ClientInfo";
|
|
5
|
+
import type { InitializeCapabilities } from "./InitializeCapabilities";
|
|
6
|
+
|
|
7
|
+
export type InitializeParams = { clientInfo: ClientInfo, capabilities: InitializeCapabilities | null, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { AbsolutePathBuf } from "./AbsolutePathBuf";
|
|
5
|
+
|
|
6
|
+
export type InitializeResponse = { userAgent: string,
|
|
7
|
+
/**
|
|
8
|
+
* Absolute path to the server's $CODEX_HOME directory.
|
|
9
|
+
*/
|
|
10
|
+
codexHome: AbsolutePathBuf,
|
|
11
|
+
/**
|
|
12
|
+
* Platform family for the running app-server target, for example
|
|
13
|
+
* `"unix"` or `"windows"`.
|
|
14
|
+
*/
|
|
15
|
+
platformFamily: string,
|
|
16
|
+
/**
|
|
17
|
+
* Operating system for the running app-server target, for example
|
|
18
|
+
* `"macos"`, `"linux"`, or `"windows"`.
|
|
19
|
+
*/
|
|
20
|
+
platformOs: string, };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Canonical user-input modality tags advertised by a model.
|
|
7
|
+
*/
|
|
8
|
+
export type InputModality = "text" | "image";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { LocalShellExecAction } from "./LocalShellExecAction";
|
|
5
|
+
|
|
6
|
+
export type LocalShellAction = { "type": "exec" } & LocalShellExecAction;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
export type LocalShellExecAction = { command: Array<string>, timeout_ms: bigint | null, working_directory: string | null, env: { [key in string]?: string } | null, user: string | null, };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Classifies an assistant message as interim commentary or final answer text.
|
|
7
|
+
*
|
|
8
|
+
* Providers do not emit this consistently, so callers must treat `None` as
|
|
9
|
+
* "phase unknown" and keep compatibility behavior for legacy models.
|
|
10
|
+
*/
|
|
11
|
+
export type MessagePhase = "commentary" | "final_answer";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Initial collaboration mode to use when the TUI starts.
|
|
7
|
+
*/
|
|
8
|
+
export type ModeKind = "plan" | "default";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { NetworkPolicyRuleAction } from "./NetworkPolicyRuleAction";
|
|
5
|
+
|
|
6
|
+
export type NetworkPolicyAmendment = { host: string, action: NetworkPolicyRuleAction, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
export type ParsedCommand = { "type": "read", cmd: string, name: string,
|
|
6
|
+
/**
|
|
7
|
+
* (Best effort) Path to the file being read by the command. When
|
|
8
|
+
* possible, this is an absolute path, though when relative, it should
|
|
9
|
+
* be resolved against the `cwd`` that will be used to run the command
|
|
10
|
+
* to derive the absolute path.
|
|
11
|
+
*/
|
|
12
|
+
path: string, } | { "type": "list_files", cmd: string, path: string | null, } | { "type": "search", cmd: string, query: string | null, path: string | null, } | { "type": "unknown", cmd: string, };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
export type PlanType = "free" | "go" | "plus" | "pro" | "team" | "self_serve_business_usage_based" | "business" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "unknown";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning
|
|
7
|
+
*/
|
|
8
|
+
export type ReasoningEffort = "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
export type ReasoningItemContent = { "type": "reasoning_text", text: string, } | { "type": "text", text: string, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A summary of the reasoning performed by the model. This can be useful for
|
|
7
|
+
* debugging and understanding the model's reasoning process.
|
|
8
|
+
* See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries
|
|
9
|
+
*/
|
|
10
|
+
export type ReasoningSummary = "auto" | "concise" | "detailed" | "none";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { JsonValue } from "./serde_json/JsonValue";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A known resource that the server is capable of reading.
|
|
8
|
+
*/
|
|
9
|
+
export type Resource = { annotations?: JsonValue, description?: string, mimeType?: string, name: string, size?: number, title?: string, uri: string, icons?: Array<JsonValue>, _meta?: JsonValue, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { JsonValue } from "./serde_json/JsonValue";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A template description for resources available on the server.
|
|
8
|
+
*/
|
|
9
|
+
export type ResourceTemplate = { annotations?: JsonValue, uriTemplate: string, name: string, title?: string, description?: string, mimeType?: string, };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { ContentItem } from "./ContentItem";
|
|
5
|
+
import type { FunctionCallOutputBody } from "./FunctionCallOutputBody";
|
|
6
|
+
import type { GhostCommit } from "./GhostCommit";
|
|
7
|
+
import type { LocalShellAction } from "./LocalShellAction";
|
|
8
|
+
import type { LocalShellStatus } from "./LocalShellStatus";
|
|
9
|
+
import type { MessagePhase } from "./MessagePhase";
|
|
10
|
+
import type { ReasoningItemContent } from "./ReasoningItemContent";
|
|
11
|
+
import type { ReasoningItemReasoningSummary } from "./ReasoningItemReasoningSummary";
|
|
12
|
+
import type { WebSearchAction } from "./WebSearchAction";
|
|
13
|
+
|
|
14
|
+
export type ResponseItem = { "type": "message", role: string, content: Array<ContentItem>, end_turn?: boolean, phase?: MessagePhase, } | { "type": "reasoning", summary: Array<ReasoningItemReasoningSummary>, content?: Array<ReasoningItemContent>, encrypted_content: string | null, } | { "type": "local_shell_call",
|
|
15
|
+
/**
|
|
16
|
+
* Set when using the Responses API.
|
|
17
|
+
*/
|
|
18
|
+
call_id: string | null, status: LocalShellStatus, action: LocalShellAction, } | { "type": "function_call", name: string, namespace?: string, arguments: string, call_id: string, } | { "type": "tool_search_call", call_id: string | null, status?: string, execution: string, arguments: unknown, } | { "type": "function_call_output", call_id: string, output: FunctionCallOutputBody, } | { "type": "custom_tool_call", status?: string, call_id: string, name: string, input: string, } | { "type": "custom_tool_call_output", call_id: string, name?: string, output: FunctionCallOutputBody, } | { "type": "tool_search_output", call_id: string | null, status: string, execution: string, tools: unknown[], } | { "type": "web_search_call", status?: string, action?: WebSearchAction, } | { "type": "image_generation_call", id: string, status: string, revised_prompt?: string, result: string, } | { "type": "ghost_snapshot", ghost_commit: GhostCommit, } | { "type": "compaction", encrypted_content: string, } | { "type": "other" };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { ExecPolicyAmendment } from "./ExecPolicyAmendment";
|
|
5
|
+
import type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* User's decision in response to an ExecApprovalRequest.
|
|
9
|
+
*/
|
|
10
|
+
export type ReviewDecision = "approved" | { "approved_execpolicy_amendment": { proposed_execpolicy_amendment: ExecPolicyAmendment, } } | "approved_for_session" | { "network_policy_amendment": { network_policy_amendment: NetworkPolicyAmendment, } } | "denied" | "abort";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { FuzzyFileSearchSessionCompletedNotification } from "./FuzzyFileSearchSessionCompletedNotification";
|
|
5
|
+
import type { FuzzyFileSearchSessionUpdatedNotification } from "./FuzzyFileSearchSessionUpdatedNotification";
|
|
6
|
+
import type { AccountLoginCompletedNotification } from "./v2/AccountLoginCompletedNotification";
|
|
7
|
+
import type { AccountRateLimitsUpdatedNotification } from "./v2/AccountRateLimitsUpdatedNotification";
|
|
8
|
+
import type { AccountUpdatedNotification } from "./v2/AccountUpdatedNotification";
|
|
9
|
+
import type { AgentMessageDeltaNotification } from "./v2/AgentMessageDeltaNotification";
|
|
10
|
+
import type { AppListUpdatedNotification } from "./v2/AppListUpdatedNotification";
|
|
11
|
+
import type { CommandExecOutputDeltaNotification } from "./v2/CommandExecOutputDeltaNotification";
|
|
12
|
+
import type { CommandExecutionOutputDeltaNotification } from "./v2/CommandExecutionOutputDeltaNotification";
|
|
13
|
+
import type { ConfigWarningNotification } from "./v2/ConfigWarningNotification";
|
|
14
|
+
import type { ContextCompactedNotification } from "./v2/ContextCompactedNotification";
|
|
15
|
+
import type { DeprecationNoticeNotification } from "./v2/DeprecationNoticeNotification";
|
|
16
|
+
import type { ErrorNotification } from "./v2/ErrorNotification";
|
|
17
|
+
import type { FileChangeOutputDeltaNotification } from "./v2/FileChangeOutputDeltaNotification";
|
|
18
|
+
import type { FsChangedNotification } from "./v2/FsChangedNotification";
|
|
19
|
+
import type { HookCompletedNotification } from "./v2/HookCompletedNotification";
|
|
20
|
+
import type { HookStartedNotification } from "./v2/HookStartedNotification";
|
|
21
|
+
import type { ItemCompletedNotification } from "./v2/ItemCompletedNotification";
|
|
22
|
+
import type { ItemGuardianApprovalReviewCompletedNotification } from "./v2/ItemGuardianApprovalReviewCompletedNotification";
|
|
23
|
+
import type { ItemGuardianApprovalReviewStartedNotification } from "./v2/ItemGuardianApprovalReviewStartedNotification";
|
|
24
|
+
import type { ItemStartedNotification } from "./v2/ItemStartedNotification";
|
|
25
|
+
import type { McpServerOauthLoginCompletedNotification } from "./v2/McpServerOauthLoginCompletedNotification";
|
|
26
|
+
import type { McpServerStatusUpdatedNotification } from "./v2/McpServerStatusUpdatedNotification";
|
|
27
|
+
import type { McpToolCallProgressNotification } from "./v2/McpToolCallProgressNotification";
|
|
28
|
+
import type { ModelReroutedNotification } from "./v2/ModelReroutedNotification";
|
|
29
|
+
import type { PlanDeltaNotification } from "./v2/PlanDeltaNotification";
|
|
30
|
+
import type { RawResponseItemCompletedNotification } from "./v2/RawResponseItemCompletedNotification";
|
|
31
|
+
import type { ReasoningSummaryPartAddedNotification } from "./v2/ReasoningSummaryPartAddedNotification";
|
|
32
|
+
import type { ReasoningSummaryTextDeltaNotification } from "./v2/ReasoningSummaryTextDeltaNotification";
|
|
33
|
+
import type { ReasoningTextDeltaNotification } from "./v2/ReasoningTextDeltaNotification";
|
|
34
|
+
import type { ServerRequestResolvedNotification } from "./v2/ServerRequestResolvedNotification";
|
|
35
|
+
import type { SkillsChangedNotification } from "./v2/SkillsChangedNotification";
|
|
36
|
+
import type { TerminalInteractionNotification } from "./v2/TerminalInteractionNotification";
|
|
37
|
+
import type { ThreadArchivedNotification } from "./v2/ThreadArchivedNotification";
|
|
38
|
+
import type { ThreadClosedNotification } from "./v2/ThreadClosedNotification";
|
|
39
|
+
import type { ThreadNameUpdatedNotification } from "./v2/ThreadNameUpdatedNotification";
|
|
40
|
+
import type { ThreadRealtimeClosedNotification } from "./v2/ThreadRealtimeClosedNotification";
|
|
41
|
+
import type { ThreadRealtimeErrorNotification } from "./v2/ThreadRealtimeErrorNotification";
|
|
42
|
+
import type { ThreadRealtimeItemAddedNotification } from "./v2/ThreadRealtimeItemAddedNotification";
|
|
43
|
+
import type { ThreadRealtimeOutputAudioDeltaNotification } from "./v2/ThreadRealtimeOutputAudioDeltaNotification";
|
|
44
|
+
import type { ThreadRealtimeStartedNotification } from "./v2/ThreadRealtimeStartedNotification";
|
|
45
|
+
import type { ThreadRealtimeTranscriptUpdatedNotification } from "./v2/ThreadRealtimeTranscriptUpdatedNotification";
|
|
46
|
+
import type { ThreadStartedNotification } from "./v2/ThreadStartedNotification";
|
|
47
|
+
import type { ThreadStatusChangedNotification } from "./v2/ThreadStatusChangedNotification";
|
|
48
|
+
import type { ThreadTokenUsageUpdatedNotification } from "./v2/ThreadTokenUsageUpdatedNotification";
|
|
49
|
+
import type { ThreadUnarchivedNotification } from "./v2/ThreadUnarchivedNotification";
|
|
50
|
+
import type { TurnCompletedNotification } from "./v2/TurnCompletedNotification";
|
|
51
|
+
import type { TurnDiffUpdatedNotification } from "./v2/TurnDiffUpdatedNotification";
|
|
52
|
+
import type { TurnPlanUpdatedNotification } from "./v2/TurnPlanUpdatedNotification";
|
|
53
|
+
import type { TurnStartedNotification } from "./v2/TurnStartedNotification";
|
|
54
|
+
import type { WindowsSandboxSetupCompletedNotification } from "./v2/WindowsSandboxSetupCompletedNotification";
|
|
55
|
+
import type { WindowsWorldWritableWarningNotification } from "./v2/WindowsWorldWritableWarningNotification";
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Notification sent from the server to the client.
|
|
59
|
+
*/
|
|
60
|
+
export type ServerNotification = { "method": "error", "params": ErrorNotification } | { "method": "thread/started", "params": ThreadStartedNotification } | { "method": "thread/status/changed", "params": ThreadStatusChangedNotification } | { "method": "thread/archived", "params": ThreadArchivedNotification } | { "method": "thread/unarchived", "params": ThreadUnarchivedNotification } | { "method": "thread/closed", "params": ThreadClosedNotification } | { "method": "skills/changed", "params": SkillsChangedNotification } | { "method": "thread/name/updated", "params": ThreadNameUpdatedNotification } | { "method": "thread/tokenUsage/updated", "params": ThreadTokenUsageUpdatedNotification } | { "method": "turn/started", "params": TurnStartedNotification } | { "method": "hook/started", "params": HookStartedNotification } | { "method": "turn/completed", "params": TurnCompletedNotification } | { "method": "hook/completed", "params": HookCompletedNotification } | { "method": "turn/diff/updated", "params": TurnDiffUpdatedNotification } | { "method": "turn/plan/updated", "params": TurnPlanUpdatedNotification } | { "method": "item/started", "params": ItemStartedNotification } | { "method": "item/autoApprovalReview/started", "params": ItemGuardianApprovalReviewStartedNotification } | { "method": "item/autoApprovalReview/completed", "params": ItemGuardianApprovalReviewCompletedNotification } | { "method": "item/completed", "params": ItemCompletedNotification } | { "method": "rawResponseItem/completed", "params": RawResponseItemCompletedNotification } | { "method": "item/agentMessage/delta", "params": AgentMessageDeltaNotification } | { "method": "item/plan/delta", "params": PlanDeltaNotification } | { "method": "command/exec/outputDelta", "params": CommandExecOutputDeltaNotification } | { "method": "item/commandExecution/outputDelta", "params": CommandExecutionOutputDeltaNotification } | { "method": "item/commandExecution/terminalInteraction", "params": TerminalInteractionNotification } | { "method": "item/fileChange/outputDelta", "params": FileChangeOutputDeltaNotification } | { "method": "serverRequest/resolved", "params": ServerRequestResolvedNotification } | { "method": "item/mcpToolCall/progress", "params": McpToolCallProgressNotification } | { "method": "mcpServer/oauthLogin/completed", "params": McpServerOauthLoginCompletedNotification } | { "method": "mcpServer/startupStatus/updated", "params": McpServerStatusUpdatedNotification } | { "method": "account/updated", "params": AccountUpdatedNotification } | { "method": "account/rateLimits/updated", "params": AccountRateLimitsUpdatedNotification } | { "method": "app/list/updated", "params": AppListUpdatedNotification } | { "method": "fs/changed", "params": FsChangedNotification } | { "method": "item/reasoning/summaryTextDelta", "params": ReasoningSummaryTextDeltaNotification } | { "method": "item/reasoning/summaryPartAdded", "params": ReasoningSummaryPartAddedNotification } | { "method": "item/reasoning/textDelta", "params": ReasoningTextDeltaNotification } | { "method": "thread/compacted", "params": ContextCompactedNotification } | { "method": "model/rerouted", "params": ModelReroutedNotification } | { "method": "deprecationNotice", "params": DeprecationNoticeNotification } | { "method": "configWarning", "params": ConfigWarningNotification } | { "method": "fuzzyFileSearch/sessionUpdated", "params": FuzzyFileSearchSessionUpdatedNotification } | { "method": "fuzzyFileSearch/sessionCompleted", "params": FuzzyFileSearchSessionCompletedNotification } | { "method": "thread/realtime/started", "params": ThreadRealtimeStartedNotification } | { "method": "thread/realtime/itemAdded", "params": ThreadRealtimeItemAddedNotification } | { "method": "thread/realtime/transcriptUpdated", "params": ThreadRealtimeTranscriptUpdatedNotification } | { "method": "thread/realtime/outputAudio/delta", "params": ThreadRealtimeOutputAudioDeltaNotification } | { "method": "thread/realtime/error", "params": ThreadRealtimeErrorNotification } | { "method": "thread/realtime/closed", "params": ThreadRealtimeClosedNotification } | { "method": "windows/worldWritableWarning", "params": WindowsWorldWritableWarningNotification } | { "method": "windowsSandbox/setupCompleted", "params": WindowsSandboxSetupCompletedNotification } | { "method": "account/login/completed", "params": AccountLoginCompletedNotification };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { ApplyPatchApprovalParams } from "./ApplyPatchApprovalParams";
|
|
5
|
+
import type { ExecCommandApprovalParams } from "./ExecCommandApprovalParams";
|
|
6
|
+
import type { RequestId } from "./RequestId";
|
|
7
|
+
import type { ChatgptAuthTokensRefreshParams } from "./v2/ChatgptAuthTokensRefreshParams";
|
|
8
|
+
import type { CommandExecutionRequestApprovalParams } from "./v2/CommandExecutionRequestApprovalParams";
|
|
9
|
+
import type { DynamicToolCallParams } from "./v2/DynamicToolCallParams";
|
|
10
|
+
import type { FileChangeRequestApprovalParams } from "./v2/FileChangeRequestApprovalParams";
|
|
11
|
+
import type { McpServerElicitationRequestParams } from "./v2/McpServerElicitationRequestParams";
|
|
12
|
+
import type { PermissionsRequestApprovalParams } from "./v2/PermissionsRequestApprovalParams";
|
|
13
|
+
import type { ToolRequestUserInputParams } from "./v2/ToolRequestUserInputParams";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Request initiated from the server and sent to the client.
|
|
17
|
+
*/
|
|
18
|
+
export type ServerRequest = { "method": "item/commandExecution/requestApproval", id: RequestId, params: CommandExecutionRequestApprovalParams, } | { "method": "item/fileChange/requestApproval", id: RequestId, params: FileChangeRequestApprovalParams, } | { "method": "item/tool/requestUserInput", id: RequestId, params: ToolRequestUserInputParams, } | { "method": "mcpServer/elicitation/request", id: RequestId, params: McpServerElicitationRequestParams, } | { "method": "item/permissions/requestApproval", id: RequestId, params: PermissionsRequestApprovalParams, } | { "method": "item/tool/call", id: RequestId, params: DynamicToolCallParams, } | { "method": "account/chatgptAuthTokens/refresh", id: RequestId, params: ChatgptAuthTokensRefreshParams, } | { "method": "applyPatchApproval", id: RequestId, params: ApplyPatchApprovalParams, } | { "method": "execCommandApproval", id: RequestId, params: ExecCommandApprovalParams, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { SubAgentSource } from "./SubAgentSource";
|
|
5
|
+
|
|
6
|
+
export type SessionSource = "cli" | "vscode" | "exec" | "mcp" | { "custom": string } | { "subagent": SubAgentSource } | "unknown";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { ReasoningEffort } from "./ReasoningEffort";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Settings for a collaboration mode.
|
|
8
|
+
*/
|
|
9
|
+
export type Settings = { model: string, reasoning_effort: ReasoningEffort | null, developer_instructions: string | null, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { AgentPath } from "./AgentPath";
|
|
5
|
+
import type { ThreadId } from "./ThreadId";
|
|
6
|
+
|
|
7
|
+
export type SubAgentSource = "review" | "compact" | { "thread_spawn": { parent_thread_id: ThreadId, depth: number, agent_path: AgentPath | null, agent_nickname: string | null, agent_role: string | null, } } | "memory_consolidation" | { "other": string };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { JsonValue } from "./serde_json/JsonValue";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Definition for a tool the client can call.
|
|
8
|
+
*/
|
|
9
|
+
export type Tool = { name: string, title?: string, description?: string, inputSchema: JsonValue, outputSchema?: JsonValue, annotations?: JsonValue, icons?: Array<JsonValue>, _meta?: JsonValue, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Controls output length/detail on GPT-5 models via the Responses API.
|
|
7
|
+
* Serialized with lowercase values to match the OpenAI API.
|
|
8
|
+
*/
|
|
9
|
+
export type Verbosity = "low" | "medium" | "high";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
export type WebSearchAction = { "type": "search", query?: string, queries?: Array<string>, } | { "type": "open_page", url?: string, } | { "type": "find_in_page", url?: string, pattern?: string, } | { "type": "other" };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
export type WebSearchLocation = { country: string | null, region: string | null, city: string | null, timezone: string | null, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { WebSearchContextSize } from "./WebSearchContextSize";
|
|
5
|
+
import type { WebSearchLocation } from "./WebSearchLocation";
|
|
6
|
+
|
|
7
|
+
export type WebSearchToolConfig = { context_size: WebSearchContextSize | null, allowed_domains: Array<string> | null, location: WebSearchLocation | null, };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
export type { AbsolutePathBuf } from "./AbsolutePathBuf";
|
|
4
|
+
export type { AgentPath } from "./AgentPath";
|
|
5
|
+
export type { ApplyPatchApprovalParams } from "./ApplyPatchApprovalParams";
|
|
6
|
+
export type { ApplyPatchApprovalResponse } from "./ApplyPatchApprovalResponse";
|
|
7
|
+
export type { AuthMode } from "./AuthMode";
|
|
8
|
+
export type { ClientInfo } from "./ClientInfo";
|
|
9
|
+
export type { ClientNotification } from "./ClientNotification";
|
|
10
|
+
export type { ClientRequest } from "./ClientRequest";
|
|
11
|
+
export type { CollaborationMode } from "./CollaborationMode";
|
|
12
|
+
export type { ContentItem } from "./ContentItem";
|
|
13
|
+
export type { ConversationGitInfo } from "./ConversationGitInfo";
|
|
14
|
+
export type { ConversationSummary } from "./ConversationSummary";
|
|
15
|
+
export type { ExecCommandApprovalParams } from "./ExecCommandApprovalParams";
|
|
16
|
+
export type { ExecCommandApprovalResponse } from "./ExecCommandApprovalResponse";
|
|
17
|
+
export type { ExecPolicyAmendment } from "./ExecPolicyAmendment";
|
|
18
|
+
export type { FileChange } from "./FileChange";
|
|
19
|
+
export type { ForcedLoginMethod } from "./ForcedLoginMethod";
|
|
20
|
+
export type { FunctionCallOutputBody } from "./FunctionCallOutputBody";
|
|
21
|
+
export type { FunctionCallOutputContentItem } from "./FunctionCallOutputContentItem";
|
|
22
|
+
export type { FuzzyFileSearchMatchType } from "./FuzzyFileSearchMatchType";
|
|
23
|
+
export type { FuzzyFileSearchParams } from "./FuzzyFileSearchParams";
|
|
24
|
+
export type { FuzzyFileSearchResponse } from "./FuzzyFileSearchResponse";
|
|
25
|
+
export type { FuzzyFileSearchResult } from "./FuzzyFileSearchResult";
|
|
26
|
+
export type { FuzzyFileSearchSessionCompletedNotification } from "./FuzzyFileSearchSessionCompletedNotification";
|
|
27
|
+
export type { FuzzyFileSearchSessionUpdatedNotification } from "./FuzzyFileSearchSessionUpdatedNotification";
|
|
28
|
+
export type { GetAuthStatusParams } from "./GetAuthStatusParams";
|
|
29
|
+
export type { GetAuthStatusResponse } from "./GetAuthStatusResponse";
|
|
30
|
+
export type { GetConversationSummaryParams } from "./GetConversationSummaryParams";
|
|
31
|
+
export type { GetConversationSummaryResponse } from "./GetConversationSummaryResponse";
|
|
32
|
+
export type { GhostCommit } from "./GhostCommit";
|
|
33
|
+
export type { GitDiffToRemoteParams } from "./GitDiffToRemoteParams";
|
|
34
|
+
export type { GitDiffToRemoteResponse } from "./GitDiffToRemoteResponse";
|
|
35
|
+
export type { GitSha } from "./GitSha";
|
|
36
|
+
export type { ImageDetail } from "./ImageDetail";
|
|
37
|
+
export type { InitializeCapabilities } from "./InitializeCapabilities";
|
|
38
|
+
export type { InitializeParams } from "./InitializeParams";
|
|
39
|
+
export type { InitializeResponse } from "./InitializeResponse";
|
|
40
|
+
export type { InputModality } from "./InputModality";
|
|
41
|
+
export type { LocalShellAction } from "./LocalShellAction";
|
|
42
|
+
export type { LocalShellExecAction } from "./LocalShellExecAction";
|
|
43
|
+
export type { LocalShellStatus } from "./LocalShellStatus";
|
|
44
|
+
export type { MessagePhase } from "./MessagePhase";
|
|
45
|
+
export type { ModeKind } from "./ModeKind";
|
|
46
|
+
export type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment";
|
|
47
|
+
export type { NetworkPolicyRuleAction } from "./NetworkPolicyRuleAction";
|
|
48
|
+
export type { ParsedCommand } from "./ParsedCommand";
|
|
49
|
+
export type { Personality } from "./Personality";
|
|
50
|
+
export type { PlanType } from "./PlanType";
|
|
51
|
+
export type { RealtimeConversationVersion } from "./RealtimeConversationVersion";
|
|
52
|
+
export type { ReasoningEffort } from "./ReasoningEffort";
|
|
53
|
+
export type { ReasoningItemContent } from "./ReasoningItemContent";
|
|
54
|
+
export type { ReasoningItemReasoningSummary } from "./ReasoningItemReasoningSummary";
|
|
55
|
+
export type { ReasoningSummary } from "./ReasoningSummary";
|
|
56
|
+
export type { RequestId } from "./RequestId";
|
|
57
|
+
export type { Resource } from "./Resource";
|
|
58
|
+
export type { ResourceTemplate } from "./ResourceTemplate";
|
|
59
|
+
export type { ResponseItem } from "./ResponseItem";
|
|
60
|
+
export type { ReviewDecision } from "./ReviewDecision";
|
|
61
|
+
export type { ServerNotification } from "./ServerNotification";
|
|
62
|
+
export type { ServerRequest } from "./ServerRequest";
|
|
63
|
+
export type { ServiceTier } from "./ServiceTier";
|
|
64
|
+
export type { SessionSource } from "./SessionSource";
|
|
65
|
+
export type { Settings } from "./Settings";
|
|
66
|
+
export type { SubAgentSource } from "./SubAgentSource";
|
|
67
|
+
export type { ThreadId } from "./ThreadId";
|
|
68
|
+
export type { Tool } from "./Tool";
|
|
69
|
+
export type { Verbosity } from "./Verbosity";
|
|
70
|
+
export type { WebSearchAction } from "./WebSearchAction";
|
|
71
|
+
export type { WebSearchContextSize } from "./WebSearchContextSize";
|
|
72
|
+
export type { WebSearchLocation } from "./WebSearchLocation";
|
|
73
|
+
export type { WebSearchMode } from "./WebSearchMode";
|
|
74
|
+
export type { WebSearchToolConfig } from "./WebSearchToolConfig";
|
|
75
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { PlanType } from "../PlanType";
|
|
5
|
+
|
|
6
|
+
export type Account = { "type": "apiKey", } | { "type": "chatgpt", email: string, planType: PlanType, };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
|
|
5
|
+
export type AccountLoginCompletedNotification = { loginId: string | null, success: boolean, error: string | null, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { RateLimitSnapshot } from "./RateLimitSnapshot";
|
|
5
|
+
|
|
6
|
+
export type AccountRateLimitsUpdatedNotification = { rateLimits: RateLimitSnapshot, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { AuthMode } from "../AuthMode";
|
|
5
|
+
import type { PlanType } from "../PlanType";
|
|
6
|
+
|
|
7
|
+
export type AccountUpdatedNotification = { authMode: AuthMode | null, planType: PlanType | null, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
2
|
+
|
|
3
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
4
|
+
import type { AbsolutePathBuf } from "../AbsolutePathBuf";
|
|
5
|
+
|
|
6
|
+
export type AdditionalFileSystemPermissions = { read: Array<AbsolutePathBuf> | null, write: Array<AbsolutePathBuf> | null, };
|