t3code-cli 0.7.0 → 0.9.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 (82) hide show
  1. package/README.md +90 -35
  2. package/dist/application.js +1 -1
  3. package/dist/auth.js +1 -2
  4. package/dist/bin.js +241 -45
  5. package/dist/cli.js +1 -1
  6. package/dist/config.js +1 -3
  7. package/dist/connection.js +1 -4
  8. package/dist/index.js +1 -4
  9. package/dist/layout.js +1 -1
  10. package/dist/orchestration.js +1 -1
  11. package/dist/rpc.js +1 -1
  12. package/dist/runtime.js +1 -2
  13. package/dist/scope.js +1 -1
  14. package/dist/shared.js +85492 -0
  15. package/dist/src/application/layer.d.ts +86 -2
  16. package/dist/src/application/models.d.ts +1 -0
  17. package/dist/src/application/projects.d.ts +10 -1
  18. package/dist/src/application/service.d.ts +30 -1
  19. package/dist/src/application/shell-sequence.d.ts +9 -0
  20. package/dist/src/application/thread-commands.d.ts +27 -1
  21. package/dist/src/application/thread-wait.d.ts +9 -0
  22. package/dist/src/application/threads.d.ts +102 -2
  23. package/dist/src/cli-path/layer.d.ts +3 -0
  24. package/dist/src/cli-path/service.d.ts +8 -0
  25. package/dist/src/domain/helpers.d.ts +9 -0
  26. package/dist/src/domain/model-config.d.ts +3 -0
  27. package/dist/src/domain/thread-activities.d.ts +14 -0
  28. package/dist/src/domain/thread-lifecycle.d.ts +10 -0
  29. package/dist/src/orchestration/layer.d.ts +215 -0
  30. package/dist/src/rpc/layer.d.ts +466 -0
  31. package/dist/src/rpc/ws-group.d.ts +142 -0
  32. package/dist/src/runtime/layer.d.ts +1 -1
  33. package/dist/t3tools.js +2 -2
  34. package/dist/upstream-t3code/packages/contracts/src/environmentHttp.d.ts +33 -10
  35. package/dist/upstream-t3code/packages/contracts/src/ipc.d.ts +6 -0
  36. package/dist/upstream-t3code/packages/contracts/src/orchestration.d.ts +657 -1
  37. package/dist/upstream-t3code/packages/contracts/src/provider.d.ts +14 -0
  38. package/dist/upstream-t3code/packages/contracts/src/providerRuntime.d.ts +175 -1
  39. package/dist/upstream-t3code/packages/contracts/src/rpc.d.ts +492 -0
  40. package/dist/upstream-t3code/packages/contracts/src/server.d.ts +45 -0
  41. package/dist/upstream-t3code/packages/contracts/src/settings.d.ts +21 -0
  42. package/dist/upstream-t3code/packages/contracts/src/terminal.d.ts +6 -3
  43. package/package.json +2 -2
  44. package/src/application/service.ts +32 -0
  45. package/src/application/thread-commands.ts +45 -0
  46. package/src/application/threads.ts +100 -1
  47. package/src/cli/error.ts +15 -0
  48. package/src/cli/message-input.ts +30 -0
  49. package/src/cli/thread-format.ts +47 -0
  50. package/src/cli/thread.ts +8 -0
  51. package/src/cli/threads/approve.ts +61 -0
  52. package/src/cli/threads/archive.ts +18 -3
  53. package/src/cli/threads/callback.ts +92 -0
  54. package/src/cli/threads/respond.ts +70 -0
  55. package/src/cli/threads/show.ts +43 -0
  56. package/src/cli-path/layer.ts +10 -0
  57. package/src/cli-path/service.ts +7 -0
  58. package/src/domain/thread-activities.test.ts +321 -0
  59. package/src/domain/thread-activities.ts +244 -0
  60. package/src/domain/thread-lifecycle.ts +2 -0
  61. package/src/runtime/layer.ts +2 -0
  62. package/dist/Context-DueQ9iMH.js +0 -4916
  63. package/dist/Path-D8WPdPwR.js +0 -11406
  64. package/dist/Schema-DsQxYh6_.js +0 -13581
  65. package/dist/UrlParams-BA6gBvaY.js +0 -205
  66. package/dist/base-dir-R12OMDso.js +0 -20
  67. package/dist/error-B2t1bAP9.js +0 -169
  68. package/dist/error-BHRnjLux.js +0 -15
  69. package/dist/error-jwMt3VoW.js +0 -54
  70. package/dist/flags-CM7_iGdA.js +0 -13371
  71. package/dist/layer-CfC5qZol.js +0 -1508
  72. package/dist/layer-DHhKS5jd.js +0 -13
  73. package/dist/layer-DUv99vsS.js +0 -72
  74. package/dist/layer-DvHnKBYj.js +0 -29466
  75. package/dist/layer-MqCKkIGD.js +0 -1206
  76. package/dist/scope-GycYiJ54.js +0 -29
  77. package/dist/service-CLmRO2Dp.js +0 -8
  78. package/dist/service-ybOWV9pL.js +0 -5
  79. package/dist/src-KdbHqrex.js +0 -8874
  80. package/dist/transport-D3zBdZ1h.js +0 -539
  81. package/dist/url-SlsaG8nY.js +0 -165
  82. /package/dist/{chunk-B5meny8j.js → rolldown-runtime.js} +0 -0
@@ -12,6 +12,7 @@ export declare const FallbackServerConfig: Schema.Struct<{
12
12
  readonly groupKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
13
13
  }>>;
14
14
  readonly showInteractionModeToggle: Schema.optional<Schema.Boolean>;
15
+ readonly requiresNewThreadForModelChange: Schema.optional<Schema.Boolean>;
15
16
  readonly enabled: Schema.Boolean;
16
17
  readonly installed: Schema.Boolean;
17
18
  readonly version: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
@@ -155,6 +156,7 @@ export declare const CliServerConfig: Schema.Union<readonly [Schema.Struct<{
155
156
  readonly groupKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
156
157
  }>>;
157
158
  readonly showInteractionModeToggle: Schema.optional<Schema.Boolean>;
159
+ readonly requiresNewThreadForModelChange: Schema.optional<Schema.Boolean>;
158
160
  readonly enabled: Schema.Boolean;
159
161
  readonly installed: Schema.Boolean;
160
162
  readonly version: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
@@ -282,6 +284,11 @@ export declare const CliServerConfig: Schema.Union<readonly [Schema.Struct<{
282
284
  readonly apiEndpoint: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.String, never, never>, never>;
283
285
  readonly customModels: Schema.withDecodingDefault<Schema.$Array<Schema.String>, never>;
284
286
  }>, never>;
287
+ readonly grok: Schema.withDecodingDefault<Schema.Struct<{
288
+ readonly enabled: Schema.withDecodingDefault<Schema.Boolean, never>;
289
+ readonly binaryPath: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.decodeTo<Schema.String, Schema.String, never, never>, never, never>, never>;
290
+ readonly customModels: Schema.withDecodingDefault<Schema.$Array<Schema.String>, never>;
291
+ }>, never>;
285
292
  readonly opencode: Schema.withDecodingDefault<Schema.Struct<{
286
293
  readonly enabled: Schema.withDecodingDefault<Schema.Boolean, never>;
287
294
  readonly binaryPath: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.decodeTo<Schema.String, Schema.String, never, never>, never, never>, never>;
@@ -319,6 +326,7 @@ export declare const CliServerConfig: Schema.Union<readonly [Schema.Struct<{
319
326
  readonly groupKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
320
327
  }>>;
321
328
  readonly showInteractionModeToggle: Schema.optional<Schema.Boolean>;
329
+ readonly requiresNewThreadForModelChange: Schema.optional<Schema.Boolean>;
322
330
  readonly enabled: Schema.Boolean;
323
331
  readonly installed: Schema.Boolean;
324
332
  readonly version: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
@@ -462,6 +470,7 @@ export declare const WsServerGetConfigRpc: Rpc.Rpc<"server.getConfig", Schema.St
462
470
  readonly groupKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
463
471
  }>>;
464
472
  readonly showInteractionModeToggle: Schema.optional<Schema.Boolean>;
473
+ readonly requiresNewThreadForModelChange: Schema.optional<Schema.Boolean>;
465
474
  readonly enabled: Schema.Boolean;
466
475
  readonly installed: Schema.Boolean;
467
476
  readonly version: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
@@ -589,6 +598,11 @@ export declare const WsServerGetConfigRpc: Rpc.Rpc<"server.getConfig", Schema.St
589
598
  readonly apiEndpoint: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.String, never, never>, never>;
590
599
  readonly customModels: Schema.withDecodingDefault<Schema.$Array<Schema.String>, never>;
591
600
  }>, never>;
601
+ readonly grok: Schema.withDecodingDefault<Schema.Struct<{
602
+ readonly enabled: Schema.withDecodingDefault<Schema.Boolean, never>;
603
+ readonly binaryPath: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.decodeTo<Schema.String, Schema.String, never, never>, never, never>, never>;
604
+ readonly customModels: Schema.withDecodingDefault<Schema.$Array<Schema.String>, never>;
605
+ }>, never>;
592
606
  readonly opencode: Schema.withDecodingDefault<Schema.Struct<{
593
607
  readonly enabled: Schema.withDecodingDefault<Schema.Boolean, never>;
594
608
  readonly binaryPath: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.decodeTo<Schema.String, Schema.String, never, never>, never, never>, never>;
@@ -626,6 +640,7 @@ export declare const WsServerGetConfigRpc: Rpc.Rpc<"server.getConfig", Schema.St
626
640
  readonly groupKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
627
641
  }>>;
628
642
  readonly showInteractionModeToggle: Schema.optional<Schema.Boolean>;
643
+ readonly requiresNewThreadForModelChange: Schema.optional<Schema.Boolean>;
629
644
  readonly enabled: Schema.Boolean;
630
645
  readonly installed: Schema.Boolean;
631
646
  readonly version: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
@@ -939,6 +954,20 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
939
954
  readonly commandId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">;
940
955
  readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
941
956
  readonly createdAt: Schema.String;
957
+ }>, Schema.Struct<{
958
+ readonly type: Schema.Literal<"thread.goal.request">;
959
+ readonly commandId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">;
960
+ readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
961
+ readonly request: Schema.Union<readonly [Schema.Struct<{
962
+ readonly kind: Schema.Literal<"status">;
963
+ }>, Schema.Struct<{
964
+ readonly kind: Schema.Literal<"control">;
965
+ readonly action: Schema.Literals<readonly ["pause", "resume", "clear"]>;
966
+ }>, Schema.Struct<{
967
+ readonly kind: Schema.Literal<"set">;
968
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
969
+ }>]>;
970
+ readonly createdAt: Schema.String;
942
971
  }>]>, Schema.Struct<{
943
972
  readonly sequence: Schema.Int;
944
973
  }>, Schema.Union<readonly [typeof OrchestrationDispatchCommandError, typeof EnvironmentAuthorizationError]>, never, never> | Rpc.Rpc<"orchestration.subscribeShell", Schema.Struct<{}>, import("effect/unstable/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.Struct<{
@@ -1037,6 +1066,15 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
1037
1066
  readonly lastError: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1038
1067
  readonly updatedAt: Schema.String;
1039
1068
  }>>;
1069
+ readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
1070
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
1071
+ readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
1072
+ readonly tokensUsed: Schema.Int;
1073
+ readonly tokenBudget: Schema.NullOr<Schema.Int>;
1074
+ readonly timeUsedSeconds: Schema.Int;
1075
+ readonly createdAt: Schema.String;
1076
+ readonly updatedAt: Schema.String;
1077
+ }>>, never>;
1040
1078
  readonly latestUserMessageAt: Schema.NullOr<Schema.String>;
1041
1079
  readonly hasPendingApprovals: Schema.Boolean;
1042
1080
  readonly hasPendingUserInput: Schema.Boolean;
@@ -1146,6 +1184,15 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
1146
1184
  readonly lastError: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1147
1185
  readonly updatedAt: Schema.String;
1148
1186
  }>>;
1187
+ readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
1188
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
1189
+ readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
1190
+ readonly tokensUsed: Schema.Int;
1191
+ readonly tokenBudget: Schema.NullOr<Schema.Int>;
1192
+ readonly timeUsedSeconds: Schema.Int;
1193
+ readonly createdAt: Schema.String;
1194
+ readonly updatedAt: Schema.String;
1195
+ }>>, never>;
1149
1196
  readonly latestUserMessageAt: Schema.NullOr<Schema.String>;
1150
1197
  readonly hasPendingApprovals: Schema.Boolean;
1151
1198
  readonly hasPendingUserInput: Schema.Boolean;
@@ -1201,6 +1248,15 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
1201
1248
  readonly updatedAt: Schema.String;
1202
1249
  readonly archivedAt: Schema.withDecodingDefault<Schema.NullOr<Schema.String>, never>;
1203
1250
  readonly deletedAt: Schema.NullOr<Schema.String>;
1251
+ readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
1252
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
1253
+ readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
1254
+ readonly tokensUsed: Schema.Int;
1255
+ readonly tokenBudget: Schema.NullOr<Schema.Int>;
1256
+ readonly timeUsedSeconds: Schema.Int;
1257
+ readonly createdAt: Schema.String;
1258
+ readonly updatedAt: Schema.String;
1259
+ }>>, never>;
1204
1260
  readonly messages: Schema.$Array<Schema.Struct<{
1205
1261
  readonly id: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "MessageId">;
1206
1262
  readonly role: Schema.Literals<readonly ["user", "assistant", "system"]>;
@@ -1837,6 +1893,85 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
1837
1893
  readonly requestId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ApprovalRequestId">>;
1838
1894
  readonly ingestedAt: Schema.optional<Schema.String>;
1839
1895
  }>;
