t3code-cli 0.14.1 → 0.15.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 (185) hide show
  1. package/README.md +37 -1
  2. package/dist/application.d.ts +2 -2
  3. package/dist/application.js +1 -1
  4. package/dist/auth.d.ts +1 -1
  5. package/dist/auth.js +1 -1
  6. package/dist/bin.js +1305 -424
  7. package/dist/cli.d.ts +1 -1
  8. package/dist/cli.js +1 -1
  9. package/dist/client-runtime/authorization.d.ts +1 -1
  10. package/dist/client-runtime/authorization.js +1 -1
  11. package/dist/client-runtime/connection.d.ts +1 -1
  12. package/dist/client-runtime/connection.js +1 -1
  13. package/dist/client-runtime/environment.d.ts +7 -1
  14. package/dist/client-runtime/environment.js +1 -1
  15. package/dist/client-runtime/errors.js +1 -1
  16. package/dist/client-runtime/operations/projects.d.ts +2 -2
  17. package/dist/client-runtime/operations/projects.js +2 -2
  18. package/dist/client-runtime/operations.d.ts +2 -2
  19. package/dist/client-runtime/operations.js +2 -2
  20. package/dist/client-runtime/platform.d.ts +1 -1
  21. package/dist/client-runtime/platform.js +1 -1
  22. package/dist/client-runtime/relay.d.ts +13 -2
  23. package/dist/client-runtime/relay.js +12 -2
  24. package/dist/client-runtime/rpc.d.ts +2 -2
  25. package/dist/client-runtime/rpc.js +2 -2
  26. package/dist/client-runtime/state/assets.d.ts +17 -11
  27. package/dist/client-runtime/state/assets.js +1 -1
  28. package/dist/client-runtime/state/auth.d.ts +1 -1
  29. package/dist/client-runtime/state/auth.js +1 -1
  30. package/dist/client-runtime/state/connections.js +1 -1
  31. package/dist/client-runtime/state/entities.d.ts +1 -1
  32. package/dist/client-runtime/state/entities.js +1 -1
  33. package/dist/client-runtime/state/filesystem.d.ts +1 -1
  34. package/dist/client-runtime/state/filesystem.js +1 -1
  35. package/dist/client-runtime/state/git.d.ts +6 -5
  36. package/dist/client-runtime/state/git.js +1 -1
  37. package/dist/client-runtime/state/models.d.ts +1 -1
  38. package/dist/client-runtime/state/models.js +1 -1
  39. package/dist/client-runtime/state/orchestration.d.ts +42 -2
  40. package/dist/client-runtime/state/orchestration.js +13 -1
  41. package/dist/client-runtime/state/presentation.d.ts +15 -3
  42. package/dist/client-runtime/state/presentation.js +1 -1
  43. package/dist/client-runtime/state/preview.d.ts +58 -48
  44. package/dist/client-runtime/state/preview.js +3 -2
  45. package/dist/client-runtime/state/project-grouping.d.ts +26 -2
  46. package/dist/client-runtime/state/project-grouping.js +83 -3
  47. package/dist/client-runtime/state/projects.d.ts +24 -18
  48. package/dist/client-runtime/state/projects.js +1 -1
  49. package/dist/client-runtime/state/pull-requests.d.ts +478 -0
  50. package/dist/client-runtime/state/pull-requests.js +172 -0
  51. package/dist/client-runtime/state/relay.d.ts +1 -1
  52. package/dist/client-runtime/state/relay.js +1 -1
  53. package/dist/client-runtime/state/review.d.ts +16 -1
  54. package/dist/client-runtime/state/review.js +27 -6
  55. package/dist/client-runtime/state/runtime.d.ts +2 -2
  56. package/dist/client-runtime/state/runtime.js +2 -2
  57. package/dist/client-runtime/state/server.d.ts +311 -172
  58. package/dist/client-runtime/state/server.js +192 -16
  59. package/dist/client-runtime/state/session.d.ts +77 -7
  60. package/dist/client-runtime/state/session.js +32 -3
  61. package/dist/client-runtime/state/shell.d.ts +47 -7
  62. package/dist/client-runtime/state/shell.js +1 -1
  63. package/dist/client-runtime/state/source-control.d.ts +2 -2
  64. package/dist/client-runtime/state/source-control.js +1 -1
  65. package/dist/client-runtime/state/subagentRuntime.d.ts +145 -0
  66. package/dist/client-runtime/state/subagentRuntime.js +521 -0
  67. package/dist/client-runtime/state/terminal.d.ts +17 -17
  68. package/dist/client-runtime/state/terminal.js +1 -1
  69. package/dist/client-runtime/state/thread-search.d.ts +23 -0
  70. package/dist/client-runtime/state/thread-search.js +38 -0
  71. package/dist/client-runtime/state/thread-settled.d.ts +32 -4
  72. package/dist/client-runtime/state/thread-settled.js +2 -157
  73. package/dist/client-runtime/state/thread-sort.d.ts +59 -2
  74. package/dist/client-runtime/state/thread-sort.js +128 -2
  75. package/dist/client-runtime/state/threads.d.ts +115 -3
  76. package/dist/client-runtime/state/threads.js +309 -28
  77. package/dist/client-runtime/state/vcs.d.ts +14 -14
  78. package/dist/client-runtime/state/vcs.js +1 -1
  79. package/dist/config.d.ts +1 -1
  80. package/dist/config.js +1 -1
  81. package/dist/connection.d.ts +1 -1
  82. package/dist/connection.js +1 -1
  83. package/dist/contracts.d.ts +1 -1
  84. package/dist/contracts.js +1 -1
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.js +1 -1
  87. package/dist/node.d.ts +1 -1
  88. package/dist/node.js +1 -1
  89. package/dist/orchestration.d.ts +155 -6
  90. package/dist/orchestration.js +2 -2
  91. package/dist/preview.d.ts +1 -1
  92. package/dist/preview.js +1 -1
  93. package/dist/rpc.d.ts +887 -360
  94. package/dist/rpc.js +1 -1
  95. package/dist/runtime.d.ts +1 -1
  96. package/dist/runtime.js +1 -1
  97. package/dist/shared/DrainableWorker.js +1 -1
  98. package/dist/shared/KeyedCoalescingWorker.js +1 -1
  99. package/dist/shared/Net.d.ts +6 -0
  100. package/dist/shared/Net.js +2 -1
  101. package/dist/shared/advertisedEndpoint.d.ts +1 -1
  102. package/dist/shared/advertisedEndpoint.js +1 -1
  103. package/dist/shared/agentAwareness.d.ts +1 -1
  104. package/dist/shared/backgroundActivitySettings.d.ts +1 -1
  105. package/dist/shared/composerInlineTokens.js +1 -1
  106. package/dist/shared/connectAuth.d.ts +23 -4
  107. package/dist/shared/connectAuth.js +40 -7
  108. package/dist/shared/devHome.js +1 -1
  109. package/dist/shared/dpop.js +1 -1
  110. package/dist/shared/git.d.ts +1 -1
  111. package/dist/shared/httpObservability.js +1 -1
  112. package/dist/shared/httpReadiness.js +1 -1
  113. package/dist/shared/keybindings.d.ts +2 -2
  114. package/dist/shared/keybindings.js +15 -1
  115. package/dist/shared/model.d.ts +1 -1
  116. package/dist/shared/oauthScope.js +1 -1
  117. package/dist/shared/observability.d.ts +8 -1
  118. package/dist/shared/observability.js +49 -5
  119. package/dist/shared/path.js +1 -1
  120. package/dist/shared/preview.js +1 -1
  121. package/dist/shared/previewViewport.d.ts +1 -1
  122. package/dist/shared/previewViewport.js +1 -1
  123. package/dist/shared/projectFavicon.d.ts +2 -1
  124. package/dist/shared/projectFavicon.js +13 -1
  125. package/dist/shared/projectScripts.d.ts +1 -1
  126. package/dist/shared/relayAuth.js +1 -1
  127. package/dist/shared/relayClient.d.ts +1 -1
  128. package/dist/shared/relayClient.js +1 -1
  129. package/dist/shared/relayJwt.js +1 -1
  130. package/dist/shared/relayTracing.js +1 -1
  131. package/dist/shared/relayUrl.js +1 -1
  132. package/dist/shared/remote.js +1 -1
  133. package/dist/shared/schemaYaml.js +3 -3
  134. package/dist/shared/semver.js +1 -1
  135. package/dist/shared/serverSettings.d.ts +1 -1
  136. package/dist/shared/serverSettings.js +1 -1
  137. package/dist/shared/shell.d.ts +6 -1
  138. package/dist/shared/shell.js +42 -4
  139. package/dist/shared/sourceControl.d.ts +1 -1
  140. package/dist/shared/t3ProjectFile.d.ts +9 -1
  141. package/dist/shared/t3ProjectFile.js +12 -2
  142. package/dist/shared/terminalLabels.d.ts +1 -1
  143. package/dist/shared/threadEnvMode.d.ts +29 -0
  144. package/dist/shared/threadEnvMode.js +24 -0
  145. package/dist/shared/toolActivity.d.ts +1 -1
  146. package/dist/shared/usageFormat.d.ts +34 -0
  147. package/dist/shared/usageFormat.js +176 -0
  148. package/dist/shared/usageMerge.d.ts +78 -0
  149. package/dist/shared/usageMerge.js +241 -0
  150. package/dist/shared.d.ts +8268 -1372
  151. package/dist/shared.js +22185 -19774
  152. package/dist/t3tools.d.ts +2 -2
  153. package/dist/t3tools.js +2 -2
  154. package/package.json +5 -5
  155. package/src/application/error.ts +2 -2
  156. package/src/application/index.ts +2 -0
  157. package/src/application/service.ts +43 -5
  158. package/src/application/thread-commands.ts +78 -0
  159. package/src/application/threads.ts +156 -17
  160. package/src/cli/app.ts +4 -0
  161. package/src/cli/ask-lifecycle.ts +331 -0
  162. package/src/cli/ask.ts +390 -0
  163. package/src/cli/error.ts +70 -0
  164. package/src/cli/format/thread.ts +49 -7
  165. package/src/cli/search.ts +48 -0
  166. package/src/cli/thread.ts +12 -0
  167. package/src/cli/threads/messages.ts +33 -3
  168. package/src/cli/threads/pin.ts +46 -0
  169. package/src/cli/threads/send.ts +5 -1
  170. package/src/cli/threads/settle.ts +46 -0
  171. package/src/cli/threads/snooze.ts +117 -0
  172. package/src/cli/threads/start.ts +6 -1
  173. package/src/cli/threads/unpin.ts +48 -0
  174. package/src/cli/threads/unsettle.ts +48 -0
  175. package/src/cli/threads/unsnooze.ts +48 -0
  176. package/src/config/persist/schema.ts +1 -1
  177. package/src/connection/prepared.ts +12 -2
  178. package/src/orchestration/error.ts +10 -0
  179. package/src/orchestration/index.ts +1 -0
  180. package/src/orchestration/layer.ts +78 -0
  181. package/src/orchestration/service.ts +16 -3
  182. package/src/rpc/error.ts +2 -0
  183. package/src/rpc/operation.ts +2 -0
  184. package/src/rpc/ws-group.ts +3 -0
  185. package/src/runtime/layer.ts +9 -4
