t3code-cli 0.10.0 → 0.11.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.
Files changed (124) hide show
  1. package/README.md +33 -1
  2. package/dist/application.js +2 -2
  3. package/dist/auth.js +1 -1
  4. package/dist/bin.js +1566 -351
  5. package/dist/cli.js +1 -1
  6. package/dist/config.js +1 -1
  7. package/dist/connection.js +1 -11
  8. package/dist/index.js +1 -1
  9. package/dist/layout.js +1 -1
  10. package/dist/node.js +2 -0
  11. package/dist/orchestration.js +2 -2
  12. package/dist/rpc.js +2 -2
  13. package/dist/runtime.js +1 -1
  14. package/dist/scope.js +1 -1
  15. package/dist/shared.js +1740 -767
  16. package/dist/src/application/index.d.ts +3 -2
  17. package/dist/src/application/layer.d.ts +82 -841
  18. package/dist/src/application/model-selection.d.ts +15 -0
  19. package/dist/src/application/models.d.ts +1 -87
  20. package/dist/src/application/project-commands.d.ts +9 -0
  21. package/dist/src/application/projects.d.ts +13 -135
  22. package/dist/src/application/service.d.ts +84 -5
  23. package/dist/src/application/shell-sequence.d.ts +2 -12
  24. package/dist/src/application/terminals.d.ts +66 -0
  25. package/dist/src/application/thread-commands.d.ts +47 -0
  26. package/dist/src/application/thread-update.d.ts +8 -0
  27. package/dist/src/application/thread-wait.d.ts +3 -14
  28. package/dist/src/application/threads.d.ts +21 -50
  29. package/dist/src/cli/flags.d.ts +3 -0
  30. package/dist/src/cli/output-format.d.ts +2 -0
  31. package/dist/src/domain/error.d.ts +14 -1
  32. package/dist/src/domain/helpers.d.ts +0 -9
  33. package/dist/src/domain/model-config.d.ts +29 -3
  34. package/dist/src/domain/thread-lifecycle.d.ts +2 -10
  35. package/dist/src/node/index.d.ts +2 -0
  36. package/dist/src/orchestration/index.d.ts +1 -0
  37. package/dist/src/orchestration/layer.d.ts +177 -1032
  38. package/dist/src/orchestration/service.d.ts +1 -0
  39. package/dist/src/rpc/error.d.ts +4 -2
  40. package/dist/src/rpc/index.d.ts +5 -0
  41. package/dist/src/rpc/layer.d.ts +1097 -499
  42. package/dist/src/rpc/operation.d.ts +5752 -0
  43. package/dist/src/rpc/ws-group.d.ts +327 -147
  44. package/dist/src/runtime/layer.d.ts +1 -1
  45. package/dist/t3tools.js +2 -2
  46. package/dist/upstream-t3code/packages/contracts/src/environmentHttp.d.ts +10 -33
  47. package/dist/upstream-t3code/packages/contracts/src/ipc.d.ts +0 -6
  48. package/dist/upstream-t3code/packages/contracts/src/orchestration.d.ts +1 -657
  49. package/dist/upstream-t3code/packages/contracts/src/provider.d.ts +0 -14
  50. package/dist/upstream-t3code/packages/contracts/src/providerRuntime.d.ts +1 -175
  51. package/dist/upstream-t3code/packages/contracts/src/rpc.d.ts +0 -492
  52. package/dist/upstream-t3code/packages/contracts/src/server.d.ts +0 -45
  53. package/dist/upstream-t3code/packages/contracts/src/settings.d.ts +0 -21
  54. package/dist/upstream-t3code/packages/contracts/src/terminal.d.ts +3 -6
  55. package/package.json +6 -2
  56. package/src/application/index.ts +28 -2
  57. package/src/application/layer.ts +34 -5
  58. package/src/application/model-selection.ts +68 -2
  59. package/src/application/models.ts +14 -14
  60. package/src/application/project-commands.ts +15 -0
  61. package/src/application/projects.ts +43 -13
  62. package/src/application/service.ts +196 -77
  63. package/src/application/shell-sequence.ts +5 -7
  64. package/src/application/terminals.ts +207 -0
  65. package/src/application/thread-commands.test.ts +43 -0
  66. package/src/application/thread-commands.ts +81 -0
  67. package/src/application/thread-update.ts +72 -0
  68. package/src/application/thread-wait.ts +46 -47
  69. package/src/application/threads.test.ts +166 -0
  70. package/src/application/threads.ts +123 -40
  71. package/src/bin.ts +2 -0
  72. package/src/cli/app.ts +2 -0
  73. package/src/cli/confirm.ts +31 -0
  74. package/src/cli/error.ts +26 -3
  75. package/src/cli/flags.ts +15 -0
  76. package/src/cli/input/layer.ts +20 -0
  77. package/src/cli/input/service.ts +1 -0
  78. package/src/cli/output-format.ts +6 -2
  79. package/src/cli/project-format.ts +7 -0
  80. package/src/cli/project.ts +2 -1
  81. package/src/cli/projects/delete.ts +50 -0
  82. package/src/cli/self-action.ts +34 -0
  83. package/src/cli/terminal/attach.ts +32 -0
  84. package/src/cli/terminal/commands.test.ts +101 -0
  85. package/src/cli/terminal/create.ts +54 -0
  86. package/src/cli/terminal/destroy.ts +60 -0
  87. package/src/cli/terminal/encoding.test.ts +63 -0
  88. package/src/cli/terminal/encoding.ts +23 -0
  89. package/src/cli/terminal/error.ts +14 -0
  90. package/src/cli/terminal/io-node-layer.ts +82 -0
  91. package/src/cli/terminal/io-service.ts +25 -0
  92. package/src/cli/terminal/list.ts +35 -0
  93. package/src/cli/terminal/read.ts +102 -0
  94. package/src/cli/terminal/scope.ts +30 -0
  95. package/src/cli/terminal/shared.ts +250 -0
  96. package/src/cli/terminal/stream.ts +64 -0
  97. package/src/cli/terminal/wait.test.ts +146 -0
  98. package/src/cli/terminal/wait.ts +222 -0
  99. package/src/cli/terminal/write.ts +132 -0
  100. package/src/cli/terminal-format.ts +167 -0
  101. package/src/cli/terminal.ts +26 -0
  102. package/src/cli/thread-format.test.ts +32 -0
  103. package/src/cli/thread-format.ts +8 -1
  104. package/src/cli/thread.ts +8 -0
  105. package/src/cli/threads/archive.ts +11 -18
  106. package/src/cli/threads/delete.ts +61 -0
  107. package/src/cli/threads/interrupt.ts +52 -0
  108. package/src/cli/threads/list.test.ts +69 -0
  109. package/src/cli/threads/list.ts +15 -3
  110. package/src/cli/threads/send.ts +22 -2
  111. package/src/cli/threads/unarchive.ts +44 -0
  112. package/src/cli/threads/update.ts +150 -0
  113. package/src/domain/error.ts +20 -1
  114. package/src/domain/model-config.ts +4 -0
  115. package/src/domain/thread-lifecycle.ts +14 -0
  116. package/src/node/index.ts +2 -0
  117. package/src/orchestration/index.ts +1 -0
  118. package/src/orchestration/layer.ts +33 -85
  119. package/src/orchestration/service.ts +4 -0
  120. package/src/rpc/error.ts +10 -0
  121. package/src/rpc/index.ts +5 -0
  122. package/src/rpc/operation.ts +83 -0
  123. package/src/rpc/ws-group.ts +24 -0
  124. package/src/runtime/layer.ts +7 -2
