@tensorlakeai/tensorlake 0.5.162 → 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)
|
|
@@ -249,6 +258,7 @@ var NativeWorkerClient = class {
|
|
|
249
258
|
)) {
|
|
250
259
|
this.workerPath = workerPath;
|
|
251
260
|
}
|
|
261
|
+
workerPath;
|
|
252
262
|
worker;
|
|
253
263
|
nextId = 1;
|
|
254
264
|
registered = /* @__PURE__ */ new Set();
|
|
@@ -402,7 +412,7 @@ var NativeWorkerClient = class {
|
|
|
402
412
|
}
|
|
403
413
|
};
|
|
404
414
|
var runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
405
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
415
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.163"}.v1`
|
|
406
416
|
);
|
|
407
417
|
var runtimes = globalThis;
|
|
408
418
|
function configureNativeWorker(workerPath) {
|
|
@@ -1421,6 +1431,7 @@ var FunctionAgentRunner = class {
|
|
|
1421
1431
|
constructor(core) {
|
|
1422
1432
|
this.core = core;
|
|
1423
1433
|
}
|
|
1434
|
+
core;
|
|
1424
1435
|
attempts = /* @__PURE__ */ new Map();
|
|
1425
1436
|
applications = /* @__PURE__ */ new Map();
|
|
1426
1437
|
initializationSent = false;
|
|
@@ -1494,6 +1505,9 @@ var AttemptRuntime = class {
|
|
|
1494
1505
|
this.submit = submit;
|
|
1495
1506
|
this.previousDurableId = assignment.function_run_id;
|
|
1496
1507
|
}
|
|
1508
|
+
assignment;
|
|
1509
|
+
definition;
|
|
1510
|
+
submit;
|
|
1497
1511
|
controller = new AbortController();
|
|
1498
1512
|
callResults = /* @__PURE__ */ new Map();
|
|
1499
1513
|
stateResults = /* @__PURE__ */ new Map();
|