tensorlake 0.4.50 → 0.5.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.
@@ -276,6 +276,22 @@ interface CreateAndConnectOptions extends CreateSandboxOptions {
276
276
  proxyUrl?: string;
277
277
  startupTimeout?: number;
278
278
  }
279
+ interface SuspendResumeOptions {
280
+ /** If false, fire-and-return without waiting for completion. Default: true. */
281
+ wait?: boolean;
282
+ /** Max seconds to wait when wait=true. Default: 300. */
283
+ timeout?: number;
284
+ /** Seconds between status polls when wait=true. Default: 1. */
285
+ pollInterval?: number;
286
+ }
287
+ interface CheckpointOptions extends SuspendResumeOptions {
288
+ contentMode?: SnapshotContentMode;
289
+ }
290
+ interface ConnectOptions {
291
+ sandboxId: string;
292
+ proxyUrl?: string;
293
+ routingHint?: string;
294
+ }
279
295
 
280
296
  declare const ImageBuildOperationType: {
281
297
  readonly ADD: "ADD";
@@ -408,4 +424,4 @@ declare function loadImagePlan(image: Image, options?: Pick<CreateSandboxImageOp
408
424
  declare function createSandboxImage(source: SandboxImageSource, options?: CreateSandboxImageOptions, deps?: CreateSandboxImageDeps): Promise<Record<string, unknown>>;
409
425
  declare function runCreateSandboxImageCli(argv?: string[]): Promise<void>;
410
426
 
411
- export { runCreateSandboxImageCli as $, ImageBuildOperationType as A, type ImageOptions as B, type CreatePtySessionOptions as C, type DaemonInfo as D, OutputMode as E, type PoolContainerInfo as F, ProcessStatus as G, type HealthResponse as H, Image as I, type SandboxImageSource as J, SandboxStatus as K, type ListDirectoryResponse as L, type SnapshotContentMode as M, type NetworkConfig as N, type OutputResponse as O, type ProcessInfo as P, SnapshotStatus as Q, type RunOptions as R, type SandboxOptions as S, StdinMode as T, type UpdateSandboxOptions as U, createSandboxImage as V, dockerfileContent as W, defaultRegisteredName as X, loadDockerfilePlan as Y, loadImagePlan as Z, logicalDockerfileLines as _, type CommandResult as a, type StartProcessOptions as b, type SendSignalResponse as c, type OutputEvent as d, type PtySessionInfo as e, type SandboxClientOptions as f, type CreateSandboxOptions as g, type CreateSandboxResponse as h, type SandboxInfo as i, type SandboxPortAccess as j, type SnapshotOptions as k, type CreateSnapshotResponse as l, type SnapshotInfo as m, type SnapshotAndWaitOptions as n, type CreatePoolOptions as o, type CreateSandboxPoolResponse as p, type SandboxPoolInfo as q, type UpdatePoolOptions as r, type CreateAndConnectOptions as s, type ContainerResourcesInfo as t, ContainerState as u, type CreateSandboxImageOptions as v, type DirectoryEntry as w, type DockerfileBuildPlan as x, type DockerfileInstruction as y, type ImageBuildOperation as z };
427
+ export { loadDockerfilePlan as $, type DockerfileBuildPlan as A, type DockerfileInstruction as B, type CreatePtySessionOptions as C, type DaemonInfo as D, type ImageBuildOperation as E, ImageBuildOperationType as F, type ImageOptions as G, type HealthResponse as H, Image as I, OutputMode as J, type PoolContainerInfo as K, type ListDirectoryResponse as L, ProcessStatus as M, type NetworkConfig as N, type OutputResponse as O, type ProcessInfo as P, type SandboxImageSource as Q, type RunOptions as R, type SandboxOptions as S, SandboxStatus as T, type UpdateSandboxOptions as U, type SnapshotContentMode as V, SnapshotStatus as W, StdinMode as X, createSandboxImage as Y, dockerfileContent as Z, defaultRegisteredName as _, type CreateAndConnectOptions as a, loadImagePlan as a0, logicalDockerfileLines as a1, runCreateSandboxImageCli as a2, type SandboxClientOptions as b, type ConnectOptions as c, type SnapshotInfo as d, type SuspendResumeOptions as e, type CheckpointOptions as f, type CommandResult as g, type StartProcessOptions as h, type SendSignalResponse as i, type OutputEvent as j, type PtySessionInfo as k, type CreateSandboxOptions as l, type CreateSandboxResponse as m, type SandboxInfo as n, type SandboxPortAccess as o, type SnapshotOptions as p, type CreateSnapshotResponse as q, type SnapshotAndWaitOptions as r, type CreatePoolOptions as s, type CreateSandboxPoolResponse as t, type SandboxPoolInfo as u, type UpdatePoolOptions as v, type ContainerResourcesInfo as w, ContainerState as x, type CreateSandboxImageOptions as y, type DirectoryEntry as z };
@@ -276,6 +276,22 @@ interface CreateAndConnectOptions extends CreateSandboxOptions {
276
276
  proxyUrl?: string;
277
277
  startupTimeout?: number;
278
278
  }
279
+ interface SuspendResumeOptions {
280
+ /** If false, fire-and-return without waiting for completion. Default: true. */
281
+ wait?: boolean;
282
+ /** Max seconds to wait when wait=true. Default: 300. */
283
+ timeout?: number;
284
+ /** Seconds between status polls when wait=true. Default: 1. */
285
+ pollInterval?: number;
286
+ }
287
+ interface CheckpointOptions extends SuspendResumeOptions {
288
+ contentMode?: SnapshotContentMode;
289
+ }
290
+ interface ConnectOptions {
291
+ sandboxId: string;
292
+ proxyUrl?: string;
293
+ routingHint?: string;
294
+ }
279
295
 
280
296
  declare const ImageBuildOperationType: {
281
297
  readonly ADD: "ADD";
@@ -408,4 +424,4 @@ declare function loadImagePlan(image: Image, options?: Pick<CreateSandboxImageOp
408
424
  declare function createSandboxImage(source: SandboxImageSource, options?: CreateSandboxImageOptions, deps?: CreateSandboxImageDeps): Promise<Record<string, unknown>>;
409
425
  declare function runCreateSandboxImageCli(argv?: string[]): Promise<void>;
410
426
 
411
- export { runCreateSandboxImageCli as $, ImageBuildOperationType as A, type ImageOptions as B, type CreatePtySessionOptions as C, type DaemonInfo as D, OutputMode as E, type PoolContainerInfo as F, ProcessStatus as G, type HealthResponse as H, Image as I, type SandboxImageSource as J, SandboxStatus as K, type ListDirectoryResponse as L, type SnapshotContentMode as M, type NetworkConfig as N, type OutputResponse as O, type ProcessInfo as P, SnapshotStatus as Q, type RunOptions as R, type SandboxOptions as S, StdinMode as T, type UpdateSandboxOptions as U, createSandboxImage as V, dockerfileContent as W, defaultRegisteredName as X, loadDockerfilePlan as Y, loadImagePlan as Z, logicalDockerfileLines as _, type CommandResult as a, type StartProcessOptions as b, type SendSignalResponse as c, type OutputEvent as d, type PtySessionInfo as e, type SandboxClientOptions as f, type CreateSandboxOptions as g, type CreateSandboxResponse as h, type SandboxInfo as i, type SandboxPortAccess as j, type SnapshotOptions as k, type CreateSnapshotResponse as l, type SnapshotInfo as m, type SnapshotAndWaitOptions as n, type CreatePoolOptions as o, type CreateSandboxPoolResponse as p, type SandboxPoolInfo as q, type UpdatePoolOptions as r, type CreateAndConnectOptions as s, type ContainerResourcesInfo as t, ContainerState as u, type CreateSandboxImageOptions as v, type DirectoryEntry as w, type DockerfileBuildPlan as x, type DockerfileInstruction as y, type ImageBuildOperation as z };
427
+ export { loadDockerfilePlan as $, type DockerfileBuildPlan as A, type DockerfileInstruction as B, type CreatePtySessionOptions as C, type DaemonInfo as D, type ImageBuildOperation as E, ImageBuildOperationType as F, type ImageOptions as G, type HealthResponse as H, Image as I, OutputMode as J, type PoolContainerInfo as K, type ListDirectoryResponse as L, ProcessStatus as M, type NetworkConfig as N, type OutputResponse as O, type ProcessInfo as P, type SandboxImageSource as Q, type RunOptions as R, type SandboxOptions as S, SandboxStatus as T, type UpdateSandboxOptions as U, type SnapshotContentMode as V, SnapshotStatus as W, StdinMode as X, createSandboxImage as Y, dockerfileContent as Z, defaultRegisteredName as _, type CreateAndConnectOptions as a, loadImagePlan as a0, logicalDockerfileLines as a1, runCreateSandboxImageCli as a2, type SandboxClientOptions as b, type ConnectOptions as c, type SnapshotInfo as d, type SuspendResumeOptions as e, type CheckpointOptions as f, type CommandResult as g, type StartProcessOptions as h, type SendSignalResponse as i, type OutputEvent as j, type PtySessionInfo as k, type CreateSandboxOptions as l, type CreateSandboxResponse as m, type SandboxInfo as n, type SandboxPortAccess as o, type SnapshotOptions as p, type CreateSnapshotResponse as q, type SnapshotAndWaitOptions as r, type CreatePoolOptions as s, type CreateSandboxPoolResponse as t, type SandboxPoolInfo as u, type UpdatePoolOptions as v, type ContainerResourcesInfo as w, ContainerState as x, type CreateSandboxImageOptions as y, type DirectoryEntry as z };