@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
|
@@ -4,11 +4,20 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __esm = (fn, res) => function __init() {
|
|
8
|
-
|
|
7
|
+
var __esm = (fn, res, err) => function __init() {
|
|
8
|
+
if (err) throw err[0];
|
|
9
|
+
try {
|
|
10
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw err = [e], e;
|
|
13
|
+
}
|
|
9
14
|
};
|
|
10
15
|
var __commonJS = (cb, mod) => function __require() {
|
|
11
|
-
|
|
16
|
+
try {
|
|
17
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
18
|
+
} catch (e) {
|
|
19
|
+
throw mod = 0, e;
|
|
20
|
+
}
|
|
12
21
|
};
|
|
13
22
|
var __copyProps = (to, from, except, desc) => {
|
|
14
23
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -237,6 +246,7 @@ var NativeWorkerClient = class {
|
|
|
237
246
|
)) {
|
|
238
247
|
this.workerPath = workerPath;
|
|
239
248
|
}
|
|
249
|
+
workerPath;
|
|
240
250
|
worker;
|
|
241
251
|
nextId = 1;
|
|
242
252
|
registered = /* @__PURE__ */ new Set();
|
|
@@ -390,7 +400,7 @@ var NativeWorkerClient = class {
|
|
|
390
400
|
}
|
|
391
401
|
};
|
|
392
402
|
var runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
393
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
403
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.163"}.v1`
|
|
394
404
|
);
|
|
395
405
|
var runtimes = globalThis;
|
|
396
406
|
function configureNativeWorker(workerPath) {
|
|
@@ -1409,6 +1419,7 @@ var FunctionAgentRunner = class {
|
|
|
1409
1419
|
constructor(core) {
|
|
1410
1420
|
this.core = core;
|
|
1411
1421
|
}
|
|
1422
|
+
core;
|
|
1412
1423
|
attempts = /* @__PURE__ */ new Map();
|
|
1413
1424
|
applications = /* @__PURE__ */ new Map();
|
|
1414
1425
|
initializationSent = false;
|
|
@@ -1482,6 +1493,9 @@ var AttemptRuntime = class {
|
|
|
1482
1493
|
this.submit = submit;
|
|
1483
1494
|
this.previousDurableId = assignment.function_run_id;
|
|
1484
1495
|
}
|
|
1496
|
+
assignment;
|
|
1497
|
+
definition;
|
|
1498
|
+
submit;
|
|
1485
1499
|
controller = new AbortController();
|
|
1486
1500
|
callResults = /* @__PURE__ */ new Map();
|
|
1487
1501
|
stateResults = /* @__PURE__ */ new Map();
|