1896
+ }>, Schema.Struct<{
1897
+ readonly type: Schema.Literal<"thread.goal-requested">;
1898
+ readonly payload: Schema.Struct<{
1899
+ readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
1900
+ readonly request: Schema.Union<readonly [Schema.Struct<{
1901
+ readonly kind: Schema.Literal<"status">;
1902
+ }>, Schema.Struct<{
1903
+ readonly kind: Schema.Literal<"control">;
1904
+ readonly action: Schema.Literals<readonly ["pause", "resume", "clear"]>;
1905
+ }>, Schema.Struct<{
1906
+ readonly kind: Schema.Literal<"set">;
1907
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
1908
+ }>]>;
1909
+ readonly createdAt: Schema.String;
1910
+ }>;
1911
+ readonly sequence: Schema.Int;
1912
+ readonly eventId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EventId">;
1913
+ readonly aggregateKind: Schema.Literals<readonly ["project", "thread"]>;
1914
+ readonly aggregateId: Schema.Union<readonly [Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">, Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">]>;
1915
+ readonly occurredAt: Schema.String;
1916
+ readonly commandId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">>;
1917
+ readonly causationEventId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EventId">>;
1918
+ readonly correlationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">>;
1919
+ readonly metadata: Schema.Struct<{
1920
+ readonly providerTurnId: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1921
+ readonly providerItemId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProviderItemId">>;
1922
+ readonly adapterKey: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1923
+ readonly requestId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ApprovalRequestId">>;
1924
+ readonly ingestedAt: Schema.optional<Schema.String>;
1925
+ }>;
1926
+ }>, Schema.Struct<{
1927
+ readonly type: Schema.Literal<"thread.goal-updated">;
1928
+ readonly payload: Schema.Struct<{
1929
+ readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
1930
+ readonly goal: Schema.Struct<{
1931
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
1932
+ readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
1933
+ readonly tokensUsed: Schema.Int;
1934
+ readonly tokenBudget: Schema.NullOr<Schema.Int>;
1935
+ readonly timeUsedSeconds: Schema.Int;
1936
+ readonly createdAt: Schema.String;
1937
+ readonly updatedAt: Schema.String;
1938
+ }>;
1939
+ }>;
1940
+ readonly sequence: Schema.Int;
1941
+ readonly eventId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EventId">;
1942
+ readonly aggregateKind: Schema.Literals<readonly ["project", "thread"]>;
1943
+ readonly aggregateId: Schema.Union<readonly [Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">, Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">]>;
1944
+ readonly occurredAt: Schema.String;
1945
+ readonly commandId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">>;
1946
+ readonly causationEventId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EventId">>;
1947
+ readonly correlationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">>;
1948
+ readonly metadata: Schema.Struct<{
1949
+ readonly providerTurnId: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1950
+ readonly providerItemId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProviderItemId">>;
1951
+ readonly adapterKey: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1952
+ readonly requestId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ApprovalRequestId">>;
1953
+ readonly ingestedAt: Schema.optional<Schema.String>;
1954
+ }>;
1955
+ }>, Schema.Struct<{
1956
+ readonly type: Schema.Literal<"thread.goal-cleared">;
1957
+ readonly payload: Schema.Struct<{
1958
+ readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
1959
+ }>;
1960
+ readonly sequence: Schema.Int;
1961
+ readonly eventId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EventId">;
1962
+ readonly aggregateKind: Schema.Literals<readonly ["project", "thread"]>;
1963
+ readonly aggregateId: Schema.Union<readonly [Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProjectId">, Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">]>;
1964
+ readonly occurredAt: Schema.String;
1965
+ readonly commandId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">>;
1966
+ readonly causationEventId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EventId">>;
1967
+ readonly correlationId: Schema.NullOr<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">>;
1968
+ readonly metadata: Schema.Struct<{
1969
+ readonly providerTurnId: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1970
+ readonly providerItemId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ProviderItemId">>;
1971
+ readonly adapterKey: Schema.optional<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
1972
+ readonly requestId: Schema.optional<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ApprovalRequestId">>;
1973
+ readonly ingestedAt: Schema.optional<Schema.String>;
1974
+ }>;
1840
1975
  }>, Schema.Struct<{
1841
1976
  readonly type: Schema.Literal<"thread.proposed-plan-upserted">;
1842
1977
  readonly payload: Schema.Struct<{
@@ -1994,6 +2129,7 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
1994
2129
  readonly groupKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
1995
2130
  }>>;
1996
2131
  readonly showInteractionModeToggle: Schema.optional<Schema.Boolean>;
2132
+ readonly requiresNewThreadForModelChange: Schema.optional<Schema.Boolean>;
1997
2133
  readonly enabled: Schema.Boolean;
1998
2134
  readonly installed: Schema.Boolean;
1999
2135
  readonly version: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
@@ -2121,6 +2257,11 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
2121
2257
  readonly apiEndpoint: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.String, never, never>, never>;
2122
2258
  readonly customModels: Schema.withDecodingDefault<Schema.$Array<Schema.String>, never>;
2123
2259
  }>, never>;
2260
+ readonly grok: Schema.withDecodingDefault<Schema.Struct<{
2261
+ readonly enabled: Schema.withDecodingDefault<Schema.Boolean, never>;
2262
+ readonly binaryPath: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.decodeTo<Schema.String, Schema.String, never, never>, never, never>, never>;
2263
+ readonly customModels: Schema.withDecodingDefault<Schema.$Array<Schema.String>, never>;
2264
+ }>, never>;
2124
2265
  readonly opencode: Schema.withDecodingDefault<Schema.Struct<{
2125
2266
  readonly enabled: Schema.withDecodingDefault<Schema.Boolean, never>;
2126
2267
  readonly binaryPath: Schema.withDecodingDefault<Schema.decodeTo<Schema.String, Schema.decodeTo<Schema.String, Schema.String, never, never>, never, never>, never>;
@@ -2158,6 +2299,7 @@ export declare const CliWsRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"orchestration.dis
2158
2299
  readonly groupKey: Schema.decodeTo<Schema.String, Schema.String, never, never>;
2159
2300
  }>>;
2160
2301
  readonly showInteractionModeToggle: Schema.optional<Schema.Boolean>;
2302
+ readonly requiresNewThreadForModelChange: Schema.optional<Schema.Boolean>;
2161
2303
  readonly enabled: Schema.Boolean;
2162
2304
  readonly installed: Schema.Boolean;
2163
2305
  readonly version: Schema.NullOr<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
