t3code-cli 0.12.0 → 0.13.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 (64) hide show
  1. package/dist/application.js +1 -1
  2. package/dist/auth.js +1 -1
  3. package/dist/bin.js +48 -31
  4. package/dist/cli.js +1 -1
  5. package/dist/config.js +1 -1
  6. package/dist/connection.js +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/node.js +1 -1
  9. package/dist/rolldown-runtime.js +1 -1
  10. package/dist/rpc.js +1 -1
  11. package/dist/shared.js +11971 -1517
  12. package/dist/src/application/actions.d.ts +1 -1
  13. package/dist/src/application/layer.d.ts +42 -42
  14. package/dist/src/application/project-commands.d.ts +3 -3
  15. package/dist/src/application/projects.d.ts +1 -1
  16. package/dist/src/application/shell-sequence.d.ts +23 -28
  17. package/dist/src/application/terminals.d.ts +6 -6
  18. package/dist/src/application/thread-commands.d.ts +18 -18
  19. package/dist/src/application/thread-update.d.ts +1 -1
  20. package/dist/src/application/thread-wait.d.ts +19 -24
  21. package/dist/src/application/threads.d.ts +124 -149
  22. package/dist/src/auth/error.d.ts +1 -2
  23. package/dist/src/auth/layer.d.ts +2 -2
  24. package/dist/src/auth/local-origin.d.ts +2 -2
  25. package/dist/src/auth/local-token.d.ts +2 -2
  26. package/dist/src/auth/remote-error.d.ts +3 -0
  27. package/dist/src/config/config.d.ts +2 -2
  28. package/dist/src/config/credential/service.d.ts +2 -2
  29. package/dist/src/config/keystore/file.d.ts +1 -1
  30. package/dist/src/config/persist/migration.d.ts +3 -3
  31. package/dist/src/config/persist/persist.d.ts +4 -4
  32. package/dist/src/connection/error.d.ts +3 -1
  33. package/dist/src/connection/prepared.d.ts +14 -0
  34. package/dist/src/domain/helpers.d.ts +46 -51
  35. package/dist/src/domain/model-config.d.ts +91 -86
  36. package/dist/src/domain/thread-lifecycle.d.ts +23 -28
  37. package/dist/src/orchestration/layer.d.ts +308 -523
  38. package/dist/src/rpc/error.d.ts +4 -6
  39. package/dist/src/rpc/index.d.ts +3 -2
  40. package/dist/src/rpc/layer.d.ts +1890 -2299
  41. package/dist/src/rpc/operation.d.ts +4 -6260
  42. package/dist/src/rpc/service.d.ts +1 -1
  43. package/dist/src/rpc/session.d.ts +22 -0
  44. package/dist/src/rpc/ws-group.d.ts +439 -1180
  45. package/dist/src/runtime/layer.d.ts +10 -10
  46. package/dist/src/sql/node-sqlite-client.d.ts +1 -1
  47. package/dist/t3tools.js +2 -2
  48. package/package.json +8 -7
  49. package/src/application/thread-wait.ts +4 -0
  50. package/src/auth/error.ts +2 -8
  51. package/src/auth/remote-error.ts +17 -0
  52. package/src/auth/transport.ts +45 -114
  53. package/src/connection/error.ts +4 -1
  54. package/src/connection/layer.ts +5 -2
  55. package/src/connection/prepared.ts +83 -0
  56. package/src/orchestration/layer.ts +2 -1
  57. package/src/rpc/error.ts +9 -16
  58. package/src/rpc/index.ts +3 -2
  59. package/src/rpc/layer.ts +17 -51
  60. package/src/rpc/operation.ts +16 -2
  61. package/src/rpc/service.ts +2 -1
  62. package/src/rpc/session.ts +168 -0
  63. package/src/rpc/ws-group.ts +12 -26
  64. package/src/runtime/layer.ts +6 -3
@@ -1,15 +1,15 @@
1
1
  import * as Layer from "effect/Layer";
2
2
  import * as Config from "../config/config.ts";
3
3
  import * as Selection from "../config/selection/service.ts";
4
- export declare const T3ConfigLayer: Layer.Layer<Config.T3Config, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
4
+ export declare const T3ConfigLayer: Layer.Layer<Config.T3Config, import("effect/Config").ConfigError | import("../config/error.ts").ConfigError, import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path | Selection.T3ConfigSelection | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory>;
5
5
  export declare const T3AuthTransportLayer: Layer.Layer<import("../auth/transport.ts").T3AuthTransport, never, never>;
6
- export declare const T3LocalAuthOriginLayer: Layer.Layer<import("../auth/local-origin.ts").T3LocalAuthOrigin, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/FileSystem").FileSystem>;
7
- export declare const T3LocalAuthTokenLayer: Layer.Layer<import("../auth/local-token.ts").T3LocalAuthToken, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
8
- export declare const T3LocalAuthLayer: Layer.Layer<import("../auth/local.ts").T3LocalAuth, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
6
+ export declare const T3LocalAuthOriginLayer: Layer.Layer<import("../auth/local-origin.ts").T3LocalAuthOrigin, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/FileSystem").FileSystem | import("effect/Path").Path>;
7
+ export declare const T3LocalAuthTokenLayer: Layer.Layer<import("../auth/local-token.ts").T3LocalAuthToken, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path>;
8
+ export declare const T3LocalAuthLayer: Layer.Layer<import("../auth/local.ts").T3LocalAuth, import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path>;
9
9
  export declare const T3AuthPairingLayer: Layer.Layer<import("../auth/pairing.ts").T3AuthPairing, never, never>;
10
- export declare const T3AuthLayer: Layer.Layer<import("../auth/service.ts").T3Auth, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
11
- export declare const T3OrchestrationLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
12
- export declare const BaseAppLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration | import("../index.ts").T3Application | import("../rpc/service.ts").T3Rpc | import("../rpc/operation.ts").T3RpcOperations | Config.T3Config | import("../auth/service.ts").T3Auth | import("../cli-path/service.ts").CliPath, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
13
- export declare const BaseAuthAppLayer: Layer.Layer<Config.T3Config | import("../auth/service.ts").T3Auth, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem | Selection.T3ConfigSelection>;
14
- export declare const AuthAppLayer: Layer.Layer<Selection.T3ConfigSelection | Config.T3Config | import("../auth/service.ts").T3Auth, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem>;
15
- export declare const AppLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration | import("../index.ts").T3Application | import("../rpc/service.ts").T3Rpc | import("../rpc/operation.ts").T3RpcOperations | Selection.T3ConfigSelection | Config.T3Config | import("../auth/service.ts").T3Auth | import("../cli-path/service.ts").CliPath, import("../config/error.ts").ConfigError | import("effect/Config").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Path").Path | import("effect/Crypto").Crypto | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory | import("effect/FileSystem").FileSystem>;
10
+ export declare const T3AuthLayer: Layer.Layer<import("../auth/service.ts").T3Auth, import("effect/Config").ConfigError | import("../config/error.ts").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path | Selection.T3ConfigSelection | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory>;
11
+ export declare const T3OrchestrationLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration, import("effect/Config").ConfigError | import("../config/error.ts").ConfigError, import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path | Selection.T3ConfigSelection | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory>;
12
+ export declare const BaseAppLayer: Layer.Layer<import("../cli-path/service.ts").CliPath | import("../index.ts").T3Application | import("../auth/service.ts").T3Auth | Config.T3Config | import("../orchestration/service.ts").T3Orchestration | import("../rpc/service.ts").T3Rpc | import("../rpc/operation.ts").T3RpcOperations, import("effect/Config").ConfigError | import("../config/error.ts").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path | Selection.T3ConfigSelection | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory>;
13
+ export declare const BaseAuthAppLayer: Layer.Layer<import("../auth/service.ts").T3Auth | Config.T3Config, import("effect/Config").ConfigError | import("../config/error.ts").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path | Selection.T3ConfigSelection | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory>;
14
+ export declare const AuthAppLayer: Layer.Layer<import("../auth/service.ts").T3Auth | Config.T3Config | Selection.T3ConfigSelection, import("effect/Config").ConfigError | import("../config/error.ts").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory>;
15
+ export declare const AppLayer: Layer.Layer<import("../cli-path/service.ts").CliPath | import("../index.ts").T3Application | import("../auth/service.ts").T3Auth | Config.T3Config | Selection.T3ConfigSelection | import("../orchestration/service.ts").T3Orchestration | import("../rpc/service.ts").T3Rpc | import("../rpc/operation.ts").T3RpcOperations, import("effect/Config").ConfigError | import("../config/error.ts").ConfigError, import("../cli/runtime/service.ts").CliRuntime | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("../config/credential/cipher.ts").T3CredentialCipher | import("../config/keystore/service.ts").T3MasterKeyKeystoreFactory>;
@@ -5,6 +5,6 @@ import * as Reactivity from "effect/unstable/reactivity/Reactivity";
5
5
  import * as SqlClient from "effect/unstable/sql/SqlClient";
6
6
  import { SqlError } from "effect/unstable/sql/SqlError";
7
7
  import { SqlClientFactory, type SqliteClientConfig } from "./service.ts";
8
- export declare const makeNodeSqliteClient: (config: SqliteClientConfig) => Effect.Effect<SqlClient.SqlClient, SqlError, Scope.Scope | Reactivity.Reactivity>;
8
+ export declare const makeNodeSqliteClient: (config: SqliteClientConfig) => Effect.Effect<SqlClient.SqlClient, SqlError, Reactivity.Reactivity | Scope.Scope>;
9
9
  export declare const NodeSqliteClientLive: (config: SqliteClientConfig) => Layer.Layer<SqlClient.SqlClient, SqlError, never>;
10
10
  export declare const NodeSqlClientFactoryLive: Layer.Layer<SqlClientFactory, never, never>;
