disk 1.12.1 → 1.14.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.
@@ -1,3 +1,4 @@
1
+ import { ClientFrame, ServerFrame } from "@archildata/api-types/process";
1
2
  import { ConnectionOptions } from "node:tls";
2
3
  import { components, paths } from "@archildata/api-types";
3
4
 
@@ -80,6 +81,90 @@ interface ArchilTlsOptions {
80
81
  ca?: ConnectionOptions["ca"];
81
82
  }
82
83
  //#endregion
84
+ //#region src/process-output-buffer.d.ts
85
+ /**
86
+ * Output each process has received but its iterator has not taken yet.
87
+ * Flow control bounds it to one channel window per process, so it never
88
+ * needs to refuse output. Output a handle never reads goes with the handle.
89
+ */
90
+ declare class ProcessOutputBuffer {
91
+ private readonly queues;
92
+ has(subscription: object): boolean;
93
+ push(subscription: object, output: SandboxProcessOutput): void;
94
+ take(subscription: object): SandboxProcessOutput | undefined;
95
+ discard(subscription: object): void;
96
+ }
97
+ //#endregion
98
+ //#region src/process-connection.d.ts
99
+ type Request$1 = {
100
+ type: "start";
101
+ command: string;
102
+ cwd?: string;
103
+ env: Record<string, string>;
104
+ terminal?: boolean | {
105
+ rows: number;
106
+ cols: number;
107
+ };
108
+ timeout_seconds?: number;
109
+ } | {
110
+ type: "attach";
111
+ process_id: string;
112
+ offset: number;
113
+ shared?: true;
114
+ } | {
115
+ type: "kill";
116
+ process_id: string;
117
+ } | {
118
+ type: "resize";
119
+ process_id: string;
120
+ rows: number;
121
+ cols: number;
122
+ };
123
+ /** Owns only the client connection. A disconnected transport never retries START. */
124
+ declare class BinaryConnection {
125
+ private readonly socket;
126
+ private readonly onClosed;
127
+ readonly channels: Map<number, BinaryChannel>;
128
+ private next;
129
+ private draining;
130
+ private idle?;
131
+ get canOpen(): boolean;
132
+ constructor(socket: WebSocket, onClosed: () => void);
133
+ channel(): BinaryChannel;
134
+ send(id: number, body: ClientFrame["body"]): void;
135
+ writable(): Promise<void>;
136
+ remove(id: number): void;
137
+ close(reason?: unknown): void;
138
+ }
139
+ /** @internal WebSocket-shaped channel; generated protobuf owns all wire encoding. */
140
+ declare class BinaryChannel {
141
+ private readonly connection;
142
+ readonly id: number;
143
+ readyState: number;
144
+ binaryType: string;
145
+ private readonly events;
146
+ readonly addEventListener: WebSocket["addEventListener"];
147
+ private sending;
148
+ /** Stdin the runtime will accept. */
149
+ private sendCredit;
150
+ /** Output the runtime may still send. */
151
+ private receiveCredit;
152
+ /** Output consumed since credit was last returned. */
153
+ private consumed;
154
+ private creditChanged?;
155
+ constructor(connection: BinaryConnection, id: number);
156
+ sendRequest(request: Request$1): void;
157
+ send(bytes: Uint8Array): Promise<void>;
158
+ /** Returns credit for output the application has taken. */
159
+ release(cost: number): void;
160
+ closeStdin(): Promise<void>;
161
+ close(): void;
162
+ receive(frame: ServerFrame): void;
163
+ /** Fails only this channel, for a message whose value it cannot represent. */
164
+ private fail;
165
+ finish(reason?: unknown): void;
166
+ }
167
+ //#endregion
83
168
  //#region src/sandbox-process.d.ts
84
169
  type SandboxProcessStatus = "running" | "completed" | "failed" | "cancelled" | "timed_out";
85
170
  type SandboxProcessStream = "stdout" | "stderr";
@@ -88,7 +173,14 @@ interface SandboxProcessOutput {
88
173
  offset: number;
89
174
  data: Uint8Array;
90
175
  }
