@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as ApplicationCapability, J as JSONSchema, R as RegisteredDefinition } from '../remote-
|
|
2
|
-
export { a as ApplicationOptions, F as File, b as FunctionOptions, c as Future, H as Headers, d as HeadersInit, e as HttpBody, I as Infer, L as LocalRequest, P as Parameter, f as ParameterValues, g as RegisteredFunction, h as RemoteOptions, i as RemoteRequest, j as RequestContext, k as RequestContextValue, S as Schema, l as SimpleApplicationOptions, m as SimpleFunctionOptions, T as TailCall, W as WaitOptions, n as WaitResult, r as registerApplication, o as registerFunction, p as remoteOptions, q as retries, s as runLocal, t as runRemote, u as schema } from '../remote-
|
|
3
|
-
export { I as Image } from '../sandbox-image-
|
|
1
|
+
import { A as ApplicationCapability, J as JSONSchema, R as RegisteredDefinition } from '../remote-CC48cvYP.cjs';
|
|
2
|
+
export { a as ApplicationOptions, F as File, b as FunctionOptions, c as Future, H as Headers, d as HeadersInit, e as HttpBody, I as Infer, L as LocalRequest, P as Parameter, f as ParameterValues, g as RegisteredFunction, h as RemoteOptions, i as RemoteRequest, j as RequestContext, k as RequestContextValue, S as Schema, l as SimpleApplicationOptions, m as SimpleFunctionOptions, T as TailCall, W as WaitOptions, n as WaitResult, r as registerApplication, o as registerFunction, p as remoteOptions, q as retries, s as runLocal, t as runRemote, u as schema } from '../remote-CC48cvYP.cjs';
|
|
3
|
+
export { I as Image } from '../sandbox-image-CAK_K7ND.cjs';
|
|
4
4
|
|
|
5
5
|
declare const SDK_VERSION: string;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as ApplicationCapability, J as JSONSchema, R as RegisteredDefinition } from '../remote-
|
|
2
|
-
export { a as ApplicationOptions, F as File, b as FunctionOptions, c as Future, H as Headers, d as HeadersInit, e as HttpBody, I as Infer, L as LocalRequest, P as Parameter, f as ParameterValues, g as RegisteredFunction, h as RemoteOptions, i as RemoteRequest, j as RequestContext, k as RequestContextValue, S as Schema, l as SimpleApplicationOptions, m as SimpleFunctionOptions, T as TailCall, W as WaitOptions, n as WaitResult, r as registerApplication, o as registerFunction, p as remoteOptions, q as retries, s as runLocal, t as runRemote, u as schema } from '../remote-
|
|
3
|
-
export { I as Image } from '../sandbox-image-
|
|
1
|
+
import { A as ApplicationCapability, J as JSONSchema, R as RegisteredDefinition } from '../remote-BbSrvgUn.js';
|
|
2
|
+
export { a as ApplicationOptions, F as File, b as FunctionOptions, c as Future, H as Headers, d as HeadersInit, e as HttpBody, I as Infer, L as LocalRequest, P as Parameter, f as ParameterValues, g as RegisteredFunction, h as RemoteOptions, i as RemoteRequest, j as RequestContext, k as RequestContextValue, S as Schema, l as SimpleApplicationOptions, m as SimpleFunctionOptions, T as TailCall, W as WaitOptions, n as WaitResult, r as registerApplication, o as registerFunction, p as remoteOptions, q as retries, s as runLocal, t as runRemote, u as schema } from '../remote-BbSrvgUn.js';
|
|
3
|
+
export { I as Image } from '../sandbox-image-CAK_K7ND.js';
|
|
4
4
|
|
|
5
5
|
declare const SDK_VERSION: string;
|
|
6
6
|
|
|
@@ -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";
|
|
@@ -522,7 +522,7 @@ var init_native_worker_client = __esm({
|
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
524
|
runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
525
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
525
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.151"}.v1`
|
|
526
526
|
);
|
|
527
527
|
runtimes = globalThis;
|
|
528
528
|
}
|
|
@@ -1591,6 +1591,7 @@ async function createSandboxImage(source, options = {}, deps = {}) {
|
|
|
1591
1591
|
useScopeHeaders: usePat,
|
|
1592
1592
|
userAgent: void 0,
|
|
1593
1593
|
dockerCompat: options.dockerCompat ?? false,
|
|
1594
|
+
dockerConfigJson: options.dockerConfigJson,
|
|
1594
1595
|
dockerfileText,
|
|
1595
1596
|
contextDir: nativeContextDir
|
|
1596
1597
|
},
|
|
@@ -1669,7 +1670,8 @@ async function importSandboxImage(imageReference, options = {}, deps = {}) {
|
|
|
1669
1670
|
namespace: context.namespace,
|
|
1670
1671
|
useScopeHeaders: usePat,
|
|
1671
1672
|
userAgent: void 0,
|
|
1672
|
-
dockerCompat: options.dockerCompat ?? false
|
|
1673
|
+
dockerCompat: options.dockerCompat ?? false,
|
|
1674
|
+
dockerConfigJson: options.dockerConfigJson
|
|
1673
1675
|
},
|
|
1674
1676
|
(event) => {
|
|
1675
1677
|
try {
|
|
@@ -1804,10 +1806,12 @@ async function runCreateSandboxImageCli(argv = process.argv.slice(2)) {
|
|
|
1804
1806
|
`Invalid --builder_disk_mb value: ${parsed.values.builder_disk_mb}`
|
|
1805
1807
|
);
|
|
1806
1808
|
}
|
|
1809
|
+
const dockerConfigJson = loadNativeBinding().loadDockerConfigJson();
|
|
1807
1810
|
await createSandboxImage(
|
|
1808
1811
|
dockerfilePath,
|
|
1809
1812
|
{
|
|
1810
1813
|
registeredName: parsed.values.name,
|
|
1814
|
+
dockerConfigJson,
|
|
1811
1815
|
cpus,
|
|
1812
1816
|
memoryMb,
|
|
1813
1817
|
diskMb,
|
|
@@ -1856,10 +1860,12 @@ async function runImportSandboxImageCli(argv = process.argv.slice(2)) {
|
|
|
1856
1860
|
`Invalid --builder_disk_mb value: ${parsed.values.builder_disk_mb}`
|
|
1857
1861
|
);
|
|
1858
1862
|
}
|
|
1863
|
+
const dockerConfigJson = loadNativeBinding().loadDockerConfigJson();
|
|
1859
1864
|
await importSandboxImage(
|
|
1860
1865
|
imageReference,
|
|
1861
1866
|
{
|
|
1862
1867
|
registeredName: parsed.values.name,
|
|
1868
|
+
dockerConfigJson,
|
|
1863
1869
|
cpus,
|
|
1864
1870
|
memoryMb,
|
|
1865
1871
|
diskMb,
|