@tensorlakeai/tensorlake 0.5.145 → 0.5.150

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.
@@ -49,7 +49,7 @@ var init_defaults = __esm({
49
49
  "src/defaults.ts"() {
50
50
  "use strict";
51
51
  init_cjs_shims();
52
- SDK_VERSION = "0.5.145";
52
+ SDK_VERSION = "0.5.150";
53
53
  API_URL = process.env.TENSORLAKE_API_URL ?? "https://api.tensorlake.ai";
54
54
  API_KEY = process.env.TENSORLAKE_API_KEY ?? void 0;
55
55
  NAMESPACE = process.env.INDEXIFY_NAMESPACE ?? "default";
@@ -103,10 +103,18 @@ function fromSnakeKeys(obj, idField) {
103
103
  }
104
104
  return obj;
105
105
  }
106
+ var CommandExitReason;
106
107
  var init_models = __esm({
107
108
  "src/models.ts"() {
108
109
  "use strict";
109
110
  init_cjs_shims();
111
+ CommandExitReason = /* @__PURE__ */ ((CommandExitReason2) => {
112
+ CommandExitReason2["EXITED"] = "exited";
113
+ CommandExitReason2["SIGNALED"] = "signaled";
114
+ CommandExitReason2["OOM_KILLED"] = "oom_killed";
115
+ CommandExitReason2["TIMED_OUT"] = "timed_out";
116
+ return CommandExitReason2;
117
+ })(CommandExitReason || {});
110
118
  }
111
119
  });
112
120
 
@@ -493,7 +501,7 @@ var init_native_worker_client = __esm({
493
501
  }
494
502
  };
495
503
  runtimeKey = /* @__PURE__ */ Symbol.for(
496
- `tensorlake.native.worker.${false ? "source" : "0.5.145"}.v1`
504
+ `tensorlake.native.worker.${false ? "source" : "0.5.150"}.v1`
497
505
  );
498
506
  runtimes = globalThis;
499
507
  }
@@ -616,7 +624,7 @@ async function* nativeEventStream(start, context, signal) {
616
624
  for (const event of queue) event.consumed();
617
625
  }
618
626
  }
619
- var cachedBinding;
627
+ var cachedBinding, KNOWN_EXIT_REASONS;
620
628
  var init_native_sandbox = __esm({
621
629
  "src/native-sandbox.ts"() {
622
630
  "use strict";
@@ -625,6 +633,7 @@ var init_native_sandbox = __esm({
625
633
  init_errors();
626
634
  init_native_worker_client();
627
635
  init_native_worker_protocol();
636
+ KNOWN_EXIT_REASONS = new Set(Object.values(CommandExitReason));
628
637
  }
629
638
  });
630
639