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.
- package/dist/bin/darwin-arm64/tensorlake +0 -0
- package/dist/bin/darwin-arm64/tl +0 -0
- package/dist/bin/linux-x64/tensorlake +0 -0
- package/dist/bin/linux-x64/tl +0 -0
- package/dist/bin/win32-x64/tensorlake.exe +0 -0
- package/dist/bin/win32-x64/tl.exe +0 -0
- package/dist/index.cjs +312 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +185 -8
- package/dist/index.d.ts +185 -8
- package/dist/index.js +312 -28
- package/dist/index.js.map +1 -1
- package/dist/{sandbox-image-C79FXqQk.d.cts → sandbox-image-CMJ_FOOV.d.cts} +17 -1
- package/dist/{sandbox-image-C79FXqQk.d.ts → sandbox-image-CMJ_FOOV.d.ts} +17 -1
- package/dist/sandbox-image.cjs +299 -15
- package/dist/sandbox-image.cjs.map +1 -1
- package/dist/sandbox-image.d.cts +1 -1
- package/dist/sandbox-image.d.ts +1 -1
- package/dist/sandbox-image.js +304 -15
- package/dist/sandbox-image.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 {
|
|
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 {
|
|
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 };
|