@@ -1,10 +1,83 @@
1
- import { Bl as ServerConfigStreamEvent, Ca as EnvironmentCacheStore, Eu as ServerSelfUpdateError, Fl as ServerConfig, Ju as KeybindingsConfigError, Ku as KeybindingWhenNode, Xl as ServerLifecycleWelcomePayload, Zt as EnvironmentRpcInput, _a as EnvironmentSupervisor, a_ as ServerSettingsError, bT as EnvironmentAuthorizationError, cs as WS_METHODS, f as AtomCommand, gu as ServerProviderUpdateError, ha as EnvironmentRegistry, ma as EnvironmentNotRegisteredError, on as EnvironmentRpcUnavailableError, zT as EnvironmentId } from "../../shared.js";
1
+ import { $O as EnvironmentAuthorizationError, Aa as EnvironmentSupervisor, Cs as WS_METHODS, Da as EnvironmentNotRegisteredError, Du as ServerConfigStreamEvent, Fu as ServerLifecycleStreamReadyEvent, Ia as EnvironmentCacheStore, Id as KeybindingWhenNode, Lu as ServerLifecycleWelcomePayload, Oa as EnvironmentRegistry, Rd as KeybindingsConfigError, Sl as UsageReadError, Su as ServerConfig, Xv as ServerSettingsError, f as AtomCommand, gd as ServerSelfUpdateProgressEvent, hn as EnvironmentRpcUnavailableError, on as EnvironmentRpcInput, rd as ServerProviderUpdateError, vd as ServerSelfUpdateResult, vk as EnvironmentId } from "../../shared.js";
2
2
  import * as Effect from "effect/Effect";