package/dist/t3tools.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as WS_METHODS, $a as ProviderRespondToRequestInput, $c as ProjectScript, $i as MIN_SIDEBAR_THREAD_PREVIEW_COUNT, $l as ProviderInstanceConfigMap, $n as SourceControlCloneRepositoryInput, $o as DesktopUpdateCheckResultSchema, $r as ServerProcessResourceHistoryInput, $s as DEFAULT_RUNTIME_MODE, $t as WsVcsSwitchRefRpc, $u as AuthTokenExchangeGrantType, Aa as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, Ac as OrchestrationReplayEventsInput, Ai as ServerTraceDiagnosticsSpanOccurrence, Al as ThreadTurnDiffCompletedPayload, An as GitStackedAction, Ao as DesktopCloudAuthFetchResultSchema, Ar as VcsRepositoryDetectionError, As as EnvironmentConnectHttpApi, At as WsSourceControlCloneRepositoryRpc, Au as AuthAdministrativeScopes, Ba as ProviderRuntimeEvent, Bc as OrchestrationThreadActivityTone, Bi as CursorSettings, Bl as DEFAULT_MODEL_BY_PROVIDER, Bn as VcsPullResult, Bo as DesktopSshEnvironmentEnsureInputSchema, Br as ServerConfigStreamProviderStatusesEvent, Bs as EnvironmentMetadataHttpApi, Bt as WsTerminalClearRpc, Bu as AuthEnvironmentScopes, Ca as KeybindingsConfig, Cc as OrchestrationMessageRole, Cd as RuntimeTaskId, Ci as ServerSignalProcessInput, Cl as ThreadMetaUpdatedPayload, Cn as GitPreparePullRequestThreadInput, Co as TerminalSummary, Cr as VcsListRemotesResult, Cs as EnvironmentAuthInvalidReason, Ct as WsServerRefreshProvidersRpc, Cu as AuthAccessStreamEvent, Da as MAX_KEYBINDING_WHEN_LENGTH, Dc as OrchestrationProposedPlanId, Dd as TurnId, Di as ServerTraceDiagnosticsLogEvent, Dl as ThreadSessionSetPayload, Dn as GitRunStackedActionInput, Do as DesktopAppBrandingSchema, Dr as VcsProcessSpawnError, Ds as EnvironmentCloudLinkStateResult, Dt as WsServerUpdateSettingsRpc, Du as AuthAccessTokenResult, Ea as MAX_KEYBINDING_VALUE_LENGTH, Ec as OrchestrationProposedPlan, Ed as TrimmedString, Ei as ServerTraceDiagnosticsFailureSummary, El as ThreadRuntimeModeSetPayload, En as GitResolvePullRequestResult, Eo as ContextMenuItemSchema, Er as VcsProcessExitError, Es as EnvironmentCloudEndpointUnavailableError, Et as WsServerUpdateProviderRpc, Eu as AuthAccessStreamSnapshotEvent, Fa as THREAD_JUMP_KEYBINDING_COMMANDS, Fc as OrchestrationShellStreamEvent, Fi as ClaudeSettings, Fl as TurnCountRange, Fn as VcsCreateWorktreeResult, Fo as DesktopServerExposureModeSchema, Fr as ServerConfigKeybindingsUpdatedPayload, Fs as EnvironmentHttpForbiddenError, Ft as WsSubscribeServerLifecycleRpc, Fu as AuthClientPresentationMetadata, Ga as TOOL_LIFECYCLE_ITEM_TYPES, Gc as OrchestrationThreadStreamItem, Gi as DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, Gl as ProviderOptionDescriptor, Gn as VcsStatusRemoteResult, Go as DesktopSshHttpBaseUrlInputSchema, Gr as ServerLifecycleStreamEvent, Gs as EnvironmentRequestInvalidReason, Gt as WsTerminalWriteRpc, Gu as AuthRelayReadScope, Ha as ProviderRuntimeThreadGoalStatus, Hc as OrchestrationThreadGoal, Hi as DEFAULT_CLIENT_SETTINGS, Hl as ModelCapabilities, Hn as VcsRemoveWorktreeInput, Ho as DesktopSshEnvironmentEnsureResultSchema, Hr as ServerConfigStreamSnapshotEvent, Hs as EnvironmentOperationForbiddenReason, Ht as WsTerminalOpenRpc, Hu as AuthOrchestrationReadScope, Ia as THREAD_KEYBINDING_COMMANDS, Ic as OrchestrationShellStreamItem, Ii as ClientSettingsPatch, Il as BooleanProviderOptionDescriptor, In as VcsInitInput, Io as DesktopServerExposureStateSchema, Ir as ServerConfigProviderStatusesPayload, Is as EnvironmentHttpInternalServerError, It as WsSubscribeTerminalEventsRpc, Iu as AuthClientSession, Ja as UserInputQuestion, Jc as PROVIDER_SEND_TURN_MAX_INPUT_CHARS, Ji as DEFAULT_SIDEBAR_THREAD_SORT_ORDER, Jl as ProviderOptionSelectionValue, Jn as VcsSwitchRefInput, Jo as DesktopSshPasswordPromptRequestSchema, Jr as ServerLifecycleWelcomePayload, Js as ChatAttachment, Jt as WsVcsInitRpc, Ju as AuthRevokeClientSessionInput, Ka as ThreadTokenUsageSnapshot, Kc as PROVIDER_SEND_TURN_MAX_ATTACHMENTS, Ki as DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, Kl as ProviderOptionDescriptorType, Kn as VcsStatusResult, Ko as DesktopSshPasswordPromptCancelledResultSchema, Kr as ServerLifecycleStreamReadyEvent, Ks as EnvironmentScopeRequiredError, Kt as WsVcsCreateRefRpc, Ku as AuthRelayWriteScope, La as CanonicalItemType, Lc as OrchestrationSubscribeThreadInput, Li as ClientSettingsSchema, Ll as DEFAULT_GIT_TEXT_GENERATION_MODEL, Ln as VcsListRefsInput, Lo as DesktopSshBearerBootstrapInputSchema, Lr as ServerConfigSettingsUpdatedPayload, Ls as EnvironmentHttpUnauthorizedError, Lt as WsSubscribeTerminalMetadataRpc, Lu as AuthCreatePairingCredentialInput, Ma as ResolvedKeybindingRule, Mc as OrchestrationSession, Mi as ServerUpsertKeybindingInput, Ml as ThreadTurnStartCommand, Mn as VcsCreateRefInput, Mo as DesktopEnvironmentBootstrapSchema, Mr as VcsUnsupportedOperationError, Ms as EnvironmentHttpBadRequestError, Mt as WsSourceControlPublishRepositoryRpc, Mu as AuthBrowserSessionResult, Na as ResolvedKeybindingsConfig, Nc as OrchestrationSessionStatus, Ni as ServerUpsertKeybindingResult, Nl as ThreadTurnStartRequestedPayload, Nn as VcsCreateRefResult, No as DesktopRuntimeArchSchema, Nr as ServerConfig, Ns as EnvironmentHttpCommonError, Nt as WsSubscribeAuthAccessRpc, Nu as AuthClientMetadata, Oa as MAX_SCRIPT_ID_LENGTH, Oc as OrchestrationReadModel, Oi as ServerTraceDiagnosticsRecentFailure, Ol as ThreadSessionStopRequestedPayload, On as GitRunStackedActionResult, Oo as DesktopAppStageLabelSchema, Or as VcsProcessTimeoutError, Os as EnvironmentCloudPreferencesRequest, Ot as WsServerUpsertKeybindingRpc, Ou as AuthAccessTokenType, Pa as SCRIPT_RUN_COMMAND_PATTERN, Pc as OrchestrationShellSnapshot, Pi as isProviderAvailable, Pl as ThreadUnarchivedPayload, Pn as VcsCreateWorktreeInput, Po as DesktopRuntimeInfoSchema, Pr as ServerConfigIssue, Ps as EnvironmentHttpConflictError, Pt as WsSubscribeServerConfigRpc, Pu as AuthClientMetadataDeviceType, Qa as ProviderInterruptTurnInput, Qc as ProjectMetaUpdatedPayload, Qi as MAX_SIDEBAR_THREAD_PREVIEW_COUNT, Ql as ProviderInstanceConfig, Qn as SourceControlCloneProtocol, Qo as DesktopUpdateChannelSchema, Qr as ServerProcessResourceHistoryBucket, Qs as DEFAULT_PROVIDER_INTERACTION_MODE, Qt as WsVcsRemoveWorktreeRpc, Qu as AuthTerminalOperateScope, Ra as CanonicalRequestType, Rc as OrchestrationThread, Ri as CodexSettings, Rl as DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, Rn as VcsListRefsResult, Ro as DesktopSshBearerRequestInputSchema, Rr as ServerConfigStreamEvent, Rs as EnvironmentInternalError, Rt as WsSubscribeVcsStatusRpc, Ru as AuthEnvironmentBootstrapTokenType, Sa as KeybindingWhenNode, Sc as OrchestrationMessage, Sd as RuntimeSessionId, Si as ServerRemoveKeybindingResult, Sl as ThreadMessageSentPayload, Sn as GitManagerServiceError, So as TerminalSessionStatus, Sr as VcsFreshnessSource, Ss as EnvironmentAuthInvalidError, St as WsServerGetTraceDiagnosticsRpc, Su as AuthAccessStreamError, Ta as MAX_KEYBINDINGS_COUNT, Tc as OrchestrationProjectShell, Td as TrimmedNonEmptyString, Ti as ServerTraceDiagnosticsErrorKind, Tl as ThreadRevertedPayload, Tn as GitPullRequestRefInput, To as TerminalWriteInput, Tr as VcsOutputDecodeError, Ts as EnvironmentAuthenticatedPrincipal, Tt as WsServerSignalProcessRpc, Tu as AuthAccessStreamPairingLinkUpsertedEvent, Ua as ProviderRuntimeTurnStatus, Uc as OrchestrationThreadGoalStatus, Ui as DEFAULT_CONTEXT_MENU_STYLE, Ul as PROVIDER_DISPLAY_NAMES, Un as VcsStatusInput, Uo as DesktopSshEnvironmentTargetSchema, Ur as ServerConfigUpdatedPayload, Us as EnvironmentOrchestrationHttpApi, Ut as WsTerminalResizeRpc, Uu as AuthPairingCredentialResult, Va as ProviderRuntimeEventV2, Vc as OrchestrationThreadDetailSnapshot, Vi as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, Vl as MODEL_SLUG_ALIASES_BY_PROVIDER, Vn as VcsRef, Vo as DesktopSshEnvironmentEnsureOptionsSchema, Vr as ServerConfigStreamSettingsUpdatedEvent, Vs as EnvironmentOperationForbiddenError, Vt as WsTerminalCloseRpc, Vu as AuthOrchestrationOperateScope, Wa as RuntimeEventRaw, Wc as OrchestrationThreadShell, Wi as DEFAULT_SERVER_SETTINGS, Wl as ProviderOptionChoice, Wn as VcsStatusLocalResult, Wo as DesktopSshHostSourceSchema, Wr as ServerLifecycleReadyPayload, Ws as EnvironmentRequestInvalidError, Wt as WsTerminalRestartRpc, Wu as AuthPairingLink, Xa as ProviderEvent, Xc as ProjectCreatedPayload, Xi as DEFAULT_UNIFIED_SETTINGS, Xl as SelectProviderOptionDescriptor, Xn as ChangeRequest, Xo as DesktopThemeSchema, Xr as ServerProcessDiagnosticsEntry, Xs as ClientOrchestrationCommand, Xt as WsVcsPullRpc, Xu as AuthSessionState, Ya as isToolLifecycleItemType, Yc as ProjectCreateCommand, Yi as DEFAULT_TIMESTAMP_FORMAT, Yl as ProviderOptionSelections, Yn as VcsSwitchRefResult, Yo as DesktopSshPasswordPromptResolutionInputSchema, Yr as ServerObservability, Ys as ChatImageAttachment, Yt as WsVcsListRefsRpc, Yu as AuthRevokePairingLinkInput, Za as ProviderGoalRequestInput, Zc as ProjectDeletedPayload, Zi as GrokSettings, Zl as ProviderDriverKind, Zn as ChangeRequestState, Zo as DesktopUpdateActionResultSchema, Zr as ServerProcessDiagnosticsResult, Zs as CorrelationId, Zt as WsVcsRefreshStatusRpc, Zu as AuthStandardClientScopes, _a as KeybindingCommand, _c as OrchestrationGetSnapshotError, _d as PositiveInt, _i as ServerProviderUpdatedPayload, _l as ThreadGoalClearedPayload, _n as GitActionProgressKind, _o as TerminalOpenInput, _r as VcsDiscoveryItem, _s as RelayClientStatusSchema, _t as WsServerDiscoverSourceControlRpc, _u as ScopedThreadSessionRef, aa as SidebarProjectGroupingMode, ac as OrchestrationCheckpointFile, ad as ServerAuthPolicy, ai as ServerProviderAuthStatus, al as ProviderInteractionMode, an as FilesystemBrowseEntry, ao as ProviderTurnStartResult, ar as SourceControlProviderDiscoveryItem, as as AdvertisedEndpointCompatibility, at as WsGitRunStackedActionRpc, au as defaultInstanceIdForDriver, ba as KeybindingValue, bc as OrchestrationGetTurnDiffResult, bd as RuntimeItemId, bi as ServerProviders, bl as ThreadGoalUpdatedPayload, bn as GitCommandError, bo as TerminalSessionLookupError, br as VcsError, bs as AuthPairingLinkRevokeResult, bt as WsServerGetProcessResourceHistoryRpc, bu as AuthAccessStreamClientRemovedEvent, ca as SidebarThreadSortOrder, cc as OrchestrationCommand, cd as AuthSessionId, ci as ServerProviderModel, cl as ProviderSessionRuntimeStatus, cn as FilesystemBrowseResult, co as TerminalAttachStreamEvent, cr as SourceControlProviderKind, cs as AdvertisedEndpointProviderKind, ct as WsOrchestrationGetFullThreadDiffRpc, cu as ExecutionEnvironmentCapabilities, da as makeProviderSettingsSchema, dc as OrchestrationEvent, dd as EnvironmentId, di as ServerProviderSlashCommandInput, dl as ThreadActivityAppendedPayload, dn as ProjectSearchEntriesInput, do as TerminalCwdError, dr as SourceControlPublishStatus, ds as AdvertisedEndpointStatus, dt as WsOrchestrationSubscribeShellRpc, du as ExecutionEnvironmentPlatformArch, ea as ObservabilitySettings, ec as DispatchResult, ed as AuthTokenExchangeRequest, ei as ServerProcessResourceHistoryResult, el as ProjectScriptIcon, en as ReviewDiffPreviewError, eo as ProviderRespondToUserInputInput, er as SourceControlCloneRepositoryResult, es as DesktopUpdateStateSchema, et as WsCloudGetRelayClientStatusRpc, eu as ProviderInstanceEnvironment, fa as EDITORS, fc as OrchestrationEventMetadata, fd as EventId, fi as ServerProviderState, fl as ThreadApprovalResponseRequestedPayload, fn as ProjectSearchEntriesResult, fo as TerminalError, fr as SourceControlRepositoryCloneUrls, fs as DesktopBackendBootstrap, ft as WsOrchestrationSubscribeThreadRpc, fu as ExecutionEnvironmentPlatformOs, ga as LaunchEditorInput, gc as OrchestrationGetFullThreadDiffResult, gd as PortSchema, gi as ServerProviderUpdateStatus, gl as ThreadDeletedPayload, gn as GitActionProgressEvent, go as TerminalNotRunningError, gr as SourceControlRepositoryVisibility, gs as RelayClientInstallProgressStageSchema, gt as WsRpcGroup, gu as ScopedThreadRef, ha as ExternalLauncherError, hc as OrchestrationGetFullThreadDiffInput, hd as NonNegativeInt, hi as ServerProviderUpdateState, hl as ThreadCreatedPayload, hn as ProjectWriteFileResult, ho as TerminalMetadataStreamEvent, hr as SourceControlRepositoryLookupInput, hs as RelayClientInstallProgressEventSchema, ht as WsReviewGetDiffPreviewRpc, hu as ScopedProjectRef, ia as ServerSettingsPatch, ic as OrchestrationAggregateKind, id as ServerAuthDescriptor, ii as ServerProviderAuth, il as ProviderApprovalPolicy, in as ReviewDiffPreviewSourceKind, io as ProviderStopSessionInput, ir as SourceControlProviderAuthStatus, is as AdvertisedEndpoint, it as WsGitResolvePullRequestRpc, iu as ProviderInstanceRef, ja as MODEL_PICKER_KEYBINDING_COMMANDS, jc as OrchestrationRpcSchemas, ji as ServerTraceDiagnosticsSpanSummary, jl as ThreadTurnInterruptRequestedPayload, jn as TextGenerationError, jo as DesktopDiscoveredSshHostSchema, jr as VcsRepositoryIdentity, js as EnvironmentHttpApi, jt as WsSourceControlLookupRepositoryRpc, ju as AuthBrowserSessionRequest, ka as MAX_WHEN_EXPRESSION_DEPTH, kc as OrchestrationReplayEventsError, ki as ServerTraceDiagnosticsResult, kl as ThreadTurnDiff, kn as GitRunStackedActionToastRunAction, ko as DesktopCloudAuthFetchInputSchema, kr as VcsRemote, ks as EnvironmentCloudRelayConfigResult, kt as WsShellOpenInEditorRpc, ku as AuthAccessWriteScope, la as ThreadEnvMode, lc as OrchestrationCommandReceiptStatus, ld as CheckpointRef, li as ServerProviderSkill, ll as ProviderUserInputAnswers, ln as ProjectEntry, lo as TerminalClearInput, lr as SourceControlPublishRepositoryInput, ls as AdvertisedEndpointReachability, lt as WsOrchestrationGetTurnDiffRpc, lu as ExecutionEnvironmentDescriptor, ma as EditorLaunchStyle, mc as OrchestrationGetFullThreadDiffError, md as MessageId, mi as ServerProviderUpdateInput, ml as ThreadCheckpointRevertRequestedPayload, mn as ProjectWriteFileInput, mo as TerminalHistoryError, mr as SourceControlRepositoryInfo, ms as RelayClientInstallFailureReasonSchema, mt as WsProjectsWriteFileRpc, mu as RepositoryIdentityLocator, na as ServerSettings, nc as ORCHESTRATION_WS_METHODS, nd as EnvironmentAuthorizationError, ni as ServerProcessSignal, nl as ProjectionPendingApprovalStatus, nn as ReviewDiffPreviewResult, no as ProviderSession, nr as SourceControlDiscoveryStatus, ns as PersistedSavedEnvironmentRecordSchema, nt as WsFilesystemBrowseRpc, nu as ProviderInstanceEnvironmentVariableName, oa as SidebarProjectSortOrder, oc as OrchestrationCheckpointStatus, od as ServerAuthSessionMethod, oi as ServerProviderAvailability, ol as ProviderRequestKind, on as FilesystemBrowseError, oo as DEFAULT_TERMINAL_ID, or as SourceControlProviderError, os as AdvertisedEndpointHostedHttpsCompatibility, ot as WsOrchestrationDispatchCommandRpc, ou as isProviderDriverKind, pa as EditorId, pc as OrchestrationEventType, pd as IsoDateTime, pi as ServerProviderUpdateError, pl as ThreadArchivedPayload, pn as ProjectWriteFileError, po as TerminalEvent, pr as SourceControlRepositoryError, ps as RelayClientInstallFailedError, pt as WsProjectsSearchEntriesRpc, pu as RepositoryIdentity, qa as ToolLifecycleItemType, qc as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, qi as DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, ql as ProviderOptionSelection, qn as VcsStatusStreamEvent, qo as DesktopSshPasswordPromptCancelledType, qr as ServerLifecycleStreamWelcomeEvent, qs as AssistantDeliveryMode, qt as WsVcsCreateWorktreeRpc, qu as AuthReviewWriteScope, ra as ServerSettingsError, rc as OrchestrationActorKind, rd as ServerAuthBootstrapMethod, ri as ServerProvider, rl as ProviderApprovalDecision, rn as ReviewDiffPreviewSource, ro as ProviderSessionStartInput, rr as SourceControlProviderAuth, rs as PickFolderOptionsSchema, rt as WsGitPreparePullRequestThreadRpc, ru as ProviderInstanceId, sa as SidebarThreadPreviewCount, sc as OrchestrationCheckpointSummary, sd as ApprovalRequestId, si as ServerProviderContinuation, sl as ProviderSandboxMode, sn as FilesystemBrowseInput, so as TerminalAttachInput, sr as SourceControlProviderInfo, ss as AdvertisedEndpointProvider, st as WsOrchestrationGetArchivedShellSnapshotRpc, su as EnvironmentConnectionState, ta as OpenCodeSettings, tc as ModelSelection, td as AuthWebSocketTicketResult, ti as ServerProcessResourceHistorySummary, tl as ProjectionPendingApprovalDecision, tn as ReviewDiffPreviewInput, to as ProviderSendTurnInput, tr as SourceControlDiscoveryResult, ts as DesktopUpdateStatusSchema, tt as WsCloudInstallRelayClientRpc, tu as ProviderInstanceEnvironmentVariable, ua as TimestampFormat, uc as OrchestrationDispatchCommandError, ud as CommandId, ui as ServerProviderSlashCommand, ul as RuntimeMode, un as ProjectSearchEntriesError, uo as TerminalCloseInput, ur as SourceControlPublishRepositoryResult, us as AdvertisedEndpointSource, ut as WsOrchestrationReplayEventsRpc, uu as ExecutionEnvironmentPlatform, va as KeybindingRule, vc as OrchestrationGetTurnDiffError, vd as ProjectId, vi as ServerProviderVersionAdvisory, vl as ThreadGoalRequest, vn as GitActionProgressPhase, vo as TerminalResizeInput, vr as VcsDriverCapabilities, vs as AuthClientSessionRevokeResult, vt as WsServerGetConfigRpc, vu as AuthAccessReadScope, wa as KeybindingsConfigError, wc as OrchestrationProject, wd as ThreadId, wi as ServerSignalProcessResult, wl as ThreadProposedPlanUpsertedPayload, wn as GitPreparePullRequestThreadResult, wo as TerminalThreadInput, wr as VcsListWorkspaceFilesResult, ws as EnvironmentAuthenticatedAuth, wt as WsServerRemoveKeybindingRpc, wu as AuthAccessStreamPairingLinkRemovedEvent, xa as KeybindingWhen, xc as OrchestrationLatestTurn, xd as RuntimeRequestId, xi as ServerRemoveKeybindingInput, xl as ThreadInteractionModeSetPayload, xn as GitManagerError, xo as TerminalSessionSnapshot, xr as VcsFreshness, xs as EnvironmentAuthHttpApi, xt as WsServerGetSettingsRpc, xu as AuthAccessStreamClientUpsertedEvent, ya as KeybindingShortcut, yc as OrchestrationGetTurnDiffInput, yd as ProviderItemId, yi as ServerProviderVersionAdvisoryStatus, yl as ThreadGoalRequestedPayload, yn as GitActionProgressStream, yo as TerminalRestartInput, yr as VcsDriverKind, ys as AuthOtherClientSessionsRevokeResult, yt as WsServerGetProcessDiagnosticsRpc, yu as AuthAccessSnapshot, za as ItemLifecyclePayload, zc as OrchestrationThreadActivity, zi as ContextMenuStyle, zl as DEFAULT_MODEL, zn as VcsPullInput, zo as DesktopSshEnvironmentBootstrapSchema, zr as ServerConfigStreamKeybindingsUpdatedEvent, zs as EnvironmentInternalErrorReason, zt as WsTerminalAttachRpc, zu as AuthEnvironmentScope } from "./shared.js";
2
- export { AdvertisedEndpoint, AdvertisedEndpointCompatibility, AdvertisedEndpointHostedHttpsCompatibility, AdvertisedEndpointProvider, AdvertisedEndpointProviderKind, AdvertisedEndpointReachability, AdvertisedEndpointSource, AdvertisedEndpointStatus, ApprovalRequestId, AssistantDeliveryMode, AuthAccessReadScope, AuthAccessSnapshot, AuthAccessStreamClientRemovedEvent, AuthAccessStreamClientUpsertedEvent, AuthAccessStreamError, AuthAccessStreamEvent, AuthAccessStreamPairingLinkRemovedEvent, AuthAccessStreamPairingLinkUpsertedEvent, AuthAccessStreamSnapshotEvent, AuthAccessTokenResult, AuthAccessTokenType, AuthAccessWriteScope, AuthAdministrativeScopes, AuthBrowserSessionRequest, AuthBrowserSessionResult, AuthClientMetadata, AuthClientMetadataDeviceType, AuthClientPresentationMetadata, AuthClientSession, AuthClientSessionRevokeResult, AuthCreatePairingCredentialInput, AuthEnvironmentBootstrapTokenType, AuthEnvironmentScope, AuthEnvironmentScopes, AuthOrchestrationOperateScope, AuthOrchestrationReadScope, AuthOtherClientSessionsRevokeResult, AuthPairingCredentialResult, AuthPairingLink, AuthPairingLinkRevokeResult, AuthRelayReadScope, AuthRelayWriteScope, AuthReviewWriteScope, AuthRevokeClientSessionInput, AuthRevokePairingLinkInput, AuthSessionId, AuthSessionState, AuthStandardClientScopes, AuthTerminalOperateScope, AuthTokenExchangeGrantType, AuthTokenExchangeRequest, AuthWebSocketTicketResult, BooleanProviderOptionDescriptor, CanonicalItemType, CanonicalRequestType, ChangeRequest, ChangeRequestState, ChatAttachment, ChatImageAttachment, CheckpointRef, ClaudeSettings, ClientOrchestrationCommand, ClientSettingsPatch, ClientSettingsSchema, CodexSettings, CommandId, ContextMenuItemSchema, ContextMenuStyle, CorrelationId, CursorSettings, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, DEFAULT_CLIENT_SETTINGS, DEFAULT_CONTEXT_MENU_STYLE, DEFAULT_GIT_TEXT_GENERATION_MODEL, DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, DEFAULT_MODEL, DEFAULT_MODEL_BY_PROVIDER, DEFAULT_PROVIDER_INTERACTION_MODE, DEFAULT_RUNTIME_MODE, DEFAULT_SERVER_SETTINGS, DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, DEFAULT_SIDEBAR_THREAD_SORT_ORDER, DEFAULT_TERMINAL_ID, DEFAULT_TIMESTAMP_FORMAT, DEFAULT_UNIFIED_SETTINGS, DesktopAppBrandingSchema, DesktopAppStageLabelSchema, DesktopBackendBootstrap, DesktopCloudAuthFetchInputSchema, DesktopCloudAuthFetchResultSchema, DesktopDiscoveredSshHostSchema, DesktopEnvironmentBootstrapSchema, DesktopRuntimeArchSchema, DesktopRuntimeInfoSchema, DesktopServerExposureModeSchema, DesktopServerExposureStateSchema, DesktopSshBearerBootstrapInputSchema, DesktopSshBearerRequestInputSchema, DesktopSshEnvironmentBootstrapSchema, DesktopSshEnvironmentEnsureInputSchema, DesktopSshEnvironmentEnsureOptionsSchema, DesktopSshEnvironmentEnsureResultSchema, DesktopSshEnvironmentTargetSchema, DesktopSshHostSourceSchema, DesktopSshHttpBaseUrlInputSchema, DesktopSshPasswordPromptCancelledResultSchema, DesktopSshPasswordPromptCancelledType, DesktopSshPasswordPromptRequestSchema, DesktopSshPasswordPromptResolutionInputSchema, DesktopThemeSchema, DesktopUpdateActionResultSchema, DesktopUpdateChannelSchema, DesktopUpdateCheckResultSchema, DesktopUpdateStateSchema, DesktopUpdateStatusSchema, DispatchResult, EDITORS, EditorId, EditorLaunchStyle, EnvironmentAuthHttpApi, EnvironmentAuthInvalidError, EnvironmentAuthInvalidReason, EnvironmentAuthenticatedAuth, EnvironmentAuthenticatedPrincipal, EnvironmentAuthorizationError, EnvironmentCloudEndpointUnavailableError, EnvironmentCloudLinkStateResult, EnvironmentCloudPreferencesRequest, EnvironmentCloudRelayConfigResult, EnvironmentConnectHttpApi, EnvironmentConnectionState, EnvironmentHttpApi, EnvironmentHttpBadRequestError, EnvironmentHttpCommonError, EnvironmentHttpConflictError, EnvironmentHttpForbiddenError, EnvironmentHttpInternalServerError, EnvironmentHttpUnauthorizedError, EnvironmentId, EnvironmentInternalError, EnvironmentInternalErrorReason, EnvironmentMetadataHttpApi, EnvironmentOperationForbiddenError, EnvironmentOperationForbiddenReason, EnvironmentOrchestrationHttpApi, EnvironmentRequestInvalidError, EnvironmentRequestInvalidReason, EnvironmentScopeRequiredError, EventId, ExecutionEnvironmentCapabilities, ExecutionEnvironmentDescriptor, ExecutionEnvironmentPlatform, ExecutionEnvironmentPlatformArch, ExecutionEnvironmentPlatformOs, ExternalLauncherError, FilesystemBrowseEntry, FilesystemBrowseError, FilesystemBrowseInput, FilesystemBrowseResult, GitActionProgressEvent, GitActionProgressKind, GitActionProgressPhase, GitActionProgressStream, GitCommandError, GitManagerError, GitManagerServiceError, GitPreparePullRequestThreadInput, GitPreparePullRequestThreadResult, GitPullRequestRefInput, GitResolvePullRequestResult, GitRunStackedActionInput, GitRunStackedActionResult, GitRunStackedActionToastRunAction, GitStackedAction, GrokSettings, IsoDateTime, ItemLifecyclePayload, KeybindingCommand, KeybindingRule, KeybindingShortcut, KeybindingValue, KeybindingWhen, KeybindingWhenNode, KeybindingsConfig, KeybindingsConfigError, LaunchEditorInput, MAX_KEYBINDINGS_COUNT, MAX_KEYBINDING_VALUE_LENGTH, MAX_KEYBINDING_WHEN_LENGTH, MAX_SCRIPT_ID_LENGTH, MAX_SIDEBAR_THREAD_PREVIEW_COUNT, MAX_WHEN_EXPRESSION_DEPTH, MIN_SIDEBAR_THREAD_PREVIEW_COUNT, MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, MODEL_PICKER_KEYBINDING_COMMANDS, MODEL_SLUG_ALIASES_BY_PROVIDER, MessageId, ModelCapabilities, ModelSelection, NonNegativeInt, ORCHESTRATION_WS_METHODS, ObservabilitySettings, OpenCodeSettings, OrchestrationActorKind, OrchestrationAggregateKind, OrchestrationCheckpointFile, OrchestrationCheckpointStatus, OrchestrationCheckpointSummary, OrchestrationCommand, OrchestrationCommandReceiptStatus, OrchestrationDispatchCommandError, OrchestrationEvent, OrchestrationEventMetadata, OrchestrationEventType, OrchestrationGetFullThreadDiffError, OrchestrationGetFullThreadDiffInput, OrchestrationGetFullThreadDiffResult, OrchestrationGetSnapshotError, OrchestrationGetTurnDiffError, OrchestrationGetTurnDiffInput, OrchestrationGetTurnDiffResult, OrchestrationLatestTurn, OrchestrationMessage, OrchestrationMessageRole, OrchestrationProject, OrchestrationProjectShell, OrchestrationProposedPlan, OrchestrationProposedPlanId, OrchestrationReadModel, OrchestrationReplayEventsError, OrchestrationReplayEventsInput, OrchestrationRpcSchemas, OrchestrationSession, OrchestrationSessionStatus, OrchestrationShellSnapshot, OrchestrationShellStreamEvent, OrchestrationShellStreamItem, OrchestrationSubscribeThreadInput, OrchestrationThread, OrchestrationThreadActivity, OrchestrationThreadActivityTone, OrchestrationThreadDetailSnapshot, OrchestrationThreadGoal, OrchestrationThreadGoalStatus, OrchestrationThreadShell, OrchestrationThreadStreamItem, PROVIDER_DISPLAY_NAMES, PROVIDER_SEND_TURN_MAX_ATTACHMENTS, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, PROVIDER_SEND_TURN_MAX_INPUT_CHARS, PersistedSavedEnvironmentRecordSchema, PickFolderOptionsSchema, PortSchema, PositiveInt, ProjectCreateCommand, ProjectCreatedPayload, ProjectDeletedPayload, ProjectEntry, ProjectId, ProjectMetaUpdatedPayload, ProjectScript, ProjectScriptIcon, ProjectSearchEntriesError, ProjectSearchEntriesInput, ProjectSearchEntriesResult, ProjectWriteFileError, ProjectWriteFileInput, ProjectWriteFileResult, ProjectionPendingApprovalDecision, ProjectionPendingApprovalStatus, ProviderApprovalDecision, ProviderApprovalPolicy, ProviderDriverKind, ProviderEvent, ProviderGoalRequestInput, ProviderInstanceConfig, ProviderInstanceConfigMap, ProviderInstanceEnvironment, ProviderInstanceEnvironmentVariable, ProviderInstanceEnvironmentVariableName, ProviderInstanceId, ProviderInstanceRef, ProviderInteractionMode, ProviderInterruptTurnInput, ProviderItemId, ProviderOptionChoice, ProviderOptionDescriptor, ProviderOptionDescriptorType, ProviderOptionSelection, ProviderOptionSelectionValue, ProviderOptionSelections, ProviderRequestKind, ProviderRespondToRequestInput, ProviderRespondToUserInputInput, ProviderRuntimeEvent, ProviderRuntimeEventV2, ProviderRuntimeThreadGoalStatus, ProviderRuntimeTurnStatus, ProviderSandboxMode, ProviderSendTurnInput, ProviderSession, ProviderSessionRuntimeStatus, ProviderSessionStartInput, ProviderStopSessionInput, ProviderTurnStartResult, ProviderUserInputAnswers, RelayClientInstallFailedError, RelayClientInstallFailureReasonSchema, RelayClientInstallProgressEventSchema, RelayClientInstallProgressStageSchema, RelayClientStatusSchema, RepositoryIdentity, RepositoryIdentityLocator, ResolvedKeybindingRule, ResolvedKeybindingsConfig, ReviewDiffPreviewError, ReviewDiffPreviewInput, ReviewDiffPreviewResult, ReviewDiffPreviewSource, ReviewDiffPreviewSourceKind, RuntimeEventRaw, RuntimeItemId, RuntimeMode, RuntimeRequestId, RuntimeSessionId, RuntimeTaskId, SCRIPT_RUN_COMMAND_PATTERN, ScopedProjectRef, ScopedThreadRef, ScopedThreadSessionRef, SelectProviderOptionDescriptor, ServerAuthBootstrapMethod, ServerAuthDescriptor, ServerAuthPolicy, ServerAuthSessionMethod, ServerConfig, ServerConfigIssue, ServerConfigKeybindingsUpdatedPayload, ServerConfigProviderStatusesPayload, ServerConfigSettingsUpdatedPayload, ServerConfigStreamEvent, ServerConfigStreamKeybindingsUpdatedEvent, ServerConfigStreamProviderStatusesEvent, ServerConfigStreamSettingsUpdatedEvent, ServerConfigStreamSnapshotEvent, ServerConfigUpdatedPayload, ServerLifecycleReadyPayload, ServerLifecycleStreamEvent, ServerLifecycleStreamReadyEvent, ServerLifecycleStreamWelcomeEvent, ServerLifecycleWelcomePayload, ServerObservability, ServerProcessDiagnosticsEntry, ServerProcessDiagnosticsResult, ServerProcessResourceHistoryBucket, ServerProcessResourceHistoryInput, ServerProcessResourceHistoryResult, ServerProcessResourceHistorySummary, ServerProcessSignal, ServerProvider, ServerProviderAuth, ServerProviderAuthStatus, ServerProviderAvailability, ServerProviderContinuation, ServerProviderModel, ServerProviderSkill, ServerProviderSlashCommand, ServerProviderSlashCommandInput, ServerProviderState, ServerProviderUpdateError, ServerProviderUpdateInput, ServerProviderUpdateState, ServerProviderUpdateStatus, ServerProviderUpdatedPayload, ServerProviderVersionAdvisory, ServerProviderVersionAdvisoryStatus, ServerProviders, ServerRemoveKeybindingInput, ServerRemoveKeybindingResult, ServerSettings, ServerSettingsError, ServerSettingsPatch, ServerSignalProcessInput, ServerSignalProcessResult, ServerTraceDiagnosticsErrorKind, ServerTraceDiagnosticsFailureSummary, ServerTraceDiagnosticsLogEvent, ServerTraceDiagnosticsRecentFailure, ServerTraceDiagnosticsResult, ServerTraceDiagnosticsSpanOccurrence, ServerTraceDiagnosticsSpanSummary, ServerUpsertKeybindingInput, ServerUpsertKeybindingResult, SidebarProjectGroupingMode, SidebarProjectSortOrder, SidebarThreadPreviewCount, SidebarThreadSortOrder, SourceControlCloneProtocol, SourceControlCloneRepositoryInput, SourceControlCloneRepositoryResult, SourceControlDiscoveryResult, SourceControlDiscoveryStatus, SourceControlProviderAuth, SourceControlProviderAuthStatus, SourceControlProviderDiscoveryItem, SourceControlProviderError, SourceControlProviderInfo, SourceControlProviderKind, SourceControlPublishRepositoryInput, SourceControlPublishRepositoryResult, SourceControlPublishStatus, SourceControlRepositoryCloneUrls, SourceControlRepositoryError, SourceControlRepositoryInfo, SourceControlRepositoryLookupInput, SourceControlRepositoryVisibility, THREAD_JUMP_KEYBINDING_COMMANDS, THREAD_KEYBINDING_COMMANDS, TOOL_LIFECYCLE_ITEM_TYPES, TerminalAttachInput, TerminalAttachStreamEvent, TerminalClearInput, TerminalCloseInput, TerminalCwdError, TerminalError, TerminalEvent, TerminalHistoryError, TerminalMetadataStreamEvent, TerminalNotRunningError, TerminalOpenInput, TerminalResizeInput, TerminalRestartInput, TerminalSessionLookupError, TerminalSessionSnapshot, TerminalSessionStatus, TerminalSummary, TerminalThreadInput, TerminalWriteInput, TextGenerationError, ThreadActivityAppendedPayload, ThreadApprovalResponseRequestedPayload, ThreadArchivedPayload, ThreadCheckpointRevertRequestedPayload, ThreadCreatedPayload, ThreadDeletedPayload, ThreadEnvMode, ThreadGoalClearedPayload, ThreadGoalRequest, ThreadGoalRequestedPayload, ThreadGoalUpdatedPayload, ThreadId, ThreadInteractionModeSetPayload, ThreadMessageSentPayload, ThreadMetaUpdatedPayload, ThreadProposedPlanUpsertedPayload, ThreadRevertedPayload, ThreadRuntimeModeSetPayload, ThreadSessionSetPayload, ThreadSessionStopRequestedPayload, ThreadTokenUsageSnapshot, ThreadTurnDiff, ThreadTurnDiffCompletedPayload, ThreadTurnInterruptRequestedPayload, ThreadTurnStartCommand, ThreadTurnStartRequestedPayload, ThreadUnarchivedPayload, TimestampFormat, ToolLifecycleItemType, TrimmedNonEmptyString, TrimmedString, TurnCountRange, TurnId, UserInputQuestion, VcsCreateRefInput, VcsCreateRefResult, VcsCreateWorktreeInput, VcsCreateWorktreeResult, VcsDiscoveryItem, VcsDriverCapabilities, VcsDriverKind, VcsError, VcsFreshness, VcsFreshnessSource, VcsInitInput, VcsListRefsInput, VcsListRefsResult, VcsListRemotesResult, VcsListWorkspaceFilesResult, VcsOutputDecodeError, VcsProcessExitError, VcsProcessSpawnError, VcsProcessTimeoutError, VcsPullInput, VcsPullResult, VcsRef, VcsRemote, VcsRemoveWorktreeInput, VcsRepositoryDetectionError, VcsRepositoryIdentity, VcsStatusInput, VcsStatusLocalResult, VcsStatusRemoteResult, VcsStatusResult, VcsStatusStreamEvent, VcsSwitchRefInput, VcsSwitchRefResult, VcsUnsupportedOperationError, WS_METHODS, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsFilesystemBrowseRpc, WsGitPreparePullRequestThreadRpc, WsGitResolvePullRequestRpc, WsGitRunStackedActionRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetArchivedShellSnapshotRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsProjectsSearchEntriesRpc, WsProjectsWriteFileRpc, WsReviewGetDiffPreviewRpc, WsRpcGroup, WsServerDiscoverSourceControlRpc, WsServerGetConfigRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetSettingsRpc, WsServerGetTraceDiagnosticsRpc, WsServerRefreshProvidersRpc, WsServerRemoveKeybindingRpc, WsServerSignalProcessRpc, WsServerUpdateProviderRpc, WsServerUpdateSettingsRpc, WsServerUpsertKeybindingRpc, WsShellOpenInEditorRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSubscribeAuthAccessRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeTerminalEventsRpc, WsSubscribeTerminalMetadataRpc, WsSubscribeVcsStatusRpc, WsTerminalAttachRpc, WsTerminalClearRpc, WsTerminalCloseRpc, WsTerminalOpenRpc, WsTerminalResizeRpc, WsTerminalRestartRpc, WsTerminalWriteRpc, WsVcsCreateRefRpc, WsVcsCreateWorktreeRpc, WsVcsInitRpc, WsVcsListRefsRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsVcsRemoveWorktreeRpc, WsVcsSwitchRefRpc, defaultInstanceIdForDriver, isProviderAvailable, isProviderDriverKind, isToolLifecycleItemType, makeProviderSettingsSchema };
1
+ import { $a as TOOL_LIFECYCLE_ITEM_TYPES, $c as PROVIDER_SEND_TURN_MAX_INPUT_CHARS, $i as DEFAULT_CLIENT_SETTINGS, $l as ProviderInstanceConfig, $n as VcsRef, $o as DesktopSshPasswordPromptCancelledResultSchema, $r as ServerConfigStreamSettingsUpdatedEvent, $s as EnvironmentScopeRequiredError, $t as WsTerminalCloseRpc, $u as AuthTerminalOperateScope, Aa as KeybindingWhen, Ac as OrchestrationMessageRole, Ai as ServerProviderVersionAdvisory, Al as ThreadTurnDiff, An as GitActionProgressPhase, Ao as TerminalSummary, Ar as VcsDriverCapabilities, As as EnvironmentAuthInvalidReason, At as WsServerGetConfigRpc, Au as AuthAccessWriteScope, Ba as MODEL_PICKER_KEYBINDING_COMMANDS, Bc as OrchestrationSessionStatus, Bi as ServerTraceDiagnosticsRecentFailure, Bl as DEFAULT_MODEL, Bn as GitRunStackedActionResult, Bo as DesktopRuntimeArchSchema, Br as VcsProcessTimeoutError, Bs as EnvironmentHttpCommonError, Bt as WsServerUpsertKeybindingRpc, Bu as AuthEnvironmentScope, Ca as EditorLaunchStyle, Cc as OrchestrationGetFullThreadDiffResult, Cd as RuntimeSessionId, Ci as ServerProviderSlashCommandInput, Cl as ThreadMessageSentPayload, Cn as ProjectSearchEntriesInput, Co as TerminalNotRunningError, Cr as SourceControlPublishStatus, Cs as RelayClientInstallProgressStageSchema, Ct as WsOrchestrationSubscribeShellRpc, Cu as AuthAccessStreamError, Da as KeybindingRule, Dc as OrchestrationGetTurnDiffResult, Dd as TrimmedString, Di as ServerProviderUpdateState, Dl as ThreadRuntimeModeSetPayload, Dn as ProjectWriteFileResult, Do as TerminalSessionLookupError, Dr as SourceControlRepositoryLookupInput, Ds as AuthPairingLinkRevokeResult, Dt as WsReviewGetDiffPreviewRpc, Du as AuthAccessStreamSnapshotEvent, Ea as KeybindingCommand, Ec as OrchestrationGetTurnDiffInput, Ed as TrimmedNonEmptyString, Ei as ServerProviderUpdateInput, El as ThreadRevertedPayload, En as ProjectWriteFileInput, Eo as TerminalRestartInput, Er as SourceControlRepositoryInfo, Es as AuthOtherClientSessionsRevokeResult, Et as WsProjectsWriteFileRpc, Eu as AuthAccessStreamPairingLinkUpsertedEvent, Fa as MAX_KEYBINDING_VALUE_LENGTH, Fc as OrchestrationReadModel, Fi as ServerSignalProcessInput, Fl as ThreadUnarchivedPayload, Fn as GitPreparePullRequestThreadInput, Fo as DesktopAppStageLabelSchema, Fr as VcsListRemotesResult, Fs as EnvironmentCloudLinkStateResult, Ft as WsServerRefreshProvidersRpc, Fu as AuthClientMetadataDeviceType, Ga as THREAD_KEYBINDING_COMMANDS, Gc as OrchestrationThread, Gi as ServerUpsertKeybindingResult, Gl as ProviderOptionChoice, Gn as VcsCreateRefResult, Go as DesktopSshBearerRequestInputSchema, Gr as ServerConfig, Gs as EnvironmentInternalError, Gt as WsSubscribeAuthAccessRpc, Gu as AuthPairingLink, Ha as ResolvedKeybindingsConfig, Hc as OrchestrationShellStreamEvent, Hi as ServerTraceDiagnosticsSpanOccurrence, Hl as MODEL_SLUG_ALIASES_BY_PROVIDER, Hn as GitStackedAction, Ho as DesktopServerExposureModeSchema, Hr as VcsRepositoryDetectionError, Hs as EnvironmentHttpForbiddenError, Ht as WsSourceControlCloneRepositoryRpc, Hu as AuthOrchestrationOperateScope, Ia as MAX_KEYBINDING_WHEN_LENGTH, Ic as OrchestrationReplayEventsError, Ii as ServerSignalProcessResult, Il as TurnCountRange, In as GitPreparePullRequestThreadResult, Io as DesktopCloudAuthFetchInputSchema, Ir as VcsListWorkspaceFilesResult, Is as EnvironmentCloudPreferencesRequest, It as WsServerRemoveKeybindingRpc, Iu as AuthClientPresentationMetadata, Ja as ItemLifecyclePayload, Jc as OrchestrationThreadDetailSnapshot, Ji as ClientSettingsPatch, Jl as ProviderOptionSelection, Jn as VcsInitInput, Jo as DesktopSshEnvironmentEnsureOptionsSchema, Jr as ServerConfigProviderStatusesPayload, Js as EnvironmentOperationForbiddenError, Jt as WsSubscribeTerminalEventsRpc, Ju as AuthReviewWriteScope, Ka as CanonicalItemType, Kc as OrchestrationThreadActivity, Ki as isProviderAvailable, Kl as ProviderOptionDescriptor, Kn as VcsCreateWorktreeInput, Ko as DesktopSshEnvironmentBootstrapSchema, Kr as ServerConfigIssue, Ks as EnvironmentInternalErrorReason, Kt as WsSubscribeServerConfigRpc, Ku as AuthRelayReadScope, La as MAX_SCRIPT_ID_LENGTH, Lc as OrchestrationReplayEventsInput, Li as ServerTraceDiagnosticsErrorKind, Ll as BooleanProviderOptionDescriptor, Ln as GitPullRequestRefInput, Lo as DesktopCloudAuthFetchResultSchema, Lr as VcsOutputDecodeError, Ls as EnvironmentCloudRelayConfigResult, Lt as WsServerSignalProcessRpc, Lu as AuthClientSession, Ma as KeybindingsConfig, Mc as OrchestrationProjectShell, Mi as ServerProviders, Ml as ThreadTurnInterruptRequestedPayload, Mn as GitCommandError, Mo as TerminalWriteInput, Mr as VcsError, Ms as EnvironmentAuthenticatedPrincipal, Mt as WsServerGetProcessResourceHistoryRpc, Mu as AuthBrowserSessionRequest, Na as KeybindingsConfigError, Nc as OrchestrationProposedPlan, Ni as ServerRemoveKeybindingInput, Nl as ThreadTurnStartCommand, Nn as GitManagerError, No as ContextMenuItemSchema, Nr as VcsFreshness, Ns as EnvironmentCloudEndpointUnavailableError, Nt as WsServerGetSettingsRpc, Nu as AuthBrowserSessionResult, Oa as KeybindingShortcut, Oc as OrchestrationLatestTurn, Od as TurnId, Oi as ServerProviderUpdateStatus, Ol as ThreadSessionSetPayload, On as GitActionProgressEvent, Oo as TerminalSessionSnapshot, Or as SourceControlRepositoryVisibility, Os as EnvironmentAuthHttpApi, Ot as WsRpcGroup, Ou as AuthAccessTokenResult, Pa as MAX_KEYBINDINGS_COUNT, Pc as OrchestrationProposedPlanId, Pi as ServerRemoveKeybindingResult, Pl as ThreadTurnStartRequestedPayload, Pn as GitManagerServiceError, Po as DesktopAppBrandingSchema, Pr as VcsFreshnessSource, Ps as EnvironmentCloudHttpApi, Pt as WsServerGetTraceDiagnosticsRpc, Pu as AuthClientMetadata, Qa as RuntimeEventRaw, Qc as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, Qi as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, Ql as ProviderDriverKind, Qn as VcsPullResult, Qo as DesktopSshHttpBaseUrlInputSchema, Qr as ServerConfigStreamProviderStatusesEvent, Qs as EnvironmentRequestInvalidReason, Qt as WsTerminalClearRpc, Qu as AuthStandardClientScopes, Ra as MAX_WHEN_EXPRESSION_DEPTH, Rc as OrchestrationRpcSchemas, Ri as ServerTraceDiagnosticsFailureSummary, Rl as DEFAULT_GIT_TEXT_GENERATION_MODEL, Rn as GitResolvePullRequestResult, Ro as DesktopDiscoveredSshHostSchema, Rr as VcsProcessExitError, Rs as EnvironmentHttpApi, Rt as WsServerUpdateProviderRpc, Ru as AuthCreatePairingCredentialInput, Sa as EditorId, Sc as OrchestrationGetFullThreadDiffInput, Sd as RuntimeRequestId, Si as ServerProviderSlashCommand, Sl as ThreadInteractionModeSetPayload, Sn as ProjectSearchEntriesError, So as TerminalMetadataStreamEvent, Sr as SourceControlPublishRepositoryResult, Ss as RelayClientInstallProgressEventSchema, St as WsOrchestrationReplayEventsRpc, Su as AuthAccessStreamClientUpsertedEvent, Ta as LaunchEditorInput, Tc as OrchestrationGetTurnDiffError, Td as ThreadId, Ti as ServerProviderUpdateError, Tl as ThreadProposedPlanUpsertedPayload, Tn as ProjectWriteFileError, To as TerminalResizeInput, Tr as SourceControlRepositoryError, Ts as AuthClientSessionRevokeResult, Tt as WsProjectsSearchEntriesRpc, Tu as AuthAccessStreamPairingLinkRemovedEvent, Ua as SCRIPT_RUN_COMMAND_PATTERN, Uc as OrchestrationShellStreamItem, Ui as ServerTraceDiagnosticsSpanSummary, Ul as ModelCapabilities, Un as TextGenerationError, Uo as DesktopServerExposureStateSchema, Ur as VcsRepositoryIdentity, Us as EnvironmentHttpInternalServerError, Ut as WsSourceControlLookupRepositoryRpc, Uu as AuthOrchestrationReadScope, Va as ResolvedKeybindingRule, Vc as OrchestrationShellSnapshot, Vi as ServerTraceDiagnosticsResult, Vl as DEFAULT_MODEL_BY_PROVIDER, Vn as GitRunStackedActionToastRunAction, Vo as DesktopRuntimeInfoSchema, Vr as VcsRemote, Vs as EnvironmentHttpConflictError, Vt as WsShellOpenInEditorRpc, Vu as AuthEnvironmentScopes, Wa as THREAD_JUMP_KEYBINDING_COMMANDS, Wc as OrchestrationSubscribeThreadInput, Wi as ServerUpsertKeybindingInput, Wl as PROVIDER_DISPLAY_NAMES, Wn as VcsCreateRefInput, Wo as DesktopSshBearerBootstrapInputSchema, Wr as VcsUnsupportedOperationError, Ws as EnvironmentHttpUnauthorizedError, Wt as WsSourceControlPublishRepositoryRpc, Wu as AuthPairingCredentialResult, Xa as ProviderRuntimeEventV2, Xc as OrchestrationThreadStreamItem, Xi as CodexSettings, Xl as ProviderOptionSelections, Xn as VcsListRefsResult, Xo as DesktopSshEnvironmentTargetSchema, Xr as ServerConfigStreamEvent, Xs as EnvironmentOrchestrationHttpApi, Xt as WsSubscribeVcsStatusRpc, Xu as AuthRevokePairingLinkInput, Ya as ProviderRuntimeEvent, Yc as OrchestrationThreadShell, Yi as ClientSettingsSchema, Yl as ProviderOptionSelectionValue, Yn as VcsListRefsInput, Yo as DesktopSshEnvironmentEnsureResultSchema, Yr as ServerConfigSettingsUpdatedPayload, Ys as EnvironmentOperationForbiddenReason, Yt as WsSubscribeTerminalMetadataRpc, Yu as AuthRevokeClientSessionInput, Za as ProviderRuntimeTurnStatus, Zc as PROVIDER_SEND_TURN_MAX_ATTACHMENTS, Zi as CursorSettings, Zl as SelectProviderOptionDescriptor, Zn as VcsPullInput, Zo as DesktopSshHostSourceSchema, Zr as ServerConfigStreamKeybindingsUpdatedEvent, Zs as EnvironmentRequestInvalidError, Zt as WsTerminalAttachRpc, Zu as AuthSessionState, _a as SidebarThreadSortOrder, _c as OrchestrationDispatchCommandError, _d as PortSchema, _i as ServerProviderAuthStatus, _l as ThreadApprovalResponseRequestedPayload, _n as FilesystemBrowseEntry, _o as TerminalCloseInput, _r as SourceControlProviderDiscoveryItem, _s as AdvertisedEndpointSource, _t as WsGitRunStackedActionRpc, _u as ScopedThreadRef, aa as DEFAULT_TIMESTAMP_FORMAT, ac as DEFAULT_PROVIDER_INTERACTION_MODE, ad as ServerAuthDescriptor, ai as ServerLifecycleStreamWelcomeEvent, al as ProjectScriptIcon, an as WsVcsCreateWorktreeRpc, ao as ProviderInterruptTurnInput, ar as VcsStatusStreamEvent, as as DesktopUpdateChannelSchema, au as ProviderInstanceRef, ba as makeProviderSettingsSchema, bc as OrchestrationEventType, bd as ProviderItemId, bi as ServerProviderModel, bl as ThreadCreatedPayload, bn as FilesystemBrowseResult, bo as TerminalEvent, br as SourceControlProviderKind, bs as RelayClientInstallFailedError, bt as WsOrchestrationGetFullThreadDiffRpc, bu as AuthAccessSnapshot, ca as MIN_SIDEBAR_THREAD_PREVIEW_COUNT, cc as ModelSelection, cd as ApprovalRequestId, ci as ServerProcessDiagnosticsEntry, cl as ProviderApprovalDecision, cn as WsVcsPullRpc, co as ProviderSendTurnInput, cr as ChangeRequest, cs as DesktopUpdateStatusSchema, cu as EnvironmentConnectionState, da as ServerSettings, dc as OrchestrationAggregateKind, dd as CommandId, di as ServerProcessResourceHistoryInput, dl as ProviderRequestKind, dn as WsVcsSwitchRefRpc, do as ProviderStopSessionInput, dr as SourceControlCloneRepositoryInput, ds as AdvertisedEndpoint, dt as WS_METHODS, du as ExecutionEnvironmentPlatform, ea as DEFAULT_SERVER_SETTINGS, ec as AssistantDeliveryMode, ed as AuthTokenExchangeGrantType, ei as ServerConfigStreamSnapshotEvent, el as ProjectCreateCommand, en as WsTerminalOpenRpc, eo as ThreadTokenUsageSnapshot, er as VcsRemoveWorktreeInput, es as DesktopSshPasswordPromptCancelledType, eu as ProviderInstanceConfigMap, fa as ServerSettingsError, fc as OrchestrationCheckpointFile, fd as EnvironmentId, fi as ServerProcessResourceHistoryResult, fl as ProviderSandboxMode, fn as ReviewDiffPreviewError, fo as ProviderTurnStartResult, fr as SourceControlCloneRepositoryResult, fs as AdvertisedEndpointCompatibility, ft as WsCloudGetRelayClientStatusRpc, fu as ExecutionEnvironmentPlatformArch, ga as SidebarThreadPreviewCount, gc as OrchestrationCommandReceiptStatus, gd as NonNegativeInt, gi as ServerProviderAuth, gl as ThreadActivityAppendedPayload, gn as ReviewDiffPreviewSourceKind, go as TerminalClearInput, gr as SourceControlProviderAuthStatus, gs as AdvertisedEndpointReachability, gt as WsGitResolvePullRequestRpc, gu as ScopedProjectRef, ha as SidebarProjectSortOrder, hc as OrchestrationCommand, hd as MessageId, hi as ServerProvider, hl as RuntimeMode, hn as ReviewDiffPreviewSource, ho as TerminalAttachStreamEvent, hr as SourceControlProviderAuth, hs as AdvertisedEndpointProviderKind, ht as WsGitPreparePullRequestThreadRpc, hu as RepositoryIdentityLocator, ia as DEFAULT_SIDEBAR_THREAD_SORT_ORDER, ic as CorrelationId, id as ServerAuthBootstrapMethod, ii as ServerLifecycleStreamReadyEvent, il as ProjectScript, in as WsVcsCreateRefRpc, io as ProviderEvent, ir as VcsStatusResult, is as DesktopUpdateActionResultSchema, iu as ProviderInstanceId, ja as KeybindingWhenNode, jc as OrchestrationProject, ji as ServerProviderVersionAdvisoryStatus, jl as ThreadTurnDiffCompletedPayload, jn as GitActionProgressStream, jo as TerminalThreadInput, jr as VcsDriverKind, js as EnvironmentAuthenticatedAuth, jt as WsServerGetProcessDiagnosticsRpc, ju as AuthAdministrativeScopes, ka as KeybindingValue, kc as OrchestrationMessage, ki as ServerProviderUpdatedPayload, kl as ThreadSessionStopRequestedPayload, kn as GitActionProgressKind, ko as TerminalSessionStatus, kr as VcsDiscoveryItem, ks as EnvironmentAuthInvalidError, kt as WsServerDiscoverSourceControlRpc, ku as AuthAccessTokenType, la as ObservabilitySettings, lc as ORCHESTRATION_WS_METHODS, ld as AuthSessionId, li as ServerProcessDiagnosticsResult, ll as ProviderApprovalPolicy, ln as WsVcsRefreshStatusRpc, lo as ProviderSession, lr as ChangeRequestState, ls as PersistedSavedEnvironmentRecordSchema, lu as ExecutionEnvironmentCapabilities, ma as SidebarProjectGroupingMode, mc as OrchestrationCheckpointSummary, md as IsoDateTime, mi as ServerProcessSignal, ml as ProviderUserInputAnswers, mn as ReviewDiffPreviewResult, mo as TerminalAttachInput, mr as SourceControlDiscoveryStatus, ms as AdvertisedEndpointProvider, mt as WsFilesystemBrowseRpc, mu as RepositoryIdentity, na as DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, nc as ChatImageAttachment, nd as AuthWebSocketTicketResult, ni as ServerLifecycleReadyPayload, nl as ProjectDeletedPayload, nn as WsTerminalRestartRpc, no as UserInputQuestion, nr as VcsStatusLocalResult, ns as DesktopSshPasswordPromptResolutionInputSchema, nu as ProviderInstanceEnvironmentVariable, oa as DEFAULT_UNIFIED_SETTINGS, oc as DEFAULT_RUNTIME_MODE, od as ServerAuthPolicy, oi as ServerLifecycleWelcomePayload, ol as ProjectionPendingApprovalDecision, on as WsVcsInitRpc, oo as ProviderRespondToRequestInput, or as VcsSwitchRefInput, os as DesktopUpdateCheckResultSchema, ou as defaultInstanceIdForDriver, pa as ServerSettingsPatch, pc as OrchestrationCheckpointStatus, pd as EventId, pi as ServerProcessResourceHistorySummary, pl as ProviderSessionRuntimeStatus, pn as ReviewDiffPreviewInput, po as DEFAULT_TERMINAL_ID, pr as SourceControlDiscoveryResult, ps as AdvertisedEndpointHostedHttpsCompatibility, pt as WsCloudInstallRelayClientRpc, pu as ExecutionEnvironmentPlatformOs, qa as CanonicalRequestType, qc as OrchestrationThreadActivityTone, qi as ClaudeSettings, ql as ProviderOptionDescriptorType, qn as VcsCreateWorktreeResult, qo as DesktopSshEnvironmentEnsureInputSchema, qr as ServerConfigKeybindingsUpdatedPayload, qs as EnvironmentMetadataHttpApi, qt as WsSubscribeServerLifecycleRpc, qu as AuthRelayWriteScope, ra as DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, rc as ClientOrchestrationCommand, rd as EnvironmentAuthorizationError, ri as ServerLifecycleStreamEvent, rl as ProjectMetaUpdatedPayload, rn as WsTerminalWriteRpc, ro as isToolLifecycleItemType, rr as VcsStatusRemoteResult, rs as DesktopThemeSchema, ru as ProviderInstanceEnvironmentVariableName, sa as MAX_SIDEBAR_THREAD_PREVIEW_COUNT, sc as DispatchResult, sd as ServerAuthSessionMethod, si as ServerObservability, sl as ProjectionPendingApprovalStatus, sn as WsVcsListRefsRpc, so as ProviderRespondToUserInputInput, sr as VcsSwitchRefResult, ss as DesktopUpdateStateSchema, su as isProviderDriverKind, ta as DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, tc as ChatAttachment, td as AuthTokenExchangeRequest, ti as ServerConfigUpdatedPayload, tl as ProjectCreatedPayload, tn as WsTerminalResizeRpc, to as ToolLifecycleItemType, tr as VcsStatusInput, ts as DesktopSshPasswordPromptRequestSchema, tu as ProviderInstanceEnvironment, ua as OpenCodeSettings, uc as OrchestrationActorKind, ud as CheckpointRef, ui as ServerProcessResourceHistoryBucket, ul as ProviderInteractionMode, un as WsVcsRemoveWorktreeRpc, uo as ProviderSessionStartInput, ur as SourceControlCloneProtocol, us as PickFolderOptionsSchema, uu as ExecutionEnvironmentDescriptor, va as ThreadEnvMode, vc as OrchestrationEvent, vd as PositiveInt, vi as ServerProviderAvailability, vl as ThreadArchivedPayload, vn as FilesystemBrowseError, vo as TerminalCwdError, vr as SourceControlProviderError, vs as AdvertisedEndpointStatus, vt as WsOrchestrationDispatchCommandRpc, vu as ScopedThreadSessionRef, wa as ExternalLauncherError, wc as OrchestrationGetSnapshotError, wd as RuntimeTaskId, wi as ServerProviderState, wl as ThreadMetaUpdatedPayload, wn as ProjectSearchEntriesResult, wo as TerminalOpenInput, wr as SourceControlRepositoryCloneUrls, ws as RelayClientStatusSchema, wt as WsOrchestrationSubscribeThreadRpc, wu as AuthAccessStreamEvent, xa as EDITORS, xc as OrchestrationGetFullThreadDiffError, xd as RuntimeItemId, xi as ServerProviderSkill, xl as ThreadDeletedPayload, xn as ProjectEntry, xo as TerminalHistoryError, xr as SourceControlPublishRepositoryInput, xs as RelayClientInstallFailureReasonSchema, xt as WsOrchestrationGetTurnDiffRpc, xu as AuthAccessStreamClientRemovedEvent, ya as TimestampFormat, yc as OrchestrationEventMetadata, yd as ProjectId, yi as ServerProviderContinuation, yl as ThreadCheckpointRevertRequestedPayload, yn as FilesystemBrowseInput, yo as TerminalError, yr as SourceControlProviderInfo, ys as DesktopBackendBootstrap, yt as WsOrchestrationGetArchivedShellSnapshotRpc, yu as AuthAccessReadScope, za as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, zc as OrchestrationSession, zi as ServerTraceDiagnosticsLogEvent, zl as DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, zn as GitRunStackedActionInput, zo as DesktopEnvironmentBootstrapSchema, zr as VcsProcessSpawnError, zs as EnvironmentHttpBadRequestError, zt as WsServerUpdateSettingsRpc, zu as AuthEnvironmentBootstrapTokenType } from "./shared.js";
2
+ export { AdvertisedEndpoint, AdvertisedEndpointCompatibility, AdvertisedEndpointHostedHttpsCompatibility, AdvertisedEndpointProvider, AdvertisedEndpointProviderKind, AdvertisedEndpointReachability, AdvertisedEndpointSource, AdvertisedEndpointStatus, ApprovalRequestId, AssistantDeliveryMode, AuthAccessReadScope, AuthAccessSnapshot, AuthAccessStreamClientRemovedEvent, AuthAccessStreamClientUpsertedEvent, AuthAccessStreamError, AuthAccessStreamEvent, AuthAccessStreamPairingLinkRemovedEvent, AuthAccessStreamPairingLinkUpsertedEvent, AuthAccessStreamSnapshotEvent, AuthAccessTokenResult, AuthAccessTokenType, AuthAccessWriteScope, AuthAdministrativeScopes, AuthBrowserSessionRequest, AuthBrowserSessionResult, AuthClientMetadata, AuthClientMetadataDeviceType, AuthClientPresentationMetadata, AuthClientSession, AuthClientSessionRevokeResult, AuthCreatePairingCredentialInput, AuthEnvironmentBootstrapTokenType, AuthEnvironmentScope, AuthEnvironmentScopes, AuthOrchestrationOperateScope, AuthOrchestrationReadScope, AuthOtherClientSessionsRevokeResult, AuthPairingCredentialResult, AuthPairingLink, AuthPairingLinkRevokeResult, AuthRelayReadScope, AuthRelayWriteScope, AuthReviewWriteScope, AuthRevokeClientSessionInput, AuthRevokePairingLinkInput, AuthSessionId, AuthSessionState, AuthStandardClientScopes, AuthTerminalOperateScope, AuthTokenExchangeGrantType, AuthTokenExchangeRequest, AuthWebSocketTicketResult, BooleanProviderOptionDescriptor, CanonicalItemType, CanonicalRequestType, ChangeRequest, ChangeRequestState, ChatAttachment, ChatImageAttachment, CheckpointRef, ClaudeSettings, ClientOrchestrationCommand, ClientSettingsPatch, ClientSettingsSchema, CodexSettings, CommandId, ContextMenuItemSchema, CorrelationId, CursorSettings, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, DEFAULT_CLIENT_SETTINGS, DEFAULT_GIT_TEXT_GENERATION_MODEL, DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, DEFAULT_MODEL, DEFAULT_MODEL_BY_PROVIDER, DEFAULT_PROVIDER_INTERACTION_MODE, DEFAULT_RUNTIME_MODE, DEFAULT_SERVER_SETTINGS, DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, DEFAULT_SIDEBAR_THREAD_SORT_ORDER, DEFAULT_TERMINAL_ID, DEFAULT_TIMESTAMP_FORMAT, DEFAULT_UNIFIED_SETTINGS, DesktopAppBrandingSchema, DesktopAppStageLabelSchema, DesktopBackendBootstrap, DesktopCloudAuthFetchInputSchema, DesktopCloudAuthFetchResultSchema, DesktopDiscoveredSshHostSchema, DesktopEnvironmentBootstrapSchema, DesktopRuntimeArchSchema, DesktopRuntimeInfoSchema, DesktopServerExposureModeSchema, DesktopServerExposureStateSchema, DesktopSshBearerBootstrapInputSchema, DesktopSshBearerRequestInputSchema, DesktopSshEnvironmentBootstrapSchema, DesktopSshEnvironmentEnsureInputSchema, DesktopSshEnvironmentEnsureOptionsSchema, DesktopSshEnvironmentEnsureResultSchema, DesktopSshEnvironmentTargetSchema, DesktopSshHostSourceSchema, DesktopSshHttpBaseUrlInputSchema, DesktopSshPasswordPromptCancelledResultSchema, DesktopSshPasswordPromptCancelledType, DesktopSshPasswordPromptRequestSchema, DesktopSshPasswordPromptResolutionInputSchema, DesktopThemeSchema, DesktopUpdateActionResultSchema, DesktopUpdateChannelSchema, DesktopUpdateCheckResultSchema, DesktopUpdateStateSchema, DesktopUpdateStatusSchema, DispatchResult, EDITORS, EditorId, EditorLaunchStyle, EnvironmentAuthHttpApi, EnvironmentAuthInvalidError, EnvironmentAuthInvalidReason, EnvironmentAuthenticatedAuth, EnvironmentAuthenticatedPrincipal, EnvironmentAuthorizationError, EnvironmentCloudEndpointUnavailableError, EnvironmentCloudHttpApi, EnvironmentCloudLinkStateResult, EnvironmentCloudPreferencesRequest, EnvironmentCloudRelayConfigResult, EnvironmentConnectionState, EnvironmentHttpApi, EnvironmentHttpBadRequestError, EnvironmentHttpCommonError, EnvironmentHttpConflictError, EnvironmentHttpForbiddenError, EnvironmentHttpInternalServerError, EnvironmentHttpUnauthorizedError, EnvironmentId, EnvironmentInternalError, EnvironmentInternalErrorReason, EnvironmentMetadataHttpApi, EnvironmentOperationForbiddenError, EnvironmentOperationForbiddenReason, EnvironmentOrchestrationHttpApi, EnvironmentRequestInvalidError, EnvironmentRequestInvalidReason, EnvironmentScopeRequiredError, EventId, ExecutionEnvironmentCapabilities, ExecutionEnvironmentDescriptor, ExecutionEnvironmentPlatform, ExecutionEnvironmentPlatformArch, ExecutionEnvironmentPlatformOs, ExternalLauncherError, FilesystemBrowseEntry, FilesystemBrowseError, FilesystemBrowseInput, FilesystemBrowseResult, GitActionProgressEvent, GitActionProgressKind, GitActionProgressPhase, GitActionProgressStream, GitCommandError, GitManagerError, GitManagerServiceError, GitPreparePullRequestThreadInput, GitPreparePullRequestThreadResult, GitPullRequestRefInput, GitResolvePullRequestResult, GitRunStackedActionInput, GitRunStackedActionResult, GitRunStackedActionToastRunAction, GitStackedAction, IsoDateTime, ItemLifecyclePayload, KeybindingCommand, KeybindingRule, KeybindingShortcut, KeybindingValue, KeybindingWhen, KeybindingWhenNode, KeybindingsConfig, KeybindingsConfigError, LaunchEditorInput, MAX_KEYBINDINGS_COUNT, MAX_KEYBINDING_VALUE_LENGTH, MAX_KEYBINDING_WHEN_LENGTH, MAX_SCRIPT_ID_LENGTH, MAX_SIDEBAR_THREAD_PREVIEW_COUNT, MAX_WHEN_EXPRESSION_DEPTH, MIN_SIDEBAR_THREAD_PREVIEW_COUNT, MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, MODEL_PICKER_KEYBINDING_COMMANDS, MODEL_SLUG_ALIASES_BY_PROVIDER, MessageId, ModelCapabilities, ModelSelection, NonNegativeInt, ORCHESTRATION_WS_METHODS, ObservabilitySettings, OpenCodeSettings, OrchestrationActorKind, OrchestrationAggregateKind, OrchestrationCheckpointFile, OrchestrationCheckpointStatus, OrchestrationCheckpointSummary, OrchestrationCommand, OrchestrationCommandReceiptStatus, OrchestrationDispatchCommandError, OrchestrationEvent, OrchestrationEventMetadata, OrchestrationEventType, OrchestrationGetFullThreadDiffError, OrchestrationGetFullThreadDiffInput, OrchestrationGetFullThreadDiffResult, OrchestrationGetSnapshotError, OrchestrationGetTurnDiffError, OrchestrationGetTurnDiffInput, OrchestrationGetTurnDiffResult, OrchestrationLatestTurn, OrchestrationMessage, OrchestrationMessageRole, OrchestrationProject, OrchestrationProjectShell, OrchestrationProposedPlan, OrchestrationProposedPlanId, OrchestrationReadModel, OrchestrationReplayEventsError, OrchestrationReplayEventsInput, OrchestrationRpcSchemas, OrchestrationSession, OrchestrationSessionStatus, OrchestrationShellSnapshot, OrchestrationShellStreamEvent, OrchestrationShellStreamItem, OrchestrationSubscribeThreadInput, OrchestrationThread, OrchestrationThreadActivity, OrchestrationThreadActivityTone, OrchestrationThreadDetailSnapshot, OrchestrationThreadShell, OrchestrationThreadStreamItem, PROVIDER_DISPLAY_NAMES, PROVIDER_SEND_TURN_MAX_ATTACHMENTS, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, PROVIDER_SEND_TURN_MAX_INPUT_CHARS, PersistedSavedEnvironmentRecordSchema, PickFolderOptionsSchema, PortSchema, PositiveInt, ProjectCreateCommand, ProjectCreatedPayload, ProjectDeletedPayload, ProjectEntry, ProjectId, ProjectMetaUpdatedPayload, ProjectScript, ProjectScriptIcon, ProjectSearchEntriesError, ProjectSearchEntriesInput, ProjectSearchEntriesResult, ProjectWriteFileError, ProjectWriteFileInput, ProjectWriteFileResult, ProjectionPendingApprovalDecision, ProjectionPendingApprovalStatus, ProviderApprovalDecision, ProviderApprovalPolicy, ProviderDriverKind, ProviderEvent, ProviderInstanceConfig, ProviderInstanceConfigMap, ProviderInstanceEnvironment, ProviderInstanceEnvironmentVariable, ProviderInstanceEnvironmentVariableName, ProviderInstanceId, ProviderInstanceRef, ProviderInteractionMode, ProviderInterruptTurnInput, ProviderItemId, ProviderOptionChoice, ProviderOptionDescriptor, ProviderOptionDescriptorType, ProviderOptionSelection, ProviderOptionSelectionValue, ProviderOptionSelections, ProviderRequestKind, ProviderRespondToRequestInput, ProviderRespondToUserInputInput, ProviderRuntimeEvent, ProviderRuntimeEventV2, ProviderRuntimeTurnStatus, ProviderSandboxMode, ProviderSendTurnInput, ProviderSession, ProviderSessionRuntimeStatus, ProviderSessionStartInput, ProviderStopSessionInput, ProviderTurnStartResult, ProviderUserInputAnswers, RelayClientInstallFailedError, RelayClientInstallFailureReasonSchema, RelayClientInstallProgressEventSchema, RelayClientInstallProgressStageSchema, RelayClientStatusSchema, RepositoryIdentity, RepositoryIdentityLocator, ResolvedKeybindingRule, ResolvedKeybindingsConfig, ReviewDiffPreviewError, ReviewDiffPreviewInput, ReviewDiffPreviewResult, ReviewDiffPreviewSource, ReviewDiffPreviewSourceKind, RuntimeEventRaw, RuntimeItemId, RuntimeMode, RuntimeRequestId, RuntimeSessionId, RuntimeTaskId, SCRIPT_RUN_COMMAND_PATTERN, ScopedProjectRef, ScopedThreadRef, ScopedThreadSessionRef, SelectProviderOptionDescriptor, ServerAuthBootstrapMethod, ServerAuthDescriptor, ServerAuthPolicy, ServerAuthSessionMethod, ServerConfig, ServerConfigIssue, ServerConfigKeybindingsUpdatedPayload, ServerConfigProviderStatusesPayload, ServerConfigSettingsUpdatedPayload, ServerConfigStreamEvent, ServerConfigStreamKeybindingsUpdatedEvent, ServerConfigStreamProviderStatusesEvent, ServerConfigStreamSettingsUpdatedEvent, ServerConfigStreamSnapshotEvent, ServerConfigUpdatedPayload, ServerLifecycleReadyPayload, ServerLifecycleStreamEvent, ServerLifecycleStreamReadyEvent, ServerLifecycleStreamWelcomeEvent, ServerLifecycleWelcomePayload, ServerObservability, ServerProcessDiagnosticsEntry, ServerProcessDiagnosticsResult, ServerProcessResourceHistoryBucket, ServerProcessResourceHistoryInput, ServerProcessResourceHistoryResult, ServerProcessResourceHistorySummary, ServerProcessSignal, ServerProvider, ServerProviderAuth, ServerProviderAuthStatus, ServerProviderAvailability, ServerProviderContinuation, ServerProviderModel, ServerProviderSkill, ServerProviderSlashCommand, ServerProviderSlashCommandInput, ServerProviderState, ServerProviderUpdateError, ServerProviderUpdateInput, ServerProviderUpdateState, ServerProviderUpdateStatus, ServerProviderUpdatedPayload, ServerProviderVersionAdvisory, ServerProviderVersionAdvisoryStatus, ServerProviders, ServerRemoveKeybindingInput, ServerRemoveKeybindingResult, ServerSettings, ServerSettingsError, ServerSettingsPatch, ServerSignalProcessInput, ServerSignalProcessResult, ServerTraceDiagnosticsErrorKind, ServerTraceDiagnosticsFailureSummary, ServerTraceDiagnosticsLogEvent, ServerTraceDiagnosticsRecentFailure, ServerTraceDiagnosticsResult, ServerTraceDiagnosticsSpanOccurrence, ServerTraceDiagnosticsSpanSummary, ServerUpsertKeybindingInput, ServerUpsertKeybindingResult, SidebarProjectGroupingMode, SidebarProjectSortOrder, SidebarThreadPreviewCount, SidebarThreadSortOrder, SourceControlCloneProtocol, SourceControlCloneRepositoryInput, SourceControlCloneRepositoryResult, SourceControlDiscoveryResult, SourceControlDiscoveryStatus, SourceControlProviderAuth, SourceControlProviderAuthStatus, SourceControlProviderDiscoveryItem, SourceControlProviderError, SourceControlProviderInfo, SourceControlProviderKind, SourceControlPublishRepositoryInput, SourceControlPublishRepositoryResult, SourceControlPublishStatus, SourceControlRepositoryCloneUrls, SourceControlRepositoryError, SourceControlRepositoryInfo, SourceControlRepositoryLookupInput, SourceControlRepositoryVisibility, THREAD_JUMP_KEYBINDING_COMMANDS, THREAD_KEYBINDING_COMMANDS, TOOL_LIFECYCLE_ITEM_TYPES, TerminalAttachInput, TerminalAttachStreamEvent, TerminalClearInput, TerminalCloseInput, TerminalCwdError, TerminalError, TerminalEvent, TerminalHistoryError, TerminalMetadataStreamEvent, TerminalNotRunningError, TerminalOpenInput, TerminalResizeInput, TerminalRestartInput, TerminalSessionLookupError, TerminalSessionSnapshot, TerminalSessionStatus, TerminalSummary, TerminalThreadInput, TerminalWriteInput, TextGenerationError, ThreadActivityAppendedPayload, ThreadApprovalResponseRequestedPayload, ThreadArchivedPayload, ThreadCheckpointRevertRequestedPayload, ThreadCreatedPayload, ThreadDeletedPayload, ThreadEnvMode, ThreadId, ThreadInteractionModeSetPayload, ThreadMessageSentPayload, ThreadMetaUpdatedPayload, ThreadProposedPlanUpsertedPayload, ThreadRevertedPayload, ThreadRuntimeModeSetPayload, ThreadSessionSetPayload, ThreadSessionStopRequestedPayload, ThreadTokenUsageSnapshot, ThreadTurnDiff, ThreadTurnDiffCompletedPayload, ThreadTurnInterruptRequestedPayload, ThreadTurnStartCommand, ThreadTurnStartRequestedPayload, ThreadUnarchivedPayload, TimestampFormat, ToolLifecycleItemType, TrimmedNonEmptyString, TrimmedString, TurnCountRange, TurnId, UserInputQuestion, VcsCreateRefInput, VcsCreateRefResult, VcsCreateWorktreeInput, VcsCreateWorktreeResult, VcsDiscoveryItem, VcsDriverCapabilities, VcsDriverKind, VcsError, VcsFreshness, VcsFreshnessSource, VcsInitInput, VcsListRefsInput, VcsListRefsResult, VcsListRemotesResult, VcsListWorkspaceFilesResult, VcsOutputDecodeError, VcsProcessExitError, VcsProcessSpawnError, VcsProcessTimeoutError, VcsPullInput, VcsPullResult, VcsRef, VcsRemote, VcsRemoveWorktreeInput, VcsRepositoryDetectionError, VcsRepositoryIdentity, VcsStatusInput, VcsStatusLocalResult, VcsStatusRemoteResult, VcsStatusResult, VcsStatusStreamEvent, VcsSwitchRefInput, VcsSwitchRefResult, VcsUnsupportedOperationError, WS_METHODS, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsFilesystemBrowseRpc, WsGitPreparePullRequestThreadRpc, WsGitResolvePullRequestRpc, WsGitRunStackedActionRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetArchivedShellSnapshotRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsProjectsSearchEntriesRpc, WsProjectsWriteFileRpc, WsReviewGetDiffPreviewRpc, WsRpcGroup, WsServerDiscoverSourceControlRpc, WsServerGetConfigRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetSettingsRpc, WsServerGetTraceDiagnosticsRpc, WsServerRefreshProvidersRpc, WsServerRemoveKeybindingRpc, WsServerSignalProcessRpc, WsServerUpdateProviderRpc, WsServerUpdateSettingsRpc, WsServerUpsertKeybindingRpc, WsShellOpenInEditorRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSubscribeAuthAccessRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeTerminalEventsRpc, WsSubscribeTerminalMetadataRpc, WsSubscribeVcsStatusRpc, WsTerminalAttachRpc, WsTerminalClearRpc, WsTerminalCloseRpc, WsTerminalOpenRpc, WsTerminalResizeRpc, WsTerminalRestartRpc, WsTerminalWriteRpc, WsVcsCreateRefRpc, WsVcsCreateWorktreeRpc, WsVcsInitRpc, WsVcsListRefsRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsVcsRemoveWorktreeRpc, WsVcsSwitchRefRpc, defaultInstanceIdForDriver, isProviderAvailable, isProviderDriverKind, isToolLifecycleItemType, makeProviderSettingsSchema };
@@ -358,15 +358,6 @@ declare const EnvironmentOrchestrationHttpApi_base: HttpApiGroup.HttpApiGroup<"o
358
358
  readonly updatedAt: Schema.String;
