tensorlake 0.5.141 → 0.5.142
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -4
- package/dist/index.d.ts +12 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/sandbox-image.cjs +2 -2
- package/dist/sandbox-image.cjs.map +1 -1
- package/dist/sandbox-image.js +2 -2
- 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
package/dist/index.d.cts
CHANGED
|
@@ -797,9 +797,12 @@ interface SandboxClientOptions {
|
|
|
797
797
|
namespace?: string;
|
|
798
798
|
maxRetries?: number;
|
|
799
799
|
retryBackoffMs?: number;
|
|
800
|
-
/**
|
|
800
|
+
/**
|
|
801
|
+
* HTTP request timeout in seconds. For a streamed response it bounds the
|
|
802
|
+
* wait for the stream to start and each wait for more data. Default: 300.
|
|
803
|
+
*/
|
|
801
804
|
requestTimeout?: number;
|
|
802
|
-
/** @deprecated Use requestTimeout.
|
|
805
|
+
/** @deprecated Use requestTimeout. HTTP request timeout in milliseconds. */
|
|
803
806
|
timeoutMs?: number;
|
|
804
807
|
}
|
|
805
808
|
interface SandboxOptions {
|
|
@@ -819,9 +822,14 @@ interface SandboxOptions {
|
|
|
819
822
|
resolveProxyInfo?: (identifier: string) => Promise<SandboxInfo & {
|
|
820
823
|
readonly traceId: string;
|
|
821
824
|
}>;
|
|
822
|
-
/**
|
|
825
|
+
/**
|
|
826
|
+
* Optional HTTP request timeout in seconds for sandbox proxy operations. For
|
|
827
|
+
* streamed responses, such as `run()` and output follows, it bounds the wait
|
|
828
|
+
* for the stream to start and each wait for more data. Omit for no proxy
|
|
829
|
+
* timeout.
|
|
830
|
+
*/
|
|
823
831
|
requestTimeout?: number;
|
|
824
|
-
/** @deprecated Use requestTimeout. Optional
|
|
832
|
+
/** @deprecated Use requestTimeout. Optional HTTP request timeout in milliseconds for sandbox proxy operations. */
|
|
825
833
|
timeoutMs?: number;
|
|
826
834
|
/**
|
|
827
835
|
* @internal Shared Rust-backed lifecycle client. When provided, the proxy
|
package/dist/index.d.ts
CHANGED
|
@@ -797,9 +797,12 @@ interface SandboxClientOptions {
|
|
|
797
797
|
namespace?: string;
|
|
798
798
|
maxRetries?: number;
|
|
799
799
|
retryBackoffMs?: number;
|
|
800
|
-
/**
|
|
800
|
+
/**
|
|
801
|
+
* HTTP request timeout in seconds. For a streamed response it bounds the
|
|
802
|
+
* wait for the stream to start and each wait for more data. Default: 300.
|
|
803
|
+
*/
|
|
801
804
|
requestTimeout?: number;
|
|
802
|
-
/** @deprecated Use requestTimeout.
|
|
805
|
+
/** @deprecated Use requestTimeout. HTTP request timeout in milliseconds. */
|
|
803
806
|
timeoutMs?: number;
|
|
804
807
|
}
|
|
805
808
|
interface SandboxOptions {
|
|
@@ -819,9 +822,14 @@ interface SandboxOptions {
|
|
|
819
822
|
resolveProxyInfo?: (identifier: string) => Promise<SandboxInfo & {
|
|
820
823
|
readonly traceId: string;
|
|
821
824
|
}>;
|
|
822
|
-
/**
|
|
825
|
+
/**
|
|
826
|
+
* Optional HTTP request timeout in seconds for sandbox proxy operations. For
|
|
827
|
+
* streamed responses, such as `run()` and output follows, it bounds the wait
|
|
828
|
+
* for the stream to start and each wait for more data. Omit for no proxy
|
|
829
|
+
* timeout.
|
|
830
|
+
*/
|
|
823
831
|
requestTimeout?: number;
|
|
824
|
-
/** @deprecated Use requestTimeout. Optional
|
|
832
|
+
/** @deprecated Use requestTimeout. Optional HTTP request timeout in milliseconds for sandbox proxy operations. */
|
|
825
833
|
timeoutMs?: number;
|
|
826
834
|
/**
|
|
827
835
|
* @internal Shared Rust-backed lifecycle client. When provided, the proxy
|
package/dist/index.js
CHANGED
|
@@ -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.
|
|
49
|
+
SDK_VERSION = "0.5.142";
|
|
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";
|
|
@@ -490,7 +490,7 @@ var init_native_worker_client = __esm({
|
|
|
490
490
|
}
|
|
491
491
|
};
|
|
492
492
|
runtimeKey = /* @__PURE__ */ Symbol.for(
|
|
493
|
-
`tensorlake.native.worker.${false ? "source" : "0.5.
|
|
493
|
+
`tensorlake.native.worker.${false ? "source" : "0.5.142"}.v1`
|
|
494
494
|
);
|
|
495
495
|
runtimes = globalThis;
|
|
496
496
|
}
|