@@ -8,4 +8,4 @@ export declare const T3AuthPairingLayer: Layer.Layer<import("../auth/pairing.ts"
8
8
  export declare const T3AuthLayer: Layer.Layer<import("../auth/service.ts").T3Auth, never, import("../environment/service.ts").Environment | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
9
9
  export declare const T3OrchestrationLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration, never, import("../environment/service.ts").Environment | import("effect/Path").Path | import("effect/FileSystem").FileSystem>;
10
10
  export declare const AuthAppLayer: Layer.Layer<T3Config | import("../auth/service.ts").T3Auth, never, import("../environment/service.ts").Environment | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
11
- export declare const AppLayer: Layer.Layer<import("../index.ts").T3Application | import("../orchestration/service.ts").T3Orchestration | T3Config | import("../auth/service.ts").T3Auth | import("../rpc/service.ts").T3Rpc, never, import("../environment/service.ts").Environment | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
11
+ export declare const AppLayer: Layer.Layer<import("../orchestration/service.ts").T3Orchestration | import("../index.ts").T3Application | T3Config | import("../auth/service.ts").T3Auth | import("../rpc/service.ts").T3Rpc | import("../cli-path/service.ts").CliPath, never, import("../environment/service.ts").Environment | import("effect/Path").Path | import("effect/Crypto").Crypto | import("effect/FileSystem").FileSystem>;
package/dist/t3tools.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as WsVcsRefreshStatusRpc, $a as DesktopUpdateActionResultSchema, $c as ProviderInstanceId, $i as ProviderEvent, $l as AuthAccessStreamEvent, $n as ServerLifecycleStreamReadyEvent, $o as CorrelationId, $r as DEFAULT_SIDEBAR_THREAD_SORT_ORDER, $s as ProjectScript, $t as VcsStatusResult, $u as RuntimeSessionId, A as WsServerUpsertKeybindingRpc, Aa as DesktopAppStageLabelSchema, Ac as ThreadUnarchivedPayload, Ai as MAX_KEYBINDING_VALUE_LENGTH, An as VcsListRemotesResult, Ao as EnvironmentCloudLinkStateResult, Ar as ServerSignalProcessInput, As as OrchestrationReadModel, At as GitPreparePullRequestThreadInput, Au as AuthTokenExchangeRequest, B as WsSubscribeVcsStatusRpc, Ba as DesktopSshBearerRequestInputSchema, Bc as ProviderOptionChoice, Bi as THREAD_KEYBINDING_COMMANDS, Bl as ExecutionEnvironmentPlatform, Bn as ServerConfig, Bo as EnvironmentInternalError, Br as ServerUpsertKeybindingResult, Bs as OrchestrationThread, Bt as VcsCreateRefResult, Bu as CheckpointRef, C as WsServerGetSettingsRpc, Ca as TerminalSessionSnapshot, Cc as ThreadSessionSetPayload, Ci as KeybindingShortcut, Cn as SourceControlRepositoryVisibility, Co as EnvironmentAuthHttpApi, Cr as ServerProviderUpdateStatus, Cs as OrchestrationLatestTurn, Ct as GitActionProgressEvent, Cu as AuthReviewWriteScope, D as WsServerSignalProcessRpc, Da as TerminalWriteInput, Dc as ThreadTurnInterruptRequestedPayload, Di as KeybindingsConfig, Dn as VcsError, Do as EnvironmentAuthenticatedPrincipal, Dr as ServerProviders, Ds as OrchestrationProjectShell, Dt as GitCommandError, Du as AuthStandardClientScopes, E as WsServerRemoveKeybindingRpc, Ea as TerminalThreadInput, Ec as ThreadTurnDiffCompletedPayload, Ei as KeybindingWhenNode, En as VcsDriverKind, Eo as EnvironmentAuthenticatedAuth, Er as ServerProviderVersionAdvisoryStatus, Es as OrchestrationProject, Et as GitActionProgressStream, Eu as AuthSessionState, F as WsSubscribeAuthAccessRpc, Fa as DesktopRuntimeArchSchema, Fc as DEFAULT_MODEL, Fi as MODEL_PICKER_KEYBINDING_COMMANDS, Fn as VcsProcessTimeoutError, Fo as EnvironmentHttpCommonError, Fr as ServerTraceDiagnosticsRecentFailure, Fs as OrchestrationSessionStatus, Ft as GitRunStackedActionResult, Fu as ServerAuthPolicy, G as WsTerminalResizeRpc, Ga as DesktopSshEnvironmentTargetSchema, Gc as ProviderOptionSelections, Gi as ProviderRuntimeEventV2, Gl as ScopedProjectRef, Gn as ServerConfigStreamEvent, Go as EnvironmentOrchestrationHttpApi, Gr as CodexSettings, Gs as OrchestrationThreadStreamItem, Gt as VcsListRefsResult, Gu as MessageId, H as WsTerminalClearRpc, Ha as DesktopSshEnvironmentEnsureInputSchema, Hc as ProviderOptionDescriptorType, Hi as CanonicalRequestType, Hl as ExecutionEnvironmentPlatformOs, Hn as ServerConfigKeybindingsUpdatedPayload, Ho as EnvironmentMetadataHttpApi, Hr as ClaudeSettings, Hs as OrchestrationThreadActivityTone, Ht as VcsCreateWorktreeResult, Hu as EnvironmentId, I as WsSubscribeServerConfigRpc, Ia as DesktopRuntimeInfoSchema, Ic as DEFAULT_MODEL_BY_PROVIDER, Ii as ResolvedKeybindingRule, In as VcsRemote, Io as EnvironmentHttpConflictError, Ir as ServerTraceDiagnosticsResult, Is as OrchestrationShellSnapshot, It as GitRunStackedActionToastRunAction, Iu as ServerAuthSessionMethod, J as WsVcsCreateRefRpc, Ja as DesktopSshPasswordPromptCancelledResultSchema, Jc as ProviderInstanceConfig, Ji as TOOL_LIFECYCLE_ITEM_TYPES, Jl as AuthAccessReadScope, Jn as ServerConfigStreamSettingsUpdatedEvent, Jo as EnvironmentScopeRequiredError, Jr as DEFAULT_CLIENT_SETTINGS, Js as PROVIDER_SEND_TURN_MAX_INPUT_CHARS, Jt as VcsRef, Ju as PositiveInt, K as WsTerminalRestartRpc, Ka as DesktopSshHostSourceSchema, Kc as SelectProviderOptionDescriptor, Ki as ProviderRuntimeTurnStatus, Kl as ScopedThreadRef, Kn as ServerConfigStreamKeybindingsUpdatedEvent, Ko as EnvironmentRequestInvalidError, Kr as CursorSettings, Ks as PROVIDER_SEND_TURN_MAX_ATTACHMENTS, Kt as VcsPullInput, Ku as NonNegativeInt, L as WsSubscribeServerLifecycleRpc, La as DesktopServerExposureModeSchema, Lc as MODEL_SLUG_ALIASES_BY_PROVIDER, Li as ResolvedKeybindingsConfig, Ll as EnvironmentConnectionState, Ln as VcsRepositoryDetectionError, Lo as EnvironmentHttpForbiddenError, Lr as ServerTraceDiagnosticsSpanOccurrence, Ls as OrchestrationShellStreamEvent, Lt as GitStackedAction, M as WsSourceControlCloneRepositoryRpc, Ma as DesktopCloudAuthFetchResultSchema, Mc as BooleanProviderOptionDescriptor, Mi as MAX_SCRIPT_ID_LENGTH, Mn as VcsOutputDecodeError, Mo as EnvironmentCloudRelayConfigResult, Mr as ServerTraceDiagnosticsErrorKind, Ms as OrchestrationReplayEventsInput, Mt as GitPullRequestRefInput, Mu as EnvironmentAuthorizationError, N as WsSourceControlLookupRepositoryRpc, Na as DesktopDiscoveredSshHostSchema, Nc as DEFAULT_GIT_TEXT_GENERATION_MODEL, Ni as MAX_WHEN_EXPRESSION_DEPTH, Nn as VcsProcessExitError, No as EnvironmentHttpApi, Nr as ServerTraceDiagnosticsFailureSummary, Ns as OrchestrationRpcSchemas, Nt as GitResolvePullRequestResult, Nu as ServerAuthBootstrapMethod, O as WsServerUpdateProviderRpc, Oa as ContextMenuItemSchema, Oc as ThreadTurnStartCommand, Oi as KeybindingsConfigError, On as VcsFreshness, Oo as EnvironmentCloudEndpointUnavailableError, Or as ServerRemoveKeybindingInput, Os as OrchestrationProposedPlan, Ot as GitManagerError, Ou as AuthTerminalOperateScope, P as WsSourceControlPublishRepositoryRpc, Pa as DesktopEnvironmentBootstrapSchema, Pc as DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, Pi as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, Pn as VcsProcessSpawnError, Po as EnvironmentHttpBadRequestError, Pr as ServerTraceDiagnosticsLogEvent, Ps as OrchestrationSession, Pt as GitRunStackedActionInput, Pu as ServerAuthDescriptor, Q as WsVcsPullRpc, Qa as DesktopThemeSchema, Qc as ProviderInstanceEnvironmentVariableName, Qi as isToolLifecycleItemType, Ql as AuthAccessStreamError, Qn as ServerLifecycleStreamEvent, Qo as ClientOrchestrationCommand, Qr as DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, Qs as ProjectMetaUpdatedPayload, Qt as VcsStatusRemoteResult, Qu as RuntimeRequestId, R as WsSubscribeTerminalEventsRpc, Ra as DesktopServerExposureStateSchema, Rc as ModelCapabilities, Ri as SCRIPT_RUN_COMMAND_PATTERN, Rl as ExecutionEnvironmentCapabilities, Rn as VcsRepositoryIdentity, Ro as EnvironmentHttpInternalServerError, Rr as ServerTraceDiagnosticsSpanSummary, Rs as OrchestrationShellStreamItem, Rt as TextGenerationError, Ru as ApprovalRequestId, S as WsServerGetProcessResourceHistoryRpc, Sa as TerminalSessionLookupError, Sc as ThreadRuntimeModeSetPayload, Si as KeybindingRule, Sn as SourceControlRepositoryLookupInput, So as AuthPairingLinkRevokeResult, Sr as ServerProviderUpdateState, Ss as OrchestrationGetTurnDiffResult, St as ProjectWriteFileResult, Su as AuthRelayWriteScope, T as WsServerRefreshProvidersRpc, Ta as TerminalSummary, Tc as ThreadTurnDiff, Ti as KeybindingWhen, Tn as VcsDriverCapabilities, To as EnvironmentAuthInvalidReason, Tr as ServerProviderVersionAdvisory, Ts as OrchestrationMessageRole, Tt as GitActionProgressPhase, Tu as AuthRevokePairingLinkInput, U as WsTerminalCloseRpc, Ua as DesktopSshEnvironmentEnsureOptionsSchema, Uc as ProviderOptionSelection, Ui as ItemLifecyclePayload, Ul as RepositoryIdentity, Un as ServerConfigProviderStatusesPayload, Uo as EnvironmentOperationForbiddenError, Ur as ClientSettingsPatch, Us as OrchestrationThreadDetailSnapshot, Ut as VcsInitInput, Uu as EventId, V as WsTerminalAttachRpc, Va as DesktopSshEnvironmentBootstrapSchema, Vc as ProviderOptionDescriptor, Vi as CanonicalItemType, Vl as ExecutionEnvironmentPlatformArch, Vn as ServerConfigIssue, Vo as EnvironmentInternalErrorReason, Vr as isProviderAvailable, Vs as OrchestrationThreadActivity, Vt as VcsCreateWorktreeInput, Vu as CommandId, W as WsTerminalOpenRpc, Wa as DesktopSshEnvironmentEnsureResultSchema, Wc as ProviderOptionSelectionValue, Wi as ProviderRuntimeEvent, Wl as RepositoryIdentityLocator, Wn as ServerConfigSettingsUpdatedPayload, Wo as EnvironmentOperationForbiddenReason, Wr as ClientSettingsSchema, Ws as OrchestrationThreadShell, Wt as VcsListRefsInput, Wu as IsoDateTime, X as WsVcsInitRpc, Xa as DesktopSshPasswordPromptRequestSchema, Xc as ProviderInstanceEnvironment, Xi as ToolLifecycleItemType, Xl as AuthAccessStreamClientRemovedEvent, Xn as ServerConfigUpdatedPayload, Xo as ChatAttachment, Xr as DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, Xs as ProjectCreatedPayload, Xt as VcsStatusInput, Xu as ProviderItemId, Y as WsVcsCreateWorktreeRpc, Ya as DesktopSshPasswordPromptCancelledType, Yc as ProviderInstanceConfigMap, Yi as ThreadTokenUsageSnapshot, Yl as AuthAccessSnapshot, Yn as ServerConfigStreamSnapshotEvent, Yo as AssistantDeliveryMode, Yr as DEFAULT_SERVER_SETTINGS, Ys as ProjectCreateCommand, Yt as VcsRemoveWorktreeInput, Yu as ProjectId, Z as WsVcsListRefsRpc, Za as DesktopSshPasswordPromptResolutionInputSchema, Zc as ProviderInstanceEnvironmentVariable, Zi as UserInputQuestion, Zl as AuthAccessStreamClientUpsertedEvent, Zn as ServerLifecycleReadyPayload, Zo as ChatImageAttachment, Zr as DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, Zs as ProjectDeletedPayload, Zt as VcsStatusLocalResult, Zu as RuntimeItemId, _ as WsReviewGetDiffPreviewRpc, _a as TerminalMetadataStreamEvent, _c as ThreadInteractionModeSetPayload, _i as EditorId, _n as SourceControlPublishRepositoryResult, _o as RelayClientInstallProgressEventSchema, _r as ServerProviderSlashCommand, _s as OrchestrationGetFullThreadDiffInput, _t as ProjectSearchEntriesError, _u as AuthOrchestrationOperateScope, a as WsGitPreparePullRequestThreadRpc, aa as ProviderSessionStartInput, ac as ProviderInteractionMode, ai as OpenCodeSettings, an as SourceControlCloneProtocol, ao as PickFolderOptionsSchema, ar as ServerProcessResourceHistoryBucket, as as OrchestrationActorKind, au as AuthAccessWriteScope, b as WsServerGetConfigRpc, ba as TerminalResizeInput, bc as ThreadProposedPlanUpsertedPayload, bi as LaunchEditorInput, bn as SourceControlRepositoryError, bo as AuthClientSessionRevokeResult, br as ServerProviderUpdateError, bs as OrchestrationGetTurnDiffError, bt as ProjectWriteFileError, bu as AuthPairingLink, c as WsOrchestrationDispatchCommandRpc, ca as DEFAULT_TERMINAL_ID, cc as ProviderSessionRuntimeStatus, ci as ServerSettingsPatch, cn as SourceControlDiscoveryResult, co as AdvertisedEndpointHostedHttpsCompatibility, cr as ServerProcessResourceHistorySummary, cs as OrchestrationCheckpointStatus, ct as ReviewDiffPreviewInput, cu as AuthBrowserSessionResult, d as WsOrchestrationGetTurnDiffRpc, da as TerminalClearInput, dc as ThreadActivityAppendedPayload, di as SidebarThreadPreviewCount, dn as SourceControlProviderAuthStatus, do as AdvertisedEndpointReachability, dr as ServerProviderAuth, ds as OrchestrationCommandReceiptStatus, dt as ReviewDiffPreviewSourceKind, du as AuthClientPresentationMetadata, ea as ProviderInterruptTurnInput, ec as ProjectScriptIcon, ed as RuntimeTaskId, ei as DEFAULT_TIMESTAMP_FORMAT, el as ProviderInstanceRef, en as VcsStatusStreamEvent, eo as DesktopUpdateChannelSchema, er as ServerLifecycleStreamWelcomeEvent, es as DEFAULT_PROVIDER_INTERACTION_MODE, et as WsVcsRemoveWorktreeRpc, eu as AuthAccessStreamPairingLinkRemovedEvent, f as WsOrchestrationReplayEventsRpc, fa as TerminalCloseInput, fc as ThreadApprovalResponseRequestedPayload, fi as SidebarThreadSortOrder, fn as SourceControlProviderDiscoveryItem, fo as AdvertisedEndpointSource, fr as ServerProviderAuthStatus, fs as OrchestrationDispatchCommandError, ft as FilesystemBrowseEntry, fu as AuthClientSession, g as WsProjectsWriteFileRpc, ga as TerminalHistoryError, gc as ThreadDeletedPayload, gi as EDITORS, gn as SourceControlPublishRepositoryInput, go as RelayClientInstallFailureReasonSchema, gr as ServerProviderSkill, gs as OrchestrationGetFullThreadDiffError, gt as ProjectEntry, gu as AuthEnvironmentScopes, h as WsProjectsSearchEntriesRpc, ha as TerminalEvent, hc as ThreadCreatedPayload, hi as makeProviderSettingsSchema, hn as SourceControlProviderKind, ho as RelayClientInstallFailedError, hr as ServerProviderModel, hs as OrchestrationEventType, ht as FilesystemBrowseResult, hu as AuthEnvironmentScope, i as WsFilesystemBrowseRpc, ia as ProviderSession, ic as ProviderApprovalPolicy, id as TurnId, ii as ObservabilitySettings, in as ChangeRequestState, io as PersistedSavedEnvironmentRecordSchema, ir as ServerProcessDiagnosticsResult, is as ORCHESTRATION_WS_METHODS, iu as AuthAccessTokenType, j as WsShellOpenInEditorRpc, ja as DesktopCloudAuthFetchInputSchema, jc as TurnCountRange, ji as MAX_KEYBINDING_WHEN_LENGTH, jn as VcsListWorkspaceFilesResult, jo as EnvironmentCloudPreferencesRequest, jr as ServerSignalProcessResult, js as OrchestrationReplayEventsError, jt as GitPreparePullRequestThreadResult, ju as AuthWebSocketTicketResult, k as WsServerUpdateSettingsRpc, ka as DesktopAppBrandingSchema, kc as ThreadTurnStartRequestedPayload, ki as MAX_KEYBINDINGS_COUNT, kn as VcsFreshnessSource, ko as EnvironmentCloudHttpApi, kr as ServerRemoveKeybindingResult, ks as OrchestrationProposedPlanId, kt as GitManagerServiceError, ku as AuthTokenExchangeGrantType, l as WsOrchestrationGetArchivedShellSnapshotRpc, la as TerminalAttachInput, lc as ProviderUserInputAnswers, li as SidebarProjectGroupingMode, ln as SourceControlDiscoveryStatus, lo as AdvertisedEndpointProvider, lr as ServerProcessSignal, ls as OrchestrationCheckpointSummary, lt as ReviewDiffPreviewResult, lu as AuthClientMetadata, m as WsOrchestrationSubscribeThreadRpc, ma as TerminalError, mc as ThreadCheckpointRevertRequestedPayload, mi as TimestampFormat, mn as SourceControlProviderInfo, mo as DesktopBackendBootstrap, mr as ServerProviderContinuation, ms as OrchestrationEventMetadata, mt as FilesystemBrowseInput, mu as AuthEnvironmentBootstrapTokenType, n as WsCloudGetRelayClientStatusRpc, na as ProviderRespondToUserInputInput, nc as ProjectionPendingApprovalStatus, nd as TrimmedNonEmptyString, ni as MAX_SIDEBAR_THREAD_PREVIEW_COUNT, nl as isProviderDriverKind, nn as VcsSwitchRefResult, no as DesktopUpdateStateSchema, nr as ServerObservability, ns as DispatchResult, nu as AuthAccessStreamSnapshotEvent, o as WsGitResolvePullRequestRpc, oa as ProviderStopSessionInput, oc as ProviderRequestKind, oi as ServerSettings, on as SourceControlCloneRepositoryInput, oo as AdvertisedEndpoint, or as ServerProcessResourceHistoryInput, os as OrchestrationAggregateKind, ou as AuthAdministrativeScopes, p as WsOrchestrationSubscribeShellRpc, pa as TerminalCwdError, pc as ThreadArchivedPayload, pi as ThreadEnvMode, pn as SourceControlProviderError, po as AdvertisedEndpointStatus, pr as ServerProviderAvailability, ps as OrchestrationEvent, pt as FilesystemBrowseError, pu as AuthCreatePairingCredentialInput, q as WsTerminalWriteRpc, qa as DesktopSshHttpBaseUrlInputSchema, qc as ProviderDriverKind, qi as RuntimeEventRaw, ql as ScopedThreadSessionRef, qn as ServerConfigStreamProviderStatusesEvent, qo as EnvironmentRequestInvalidReason, qr as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, qs as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, qt as VcsPullResult, qu as PortSchema, r as WsCloudInstallRelayClientRpc, ra as ProviderSendTurnInput, rc as ProviderApprovalDecision, rd as TrimmedString, ri as MIN_SIDEBAR_THREAD_PREVIEW_COUNT, rn as ChangeRequest, ro as DesktopUpdateStatusSchema, rr as ServerProcessDiagnosticsEntry, rs as ModelSelection, ru as AuthAccessTokenResult, s as WsGitRunStackedActionRpc, sa as ProviderTurnStartResult, sc as ProviderSandboxMode, si as ServerSettingsError, sn as SourceControlCloneRepositoryResult, so as AdvertisedEndpointCompatibility, sr as ServerProcessResourceHistoryResult, ss as OrchestrationCheckpointFile, st as ReviewDiffPreviewError, su as AuthBrowserSessionRequest, t as WS_METHODS, ta as ProviderRespondToRequestInput, tc as ProjectionPendingApprovalDecision, td as ThreadId, ti as DEFAULT_UNIFIED_SETTINGS, tl as defaultInstanceIdForDriver, tn as VcsSwitchRefInput, to as DesktopUpdateCheckResultSchema, tr as ServerLifecycleWelcomePayload, ts as DEFAULT_RUNTIME_MODE, tt as WsVcsSwitchRefRpc, tu as AuthAccessStreamPairingLinkUpsertedEvent, u as WsOrchestrationGetFullThreadDiffRpc, ua as TerminalAttachStreamEvent, uc as RuntimeMode, ui as SidebarProjectSortOrder, un as SourceControlProviderAuth, uo as AdvertisedEndpointProviderKind, ur as ServerProvider, us as OrchestrationCommand, ut as ReviewDiffPreviewSource, uu as AuthClientMetadataDeviceType, v as WsRpcGroup, va as TerminalNotRunningError, vc as ThreadMessageSentPayload, vi as EditorLaunchStyle, vn as SourceControlPublishStatus, vo as RelayClientInstallProgressStageSchema, vr as ServerProviderSlashCommandInput, vs as OrchestrationGetFullThreadDiffResult, vt as ProjectSearchEntriesInput, vu as AuthOrchestrationReadScope, w as WsServerGetTraceDiagnosticsRpc, wa as TerminalSessionStatus, wc as ThreadSessionStopRequestedPayload, wi as KeybindingValue, wn as VcsDiscoveryItem, wo as EnvironmentAuthInvalidError, wr as ServerProviderUpdatedPayload, ws as OrchestrationMessage, wt as GitActionProgressKind, wu as AuthRevokeClientSessionInput, x as WsServerGetProcessDiagnosticsRpc, xa as TerminalRestartInput, xc as ThreadRevertedPayload, xi as KeybindingCommand, xn as SourceControlRepositoryInfo, xo as AuthOtherClientSessionsRevokeResult, xr as ServerProviderUpdateInput, xs as OrchestrationGetTurnDiffInput, xt as ProjectWriteFileInput, xu as AuthRelayReadScope, y as WsServerDiscoverSourceControlRpc, ya as TerminalOpenInput, yc as ThreadMetaUpdatedPayload, yi as ExternalLauncherError, yn as SourceControlRepositoryCloneUrls, yo as RelayClientStatusSchema, yr as ServerProviderState, ys as OrchestrationGetSnapshotError, yt as ProjectSearchEntriesResult, yu as AuthPairingCredentialResult, z as WsSubscribeTerminalMetadataRpc, za as DesktopSshBearerBootstrapInputSchema, zc as PROVIDER_DISPLAY_NAMES, zi as THREAD_JUMP_KEYBINDING_COMMANDS, zl as ExecutionEnvironmentDescriptor, zn as VcsUnsupportedOperationError, zo as EnvironmentHttpUnauthorizedError, zr as ServerUpsertKeybindingInput, zs as OrchestrationSubscribeThreadInput, zt as VcsCreateRefInput, zu as AuthSessionId } from "./src-KdbHqrex.js";
2
- export { AdvertisedEndpoint, AdvertisedEndpointCompatibility, AdvertisedEndpointHostedHttpsCompatibility, AdvertisedEndpointProvider, AdvertisedEndpointProviderKind, AdvertisedEndpointReachability, AdvertisedEndpointSource, AdvertisedEndpointStatus, ApprovalRequestId, AssistantDeliveryMode, AuthAccessReadScope, AuthAccessSnapshot, AuthAccessStreamClientRemovedEvent, AuthAccessStreamClientUpsertedEvent, AuthAccessStreamError, AuthAccessStreamEvent, AuthAccessStreamPairingLinkRemovedEvent, AuthAccessStreamPairingLinkUpsertedEvent, AuthAccessStreamSnapshotEvent, AuthAccessTokenResult, AuthAccessTokenType, AuthAccessWriteScope, AuthAdministrativeScopes, AuthBrowserSessionRequest, AuthBrowserSessionResult, AuthClientMetadata, AuthClientMetadataDeviceType, AuthClientPresentationMetadata, AuthClientSession, AuthClientSessionRevokeResult, AuthCreatePairingCredentialInput, AuthEnvironmentBootstrapTokenType, AuthEnvironmentScope, AuthEnvironmentScopes, AuthOrchestrationOperateScope, AuthOrchestrationReadScope, AuthOtherClientSessionsRevokeResult, AuthPairingCredentialResult, AuthPairingLink, AuthPairingLinkRevokeResult, AuthRelayReadScope, AuthRelayWriteScope, AuthReviewWriteScope, AuthRevokeClientSessionInput, AuthRevokePairingLinkInput, AuthSessionId, AuthSessionState, AuthStandardClientScopes, AuthTerminalOperateScope, AuthTokenExchangeGrantType, AuthTokenExchangeRequest, AuthWebSocketTicketResult, BooleanProviderOptionDescriptor, CanonicalItemType, CanonicalRequestType, ChangeRequest, ChangeRequestState, ChatAttachment, ChatImageAttachment, CheckpointRef, ClaudeSettings, ClientOrchestrationCommand, ClientSettingsPatch, ClientSettingsSchema, CodexSettings, CommandId, ContextMenuItemSchema, CorrelationId, CursorSettings, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, DEFAULT_CLIENT_SETTINGS, DEFAULT_GIT_TEXT_GENERATION_MODEL, DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, DEFAULT_MODEL, DEFAULT_MODEL_BY_PROVIDER, DEFAULT_PROVIDER_INTERACTION_MODE, DEFAULT_RUNTIME_MODE, DEFAULT_SERVER_SETTINGS, DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, DEFAULT_SIDEBAR_THREAD_SORT_ORDER, DEFAULT_TERMINAL_ID, DEFAULT_TIMESTAMP_FORMAT, DEFAULT_UNIFIED_SETTINGS, DesktopAppBrandingSchema, DesktopAppStageLabelSchema, DesktopBackendBootstrap, DesktopCloudAuthFetchInputSchema, DesktopCloudAuthFetchResultSchema, DesktopDiscoveredSshHostSchema, DesktopEnvironmentBootstrapSchema, DesktopRuntimeArchSchema, DesktopRuntimeInfoSchema, DesktopServerExposureModeSchema, DesktopServerExposureStateSchema, DesktopSshBearerBootstrapInputSchema, DesktopSshBearerRequestInputSchema, DesktopSshEnvironmentBootstrapSchema, DesktopSshEnvironmentEnsureInputSchema, DesktopSshEnvironmentEnsureOptionsSchema, DesktopSshEnvironmentEnsureResultSchema, DesktopSshEnvironmentTargetSchema, DesktopSshHostSourceSchema, DesktopSshHttpBaseUrlInputSchema, DesktopSshPasswordPromptCancelledResultSchema, DesktopSshPasswordPromptCancelledType, DesktopSshPasswordPromptRequestSchema, DesktopSshPasswordPromptResolutionInputSchema, DesktopThemeSchema, DesktopUpdateActionResultSchema, DesktopUpdateChannelSchema, DesktopUpdateCheckResultSchema, DesktopUpdateStateSchema, DesktopUpdateStatusSchema, DispatchResult, EDITORS, EditorId, EditorLaunchStyle, EnvironmentAuthHttpApi, EnvironmentAuthInvalidError, EnvironmentAuthInvalidReason, EnvironmentAuthenticatedAuth, EnvironmentAuthenticatedPrincipal, EnvironmentAuthorizationError, EnvironmentCloudEndpointUnavailableError, EnvironmentCloudHttpApi, EnvironmentCloudLinkStateResult, EnvironmentCloudPreferencesRequest, EnvironmentCloudRelayConfigResult, EnvironmentConnectionState, EnvironmentHttpApi, EnvironmentHttpBadRequestError, EnvironmentHttpCommonError, EnvironmentHttpConflictError, EnvironmentHttpForbiddenError, EnvironmentHttpInternalServerError, EnvironmentHttpUnauthorizedError, EnvironmentId, EnvironmentInternalError, EnvironmentInternalErrorReason, EnvironmentMetadataHttpApi, EnvironmentOperationForbiddenError, EnvironmentOperationForbiddenReason, EnvironmentOrchestrationHttpApi, EnvironmentRequestInvalidError, EnvironmentRequestInvalidReason, EnvironmentScopeRequiredError, EventId, ExecutionEnvironmentCapabilities, ExecutionEnvironmentDescriptor, ExecutionEnvironmentPlatform, ExecutionEnvironmentPlatformArch, ExecutionEnvironmentPlatformOs, ExternalLauncherError, FilesystemBrowseEntry, FilesystemBrowseError, FilesystemBrowseInput, FilesystemBrowseResult, GitActionProgressEvent, GitActionProgressKind, GitActionProgressPhase, GitActionProgressStream, GitCommandError, GitManagerError, GitManagerServiceError, GitPreparePullRequestThreadInput, GitPreparePullRequestThreadResult, GitPullRequestRefInput, GitResolvePullRequestResult, GitRunStackedActionInput, GitRunStackedActionResult, GitRunStackedActionToastRunAction, GitStackedAction, IsoDateTime, ItemLifecyclePayload, KeybindingCommand, KeybindingRule, KeybindingShortcut, KeybindingValue, KeybindingWhen, KeybindingWhenNode, KeybindingsConfig, KeybindingsConfigError, LaunchEditorInput, MAX_KEYBINDINGS_COUNT, MAX_KEYBINDING_VALUE_LENGTH, MAX_KEYBINDING_WHEN_LENGTH, MAX_SCRIPT_ID_LENGTH, MAX_SIDEBAR_THREAD_PREVIEW_COUNT, MAX_WHEN_EXPRESSION_DEPTH, MIN_SIDEBAR_THREAD_PREVIEW_COUNT, MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, MODEL_PICKER_KEYBINDING_COMMANDS, MODEL_SLUG_ALIASES_BY_PROVIDER, MessageId, ModelCapabilities, ModelSelection, NonNegativeInt, ORCHESTRATION_WS_METHODS, ObservabilitySettings, OpenCodeSettings, OrchestrationActorKind, OrchestrationAggregateKind, OrchestrationCheckpointFile, OrchestrationCheckpointStatus, OrchestrationCheckpointSummary, OrchestrationCommand, OrchestrationCommandReceiptStatus, OrchestrationDispatchCommandError, OrchestrationEvent, OrchestrationEventMetadata, OrchestrationEventType, OrchestrationGetFullThreadDiffError, OrchestrationGetFullThreadDiffInput, OrchestrationGetFullThreadDiffResult, OrchestrationGetSnapshotError, OrchestrationGetTurnDiffError, OrchestrationGetTurnDiffInput, OrchestrationGetTurnDiffResult, OrchestrationLatestTurn, OrchestrationMessage, OrchestrationMessageRole, OrchestrationProject, OrchestrationProjectShell, OrchestrationProposedPlan, OrchestrationProposedPlanId, OrchestrationReadModel, OrchestrationReplayEventsError, OrchestrationReplayEventsInput, OrchestrationRpcSchemas, OrchestrationSession, OrchestrationSessionStatus, OrchestrationShellSnapshot, OrchestrationShellStreamEvent, OrchestrationShellStreamItem, OrchestrationSubscribeThreadInput, OrchestrationThread, OrchestrationThreadActivity, OrchestrationThreadActivityTone, OrchestrationThreadDetailSnapshot, OrchestrationThreadShell, OrchestrationThreadStreamItem, PROVIDER_DISPLAY_NAMES, PROVIDER_SEND_TURN_MAX_ATTACHMENTS, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, PROVIDER_SEND_TURN_MAX_INPUT_CHARS, PersistedSavedEnvironmentRecordSchema, PickFolderOptionsSchema, PortSchema, PositiveInt, ProjectCreateCommand, ProjectCreatedPayload, ProjectDeletedPayload, ProjectEntry, ProjectId, ProjectMetaUpdatedPayload, ProjectScript, ProjectScriptIcon, ProjectSearchEntriesError, ProjectSearchEntriesInput, ProjectSearchEntriesResult, ProjectWriteFileError, ProjectWriteFileInput, ProjectWriteFileResult, ProjectionPendingApprovalDecision, ProjectionPendingApprovalStatus, ProviderApprovalDecision, ProviderApprovalPolicy, ProviderDriverKind, ProviderEvent, ProviderInstanceConfig, ProviderInstanceConfigMap, ProviderInstanceEnvironment, ProviderInstanceEnvironmentVariable, ProviderInstanceEnvironmentVariableName, ProviderInstanceId, ProviderInstanceRef, ProviderInteractionMode, ProviderInterruptTurnInput, ProviderItemId, ProviderOptionChoice, ProviderOptionDescriptor, ProviderOptionDescriptorType, ProviderOptionSelection, ProviderOptionSelectionValue, ProviderOptionSelections, ProviderRequestKind, ProviderRespondToRequestInput, ProviderRespondToUserInputInput, ProviderRuntimeEvent, ProviderRuntimeEventV2, ProviderRuntimeTurnStatus, ProviderSandboxMode, ProviderSendTurnInput, ProviderSession, ProviderSessionRuntimeStatus, ProviderSessionStartInput, ProviderStopSessionInput, ProviderTurnStartResult, ProviderUserInputAnswers, RelayClientInstallFailedError, RelayClientInstallFailureReasonSchema, RelayClientInstallProgressEventSchema, RelayClientInstallProgressStageSchema, RelayClientStatusSchema, RepositoryIdentity, RepositoryIdentityLocator, ResolvedKeybindingRule, ResolvedKeybindingsConfig, ReviewDiffPreviewError, ReviewDiffPreviewInput, ReviewDiffPreviewResult, ReviewDiffPreviewSource, ReviewDiffPreviewSourceKind, RuntimeEventRaw, RuntimeItemId, RuntimeMode, RuntimeRequestId, RuntimeSessionId, RuntimeTaskId, SCRIPT_RUN_COMMAND_PATTERN, ScopedProjectRef, ScopedThreadRef, ScopedThreadSessionRef, SelectProviderOptionDescriptor, ServerAuthBootstrapMethod, ServerAuthDescriptor, ServerAuthPolicy, ServerAuthSessionMethod, ServerConfig, ServerConfigIssue, ServerConfigKeybindingsUpdatedPayload, ServerConfigProviderStatusesPayload, ServerConfigSettingsUpdatedPayload, ServerConfigStreamEvent, ServerConfigStreamKeybindingsUpdatedEvent, ServerConfigStreamProviderStatusesEvent, ServerConfigStreamSettingsUpdatedEvent, ServerConfigStreamSnapshotEvent, ServerConfigUpdatedPayload, ServerLifecycleReadyPayload, ServerLifecycleStreamEvent, ServerLifecycleStreamReadyEvent, ServerLifecycleStreamWelcomeEvent, ServerLifecycleWelcomePayload, ServerObservability, ServerProcessDiagnosticsEntry, ServerProcessDiagnosticsResult, ServerProcessResourceHistoryBucket, ServerProcessResourceHistoryInput, ServerProcessResourceHistoryResult, ServerProcessResourceHistorySummary, ServerProcessSignal, ServerProvider, ServerProviderAuth, ServerProviderAuthStatus, ServerProviderAvailability, ServerProviderContinuation, ServerProviderModel, ServerProviderSkill, ServerProviderSlashCommand, ServerProviderSlashCommandInput, ServerProviderState, ServerProviderUpdateError, ServerProviderUpdateInput, ServerProviderUpdateState, ServerProviderUpdateStatus, ServerProviderUpdatedPayload, ServerProviderVersionAdvisory, ServerProviderVersionAdvisoryStatus, ServerProviders, ServerRemoveKeybindingInput, ServerRemoveKeybindingResult, ServerSettings, ServerSettingsError, ServerSettingsPatch, ServerSignalProcessInput, ServerSignalProcessResult, ServerTraceDiagnosticsErrorKind, ServerTraceDiagnosticsFailureSummary, ServerTraceDiagnosticsLogEvent, ServerTraceDiagnosticsRecentFailure, ServerTraceDiagnosticsResult, ServerTraceDiagnosticsSpanOccurrence, ServerTraceDiagnosticsSpanSummary, ServerUpsertKeybindingInput, ServerUpsertKeybindingResult, SidebarProjectGroupingMode, SidebarProjectSortOrder, SidebarThreadPreviewCount, SidebarThreadSortOrder, SourceControlCloneProtocol, SourceControlCloneRepositoryInput, SourceControlCloneRepositoryResult, SourceControlDiscoveryResult, SourceControlDiscoveryStatus, SourceControlProviderAuth, SourceControlProviderAuthStatus, SourceControlProviderDiscoveryItem, SourceControlProviderError, SourceControlProviderInfo, SourceControlProviderKind, SourceControlPublishRepositoryInput, SourceControlPublishRepositoryResult, SourceControlPublishStatus, SourceControlRepositoryCloneUrls, SourceControlRepositoryError, SourceControlRepositoryInfo, SourceControlRepositoryLookupInput, SourceControlRepositoryVisibility, THREAD_JUMP_KEYBINDING_COMMANDS, THREAD_KEYBINDING_COMMANDS, TOOL_LIFECYCLE_ITEM_TYPES, TerminalAttachInput, TerminalAttachStreamEvent, TerminalClearInput, TerminalCloseInput, TerminalCwdError, TerminalError, TerminalEvent, TerminalHistoryError, TerminalMetadataStreamEvent, TerminalNotRunningError, TerminalOpenInput, TerminalResizeInput, TerminalRestartInput, TerminalSessionLookupError, TerminalSessionSnapshot, TerminalSessionStatus, TerminalSummary, TerminalThreadInput, TerminalWriteInput, TextGenerationError, ThreadActivityAppendedPayload, ThreadApprovalResponseRequestedPayload, ThreadArchivedPayload, ThreadCheckpointRevertRequestedPayload, ThreadCreatedPayload, ThreadDeletedPayload, ThreadEnvMode, ThreadId, ThreadInteractionModeSetPayload, ThreadMessageSentPayload, ThreadMetaUpdatedPayload, ThreadProposedPlanUpsertedPayload, ThreadRevertedPayload, ThreadRuntimeModeSetPayload, ThreadSessionSetPayload, ThreadSessionStopRequestedPayload, ThreadTokenUsageSnapshot, ThreadTurnDiff, ThreadTurnDiffCompletedPayload, ThreadTurnInterruptRequestedPayload, ThreadTurnStartCommand, ThreadTurnStartRequestedPayload, ThreadUnarchivedPayload, TimestampFormat, ToolLifecycleItemType, TrimmedNonEmptyString, TrimmedString, TurnCountRange, TurnId, UserInputQuestion, VcsCreateRefInput, VcsCreateRefResult, VcsCreateWorktreeInput, VcsCreateWorktreeResult, VcsDiscoveryItem, VcsDriverCapabilities, VcsDriverKind, VcsError, VcsFreshness, VcsFreshnessSource, VcsInitInput, VcsListRefsInput, VcsListRefsResult, VcsListRemotesResult, VcsListWorkspaceFilesResult, VcsOutputDecodeError, VcsProcessExitError, VcsProcessSpawnError, VcsProcessTimeoutError, VcsPullInput, VcsPullResult, VcsRef, VcsRemote, VcsRemoveWorktreeInput, VcsRepositoryDetectionError, VcsRepositoryIdentity, VcsStatusInput, VcsStatusLocalResult, VcsStatusRemoteResult, VcsStatusResult, VcsStatusStreamEvent, VcsSwitchRefInput, VcsSwitchRefResult, VcsUnsupportedOperationError, WS_METHODS, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsFilesystemBrowseRpc, WsGitPreparePullRequestThreadRpc, WsGitResolvePullRequestRpc, WsGitRunStackedActionRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetArchivedShellSnapshotRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsProjectsSearchEntriesRpc, WsProjectsWriteFileRpc, WsReviewGetDiffPreviewRpc, WsRpcGroup, WsServerDiscoverSourceControlRpc, WsServerGetConfigRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetSettingsRpc, WsServerGetTraceDiagnosticsRpc, WsServerRefreshProvidersRpc, WsServerRemoveKeybindingRpc, WsServerSignalProcessRpc, WsServerUpdateProviderRpc, WsServerUpdateSettingsRpc, WsServerUpsertKeybindingRpc, WsShellOpenInEditorRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSubscribeAuthAccessRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeTerminalEventsRpc, WsSubscribeTerminalMetadataRpc, WsSubscribeVcsStatusRpc, WsTerminalAttachRpc, WsTerminalClearRpc, WsTerminalCloseRpc, WsTerminalOpenRpc, WsTerminalResizeRpc, WsTerminalRestartRpc, WsTerminalWriteRpc, WsVcsCreateRefRpc, WsVcsCreateWorktreeRpc, WsVcsInitRpc, WsVcsListRefsRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsVcsRemoveWorktreeRpc, WsVcsSwitchRefRpc, defaultInstanceIdForDriver, isProviderAvailable, isProviderDriverKind, isToolLifecycleItemType, makeProviderSettingsSchema };
1
+ import { $ as WsCloudInstallRelayClientRpc, $a as ProviderSendTurnInput, $c as ProjectionPendingApprovalDecision, $i as OpenCodeSettings, $l as ProviderInstanceEnvironmentVariable, $n as SourceControlDiscoveryResult, $o as DesktopUpdateStatusSchema, $r as ServerProcessResourceHistorySummary, $s as ModelSelection, $t as ReviewDiffPreviewInput, $u as AuthWebSocketTicketResult, Aa as ResolvedKeybindingRule, Ac as OrchestrationSession, Ai as ServerUpsertKeybindingInput, Al as ThreadTurnStartCommand, An as VcsCreateRefInput, Ao as DesktopEnvironmentBootstrapSchema, Ar as VcsUnsupportedOperationError, As as EnvironmentHttpBadRequestError, At as WsSourceControlPublishRepositoryRpc, Au as AuthBrowserSessionResult, Ba as ProviderRuntimeThreadGoalStatus, Bc as OrchestrationThreadGoal, Bi as DEFAULT_CLIENT_SETTINGS, Bl as ModelCapabilities, Bn as VcsRemoveWorktreeInput, Bo as DesktopSshEnvironmentEnsureResultSchema, Br as ServerConfigStreamSnapshotEvent, Bs as EnvironmentOperationForbiddenReason, Bt as WsTerminalOpenRpc, Bu as AuthOrchestrationReadScope, Ca as MAX_KEYBINDINGS_COUNT, Cc as OrchestrationProjectShell, Cd as TrimmedNonEmptyString, Ci as ServerTraceDiagnosticsErrorKind, Cl as ThreadRevertedPayload, Cn as GitPullRequestRefInput, Co as TerminalWriteInput, Cr as VcsOutputDecodeError, Cs as EnvironmentAuthenticatedPrincipal, Ct as WsServerSignalProcessRpc, Cu as AuthAccessStreamPairingLinkUpsertedEvent, Da as MAX_WHEN_EXPRESSION_DEPTH, Dc as OrchestrationReplayEventsError, Di as ServerTraceDiagnosticsResult, Dl as ThreadTurnDiff, Dn as GitRunStackedActionToastRunAction, Do as DesktopCloudAuthFetchInputSchema, Dr as VcsRemote, Ds as EnvironmentCloudRelayConfigResult, Dt as WsShellOpenInEditorRpc, Du as AuthAccessWriteScope, Ea as MAX_SCRIPT_ID_LENGTH, Ec as OrchestrationReadModel, Ei as ServerTraceDiagnosticsRecentFailure, El as ThreadSessionStopRequestedPayload, En as GitRunStackedActionResult, Eo as DesktopAppStageLabelSchema, Er as VcsProcessTimeoutError, Es as EnvironmentCloudPreferencesRequest, Et as WsServerUpsertKeybindingRpc, Eu as AuthAccessTokenType, Fa as CanonicalItemType, Fc as OrchestrationSubscribeThreadInput, Fi as ClientSettingsSchema, Fl as DEFAULT_GIT_TEXT_GENERATION_MODEL, Fn as VcsListRefsInput, Fo as DesktopSshBearerBootstrapInputSchema, Fr as ServerConfigSettingsUpdatedPayload, Fs as EnvironmentHttpUnauthorizedError, Ft as WsSubscribeTerminalMetadataRpc, Fu as AuthCreatePairingCredentialInput, Ga as ToolLifecycleItemType, Gc as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, Gi as DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, Gl as ProviderOptionSelection, Gn as VcsStatusStreamEvent, Go as DesktopSshPasswordPromptCancelledType, Gr as ServerLifecycleStreamWelcomeEvent, Gs as AssistantDeliveryMode, Gt as WsVcsCreateWorktreeRpc, Gu as AuthReviewWriteScope, Ha as RuntimeEventRaw, Hc as OrchestrationThreadShell, Hi as DEFAULT_SERVER_SETTINGS, Hl as ProviderOptionChoice, Hn as VcsStatusLocalResult, Ho as DesktopSshHostSourceSchema, Hr as ServerLifecycleReadyPayload, Hs as EnvironmentRequestInvalidError, Ht as WsTerminalRestartRpc, Hu as AuthPairingLink, Ia as CanonicalRequestType, Ic as OrchestrationThread, Ii as CodexSettings, Il as DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, In as VcsListRefsResult, Io as DesktopSshBearerRequestInputSchema, Ir as ServerConfigStreamEvent, Is as EnvironmentInternalError, It as WsSubscribeVcsStatusRpc, Iu as AuthEnvironmentBootstrapTokenType, Ja as ProviderEvent, Jc as ProjectCreatedPayload, Ji as DEFAULT_UNIFIED_SETTINGS, Jl as SelectProviderOptionDescriptor, Jn as ChangeRequest, Jo as DesktopThemeSchema, Jr as ServerProcessDiagnosticsEntry, Js as ClientOrchestrationCommand, Jt as WsVcsPullRpc, Ju as AuthSessionState, Ka as UserInputQuestion, Kc as PROVIDER_SEND_TURN_MAX_INPUT_CHARS, Ki as DEFAULT_SIDEBAR_THREAD_SORT_ORDER, Kl as ProviderOptionSelectionValue, Kn as VcsSwitchRefInput, Ko as DesktopSshPasswordPromptRequestSchema, Kr as ServerLifecycleWelcomePayload, Ks as ChatAttachment, Kt as WsVcsInitRpc, Ku as AuthRevokeClientSessionInput, La as ItemLifecyclePayload, Lc as OrchestrationThreadActivity, Li as ContextMenuStyle, Ll as DEFAULT_MODEL, Ln as VcsPullInput, Lo as DesktopSshEnvironmentBootstrapSchema, Lr as ServerConfigStreamKeybindingsUpdatedEvent, Ls as EnvironmentInternalErrorReason, Lt as WsTerminalAttachRpc, Lu as AuthEnvironmentScope, Ma as SCRIPT_RUN_COMMAND_PATTERN, Mc as OrchestrationShellSnapshot, Mi as isProviderAvailable, Ml as ThreadUnarchivedPayload, Mn as VcsCreateWorktreeInput, Mo as DesktopRuntimeInfoSchema, Mr as ServerConfigIssue, Ms as EnvironmentHttpConflictError, Mt as WsSubscribeServerConfigRpc, Mu as AuthClientMetadataDeviceType, Na as THREAD_JUMP_KEYBINDING_COMMANDS, Nc as OrchestrationShellStreamEvent, Ni as ClaudeSettings, Nl as TurnCountRange, Nn as VcsCreateWorktreeResult, No as DesktopServerExposureModeSchema, Nr as ServerConfigKeybindingsUpdatedPayload, Ns as EnvironmentHttpForbiddenError, Nt as WsSubscribeServerLifecycleRpc, Nu as AuthClientPresentationMetadata, Oa as MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, Oc as OrchestrationReplayEventsInput, Oi as ServerTraceDiagnosticsSpanOccurrence, Ol as ThreadTurnDiffCompletedPayload, On as GitStackedAction, Oo as DesktopCloudAuthFetchResultSchema, Or as VcsRepositoryDetectionError, Os as EnvironmentConnectHttpApi, Ot as WsSourceControlCloneRepositoryRpc, Ou as AuthAdministrativeScopes, Pa as THREAD_KEYBINDING_COMMANDS, Pc as OrchestrationShellStreamItem, Pi as ClientSettingsPatch, Pl as BooleanProviderOptionDescriptor, Pn as VcsInitInput, Po as DesktopServerExposureStateSchema, Pr as ServerConfigProviderStatusesPayload, Ps as EnvironmentHttpInternalServerError, Pt as WsSubscribeTerminalEventsRpc, Pu as AuthClientSession, Q as WsCloudGetRelayClientStatusRpc, Qa as ProviderRespondToUserInputInput, Qc as ProjectScriptIcon, Qi as ObservabilitySettings, Ql as ProviderInstanceEnvironment, Qn as SourceControlCloneRepositoryResult, Qo as DesktopUpdateStateSchema, Qr as ServerProcessResourceHistoryResult, Qs as DispatchResult, Qt as ReviewDiffPreviewError, Qu as AuthTokenExchangeRequest, Ra as ProviderRuntimeEvent, Rc as OrchestrationThreadActivityTone, Ri as CursorSettings, Rl as DEFAULT_MODEL_BY_PROVIDER, Rn as VcsPullResult, Ro as DesktopSshEnvironmentEnsureInputSchema, Rr as ServerConfigStreamProviderStatusesEvent, Rs as EnvironmentMetadataHttpApi, Rt as WsTerminalClearRpc, Ru as AuthEnvironmentScopes, Sa as KeybindingsConfigError, Sc as OrchestrationProject, Sd as ThreadId, Si as ServerSignalProcessResult, Sl as ThreadProposedPlanUpsertedPayload, Sn as GitPreparePullRequestThreadResult, So as TerminalThreadInput, Sr as VcsListWorkspaceFilesResult, Ss as EnvironmentAuthenticatedAuth, St as WsServerRemoveKeybindingRpc, Su as AuthAccessStreamPairingLinkRemovedEvent, Ta as MAX_KEYBINDING_WHEN_LENGTH, Tc as OrchestrationProposedPlanId, Td as TurnId, Ti as ServerTraceDiagnosticsLogEvent, Tl as ThreadSessionSetPayload, Tn as GitRunStackedActionInput, To as DesktopAppBrandingSchema, Tr as VcsProcessSpawnError, Ts as EnvironmentCloudLinkStateResult, Tt as WsServerUpdateSettingsRpc, Tu as AuthAccessTokenResult, Ua as TOOL_LIFECYCLE_ITEM_TYPES, Uc as OrchestrationThreadStreamItem, Ui as DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, Ul as ProviderOptionDescriptor, Un as VcsStatusRemoteResult, Uo as DesktopSshHttpBaseUrlInputSchema, Ur as ServerLifecycleStreamEvent, Us as EnvironmentRequestInvalidReason, Ut as WsTerminalWriteRpc, Uu as AuthRelayReadScope, Va as ProviderRuntimeTurnStatus, Vc as OrchestrationThreadGoalStatus, Vi as DEFAULT_CONTEXT_MENU_STYLE, Vl as PROVIDER_DISPLAY_NAMES, Vn as VcsStatusInput, Vo as DesktopSshEnvironmentTargetSchema, Vr as ServerConfigUpdatedPayload, Vs as EnvironmentOrchestrationHttpApi, Vt as WsTerminalResizeRpc, Vu as AuthPairingCredentialResult, Wa as ThreadTokenUsageSnapshot, Wc as PROVIDER_SEND_TURN_MAX_ATTACHMENTS, Wi as DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, Wl as ProviderOptionDescriptorType, Wn as VcsStatusResult, Wo as DesktopSshPasswordPromptCancelledResultSchema, Wr as ServerLifecycleStreamReadyEvent, Ws as EnvironmentScopeRequiredError, Wt as WsVcsCreateRefRpc, Wu as AuthRelayWriteScope, Xa as ProviderInterruptTurnInput, Xc as ProjectMetaUpdatedPayload, Xi as MAX_SIDEBAR_THREAD_PREVIEW_COUNT, Xl as ProviderInstanceConfig, Xn as SourceControlCloneProtocol, Xo as DesktopUpdateChannelSchema, Xr as ServerProcessResourceHistoryBucket, Xs as DEFAULT_PROVIDER_INTERACTION_MODE, Xt as WsVcsRemoveWorktreeRpc, Xu as AuthTerminalOperateScope, Ya as ProviderGoalRequestInput, Yc as ProjectDeletedPayload, Yi as GrokSettings, Yl as ProviderDriverKind, Yn as ChangeRequestState, Yo as DesktopUpdateActionResultSchema, Yr as ServerProcessDiagnosticsResult, Ys as CorrelationId, Yt as WsVcsRefreshStatusRpc, Yu as AuthStandardClientScopes, Z as WS_METHODS, Za as ProviderRespondToRequestInput, Zc as ProjectScript, Zi as MIN_SIDEBAR_THREAD_PREVIEW_COUNT, Zl as ProviderInstanceConfigMap, Zn as SourceControlCloneRepositoryInput, Zo as DesktopUpdateCheckResultSchema, Zr as ServerProcessResourceHistoryInput, Zs as DEFAULT_RUNTIME_MODE, Zt as WsVcsSwitchRefRpc, Zu as AuthTokenExchangeGrantType, _a as KeybindingShortcut, _c as OrchestrationGetTurnDiffInput, _d as ProviderItemId, _i as ServerProviderVersionAdvisoryStatus, _l as ThreadGoalRequestedPayload, _n as GitActionProgressStream, _o as TerminalRestartInput, _r as VcsDriverKind, _s as AuthOtherClientSessionsRevokeResult, _t as WsServerGetProcessDiagnosticsRpc, _u as AuthAccessSnapshot, aa as SidebarThreadPreviewCount, ac as OrchestrationCheckpointSummary, ad as ApprovalRequestId, ai as ServerProviderContinuation, al as ProviderSandboxMode, an as FilesystemBrowseInput, ao as TerminalAttachInput, ar as SourceControlProviderInfo, as as AdvertisedEndpointProvider, at as WsOrchestrationGetArchivedShellSnapshotRpc, au as EnvironmentConnectionState, ba as KeybindingWhenNode, bc as OrchestrationMessage, bd as RuntimeSessionId, bi as ServerRemoveKeybindingResult, bl as ThreadMessageSentPayload, bn as GitManagerServiceError, bo as TerminalSessionStatus, br as VcsFreshnessSource, bs as EnvironmentAuthInvalidError, bt as WsServerGetTraceDiagnosticsRpc, bu as AuthAccessStreamError, ca as TimestampFormat, cc as OrchestrationDispatchCommandError, cd as CommandId, ci as ServerProviderSlashCommand, cl as RuntimeMode, cn as ProjectSearchEntriesError, co as TerminalCloseInput, cr as SourceControlPublishRepositoryResult, cs as AdvertisedEndpointSource, ct as WsOrchestrationReplayEventsRpc, cu as ExecutionEnvironmentPlatform, da as EditorId, dc as OrchestrationEventType, dd as IsoDateTime, di as ServerProviderUpdateError, dl as ThreadArchivedPayload, dn as ProjectWriteFileError, do as TerminalEvent, dr as SourceControlRepositoryError, ds as RelayClientInstallFailedError, dt as WsProjectsSearchEntriesRpc, du as RepositoryIdentity, ea as ServerSettings, ec as ORCHESTRATION_WS_METHODS, ed as EnvironmentAuthorizationError, ei as ServerProcessSignal, el as ProjectionPendingApprovalStatus, en as ReviewDiffPreviewResult, eo as ProviderSession, er as SourceControlDiscoveryStatus, es as PersistedSavedEnvironmentRecordSchema, et as WsFilesystemBrowseRpc, eu as ProviderInstanceEnvironmentVariableName, fa as EditorLaunchStyle, fc as OrchestrationGetFullThreadDiffError, fd as MessageId, fi as ServerProviderUpdateInput, fl as ThreadCheckpointRevertRequestedPayload, fn as ProjectWriteFileInput, fo as TerminalHistoryError, fr as SourceControlRepositoryInfo, fs as RelayClientInstallFailureReasonSchema, ft as WsProjectsWriteFileRpc, fu as RepositoryIdentityLocator, ga as KeybindingRule, gc as OrchestrationGetTurnDiffError, gd as ProjectId, gi as ServerProviderVersionAdvisory, gl as ThreadGoalRequest, gn as GitActionProgressPhase, go as TerminalResizeInput, gr as VcsDriverCapabilities, gs as AuthClientSessionRevokeResult, gt as WsServerGetConfigRpc, gu as AuthAccessReadScope, ha as KeybindingCommand, hc as OrchestrationGetSnapshotError, hd as PositiveInt, hi as ServerProviderUpdatedPayload, hl as ThreadGoalClearedPayload, hn as GitActionProgressKind, ho as TerminalOpenInput, hr as VcsDiscoveryItem, hs as RelayClientStatusSchema, ht as WsServerDiscoverSourceControlRpc, hu as ScopedThreadSessionRef, ia as SidebarProjectSortOrder, ic as OrchestrationCheckpointStatus, id as ServerAuthSessionMethod, ii as ServerProviderAvailability, il as ProviderRequestKind, in as FilesystemBrowseError, io as DEFAULT_TERMINAL_ID, ir as SourceControlProviderError, is as AdvertisedEndpointHostedHttpsCompatibility, it as WsOrchestrationDispatchCommandRpc, iu as isProviderDriverKind, ja as ResolvedKeybindingsConfig, jc as OrchestrationSessionStatus, ji as ServerUpsertKeybindingResult, jl as ThreadTurnStartRequestedPayload, jn as VcsCreateRefResult, jo as DesktopRuntimeArchSchema, jr as ServerConfig, js as EnvironmentHttpCommonError, jt as WsSubscribeAuthAccessRpc, ju as AuthClientMetadata, ka as MODEL_PICKER_KEYBINDING_COMMANDS, kc as OrchestrationRpcSchemas, ki as ServerTraceDiagnosticsSpanSummary, kl as ThreadTurnInterruptRequestedPayload, kn as TextGenerationError, ko as DesktopDiscoveredSshHostSchema, kr as VcsRepositoryIdentity, ks as EnvironmentHttpApi, kt as WsSourceControlLookupRepositoryRpc, ku as AuthBrowserSessionRequest, la as makeProviderSettingsSchema, lc as OrchestrationEvent, ld as EnvironmentId, li as ServerProviderSlashCommandInput, ll as ThreadActivityAppendedPayload, ln as ProjectSearchEntriesInput, lo as TerminalCwdError, lr as SourceControlPublishStatus, ls as AdvertisedEndpointStatus, lt as WsOrchestrationSubscribeShellRpc, lu as ExecutionEnvironmentPlatformArch, ma as LaunchEditorInput, mc as OrchestrationGetFullThreadDiffResult, md as PortSchema, mi as ServerProviderUpdateStatus, ml as ThreadDeletedPayload, mn as GitActionProgressEvent, mo as TerminalNotRunningError, mr as SourceControlRepositoryVisibility, ms as RelayClientInstallProgressStageSchema, mt as WsRpcGroup, mu as ScopedThreadRef, na as ServerSettingsPatch, nc as OrchestrationAggregateKind, nd as ServerAuthDescriptor, ni as ServerProviderAuth, nl as ProviderApprovalPolicy, nn as ReviewDiffPreviewSourceKind, no as ProviderStopSessionInput, nr as SourceControlProviderAuthStatus, ns as AdvertisedEndpoint, nt as WsGitResolvePullRequestRpc, nu as ProviderInstanceRef, oa as SidebarThreadSortOrder, oc as OrchestrationCommand, od as AuthSessionId, oi as ServerProviderModel, ol as ProviderSessionRuntimeStatus, on as FilesystemBrowseResult, oo as TerminalAttachStreamEvent, or as SourceControlProviderKind, os as AdvertisedEndpointProviderKind, ot as WsOrchestrationGetFullThreadDiffRpc, ou as ExecutionEnvironmentCapabilities, pa as ExternalLauncherError, pc as OrchestrationGetFullThreadDiffInput, pd as NonNegativeInt, pi as ServerProviderUpdateState, pl as ThreadCreatedPayload, pn as ProjectWriteFileResult, po as TerminalMetadataStreamEvent, pr as SourceControlRepositoryLookupInput, ps as RelayClientInstallProgressEventSchema, pt as WsReviewGetDiffPreviewRpc, pu as ScopedProjectRef, qa as isToolLifecycleItemType, qc as ProjectCreateCommand, qi as DEFAULT_TIMESTAMP_FORMAT, ql as ProviderOptionSelections, qn as VcsSwitchRefResult, qo as DesktopSshPasswordPromptResolutionInputSchema, qr as ServerObservability, qs as ChatImageAttachment, qt as WsVcsListRefsRpc, qu as AuthRevokePairingLinkInput, ra as SidebarProjectGroupingMode, rc as OrchestrationCheckpointFile, rd as ServerAuthPolicy, ri as ServerProviderAuthStatus, rl as ProviderInteractionMode, rn as FilesystemBrowseEntry, ro as ProviderTurnStartResult, rr as SourceControlProviderDiscoveryItem, rs as AdvertisedEndpointCompatibility, rt as WsGitRunStackedActionRpc, ru as defaultInstanceIdForDriver, sa as ThreadEnvMode, sc as OrchestrationCommandReceiptStatus, sd as CheckpointRef, si as ServerProviderSkill, sl as ProviderUserInputAnswers, sn as ProjectEntry, so as TerminalClearInput, sr as SourceControlPublishRepositoryInput, ss as AdvertisedEndpointReachability, st as WsOrchestrationGetTurnDiffRpc, su as ExecutionEnvironmentDescriptor, ta as ServerSettingsError, tc as OrchestrationActorKind, td as ServerAuthBootstrapMethod, ti as ServerProvider, tl as ProviderApprovalDecision, tn as ReviewDiffPreviewSource, to as ProviderSessionStartInput, tr as SourceControlProviderAuth, ts as PickFolderOptionsSchema, tt as WsGitPreparePullRequestThreadRpc, tu as ProviderInstanceId, ua as EDITORS, uc as OrchestrationEventMetadata, ud as EventId, ui as ServerProviderState, ul as ThreadApprovalResponseRequestedPayload, un as ProjectSearchEntriesResult, uo as TerminalError, ur as SourceControlRepositoryCloneUrls, us as DesktopBackendBootstrap, ut as WsOrchestrationSubscribeThreadRpc, uu as ExecutionEnvironmentPlatformOs, va as KeybindingValue, vc as OrchestrationGetTurnDiffResult, vd as RuntimeItemId, vi as ServerProviders, vl as ThreadGoalUpdatedPayload, vn as GitCommandError, vo as TerminalSessionLookupError, vr as VcsError, vs as AuthPairingLinkRevokeResult, vt as WsServerGetProcessResourceHistoryRpc, vu as AuthAccessStreamClientRemovedEvent, wa as MAX_KEYBINDING_VALUE_LENGTH, wc as OrchestrationProposedPlan, wd as TrimmedString, wi as ServerTraceDiagnosticsFailureSummary, wl as ThreadRuntimeModeSetPayload, wn as GitResolvePullRequestResult, wo as ContextMenuItemSchema, wr as VcsProcessExitError, ws as EnvironmentCloudEndpointUnavailableError, wt as WsServerUpdateProviderRpc, wu as AuthAccessStreamSnapshotEvent, xa as KeybindingsConfig, xc as OrchestrationMessageRole, xd as RuntimeTaskId, xi as ServerSignalProcessInput, xl as ThreadMetaUpdatedPayload, xn as GitPreparePullRequestThreadInput, xo as TerminalSummary, xr as VcsListRemotesResult, xs as EnvironmentAuthInvalidReason, xt as WsServerRefreshProvidersRpc, xu as AuthAccessStreamEvent, ya as KeybindingWhen, yc as OrchestrationLatestTurn, yd as RuntimeRequestId, yi as ServerRemoveKeybindingInput, yl as ThreadInteractionModeSetPayload, yn as GitManagerError, yo as TerminalSessionSnapshot, yr as VcsFreshness, ys as EnvironmentAuthHttpApi, yt as WsServerGetSettingsRpc, yu as AuthAccessStreamClientUpsertedEvent, za as ProviderRuntimeEventV2, zc as OrchestrationThreadDetailSnapshot, zi as DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, zl as MODEL_SLUG_ALIASES_BY_PROVIDER, zn as VcsRef, zo as DesktopSshEnvironmentEnsureOptionsSchema, zr as ServerConfigStreamSettingsUpdatedEvent, zs as EnvironmentOperationForbiddenError, zt as WsTerminalCloseRpc, zu as AuthOrchestrationOperateScope } from "./shared.js";
2
+ export { AdvertisedEndpoint, AdvertisedEndpointCompatibility, AdvertisedEndpointHostedHttpsCompatibility, AdvertisedEndpointProvider, AdvertisedEndpointProviderKind, AdvertisedEndpointReachability, AdvertisedEndpointSource, AdvertisedEndpointStatus, ApprovalRequestId, AssistantDeliveryMode, AuthAccessReadScope, AuthAccessSnapshot, AuthAccessStreamClientRemovedEvent, AuthAccessStreamClientUpsertedEvent, AuthAccessStreamError, AuthAccessStreamEvent, AuthAccessStreamPairingLinkRemovedEvent, AuthAccessStreamPairingLinkUpsertedEvent, AuthAccessStreamSnapshotEvent, AuthAccessTokenResult, AuthAccessTokenType, AuthAccessWriteScope, AuthAdministrativeScopes, AuthBrowserSessionRequest, AuthBrowserSessionResult, AuthClientMetadata, AuthClientMetadataDeviceType, AuthClientPresentationMetadata, AuthClientSession, AuthClientSessionRevokeResult, AuthCreatePairingCredentialInput, AuthEnvironmentBootstrapTokenType, AuthEnvironmentScope, AuthEnvironmentScopes, AuthOrchestrationOperateScope, AuthOrchestrationReadScope, AuthOtherClientSessionsRevokeResult, AuthPairingCredentialResult, AuthPairingLink, AuthPairingLinkRevokeResult, AuthRelayReadScope, AuthRelayWriteScope, AuthReviewWriteScope, AuthRevokeClientSessionInput, AuthRevokePairingLinkInput, AuthSessionId, AuthSessionState, AuthStandardClientScopes, AuthTerminalOperateScope, AuthTokenExchangeGrantType, AuthTokenExchangeRequest, AuthWebSocketTicketResult, BooleanProviderOptionDescriptor, CanonicalItemType, CanonicalRequestType, ChangeRequest, ChangeRequestState, ChatAttachment, ChatImageAttachment, CheckpointRef, ClaudeSettings, ClientOrchestrationCommand, ClientSettingsPatch, ClientSettingsSchema, CodexSettings, CommandId, ContextMenuItemSchema, ContextMenuStyle, CorrelationId, CursorSettings, DEFAULT_AUTOMATIC_GIT_FETCH_INTERVAL, DEFAULT_CLIENT_SETTINGS, DEFAULT_CONTEXT_MENU_STYLE, DEFAULT_GIT_TEXT_GENERATION_MODEL, DEFAULT_GIT_TEXT_GENERATION_MODEL_BY_PROVIDER, DEFAULT_MODEL, DEFAULT_MODEL_BY_PROVIDER, DEFAULT_PROVIDER_INTERACTION_MODE, DEFAULT_RUNTIME_MODE, DEFAULT_SERVER_SETTINGS, DEFAULT_SIDEBAR_PROJECT_GROUPING_MODE, DEFAULT_SIDEBAR_PROJECT_SORT_ORDER, DEFAULT_SIDEBAR_THREAD_PREVIEW_COUNT, DEFAULT_SIDEBAR_THREAD_SORT_ORDER, DEFAULT_TERMINAL_ID, DEFAULT_TIMESTAMP_FORMAT, DEFAULT_UNIFIED_SETTINGS, DesktopAppBrandingSchema, DesktopAppStageLabelSchema, DesktopBackendBootstrap, DesktopCloudAuthFetchInputSchema, DesktopCloudAuthFetchResultSchema, DesktopDiscoveredSshHostSchema, DesktopEnvironmentBootstrapSchema, DesktopRuntimeArchSchema, DesktopRuntimeInfoSchema, DesktopServerExposureModeSchema, DesktopServerExposureStateSchema, DesktopSshBearerBootstrapInputSchema, DesktopSshBearerRequestInputSchema, DesktopSshEnvironmentBootstrapSchema, DesktopSshEnvironmentEnsureInputSchema, DesktopSshEnvironmentEnsureOptionsSchema, DesktopSshEnvironmentEnsureResultSchema, DesktopSshEnvironmentTargetSchema, DesktopSshHostSourceSchema, DesktopSshHttpBaseUrlInputSchema, DesktopSshPasswordPromptCancelledResultSchema, DesktopSshPasswordPromptCancelledType, DesktopSshPasswordPromptRequestSchema, DesktopSshPasswordPromptResolutionInputSchema, DesktopThemeSchema, DesktopUpdateActionResultSchema, DesktopUpdateChannelSchema, DesktopUpdateCheckResultSchema, DesktopUpdateStateSchema, DesktopUpdateStatusSchema, DispatchResult, EDITORS, EditorId, EditorLaunchStyle, EnvironmentAuthHttpApi, EnvironmentAuthInvalidError, EnvironmentAuthInvalidReason, EnvironmentAuthenticatedAuth, EnvironmentAuthenticatedPrincipal, EnvironmentAuthorizationError, EnvironmentCloudEndpointUnavailableError, EnvironmentCloudLinkStateResult, EnvironmentCloudPreferencesRequest, EnvironmentCloudRelayConfigResult, EnvironmentConnectHttpApi, EnvironmentConnectionState, EnvironmentHttpApi, EnvironmentHttpBadRequestError, EnvironmentHttpCommonError, EnvironmentHttpConflictError, EnvironmentHttpForbiddenError, EnvironmentHttpInternalServerError, EnvironmentHttpUnauthorizedError, EnvironmentId, EnvironmentInternalError, EnvironmentInternalErrorReason, EnvironmentMetadataHttpApi, EnvironmentOperationForbiddenError, EnvironmentOperationForbiddenReason, EnvironmentOrchestrationHttpApi, EnvironmentRequestInvalidError, EnvironmentRequestInvalidReason, EnvironmentScopeRequiredError, EventId, ExecutionEnvironmentCapabilities, ExecutionEnvironmentDescriptor, ExecutionEnvironmentPlatform, ExecutionEnvironmentPlatformArch, ExecutionEnvironmentPlatformOs, ExternalLauncherError, FilesystemBrowseEntry, FilesystemBrowseError, FilesystemBrowseInput, FilesystemBrowseResult, GitActionProgressEvent, GitActionProgressKind, GitActionProgressPhase, GitActionProgressStream, GitCommandError, GitManagerError, GitManagerServiceError, GitPreparePullRequestThreadInput, GitPreparePullRequestThreadResult, GitPullRequestRefInput, GitResolvePullRequestResult, GitRunStackedActionInput, GitRunStackedActionResult, GitRunStackedActionToastRunAction, GitStackedAction, GrokSettings, IsoDateTime, ItemLifecyclePayload, KeybindingCommand, KeybindingRule, KeybindingShortcut, KeybindingValue, KeybindingWhen, KeybindingWhenNode, KeybindingsConfig, KeybindingsConfigError, LaunchEditorInput, MAX_KEYBINDINGS_COUNT, MAX_KEYBINDING_VALUE_LENGTH, MAX_KEYBINDING_WHEN_LENGTH, MAX_SCRIPT_ID_LENGTH, MAX_SIDEBAR_THREAD_PREVIEW_COUNT, MAX_WHEN_EXPRESSION_DEPTH, MIN_SIDEBAR_THREAD_PREVIEW_COUNT, MODEL_PICKER_JUMP_KEYBINDING_COMMANDS, MODEL_PICKER_KEYBINDING_COMMANDS, MODEL_SLUG_ALIASES_BY_PROVIDER, MessageId, ModelCapabilities, ModelSelection, NonNegativeInt, ORCHESTRATION_WS_METHODS, ObservabilitySettings, OpenCodeSettings, OrchestrationActorKind, OrchestrationAggregateKind, OrchestrationCheckpointFile, OrchestrationCheckpointStatus, OrchestrationCheckpointSummary, OrchestrationCommand, OrchestrationCommandReceiptStatus, OrchestrationDispatchCommandError, OrchestrationEvent, OrchestrationEventMetadata, OrchestrationEventType, OrchestrationGetFullThreadDiffError, OrchestrationGetFullThreadDiffInput, OrchestrationGetFullThreadDiffResult, OrchestrationGetSnapshotError, OrchestrationGetTurnDiffError, OrchestrationGetTurnDiffInput, OrchestrationGetTurnDiffResult, OrchestrationLatestTurn, OrchestrationMessage, OrchestrationMessageRole, OrchestrationProject, OrchestrationProjectShell, OrchestrationProposedPlan, OrchestrationProposedPlanId, OrchestrationReadModel, OrchestrationReplayEventsError, OrchestrationReplayEventsInput, OrchestrationRpcSchemas, OrchestrationSession, OrchestrationSessionStatus, OrchestrationShellSnapshot, OrchestrationShellStreamEvent, OrchestrationShellStreamItem, OrchestrationSubscribeThreadInput, OrchestrationThread, OrchestrationThreadActivity, OrchestrationThreadActivityTone, OrchestrationThreadDetailSnapshot, OrchestrationThreadGoal, OrchestrationThreadGoalStatus, OrchestrationThreadShell, OrchestrationThreadStreamItem, PROVIDER_DISPLAY_NAMES, PROVIDER_SEND_TURN_MAX_ATTACHMENTS, PROVIDER_SEND_TURN_MAX_IMAGE_BYTES, PROVIDER_SEND_TURN_MAX_INPUT_CHARS, PersistedSavedEnvironmentRecordSchema, PickFolderOptionsSchema, PortSchema, PositiveInt, ProjectCreateCommand, ProjectCreatedPayload, ProjectDeletedPayload, ProjectEntry, ProjectId, ProjectMetaUpdatedPayload, ProjectScript, ProjectScriptIcon, ProjectSearchEntriesError, ProjectSearchEntriesInput, ProjectSearchEntriesResult, ProjectWriteFileError, ProjectWriteFileInput, ProjectWriteFileResult, ProjectionPendingApprovalDecision, ProjectionPendingApprovalStatus, ProviderApprovalDecision, ProviderApprovalPolicy, ProviderDriverKind, ProviderEvent, ProviderGoalRequestInput, ProviderInstanceConfig, ProviderInstanceConfigMap, ProviderInstanceEnvironment, ProviderInstanceEnvironmentVariable, ProviderInstanceEnvironmentVariableName, ProviderInstanceId, ProviderInstanceRef, ProviderInteractionMode, ProviderInterruptTurnInput, ProviderItemId, ProviderOptionChoice, ProviderOptionDescriptor, ProviderOptionDescriptorType, ProviderOptionSelection, ProviderOptionSelectionValue, ProviderOptionSelections, ProviderRequestKind, ProviderRespondToRequestInput, ProviderRespondToUserInputInput, ProviderRuntimeEvent, ProviderRuntimeEventV2, ProviderRuntimeThreadGoalStatus, ProviderRuntimeTurnStatus, ProviderSandboxMode, ProviderSendTurnInput, ProviderSession, ProviderSessionRuntimeStatus, ProviderSessionStartInput, ProviderStopSessionInput, ProviderTurnStartResult, ProviderUserInputAnswers, RelayClientInstallFailedError, RelayClientInstallFailureReasonSchema, RelayClientInstallProgressEventSchema, RelayClientInstallProgressStageSchema, RelayClientStatusSchema, RepositoryIdentity, RepositoryIdentityLocator, ResolvedKeybindingRule, ResolvedKeybindingsConfig, ReviewDiffPreviewError, ReviewDiffPreviewInput, ReviewDiffPreviewResult, ReviewDiffPreviewSource, ReviewDiffPreviewSourceKind, RuntimeEventRaw, RuntimeItemId, RuntimeMode, RuntimeRequestId, RuntimeSessionId, RuntimeTaskId, SCRIPT_RUN_COMMAND_PATTERN, ScopedProjectRef, ScopedThreadRef, ScopedThreadSessionRef, SelectProviderOptionDescriptor, ServerAuthBootstrapMethod, ServerAuthDescriptor, ServerAuthPolicy, ServerAuthSessionMethod, ServerConfig, ServerConfigIssue, ServerConfigKeybindingsUpdatedPayload, ServerConfigProviderStatusesPayload, ServerConfigSettingsUpdatedPayload, ServerConfigStreamEvent, ServerConfigStreamKeybindingsUpdatedEvent, ServerConfigStreamProviderStatusesEvent, ServerConfigStreamSettingsUpdatedEvent, ServerConfigStreamSnapshotEvent, ServerConfigUpdatedPayload, ServerLifecycleReadyPayload, ServerLifecycleStreamEvent, ServerLifecycleStreamReadyEvent, ServerLifecycleStreamWelcomeEvent, ServerLifecycleWelcomePayload, ServerObservability, ServerProcessDiagnosticsEntry, ServerProcessDiagnosticsResult, ServerProcessResourceHistoryBucket, ServerProcessResourceHistoryInput, ServerProcessResourceHistoryResult, ServerProcessResourceHistorySummary, ServerProcessSignal, ServerProvider, ServerProviderAuth, ServerProviderAuthStatus, ServerProviderAvailability, ServerProviderContinuation, ServerProviderModel, ServerProviderSkill, ServerProviderSlashCommand, ServerProviderSlashCommandInput, ServerProviderState, ServerProviderUpdateError, ServerProviderUpdateInput, ServerProviderUpdateState, ServerProviderUpdateStatus, ServerProviderUpdatedPayload, ServerProviderVersionAdvisory, ServerProviderVersionAdvisoryStatus, ServerProviders, ServerRemoveKeybindingInput, ServerRemoveKeybindingResult, ServerSettings, ServerSettingsError, ServerSettingsPatch, ServerSignalProcessInput, ServerSignalProcessResult, ServerTraceDiagnosticsErrorKind, ServerTraceDiagnosticsFailureSummary, ServerTraceDiagnosticsLogEvent, ServerTraceDiagnosticsRecentFailure, ServerTraceDiagnosticsResult, ServerTraceDiagnosticsSpanOccurrence, ServerTraceDiagnosticsSpanSummary, ServerUpsertKeybindingInput, ServerUpsertKeybindingResult, SidebarProjectGroupingMode, SidebarProjectSortOrder, SidebarThreadPreviewCount, SidebarThreadSortOrder, SourceControlCloneProtocol, SourceControlCloneRepositoryInput, SourceControlCloneRepositoryResult, SourceControlDiscoveryResult, SourceControlDiscoveryStatus, SourceControlProviderAuth, SourceControlProviderAuthStatus, SourceControlProviderDiscoveryItem, SourceControlProviderError, SourceControlProviderInfo, SourceControlProviderKind, SourceControlPublishRepositoryInput, SourceControlPublishRepositoryResult, SourceControlPublishStatus, SourceControlRepositoryCloneUrls, SourceControlRepositoryError, SourceControlRepositoryInfo, SourceControlRepositoryLookupInput, SourceControlRepositoryVisibility, THREAD_JUMP_KEYBINDING_COMMANDS, THREAD_KEYBINDING_COMMANDS, TOOL_LIFECYCLE_ITEM_TYPES, TerminalAttachInput, TerminalAttachStreamEvent, TerminalClearInput, TerminalCloseInput, TerminalCwdError, TerminalError, TerminalEvent, TerminalHistoryError, TerminalMetadataStreamEvent, TerminalNotRunningError, TerminalOpenInput, TerminalResizeInput, TerminalRestartInput, TerminalSessionLookupError, TerminalSessionSnapshot, TerminalSessionStatus, TerminalSummary, TerminalThreadInput, TerminalWriteInput, TextGenerationError, ThreadActivityAppendedPayload, ThreadApprovalResponseRequestedPayload, ThreadArchivedPayload, ThreadCheckpointRevertRequestedPayload, ThreadCreatedPayload, ThreadDeletedPayload, ThreadEnvMode, ThreadGoalClearedPayload, ThreadGoalRequest, ThreadGoalRequestedPayload, ThreadGoalUpdatedPayload, ThreadId, ThreadInteractionModeSetPayload, ThreadMessageSentPayload, ThreadMetaUpdatedPayload, ThreadProposedPlanUpsertedPayload, ThreadRevertedPayload, ThreadRuntimeModeSetPayload, ThreadSessionSetPayload, ThreadSessionStopRequestedPayload, ThreadTokenUsageSnapshot, ThreadTurnDiff, ThreadTurnDiffCompletedPayload, ThreadTurnInterruptRequestedPayload, ThreadTurnStartCommand, ThreadTurnStartRequestedPayload, ThreadUnarchivedPayload, TimestampFormat, ToolLifecycleItemType, TrimmedNonEmptyString, TrimmedString, TurnCountRange, TurnId, UserInputQuestion, VcsCreateRefInput, VcsCreateRefResult, VcsCreateWorktreeInput, VcsCreateWorktreeResult, VcsDiscoveryItem, VcsDriverCapabilities, VcsDriverKind, VcsError, VcsFreshness, VcsFreshnessSource, VcsInitInput, VcsListRefsInput, VcsListRefsResult, VcsListRemotesResult, VcsListWorkspaceFilesResult, VcsOutputDecodeError, VcsProcessExitError, VcsProcessSpawnError, VcsProcessTimeoutError, VcsPullInput, VcsPullResult, VcsRef, VcsRemote, VcsRemoveWorktreeInput, VcsRepositoryDetectionError, VcsRepositoryIdentity, VcsStatusInput, VcsStatusLocalResult, VcsStatusRemoteResult, VcsStatusResult, VcsStatusStreamEvent, VcsSwitchRefInput, VcsSwitchRefResult, VcsUnsupportedOperationError, WS_METHODS, WsCloudGetRelayClientStatusRpc, WsCloudInstallRelayClientRpc, WsFilesystemBrowseRpc, WsGitPreparePullRequestThreadRpc, WsGitResolvePullRequestRpc, WsGitRunStackedActionRpc, WsOrchestrationDispatchCommandRpc, WsOrchestrationGetArchivedShellSnapshotRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationReplayEventsRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc, WsProjectsSearchEntriesRpc, WsProjectsWriteFileRpc, WsReviewGetDiffPreviewRpc, WsRpcGroup, WsServerDiscoverSourceControlRpc, WsServerGetConfigRpc, WsServerGetProcessDiagnosticsRpc, WsServerGetProcessResourceHistoryRpc, WsServerGetSettingsRpc, WsServerGetTraceDiagnosticsRpc, WsServerRefreshProvidersRpc, WsServerRemoveKeybindingRpc, WsServerSignalProcessRpc, WsServerUpdateProviderRpc, WsServerUpdateSettingsRpc, WsServerUpsertKeybindingRpc, WsShellOpenInEditorRpc, WsSourceControlCloneRepositoryRpc, WsSourceControlLookupRepositoryRpc, WsSourceControlPublishRepositoryRpc, WsSubscribeAuthAccessRpc, WsSubscribeServerConfigRpc, WsSubscribeServerLifecycleRpc, WsSubscribeTerminalEventsRpc, WsSubscribeTerminalMetadataRpc, WsSubscribeVcsStatusRpc, WsTerminalAttachRpc, WsTerminalClearRpc, WsTerminalCloseRpc, WsTerminalOpenRpc, WsTerminalResizeRpc, WsTerminalRestartRpc, WsTerminalWriteRpc, WsVcsCreateRefRpc, WsVcsCreateWorktreeRpc, WsVcsInitRpc, WsVcsListRefsRpc, WsVcsPullRpc, WsVcsRefreshStatusRpc, WsVcsRemoveWorktreeRpc, WsVcsSwitchRefRpc, defaultInstanceIdForDriver, isProviderAvailable, isProviderDriverKind, isToolLifecycleItemType, makeProviderSettingsSchema };
@@ -358,6 +358,15 @@ declare const EnvironmentOrchestrationHttpApi_base: HttpApiGroup.HttpApiGroup<"o
358
358
  readonly updatedAt: Schema.String;
