@tensorlakeai/tensorlake 0.5.145 → 0.5.148
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 +12 -3
- package/dist/applications/index.cjs.map +1 -1
- package/dist/applications/index.js +12 -3
- package/dist/applications/index.js.map +1 -1
- package/dist/function-agent/main.cjs +1 -1
- package/dist/function-agent/main.js +1 -1
- package/dist/function-executor/main.cjs +2 -2
- package/dist/function-executor/main.js +2 -2
- package/dist/index.cjs +51 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -7
- package/dist/index.d.ts +45 -7
- package/dist/index.js +50 -15
- package/dist/index.js.map +1 -1
- package/dist/sandbox-image.cjs +12 -3
- package/dist/sandbox-image.cjs.map +1 -1
- package/dist/sandbox-image.js +12 -3
- package/dist/sandbox-image.js.map +1 -1
- package/package.json +7 -7
- package/runtime/function-executor/manifest.json +5 -5
- package/runtime/function-executor/package/dist/function-executor/main.js +2 -2
- package/runtime/function-executor/package/npm-shrinkwrap.json +2 -2
- package/runtime/function-executor/package/package.json +1 -1
- package/runtime/typescript-function-runner/manifest.json +5 -5
- package/runtime/typescript-function-runner/package/dist/function-agent/main.js +1 -1
- package/runtime/typescript-function-runner/package/npm-shrinkwrap.json +26 -26
- package/runtime/typescript-function-runner/package/package.json +7 -7
package/dist/sandbox-image.cjs
CHANGED
|
@@ -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.
|
|
52
|
+
SDK_VERSION = "0.5.148";
|
|
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.
|
|
504
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.148"}.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
|
|