tensorlake 0.4.49 → 0.4.50
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 +4222 -4041
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4236 -4046
- package/dist/index.js.map +1 -1
- package/dist/{sandbox-image-BQ6fJT92.d.cts → sandbox-image-C79FXqQk.d.cts} +13 -0
- package/dist/{sandbox-image-BQ6fJT92.d.ts → sandbox-image-C79FXqQk.d.ts} +13 -0
- package/dist/sandbox-image.cjs +3042 -2933
- 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 +2929 -2818
- package/dist/sandbox-image.js.map +1 -1
- package/package.json +1 -1
|
@@ -313,6 +313,13 @@ declare class Image {
|
|
|
313
313
|
env(key: string, value: string): this;
|
|
314
314
|
run(commands: string | string[], options?: Record<string, string> | undefined): this;
|
|
315
315
|
workdir(directory: string): this;
|
|
316
|
+
/**
|
|
317
|
+
* Build this image as a sandbox template and register it.
|
|
318
|
+
*
|
|
319
|
+
* Materializes the image in a build sandbox, snapshots the filesystem,
|
|
320
|
+
* and registers the snapshot as a named sandbox template.
|
|
321
|
+
*/
|
|
322
|
+
build(options?: CreateSandboxImageOptions): Promise<Record<string, unknown>>;
|
|
316
323
|
private _addOperation;
|
|
317
324
|
}
|
|
318
325
|
declare function dockerfileContent(image: Image): string;
|
|
@@ -336,6 +343,12 @@ interface CreateSandboxImageOptions {
|
|
|
336
343
|
memoryMb?: number;
|
|
337
344
|
isPublic?: boolean;
|
|
338
345
|
contextDir?: string;
|
|
346
|
+
/**
|
|
347
|
+
* Print build progress to stderr. Ignored when an explicit `emit` is passed
|
|
348
|
+
* via `deps`. Defaults to false — `createSandboxImage` is silent by default
|
|
349
|
+
* when invoked programmatically (e.g. `Image.build()`).
|
|
350
|
+
*/
|
|
351
|
+
verbose?: boolean;
|
|
339
352
|
}
|
|
340
353
|
type SandboxImageSource = string | Image;
|
|
341
354
|
interface BuildContext {
|
|
@@ -313,6 +313,13 @@ declare class Image {
|
|
|
313
313
|
env(key: string, value: string): this;
|
|
314
314
|
run(commands: string | string[], options?: Record<string, string> | undefined): this;
|
|
315
315
|
workdir(directory: string): this;
|
|
316
|
+
/**
|
|
317
|
+
* Build this image as a sandbox template and register it.
|
|
318
|
+
*
|
|
319
|
+
* Materializes the image in a build sandbox, snapshots the filesystem,
|
|
320
|
+
* and registers the snapshot as a named sandbox template.
|
|
321
|
+
*/
|
|
322
|
+
build(options?: CreateSandboxImageOptions): Promise<Record<string, unknown>>;
|
|
316
323
|
private _addOperation;
|
|
317
324
|
}
|
|
318
325
|
declare function dockerfileContent(image: Image): string;
|
|
@@ -336,6 +343,12 @@ interface CreateSandboxImageOptions {
|
|
|
336
343
|
memoryMb?: number;
|
|
337
344
|
isPublic?: boolean;
|
|
338
345
|
contextDir?: string;
|
|
346
|
+
/**
|
|
347
|
+
* Print build progress to stderr. Ignored when an explicit `emit` is passed
|
|
348
|
+
* via `deps`. Defaults to false — `createSandboxImage` is silent by default
|
|
349
|
+
* when invoked programmatically (e.g. `Image.build()`).
|
|
350
|
+
*/
|
|
351
|
+
verbose?: boolean;
|
|
339
352
|
}
|
|
340
353
|
type SandboxImageSource = string | Image;
|
|
341
354
|
interface BuildContext {
|