359
359
  readonly archivedAt: Schema.withDecodingDefault<Schema.NullOr<Schema.String>, never>;
360
360
  readonly deletedAt: Schema.NullOr<Schema.String>;
361
+ readonly goal: Schema.withDecodingDefault<Schema.NullOr<Schema.Struct<{
362
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
363
+ readonly status: Schema.Literals<readonly ["active", "paused", "budgetLimited", "complete"]>;
364
+ readonly tokensUsed: Schema.Int;
365
+ readonly tokenBudget: Schema.NullOr<Schema.Int>;
366
+ readonly timeUsedSeconds: Schema.Int;
367
+ readonly createdAt: Schema.String;
368
+ readonly updatedAt: Schema.String;
369
+ }>>, never>;
361
370
  readonly messages: Schema.$Array<Schema.Struct<{
362
371
  readonly id: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "MessageId">;
363
372
  readonly role: Schema.Literals<readonly ["user", "assistant", "system"]>;
@@ -655,6 +664,20 @@ declare const EnvironmentOrchestrationHttpApi_base: HttpApiGroup.HttpApiGroup<"o
655
664
  readonly commandId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">;
656
665
  readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
657
666
  readonly createdAt: Schema.String;
667
+ }>, Schema.Struct<{
668
+ readonly type: Schema.Literal<"thread.goal.request">;
669
+ readonly commandId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "CommandId">;
670
+ readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
671
+ readonly request: Schema.Union<readonly [Schema.Struct<{
672
+ readonly kind: Schema.Literal<"status">;
673
+ }>, Schema.Struct<{
674
+ readonly kind: Schema.Literal<"control">;
675
+ readonly action: Schema.Literals<readonly ["pause", "resume", "clear"]>;
676
+ }>, Schema.Struct<{
677
+ readonly kind: Schema.Literal<"set">;
678
+ readonly objective: Schema.decodeTo<Schema.String, Schema.String, never, never>;
679
+ }>]>;
680
+ readonly createdAt: Schema.String;
658
681
  }>]>>, HttpApiEndpoint.StringTree<Schema.Struct<{
659
682
  readonly authorization: Schema.optionalKey<Schema.String>;
660
683
  readonly dpop: Schema.optionalKey<Schema.String>;
@@ -663,7 +686,7 @@ declare const EnvironmentOrchestrationHttpApi_base: HttpApiGroup.HttpApiGroup<"o
663
686
  }>>, HttpApiEndpoint.Json<typeof EnvironmentRequestInvalidError | typeof EnvironmentScopeRequiredError | typeof EnvironmentInternalError>, EnvironmentAuthenticatedAuth, never>, false>;
