@tensorlakeai/tensorlake 0.5.148 → 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
|
@@ -49,7 +49,7 @@ var init_defaults = __esm({
|
|
|
49
49
|
"src/defaults.ts"() {
|
|
50
50
|
"use strict";
|
|
51
51
|
init_cjs_shims();
|
|
52
|
-
SDK_VERSION = "0.5.
|
|
52
|
+
SDK_VERSION = "0.5.151";
|
|
53
53
|
API_URL = process.env.TENSORLAKE_API_URL ?? "https://api.tensorlake.ai";
|
|
54
54
|
API_KEY = process.env.TENSORLAKE_API_KEY ?? void 0;
|
|
55
55
|
NAMESPACE = process.env.INDEXIFY_NAMESPACE ?? "default";
|
|
@@ -525,7 +525,7 @@ var init_native_worker_client = __esm({
|
|
|
525
525
|
}
|
|
526
526
|
};
|
|
527
527
|
runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
528
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
528
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.151"}.v1`
|
|
529
529
|
);
|
|
530
530
|
runtimes = globalThis;
|
|
531
531
|
}
|
|
@@ -1590,6 +1590,7 @@ async function createSandboxImage(source, options = {}, deps = {}) {
|
|
|
1590
1590
|
useScopeHeaders: usePat,
|
|
1591
1591
|
userAgent: void 0,
|
|
1592
1592
|
dockerCompat: options.dockerCompat ?? false,
|
|
1593
|
+
dockerConfigJson: options.dockerConfigJson,
|
|
1593
1594
|
dockerfileText,
|
|
1594
1595
|
contextDir: nativeContextDir
|
|
1595
1596
|
},
|
|
@@ -1668,7 +1669,8 @@ async function importSandboxImage(imageReference, options = {}, deps = {}) {
|
|
|
1668
1669
|
namespace: context.namespace,
|
|
1669
1670
|
useScopeHeaders: usePat,
|
|
1670
1671
|
userAgent: void 0,
|
|
1671
|
-
dockerCompat: options.dockerCompat ?? false
|
|
1672
|
+
dockerCompat: options.dockerCompat ?? false,
|
|
1673
|
+
dockerConfigJson: options.dockerConfigJson
|
|
1672
1674
|
},
|
|
1673
1675
|
(event) => {
|
|
1674
1676
|
try {
|
|
@@ -1803,10 +1805,12 @@ async function runCreateSandboxImageCli(argv = process.argv.slice(2)) {
|
|
|
1803
1805
|
`Invalid --builder_disk_mb value: ${parsed.values.builder_disk_mb}`
|
|
1804
1806
|
);
|
|
1805
1807
|
}
|
|
1808
|
+
const dockerConfigJson = loadNativeBinding().loadDockerConfigJson();
|
|
1806
1809
|
await createSandboxImage(
|
|
1807
1810
|
dockerfilePath,
|
|
1808
1811
|
{
|
|
1809
1812
|
registeredName: parsed.values.name,
|
|
1813
|
+
dockerConfigJson,
|
|
1810
1814
|
cpus,
|
|
1811
1815
|
memoryMb,
|
|
1812
1816
|
diskMb,
|
|
@@ -1855,10 +1859,12 @@ async function runImportSandboxImageCli(argv = process.argv.slice(2)) {
|
|
|
1855
1859
|
`Invalid --builder_disk_mb value: ${parsed.values.builder_disk_mb}`
|
|
1856
1860
|
);
|
|
1857
1861
|
}
|
|
1862
|
+
const dockerConfigJson = loadNativeBinding().loadDockerConfigJson();
|
|
1858
1863
|
await importSandboxImage(
|
|
1859
1864
|
imageReference,
|
|
1860
1865
|
{
|
|
1861
1866
|
registeredName: parsed.values.name,
|
|
1867
|
+
dockerConfigJson,
|
|
1862
1868
|
cpus,
|
|
1863
1869
|
memoryMb,
|
|
1864
1870
|
diskMb,
|