@tensorlakeai/tensorlake 0.5.161 → 0.5.163
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 +26 -5
- 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 +26 -5
- package/dist/applications/index.js.map +1 -1
- package/dist/function-agent/main.cjs +18 -4
- package/dist/function-agent/main.cjs.map +1 -1
- package/dist/function-agent/main.js +18 -4
- package/dist/function-agent/main.js.map +1 -1
- package/dist/function-executor/main.cjs +5 -2
- package/dist/function-executor/main.cjs.map +1 -1
- package/dist/function-executor/main.js +5 -2
- package/dist/function-executor/main.js.map +1 -1
- package/dist/index.cjs +47 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +47 -12
- package/dist/index.js.map +1 -1
- package/dist/native-worker.cjs +12 -3
- package/dist/native-worker.cjs.map +1 -1
- package/dist/native-worker.js +12 -3
- package/dist/native-worker.js.map +1 -1
- package/dist/{remote-DYBXCTNC.d.ts → remote-BMibssYe.d.ts} +29 -29
- package/dist/{remote-CEs4GFGP.d.cts → remote-BzVx-ai8.d.cts} +29 -29
- package/dist/sandbox-image.cjs +12 -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 +12 -3
- package/dist/sandbox-image.js.map +1 -1
- package/package.json +14 -9
- package/runtime/function-executor/manifest.json +13 -13
- package/runtime/function-executor/package/dist/function-executor/main.js +5 -2
- package/runtime/function-executor/package/dist/function-executor/main.js.map +1 -1
- package/runtime/function-executor/package/dist/native-worker.cjs +12 -3
- package/runtime/function-executor/package/dist/native-worker.cjs.map +1 -1
- package/runtime/function-executor/package/npm-shrinkwrap.json +27 -27
- package/runtime/function-executor/package/package.json +4 -4
- package/runtime/typescript-function-runner/manifest.json +13 -13
- package/runtime/typescript-function-runner/package/dist/function-agent/main.js +18 -4
- package/runtime/typescript-function-runner/package/dist/function-agent/main.js.map +1 -1
- package/runtime/typescript-function-runner/package/dist/native-worker.cjs +12 -3
- package/runtime/typescript-function-runner/package/dist/native-worker.cjs.map +1 -1
- package/runtime/typescript-function-runner/package/npm-shrinkwrap.json +48 -48
- package/runtime/typescript-function-runner/package/package.json +7 -7
- package/dist/{sandbox-image-C2GTVnx3.d.cts → image-CN0M59QP.d.cts} +48 -48
- package/dist/{sandbox-image-C2GTVnx3.d.ts → image-CN0M59QP.d.ts} +48 -48
|
@@ -5,11 +5,20 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esm = (fn, res) => function __init() {
|
|
9
|
-
|
|
8
|
+
var __esm = (fn, res, err) => function __init() {
|
|
9
|
+
if (err) throw err[0];
|
|
10
|
+
try {
|
|
11
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
12
|
+
} catch (e) {
|
|
13
|
+
throw err = [e], e;
|
|
14
|
+
}
|
|
10
15
|
};
|
|
11
16
|
var __commonJS = (cb, mod) => function __require() {
|
|
12
|
-
|
|
17
|
+
try {
|
|
18
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
19
|
+
} catch (e) {
|
|
20
|
+
throw mod = 0, e;
|
|
21
|
+
}
|
|
13
22
|
};
|
|
14
23
|
var __export = (target, all) => {
|
|
15
24
|
for (var name in all)
|
|
@@ -2624,7 +2633,7 @@ init_image();
|
|
|
2624
2633
|
|
|
2625
2634
|
// src/defaults.ts
|
|
2626
2635
|
init_cjs_shims();
|
|
2627
|
-
var SDK_VERSION = "0.5.
|
|
2636
|
+
var SDK_VERSION = "0.5.163";
|
|
2628
2637
|
var API_URL = process.env.TENSORLAKE_API_URL ?? "https://api.tensorlake.ai";
|
|
2629
2638
|
var API_KEY = process.env.TENSORLAKE_API_KEY ?? void 0;
|
|
2630
2639
|
var NAMESPACE = process.env.INDEXIFY_NAMESPACE ?? "default";
|
|
@@ -2817,6 +2826,7 @@ var MemoryRequestContext = class {
|
|
|
2817
2826
|
this.headers = new Headers(options.headers);
|
|
2818
2827
|
this.signal = options.signal ?? new AbortController().signal;
|
|
2819
2828
|
}
|
|
2829
|
+
requestId;
|
|
2820
2830
|
headers;
|
|
2821
2831
|
signal;
|
|
2822
2832
|
values = /* @__PURE__ */ new Map();
|
|
@@ -2863,6 +2873,9 @@ var LocalRequest = class {
|
|
|
2863
2873
|
this.value = value;
|
|
2864
2874
|
this.cancelRequest = cancelRequest;
|
|
2865
2875
|
}
|
|
2876
|
+
id;
|
|
2877
|
+
value;
|
|
2878
|
+
cancelRequest;
|
|
2866
2879
|
output() {
|
|
2867
2880
|
return this.value;
|
|
2868
2881
|
}
|
|
@@ -3254,6 +3267,7 @@ var NativeWorkerClient = class {
|
|
|
3254
3267
|
)) {
|
|
3255
3268
|
this.workerPath = workerPath;
|
|
3256
3269
|
}
|
|
3270
|
+
workerPath;
|
|
3257
3271
|
worker;
|
|
3258
3272
|
nextId = 1;
|
|
3259
3273
|
registered = /* @__PURE__ */ new Set();
|
|
@@ -3442,7 +3456,7 @@ function createWorkerBinding(runtime) {
|
|
|
3442
3456
|
};
|
|
3443
3457
|
}
|
|
3444
3458
|
var runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
3445
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
3459
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.163"}.v1`
|
|
3446
3460
|
);
|
|
3447
3461
|
var runtimes = globalThis;
|
|
3448
3462
|
function workerBinding() {
|
|
@@ -3585,6 +3599,7 @@ var NativeCloudTransport = class {
|
|
|
3585
3599
|
throw new RangeError("retryBackoffMs must be a non-negative finite number");
|
|
3586
3600
|
}
|
|
3587
3601
|
}
|
|
3602
|
+
options;
|
|
3588
3603
|
native;
|
|
3589
3604
|
closed = false;
|
|
3590
3605
|
client() {
|
|
@@ -4209,6 +4224,8 @@ var MountCli = class {
|
|
|
4209
4224
|
this.command = command;
|
|
4210
4225
|
this.envOverrides = envOverrides;
|
|
4211
4226
|
}
|
|
4227
|
+
command;
|
|
4228
|
+
envOverrides;
|
|
4212
4229
|
binary = null;
|
|
4213
4230
|
async findCli() {
|
|
4214
4231
|
const candidates = [];
|
|
@@ -4953,6 +4970,10 @@ var RemoteRequest = class {
|
|
|
4953
4970
|
this.client = client;
|
|
4954
4971
|
this.outputIsFile = outputIsFile;
|
|
4955
4972
|
}
|
|
4973
|
+
id;
|
|
4974
|
+
applicationName;
|
|
4975
|
+
client;
|
|
4976
|
+
outputIsFile;
|
|
4956
4977
|
async output() {
|
|
4957
4978
|
let output;
|
|
4958
4979
|
try {
|