664
687
  export declare class EnvironmentOrchestrationHttpApi extends EnvironmentOrchestrationHttpApi_base {
665
688
  }
666
- declare const EnvironmentCloudHttpApi_base: HttpApiGroup.HttpApiGroup<"cloud", HttpApiEndpoint.HttpApiEndpoint<"linkProof", "POST", "/api/cloud/link-proof", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
689
+ declare const EnvironmentConnectHttpApi_base: HttpApiGroup.HttpApiGroup<"connect", HttpApiEndpoint.HttpApiEndpoint<"linkProof", "POST", "/api/connect/link-proof", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
667
690
  readonly challenge: Schema.String;
668
691
  readonly relayIssuer: Schema.String;
669
692
  readonly endpoint: Schema.Struct<{
@@ -678,7 +701,7 @@ declare const EnvironmentCloudHttpApi_base: HttpApiGroup.HttpApiGroup<"cloud", H
678
701
  }>>, HttpApiEndpoint.StringTree<Schema.Struct<{
679
702
  readonly authorization: Schema.optionalKey<Schema.String>;
680
703
  readonly dpop: Schema.optionalKey<Schema.String>;
681
- }>>, HttpApiEndpoint.Json<Schema.decodeTo<Schema.String, Schema.String, never, never>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayConfig", "POST", "/api/cloud/relay-config", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
704
+ }>>, HttpApiEndpoint.Json<Schema.decodeTo<Schema.String, Schema.String, never, never>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayConfig", "POST", "/api/connect/relay-config", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
682
705
  readonly relayUrl: Schema.String;