359
359
  readonly archivedAt: Schema.withDecodingDefault<Schema.NullOr<Schema.String>, never>;
360
360
  readonly deletedAt: Schema.NullOr<Schema.String>;
361
- readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
362
- readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
363
- readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
364
- readonly tokensUsed: Schema.Int;
365
- readonly tokenBudget: Schema.NullOr<Schema.Int>;
366
- readonly timeUsedSeconds: Schema.Int;
367
- readonly createdAt: Schema.String;
368
- readonly updatedAt: Schema.String;
369
- }>>, never>;
370
361
  readonly messages: Schema.$Array<Schema.Struct<{
371
362
  readonly id: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "MessageId">;
372
363
  readonly role: Schema.Literals<readonly ["user", "assistant", "system"]>;
@@ -664,20 +655,6 @@ declare const EnvironmentOrchestrationHttpApi_base: HttpApiGroup.HttpApiGroup<"o
664
655
  readonly commandId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">;
665
656
  readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
666
657
  readonly createdAt: Schema.String;
667
- }>, Schema.Struct<{
668
- readonly type: Schema.Literal<"thread.goal.request">;
669
- readonly commandId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">;
670
- readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
671
- readonly request: Schema.Union<readonly [Schema.Struct<{
672
- readonly kind: Schema.Literal<"status">;
673
- }>, Schema.Struct<{
674
- readonly kind: Schema.Literal<"control">;
675
- readonly action: Schema.Literals<readonly ["pause", "resume", "clear"]>;
676
- }>, Schema.Struct<{
677
- readonly kind: Schema.Literal<"set">;
678
- readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
679
- }>]>;
680
- readonly createdAt: Schema.String;
681
658
  }>]>>, HttpApiEndpoint.StringTree<Schema.Struct<{
682
659
  readonly authorization: Schema.optionalKey<Schema.String>;
683
660
  readonly dpop: Schema.optionalKey<Schema.String>;
@@ -686,7 +663,7 @@ declare const EnvironmentOrchestrationHttpApi_base: HttpApiGroup.HttpApiGroup<"o
686
663
  }>>, HttpApiEndpoint.Json<typeof EnvironmentRequestInvalidError | typeof EnvironmentScopeRequiredError | typeof EnvironmentInternalError>, EnvironmentAuthenticatedAuth, never>, false>;
