@tensorlakeai/tensorlake 0.5.150 → 0.5.151
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/applications/index.cjs +9 -3
- package/dist/applications/index.cjs.map +1 -1
- package/dist/applications/index.d.cts +3 -3
- package/dist/applications/index.d.ts +3 -3
- package/dist/applications/index.js +9 -3
- package/dist/applications/index.js.map +1 -1
- package/dist/function-agent/main.cjs +1 -1
- package/dist/function-agent/main.js +1 -1
- package/dist/function-executor/main.cjs +2 -2
- package/dist/function-executor/main.js +2 -2
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/{remote-dblFxKug.d.ts → remote-BbSrvgUn.d.ts} +1 -1
- package/dist/{remote-CNJ9TmcQ.d.cts → remote-CC48cvYP.d.cts} +1 -1
- package/dist/{sandbox-image-ChzWDeZy.d.cts → sandbox-image-CAK_K7ND.d.cts} +14 -0
- package/dist/{sandbox-image-ChzWDeZy.d.ts → sandbox-image-CAK_K7ND.d.ts} +14 -0
- package/dist/sandbox-image.cjs +9 -3
- 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 +9 -3
- package/dist/sandbox-image.js.map +1 -1
- package/package.json +7 -7
- package/runtime/function-executor/manifest.json +5 -5
- package/runtime/function-executor/package/dist/function-executor/main.js +2 -2
- package/runtime/function-executor/package/npm-shrinkwrap.json +2 -2
- package/runtime/function-executor/package/package.json +1 -1
- package/runtime/typescript-function-runner/manifest.json +5 -5
- package/runtime/typescript-function-runner/package/dist/function-agent/main.js +1 -1
- package/runtime/typescript-function-runner/package/npm-shrinkwrap.json +26 -26
- package/runtime/typescript-function-runner/package/package.json +7 -7
package/dist/sandbox-image.d.cts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { E as BuildContext, G as CreateSandboxImageDeps, n as CreateSandboxImageOptions, r as ImportSandboxImageOptions, t as SandboxImageSource, _ as __setNativeBindingForTest, H as buildContextFromEnv, v as createSandboxImage, w as deleteSandboxImage, y as findSandboxImageByName, z as importSandboxImage, D as listSandboxImages, J as runCreateSandboxImageCli, K as runImportSandboxImageCli } from './sandbox-image-
|
|
1
|
+
export { E as BuildContext, G as CreateSandboxImageDeps, n as CreateSandboxImageOptions, r as ImportSandboxImageOptions, t as SandboxImageSource, _ as __setNativeBindingForTest, H as buildContextFromEnv, v as createSandboxImage, w as deleteSandboxImage, y as findSandboxImageByName, z as importSandboxImage, D as listSandboxImages, J as runCreateSandboxImageCli, K as runImportSandboxImageCli } from './sandbox-image-CAK_K7ND.cjs';
|
package/dist/sandbox-image.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { E as BuildContext, G as CreateSandboxImageDeps, n as CreateSandboxImageOptions, r as ImportSandboxImageOptions, t as SandboxImageSource, _ as __setNativeBindingForTest, H as buildContextFromEnv, v as createSandboxImage, w as deleteSandboxImage, y as findSandboxImageByName, z as importSandboxImage, D as listSandboxImages, J as runCreateSandboxImageCli, K as runImportSandboxImageCli } from './sandbox-image-
|
|
1
|
+
export { E as BuildContext, G as CreateSandboxImageDeps, n as CreateSandboxImageOptions, r as ImportSandboxImageOptions, t as SandboxImageSource, _ as __setNativeBindingForTest, H as buildContextFromEnv, v as createSandboxImage, w as deleteSandboxImage, y as findSandboxImageByName, z as importSandboxImage, D as listSandboxImages, J as runCreateSandboxImageCli, K as runImportSandboxImageCli } from './sandbox-image-CAK_K7ND.js';
|
package/dist/sandbox-image.js
CHANGED
|
@@ -46,7 +46,7 @@ var init_defaults = __esm({
|
|
|
46
46
|
"src/defaults.ts"() {
|
|
47
47
|
"use strict";
|
|
48
48
|
init_esm_shims();
|
|
49
|
-
SDK_VERSION = "0.5.
|
|
49
|
+
SDK_VERSION = "0.5.151";
|
|
50
50
|
API_URL = process.env.TENSORLAKE_API_URL ?? "https://api.tensorlake.ai";
|
|
51
51
|
API_KEY = process.env.TENSORLAKE_API_KEY ?? void 0;
|
|
52
52
|
NAMESPACE = process.env.INDEXIFY_NAMESPACE ?? "default";
|
|
@@ -498,7 +498,7 @@ var init_native_worker_client = __esm({
|
|
|
498
498
|
}
|
|
499
499
|
};
|
|
500
500
|
runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
501
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
501
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.151"}.v1`
|
|
502
502
|
);
|
|
503
503
|
runtimes = globalThis;
|
|
504
504
|
}
|
|
@@ -1692,6 +1692,7 @@ async function createSandboxImage(source, options = {}, deps = {}) {
|
|
|
1692
1692
|
useScopeHeaders: usePat,
|
|
1693
1693
|
userAgent: void 0,
|
|
1694
1694
|
dockerCompat: options.dockerCompat ?? false,
|
|
1695
|
+
dockerConfigJson: options.dockerConfigJson,
|
|
1695
1696
|
dockerfileText,
|
|
1696
1697
|
contextDir: nativeContextDir
|
|
1697
1698
|
},
|
|
@@ -1770,7 +1771,8 @@ async function importSandboxImage(imageReference, options = {}, deps = {}) {
|
|
|
1770
1771
|
namespace: context.namespace,
|
|
1771
1772
|
useScopeHeaders: usePat,
|
|
1772
1773
|
userAgent: void 0,
|
|
1773
|
-
dockerCompat: options.dockerCompat ?? false
|
|
1774
|
+
dockerCompat: options.dockerCompat ?? false,
|
|
1775
|
+
dockerConfigJson: options.dockerConfigJson
|
|
1774
1776
|
},
|
|
1775
1777
|
(event) => {
|
|
1776
1778
|
try {
|
|
@@ -1905,10 +1907,12 @@ async function runCreateSandboxImageCli(argv = process.argv.slice(2)) {
|
|
|
1905
1907
|
`Invalid --builder_disk_mb value: ${parsed.values.builder_disk_mb}`
|
|
1906
1908
|
);
|
|
1907
1909
|
}
|
|
1910
|
+
const dockerConfigJson = loadNativeBinding().loadDockerConfigJson();
|
|
1908
1911
|
await createSandboxImage(
|
|
1909
1912
|
dockerfilePath,
|
|
1910
1913
|
{
|
|
1911
1914
|
registeredName: parsed.values.name,
|
|
1915
|
+
dockerConfigJson,
|
|
1912
1916
|
cpus,
|
|
1913
1917
|
memoryMb,
|
|
1914
1918
|
diskMb,
|
|
@@ -1957,10 +1961,12 @@ async function runImportSandboxImageCli(argv = process.argv.slice(2)) {
|
|
|
1957
1961
|
`Invalid --builder_disk_mb value: ${parsed.values.builder_disk_mb}`
|
|
1958
1962
|
);
|
|
1959
1963
|
}
|
|
1964
|
+
const dockerConfigJson = loadNativeBinding().loadDockerConfigJson();
|
|
1960
1965
|
await importSandboxImage(
|
|
1961
1966
|
imageReference,
|
|
1962
1967
|
{
|
|
1963
1968
|
registeredName: parsed.values.name,
|
|
1969
|
+
dockerConfigJson,
|
|
1964
1970
|
cpus,
|
|
1965
1971
|
memoryMb,
|
|
1966
1972
|
diskMb,
|