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