687
664
  export declare class EnvironmentOrchestrationHttpApi extends EnvironmentOrchestrationHttpApi_base {
688
665
  }
689
- declare const EnvironmentConnectHttpApi_base: HttpApiGroup.HttpApiGroup<"connect", HttpApiEndpoint.HttpApiEndpoint<"linkProof", "POST", "/api/connect/link-proof", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
666
+ declare const EnvironmentCloudHttpApi_base: HttpApiGroup.HttpApiGroup<"cloud", HttpApiEndpoint.HttpApiEndpoint<"linkProof", "POST", "/api/cloud/link-proof", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
690
667
  readonly challenge: Schema.String;
691
668
  readonly relayIssuer: Schema.String;
692
669
  readonly endpoint: Schema.Struct<{
@@ -701,7 +678,7 @@ declare const EnvironmentConnectHttpApi_base: HttpApiGroup.HttpApiGroup<"connect
701
678
  }>>, HttpApiEndpoint.StringTree<Schema.Struct<{
702
679
  readonly authorization: Schema.optionalKey<Schema.String>;
703
680
  readonly dpop: Schema.optionalKey<Schema.String>;
704
- }>>, HttpApiEndpoint.Json<Schema.decodeTo<Schema.String, Schema.String, never, never>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayConfig", "POST", "/api/connect/relay-config", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
681
+ }>>, HttpApiEndpoint.Json<Schema.decodeTo<Schema.String, Schema.String, never, never>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayConfig", "POST", "/api/cloud/relay-config", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
705
682
  readonly relayUrl: Schema.String;