3
3
  import * as Stream from "effect/Stream";
4
+ import * as Schema from "effect/Schema";
5
+ import * as Duration from "effect/Duration";
4
6
  import * as Option from "effect/Option";
5
7
  import * as SubscriptionRef from "effect/SubscriptionRef";
8
+ import * as Cause from "effect/Cause";
6
9
  import { AsyncResult, Atom } from "effect/unstable/reactivity";
10
+ import * as Exit from "effect/Exit";
7
11
  //#region upstream-t3code/packages/client-runtime/src/state/server.d.ts
12
+ type ServerUpdateStage = "downloading" | "installing" | "resuming";
13
+ type ServerUpdateState = {
14
+ readonly status: "idle";
15
+ } | {
16
+ readonly status: "running";
17
+ readonly stage: ServerUpdateStage;
18
+ readonly fromVersion: string;
19
+ readonly targetVersion: string;
20
+ } | {
21
+ readonly status: "failed";
22
+ readonly stage: ServerUpdateStage;
23
+ readonly fromVersion: string;
24
+ readonly targetVersion: string;
25
+ readonly message: string;
26
+ };
27
+ interface ServerUpdateTarget {
28
+ readonly environmentId: EnvironmentId;
29
+ readonly input: EnvironmentRpcInput<typeof WS_METHODS.serverUpdateServer>;
30
+ }
31
+ declare const ServerUpdateResumeTimeoutError_base: Schema.Class<ServerUpdateResumeTimeoutError, Schema.TaggedStruct<"ServerUpdateResumeTimeoutError", {
32
+ readonly environmentId: Schema.String;
33
+ readonly targetVersion: Schema.String;
34
+ }>, Cause.YieldableError>;
35
+ declare class ServerUpdateResumeTimeoutError extends ServerUpdateResumeTimeoutError_base {
36
+ get message(): string;
37
+ }
38
+ declare const ServerUpdateProgressIncompleteError_base: Schema.Class<ServerUpdateProgressIncompleteError, Schema.TaggedStruct<"ServerUpdateProgressIncompleteError", {
39
+ readonly targetVersion: Schema.String;
40
+ }>, Cause.YieldableError>;
41
+ declare class ServerUpdateProgressIncompleteError extends ServerUpdateProgressIncompleteError_base {
42
+ get message(): string;
43
+ }
44
+ declare const ServerUpdateTerminalError_base: Schema.Class<ServerUpdateTerminalError, Schema.TaggedStruct<"ServerUpdateTerminalError", {
45
+ readonly targetVersion: Schema.String;
46
+ readonly status: Schema.Literals<readonly ["committed", "rolled-back", "failed"]>;
47
+ readonly reason: Schema.optional<Schema.String>;
48
+ }>, Cause.YieldableError>;
49
+ declare class ServerUpdateTerminalError extends ServerUpdateTerminalError_base {
50
+ get message(): string;
51
+ }
52
+ declare function matchesServerUpdateReadyEvent(result: ServerSelfUpdateResult, event: ServerLifecycleStreamReadyEvent): boolean;
53
+ declare function validateServerUpdateReadyEvent(result: ServerSelfUpdateResult, event: ServerLifecycleStreamReadyEvent): Effect.Effect<void, ServerUpdateTerminalError>;
54
+ /**
55
+ * Keeps reconnect attempts ~1s apart for the whole update restart.
56
+ *
57
+ * A restart takes the server down for ~15 seconds, but the supervisor's normal
58
+ * backoff ladder (1/2/4/8/16s) assumes an unexpected failure and lands attempts
59
+ * at ~3, 5, 9, 17 and 33 seconds — so a 15-second restart is observed as a
60
+ * 33-second "Resuming". Nudging on every backoff entry (not just the first)
61
+ * holds the retry cadence flat until the server answers again. The sleep before
62
+ * each nudge is the pacer: a connection that fails instantly re-enters backoff
63
+ * immediately and would otherwise spin a tight retry loop.
64
+ *
65
+ * Callers fork this as a child of the update command so it is interrupted as
66
+ * soon as the update settles, whether it succeeds, fails, or times out.
67
+ */
68
+ declare function nudgeReconnectDuringUpdateRestart(input: {
69
+ readonly stateChanges: Stream.Stream<{
70
+ readonly phase: string;
71
+ }, unknown>;
72
+ readonly retryNow: Effect.Effect<void>;
73
+ readonly interval?: Duration.Duration;
74
+ }): Effect.Effect<void>;
75
+ declare function serverUpdateStateForProgressEvent(fromVersion: string, targetVersion: string, event: ServerSelfUpdateProgressEvent): Extract<ServerUpdateState, {
76
+ status: "running";
77
+ }>;
78
+ declare function serverUpdateStateForServerVersion(state: ServerUpdateState, serverVersion: string | null): ServerUpdateState;
79
+ declare function isLegacyUpdateHandoffLoss(cause: Cause.Cause<unknown>): boolean;
80
+ declare function resolveServerUpdateProgressResult<E>(targetVersion: string, terminal: Option.Option<ServerSelfUpdateResult>, streamExit: Exit.Exit<void, E>): Effect.Effect<ServerSelfUpdateResult, E | ServerUpdateProgressIncompleteError>;
8
81
  interface ServerConfigProjection {
9
82
  readonly config: ServerConfig;
10
83
  readonly latestEvent: ServerConfigStreamEvent;
@@ -39,9 +112,15 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
39
112
  readonly capabilities: {
40
113
  readonly repositoryIdentity: boolean;
41
114
  readonly connectionProbe?: boolean;
115
+ readonly pullRequests?: boolean;
42
116
  readonly threadSettlement?: boolean;
43
117
  readonly threadSnooze?: boolean;
118
+ readonly threadPinning?: boolean;
119
+ readonly threadPinReorder?: boolean;
120
+ readonly threadTitleRegeneration?: boolean;
44
121
  readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
122
+ readonly serverSelfUpdateProgress?: boolean;
123
+ readonly agentActivityPublishing?: boolean;
45
124
  };
46
125
  };