683
706
  readonly relayIssuer: Schema.optional<Schema.String>;
684
707
  readonly cloudUserId: Schema.String;
@@ -696,7 +719,7 @@ declare const EnvironmentCloudHttpApi_base: HttpApiGroup.HttpApiGroup<"cloud", H
696
719
  }>>, HttpApiEndpoint.Json<Schema.Struct<{
697
720
  readonly ok: Schema.Boolean;
698
721
  readonly endpointRuntimeStatus: Schema.Unknown;
699
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError | typeof EnvironmentCloudEndpointUnavailableError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"linkState", "GET", "/api/cloud/link-state", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
722
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError | typeof EnvironmentCloudEndpointUnavailableError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"linkState", "GET", "/api/connect/link-state", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
700
723
  readonly authorization: Schema.optionalKey<Schema.String>;
701
724
  readonly dpop: Schema.optionalKey<Schema.String>;
702
725
  }>>, HttpApiEndpoint.Json<Schema.Struct<{
@@ -705,13 +728,13 @@ declare const EnvironmentCloudHttpApi_base: HttpApiGroup.HttpApiGroup<"cloud", H
705
728
  readonly relayUrl: Schema.NullOr<Schema.String>;
706
729
  readonly relayIssuer: Schema.NullOr<Schema.String>;
707
730
  readonly publishAgentActivity: Schema.Boolean;
708
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unlink", "POST", "/api/cloud/unlink", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
731
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unlink", "POST", "/api/connect/unlink", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<never>, HttpApiEndpoint.StringTree<Schema.Struct<{
709
732
  readonly authorization: Schema.optionalKey<Schema.String>;
710
733
  readonly dpop: Schema.optionalKey<Schema.String>;
711
734
  }>>, HttpApiEndpoint.Json<Schema.Struct<{
712
735
  readonly ok: Schema.Boolean;
713
736
  readonly endpointRuntimeStatus: Schema.Unknown;
714
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"preferences", "POST", "/api/cloud/preferences", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
737
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"preferences", "POST", "/api/connect/preferences", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
715
738
  readonly publishAgentActivity: Schema.Boolean;
716
739
  }>>, HttpApiEndpoint.StringTree<Schema.Struct<{
717
740
  readonly authorization: Schema.optionalKey<Schema.String>;
@@ -722,7 +745,7 @@ declare const EnvironmentCloudHttpApi_base: HttpApiGroup.HttpApiGroup<"cloud", H
722
745
  readonly relayUrl: Schema.NullOr<Schema.String>;
723
746
  readonly relayIssuer: Schema.NullOr<Schema.String>;
724
747
  readonly publishAgentActivity: Schema.Boolean;
725
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"health", "POST", "/api/t3-cloud/health", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
748
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, EnvironmentAuthenticatedAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"health", "POST", "/api/t3-connect/health", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
726
749
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
727
750
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
728
751
  readonly environmentId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EnvironmentId">;
@@ -741,22 +764,22 @@ declare const EnvironmentCloudHttpApi_base: HttpApiGroup.HttpApiGroup<"cloud", H
741
764
  }>;