package/dist/t3tools.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $a as TimestampFormat, $c as PreviewAutomationUnavailableError, $d as DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, $f as AuthEnvironmentBootstrapTokenType, $i as ServerProviderSlashCommand, $l as EnvironmentInternalError, $n as ProjectSearchEntriesError, $o as TerminalCloseInput, $r as SourceControlPublishRepositoryResult, $s as DesktopSshEnvironmentEnsureResultSchema, $t as WsServerGetTraceDiagnosticsRpc, $u as OrchestrationThread, Aa as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, Ac as PreviewAutomationElement, Ad as ThreadCreatedPayload, Af as ScopedProjectRef, Ai as ServerConfigStreamSettingsUpdatedEvent, Al as RelayClientInstallProgressEventSchema, An as WsVcsRefreshStatusRpc, Ao as ProviderRuntimeEventV2, Ap as NonNegativeInt, Ar as VcsRef, As as DesktopPreviewAutomationWaitForInputSchema, At as WsOrchestrationSubscribeShellRpc, Au as OrchestrationGetFullThreadDiffInput, Ba as GrokSettings, Bc as PreviewAutomationOwner, Bd as ThreadRevertedPayload, Bf as AuthAccessStreamPairingLinkUpsertedEvent, Bi as ServerProcessDiagnosticsResult, Bl as EnvironmentAuthenticatedPrincipal, Bn as AssetCreateUrlResult, Bo as ProviderGoalRequestInput, Bp as TrimmedNonEmptyString, Br as ChangeRequestState, Bs as DesktopPreviewTabIdSchema, Bt as WsPreviewRefreshRpc, Bu as OrchestrationProjectShell, Ca as isProviderAvailable, Cc as PreviewAnnotationStrokeTargetSchema, Cd as ProviderSessionRuntimeStatus, Cf as ExecutionEnvironmentCapabilities, Ci as ServerConfigIssue, Cl as AdvertisedEndpointProviderKind, Cn as WsTerminalRestartRpc, Co as SCRIPT_RUN_COMMAND_PATTERN, Cp as AuthSessionId, Cr as VcsCreateWorktreeInput, Cs as DesktopPreviewAnnotationThemeSchema, Ct as WsGitResolvePullRequestRpc, Cu as OrchestrationCommand, Da as CodexSettings, Dc as PreviewAutomationClickInput, Dd as ThreadApprovalResponseRequestedPayload, Df as ExecutionEnvironmentPlatformOs, Di as ServerConfigStreamEvent, Dl as DesktopBackendBootstrap, Dn as WsVcsInitRpc, Do as CanonicalRequestType, Dp as EventId, Dr as VcsListRefsResult, Ds as DesktopPreviewAutomationPressInputSchema, Dt as WsOrchestrationGetFullThreadDiffRpc, Du as OrchestrationEventMetadata, Ea as ClientSettingsSchema, Ec as PreviewAutomationActionEvent, Ed as ThreadActivityAppendedPayload, Ef as ExecutionEnvironmentPlatformArch, Ei as ServerConfigSettingsUpdatedPayload, El as AdvertisedEndpointStatus, En as WsVcsCreateWorktreeRpc, Eo as CanonicalItemType, Ep as EnvironmentId, Er as VcsListRefsInput, Es as DesktopPreviewAutomationEvaluateInputSchema, Et as WsOrchestrationGetArchivedShellSnapshotRpc, Eu as OrchestrationEvent, Fa as DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, Fc as PreviewAutomationNavigateInput, Fd as ThreadGoalUpdatedPayload, Ff as AuthAccessStreamClientRemovedEvent, Fi as ServerLifecycleStreamReadyEvent, Fl as AuthPairingLinkRevokeResult, Fn as ReviewDiffPreviewResult, Fo as ThreadTokenUsageSnapshot, Fp as RuntimeItemId, Fr as VcsStatusResult, Fs as DesktopPreviewRecordingArtifactSchema, Ft as WsPreviewAutomationRespondRpc, Fu as OrchestrationGetTurnDiffResult, Ga as ServerSettings, Gc as PreviewAutomationResponse, Gd as ThreadTurnDiffCompletedPayload, Gf as AuthAdministrativeScopes, Gi as ServerProcessSignal, Gl as EnvironmentConnectHttpApi, Gn as FilesystemBrowseResult, Go as ProviderSession, Gr as SourceControlDiscoveryStatus, Gs as DesktopRuntimeInfoSchema, Gt as WsProjectsWriteFileRpc, Gu as OrchestrationReplayEventsInput, Ha as MIN_SIDEBAR_THREAD_PREVIEW_COUNT, Hc as PreviewAutomationRecordingArtifact, Hd as ThreadSessionSetPayload, Hf as AuthAccessTokenResult, Hi as ServerProcessResourceHistoryInput, Hl as EnvironmentCloudLinkStateResult, Hn as FilesystemBrowseEntry, Ho as ProviderRespondToRequestInput, Hp as TurnId, Hr as SourceControlCloneRepositoryInput, Hs as DesktopPreviewTabStateSchema, Ht as WsProjectsListEntriesRpc, Hu as OrchestrationProposedPlanId, Ia as DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, Ic as PreviewAutomationNetworkEntry, Id as ThreadInteractionModeSetPayload, If as AuthAccessStreamClientUpsertedEvent, Ii as ServerLifecycleStreamWelcomeEvent, Il as EnvironmentAuthHttpApi, In as ReviewDiffPreviewSource, Io as ToolLifecycleItemType, Ip as RuntimeRequestId, Ir as VcsStatusStreamEvent, Is as DesktopPreviewRecordingFrameSchema, It as WsPreviewCloseRpc, Iu as OrchestrationLatestTurn, Ja as SidebarProjectGroupingMode, Jc as PreviewAutomationSnapshot, Jd as ThreadTurnStartRequestedPayload, Jf as AuthClientMetadata, Ji as ServerProviderAuthStatus, Jl as EnvironmentHttpCommonError, Jn as ProjectListEntriesInput, Jo as ProviderTurnStartResult, Jr as SourceControlProviderDiscoveryItem, Js as DesktopSshBearerBootstrapInputSchema, Jt as WsServerDiscoverSourceControlRpc, Ju as OrchestrationSessionStatus, Ka as ServerSettingsError, Kc as PreviewAutomationResultTooLargeError, Kd as ThreadTurnInterruptRequestedPayload, Kf as AuthBrowserSessionRequest, Ki as ServerProvider, Kl as EnvironmentHttpApi, Kn as ProjectEntry, Ko as ProviderSessionStartInput, Kr as SourceControlProviderAuth, Ks as DesktopServerExposureModeSchema, Kt as WsReviewGetDiffPreviewRpc, Ku as OrchestrationRpcSchemas, La as DEFAULT_SIDEBAR_THREAD_SORT_ORDER, Lc as PreviewAutomationNoFocusedOwnerError, Ld as ThreadMessageSentPayload, Lf as AuthAccessStreamError, Li as ServerLifecycleWelcomePayload, Ll as EnvironmentAuthInvalidError, Ln as ReviewDiffPreviewSourceKind, Lo as UserInputQuestion, Lp as RuntimeSessionId, Lr as VcsSwitchRefInput, Ls as DesktopPreviewRecordingSaveInputSchema, Lt as WsPreviewListRpc, Lu as OrchestrationMessage, Ma as DEFAULT_CONTEXT_MENU_STYLE, Mc as PreviewAutomationEvaluateInput, Md as ThreadGoalClearedPayload, Mf as ScopedThreadSessionRef, Mi as ServerConfigUpdatedPayload, Ml as RelayClientStatusSchema, Mn as WsVcsSwitchRefRpc, Mo as ProviderRuntimeTurnStatus, Mp as PositiveInt, Mr as VcsStatusInput, Ms as DesktopPreviewNavStatusSchema, Mt as WsPreviewAutomationClearOwnerRpc, Mu as OrchestrationGetSnapshotError, Na as DEFAULT_SERVER_SETTINGS, Nc as PreviewAutomationExecutionError, Nd as ThreadGoalRequest, Nf as AuthAccessReadScope, Ni as ServerLifecycleReadyPayload, Nl as AuthClientSessionRevokeResult, Nn as ReviewDiffPreviewError, No as RuntimeEventRaw, Np as ProjectId, Nr as VcsStatusLocalResult, Ns as DesktopPreviewNavigateInputSchema, Nt as WsPreviewAutomationConnectRpc, Nu as OrchestrationGetTurnDiffError, Oa as ContextMenuStyle, Oc as PreviewAutomationConsoleEntry, Od as ThreadArchivedPayload, Of as RepositoryIdentity, Oi as ServerConfigStreamKeybindingsUpdatedEvent, Ol as RelayClientInstallFailedError, On as WsVcsListRefsRpc, Oo as ItemLifecyclePayload, Op as IsoDateTime, Or as VcsPullInput, Os as DesktopPreviewAutomationScrollInputSchema, Ot as WsOrchestrationGetTurnDiffRpc, Ou as OrchestrationEventType, Pa as DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, Pc as PreviewAutomationInvalidSelectorError, Pd as ThreadGoalRequestedPayload, Pf as AuthAccessSnapshot, Pi as ServerLifecycleStreamEvent, Pl as AuthOtherClientSessionsRevokeResult, Pn as ReviewDiffPreviewInput, Po as TOOL_LIFECYCLE_ITEM_TYPES, Pp as ProviderItemId, Pr as VcsStatusRemoteResult, Ps as DesktopPreviewPointerEventSchema, Pt as WsPreviewAutomationReportOwnerRpc, Pu as OrchestrationGetTurnDiffInput, Qa as ThreadEnvMode, Qc as PreviewAutomationTypeInput, Qd as DEFAULT_GIT_TEXT_GENERATION_MODEL, Qf as AuthCreatePairingCredentialInput, Qi as ServerProviderSkill, Ql as EnvironmentHttpUnauthorizedError, Qn as ProjectReadFileResult, Qo as TerminalClearInput, Qr as SourceControlPublishRepositoryInput, Qs as DesktopSshEnvironmentEnsureOptionsSchema, Qt as WsServerGetSettingsRpc, Qu as OrchestrationSubscribeThreadInput, Ra as DEFAULT_TIMESTAMP_FORMAT, Rc as PreviewAutomationOpenInput, Rd as ThreadMetaUpdatedPayload, Rf as AuthAccessStreamEvent, Ri as ServerObservability, Rl as EnvironmentAuthInvalidReason, Rn as AssetAccessError, Ro as isToolLifecycleItemType, Rp as RuntimeTaskId, Rr as VcsSwitchRefResult, Rs as DesktopPreviewRegisterWebviewInputSchema, Rt as WsPreviewNavigateRpc, Ru as OrchestrationMessageRole, Sa as ServerUpsertKeybindingResult, Sc as PreviewAnnotationScreenshotSchema, Sd as ProviderSandboxMode, Sf as EnvironmentConnectionState, Si as ServerConfig, Sl as AdvertisedEndpointProvider, Sn as WsTerminalResizeRpc, So as ResolvedKeybindingsConfig, Sp as ApprovalRequestId, Sr as VcsCreateRefResult, Ss as DesktopPreviewAnnotationThemeInputSchema, St as WsGitPreparePullRequestThreadRpc, Su as OrchestrationCheckpointSummary, Ta as ClientSettingsPatch, Tc as BrowserNavigationTarget, Td as RuntimeMode, Tf as ExecutionEnvironmentPlatform, Ti as ServerConfigProviderStatusesPayload, Tl as AdvertisedEndpointSource, Tn as WsVcsCreateRefRpc, To as THREAD_KEYBINDING_COMMANDS, Tp as CommandId, Tr as VcsInitInput, Ts as DesktopPreviewAutomationClickInputSchema, Tt as WsOrchestrationDispatchCommandRpc, Tu as OrchestrationDispatchCommandError, Ua as ObservabilitySettings, Uc as PreviewAutomationRecordingStatus, Ud as ThreadSessionStopRequestedPayload, Uf as AuthAccessTokenType, Ui as ServerProcessResourceHistoryResult, Ul as EnvironmentCloudPreferencesRequest, Un as FilesystemBrowseError, Uo as ProviderRespondToUserInputInput, Ur as SourceControlCloneRepositoryResult, Us as DesktopPreviewWebviewConfigSchema, Ut as WsProjectsReadFileRpc, Uu as OrchestrationReadModel, Va as MAX_SIDEBAR_THREAD_PREVIEW_COUNT, Vc as PreviewAutomationPressInput, Vd as ThreadRuntimeModeSetPayload, Vf as AuthAccessStreamSnapshotEvent, Vi as ServerProcessResourceHistoryBucket, Vl as EnvironmentCloudEndpointUnavailableError, Vn as AssetResource, Vo as ProviderInterruptTurnInput, Vp as TrimmedString, Vr as SourceControlCloneProtocol, Vs as DesktopPreviewTabInputSchema, Vt as WsPreviewReportStatusRpc, Vu as OrchestrationProposedPlan, Wa as OpenCodeSettings, Wc as PreviewAutomationRequest, Wd as ThreadTurnDiff, Wf as AuthAccessWriteScope, Wi as ServerProcessResourceHistorySummary, Wl as EnvironmentCloudRelayConfigResult, Wn as FilesystemBrowseInput, Wo as ProviderSendTurnInput, Wr as SourceControlDiscoveryResult, Ws as DesktopRuntimeArchSchema, Wt as WsProjectsSearchEntriesRpc, Wu as OrchestrationReplayEventsError, Xa as SidebarThreadPreviewCount, Xc as PreviewAutomationTabNotFoundError, Xd as TurnCountRange, Xf as AuthClientPresentationMetadata, Xi as ServerProviderContinuation, Xl as EnvironmentHttpForbiddenError, Xn as ProjectReadFileError, Xo as TerminalAttachInput, Xr as SourceControlProviderInfo, Xs as DesktopSshEnvironmentBootstrapSchema, Xt as WsServerGetProcessDiagnosticsRpc, Xu as OrchestrationShellStreamEvent, Ya as SidebarProjectSortOrder, Yc as PreviewAutomationStatus, Yd as ThreadUnarchivedPayload, Yf as AuthClientMetadataDeviceType, Yi as ServerProviderAvailability, Yl as EnvironmentHttpConflictError, Yn as ProjectListEntriesResult, Yo as DEFAULT_TERMINAL_ID, Yr as SourceControlProviderError, Ys as DesktopSshBearerRequestInputSchema, Yt as WsServerGetConfigRpc, Yu as OrchestrationShellSnapshot, Za as SidebarThreadSortOrder, Zc as PreviewAutomationTimeoutError, Zd as BooleanProviderOptionDescriptor, Zf as AuthClientSession, Zi as ServerProviderModel, Zl as EnvironmentHttpInternalServerError, Zn as ProjectReadFileInput, Zo as TerminalAttachStreamEvent, Zr as SourceControlProviderKind, Zs as DesktopSshEnvironmentEnsureInputSchema, Zt as WsServerGetProcessResourceHistoryRpc, Zu as OrchestrationShellStreamItem, _a as ServerTraceDiagnosticsRecentFailure, _c as PreviewAnnotationElementTargetSchema, _d as ProjectionPendingApprovalStatus, _f as ProviderInstanceEnvironmentVariableName, _i as VcsProcessTimeoutError, _l as PreviewSessionSnapshot, _n as WsSubscribeVcsStatusRpc, _o as MAX_SCRIPT_ID_LENGTH, _p as EnvironmentAuthorizationError, _r as GitRunStackedActionResult, _s as DesktopAppStageLabelSchema, _t as WS_METHODS, _u as ORCHESTRATION_WS_METHODS, aa as ServerProviderUpdateStatus, ac as DesktopSshPasswordPromptRequestSchema, ad as OrchestrationThreadShell, af as ProviderOptionChoice, ai as SourceControlRepositoryVisibility, al as PreviewCloseInput, an as WsServerUpsertKeybindingRpc, ao as LaunchEditorInput, ap as AuthPairingLink, ar as GitActionProgressEvent, as as TerminalNotRunningError, au as EnvironmentRequestInvalidError, ba as ServerTraceDiagnosticsSpanSummary, bc as PreviewAnnotationRectSchema, bd as ProviderInteractionMode, bf as defaultInstanceIdForDriver, bi as VcsRepositoryIdentity, bl as AdvertisedEndpointCompatibility, bn as WsTerminalCloseRpc, bo as MODEL_PICKER_KEYBINDING_COMMANDS, bp as ServerAuthPolicy, br as TextGenerationError, bs as DesktopDiscoveredSshHostSchema, bt as WsCloudInstallRelayClientRpc, bu as OrchestrationCheckpointFile, ca as ServerProviderVersionAdvisoryStatus, cc as DesktopUpdateActionResultSchema, cd as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, cf as ProviderOptionSelection, ci as VcsDriverKind, cl as PreviewInvalidUrlError, cn as WsSourceControlLookupRepositoryRpc, co as KeybindingShortcut, cp as AuthReviewWriteScope, cr as GitActionProgressStream, cs as TerminalRestartInput, cu as AssistantDeliveryMode, da as ServerRemoveKeybindingResult, dc as DesktopUpdateStateSchema, dd as ProjectCreatedPayload, df as SelectProviderOptionDescriptor, di as VcsFreshnessSource, dl as PreviewNavStatus, dn as WsSubscribeDiscoveredLocalServersRpc, do as KeybindingWhenNode, dp as AuthSessionState, dr as GitManagerServiceError, ds as TerminalSessionStatus, du as ClientOrchestrationCommand, ea as ServerProviderSlashCommandInput, ec as DesktopSshEnvironmentTargetSchema, ed as OrchestrationThreadActivity, ef as DEFAULT_MODEL, ei as SourceControlPublishStatus, el as PreviewAutomationUnsupportedClientError, en as WsServerRefreshProvidersRpc, eo as makeProviderSettingsSchema, ep as AuthEnvironmentScope, er as ProjectSearchEntriesInput, es as TerminalCwdError, eu as EnvironmentInternalErrorReason, fa as ServerSignalProcessInput, fc as DesktopUpdateStatusSchema, fd as ProjectDeletedPayload, ff as ProviderDriverKind, fi as VcsListRemotesResult, fl as PreviewNavigateInput, fn as WsSubscribePreviewEventsRpc, fo as KeybindingsConfig, fp as AuthStandardClientScopes, fr as GitPreparePullRequestThreadInput, fs as TerminalSummary, fu as CorrelationId, ga as ServerTraceDiagnosticsLogEvent, gc as PickedElementStackFrameSchema, gd as ProjectionPendingApprovalDecision, gf as ProviderInstanceEnvironmentVariable, gi as VcsProcessSpawnError, gl as PreviewSessionLookupError, gn as WsSubscribeTerminalMetadataRpc, go as MAX_KEYBINDING_WHEN_LENGTH, gp as AuthWebSocketTicketResult, gr as GitRunStackedActionInput, gs as DesktopAppBrandingSchema, gu as ModelSelection, ha as ServerTraceDiagnosticsFailureSummary, hc as PickedElementPayloadSchema, hd as ProjectScriptIcon, hf as ProviderInstanceEnvironment, hi as VcsProcessExitError, hl as PreviewReportStatusInput, hn as WsSubscribeTerminalEventsRpc, ho as MAX_KEYBINDING_VALUE_LENGTH, hp as AuthTokenExchangeRequest, hr as GitResolvePullRequestResult, hs as ContextMenuItemSchema, hu as DispatchResult, ia as ServerProviderUpdateState, ic as DesktopSshPasswordPromptCancelledType, id as OrchestrationThreadGoalStatus, if as PROVIDER_DISPLAY_NAMES, ii as SourceControlRepositoryLookupInput, il as DiscoveredLocalServerList, in as WsServerUpdateSettingsRpc, io as ExternalLauncherError, ip as AuthPairingCredentialResult, ir as ProjectWriteFileResult, is as TerminalMetadataStreamEvent, iu as EnvironmentOrchestrationHttpApi, ja as DEFAULT_CLIENT_SETTINGS, jc as PreviewAutomationError, jd as ThreadDeletedPayload, jf as ScopedThreadRef, ji as ServerConfigStreamSnapshotEvent, jl as RelayClientInstallProgressStageSchema, jn as WsVcsRemoveWorktreeRpc, jo as ProviderRuntimeThreadGoalStatus, jp as PortSchema, jr as VcsRemoveWorktreeInput, js as DesktopPreviewConfigInputSchema, jt as WsOrchestrationSubscribeThreadRpc, ju as OrchestrationGetFullThreadDiffResult, ka as CursorSettings, kc as PreviewAutomationControlInterruptedError, kd as ThreadCheckpointRevertRequestedPayload, kf as RepositoryIdentityLocator, ki as ServerConfigStreamProviderStatusesEvent, kl as RelayClientInstallFailureReasonSchema, kn as WsVcsPullRpc, ko as ProviderRuntimeEvent, kp as MessageId, kr as VcsPullResult, ks as DesktopPreviewAutomationTypeInputSchema, kt as WsOrchestrationReplayEventsRpc, ku as OrchestrationGetFullThreadDiffError, la as ServerProviders, lc as DesktopUpdateChannelSchema, ld as PROVIDER_SEND_TURN_MAX_INPUT_CHARS, lf as ProviderOptionSelectionValue, li as VcsError, ll as PreviewListInput, ln as WsSourceControlPublishRepositoryRpc, lo as KeybindingValue, lp as AuthRevokeClientSessionInput, lr as GitCommandError, ls as TerminalSessionLookupError, lu as ChatAttachment, ma as ServerTraceDiagnosticsErrorKind, mc as PickFolderOptionsSchema, md as ProjectScript, mf as ProviderInstanceConfigMap, mi as VcsOutputDecodeError, ml as PreviewRefreshInput, mn as WsSubscribeServerLifecycleRpc, mo as MAX_KEYBINDINGS_COUNT, mp as AuthTokenExchangeGrantType, mr as GitPullRequestRefInput, ms as TerminalWriteInput, mu as DEFAULT_RUNTIME_MODE, na as ServerProviderUpdateError, nc as DesktopSshHttpBaseUrlInputSchema, nd as OrchestrationThreadDetailSnapshot, nf as MODEL_SLUG_ALIASES_BY_PROVIDER, ni as SourceControlRepositoryError, nl as PreviewUrlResolution, nn as WsServerSignalProcessRpc, no as EditorId, np as AuthOrchestrationOperateScope, nr as ProjectWriteFileError, ns as TerminalEvent, nu as EnvironmentOperationForbiddenError, oa as ServerProviderUpdatedPayload, oc as DesktopSshPasswordPromptResolutionInputSchema, od as OrchestrationThreadStreamItem, of as ProviderOptionDescriptor, oi as VcsDiscoveryItem, ol as PreviewError, on as WsShellOpenInEditorRpc, oo as KeybindingCommand, op as AuthRelayReadScope, or as GitActionProgressKind, os as TerminalOpenInput, ou as EnvironmentRequestInvalidReason, pa as ServerSignalProcessResult, pc as PersistedSavedEnvironmentRecordSchema, pd as ProjectMetaUpdatedPayload, pf as ProviderInstanceConfig, pi as VcsListWorkspaceFilesResult, pl as PreviewOpenInput, pn as WsSubscribeServerConfigRpc, po as KeybindingsConfigError, pp as AuthTerminalOperateScope, pr as GitPreparePullRequestThreadResult, ps as TerminalThreadInput, pu as DEFAULT_PROVIDER_INTERACTION_MODE, qa as ServerSettingsPatch, qc as PreviewAutomationScrollInput, qd as ThreadTurnStartCommand, qf as AuthBrowserSessionResult, qi as ServerProviderAuth, ql as EnvironmentHttpBadRequestError, qn as ProjectListEntriesError, qo as ProviderStopSessionInput, qr as SourceControlProviderAuthStatus, qs as DesktopServerExposureStateSchema, qt as WsRpcGroup, qu as OrchestrationSession, ra as ServerProviderUpdateInput, rc as DesktopSshPasswordPromptCancelledResultSchema, rd as OrchestrationThreadGoal, rf as ModelCapabilities, ri as SourceControlRepositoryInfo, rl as DiscoveredLocalServer, rn as WsServerUpdateProviderRpc, ro as EditorLaunchStyle, rp as AuthOrchestrationReadScope, rr as ProjectWriteFileInput, rs as TerminalHistoryError, ru as EnvironmentOperationForbiddenReason, sa as ServerProviderVersionAdvisory, sc as DesktopThemeSchema, sd as PROVIDER_SEND_TURN_MAX_ATTACHMENTS, sf as ProviderOptionDescriptorType, si as VcsDriverCapabilities, sl as PreviewEvent, sn as WsSourceControlCloneRepositoryRpc, so as KeybindingRule, sp as AuthRelayWriteScope, sr as GitActionProgressPhase, ss as TerminalResizeInput, su as EnvironmentScopeRequiredError, ta as ServerProviderState, tc as DesktopSshHostSourceSchema, td as OrchestrationThreadActivityTone, tf as DEFAULT_MODEL_BY_PROVIDER, ti as SourceControlRepositoryCloneUrls, tl as PreviewAutomationWaitForInput, tn as WsServerRemoveKeybindingRpc, to as EDITORS, tp as AuthEnvironmentScopes, tr as ProjectSearchEntriesResult, ts as TerminalError, tu as EnvironmentMetadataHttpApi, ua as ServerRemoveKeybindingInput, uc as DesktopUpdateCheckResultSchema, ud as ProjectCreateCommand, uf as ProviderOptionSelections, ui as VcsFreshness, ul as PreviewListResult, un as WsSubscribeAuthAccessRpc, uo as KeybindingWhen, up as AuthRevokePairingLinkInput, ur as GitManagerError, us as TerminalSessionSnapshot, uu as ChatImageAttachment, va as ServerTraceDiagnosticsResult, vc as PreviewAnnotationPayloadSchema, vd as ProviderApprovalDecision, vf as ProviderInstanceId, vi as VcsRemote, vl as PreviewTabId, vn as WsTerminalAttachRpc, vo as MAX_WHEN_EXPRESSION_DEPTH, vp as ServerAuthBootstrapMethod, vr as GitRunStackedActionToastRunAction, vs as DesktopCloudAuthFetchInputSchema, vt as WsAssetsCreateUrlRpc, vu as OrchestrationActorKind, wa as ClaudeSettings, wc as PreviewAnnotationStyleChangeSchema, wd as ProviderUserInputAnswers, wf as ExecutionEnvironmentDescriptor, wi as ServerConfigKeybindingsUpdatedPayload, wl as AdvertisedEndpointReachability, wn as WsTerminalWriteRpc, wo as THREAD_JUMP_KEYBINDING_COMMANDS, wp as CheckpointRef, wr as VcsCreateWorktreeResult, ws as DesktopPreviewArtifactInputSchema, wt as WsGitRunStackedActionRpc, wu as OrchestrationCommandReceiptStatus, xa as ServerUpsertKeybindingInput, xc as PreviewAnnotationRegionTargetSchema, xd as ProviderRequestKind, xf as isProviderDriverKind, xi as VcsUnsupportedOperationError, xl as AdvertisedEndpointHostedHttpsCompatibility, xn as WsTerminalOpenRpc, xo as ResolvedKeybindingRule, xp as ServerAuthSessionMethod, xr as VcsCreateRefInput, xs as DesktopEnvironmentBootstrapSchema, xt as WsFilesystemBrowseRpc, xu as OrchestrationCheckpointStatus, ya as ServerTraceDiagnosticsSpanOccurrence, yc as PreviewAnnotationPointSchema, yd as ProviderApprovalPolicy, yf as ProviderInstanceRef, yi as VcsRepositoryDetectionError, yl as AdvertisedEndpoint, yn as WsTerminalClearRpc, yo as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, yp as ServerAuthDescriptor, yr as GitStackedAction, ys as DesktopCloudAuthFetchResultSchema, yt as WsCloudGetRelayClientStatusRpc, yu as OrchestrationAggregateKind, za as DEFAULT_UNIFIED_SETTINGS, zc as PreviewAutomationOperation, zd as ThreadProposedPlanUpsertedPayload, zf as AuthAccessStreamPairingLinkRemovedEvent, zi as ServerProcessDiagnosticsEntry, zl as EnvironmentAuthenticatedAuth, zn as AssetCreateUrlInput, zo as ProviderEvent, zp as ThreadId, zr as ChangeRequest, zs as DesktopPreviewScreenshotArtifactSchema, zt as WsPreviewOpenRpc, zu as OrchestrationProject } from "./shared.js";
2
- export { AdvertisedEndpoint, AdvertisedEndpointCompatibility, AdvertisedEndpointHostedHttpsCompatibility, AdvertisedEndpointProvider, AdvertisedEndpointProviderKind, AdvertisedEndpointReachability, AdvertisedEndpointSource, AdvertisedEndpointStatus, ApprovalRequestId, AssetAccessError, AssetCreateUrlInput, AssetCreateUrlResult, AssetResource, 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, BrowserNavigationTarget, 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, DesktopPreviewAnnotationThemeInputSchema, DesktopPreviewAnnotationThemeSchema, DesktopPreviewArtifactInputSchema, DesktopPreviewAutomationClickInputSchema, DesktopPreviewAutomationEvaluateInputSchema, DesktopPreviewAutomationPressInputSchema, DesktopPreviewAutomationScrollInputSchema, DesktopPreviewAutomationTypeInputSchema, DesktopPreviewAutomationWaitForInputSchema, DesktopPreviewConfigInputSchema, DesktopPreviewNavStatusSchema, DesktopPreviewNavigateInputSchema, DesktopPreviewPointerEventSchema, DesktopPreviewRecordingArtifactSchema, DesktopPreviewRecordingFrameSchema, DesktopPreviewRecordingSaveInputSchema, DesktopPreviewRegisterWebviewInputSchema, DesktopPreviewScreenshotArtifactSchema, DesktopPreviewTabIdSchema, DesktopPreviewTabInputSchema, DesktopPreviewTabStateSchema, DesktopPreviewWebviewConfigSchema, DesktopRuntimeArchSchema, DesktopRuntimeInfoSchema, DesktopServerExposureModeSchema, DesktopServerExposureStateSchema, DesktopSshBearerBootstrapInputSchema, DesktopSshBearerRequestInputSchema, DesktopSshEnvironmentBootstrapSchema, DesktopSshEnvironmentEnsureInputSchema, DesktopSshEnvironmentEnsureOptionsSchema, DesktopSshEnvironmentEnsureResultSchema, DesktopSshEnvironmentTargetSchema, DesktopSshHostSourceSchema, DesktopSshHttpBaseUrlInputSchema, DesktopSshPasswordPromptCancelledResultSchema, DesktopSshPasswordPromptCancelledType, DesktopSshPasswordPromptRequestSchema, DesktopSshPasswordPromptResolutionInputSchema, DesktopThemeSchema, DesktopUpdateActionResultSchema, DesktopUpdateChannelSchema, DesktopUpdateCheckResultSchema, DesktopUpdateStateSchema, DesktopUpdateStatusSchema, DiscoveredLocalServer, DiscoveredLocalServerList, 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, PickedElementPayloadSchema, PickedElementStackFrameSchema, PortSchema, PositiveInt, PreviewAnnotationElementTargetSchema, PreviewAnnotationPayloadSchema, PreviewAnnotationPointSchema, PreviewAnnotationRectSchema, PreviewAnnotationRegionTargetSchema, PreviewAnnotationScreenshotSchema, PreviewAnnotationStrokeTargetSchema, PreviewAnnotationStyleChangeSchema, PreviewAutomationActionEvent, PreviewAutomationClickInput, PreviewAutomationConsoleEntry, PreviewAutomationControlInterruptedError, PreviewAutomationElement, PreviewAutomationError, PreviewAutomationEvaluateInput, PreviewAutomationExecutionError, PreviewAutomationInvalidSelectorError, PreviewAutomationNavigateInput, PreviewAutomationNetworkEntry, PreviewAutomationNoFocusedOwnerError, PreviewAutomationOpenInput, PreviewAutomationOperation, PreviewAutomationOwner, PreviewAutomationPressInput, PreviewAutomationRecordingArtifact, PreviewAutomationRecordingStatus, PreviewAutomationRequest, PreviewAutomationResponse, PreviewAutomationResultTooLargeError, PreviewAutomationScrollInput, PreviewAutomationSnapshot, PreviewAutomationStatus, PreviewAutomationTabNotFoundError, PreviewAutomationTimeoutError, PreviewAutomationTypeInput, PreviewAutomationUnavailableError, PreviewAutomationUnsupportedClientError, PreviewAutomationWaitForInput, PreviewCloseInput, PreviewError, PreviewEvent, PreviewInvalidUrlError, PreviewListInput, PreviewListResult, PreviewNavStatus, PreviewNavigateInput, PreviewOpenInput, PreviewRefreshInput, PreviewReportStatusInput, PreviewSessionLookupError, PreviewSessionSnapshot, PreviewTabId, PreviewUrlResolution, ProjectCreateCommand, ProjectCreatedPayload, ProjectDeletedPayload, ProjectEntry, ProjectId, ProjectListEntriesError, ProjectListEntriesInput, ProjectListEntriesResult, ProjectMetaUpdatedPayload, ProjectReadFileError, ProjectReadFileInput, ProjectReadFileResult, 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, WsAssetsCreateUrlRpc, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsFilesystemBrowseRpc, WsGitPreparePullRequestThreadRpc, WsGitResolvePullRequestRpc, WsGitRunStackedActionRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetArchivedShellSnapshotRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsPreviewAutomationClearOwnerRpc, WsPreviewAutomationConnectRpc, WsPreviewAutomationReportOwnerRpc, WsPreviewAutomationRespondRpc, WsPreviewCloseRpc, WsPreviewListRpc, WsPreviewNavigateRpc, WsPreviewOpenRpc, WsPreviewRefreshRpc, WsPreviewReportStatusRpc, WsProjectsListEntriesRpc, WsProjectsReadFileRpc, WsProjectsSearchEntriesRpc, WsProjectsWriteFileRpc, WsReviewGetDiffPreviewRpc, WsRpcGroup, WsServerDiscoverSourceControlRpc, WsServerGetConfigRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetSettingsRpc, WsServerGetTraceDiagnosticsRpc, WsServerRefreshProvidersRpc, WsServerRemoveKeybindingRpc, WsServerSignalProcessRpc, WsServerUpdateProviderRpc, WsServerUpdateSettingsRpc, WsServerUpsertKeybindingRpc, WsShellOpenInEditorRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSubscribeAuthAccessRpc, WsSubscribeDiscoveredLocalServersRpc, WsSubscribePreviewEventsRpc, 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 ServerConfigStreamSettingsUpdatedEvent, $c as TerminalEvent, $d as AdvertisedEndpointProvider, $f as OrchestrationCheckpointFile, $h as HostPowerSource, $i as VcsStatusResult, $l as DesktopSshEnvironmentTargetSchema, $m as ScopedThreadSessionRef, $n as ResourceMonitorCommand, $o as BackgroundActivityProfileSelection, $p as ProviderSessionRuntimeStatus, $r as FilesystemBrowseFailure, $s as ExternalLauncherUnsupportedEditorError, $t as WsServerGetSettingsRpc, $u as PreviewAutomationPressInput, Aa as VcsListRemotesResult, Ac as ThreadTokenUsageSnapshot, Ad as PREVIEW_VIEWPORT_PRESET_IDS, Af as EnvironmentInternalError, Ag as TrimmedNonEmptyString, Ah as AuthRelayWriteScope, Ai as GitPreparePullRequestThreadResult, Al as DesktopPreviewNavStatusSchema, Am as DEFAULT_TEXT_GENERATION_MODEL, An as WsTerminalResizeRpc, Ao as ServerProviderUpdatedPayload, Ap as OrchestrationSubscribeThreadInput, Ar as ReviewDiffPreviewInput, As as OpenCodeSettings, At as WsOrchestrationSubscribeThreadRpc, Au as PREVIEW_AUTOMATION_V1_OPERATIONS, Ba as VcsProcessTimeoutError, Bc as ProviderSessionStartInput, Bd as PreviewRefreshInput, Bf as EnvironmentScopeRequiredError, Bh as EnvironmentAuthorizationError, Bi as VcsCreateRefResult, Bl as DesktopPreviewTabInputSchema, Bm as ProviderOptionSelectionValue, Bn as WsVcsSwitchRefRpc, Bo as ServerSignalProcessResult, Bp as ProjectCreateCommand, Br as AssetProjectFaviconNotFoundError, Bs as SourceControlWritingStyleMode, Bt as WsPreviewResizeRpc, Bu as PreviewAutomationError, Ca as SourceControlRepositoryVisibility, Cc as CanonicalRequestType, Cd as PreviewUrlResolution, Cf as EnvironmentHttpApi, Cg as ProviderItemId, Ch as AuthEnvironmentScope, Ci as GitActionProgressKind, Cl as DesktopPreviewAutomationEvaluateInputSchema, Cm as ThreadUnarchivedPayload, Cn as WsSubscribeTerminalEventsRpc, Co as ServerProviderSlashCommand, Cp as OrchestrationRpcSchemas, Cr as ResourceTelemetryProcessIdentity, Cs as MAX_GLASS_OPACITY, Ct as WsGitResolvePullRequestRpc, Cu as PreviewAnnotationRectSchema, Da as VcsError, Dc as ProviderRuntimeTurnStatus, Dd as PREVIEW_VIEWPORT_MAX_AREA, Df as EnvironmentHttpForbiddenError, Dg as RuntimeSessionId, Dh as AuthPairingCredentialResult, Di as GitManagerError, Dl as DesktopPreviewAutomationWaitForInputSchema, Dm as BooleanProviderOptionDescriptor, Dn as WsTerminalClearRpc, Do as ServerProviderUpdateInput, Dp as OrchestrationShellStreamEvent, Dr as ResourceTelemetrySourceHealth, Ds as MIN_SIDEBAR_AUTO_SETTLE_AFTER_DAYS, Dt as WsOrchestrationGetFullThreadDiffRpc, Du as PreviewAnnotationStyleChangeSchema, Ea as VcsDriverKind, Ec as ProviderRuntimeEventV2, Ed as FILL_PREVIEW_VIEWPORT, Ef as EnvironmentHttpConflictError, Eg as RuntimeRequestId, Eh as AuthOrchestrationReadScope, Ei as GitCommandError, El as DesktopPreviewAutomationTypeInputSchema, Em as TurnCountRange, En as WsTerminalAttachRpc, Eo as ServerProviderUpdateError, Ep as OrchestrationShellSnapshot, Er as ResourceTelemetrySnapshot, Es as MIN_GLASS_OPACITY, Et as WsOrchestrationGetArchivedShellSnapshotRpc, Eu as PreviewAnnotationStrokeTargetSchema, Fa as VcsProcessMissingExitCodeError, Fc as ProviderInterruptTurnInput, Fd as PreviewListInput, Ff as EnvironmentOrchestrationHttpApi, Fh as AuthStandardClientScopes, Fi as GitRunStackedActionResult, Fl as DesktopPreviewRecordingSaveInputSchema, Fm as PROVIDER_DISPLAY_NAMES, Fn as WsVcsInitRpc, Fo as ServerRemoveKeybindingResult, Fp as OrchestrationThreadShell, Fr as AssetAttachmentNotFoundError, Fs as SidebarAutoSettleAfterDays, Ft as WsPreviewListRpc, Fu as PreviewAutomationColorScheme, Ga as ServerConfig, Gc as TerminalAttachStreamEvent, Gd as PreviewSessionSnapshot, Gf as CorrelationId, Gh as BackgroundBooleanState, Gi as VcsListRefsResult, Gl as DesktopServerExposureModeSchema, Gm as ExecutionEnvironmentDescriptor, Gn as DesktopHostTelemetrySnapshot, Go as ServerTraceDiagnosticsResult, Gp as ProjectScriptIcon, Gr as AssetWorkspaceAssetNotFoundError, Gs as EDITORS, Gt as WsReviewGetDiffPreviewRpc, Gu as PreviewAutomationHostIdentity, Ha as VcsRepositoryDetectionError, Hc as ProviderTurnStartResult, Hd as PreviewReportStatusInput, Hf as ChatAttachment, Hh as ServerAuthDescriptor, Hi as VcsCreateWorktreeResult, Hl as DesktopPreviewWebviewConfigSchema, Hm as SelectProviderOptionDescriptor, Hn as DesktopElectronProcessType, Ho as ServerTraceDiagnosticsFailureSummary, Hp as ProjectDeletedPayload, Hr as AssetResource, Hs as ThreadEnvMode, Ht as WsProjectsReadFileRpc, Hu as PreviewAutomationExecutionError, Ia as VcsProcessOutputLimitError, Ic as ProviderRespondToRequestInput, Id as PreviewListResult, If as EnvironmentRequestInvalidError, Ih as AuthTerminalOperateScope, Ii as GitRunStackedActionToastRunAction, Il as DesktopPreviewRegisterWebviewInputSchema, Im as ProviderOptionChoice, In as WsVcsListRefsRpc, Io as ServerSelfUpdateError, Ip as OrchestrationThreadStreamItem, Ir as AssetCreateUrlInput, Is as SidebarProjectGroupingMode, It as WsPreviewNavigateRpc, Iu as PreviewAutomationConnectionId, Ja as ServerConfigProviderStatusesPayload, Jc as TerminalCwdError, Jd as PreviewViewportSetting, Jf as DispatchResult, Jh as ClientActivityClientId, Ji as VcsRef, Jl as DesktopSshBearerRequestInputSchema, Jm as ExecutionEnvironmentPlatformOs, Jn as DesktopTelemetrySetHostPowerIntervals, Jo as ServerUpsertKeybindingInput, Jp as ProviderApprovalDecision, Jr as AssetWorkspacePathValidationError, Js as ExternalLauncherBrowserSpawnError, Jt as WsServerGetBackgroundPolicyRpc, Ju as PreviewAutomationNavigateInput, Ka as ServerConfigIssue, Kc as TerminalClearInput, Kd as PreviewTabId, Kf as DEFAULT_PROVIDER_INTERACTION_MODE, Kh as BackgroundPolicySnapshot, Ki as VcsPullInput, Kl as DesktopServerExposureStateSchema, Km as ExecutionEnvironmentPlatform, Kn as DesktopTelemetryControlMessage, Ko as ServerTraceDiagnosticsSpanOccurrence, Kp as ProjectionPendingApprovalDecision, Kr as AssetWorkspaceContextNotFoundError, Ks as EditorId, Kt as WsRpcGroup, Ku as PreviewAutomationInvalidSelectorError, La as VcsProcessOutputReadError, Lc as ProviderRespondToUserInputInput, Ld as PreviewNavStatus, Lf as EnvironmentRequestInvalidReason, Lh as AuthTokenExchangeGrantType, Li as GitStackedAction, Ll as DesktopPreviewScreenshotArtifactSchema, Lm as ProviderOptionDescriptor, Ln as WsVcsPullRpc, Lo as ServerSelfUpdateInput, Lp as PROVIDER_SEND_TURN_MAX_ATTACHMENTS, Lr as AssetCreateUrlResult, Ls as SidebarProjectSortOrder, Lt as WsPreviewOpenRpc, Lu as PreviewAutomationConsoleEntry, Ma as VcsOutputDecodeError, Mc as UserInputQuestion, Md as PreviewError, Mf as EnvironmentMetadataHttpApi, Mg as TurnId, Mh as AuthRevokeClientSessionInput, Mi as GitPullRequestRefInput, Ml as DesktopPreviewPointerEventSchema, Mm as MODEL_SLUG_ALIASES_BY_PROVIDER, Mn as WsTerminalWriteRpc, Mo as ServerProviderVersionAdvisoryStatus, Mp as OrchestrationThreadActivity, Mr as ReviewDiffPreviewSource, Ms as ServerSettingsError, Mt as WsPreviewAutomationFocusHostRpc, Mu as PreviewAutomationClickInput, Na as VcsProcessExitError, Nc as isToolLifecycleItemType, Nd as PreviewEvent, Nf as EnvironmentOperationForbiddenError, Nh as AuthRevokePairingLinkInput, Ni as GitResolvePullRequestResult, Nl as DesktopPreviewRecordingArtifactSchema, Nm as ModelCapabilities, Nn as WsVcsCreateRefRpc, No as ServerProviders, Np as OrchestrationThreadActivityTone, Nr as ReviewDiffPreviewSourceKind, Ns as ServerSettingsOperation, Nt as WsPreviewAutomationRespondRpc, Nu as PreviewAutomationClientDisconnectedError, Oa as VcsFreshness, Oc as RuntimeEventRaw, Od as PREVIEW_VIEWPORT_MAX_DIMENSION, Of as EnvironmentHttpInternalServerError, Og as RuntimeTaskId, Oh as AuthPairingLink, Oi as GitManagerServiceError, Ol as DesktopPreviewColorSchemeSchema, Om as DEFAULT_MODEL, On as WsTerminalCloseRpc, Oo as ServerProviderUpdateState, Op as OrchestrationShellStreamItem, Or as ResourceTelemetrySourceStatus, Os as MIN_SIDEBAR_THREAD_PREVIEW_COUNT, Ot as WsOrchestrationGetTurnDiffRpc, Ou as BrowserNavigationTarget, Pa as VcsProcessExitFailureKind, Pc as ProviderEvent, Pd as PreviewInvalidUrlError, Pf as EnvironmentOperationForbiddenReason, Ph as AuthSessionState, Pi as GitRunStackedActionInput, Pl as DesktopPreviewRecordingFrameSchema, Pm as PREFERRED_DEFAULT_CODEX_MODELS, Pn as WsVcsCreateWorktreeRpc, Po as ServerRemoveKeybindingInput, Pp as OrchestrationThreadDetailSnapshot, Pr as AssetAccessError, Ps as ServerSettingsPatch, Pt as WsPreviewCloseRpc, Pu as PreviewAutomationClientId, Qa as ServerConfigStreamProviderStatusesEvent, Qc as TerminalError, Qd as AdvertisedEndpointHostedHttpsCompatibility, Qf as OrchestrationAggregateKind, Qh as HostPowerSnapshot, Qi as VcsStatusRemoteResult, Ql as DesktopSshEnvironmentEnsureResultSchema, Qm as ScopedThreadRef, Qn as ResourceMonitorCapabilities, Qo as BackgroundActivityProfile, Qp as ProviderSandboxMode, Qr as FilesystemBrowseError, Qs as ExternalLauncherUnknownEditorError, Qt as WsServerGetResourceTelemetryHistoryRpc, Qu as PreviewAutomationOperation, Ra as VcsProcessSpawnError, Rc as ProviderSendTurnInput, Rd as PreviewNavigateInput, Rf as EnvironmentResourceNotFoundError, Rh as AuthTokenExchangeRequest, Ri as TextGenerationError, Rl as DesktopPreviewSetColorSchemeInputSchema, Rm as ProviderOptionDescriptorType, Rn as WsVcsRefreshStatusRpc, Ro as ServerSelfUpdateResult, Rp as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, Rr as AssetPreviewTypeValidationError, Rs as SidebarThreadPreviewCount, Rt as WsPreviewRefreshRpc, Ru as PreviewAutomationControlInterruptedError, Sa as SourceControlRepositoryLookupInput, Sc as CanonicalItemType, Sd as PreviewAutomationWaitForInput, Sf as EnvironmentConnectHttpApi, Sg as ProjectId, Sh as AuthEnvironmentBootstrapTokenType, Si as GitActionProgressEvent, Sl as DesktopPreviewAutomationClickInputSchema, Sm as ThreadTurnStartRequestedPayload, Sn as WsSubscribeServerLifecycleRpc, So as ServerProviderSkill, Sp as OrchestrationReadModel, Sr as ResourceTelemetryProcessCategory, Ss as GrokSettings, St as WsGitPreparePullRequestThreadRpc, Su as PreviewAnnotationPointSchema, Ta as VcsDriverCapabilities, Tc as ProviderRuntimeEvent, Td as DiscoveredLocalServerList, Tf as EnvironmentHttpCommonError, Tg as RuntimeItemId, Th as AuthOrchestrationOperateScope, Ti as GitActionProgressStream, Tl as DesktopPreviewAutomationScrollInputSchema, Tm as ThreadUnsnoozedPayload, Tn as WsSubscribeVcsStatusRpc, To as ServerProviderState, Tp as OrchestrationSessionStatus, Tr as ResourceTelemetryRetryResult, Ts as MAX_SIDEBAR_THREAD_PREVIEW_COUNT, Tt as WsOrchestrationDispatchCommandRpc, Tu as PreviewAnnotationScreenshotSchema, Ua as VcsRepositoryIdentity, Uc as DEFAULT_TERMINAL_ID, Ud as PreviewResizeInput, Uf as ChatImageAttachment, Uh as ServerAuthPolicy, Ui as VcsInitInput, Ul as DesktopRuntimeArchSchema, Um as EnvironmentConnectionState, Un as DesktopHostTelemetryHello, Uo as ServerTraceDiagnosticsLogEvent, Up as ProjectMetaUpdatedPayload, Ur as AssetSigningKeyLoadError, Us as TimestampFormat, Ut as WsProjectsSearchEntriesRpc, Uu as PreviewAutomationHost, Va as VcsRemote, Vc as ProviderStopSessionInput, Vd as PreviewRenderedViewportSize, Vf as AssistantDeliveryMode, Vh as ServerAuthBootstrapMethod, Vi as VcsCreateWorktreeInput, Vl as DesktopPreviewTabStateSchema, Vm as ProviderOptionSelections, Vn as DesktopElectronProcessMetric, Vo as ServerTraceDiagnosticsErrorKind, Vp as ProjectCreatedPayload, Vr as AssetProjectFaviconResolutionError, Vs as SourceControlWritingStyleSettings, Vt as WsProjectsListEntriesRpc, Vu as PreviewAutomationEvaluateInput, Wa as VcsUnsupportedOperationError, Wc as TerminalAttachInput, Wd as PreviewSessionLookupError, Wf as ClientOrchestrationCommand, Wh as ServerAuthSessionMethod, Wi as VcsListRefsInput, Wl as DesktopRuntimeInfoSchema, Wm as ExecutionEnvironmentCapabilities, Wn as DesktopHostTelemetryMessage, Wo as ServerTraceDiagnosticsRecentFailure, Wp as ProjectScript, Wr as AssetWorkspaceAssetInspectionError, Ws as makeProviderSettingsSchema, Wt as WsProjectsWriteFileRpc, Wu as PreviewAutomationHostFocus, Xa as ServerConfigStreamEvent, Xc as TerminalCwdNotFoundError, Xd as AdvertisedEndpoint, Xf as ORCHESTRATION_WS_METHODS, Xh as ClientActivityReportInput, Xi as VcsStatusInput, Xl as DesktopSshEnvironmentEnsureInputSchema, Xm as RepositoryIdentityLocator, Xn as ResourceAttributionEntry, Xo as isProviderAvailable, Xp as ProviderInteractionMode, Xr as AssetWorkspaceRootNormalizationError, Xs as ExternalLauncherEditorSpawnError, Xt as WsServerGetProcessDiagnosticsRpc, Xu as PreviewAutomationNoAvailableHostError, Ya as ServerConfigSettingsUpdatedPayload, Yc as TerminalCwdNotDirectoryError, Yd as PreviewViewportSize, Yf as ModelSelection, Yh as ClientActivityLease, Yi as VcsRemoveWorktreeInput, Yl as DesktopSshEnvironmentBootstrapSchema, Ym as RepositoryIdentity, Yn as RESOURCE_MONITOR_PROTOCOL_VERSION, Yo as ServerUpsertKeybindingResult, Yp as ProviderApprovalPolicy, Yr as AssetWorkspaceResolutionError, Ys as ExternalLauncherCommandNotFoundError, Yt as WsServerGetConfigRpc, Yu as PreviewAutomationNetworkEntry, Za as ServerConfigStreamKeybindingsUpdatedEvent, Zc as TerminalCwdStatError, Zd as AdvertisedEndpointCompatibility, Zf as OrchestrationActorKind, Zh as ClientKind, Zi as VcsStatusLocalResult, Zl as DesktopSshEnvironmentEnsureOptionsSchema, Zm as ScopedProjectRef, Zn as ResourceAttributionSnapshot, Zo as BackgroundActivityOverrides, Zp as ProviderRequestKind, Zr as FilesystemBrowseEntry, Zs as ExternalLauncherError, Zt as WsServerGetProcessResourceHistoryRpc, Zu as PreviewAutomationOpenInput, _a as SourceControlPublishRepositoryResult, _c as ResolvedKeybindingRule, _d as PreviewAutomationTargetNotEditableError, _f as EnvironmentAuthenticatedPrincipal, _g as IsoDateTime, _h as AuthClientMetadata, _i as ProjectWriteFileResult, _l as DesktopDiscoveredSshHostSchema, _m as ThreadSnoozedPayload, _n as WsSubscribeBackgroundPolicyRpc, _o as ServerProviderAuth, _p as OrchestrationMessageRole, _r as ResourceTelemetryHistory, _s as DEFAULT_SIDEBAR_THREAD_SORT_ORDER, _t as WS_METHODS, _u as PickFolderOptionsSchema, aa as SourceControlCloneProtocol, ac as KeybindingValue, ad as PreviewAutomationResizeInput, af as RelayClientInstallFailedError, ag as ProviderInstanceEnvironmentVariable, ah as AuthAccessStreamClientUpsertedEvent, ai as ProjectFileOperation, al as TerminalResizeInput, am as ThreadCheckpointRevertRequestedPayload, an as WsServerReportHostPowerStateRpc, ao as ServerLifecycleStreamWelcomeEvent, ap as OrchestrationEvent, ar as ResourceMonitorHistoryChunkEvent, as as CursorSettings, au as DesktopSshPasswordPromptResolutionInputSchema, ba as SourceControlRepositoryError, bc as THREAD_JUMP_KEYBINDING_COMMANDS, bd as PreviewAutomationUnavailableError, bf as EnvironmentCloudPreferencesRequest, bg as PortSchema, bh as AuthClientSession, bi as T3_PROJECT_FILE_NAME, bl as DesktopPreviewAnnotationThemeSchema, bm as ThreadTurnInterruptRequestedPayload, bn as WsSubscribeResourceTelemetryRpc, bo as ServerProviderContinuation, bp as OrchestrationProposedPlan, br as ResourceTelemetryIoSemantics, bs as EnvironmentIdentificationMode, bt as WsCloudInstallRelayClientRpc, bu as PreviewAnnotationElementTargetSchema, ca as SourceControlDiscoveryResult, cc as KeybindingsConfig, cd as PreviewAutomationResultTooLargeError, cf as RelayClientInstallProgressStageSchema, cg as ProviderInstanceRef, ch as AuthAccessStreamPairingLinkRemovedEvent, ci as ProjectListEntriesResult, cl as TerminalSessionSnapshot, cm as ThreadInteractionModeSetPayload, cn as WsServerUpdateProviderRpc, co as ServerProcessDiagnosticsEntry, cp as OrchestrationGetFullThreadDiffError, cr as ResourceMonitorSampleNowCommand, cs as DEFAULT_CLIENT_SETTINGS, cu as DesktopUpdateChannelSchema, da as SourceControlProviderAuthStatus, dc as MAX_KEYBINDING_VALUE_LENGTH, dd as PreviewAutomationSetColorSchemeResult, df as AuthOtherClientSessionsRevokeResult, dg as ApprovalRequestId, dh as AuthAccessTokenResult, di as ProjectReadFileResult, dl as TerminalThreadInput, dm as ThreadProposedPlanUpsertedPayload, dn as WsServerUpsertKeybindingRpc, do as ServerProcessResourceHistoryFailureTag, dp as OrchestrationGetSnapshotError, dr as ResourceMonitorSetStreamingCommand, ds as DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL, du as DesktopUpdateStateSchema, ea as VcsStatusStreamEvent, ec as LaunchEditorInput, ed as PreviewAutomationRecordingArtifact, ef as AdvertisedEndpointProviderKind, eg as HostPowerThermalState, eh as ServerSelfUpdateCapability, ei as FilesystemBrowseInput, el as TerminalHistoryError, em as ProviderUserInputAnswers, en as WsServerGetTraceDiagnosticsRpc, eo as ServerConfigStreamSnapshotEvent, ep as OrchestrationCheckpointStatus, er as ResourceMonitorConfigureCommand, es as BackgroundActivitySettings, eu as DesktopSshHostSourceSchema, fa as SourceControlProviderDiscoveryItem, fc as MAX_KEYBINDING_WHEN_LENGTH, fd as PreviewAutomationSnapshot, ff as AuthPairingLinkRevokeResult, fg as AuthSessionId, fh as AuthAccessTokenType, fi as ProjectSearchEntriesError, fl as TerminalWriteError, fm as ThreadRevertedPayload, fn as WsShellOpenInEditorRpc, fo as ServerProcessResourceHistoryInput, fp as OrchestrationGetTurnDiffError, fr as ResourceMonitorShutdownCommand, fs as DEFAULT_SERVER_SETTINGS, fu as DesktopUpdateStatusSchema, ga as SourceControlPublishRepositoryInput, gc as MODEL_PICKER_KEYBINDING_COMMANDS, gd as PreviewAutomationTabTargetInput, gf as EnvironmentAuthenticatedAuth, gg as EventId, gh as AuthBrowserSessionResult, gi as ProjectWriteFileInput, gl as DesktopAppStageLabelSchema, gm as ThreadSettledPayload, gn as WsSubscribeAuthAccessRpc, go as ServerProvider, gp as OrchestrationMessage, gr as ResourceTelemetryHealth, gs as DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, gu as PersistedSavedEnvironmentRecordSchema, ha as SourceControlProviderKind, hc as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, hd as PreviewAutomationTabNotFoundError, hf as EnvironmentAuthInvalidReason, hg as EnvironmentId, hh as AuthBrowserSessionRequest, hi as ProjectWriteFileError, hl as DesktopAppBrandingSchema, hm as ThreadSessionStopRequestedPayload, hn as WsSourceControlPublishRepositoryRpc, ho as ServerProcessSignal, hp as OrchestrationLatestTurn, hr as ResourceTelemetryGroups, hs as DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, hu as PRIMARY_LOCAL_ENVIRONMENT_ID, ia as ChangeRequestState, ic as KeybindingShortcut, id as PreviewAutomationRequestQueueClosedError, if as DesktopBackendBootstrap, ig as ProviderInstanceEnvironment, ih as AuthAccessStreamClientRemovedEvent, ii as ProjectFileFailure, il as TerminalResizeError, im as ThreadArchivedPayload, in as WsServerReportClientActivityRpc, io as ServerLifecycleStreamReadyEvent, ip as OrchestrationDispatchCommandError, ir as ResourceMonitorHelloEvent, is as CodexSettings, iu as DesktopSshPasswordPromptRequestSchema, ja as VcsListWorkspaceFilesResult, jc as ToolLifecycleItemType, jd as PreviewCloseInput, jf as EnvironmentInternalErrorReason, jg as TrimmedString, jh as AuthReviewWriteScope, ji as GitPullRequestMaterializationError, jl as DesktopPreviewNavigateInputSchema, jm as DEFAULT_TEXT_GENERATION_MODEL_BY_PROVIDER, jn as WsTerminalRestartRpc, jo as ServerProviderVersionAdvisory, jp as OrchestrationThread, jr as ReviewDiffPreviewResult, js as ServerSettings, jt as WsPreviewAutomationConnectRpc, ju as PreviewAutomationActionEvent, ka as VcsFreshnessSource, kc as TOOL_LIFECYCLE_ITEM_TYPES, kd as PREVIEW_VIEWPORT_MIN_DIMENSION, kf as EnvironmentHttpUnauthorizedError, kg as ThreadId, kh as AuthRelayReadScope, ki as GitPreparePullRequestThreadInput, kl as DesktopPreviewConfigInputSchema, km as DEFAULT_MODEL_BY_PROVIDER, kn as WsTerminalOpenRpc, ko as ServerProviderUpdateStatus, kp as OrchestrationSubscribeShellInput, kr as ReviewDiffPreviewError, ks as ObservabilitySettings, kt as WsOrchestrationSubscribeShellRpc, ku as PREVIEW_AUTOMATION_OPERATIONS, la as SourceControlDiscoveryStatus, lc as KeybindingsConfigError, ld as PreviewAutomationScrollInput, lf as RelayClientStatusSchema, lg as defaultInstanceIdForDriver, lh as AuthAccessStreamPairingLinkUpsertedEvent, li as ProjectReadFileError, ll as TerminalSessionStatus, lm as ThreadMessageSentPayload, ln as WsServerUpdateServerRpc, lo as ServerProcessDiagnosticsResult, lp as OrchestrationGetFullThreadDiffInput, lr as ResourceMonitorSetExternalProcessesCommand, ls as DEFAULT_ENVIRONMENT_IDENTIFICATION_MODE, lu as DesktopUpdateCheckResultSchema, ma as SourceControlProviderInfo, mc as MAX_WHEN_EXPRESSION_DEPTH, md as PreviewAutomationStreamEvent, mf as EnvironmentAuthInvalidError, mg as CommandId, mh as AuthAdministrativeScopes, mi as ProjectSearchEntriesResult, ml as ContextMenuItemSchema, mm as ThreadSessionSetPayload, mn as WsSourceControlLookupRepositoryRpc, mo as ServerProcessResourceHistorySummary, mp as OrchestrationGetTurnDiffResult, mr as ResourceTelemetryAggregate, ms as DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, mu as DesktopWslStateSchema, na as VcsSwitchRefResult, nc as KeybindingCommand, nd as PreviewAutomationRemoteUnavailableError, nf as AdvertisedEndpointSource, ng as ProviderInstanceConfig, nh as AuthAccessReadScope, ni as ProjectEntriesFailure, nl as TerminalNotRunningError, nm as ThreadActivityAppendedPayload, nn as WsServerRefreshProvidersRpc, no as ServerLifecycleReadyPayload, np as OrchestrationCommand, nr as ResourceMonitorEvent, ns as ClientSettingsPatch, nu as DesktopSshPasswordPromptCancelledResultSchema, oa as SourceControlCloneRepositoryInput, oc as KeybindingWhen, od as PreviewAutomationResizeResult, of as RelayClientInstallFailureReasonSchema, og as ProviderInstanceEnvironmentVariableName, oh as AuthAccessStreamError, oi as ProjectListEntriesError, ol as TerminalRestartInput, om as ThreadCreatedPayload, on as WsServerRetryResourceTelemetryRpc, oo as ServerLifecycleWelcomePayload, op as OrchestrationEventMetadata, or as ResourceMonitorProcessSample, os as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, ou as DesktopThemeSchema, pa as SourceControlProviderError, pc as MAX_SCRIPT_ID_LENGTH, pd as PreviewAutomationStatus, pf as EnvironmentAuthHttpApi, pg as CheckpointRef, ph as AuthAccessWriteScope, pi as ProjectSearchEntriesInput, pl as TerminalWriteInput, pm as ThreadRuntimeModeSetPayload, pn as WsSourceControlCloneRepositoryRpc, po as ServerProcessResourceHistoryResult, pp as OrchestrationGetTurnDiffInput, pr as ResourceMonitorSnapshotEvent, ps as DEFAULT_SIDEBAR_AUTO_SETTLE_AFTER_DAYS, pu as DesktopWslDistroSchema, qa as ServerConfigKeybindingsUpdatedPayload, qc as TerminalCloseInput, qd as PreviewViewportPresetId, qf as DEFAULT_RUNTIME_MODE, qh as BackgroundScope, qi as VcsPullResult, ql as DesktopSshBearerBootstrapInputSchema, qm as ExecutionEnvironmentPlatformArch, qn as DesktopTelemetrySetDiagnosticsDemand, qo as ServerTraceDiagnosticsSpanSummary, qp as ProjectionPendingApprovalStatus, qr as AssetWorkspaceContextResolutionError, qs as EditorLaunchStyle, qt as WsServerDiscoverSourceControlRpc, qu as PreviewAutomationMalformedResponseError, ra as ChangeRequest, rc as KeybindingRule, rd as PreviewAutomationRequest, rf as AdvertisedEndpointStatus, rg as ProviderInstanceConfigMap, rh as AuthAccessSnapshot, ri as ProjectEntry, rl as TerminalOpenInput, rm as ThreadApprovalResponseRequestedPayload, rn as WsServerRemoveKeybindingRpc, ro as ServerLifecycleStreamEvent, rp as OrchestrationCommandReceiptStatus, rr as ResourceMonitorExternalProcess, rs as ClientSettingsSchema, ru as DesktopSshPasswordPromptCancelledType, sa as SourceControlCloneRepositoryResult, sc as KeybindingWhenNode, sd as PreviewAutomationResponse, sf as RelayClientInstallProgressEventSchema, sg as ProviderInstanceId, sh as AuthAccessStreamEvent, si as ProjectListEntriesInput, sl as TerminalSessionLookupError, sm as ThreadDeletedPayload, sn as WsServerSignalProcessRpc, so as ServerObservability, sp as OrchestrationEventType, sr as ResourceMonitorReadHistoryCommand, ss as DEFAULT_BACKGROUND_ACTIVITY_PROFILE, su as DesktopUpdateActionResultSchema, ta as VcsSwitchRefInput, tc as isExternalLauncherError, td as PreviewAutomationRecordingStatus, tf as AdvertisedEndpointReachability, tg as ProviderDriverKind, th as ServerSelfUpdateMethod, ti as FilesystemBrowseResult, tl as TerminalMetadataStreamEvent, tm as RuntimeMode, tn as WsServerProbeRpc, to as ServerConfigUpdatedPayload, tp as OrchestrationCheckpointSummary, tr as ResourceMonitorErrorEvent, ts as ClaudeSettings, tu as DesktopSshHttpBaseUrlInputSchema, ua as SourceControlProviderAuth, uc as MAX_KEYBINDINGS_COUNT, ud as PreviewAutomationSetColorSchemeInput, uf as AuthClientSessionRevokeResult, ug as isProviderDriverKind, uh as AuthAccessStreamSnapshotEvent, ui as ProjectReadFileInput, ul as TerminalSummary, um as ThreadMetaUpdatedPayload, un as WsServerUpdateSettingsRpc, uo as ServerProcessResourceHistoryBucket, up as OrchestrationGetFullThreadDiffResult, ur as ResourceMonitorSetSampleIntervalCommand, us as DEFAULT_GLASS_OPACITY, uu as DesktopUpdateReleaseNoteSchema, va as SourceControlPublishStatus, vc as ResolvedKeybindingsConfig, vd as PreviewAutomationTimeoutError, vf as EnvironmentCloudEndpointUnavailableError, vg as MessageId, vh as AuthClientMetadataDeviceType, vi as T3ProjectFile, vl as DesktopEnvironmentBootstrapSchema, vm as ThreadTurnDiff, vn as WsSubscribeDiscoveredLocalServersRpc, vo as ServerProviderAuthStatus, vp as OrchestrationProject, vr as ResourceTelemetryHistoryBucket, vs as DEFAULT_TIMESTAMP_FORMAT, vt as WsAssetsCreateUrlRpc, vu as PickedElementPayloadSchema, wa as VcsDiscoveryItem, wc as ItemLifecyclePayload, wd as DiscoveredLocalServer, wf as EnvironmentHttpBadRequestError, wg as RpcClientId, wh as AuthEnvironmentScopes, wi as GitActionProgressPhase, wl as DesktopPreviewAutomationPressInputSchema, wm as ThreadUnsettledPayload, wn as WsSubscribeTerminalMetadataRpc, wo as ServerProviderSlashCommandInput, wp as OrchestrationSession, wr as ResourceTelemetryProcessSummary, ws as MAX_SIDEBAR_AUTO_SETTLE_AFTER_DAYS, wt as WsGitRunStackedActionRpc, wu as PreviewAnnotationRegionTargetSchema, xa as SourceControlRepositoryInfo, xc as THREAD_KEYBINDING_COMMANDS, xd as PreviewAutomationUnsupportedClientError, xf as EnvironmentCloudRelayConfigResult, xg as PositiveInt, xh as AuthCreatePairingCredentialInput, xi as T3_PROJECT_FILE_SCHEMA_URL, xl as DesktopPreviewArtifactInputSchema, xm as ThreadTurnStartCommand, xn as WsSubscribeServerConfigRpc, xo as ServerProviderModel, xp as OrchestrationProposedPlanId, xr as ResourceTelemetryProcess, xs as GlassOpacity, xt as WsFilesystemBrowseRpc, xu as PreviewAnnotationPayloadSchema, ya as SourceControlRepositoryCloneUrls, yc as SCRIPT_RUN_COMMAND_PATTERN, yd as PreviewAutomationTypeInput, yf as EnvironmentCloudLinkStateResult, yg as NonNegativeInt, yh as AuthClientPresentationMetadata, yi as T3ProjectFileScript, yl as DesktopPreviewAnnotationThemeInputSchema, ym as ThreadTurnDiffCompletedPayload, yn as WsSubscribePreviewEventsRpc, yo as ServerProviderAvailability, yp as OrchestrationProjectShell, yr as ResourceTelemetryHistoryInput, ys as DEFAULT_UNIFIED_SETTINGS, yt as WsCloudGetRelayClientStatusRpc, yu as PickedElementStackFrameSchema, za as VcsProcessStdinWriteError, zc as ProviderSession, zd as PreviewOpenInput, zf as EnvironmentResourceNotFoundReason, zh as AuthWebSocketTicketResult, zi as VcsCreateRefInput, zl as DesktopPreviewTabIdSchema, zm as ProviderOptionSelection, zn as WsVcsRemoveWorktreeRpc, zo as ServerSignalProcessInput, zp as PROVIDER_SEND_TURN_MAX_INPUT_CHARS, zr as AssetProjectFaviconInspectionError, zs as SidebarThreadSortOrder, zt as WsPreviewReportStatusRpc, zu as PreviewAutomationElement } from "./shared.js";
2
+ export { AdvertisedEndpoint, AdvertisedEndpointCompatibility, AdvertisedEndpointHostedHttpsCompatibility, AdvertisedEndpointProvider, AdvertisedEndpointProviderKind, AdvertisedEndpointReachability, AdvertisedEndpointSource, AdvertisedEndpointStatus, ApprovalRequestId, AssetAccessError, AssetAttachmentNotFoundError, AssetCreateUrlInput, AssetCreateUrlResult, AssetPreviewTypeValidationError, AssetProjectFaviconInspectionError, AssetProjectFaviconNotFoundError, AssetProjectFaviconResolutionError, AssetResource, AssetSigningKeyLoadError, AssetWorkspaceAssetInspectionError, AssetWorkspaceAssetNotFoundError, AssetWorkspaceContextNotFoundError, AssetWorkspaceContextResolutionError, AssetWorkspacePathValidationError, AssetWorkspaceResolutionError, AssetWorkspaceRootNormalizationError, 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, BackgroundActivityOverrides, BackgroundActivityProfile, BackgroundActivityProfileSelection, BackgroundActivitySettings, BackgroundBooleanState, BackgroundPolicySnapshot, BackgroundScope, BooleanProviderOptionDescriptor, BrowserNavigationTarget, CanonicalItemType, CanonicalRequestType, ChangeRequest, ChangeRequestState, ChatAttachment, ChatImageAttachment, CheckpointRef, ClaudeSettings, ClientActivityClientId, ClientActivityLease, ClientActivityReportInput, ClientKind, ClientOrchestrationCommand, ClientSettingsPatch, ClientSettingsSchema, CodexSettings, CommandId, ContextMenuItemSchema, CorrelationId, CursorSettings, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, DEFAULT_BACKGROUND_ACTIVITY_PROFILE, DEFAULT_CLIENT_SETTINGS, DEFAULT_ENVIRONMENT_IDENTIFICATION_MODE, DEFAULT_GLASS_OPACITY, DEFAULT_MODEL, DEFAULT_MODEL_BY_PROVIDER, DEFAULT_PROVIDER_HEALTH_REFRESH_INTERVAL, DEFAULT_PROVIDER_INTERACTION_MODE, DEFAULT_RUNTIME_MODE, DEFAULT_SERVER_SETTINGS, DEFAULT_SIDEBAR_AUTO_SETTLE_AFTER_DAYS, DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, DEFAULT_SIDEBAR_THREAD_SORT_ORDER, DEFAULT_TERMINAL_ID, DEFAULT_TEXT_GENERATION_MODEL, DEFAULT_TEXT_GENERATION_MODEL_BY_PROVIDER, DEFAULT_TIMESTAMP_FORMAT, DEFAULT_UNIFIED_SETTINGS, DesktopAppBrandingSchema, DesktopAppStageLabelSchema, DesktopBackendBootstrap, DesktopDiscoveredSshHostSchema, DesktopElectronProcessMetric, DesktopElectronProcessType, DesktopEnvironmentBootstrapSchema, DesktopHostTelemetryHello, DesktopHostTelemetryMessage, DesktopHostTelemetrySnapshot, DesktopPreviewAnnotationThemeInputSchema, DesktopPreviewAnnotationThemeSchema, DesktopPreviewArtifactInputSchema, DesktopPreviewAutomationClickInputSchema, DesktopPreviewAutomationEvaluateInputSchema, DesktopPreviewAutomationPressInputSchema, DesktopPreviewAutomationScrollInputSchema, DesktopPreviewAutomationTypeInputSchema, DesktopPreviewAutomationWaitForInputSchema, DesktopPreviewColorSchemeSchema, DesktopPreviewConfigInputSchema, DesktopPreviewNavStatusSchema, DesktopPreviewNavigateInputSchema, DesktopPreviewPointerEventSchema, DesktopPreviewRecordingArtifactSchema, DesktopPreviewRecordingFrameSchema, DesktopPreviewRecordingSaveInputSchema, DesktopPreviewRegisterWebviewInputSchema, DesktopPreviewScreenshotArtifactSchema, DesktopPreviewSetColorSchemeInputSchema, DesktopPreviewTabIdSchema, DesktopPreviewTabInputSchema, DesktopPreviewTabStateSchema, DesktopPreviewWebviewConfigSchema, DesktopRuntimeArchSchema, DesktopRuntimeInfoSchema, DesktopServerExposureModeSchema, DesktopServerExposureStateSchema, DesktopSshBearerBootstrapInputSchema, DesktopSshBearerRequestInputSchema, DesktopSshEnvironmentBootstrapSchema, DesktopSshEnvironmentEnsureInputSchema, DesktopSshEnvironmentEnsureOptionsSchema, DesktopSshEnvironmentEnsureResultSchema, DesktopSshEnvironmentTargetSchema, DesktopSshHostSourceSchema, DesktopSshHttpBaseUrlInputSchema, DesktopSshPasswordPromptCancelledResultSchema, DesktopSshPasswordPromptCancelledType, DesktopSshPasswordPromptRequestSchema, DesktopSshPasswordPromptResolutionInputSchema, DesktopTelemetryControlMessage, DesktopTelemetrySetDiagnosticsDemand, DesktopTelemetrySetHostPowerIntervals, DesktopThemeSchema, DesktopUpdateActionResultSchema, DesktopUpdateChannelSchema, DesktopUpdateCheckResultSchema, DesktopUpdateReleaseNoteSchema, DesktopUpdateStateSchema, DesktopUpdateStatusSchema, DesktopWslDistroSchema, DesktopWslStateSchema, DiscoveredLocalServer, DiscoveredLocalServerList, DispatchResult, EDITORS, EditorId, EditorLaunchStyle, EnvironmentAuthHttpApi, EnvironmentAuthInvalidError, EnvironmentAuthInvalidReason, EnvironmentAuthenticatedAuth, EnvironmentAuthenticatedPrincipal, EnvironmentAuthorizationError, EnvironmentCloudEndpointUnavailableError, EnvironmentCloudLinkStateResult, EnvironmentCloudPreferencesRequest, EnvironmentCloudRelayConfigResult, EnvironmentConnectHttpApi, EnvironmentConnectionState, EnvironmentHttpApi, EnvironmentHttpBadRequestError, EnvironmentHttpCommonError, EnvironmentHttpConflictError, EnvironmentHttpForbiddenError, EnvironmentHttpInternalServerError, EnvironmentHttpUnauthorizedError, EnvironmentId, EnvironmentIdentificationMode, EnvironmentInternalError, EnvironmentInternalErrorReason, EnvironmentMetadataHttpApi, EnvironmentOperationForbiddenError, EnvironmentOperationForbiddenReason, EnvironmentOrchestrationHttpApi, EnvironmentRequestInvalidError, EnvironmentRequestInvalidReason, EnvironmentResourceNotFoundError, EnvironmentResourceNotFoundReason, EnvironmentScopeRequiredError, EventId, ExecutionEnvironmentCapabilities, ExecutionEnvironmentDescriptor, ExecutionEnvironmentPlatform, ExecutionEnvironmentPlatformArch, ExecutionEnvironmentPlatformOs, ExternalLauncherBrowserSpawnError, ExternalLauncherCommandNotFoundError, ExternalLauncherEditorSpawnError, ExternalLauncherError, ExternalLauncherUnknownEditorError, ExternalLauncherUnsupportedEditorError, FILL_PREVIEW_VIEWPORT, FilesystemBrowseEntry, FilesystemBrowseError, FilesystemBrowseFailure, FilesystemBrowseInput, FilesystemBrowseResult, GitActionProgressEvent, GitActionProgressKind, GitActionProgressPhase, GitActionProgressStream, GitCommandError, GitManagerError, GitManagerServiceError, GitPreparePullRequestThreadInput, GitPreparePullRequestThreadResult, GitPullRequestMaterializationError, GitPullRequestRefInput, GitResolvePullRequestResult, GitRunStackedActionInput, GitRunStackedActionResult, GitRunStackedActionToastRunAction, GitStackedAction, GlassOpacity, GrokSettings, HostPowerSnapshot, HostPowerSource, HostPowerThermalState, IsoDateTime, ItemLifecyclePayload, KeybindingCommand, KeybindingRule, KeybindingShortcut, KeybindingValue, KeybindingWhen, KeybindingWhenNode, KeybindingsConfig, KeybindingsConfigError, LaunchEditorInput, MAX_GLASS_OPACITY, MAX_KEYBINDINGS_COUNT, MAX_KEYBINDING_VALUE_LENGTH, MAX_KEYBINDING_WHEN_LENGTH, MAX_SCRIPT_ID_LENGTH, MAX_SIDEBAR_AUTO_SETTLE_AFTER_DAYS, MAX_SIDEBAR_THREAD_PREVIEW_COUNT, MAX_WHEN_EXPRESSION_DEPTH, MIN_GLASS_OPACITY, MIN_SIDEBAR_AUTO_SETTLE_AFTER_DAYS, 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, OrchestrationRpcSchemas, OrchestrationSession, OrchestrationSessionStatus, OrchestrationShellSnapshot, OrchestrationShellStreamEvent, OrchestrationShellStreamItem, OrchestrationSubscribeShellInput, OrchestrationSubscribeThreadInput, OrchestrationThread, OrchestrationThreadActivity, OrchestrationThreadActivityTone, OrchestrationThreadDetailSnapshot, OrchestrationThreadShell, OrchestrationThreadStreamItem, PREFERRED_DEFAULT_CODEX_MODELS, PREVIEW_AUTOMATION_OPERATIONS, PREVIEW_AUTOMATION_V1_OPERATIONS, PREVIEW_VIEWPORT_MAX_AREA, PREVIEW_VIEWPORT_MAX_DIMENSION, PREVIEW_VIEWPORT_MIN_DIMENSION, PREVIEW_VIEWPORT_PRESET_IDS, PRIMARY_LOCAL_ENVIRONMENT_ID, PROVIDER_DISPLAY_NAMES, PROVIDER_SEND_TURN_MAX_ATTACHMENTS, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, PROVIDER_SEND_TURN_MAX_INPUT_CHARS, PersistedSavedEnvironmentRecordSchema, PickFolderOptionsSchema, PickedElementPayloadSchema, PickedElementStackFrameSchema, PortSchema, PositiveInt, PreviewAnnotationElementTargetSchema, PreviewAnnotationPayloadSchema, PreviewAnnotationPointSchema, PreviewAnnotationRectSchema, PreviewAnnotationRegionTargetSchema, PreviewAnnotationScreenshotSchema, PreviewAnnotationStrokeTargetSchema, PreviewAnnotationStyleChangeSchema, PreviewAutomationActionEvent, PreviewAutomationClickInput, PreviewAutomationClientDisconnectedError, PreviewAutomationClientId, PreviewAutomationColorScheme, PreviewAutomationConnectionId, PreviewAutomationConsoleEntry, PreviewAutomationControlInterruptedError, PreviewAutomationElement, PreviewAutomationError, PreviewAutomationEvaluateInput, PreviewAutomationExecutionError, PreviewAutomationHost, PreviewAutomationHostFocus, PreviewAutomationHostIdentity, PreviewAutomationInvalidSelectorError, PreviewAutomationMalformedResponseError, PreviewAutomationNavigateInput, PreviewAutomationNetworkEntry, PreviewAutomationNoAvailableHostError, PreviewAutomationOpenInput, PreviewAutomationOperation, PreviewAutomationPressInput, PreviewAutomationRecordingArtifact, PreviewAutomationRecordingStatus, PreviewAutomationRemoteUnavailableError, PreviewAutomationRequest, PreviewAutomationRequestQueueClosedError, PreviewAutomationResizeInput, PreviewAutomationResizeResult, PreviewAutomationResponse, PreviewAutomationResultTooLargeError, PreviewAutomationScrollInput, PreviewAutomationSetColorSchemeInput, PreviewAutomationSetColorSchemeResult, PreviewAutomationSnapshot, PreviewAutomationStatus, PreviewAutomationStreamEvent, PreviewAutomationTabNotFoundError, PreviewAutomationTabTargetInput, PreviewAutomationTargetNotEditableError, PreviewAutomationTimeoutError, PreviewAutomationTypeInput, PreviewAutomationUnavailableError, PreviewAutomationUnsupportedClientError, PreviewAutomationWaitForInput, PreviewCloseInput, PreviewError, PreviewEvent, PreviewInvalidUrlError, PreviewListInput, PreviewListResult, PreviewNavStatus, PreviewNavigateInput, PreviewOpenInput, PreviewRefreshInput, PreviewRenderedViewportSize, PreviewReportStatusInput, PreviewResizeInput, PreviewSessionLookupError, PreviewSessionSnapshot, PreviewTabId, PreviewUrlResolution, PreviewViewportPresetId, PreviewViewportSetting, PreviewViewportSize, ProjectCreateCommand, ProjectCreatedPayload, ProjectDeletedPayload, ProjectEntriesFailure, ProjectEntry, ProjectFileFailure, ProjectFileOperation, ProjectId, ProjectListEntriesError, ProjectListEntriesInput, ProjectListEntriesResult, ProjectMetaUpdatedPayload, ProjectReadFileError, ProjectReadFileInput, ProjectReadFileResult, 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, RESOURCE_MONITOR_PROTOCOL_VERSION, RelayClientInstallFailedError, RelayClientInstallFailureReasonSchema, RelayClientInstallProgressEventSchema, RelayClientInstallProgressStageSchema, RelayClientStatusSchema, RepositoryIdentity, RepositoryIdentityLocator, ResolvedKeybindingRule, ResolvedKeybindingsConfig, ResourceAttributionEntry, ResourceAttributionSnapshot, ResourceMonitorCapabilities, ResourceMonitorCommand, ResourceMonitorConfigureCommand, ResourceMonitorErrorEvent, ResourceMonitorEvent, ResourceMonitorExternalProcess, ResourceMonitorHelloEvent, ResourceMonitorHistoryChunkEvent, ResourceMonitorProcessSample, ResourceMonitorReadHistoryCommand, ResourceMonitorSampleNowCommand, ResourceMonitorSetExternalProcessesCommand, ResourceMonitorSetSampleIntervalCommand, ResourceMonitorSetStreamingCommand, ResourceMonitorShutdownCommand, ResourceMonitorSnapshotEvent, ResourceTelemetryAggregate, ResourceTelemetryGroups, ResourceTelemetryHealth, ResourceTelemetryHistory, ResourceTelemetryHistoryBucket, ResourceTelemetryHistoryInput, ResourceTelemetryIoSemantics, ResourceTelemetryProcess, ResourceTelemetryProcessCategory, ResourceTelemetryProcessIdentity, ResourceTelemetryProcessSummary, ResourceTelemetryRetryResult, ResourceTelemetrySnapshot, ResourceTelemetrySourceHealth, ResourceTelemetrySourceStatus, ReviewDiffPreviewError, ReviewDiffPreviewInput, ReviewDiffPreviewResult, ReviewDiffPreviewSource, ReviewDiffPreviewSourceKind, RpcClientId, 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, ServerProcessResourceHistoryFailureTag, ServerProcessResourceHistoryInput, ServerProcessResourceHistoryResult, ServerProcessResourceHistorySummary, ServerProcessSignal, ServerProvider, ServerProviderAuth, ServerProviderAuthStatus, ServerProviderAvailability, ServerProviderContinuation, ServerProviderModel, ServerProviderSkill, ServerProviderSlashCommand, ServerProviderSlashCommandInput, ServerProviderState, ServerProviderUpdateError, ServerProviderUpdateInput, ServerProviderUpdateState, ServerProviderUpdateStatus, ServerProviderUpdatedPayload, ServerProviderVersionAdvisory, ServerProviderVersionAdvisoryStatus, ServerProviders, ServerRemoveKeybindingInput, ServerRemoveKeybindingResult, ServerSelfUpdateCapability, ServerSelfUpdateError, ServerSelfUpdateInput, ServerSelfUpdateMethod, ServerSelfUpdateResult, ServerSettings, ServerSettingsError, ServerSettingsOperation, ServerSettingsPatch, ServerSignalProcessInput, ServerSignalProcessResult, ServerTraceDiagnosticsErrorKind, ServerTraceDiagnosticsFailureSummary, ServerTraceDiagnosticsLogEvent, ServerTraceDiagnosticsRecentFailure, ServerTraceDiagnosticsResult, ServerTraceDiagnosticsSpanOccurrence, ServerTraceDiagnosticsSpanSummary, ServerUpsertKeybindingInput, ServerUpsertKeybindingResult, SidebarAutoSettleAfterDays, SidebarProjectGroupingMode, SidebarProjectSortOrder, SidebarThreadPreviewCount, SidebarThreadSortOrder, SourceControlCloneProtocol, SourceControlCloneRepositoryInput, SourceControlCloneRepositoryResult, SourceControlDiscoveryResult, SourceControlDiscoveryStatus, SourceControlProviderAuth, SourceControlProviderAuthStatus, SourceControlProviderDiscoveryItem, SourceControlProviderError, SourceControlProviderInfo, SourceControlProviderKind, SourceControlPublishRepositoryInput, SourceControlPublishRepositoryResult, SourceControlPublishStatus, SourceControlRepositoryCloneUrls, SourceControlRepositoryError, SourceControlRepositoryInfo, SourceControlRepositoryLookupInput, SourceControlRepositoryVisibility, SourceControlWritingStyleMode, SourceControlWritingStyleSettings, T3ProjectFile, T3ProjectFileScript, T3_PROJECT_FILE_NAME, T3_PROJECT_FILE_SCHEMA_URL, THREAD_JUMP_KEYBINDING_COMMANDS, THREAD_KEYBINDING_COMMANDS, TOOL_LIFECYCLE_ITEM_TYPES, TerminalAttachInput, TerminalAttachStreamEvent, TerminalClearInput, TerminalCloseInput, TerminalCwdError, TerminalCwdNotDirectoryError, TerminalCwdNotFoundError, TerminalCwdStatError, TerminalError, TerminalEvent, TerminalHistoryError, TerminalMetadataStreamEvent, TerminalNotRunningError, TerminalOpenInput, TerminalResizeError, TerminalResizeInput, TerminalRestartInput, TerminalSessionLookupError, TerminalSessionSnapshot, TerminalSessionStatus, TerminalSummary, TerminalThreadInput, TerminalWriteError, TerminalWriteInput, TextGenerationError, ThreadActivityAppendedPayload, ThreadApprovalResponseRequestedPayload, ThreadArchivedPayload, ThreadCheckpointRevertRequestedPayload, ThreadCreatedPayload, ThreadDeletedPayload, ThreadEnvMode, ThreadId, ThreadInteractionModeSetPayload, ThreadMessageSentPayload, ThreadMetaUpdatedPayload, ThreadProposedPlanUpsertedPayload, ThreadRevertedPayload, ThreadRuntimeModeSetPayload, ThreadSessionSetPayload, ThreadSessionStopRequestedPayload, ThreadSettledPayload, ThreadSnoozedPayload, ThreadTokenUsageSnapshot, ThreadTurnDiff, ThreadTurnDiffCompletedPayload, ThreadTurnInterruptRequestedPayload, ThreadTurnStartCommand, ThreadTurnStartRequestedPayload, ThreadUnarchivedPayload, ThreadUnsettledPayload, ThreadUnsnoozedPayload, TimestampFormat, ToolLifecycleItemType, TrimmedNonEmptyString, TrimmedString, TurnCountRange, TurnId, UserInputQuestion, VcsCreateRefInput, VcsCreateRefResult, VcsCreateWorktreeInput, VcsCreateWorktreeResult, VcsDiscoveryItem, VcsDriverCapabilities, VcsDriverKind, VcsError, VcsFreshness, VcsFreshnessSource, VcsInitInput, VcsListRefsInput, VcsListRefsResult, VcsListRemotesResult, VcsListWorkspaceFilesResult, VcsOutputDecodeError, VcsProcessExitError, VcsProcessExitFailureKind, VcsProcessMissingExitCodeError, VcsProcessOutputLimitError, VcsProcessOutputReadError, VcsProcessSpawnError, VcsProcessStdinWriteError, VcsProcessTimeoutError, VcsPullInput, VcsPullResult, VcsRef, VcsRemote, VcsRemoveWorktreeInput, VcsRepositoryDetectionError, VcsRepositoryIdentity, VcsStatusInput, VcsStatusLocalResult, VcsStatusRemoteResult, VcsStatusResult, VcsStatusStreamEvent, VcsSwitchRefInput, VcsSwitchRefResult, VcsUnsupportedOperationError, WS_METHODS, WsAssetsCreateUrlRpc, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsFilesystemBrowseRpc, WsGitPreparePullRequestThreadRpc, WsGitResolvePullRequestRpc, WsGitRunStackedActionRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetArchivedShellSnapshotRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsPreviewAutomationConnectRpc, WsPreviewAutomationFocusHostRpc, WsPreviewAutomationRespondRpc, WsPreviewCloseRpc, WsPreviewListRpc, WsPreviewNavigateRpc, WsPreviewOpenRpc, WsPreviewRefreshRpc, WsPreviewReportStatusRpc, WsPreviewResizeRpc, WsProjectsListEntriesRpc, WsProjectsReadFileRpc, WsProjectsSearchEntriesRpc, WsProjectsWriteFileRpc, WsReviewGetDiffPreviewRpc, WsRpcGroup, WsServerDiscoverSourceControlRpc, WsServerGetBackgroundPolicyRpc, WsServerGetConfigRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetResourceTelemetryHistoryRpc, WsServerGetSettingsRpc, WsServerGetTraceDiagnosticsRpc, WsServerProbeRpc, WsServerRefreshProvidersRpc, WsServerRemoveKeybindingRpc, WsServerReportClientActivityRpc, WsServerReportHostPowerStateRpc, WsServerRetryResourceTelemetryRpc, WsServerSignalProcessRpc, WsServerUpdateProviderRpc, WsServerUpdateServerRpc, WsServerUpdateSettingsRpc, WsServerUpsertKeybindingRpc, WsShellOpenInEditorRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSubscribeAuthAccessRpc, WsSubscribeBackgroundPolicyRpc, WsSubscribeDiscoveredLocalServersRpc, WsSubscribePreviewEventsRpc, WsSubscribeResourceTelemetryRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeTerminalEventsRpc, WsSubscribeTerminalMetadataRpc, WsSubscribeVcsStatusRpc, WsTerminalAttachRpc, WsTerminalClearRpc, WsTerminalCloseRpc, WsTerminalOpenRpc, WsTerminalResizeRpc, WsTerminalRestartRpc, WsTerminalWriteRpc, WsVcsCreateRefRpc, WsVcsCreateWorktreeRpc, WsVcsInitRpc, WsVcsListRefsRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsVcsRemoveWorktreeRpc, WsVcsSwitchRefRpc, defaultInstanceIdForDriver, isExternalLauncherError, isProviderAvailable, isProviderDriverKind, isToolLifecycleItemType, makeProviderSettingsSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t3code-cli",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "CLI for t3code",
5
5
  "keywords": [
6
6
  "claude",
@@ -96,17 +96,18 @@
96
96
  "effect": "4.0.0-beta.78",
97
97
  "marked": "^15.0.12",
98
98
  "marked-terminal": "^7.3.0",
99
- "string-width": "^8.2.1",
99
+ "string-width": "^8.2.2",
100
100
  "wrap-ansi": "^10.0.0"
101
101
  },
102
102
  "devDependencies": {
103
- "@changesets/cli": "^2.31.0",
103
+ "@changesets/cli": "^2.31.1",
104
104
  "@effect/vitest": "4.0.0-beta.78",
105
+ "@t3tools/client-runtime": "link:upstream-t3code/packages/client-runtime",
105
106
  "@total-typescript/shoehorn": "^0.1.2",
106
- "@types/node": "^25.9.1",
107
- "typescript": "^6.0.3",
108
- "vite-plus": "^0.1.24",
109
- "@t3tools/contracts": "0.0.27"
107
+ "@types/node": "^26.1.2",
108
+ "typescript": "^7.0.2",
109
+ "vite-plus": "^0.2.6",
110
+ "@t3tools/contracts": "0.0.30"
110
111
  },
111
112
  "engines": {
112
113
  "node": ">=24.0.0"
@@ -42,6 +42,10 @@ export function watchThread(input: { readonly threadId: string }) {
42
42
  return Stream.fromIterable(events);
43
43
  }
44
44
 
45
+ if (item.kind === "synchronized") {
46
+ return Stream.empty;
47
+ }
48
+
45
49
  if (current === undefined || currentMessages === undefined) {
46
50
  return Stream.fail(
47
51
  new ThreadSessionError({
package/src/auth/error.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as Cause from "effect/Cause";
2
2
  import * as Schema from "effect/Schema";
3
3
  import { PlatformError } from "effect/PlatformError";
4
- import { HttpClientError } from "effect/unstable/http";
5
4
 
6
5
  import { ConfigError } from "../config/error.ts";
7
6
  import { UrlError } from "../config/url/error.ts";
7
+ import { RemoteEnvironmentAuthErrorSchema } from "./remote-error.ts";
8
8
 
9
9
  export class AuthPairingUrlError extends Schema.TaggedErrorClass<AuthPairingUrlError>()(
10
10
  "AuthPairingUrlError",
@@ -23,13 +23,7 @@ export class AuthTransportError extends Schema.TaggedErrorClass<AuthTransportErr
23
23
  "AuthTransportError",
24
24
  {
25
25
  message: Schema.String,
26
- cause: Schema.optionalKey(
27
- Schema.Union([
28
- HttpClientError.HttpClientErrorSchema,
29
- Schema.instanceOf(Schema.SchemaError),
30
- UrlError,
31
- ]),
32
- ),
26
+ cause: RemoteEnvironmentAuthErrorSchema,
33
27
  },
34
28
  ) {}
35
29
 
@@ -0,0 +1,17 @@
1
+ import {
2
+ RemoteEnvironmentAuthFetchError,
3
+ type RemoteEnvironmentAuthError,
4
+ RemoteEnvironmentAuthInvalidJsonError,
5
+ RemoteEnvironmentAuthTimeoutError,
6
+ RemoteEnvironmentAuthUndeclaredStatusError,
7
+ } from "@t3tools/client-runtime/authorization";
8
+ import { EnvironmentHttpCommonError } from "@t3tools/contracts";
9
+ import * as Schema from "effect/Schema";
10
+
11
+ export const RemoteEnvironmentAuthErrorSchema = Schema.Union([
12
+ EnvironmentHttpCommonError,
13
+ Schema.instanceOf(RemoteEnvironmentAuthFetchError),
14
+ Schema.instanceOf(RemoteEnvironmentAuthInvalidJsonError),
15
+ Schema.instanceOf(RemoteEnvironmentAuthTimeoutError),
16
+ Schema.instanceOf(RemoteEnvironmentAuthUndeclaredStatusError),
17
+ ]) satisfies Schema.Schema<RemoteEnvironmentAuthError>;
@@ -1,23 +1,19 @@
1
1
  import {
2
- AuthAccessTokenType,
3
- AuthEnvironmentBootstrapTokenType,
4
- AuthTokenExchangeGrantType,
5
- } from "@t3tools/contracts";
2
+ bootstrapRemoteBearerSession,
3
+ fetchRemoteSessionState,
4
+ issueRemoteWebSocketTicket,
5
+ } from "@t3tools/client-runtime/authorization";
6
6
  import * as Context from "effect/Context";
7
7
  import * as DateTime from "effect/DateTime";
8
8
  import * as Effect from "effect/Effect";
9
9
  import * as Layer from "effect/Layer";
10
- import { HttpClient, HttpClientError, HttpClientRequest } from "effect/unstable/http";
10
+ import { HttpClient } from "effect/unstable/http";
11
11
 
12
- import { toHttpEndpointUrl } from "../config/url/url.ts";
13
12
  import { AuthTransportError } from "./error.ts";
14
13
  import {
15
14
  type AuthBearerBootstrapResult,
16
- decodeAuthAccessTokenResult,
17
15
  type AuthSessionState,
18
- decodeAuthSessionState,
19
16
  type AuthWebSocketTicketResult,
20
- decodeAuthWebSocketTicketResult,
21
17
  } from "./schema.ts";
22
18
 
23
19
  export type AuthTransportConnection = {
@@ -42,53 +38,25 @@ export class T3AuthTransport extends Context.Service<
42
38
  >()("t3cli/T3AuthTransport") {}
43
39
 
44
40
  const makeT3AuthTransport = Effect.fn("makeT3AuthTransport")(function* () {
45
- const client = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
41
+ const httpClient = yield* HttpClient.HttpClient;
46
42
 
47
43
  const bootstrapBearer = Effect.fn("AuthTransport.bootstrapBearer")(function* (input: {
48
44
  readonly baseUrl: string;
49
45
  readonly credential: string;
50
46
  }) {
51
- const url = yield* makeHttpEndpointUrl(input.baseUrl, "/oauth/token");
52
- const request = HttpClientRequest.post(url).pipe(
53
- HttpClientRequest.acceptJson,
54
- HttpClientRequest.bodyUrlParams({
55
- grant_type: AuthTokenExchangeGrantType,
56
- subject_token: input.credential,
57
- subject_token_type: AuthEnvironmentBootstrapTokenType,
58
- requested_token_type: AuthAccessTokenType,
59
- }),
60
- );
61
- const response = yield* client.execute(request).pipe(
62
- Effect.catchTags({
63
- HttpClientError: (error) =>
64
- Effect.fail(
65
- new AuthTransportError({
66
- message: "auth request failed",
67
- cause: HttpClientError.HttpClientErrorSchema.fromHttpClientError(error),
68
- }),
69
- ),
70
- }),
71
- );
72
- const result = yield* response.json.pipe(
73
- Effect.flatMap(decodeAuthAccessTokenResult),
74
- Effect.catchTags({
75
- HttpClientError: (error) =>
76
- Effect.fail(
77
- new AuthTransportError({
78
- message: "auth request failed",
79
- cause: HttpClientError.HttpClientErrorSchema.fromHttpClientError(error),
80
- }),
81
- ),
82
- SchemaError: (error) =>
83
- Effect.fail(
84
- new AuthTransportError({ message: "auth response decode failed", cause: error }),
85
- ),
86
- }),
47
+ const result = yield* bootstrapRemoteBearerSession({
48
+ httpBaseUrl: input.baseUrl,
49
+ credential: input.credential,
50
+ }).pipe(
51
+ Effect.provideService(HttpClient.HttpClient, httpClient),
52
+ Effect.mapError(
53
+ (error) => new AuthTransportError({ message: "auth request failed", cause: error }),
54
+ ),
87
55
  );
88
56
  const now = yield* DateTime.now;
89
57
  return {
90
58
  authenticated: true,
91
- role: result.scope.split(/\s+/u).includes("access:write") ? "owner" : "client",
59
+ role: inferRole(result.scope),
92
60
  sessionMethod: "bearer-access-token",
93
61
  expiresAt: DateTime.formatIso(DateTime.add(now, { seconds: result.expires_in })),
94
62
  sessionToken: result.access_token,
@@ -98,69 +66,41 @@ const makeT3AuthTransport = Effect.fn("makeT3AuthTransport")(function* () {
98
66
  const getSession = Effect.fn("AuthTransport.getSession")(function* (
99
67
  connection: AuthTransportConnection,
100
68
  ) {
101
- const url = yield* makeHttpEndpointUrl(connection.url, "/api/auth/session");
102
- const request = HttpClientRequest.get(url).pipe(authenticatedRequest(connection));
103
- const response = yield* client.execute(request).pipe(
104
- Effect.catchTags({
105
- HttpClientError: (error) =>
106
- Effect.fail(
107
- new AuthTransportError({
108
- message: "auth request failed",
109
- cause: HttpClientError.HttpClientErrorSchema.fromHttpClientError(error),
110
- }),
111
- ),
112
- }),
113
- );
114
- return yield* response.json.pipe(
115
- Effect.flatMap(decodeAuthSessionState),
116
- Effect.catchTags({
117
- HttpClientError: (error) =>
118
- Effect.fail(
119
- new AuthTransportError({
120
- message: "auth request failed",
121
- cause: HttpClientError.HttpClientErrorSchema.fromHttpClientError(error),
122
- }),
123
- ),
124
- SchemaError: (error) =>
125
- Effect.fail(
126
- new AuthTransportError({ message: "auth response decode failed", cause: error }),
127
- ),
128
- }),
69
+ const result = yield* fetchRemoteSessionState({
70
+ httpBaseUrl: connection.url,
71
+ bearerToken: connection.token,
72
+ }).pipe(
73
+ Effect.provideService(HttpClient.HttpClient, httpClient),
74
+ Effect.mapError(
75
+ (error) => new AuthTransportError({ message: "auth request failed", cause: error }),
76
+ ),
129
77
  );
78
+ return {
79
+ authenticated: result.authenticated,
80
+ ...(result.scopes !== undefined ? { role: inferRole(result.scopes.join(" ")) } : {}),
81
+ ...(result.sessionMethod !== undefined ? { sessionMethod: result.sessionMethod } : {}),
82
+ ...(result.expiresAt !== undefined
83
+ ? { expiresAt: DateTime.formatIso(result.expiresAt) }
84
+ : {}),
85
+ } satisfies AuthSessionState;
130
86
  });
131
87
 
132
88
  const issueWebSocketTicket = Effect.fn("AuthTransport.issueWebSocketTicket")(function* (
133
89
  connection: AuthTransportConnection,
134
90
  ) {
135
- const url = yield* makeHttpEndpointUrl(connection.url, "/api/auth/websocket-ticket");
136
- const request = HttpClientRequest.post(url).pipe(authenticatedRequest(connection));
137
- const response = yield* client.execute(request).pipe(
138
- Effect.catchTags({
139
- HttpClientError: (error) =>
140
- Effect.fail(
141
- new AuthTransportError({
142
- message: "auth request failed",
143
- cause: HttpClientError.HttpClientErrorSchema.fromHttpClientError(error),
144
- }),
145
- ),
146
- }),
147
- );
148
- return yield* response.json.pipe(
149
- Effect.flatMap(decodeAuthWebSocketTicketResult),
150
- Effect.catchTags({
151
- HttpClientError: (error) =>
152
- Effect.fail(
153
- new AuthTransportError({
154
- message: "auth request failed",
155
- cause: HttpClientError.HttpClientErrorSchema.fromHttpClientError(error),
156
- }),
157
- ),
158
- SchemaError: (error) =>
159
- Effect.fail(
160
- new AuthTransportError({ message: "auth response decode failed", cause: error }),
161
- ),
162
- }),
91
+ const result = yield* issueRemoteWebSocketTicket({
92
+ httpBaseUrl: connection.url,
93
+ bearerToken: connection.token,
94
+ }).pipe(
95
+ Effect.provideService(HttpClient.HttpClient, httpClient),
96
+ Effect.mapError(
97
+ (error) => new AuthTransportError({ message: "auth request failed", cause: error }),
98
+ ),
163
99
  );
100
+ return {
101
+ ticket: result.ticket,
102
+ expiresAt: DateTime.formatIso(result.expiresAt),
103
+ } satisfies AuthWebSocketTicketResult;
164
104
  });
165
105
 
166
106
  return {
@@ -172,15 +112,6 @@ const makeT3AuthTransport = Effect.fn("makeT3AuthTransport")(function* () {
172
112
 
173
113
  export const T3AuthTransportLive = Layer.effect(T3AuthTransport, makeT3AuthTransport());
174
114
 
175
- const authenticatedRequest =
176
- (connection: AuthTransportConnection) => (request: HttpClientRequest.HttpClientRequest) =>
177
- request.pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(connection.token));
178
-
179
- function makeHttpEndpointUrl(baseUrl: string, path: string) {
180
- return toHttpEndpointUrl(baseUrl, path).pipe(
181
- Effect.catchTags({
182
- UrlError: (error) =>
183
- Effect.fail(new AuthTransportError({ message: "auth request failed", cause: error })),
184
- }),
185
- );
115
+ function inferRole(scope: string): AuthBearerBootstrapResult["role"] {
116
+ return scope.split(/\s+/u).includes("access:write") ? "owner" : "client";
186
117
  }
@@ -1,9 +1,12 @@
1
1
  import * as Schema from "effect/Schema";
2
2
 
3
+ import { ConfigError } from "../config/error.ts";
4
+ import { UrlError } from "../config/url/error.ts";
5
+
3
6
  export class T3CodeConnectionError extends Schema.TaggedErrorClass<T3CodeConnectionError>()(
4
7
  "T3CodeConnectionError",
5
8
  {
6
9
  message: Schema.String,
7
- cause: Schema.optionalKey(Schema.Unknown),
10
+ cause: Schema.Union([ConfigError, UrlError]),
8
11
  },
9
12
  ) {}
@@ -1,10 +1,13 @@
1
1
  import * as Layer from "effect/Layer";
2
2
 
3
- import { T3AuthTransportLive } from "../auth/transport.ts";
3
+ import { T3PreparedConnectionProviderLive } from "./prepared.ts";
4
4
  import { T3RpcLive } from "../rpc/layer.ts";
5
+ import { T3RpcSessionFactoryLive } from "../rpc/session.ts";
5
6
 
6
7
  export function makeT3CodeRpcLayer() {
7
- return T3RpcLive.pipe(Layer.provide(T3AuthTransportLive));
8
+ return T3RpcLive.pipe(
9
+ Layer.provide(Layer.mergeAll(T3PreparedConnectionProviderLive, T3RpcSessionFactoryLive)),
10
+ );
8
11
  }
9
12
 
10
13
  export const T3CodeRpcLayer = makeT3CodeRpcLayer();