tensorlake 0.5.129 → 0.5.131
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 +2 -2
- package/dist/applications/index.cjs.map +1 -1
- package/dist/applications/index.js +2 -2
- 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 +10 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/sandbox-image.cjs +1 -1
- package/dist/sandbox-image.cjs.map +1 -1
- package/dist/sandbox-image.js +1 -1
- 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 +20 -20
- package/runtime/typescript-function-runner/package/package.json +7 -7
|
@@ -399,7 +399,7 @@ var NativeWorkerClient = class {
|
|
|
399
399
|
}
|
|
400
400
|
};
|
|
401
401
|
var runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
402
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
402
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.131"}.v1`
|
|
403
403
|
);
|
|
404
404
|
var runtimes = globalThis;
|
|
405
405
|
function configureNativeWorker(workerPath) {
|
|
@@ -387,7 +387,7 @@ var NativeWorkerClient = class {
|
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
389
|
var runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
390
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
390
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.131"}.v1`
|
|
391
391
|
);
|
|
392
392
|
var runtimes = globalThis;
|
|
393
393
|
function configureNativeWorker(workerPath) {
|
|
@@ -51,7 +51,7 @@ var cancelNativeCall = /* @__PURE__ */ Symbol.for("tensorlake.native.cancel.v1")
|
|
|
51
51
|
var closeNativeHandle = /* @__PURE__ */ Symbol.for("tensorlake.native.close.v1");
|
|
52
52
|
|
|
53
53
|
// src/defaults.ts
|
|
54
|
-
var SDK_VERSION = "0.5.
|
|
54
|
+
var SDK_VERSION = "0.5.131";
|
|
55
55
|
var API_URL = process.env.TENSORLAKE_API_URL ?? "https://api.tensorlake.ai";
|
|
56
56
|
var API_KEY = process.env.TENSORLAKE_API_KEY ?? void 0;
|
|
57
57
|
var NAMESPACE = process.env.INDEXIFY_NAMESPACE ?? "default";
|
|
@@ -244,7 +244,7 @@ var NativeWorkerClient = class {
|
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
246
|
var runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
247
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
247
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.131"}.v1`
|
|
248
248
|
);
|
|
249
249
|
var runtimes = globalThis;
|
|
250
250
|
function configureNativeWorker(workerPath) {
|
|
@@ -10,7 +10,7 @@ var cancelNativeCall = /* @__PURE__ */ Symbol.for("tensorlake.native.cancel.v1")
|
|
|
10
10
|
var closeNativeHandle = /* @__PURE__ */ Symbol.for("tensorlake.native.close.v1");
|
|
11
11
|
|
|
12
12
|
// src/defaults.ts
|
|
13
|
-
var SDK_VERSION = "0.5.
|
|
13
|
+
var SDK_VERSION = "0.5.131";
|
|
14
14
|
var API_URL = process.env.TENSORLAKE_API_URL ?? "https://api.tensorlake.ai";
|
|
15
15
|
var API_KEY = process.env.TENSORLAKE_API_KEY ?? void 0;
|
|
16
16
|
var NAMESPACE = process.env.INDEXIFY_NAMESPACE ?? "default";
|
|
@@ -203,7 +203,7 @@ var NativeWorkerClient = class {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
var runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
206
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
206
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.131"}.v1`
|
|
207
207
|
);
|
|
208
208
|
var runtimes = globalThis;
|
|
209
209
|
function configureNativeWorker(workerPath) {
|
package/dist/index.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.131";
|
|
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";
|
|
@@ -475,7 +475,7 @@ var init_native_worker_client = __esm({
|
|
|
475
475
|
}
|
|
476
476
|
};
|
|
477
477
|
runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
478
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
478
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.131"}.v1`
|
|
479
479
|
);
|
|
480
480
|
runtimes = globalThis;
|
|
481
481
|
}
|
|
@@ -4587,6 +4587,8 @@ var init_client = __esm({
|
|
|
4587
4587
|
"H100",
|
|
4588
4588
|
"T4",
|
|
4589
4589
|
"A6000",
|
|
4590
|
+
"RTX-PRO-6000",
|
|
4591
|
+
"L40",
|
|
4590
4592
|
"A10"
|
|
4591
4593
|
]);
|
|
4592
4594
|
SandboxClient = class _SandboxClient {
|
|
@@ -5078,7 +5080,7 @@ var init_client = __esm({
|
|
|
5078
5080
|
resources: {
|
|
5079
5081
|
cpus: options.cpus ?? 1,
|
|
5080
5082
|
memory_mb: options.memoryMb ?? 1024,
|
|
5081
|
-
|
|
5083
|
+
...options.diskMb != null ? { disk_mb: options.diskMb } : {}
|
|
5082
5084
|
},
|
|
5083
5085
|
timeout_secs: options.timeoutSecs ?? 0
|
|
5084
5086
|
};
|
|
@@ -5115,7 +5117,10 @@ var init_client = __esm({
|
|
|
5115
5117
|
* network policy, set it to replace the policy, or pass `null` to remove the
|
|
5116
5118
|
* policy entirely. On a change the service recycles the pool's unclaimed
|
|
5117
5119
|
* warm containers onto the new policy, while containers already claimed by
|
|
5118
|
-
* sandboxes keep the policy they booted with.
|
|
5120
|
+
* sandboxes keep the policy they booted with. CPU, memory, disk, image, and
|
|
5121
|
+
* entrypoint changes likewise recycle unclaimed warm containers
|
|
5122
|
+
* asynchronously. If suitable capacity is unavailable, stale warm
|
|
5123
|
+
* containers are not used as a fallback.
|
|
5119
5124
|
*/
|
|
5120
5125
|
async updatePool(poolId, options) {
|
|
5121
5126
|
const body = {
|
|
@@ -5123,7 +5128,7 @@ var init_client = __esm({
|
|
|
5123
5128
|
resources: {
|
|
5124
5129
|
cpus: options.cpus ?? 1,
|
|
5125
5130
|
memory_mb: options.memoryMb ?? 1024,
|
|
5126
|
-
|
|
5131
|
+
...options.diskMb != null ? { disk_mb: options.diskMb } : {}
|
|
5127
5132
|
},
|
|
5128
5133
|
timeout_secs: options.timeoutSecs ?? 0
|
|
5129
5134
|
};
|