706
683
  readonly relayIssuer: Schema.optional<Schema.String>;
707
684
  readonly cloudUserId: Schema.String;
@@ -719,7 +696,7 @@ declare const EnvironmentConnectHttpApi_base: HttpApiGroup.HttpApiGroup<"connect
719
696
  }>>, HttpApiEndpoint.Json<Schema.Struct<{
720
697
  readonly ok: Schema.Boolean;
721
698
  readonly endpointRuntimeStatus: Schema.Unknown;
722
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError | typeof EnvironmentCloudEndpointUnavailableError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"linkState", "GET", "/api/connect/link-state", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
699
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError | typeof EnvironmentCloudEndpointUnavailableError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"linkState", "GET", "/api/cloud/link-state", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
723
700
  readonly authorization: Schema.optionalKey<Schema.String>;
724
701
  readonly dpop: Schema.optionalKey<Schema.String>;
725
702
  }>>, HttpApiEndpoint.Json<Schema.Struct<{
@@ -728,13 +705,13 @@ declare const EnvironmentConnectHttpApi_base: HttpApiGroup.HttpApiGroup<"connect
728
705
  readonly relayUrl: Schema.NullOr<Schema.String>;
729
706
  readonly relayIssuer: Schema.NullOr<Schema.String>;
730
707
  readonly publishAgentActivity: Schema.Boolean;
731
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unlink", "POST", "/api/connect/unlink", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
708
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unlink", "POST", "/api/cloud/unlink", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
732
709
  readonly authorization: Schema.optionalKey<Schema.String>;
733
710
  readonly dpop: Schema.optionalKey<Schema.String>;
734
711
  }>>, HttpApiEndpoint.Json<Schema.Struct<{
735
712
  readonly ok: Schema.Boolean;
736
713
  readonly endpointRuntimeStatus: Schema.Unknown;
737
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"preferences", "POST", "/api/connect/preferences", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
714
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"preferences", "POST", "/api/cloud/preferences", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
738
715
  readonly publishAgentActivity: Schema.Boolean;
739
716
  }>>, HttpApiEndpoint.StringTree<Schema.Struct<{
740
717
  readonly authorization: Schema.optionalKey<Schema.String>;
@@ -745,7 +722,7 @@ declare const EnvironmentConnectHttpApi_base: HttpApiGroup.HttpApiGroup<"connect
745
722
  readonly relayUrl: Schema.NullOr<Schema.String>;
746
723
  readonly relayIssuer: Schema.NullOr<Schema.String>;
747
724
  readonly publishAgentActivity: Schema.Boolean;
748
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"health", "POST", "/api/t3-connect/health", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
725
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"health", "POST", "/api/t3-cloud/health", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
749
726
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
750
727
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
751
728
  readonly environmentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EnvironmentId">;
@@ -764,22 +741,22 @@ declare const EnvironmentConnectHttpApi_base: HttpApiGroup.HttpApiGroup<"connect
764
741
  }>;