47
126
  readonly auth: {
@@ -53,7 +132,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
53
132
  readonly cwd: string;
54
133
  readonly keybindingsConfigPath: string;
55
134
  readonly keybindings: readonly {
56
- readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
135
+ readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "filePicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "projectSearch.toggle" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "themeEditor.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
57
136
  readonly shortcut: {
58
137
  readonly key: string;
59
138
  readonly metaKey: boolean;
@@ -118,6 +197,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
118
197
  readonly subProvider?: string | undefined;
119
198
  readonly isCustom: boolean;
120
199
  readonly isDefault?: boolean | undefined;
200
+ readonly isLegacy?: boolean | undefined;
121
201
  readonly capabilities: {
122
202
  readonly optionDescriptors?: readonly ({
123
203
  readonly id: string;
@@ -175,6 +255,10 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
175
255
  };
176
256
  }[];
177
257
  readonly availableEditors: readonly ("antigravity" | "aqua" | "clion" | "cursor" | "datagrip" | "dataspell" | "file-manager" | "goland" | "idea" | "kiro" | "phpstorm" | "pycharm" | "rider" | "rubymine" | "rustrover" | "trae" | "vscode" | "vscode-insiders" | "vscodium" | "webstorm" | "zed")[];
258
+ readonly remoteOpenTargets?: readonly {
259
+ readonly kind: "mdns" | "tailscale";
260
+ readonly host: string;
261
+ }[];
178
262
  readonly observability: {
179
263
  readonly logsDirectoryPath: string;
180
264
  readonly localTracingEnabled: boolean;
@@ -184,26 +268,26 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
184
268
  readonly otlpMetricsEnabled: boolean;
185
269
  };
186
270
  readonly settings: {
187
- readonly enableAssistantStreaming: boolean;
271
+ readonly enableLegacyTokenStreaming: boolean;
188
272
  readonly enableProviderUpdateChecks: boolean;
189
273
  readonly backgroundActivity: {
190
274
  readonly schemaVersion: 1;
191
275
  readonly profile: "balanced" | "battery-saver" | "custom" | "performance";
192
276
  readonly baseProfile?: "balanced" | "battery-saver" | "performance";
193
277
  readonly overrides: {
194
- readonly automaticGitFetchInterval?: import("effect/Duration").Duration;
195
- readonly providerHealthRefreshInterval?: import("effect/Duration").Duration;
196
- readonly hostPowerMonitorActiveInterval?: import("effect/Duration").Duration;
197
- readonly hostPowerMonitorIdleInterval?: import("effect/Duration").Duration;
198
- readonly idleClientTtl?: import("effect/Duration").Duration;
278
+ readonly automaticGitFetchInterval?: Duration.Duration;
279
+ readonly providerHealthRefreshInterval?: Duration.Duration;
280
+ readonly hostPowerMonitorActiveInterval?: Duration.Duration;
281
+ readonly hostPowerMonitorIdleInterval?: Duration.Duration;
282
+ readonly idleClientTtl?: Duration.Duration;
199
283
  readonly pauseWhenHostLocked?: boolean;
200
284
  readonly pauseWhenHostLowPower?: boolean;
201
285
  readonly pauseWhenClientLowPower?: boolean;
202
286
  readonly pauseWhenOnBattery?: boolean;
203
287
  };
204
288
  };
205
- readonly automaticGitFetchInterval: import("effect/Duration").Duration;
206
- readonly providerHealthRefreshInterval: import("effect/Duration").Duration;
289
+ readonly automaticGitFetchInterval: Duration.Duration;
290
+ readonly providerHealthRefreshInterval: Duration.Duration;
207
291
  readonly backgroundActivityProfile: "balanced" | "battery-saver" | "performance";
208
292
  readonly defaultThreadEnvMode: "local" | "worktree";
209
293
  readonly newWorktreesStartFromOrigin: boolean;
@@ -286,28 +370,30 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
286
370
  };
287
371
  readonly shellResumeCompletionMarker?: boolean;
288
372
  readonly threadResumeCompletionMarker?: boolean;
373
+ readonly threadSnapshotPagination?: boolean;
289
374
  } | null>;
375
+ updateStateAtom: (environmentId: EnvironmentId | null) => Atom.Atom<ServerUpdateState>;
290
376
  settingsValueAtom: (arg: string & import("effect/Brand").Brand<"EnvironmentId">) => Atom.Atom<{
291
- readonly enableAssistantStreaming: boolean;
377
+ readonly enableLegacyTokenStreaming: boolean;
292
378
  readonly enableProviderUpdateChecks: boolean;
293
379
  readonly backgroundActivity: {
294
380
  readonly schemaVersion: 1;
295
381
  readonly profile: "balanced" | "battery-saver" | "custom" | "performance";
296
382
  readonly baseProfile?: "balanced" | "battery-saver" | "performance";
297
383
  readonly overrides: {
298
- readonly automaticGitFetchInterval?: import("effect/Duration").Duration;
299
- readonly providerHealthRefreshInterval?: import("effect/Duration").Duration;
300
- readonly hostPowerMonitorActiveInterval?: import("effect/Duration").Duration;
301
- readonly hostPowerMonitorIdleInterval?: import("effect/Duration").Duration;
302
- readonly idleClientTtl?: import("effect/Duration").Duration;
384
+ readonly automaticGitFetchInterval?: Duration.Duration;
385
+ readonly providerHealthRefreshInterval?: Duration.Duration;
386
+ readonly hostPowerMonitorActiveInterval?: Duration.Duration;
387
+ readonly hostPowerMonitorIdleInterval?: Duration.Duration;
388
+ readonly idleClientTtl?: Duration.Duration;
303
389
  readonly pauseWhenHostLocked?: boolean;
304
390
  readonly pauseWhenHostLowPower?: boolean;
305
391
  readonly pauseWhenClientLowPower?: boolean;
306
392
  readonly pauseWhenOnBattery?: boolean;
307
393
  };
308
394
  };
309
- readonly automaticGitFetchInterval: import("effect/Duration").Duration;
310
- readonly providerHealthRefreshInterval: import("effect/Duration").Duration;
395
+ readonly automaticGitFetchInterval: Duration.Duration;
396
+ readonly providerHealthRefreshInterval: Duration.Duration;
311
397
  readonly backgroundActivityProfile: "balanced" | "battery-saver" | "performance";
312
398
  readonly defaultThreadEnvMode: "local" | "worktree";
313
399
  readonly newWorktreesStartFromOrigin: boolean;
@@ -420,6 +506,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
420
506
  readonly subProvider?: string | undefined;
421
507
  readonly isCustom: boolean;
422
508
  readonly isDefault?: boolean | undefined;
509
+ readonly isLegacy?: boolean | undefined;
423
510
  readonly capabilities: {
424
511
  readonly optionDescriptors?: readonly ({
425
512
  readonly id: string;
@@ -478,7 +565,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
478
565
  }[] | null>;
479
566
  traceDiagnostics: (target: {
480
567
  readonly environmentId: EnvironmentId;
481
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
568
+ readonly input: {};
482
569
  }) => Atom.Atom<AsyncResult.AsyncResult<{
483
570
  readonly traceFilePath: string;
484
571
  readonly scannedFilePaths: readonly string[];
@@ -541,7 +628,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
541
628
  }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
542
629
  processDiagnostics: (target: {
543
630
  readonly environmentId: EnvironmentId;
544
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
631
+ readonly input: {};
545
632
  }) => Atom.Atom<AsyncResult.AsyncResult<{
546
633
  readonly serverPid: number;
547
634
  readonly readAt: import("effect/DateTime").Utc;
@@ -567,10 +654,10 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
567
654
  }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
568
655
  processResourceHistory: (target: {
569
656
  readonly environmentId: EnvironmentId;
570
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
571
- readonly windowMs: import("effect/Schema").Int;
572
- readonly bucketMs: import("effect/Schema").Int;
573
- }>;
657
+ readonly input: {
658
+ readonly windowMs: number;
659
+ readonly bucketMs: number;
660
+ };
574
661
  }) => Atom.Atom<AsyncResult.AsyncResult<{
575
662
  readonly readAt: import("effect/DateTime").Utc;
576
663
  readonly windowMs: number;
@@ -610,7 +697,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
610
697
  }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
611
698
  resourceTelemetry: (target: {
612
699
  readonly environmentId: EnvironmentId;
613
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
700
+ readonly input: {};
614
701
  }) => Atom.Atom<AsyncResult.AsyncResult<{
615
702
  readonly readAt: import("effect/DateTime").Utc;
616
703
  readonly sampleIntervalMs: number;
@@ -740,13 +827,13 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
740
827
  readonly retainedProcessCount: number;
741
828
  readonly inaccessibleProcessCount: number;
742
829
  };
743
- }, E | EnvironmentAuthorizationError | import("effect/Cause").NoSuchElementError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
830
+ }, E | EnvironmentAuthorizationError | Cause.NoSuchElementError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
744
831
  resourceTelemetryHistory: (target: {
745
832
  readonly environmentId: EnvironmentId;
746
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
747
- readonly windowMs: import("effect/Schema").Int;
748
- readonly bucketMs: import("effect/Schema").Int;
749
- }>;
833
+ readonly input: {
834
+ readonly windowMs: number;
835
+ readonly bucketMs: number;
836
+ };
750
837
  }) => Atom.Atom<AsyncResult.AsyncResult<{
751
838
  readonly readAt: import("effect/DateTime").Utc;
752
839
  readonly windowMs: number;
@@ -806,13 +893,70 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
806
893
  readonly inaccessibleProcessCount: number;
807
894
  };
808
895
  }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
896
+ usageSummary: (target: {
897
+ readonly environmentId: EnvironmentId;
898
+ readonly input: {
899
+ readonly sinceDay: string & import("effect/Brand").Brand<"UsageDay">;
900
+ readonly untilDay: string & import("effect/Brand").Brand<"UsageDay">;
901
+ readonly timeZone: string;
902
+ readonly resolution?: "day" | "hour" | undefined;
903
+ readonly sinceTime?: string | undefined;
904
+ readonly untilTime?: string | undefined;
905
+ };
906
+ }) => Atom.Atom<AsyncResult.AsyncResult<{
907
+ readonly contractVersion: number;
908
+ readonly readAt: string;
909
+ readonly timeZone: string;
910
+ readonly sinceDay: string & import("effect/Brand").Brand<"UsageDay">;
911
+ readonly untilDay: string & import("effect/Brand").Brand<"UsageDay">;
912
+ readonly buckets: readonly {
913
+ readonly day: string & import("effect/Brand").Brand<"UsageDay">;
914
+ readonly hourStart?: string | undefined;
915
+ readonly provider: "claude" | "codex";
916
+ readonly model: string;
917
+ readonly totals: {
918
+ readonly uncachedInputTokens: number;
919
+ readonly cachedInputTokens: number;
920
+ readonly cacheCreationTokens: number;
921
+ readonly outputTokens: number;
922
+ readonly reasoningTokens: number;
923
+ };
924
+ readonly costUsd: number;
925
+ readonly cacheSavingsUsd: number;
926
+ readonly costSource: "modelPriced" | "providerReported" | "unpriced";
927
+ readonly records: number;
928
+ readonly unpricedRecords: number;
929
+ readonly sessions: number;
930
+ }[];
931
+ readonly sources: readonly {
932
+ readonly fingerprint: {
933
+ readonly hostId: string;
934
+ readonly provider: "claude" | "codex";
935
+ readonly resolvedHomePath: string;
936
+ readonly volumeId: string;
937
+ };
938
+ readonly status: "failed" | "missing" | "ok" | "partial";
939
+ readonly scannedFiles: number;
940
+ readonly skippedFiles: number;
941
+ readonly malformedRecords: number;
942
+ readonly distinctSessions: number;
943
+ readonly message: string | null;
944
+ }[];
945
+ readonly pricing: {
946
+ readonly status: "cached" | "fresh" | "unavailable";
947
+ readonly source: string;
948
+ readonly fetchedAt: string | null;
949
+ readonly knownModels: number;
950
+ };
951
+ readonly scanDurationMs: number;
952
+ }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError | UsageReadError>>;
809
953
  configProjection: (target: {
810
954
  readonly environmentId: EnvironmentId;
811
955
  readonly input: EnvironmentRpcInput<typeof WS_METHODS.subscribeServerConfig>;
812
- }) => Atom.Atom<AsyncResult.AsyncResult<ServerConfigProjection, E | import("effect/Cause").NoSuchElementError>>;
956
+ }) => Atom.Atom<AsyncResult.AsyncResult<ServerConfigProjection, E | Cause.NoSuchElementError>>;
813
957
  welcome: (target: {
814
958
  readonly environmentId: EnvironmentId;
815
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
959
+ readonly input: {};
816
960
  }) => Atom.Atom<AsyncResult.AsyncResult<{
817
961
  readonly environment: {
818
962
  readonly environmentId: string & import("effect/Brand").Brand<"EnvironmentId">;
@@ -825,16 +969,22 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
825
969
  readonly capabilities: {
826
970
  readonly repositoryIdentity: boolean;
827
971
  readonly connectionProbe?: boolean;
972
+ readonly pullRequests?: boolean;
828
973
  readonly threadSettlement?: boolean;
829
974
  readonly threadSnooze?: boolean;
975
+ readonly threadPinning?: boolean;
976
+ readonly threadPinReorder?: boolean;
977
+ readonly threadTitleRegeneration?: boolean;
830
978
  readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
979
+ readonly serverSelfUpdateProgress?: boolean;
980
+ readonly agentActivityPublishing?: boolean;
831
981
  };
832
982
  };
833
983
  readonly cwd: string;
834
984
  readonly projectName: string;
835
985
  readonly bootstrapProjectId?: (string & import("effect/Brand").Brand<"ProjectId">) | undefined;
836
986
  readonly bootstrapThreadId?: (string & import("effect/Brand").Brand<"ThreadId">) | undefined;
837
- }, E | EnvironmentAuthorizationError | import("effect/Cause").NoSuchElementError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
987
+ }, E | EnvironmentAuthorizationError | Cause.NoSuchElementError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
838
988
  refreshProviders: AtomCommand<{
839
989
  readonly environmentId: EnvironmentId;
840
990
  readonly input: {
@@ -873,6 +1023,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
873
1023
  readonly subProvider?: string | undefined;
874
1024
  readonly isCustom: boolean;
875
1025
  readonly isDefault?: boolean | undefined;
1026
+ readonly isLegacy?: boolean | undefined;
876
1027
  readonly capabilities: {
877
1028
  readonly optionDescriptors?: readonly ({
878
1029
  readonly id: string;
@@ -969,6 +1120,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
969
1120
  readonly subProvider?: string | undefined;
970
1121
  readonly isCustom: boolean;
971
1122
  readonly isDefault?: boolean | undefined;
1123
+ readonly isLegacy?: boolean | undefined;
972
1124
  readonly capabilities: {
973
1125
  readonly optionDescriptors?: readonly ({
974
1126
  readonly id: string;
@@ -1026,30 +1178,26 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
1026
1178
  };
1027
1179
  }[];
1028
1180
  }, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError | ServerProviderUpdateError>;
1029
- updateServer: AtomCommand<{
1030
- readonly environmentId: EnvironmentId;
1031
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
1032
- readonly targetVersion: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
1033
- }>;
1034
- }, {
1181
+ updateServer: AtomCommand<ServerUpdateTarget, {
1035
1182
  readonly targetVersion: string;
1036
1183
  readonly method: "boot-service" | "respawn";
1037
- }, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError | ServerSelfUpdateError>;
1184
+ readonly updateId?: string;
1185
+ }, unknown>;
1038
1186
  upsertKeybinding: AtomCommand<{
1039
1187
  readonly environmentId: EnvironmentId;
1040
1188
  readonly input: {
1041
1189
  readonly key: string;
1042
- readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1190
+ readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "filePicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "projectSearch.toggle" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "themeEditor.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1043
1191
  readonly when?: string | undefined;
1044
1192
  readonly replace?: {
1045
1193
  readonly key: string;
1046
- readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1194
+ readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "filePicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "projectSearch.toggle" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "themeEditor.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1047
1195
  readonly when?: string | undefined;
1048
1196
  } | undefined;
1049
1197
  };
1050
1198
  }, {
1051
1199
  readonly keybindings: readonly {
1052
- readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1200
+ readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "filePicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "projectSearch.toggle" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "themeEditor.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1053
1201
  readonly shortcut: {
1054
1202
  readonly key: string;
1055
1203
  readonly metaKey: boolean;
@@ -1087,12 +1235,12 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
1087
1235
  readonly environmentId: EnvironmentId;
1088
1236
  readonly input: {
1089
1237
  readonly key: string;
1090
- readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1238
+ readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "filePicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "projectSearch.toggle" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "themeEditor.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1091
1239
  readonly when?: string | undefined;
1092
1240
  };
1093
1241
  }, {
1094
1242
  readonly keybindings: readonly {
1095
- readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1243
+ readonly command: "chat.new" | "chat.newLocal" | "commandPalette.toggle" | "composer.stash" | "diff.toggle" | "editor.openFavorite" | "filePicker.toggle" | "modelPicker.jump.1" | "modelPicker.jump.2" | "modelPicker.jump.3" | "modelPicker.jump.4" | "modelPicker.jump.5" | "modelPicker.jump.6" | "modelPicker.jump.7" | "modelPicker.jump.8" | "modelPicker.jump.9" | "modelPicker.toggle" | "preview.focusUrl" | "preview.refresh" | "preview.resetZoom" | "preview.toggle" | "preview.zoomIn" | "preview.zoomOut" | "projectSearch.toggle" | "rightPanel.toggle" | "sidebar.toggle" | "terminal.close" | "terminal.new" | "terminal.split" | "terminal.splitVertical" | "terminal.toggle" | "themeEditor.toggle" | "thread.jump.1" | "thread.jump.2" | "thread.jump.3" | "thread.jump.4" | "thread.jump.5" | "thread.jump.6" | "thread.jump.7" | "thread.jump.8" | "thread.jump.9" | "thread.next" | "thread.previous" | `script.${string}.run`;
1096
1244
  readonly shortcut: {
1097
1245
  readonly key: string;
1098
1246
  readonly metaKey: boolean;
@@ -1128,139 +1276,130 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
1128
1276
  }, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | KeybindingsConfigError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
1129
1277
  updateSettings: AtomCommand<{
1130
1278
  readonly environmentId: EnvironmentId;
1131
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
1132
- readonly patch: import("effect/Schema").Struct<{
1133
- readonly enableAssistantStreaming: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1134
- readonly enableProviderUpdateChecks: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1135
- readonly backgroundActivity: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1136
- readonly schemaVersion: import("effect/Schema").optionalKey<import("effect/Schema").Literal<1>>;
1137
- readonly profile: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["balanced", "performance", "battery-saver", "custom"]>>;
1138
- readonly baseProfile: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["balanced", "performance", "battery-saver"]>>;
1139
- readonly overrides: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1140
- readonly automaticGitFetchInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
1141
- readonly providerHealthRefreshInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
1142
- readonly hostPowerMonitorActiveInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
1143
- readonly hostPowerMonitorIdleInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
1144
- readonly idleClientTtl: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
1145
- readonly pauseWhenHostLocked: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1146
- readonly pauseWhenHostLowPower: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1147
- readonly pauseWhenClientLowPower: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1148
- readonly pauseWhenOnBattery: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1149
- }>>;
1150
- }>>;
1151
- readonly automaticGitFetchInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
1152
- readonly providerHealthRefreshInterval: import("effect/Schema").optionalKey<import("effect/Schema").DurationFromMillis>;
1153
- readonly backgroundActivityProfile: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["balanced", "performance", "battery-saver"]>>;
1154
- readonly defaultThreadEnvMode: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["local", "worktree"]>>;
1155
- readonly newWorktreesStartFromOrigin: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1156
- readonly addProjectBaseDirectory: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1157
- readonly textGenerationModelSelection: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1158
- readonly instanceId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">>;
1159
- readonly model: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1160
- readonly options: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").$Array<import("effect/Schema").Struct<{
1161
- readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
1162
- readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
1163
- }>>, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1164
- readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
1165
- readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
1166
- }>>, import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>, never, never>]>>;
1167
- }>>;
1168
- readonly sourceControlWritingStyle: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1169
- readonly mode: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["repo_conventions", "conventional_commits", "custom"]>>;
1170
- readonly customInstructions: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1171
- readonly followChangeRequestTemplates: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1172
- }>>;
1173
- readonly sourceControlWriterModelSelection: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").decodeTo<import("effect/Schema").Struct<{
1174
- readonly instanceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">;
1175
- readonly model: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
1176
- readonly options: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").$Array<import("effect/Schema").Struct<{
1177
- readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
1178
- readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
1179
- }>>, import("effect/Schema").decodeTo<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1180
- readonly id: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
1181
- readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Boolean]>;
1182
- }>>, import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>, never, never>]>>;
1183
- }>, import("effect/Schema").Struct<{
1184
- readonly provider: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1185
- readonly instanceId: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1186
- readonly model: import("effect/Schema").Unknown;
1187
- readonly options: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1188
- }>, never, never>>>;
1189
- readonly observability: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1190
- readonly otlpTracesUrl: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1191
- readonly otlpMetricsUrl: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1192
- }>>;
1193
- readonly providers: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1194
- readonly codex: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1195
- readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1196
- readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1197
- readonly homePath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1198
- readonly shadowHomePath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1199
- readonly launchArgs: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1200
- readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
1201
- }>>;
1202
- readonly claudeAgent: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1203
- readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1204
- readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1205
- readonly homePath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1206
- readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
1207
- readonly launchArgs: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1208
- }>>;
1209
- readonly cursor: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1210
- readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1211
- readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1212
- readonly apiEndpoint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1213
- readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
1214
- }>>;
1215
- readonly grok: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1216
- readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1217
- readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1218
- readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
1219
- }>>;
1220
- readonly opencode: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
1221
- readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1222
- readonly binaryPath: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1223
- readonly serverUrl: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1224
- readonly serverPassword: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1225
- readonly customModels: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
1226
- }>>;
1227
- }>>;
1228
- readonly providerInstances: import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderInstanceId">, import("effect/Schema").Struct<{
1229
- readonly driver: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderDriverKind">;
1230
- readonly displayName: import("effect/Schema").optional<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1231
- readonly accentColor: import("effect/Schema").optional<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
1232
- readonly environment: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1233
- readonly name: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
1234
- readonly value: import("effect/Schema").withDecodingDefault<import("effect/Schema").String, never>;
1235
- readonly sensitive: import("effect/Schema").withDecodingDefault<import("effect/Schema").Boolean, never>;
1236
- readonly valueRedacted: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1237
- }>>>;
1238
- readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1239
- readonly config: import("effect/Schema").optionalKey<import("effect/Schema").Unknown>;
1240
- }>>>;
1241
- }>;
1242
- }>;
1279
+ readonly input: {
1280
+ readonly patch: {
1281
+ readonly enableLegacyTokenStreaming?: boolean;
1282
+ readonly enableProviderUpdateChecks?: boolean;
1283
+ readonly backgroundActivity?: {
1284
+ readonly schemaVersion?: 1;
1285
+ readonly profile?: "balanced" | "battery-saver" | "custom" | "performance";
1286
+ readonly baseProfile?: "balanced" | "battery-saver" | "performance";
1287
+ readonly overrides?: {
1288
+ readonly automaticGitFetchInterval?: Duration.Duration;
1289
+ readonly providerHealthRefreshInterval?: Duration.Duration;
1290
+ readonly hostPowerMonitorActiveInterval?: Duration.Duration;
1291
+ readonly hostPowerMonitorIdleInterval?: Duration.Duration;
1292
+ readonly idleClientTtl?: Duration.Duration;
1293
+ readonly pauseWhenHostLocked?: boolean;
1294
+ readonly pauseWhenHostLowPower?: boolean;
1295
+ readonly pauseWhenClientLowPower?: boolean;
1296
+ readonly pauseWhenOnBattery?: boolean;
1297
+ };
1298
+ };
1299
+ readonly automaticGitFetchInterval?: Duration.Duration;
1300
+ readonly providerHealthRefreshInterval?: Duration.Duration;
1301
+ readonly backgroundActivityProfile?: "balanced" | "battery-saver" | "performance";
1302
+ readonly defaultThreadEnvMode?: "local" | "worktree";
1303
+ readonly newWorktreesStartFromOrigin?: boolean;
1304
+ readonly addProjectBaseDirectory?: string;
1305
+ readonly textGenerationModelSelection?: {
1306
+ readonly instanceId?: string & import("effect/Brand").Brand<"ProviderInstanceId">;
1307
+ readonly model?: string;
1308
+ readonly options?: readonly {
1309
+ readonly id: string;
1310
+ readonly value: string | boolean;
1311
+ }[];
1312
+ };
1313
+ readonly sourceControlWritingStyle?: {
1314
+ readonly mode?: "conventional_commits" | "custom" | "repo_conventions";
1315
+ readonly customInstructions?: string;
1316
+ readonly followChangeRequestTemplates?: boolean;
1317
+ };
1318
+ readonly sourceControlWriterModelSelection?: {
1319
+ readonly instanceId: string & import("effect/Brand").Brand<"ProviderInstanceId">;
1320
+ readonly model: string;
1321
+ readonly options?: readonly {
1322
+ readonly id: string;
1323
+ readonly value: string | boolean;
1324
+ }[];
1325
+ } | null;
1326
+ readonly observability?: {
1327
+ readonly otlpTracesUrl?: string;
1328
+ readonly otlpMetricsUrl?: string;
1329
+ };
1330
+ readonly providers?: {
1331
+ readonly codex?: {
1332
+ readonly enabled?: boolean;
1333
+ readonly binaryPath?: string;
1334
+ readonly homePath?: string;
1335
+ readonly shadowHomePath?: string;
1336
+ readonly launchArgs?: string;
1337
+ readonly customModels?: readonly string[];
1338
+ };
1339
+ readonly claudeAgent?: {
1340
+ readonly enabled?: boolean;
1341
+ readonly binaryPath?: string;
1342
+ readonly homePath?: string;
1343
+ readonly customModels?: readonly string[];
1344
+ readonly launchArgs?: string;
1345
+ };
1346
+ readonly cursor?: {
1347
+ readonly enabled?: boolean;
1348
+ readonly binaryPath?: string;
1349
+ readonly apiEndpoint?: string;
1350
+ readonly customModels?: readonly string[];
1351
+ };
1352
+ readonly grok?: {
1353
+ readonly enabled?: boolean;
1354
+ readonly binaryPath?: string;
1355
+ readonly customModels?: readonly string[];
1356
+ };
1357
+ readonly opencode?: {
1358
+ readonly enabled?: boolean;
1359
+ readonly binaryPath?: string;
1360
+ readonly serverUrl?: string;
1361
+ readonly serverPassword?: string;
1362
+ readonly customModels?: readonly string[];
1363
+ };
1364
+ };
1365
+ readonly providerInstances?: {
1366
+ readonly [x: string & import("effect/Brand").Brand<"ProviderInstanceId">]: {
1367
+ readonly driver: string & import("effect/Brand").Brand<"ProviderDriverKind">;
1368
+ readonly displayName?: string | undefined;
1369
+ readonly accentColor?: string | undefined;
1370
+ readonly environment?: readonly {
1371
+ readonly name: string;
1372
+ readonly value: string;
1373
+ readonly sensitive: boolean;
1374
+ readonly valueRedacted?: boolean;
1375
+ }[];
1376
+ readonly enabled?: boolean;
1377
+ readonly config?: unknown;
1378
+ };
1379
+ };
1380
+ };
1381
+ };
1243
1382
  }, {
1244
- readonly enableAssistantStreaming: boolean;
1383
+ readonly enableLegacyTokenStreaming: boolean;
1245
1384
  readonly enableProviderUpdateChecks: boolean;
1246
1385
  readonly backgroundActivity: {
1247
1386
  readonly schemaVersion: 1;
1248
1387
  readonly profile: "balanced" | "battery-saver" | "custom" | "performance";
1249
1388
  readonly baseProfile?: "balanced" | "battery-saver" | "performance";
1250
1389
  readonly overrides: {
1251
- readonly automaticGitFetchInterval?: import("effect/Duration").Duration;
1252
- readonly providerHealthRefreshInterval?: import("effect/Duration").Duration;
1253
- readonly hostPowerMonitorActiveInterval?: import("effect/Duration").Duration;
1254
- readonly hostPowerMonitorIdleInterval?: import("effect/Duration").Duration;
1255
- readonly idleClientTtl?: import("effect/Duration").Duration;
1390
+ readonly automaticGitFetchInterval?: Duration.Duration;
1391
+ readonly providerHealthRefreshInterval?: Duration.Duration;
1392
+ readonly hostPowerMonitorActiveInterval?: Duration.Duration;
1393
+ readonly hostPowerMonitorIdleInterval?: Duration.Duration;
1394
+ readonly idleClientTtl?: Duration.Duration;
1256
1395
  readonly pauseWhenHostLocked?: boolean;
1257
1396
  readonly pauseWhenHostLowPower?: boolean;
1258
1397
  readonly pauseWhenClientLowPower?: boolean;
1259
1398
  readonly pauseWhenOnBattery?: boolean;
1260
1399
  };
1261
1400
  };
1262
- readonly automaticGitFetchInterval: import("effect/Duration").Duration;
1263
- readonly providerHealthRefreshInterval: import("effect/Duration").Duration;
1401
+ readonly automaticGitFetchInterval: Duration.Duration;
1402
+ readonly providerHealthRefreshInterval: Duration.Duration;
1264
1403
  readonly backgroundActivityProfile: "balanced" | "battery-saver" | "performance";
1265
1404
  readonly defaultThreadEnvMode: "local" | "worktree";
1266
1405
  readonly newWorktreesStartFromOrigin: boolean;
@@ -1343,11 +1482,11 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
1343
1482
  }, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError | ServerSettingsError>;
