@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.
Files changed (49) hide show
  1. package/dist/applications/index.cjs +26 -5
  2. package/dist/applications/index.cjs.map +1 -1
  3. package/dist/applications/index.d.cts +3 -3
  4. package/dist/applications/index.d.ts +3 -3
  5. package/dist/applications/index.js +26 -5
  6. package/dist/applications/index.js.map +1 -1
  7. package/dist/function-agent/main.cjs +18 -4
  8. package/dist/function-agent/main.cjs.map +1 -1
  9. package/dist/function-agent/main.js +18 -4
  10. package/dist/function-agent/main.js.map +1 -1
  11. package/dist/function-executor/main.cjs +5 -2
  12. package/dist/function-executor/main.cjs.map +1 -1
  13. package/dist/function-executor/main.js +5 -2
  14. package/dist/function-executor/main.js.map +1 -1
  15. package/dist/index.cjs +47 -12
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +9 -4
  18. package/dist/index.d.ts +9 -4
  19. package/dist/index.js +47 -12
  20. package/dist/index.js.map +1 -1
  21. package/dist/native-worker.cjs +12 -3
  22. package/dist/native-worker.cjs.map +1 -1
  23. package/dist/native-worker.js +12 -3
  24. package/dist/native-worker.js.map +1 -1
  25. package/dist/{remote-DYBXCTNC.d.ts → remote-BMibssYe.d.ts} +29 -29
  26. package/dist/{remote-CEs4GFGP.d.cts → remote-BzVx-ai8.d.cts} +29 -29
  27. package/dist/sandbox-image.cjs +12 -3
  28. package/dist/sandbox-image.cjs.map +1 -1
  29. package/dist/sandbox-image.d.cts +1 -1
  30. package/dist/sandbox-image.d.ts +1 -1
  31. package/dist/sandbox-image.js +12 -3
  32. package/dist/sandbox-image.js.map +1 -1
  33. package/package.json +14 -9
  34. package/runtime/function-executor/manifest.json +13 -13
  35. package/runtime/function-executor/package/dist/function-executor/main.js +5 -2
  36. package/runtime/function-executor/package/dist/function-executor/main.js.map +1 -1
  37. package/runtime/function-executor/package/dist/native-worker.cjs +12 -3
  38. package/runtime/function-executor/package/dist/native-worker.cjs.map +1 -1
  39. package/runtime/function-executor/package/npm-shrinkwrap.json +27 -27
  40. package/runtime/function-executor/package/package.json +4 -4
  41. package/runtime/typescript-function-runner/manifest.json +13 -13
  42. package/runtime/typescript-function-runner/package/dist/function-agent/main.js +18 -4
  43. package/runtime/typescript-function-runner/package/dist/function-agent/main.js.map +1 -1
  44. package/runtime/typescript-function-runner/package/dist/native-worker.cjs +12 -3
  45. package/runtime/typescript-function-runner/package/dist/native-worker.cjs.map +1 -1
  46. package/runtime/typescript-function-runner/package/npm-shrinkwrap.json +48 -48
  47. package/runtime/typescript-function-runner/package/package.json +7 -7
  48. package/dist/{sandbox-image-C2GTVnx3.d.cts → image-CN0M59QP.d.cts} +48 -48
  49. 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
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
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
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
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.162"}.v1`
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();