91
- type SandboxProcessOutputHandler = (output: SandboxProcessOutput) => void;
176
+ /**
177
+ * Receives each output chunk in order. Returning a promise holds back that
178
+ * process's output until it settles, so a slow handler paces the process's
179
+ * output stream instead of buffering it.
180
+ *
181
+ * @deprecated Iterate the process's `output` instead.
182
+ */
183
+ type SandboxProcessOutputHandler = (output: SandboxProcessOutput) => void | Promise<void>;
92
184
  interface SandboxTerminalOptions {
93
185
  cols?: number;
94
186
  rows?: number;
@@ -102,6 +194,11 @@ interface SandboxProcessConnectOptions {
102
194
  * closes.
103
195
  */
104
196
  shared?: boolean;
197
+ /**
198
+ * Delivers output to a handler; the handle's `output` iterator is then unavailable.
199
+ *
200
+ * @deprecated Iterate the process's `output` instead.
201
+ */
105
202
  onOutput?: SandboxProcessOutputHandler;
106
203
  /** Retain decoded stdout and stderr on the handle and result. Defaults to true. */
107
204
  collectOutput?: boolean;
@@ -113,6 +210,11 @@ interface SandboxProcessStartOptions {
113
210
  terminal?: boolean | SandboxTerminalOptions;
114
211
  env?: Record<string, string>;
115
212
  timeoutSeconds?: number;
213
+ /**
214
+ * Delivers output to a handler; the handle's `output` iterator is then unavailable.
215
+ *
216
+ * @deprecated Iterate the process's `output` instead.
217
+ */
116
218
  onOutput?: SandboxProcessOutputHandler;
117
219
  /** Retain decoded stdout and stderr on the handle and result. Defaults to true. */
118
220
  collectOutput?: boolean;
@@ -149,68 +251,77 @@ type ProcessControlRequest = {
149
251
  cols: number;
150
252
  rows: number;
151
253
  };
152
- /** Where to open a process WebSocket, and the subprotocols that carry its token. */
153
- interface ProcessEndpoint {
154
- url: string;
155
- protocols?: string[];
156
- }
157
- /** A WebSocket URL with the token in its query string, or a {@link ProcessEndpoint}. */
158
- type ProcessConnectionTarget = string | ProcessEndpoint;
159
254
  /** @deprecated Use Sandbox.run() and Sandbox.attach(). Removed in the next version. */
160
255
  declare class SandboxProcesses {
161
256
  private readonly _sandbox;
257
+ private readonly _disconnect;
162
258
  /** @internal */
163
- constructor(_sandbox: Pick<Sandbox, "run" | "attach">);
259
+ constructor(_sandbox: Pick<Sandbox, "run" | "attach">, _disconnect: () => void);
164
260
  /** @deprecated Use sandbox.run(). Removed in the next version. */
165
261
  start(command: string, options?: SandboxProcessStartOptions): Promise<SandboxProcess>;
166
262
  /** @deprecated Use sandbox.attach(). Removed in the next version. */
167
263
  connect(processId: string, options?: SandboxProcessConnectOptions): Promise<SandboxProcess>;
264
+ /** Disconnect process transport without terminating guest processes. */
265
+ disconnect(): Promise<void>;
168
266
  }
169
267
  declare class SandboxProcess {
268
+ private readonly _collectOutput;
269
+ private readonly _buffer;
270
+ private readonly _openConnection;
271
+ private readonly _controlProcess;
170
272
  status: SandboxProcessStatus;
171
273
  stdout: string;
172
274
  stderr: string;
173
275
  private _id;
174
276
  private _cursor;
175
- private readonly _onOutput?;
176
- private readonly _collectOutput;
177
- private readonly _connectionEndpoint;
178
- private readonly _controlProcess;
277
+ private _deliveredCursor;
179
278
  private readonly _stdoutDecoder;
180
279
  private readonly _stderrDecoder;
181
- private readonly _terminal;
182
- private _resolveTerminal;
183
- private _result?;
184
280
  private _socket?;
185
- private _connectionClosed?;
186
- private _connectionError?;
281
+ private _closed?;
282
+ private _manual;
187
283
  private _stdinClosed;
284
+ private _iteratorTaken;
285
+ /** Settles once onOutput has handled the last chunk. */
286
+ private _delivered?;
287
+ private _wake?;
288
+ private _error?;
289
+ private _exit?;
290
+ private _result?;
291
+ /** Returns each buffered binary output's credit once the iterator takes it. */
292
+ private readonly _releases;
293
+ private _resolveDone;
294
+ private readonly _done;
295
+ /** Pull output from the shared buffer. One iterator may consume each handle. */
296
+ readonly output: AsyncIterable<SandboxProcessOutput>;
188
297
  /** @internal */
189
- constructor(processId: string, cursor: number, onOutput: SandboxProcessOutputHandler | undefined, collectOutput: boolean, connectionEndpoint: () => Promise<ProcessConnectionTarget>, controlProcess: (request: ProcessControlRequest) => Promise<void>);
298
+ constructor(processId: string, cursor: number, _collectOutput: boolean, _buffer: ProcessOutputBuffer, _openConnection: () => Promise<BinaryChannel>, _controlProcess: (request: ProcessControlRequest) => Promise<void>);
190
299
  get id(): string;
300
+ /** Next byte after output accepted into the SDK buffer. */
191
301
  get cursor(): number;
192
302
  get connected(): boolean;
303
+ /** Resolves once the runtime has accepted the input; waits while the process is not reading. */
193
304
  sendInput(data: string | Uint8Array): Promise<void>;
305
+ closeStdin(): Promise<void>;
194
306
  resize(size: {
195
307
  cols: number;
196
308
  rows: number;
197
309
  }): Promise<void>;
198
- /** Close stdin. Piped processes only. */
199
- closeStdin(): Promise<void>;
200
- /** Close this client connection without terminating the process. */
310
+ kill(): Promise<void>;
201
311
  disconnect(): Promise<void>;
202
312
  wait(): Promise<SandboxProcessResult>;
203
- kill(): Promise<void>;
313
+ /** @internal Feeds `output` to `handler`, waiting for each call to settle. */
314
+ _deliverTo(handler: SandboxProcessOutputHandler): void;
315
+ private _iterateOutput;
204
316
  /** @internal */
205
317
  _connect(request: ProcessConnectionRequest): Promise<void>;
206
318
  private _openSocket;
207
- private _sendControl;
208
- private _sendInput;
209
- private _handleMessage;
210
- private _handleOutput;
319
+ private _fail;
320
+ private _complete;
321
+ /** `release` returns the output's flow-control credit once it is consumed. */
322
+ private _enqueueOutput;
211
323
  private _appendText;
212
324
  private _flushDecoders;
213
- private _finish;
214
325
  }
215
326
  //#endregion
216
327
  //#region src/sandbox-files.d.ts
@@ -229,6 +340,7 @@ declare class SandboxFiles {
229
340
  //#endregion
230
341
  //#region src/sandbox.d.ts
231
342
  type SandboxNetworkAction = components["schemas"]["SandboxNetworkAction"];
343
+ type SandboxTimeoutAction = "pause" | "delete";
232
344
  type SandboxEgressPolicy = components["schemas"]["SandboxEgressPolicy"] & {
233
345
  /** Host patterns supporting * anywhere. All paths count; selectors do not grant network access. */drain_on_pause?: string[];
234
346
  };
@@ -238,7 +350,11 @@ type SandboxNetwork = Omit<components["schemas"]["SandboxNetwork"], "egress"> &
238
350
  egress?: SandboxEgressPolicy;
239
351
  };
240
352
  /** @internal */
241
- type SandboxWire = components["schemas"]["Sandbox"];
353
+ /** `on_timeout` and `labels` are newer than the minimum @archildata/api-types version. */
354
+ type SandboxWire = components["schemas"]["Sandbox"] & {
355
+ on_timeout?: SandboxTimeoutAction;
356
+ labels?: Record<string, string>;
357
+ };
242
358
  /**
243
359
  * One Archil disk to mount inside a sandbox. `path` is the absolute guest
244
360
  * directory; it may be omitted only for a sole mount, which then lands at
@@ -295,6 +411,7 @@ interface SandboxPortTokenPage {
295
411
  interface SandboxResponse {
296
412
  id: string;
297
413
  name: string;
414
+ labels: Record<string, string>;
298
415
  status: SandboxStatus;
299
416
  vcpuCount: number;
300
417
  memSizeMiB: number;
@@ -305,6 +422,7 @@ interface SandboxResponse {
305
422
  platform?: "arm64" | "amd64";
306
423
  maxTtlSeconds: number;
307
424
  idleTtlSeconds: number;
425
+ onTimeout: SandboxTimeoutAction;
308
426
  /** Maximum concurrently attached process sessions. Detached processes and one-shot controls do not count. */
309
427
  maxConcurrentExecs: number;
310
428
  endpoints?: SandboxEndpoint[];
@@ -336,6 +454,8 @@ interface SandboxStartOptions extends SandboxWaitOptions {
336
454
  interface SandboxForkOptions extends SandboxWaitOptions {
337
455
  /** Name for the fork. The server generates one when omitted. */
338
456
  name?: string;
457
+ /** Labels for the fork. Omit to keep this sandbox's labels; `{}` clears them. */
458
+ labels?: Record<string, string>;
339
459
  }
340
460
  interface SandboxTimeoutOptions {
341
461
  /** Hard lifetime in seconds. Omit to leave its deadline unchanged. */
@@ -346,6 +466,7 @@ interface SandboxTimeoutOptions {
346
466
  declare class Sandbox {
347
467
  id: string;
348
468
  name: string;
469
+ labels: Record<string, string>;
349
470
  status: SandboxStatus;
350
471
  vcpuCount: number;
351
472
  memSizeMiB: number;
@@ -354,6 +475,7 @@ declare class Sandbox {
354
475
  platform?: "arm64" | "amd64";
355
476
  maxTtlSeconds: number;
356
477
  idleTtlSeconds: number;
478
+ onTimeout: SandboxTimeoutAction;
357
479
  maxConcurrentExecs: number;
358
480
  endpoints?: SandboxEndpoint[];
359
481
  mounts: SandboxMount[];
@@ -368,6 +490,8 @@ declare class Sandbox {
368
490
  readonly files: SandboxFiles;
369
491
  /** @internal */
370
492
  private readonly _client;
493
+ private readonly _processConnection;
494
+ private readonly _processOutput;
371
495
  /** @internal */
372
496
  constructor(data: SandboxWire, client: ApiClient);
373
497
  /** @internal Overwrite this sandbox's fields in place from a fresh wire snapshot. */
@@ -1298,6 +1422,9 @@ interface Image {
1298
1422
  source: string;
1299
1423
  private: boolean;
1300
1424
  status: ImageStatus;
1425
+ /** Sandboxes created from the image get this size unless they set their own. */
1426
+ vcpuCount: number;
1427
+ memSizeMiB: number;
1301
1428
  /** `sha256:` digest of the last successful build, kept while a tag rebuilds. */
1302
1429
  digest?: string;
1303
1430
  /** `repo@sha256:` reference of the last successful build. */
@@ -1314,6 +1441,12 @@ interface BuildImageRequest {
1314
1441
  source: string;
1315
1442
  /** Required for private images on every build request; without it `source` names the public image. */
1316
1443
  registryAuth?: RegistryAuth;
1444
+ /**
1445
+ * Size the build prepares sandboxes to start at from a snapshot; each size of a source is its own image.
1446
+ * Defaults to 1 vCPU and 2048 MiB. A sandbox created from the image at another size boots cold.
1447
+ */
1448
+ vcpuCount?: number;
1449
+ memSizeMiB?: number;
1317
1450
  }
1318
1451
  interface BuildImageOptions {
1319
1452
  /** Seconds to wait for the build. Defaults to 1800 (30 minutes). */
@@ -1361,6 +1494,13 @@ interface CreateSandboxRequest {
1361
1494
  maxTtlSeconds?: number;
1362
1495
  /** Seconds without a direct process connection before pausing. Omitted or zero disables idle expiry. */
1363
1496
  idleTtlSeconds?: number;
1497
+ /**
1498
+ * What happens when either TTL runs out: `"pause"` (the default) keeps memory
1499
+ * and processes for resume; `"delete"` deletes the sandbox and its disk, or
1500
+ * leaves it stopped while forks of it exist. Forks inherit it; it cannot be
1501
+ * changed after creation.
1502
+ */
1503
+ onTimeout?: SandboxTimeoutAction;
1364
1504
  /** Maximum concurrently attached exec sessions. Detached processes and one-shot controls do not count. */
1365
1505
  maxConcurrentExecs?: number;
1366
1506
  /** Creation-time network policy. Egress is unrestricted when omitted. */
@@ -1373,17 +1513,32 @@ interface CreateSandboxRequest {
1373
1513
  * is forked.
1374
1514
  */
1375
1515
  mounts?: SandboxMountSpec[];
1516
+ /**
1517
+ * Key-value labels for finding the sandbox later with `list({ labels })`.
1518
+ * Forks keep them. Up to 32; keys are 1-63 letters, digits, or `. _ / : -`,
1519
+ * and values at most 256 bytes.
1520
+ */
1521
+ labels?: Record<string, string>;
1376
1522
  }
1377
1523
  interface ListSandboxesOptions {
1378
1524
  /** Only return sandboxes that mount this disk. */
1379
1525
  disk?: Disk | string;
1526
+ /** Only return sandboxes carrying every one of these labels. */
1527
+ labels?: Record<string, string>;
1528
+ /** Only return the sandbox with this name. */
1529
+ name?: string;
1530
+ /** Only return sandboxes whose name starts with this. */
1531
+ namePrefix?: string;
1380
1532
  }
1381
1533
  declare class Sandboxes {
1382
1534
  /** @internal */
1383
1535
  private readonly _client;
1384
1536
  /** @internal */
1385
1537
  constructor(client: ApiClient);
1386
- /** List the account's sandboxes, oldest first. */
1538
+ /**
1539
+ * List the account's sandboxes, oldest first, keeping those that match every
1540
+ * filter given. Follows the server's pages until none remain.
1541
+ */
1387
1542
  list(options?: ListSandboxesOptions): Promise<Sandbox[]>;
1388
1543
  get(id: string): Promise<Sandbox>;
1389
1544
  create(request?: CreateSandboxRequest, options?: SandboxWaitOptions): Promise<Sandbox>;
@@ -1578,4 +1733,4 @@ declare class Archil {
1578
1733
  workspace(mounts: Record<string, ExecMount>): Workspace;
1579
1734
  }
1580
1735
  //#endregion
1581
- export { ApiTokenResponse as $, SandboxFileWriter as $t, DiskMultipart as A, ExecVmOptions as At, MultipartUploadListing as B, SandboxMount as Bt, AppendObjectOptions as C, RootAttrs as Ct, DeleteObjectsOptions as D, TokenUser as Dt, DeleteObjectsError as E, S3User as Et, ListObjectsOptions as F, SandboxEgressPolicy as Ft, PosixCreateAttrs as G, SandboxPortTokenPage as Gt, ObjectMetadata as H, SandboxNetwork as Ht, ListObjectsResult as I, SandboxEgressRule as It, S3Object as J, SandboxStatus as Jt, PutObjectOptions as K, SandboxResponse as Kt, ListPartsOptions as L, SandboxEgressTransform as Lt, GrepOptions as M, CreatedSandboxPortToken as Mt, GrepResult as N, ListSandboxPortTokensOptions as Nt, DeleteObjectsResult as O, FileSystem as Ot, ListMultipartUploadsOptions as P, Sandbox as Pt, effectiveUploadPartSize as Q, SandboxFileUploadOptions as Qt, MountOptions as R, SandboxEndpoint as Rt, ListDisksOptions as S, R2Mount as St, CreateBranchOptions as T, S3Mount as Tt, PartInfo as U, SandboxNetworkAction as Ut, MultipartUploadSummary as V, SandboxMountSpec as Vt, PartListing as W, SandboxPortToken as Wt, ShareUrlResult as X, SandboxWaitOptions as Xt, ShareUrlOptions as Y, SandboxTimeoutOptions as Yt, UploadPart as Z, SandboxFileSource as Zt, Images as _, GrepMatch as _t, ExecOptions as a, SandboxProcessResult as an, CreateApiTokenRequest as at, DiskListPage as b, MountConfigResponse as bt, Tokens as c, SandboxProcessStream as cn, DiskMetrics as ct, Sandboxes as d, ArchilTlsOptions as dn, DiskUser as dt, SandboxFiles as en, AuthorizedUser as et, BuildImageOptions as f, ExecDiskResult as ft, ImageStatus as g, GrepGroupLine as gt, ImageFailureReason as h, GrepGroup as ht, ExecMountSpec as i, SandboxProcessOutputHandler as in, ConnectedClient as it, ExecResult as j, CreateSandboxPortTokenOptions as jt, Disk as k, ExecNetwork as kt, CreateSandboxRequest as l, SandboxProcesses as ln, DiskResponse as lt, Image as m, GCSMount as mt, ArchilOptions as n, SandboxProcessConnectOptions as nn, AzureBlobMount as nt, Workspace as o, SandboxProcessStartOptions as on, CreateDiskRequest as ot, BuildImageRequest as p, ExecRequest as pt, PutObjectResult as q, SandboxStartOptions as qt, ExecMount as r, SandboxProcessOutput as rn, Branch as rt, ListTokensOptions as s, SandboxProcessStatus as sn, Delegation as st, Archil as t, SandboxProcess as tn, AwsStsUser as tt, ListSandboxesOptions as u, SandboxTerminalOptions as un, DiskStatus as ut, RegistryAuth as v, GrepStoppedReason as vt, CompletedMultipartUpload as w, S3CompatibleMount as wt, Disks as x, MountResponse as xt, CreateDiskResult as y, MountConfig as yt, MultipartUpload as z, SandboxForkOptions as zt };
1736
+ export { ApiTokenResponse as $, SandboxFileUploadOptions as $t, DiskMultipart as A, ExecVmOptions as At, MultipartUploadListing as B, SandboxMount as Bt, AppendObjectOptions as C, RootAttrs as Ct, DeleteObjectsOptions as D, TokenUser as Dt, DeleteObjectsError as E, S3User as Et, ListObjectsOptions as F, SandboxEgressPolicy as Ft, PosixCreateAttrs as G, SandboxPortTokenPage as Gt, ObjectMetadata as H, SandboxNetwork as Ht, ListObjectsResult as I, SandboxEgressRule as It, S3Object as J, SandboxStatus as Jt, PutObjectOptions as K, SandboxResponse as Kt, ListPartsOptions as L, SandboxEgressTransform as Lt, GrepOptions as M, CreatedSandboxPortToken as Mt, GrepResult as N, ListSandboxPortTokensOptions as Nt, DeleteObjectsResult as O, FileSystem as Ot, ListMultipartUploadsOptions as P, Sandbox as Pt, effectiveUploadPartSize as Q, SandboxFileSource as Qt, MountOptions as R, SandboxEndpoint as Rt, ListDisksOptions as S, R2Mount as St, CreateBranchOptions as T, S3Mount as Tt, PartInfo as U, SandboxNetworkAction as Ut, MultipartUploadSummary as V, SandboxMountSpec as Vt, PartListing as W, SandboxPortToken as Wt, ShareUrlResult as X, SandboxTimeoutOptions as Xt, ShareUrlOptions as Y, SandboxTimeoutAction as Yt, UploadPart as Z, SandboxWaitOptions as Zt, Images as _, GrepMatch as _t, ExecOptions as a, SandboxProcessOutputHandler as an, CreateApiTokenRequest as at, DiskListPage as b, MountConfigResponse as bt, Tokens as c, SandboxProcessStatus as cn, DiskMetrics as ct, Sandboxes as d, SandboxTerminalOptions as dn, DiskUser as dt, SandboxFileWriter as en, AuthorizedUser as et, BuildImageOptions as f, ArchilTlsOptions as fn, ExecDiskResult as ft, ImageStatus as g, GrepGroupLine as gt, ImageFailureReason as h, GrepGroup as ht, ExecMountSpec as i, SandboxProcessOutput as in, ConnectedClient as it, ExecResult as j, CreateSandboxPortTokenOptions as jt, Disk as k, ExecNetwork as kt, CreateSandboxRequest as l, SandboxProcessStream as ln, DiskResponse as lt, Image as m, GCSMount as mt, ArchilOptions as n, SandboxProcess as nn, AzureBlobMount as nt, Workspace as o, SandboxProcessResult as on, CreateDiskRequest as ot, BuildImageRequest as p, ExecRequest as pt, PutObjectResult as q, SandboxStartOptions as qt, ExecMount as r, SandboxProcessConnectOptions as rn, Branch as rt, ListTokensOptions as s, SandboxProcessStartOptions as sn, Delegation as st, Archil as t, SandboxFiles as tn, AwsStsUser as tt, ListSandboxesOptions as u, SandboxProcesses as un, DiskStatus as ut, RegistryAuth as v, GrepStoppedReason as vt, CompletedMultipartUpload as w, S3CompatibleMount as wt, Disks as x, MountResponse as xt, CreateDiskResult as y, MountConfig as yt, MultipartUpload as z, SandboxForkOptions as zt };
package/dist/cli.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { a as deleteApiKey, k as ArchilApiError, l as listApiKeys, n as createApiKey, r as createDisk, s as getDisk, t as configure, u as listDisks } from "./src-CsxpFPq3.mjs";
3
- import { a as addGlobalOptions, c as resolveProgramCredentials, d as Command, l as renderTable, o as addProfileCommands, s as isProfileCommand, t as optionalInteger } from "./sandbox-options-Df_pRGJW.mjs";
2
+ import { a as deleteApiKey, k as ArchilApiError, l as listApiKeys, n as createApiKey, r as createDisk, s as getDisk, t as configure, u as listDisks } from "./src-DGB_iQTG.mjs";
3
+ import { a as addGlobalOptions, c as resolveProgramCredentials, d as Command, l as renderTable, o as addProfileCommands, s as isProfileCommand, t as optionalInteger } from "./sandbox-options-trHjQs_f.mjs";
4
4
  import { createRequire } from "node:module";
5
5
  //#region bin/cli.ts
6
6
  const pkg = createRequire(import.meta.url)("../package.json");