742
765
  readonly checkedAt: Schema.decodeTo<Schema.String, Schema.String, never, never>;
743
766
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
744
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"mintCredential", "POST", "/api/cloud/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
767
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"mintCredential", "POST", "/api/connect/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
745
768
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
746
769
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
747
770
  readonly credential: Schema.decodeTo<Schema.String, Schema.String, never, never>;
748
771
  readonly expiresAt: Schema.decodeTo<Schema.String, Schema.String, never, never>;
749
772
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
750
- }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"t3MintCredential", "POST", "/api/t3-cloud/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
773
+ }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"t3MintCredential", "POST", "/api/t3-connect/mint-credential", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
751
774
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
752
775
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
753
776
  readonly credential: Schema.decodeTo<Schema.String, Schema.String, never, never>;
754
777
  readonly expiresAt: Schema.decodeTo<Schema.String, Schema.String, never, never>;
755
778
  readonly proof: Schema.decodeTo<Schema.String, Schema.String, never, never>;
756
779
  }>>, HttpApiEndpoint.Json<typeof EnvironmentScopeRequiredError | typeof EnvironmentHttpBadRequestError | typeof EnvironmentHttpUnauthorizedError | typeof EnvironmentHttpForbiddenError | typeof EnvironmentHttpInternalServerError | typeof EnvironmentHttpConflictError>, never, never>, false>;