765
742
  readonly checkedAt: Schema.decodeTo<Schema.String, Schema.String, never, never>;
766
743
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
767
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"mintCredential", "POST", "/api/connect/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
744
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"mintCredential", "POST", "/api/cloud/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
768
745
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
769
746
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
770
747
  readonly credential: Schema.decodeTo<Schema.String, Schema.String, never, never>;
771
748
  readonly expiresAt: Schema.decodeTo<Schema.String, Schema.String, never, never>;
772
749
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
773
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"t3MintCredential", "POST", "/api/t3-connect/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
750
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"t3MintCredential", "POST", "/api/t3-cloud/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
774
751
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
775
752
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
776
753
  readonly credential: Schema.decodeTo<Schema.String, Schema.String, never, never>;
777
754
  readonly expiresAt: Schema.decodeTo<Schema.String, Schema.String, never, never>;
778
755
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
779
756
  }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never>, false>;
780
- export declare class EnvironmentConnectHttpApi extends EnvironmentConnectHttpApi_base {
757
+ export declare class EnvironmentCloudHttpApi extends EnvironmentCloudHttpApi_base {
781
758
  }
782
- declare const EnvironmentHttpApi_base: HttpApi.HttpApi<"environment", typeof EnvironmentMetadataHttpApi | typeof EnvironmentAuthHttpApi | typeof EnvironmentOrchestrationHttpApi | typeof EnvironmentConnectHttpApi>;
759
+ declare const EnvironmentHttpApi_base: HttpApi.HttpApi<"environment", typeof EnvironmentMetadataHttpApi | typeof EnvironmentAuthHttpApi | typeof EnvironmentOrchestrationHttpApi | typeof EnvironmentCloudHttpApi>;
783
760
  export declare class EnvironmentHttpApi extends EnvironmentHttpApi_base {
784
761
  }
785
762
  export {};
@@ -20,10 +20,6 @@ export interface ContextMenuItem<T extends string = string> {
20
20
  label: string;
21
21
  destructive?: boolean;
22
22
  disabled?: boolean;
23
- /** Renders as a non-interactive section header label. Web fallback only — stripped on desktop native menus. */
24
- header?: boolean;
25
- /** Icon keyword resolved by the web fallback. Stripped on desktop native menus. */
26
- icon?: string;
27
23
  children?: readonly ContextMenuItem<T>[];
28
24
  }
29
25
  export interface ContextMenuItemSchemaType {
@@ -31,8 +27,6 @@ export interface ContextMenuItemSchemaType {
31
27
  readonly label: string;
32
28
  readonly destructive?: boolean;
33
29
  readonly disabled?: boolean;
34
- readonly header?: boolean;
35
- readonly icon?: string;
36
30
  readonly children?: readonly ContextMenuItemSchemaType[];
37
31
  }
38
32
  export declare const ContextMenuItemSchema: Schema.Codec<ContextMenuItemSchemaType>;