@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.
- 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
|
@@ -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.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
|
|
|
@@ -517,7 +525,7 @@ var init_native_worker_client = __esm({
|
|
|
517
525
|
}
|
|
518
526
|
};
|
|
519
527
|
runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
520
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
528
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.150"}.v1`
|
|
521
529
|
);
|
|
522
530
|
runtimes = globalThis;
|
|
523
531
|
}
|
|
@@ -640,7 +648,7 @@ async function* nativeEventStream(start, context, signal) {
|
|
|
640
648
|
for (const event of queue) event.consumed();
|
|
641
649
|
}
|
|
642
650
|
}
|
|
643
|
-
var cachedBinding;
|
|
651
|
+
var cachedBinding, KNOWN_EXIT_REASONS;
|
|
644
652
|
var init_native_sandbox = __esm({
|
|
645
653
|
"src/native-sandbox.ts"() {
|
|
646
654
|
"use strict";
|
|
@@ -649,6 +657,7 @@ var init_native_sandbox = __esm({
|
|
|
649
657
|
init_errors();
|
|
650
658
|
init_native_worker_client();
|
|
651
659
|
init_native_worker_protocol();
|
|
660
|
+
KNOWN_EXIT_REASONS = new Set(Object.values(CommandExitReason));
|
|
652
661
|
}
|
|
653
662
|
});
|
|
654
663
|
|