757
- export declare class EnvironmentCloudHttpApi extends EnvironmentCloudHttpApi_base {
780
+ export declare class EnvironmentConnectHttpApi extends EnvironmentConnectHttpApi_base {
758
781
  }
759
- declare const EnvironmentHttpApi_base: HttpApi.HttpApi<"environment", typeof EnvironmentMetadataHttpApi | typeof EnvironmentAuthHttpApi | typeof EnvironmentOrchestrationHttpApi | typeof EnvironmentCloudHttpApi>;
782
+ declare const EnvironmentHttpApi_base: HttpApi.HttpApi<"environment", typeof EnvironmentMetadataHttpApi | typeof EnvironmentAuthHttpApi | typeof EnvironmentOrchestrationHttpApi | typeof EnvironmentConnectHttpApi>;
760
783
  export declare class EnvironmentHttpApi extends EnvironmentHttpApi_base {
761
784
  }
762
785
  export {};
@@ -20,6 +20,10 @@ export interface ContextMenuItem<T extends string = string> {
20
20
  label: string;
21
21
  destructive?: boolean;
22
22
  disabled?: boolean;
23
+ /** Renders as a non-interactive section header label. Web fallback only — stripped on desktop native menus. */
24
+ header?: boolean;
25
+ /** Icon keyword resolved by the web fallback. Stripped on desktop native menus. */
26
+ icon?: string;
23
27
  children?: readonly ContextMenuItem<T>[];
24
28
  }
25
29
  export interface ContextMenuItemSchemaType {
@@ -27,6 +31,8 @@ export interface ContextMenuItemSchemaType {
27
31
  readonly label: string;
28
32
  readonly destructive?: boolean;
29
33
  readonly disabled?: boolean;
34
+ readonly header?: boolean;
35
+ readonly icon?: string;
30
36
  readonly children?: readonly ContextMenuItemSchemaType[];
31
37
  }
32
38
  export declare const ContextMenuItemSchema: Schema.Codec<ContextMenuItemSchemaType>;