1344
1483
  signalProcess: AtomCommand<{
1345
1484
  readonly environmentId: EnvironmentId;
1346
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
1347
- readonly pid: import("effect/Schema").Int;
1348
- readonly startTimeMs: import("effect/Schema").Int;
1349
- readonly signal: import("effect/Schema").Literals<readonly ["SIGINT", "SIGKILL"]>;
1350
- }>;
1485
+ readonly input: {
1486
+ readonly pid: number;
1487
+ readonly startTimeMs: number;
1488
+ readonly signal: "SIGINT" | "SIGKILL";
1489
+ };
1351
1490
  }, {
1352
1491
  readonly pid: number;
1353
1492
  readonly signal: "SIGINT" | "SIGKILL";
@@ -1356,7 +1495,7 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
1356
1495
  }, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
1357
1496
  retryResourceTelemetry: AtomCommand<{
1358
1497
  readonly environmentId: EnvironmentId;
1359
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
1498
+ readonly input: {};
1360
1499
  }, {
1361
1500
  readonly accepted: boolean;
1362
1501
  readonly snapshot: {
@@ -1492,4 +1631,4 @@ declare function createServerEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<En
1492
1631
  }, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | import("effect/unstable/rpc/RpcClientError").RpcClientError>;
1493
1632
  };
1494
1633
  //#endregion
1495
- export { ServerConfigProjection, applyServerConfigProjection, createServerEnvironmentAtoms, makeEnvironmentServerConfigState, projectServerConfig, projectServerWelcome, resolveServerConfigValue, serverConfigStateChanges };
1634
+ export { ServerConfigProjection, ServerUpdateProgressIncompleteError, ServerUpdateResumeTimeoutError, ServerUpdateStage, ServerUpdateState, ServerUpdateTarget, ServerUpdateTerminalError, applyServerConfigProjection, createServerEnvironmentAtoms, isLegacyUpdateHandoffLoss, makeEnvironmentServerConfigState, matchesServerUpdateReadyEvent, nudgeReconnectDuringUpdateRestart, projectServerConfig, projectServerWelcome, resolveServerConfigValue, resolveServerUpdateProgressResult, serverConfigStateChanges, serverUpdateStateForProgressEvent, serverUpdateStateForServerVersion, validateServerUpdateReadyEvent };