@tangle-network/agent-app 0.60.156 → 0.60.158
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/sandbox/index.d.ts
CHANGED
|
@@ -474,6 +474,19 @@ export declare class SandboxRecoveryFailedError extends Error {
|
|
|
474
474
|
readonly phase: SandboxRecoveryPhase;
|
|
475
475
|
constructor(stage: SandboxExistingBoxStage, boxKey: string, phase: SandboxRecoveryPhase, detail: string, cause?: unknown);
|
|
476
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* Thrown instead of restarting a box that failed the reuse gate because it is
|
|
479
|
+
* not connectable (runtime URL missing or edge readiness failed) while its
|
|
480
|
+
* runtime reports running sessions. A restart would end those sessions, so the
|
|
481
|
+
* box is left running and only the request that asked for it fails. The box is
|
|
482
|
+
* not replaced either; retry once its sessions finish.
|
|
483
|
+
*/
|
|
484
|
+
export declare class SandboxBoxBusyError extends Error {
|
|
485
|
+
readonly boxKey: string;
|
|
486
|
+
readonly stage: SandboxExistingBoxStage;
|
|
487
|
+
readonly runningSessions: number;
|
|
488
|
+
constructor(stage: SandboxExistingBoxStage, boxKey: string, runningSessions: number, detail: string);
|
|
489
|
+
}
|
|
477
490
|
/** Define options to control execution timeout, pacing, and retry behavior when writing profile files */
|
|
478
491
|
export interface WriteProfileFilesOptions {
|
|
479
492
|
execTimeoutMs?: number;
|
package/dist/sandbox/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
SANDBOX_DISPATCH_TRANSIENT_DEADLINE_MS,
|
|
15
15
|
SANDBOX_EXEC_DESCRIPTION,
|
|
16
16
|
SANDBOX_RUN_DESCRIPTION,
|
|
17
|
+
SandboxBoxBusyError,
|
|
17
18
|
SandboxEgressPolicyMismatchError,
|
|
18
19
|
SandboxFilesystemNotReadyError,
|
|
19
20
|
SandboxModelResolutionError,
|
|
@@ -96,7 +97,7 @@ import {
|
|
|
96
97
|
warmBinOf,
|
|
97
98
|
warmWeekdayOf,
|
|
98
99
|
writeProfileFilesToBox
|
|
99
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-RHDP4VIG.js";
|
|
100
101
|
import {
|
|
101
102
|
EGRESS_PROXY_RECOVERY_PHASE,
|
|
102
103
|
EGRESS_PROXY_RECOVERY_REQUIRED,
|
|
@@ -165,6 +166,7 @@ export {
|
|
|
165
166
|
SANDBOX_EXEC_DESCRIPTION,
|
|
166
167
|
SANDBOX_RUN_DESCRIPTION,
|
|
167
168
|
SANDBOX_TRANSIENT_DEADLINE_MS,
|
|
169
|
+
SandboxBoxBusyError,
|
|
168
170
|
SandboxEgressPolicyMismatchError,
|
|
169
171
|
SandboxFilesystemNotReadyError,
|
|
170
172
|
SandboxModelResolutionError,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-app",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.158",
|
|
4
4
|
"packageManager": "pnpm@11.24.0",
|
|
5
5
|
"description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
|
|
6
6
|
"keywords": [
|
|
@@ -768,7 +768,7 @@
|
|
|
768
768
|
"@tangle-network/agent-interface": "^2.13.0 || ^3.0.0",
|
|
769
769
|
"@tangle-network/agent-knowledge": "^17.1.2 || ^18.0.0 || ^19.0.1 || ^20.0.0",
|
|
770
770
|
"@tangle-network/agent-profile-materialize": ">=0.20.1 <0.21.0 || >=0.21.0 <0.22.0 || >=0.22.0 <0.23.0",
|
|
771
|
-
"@tangle-network/agent-runtime": ">=0.
|
|
771
|
+
"@tangle-network/agent-runtime": ">=0.318.0 <0.319.0",
|
|
772
772
|
"@tangle-network/brand": ">=1.21.1",
|
|
773
773
|
"@tangle-network/hub-sdk": ">=0.19.3 <0.21.0 || >=0.21.0 <0.22.0 || >=0.22.1 <0.25.0 || >=0.27.0 <0.28.0 || >=0.28.0 <0.29.0",
|
|
774
774
|
"@tangle-network/sandbox": ">=0.45.0 <0.48.0 || ^0.49.0 || ^0.50.0 || ^0.51.0 || ^0.52.0 || ^0.53.0 || ^0.54.0 || ^0.55.0 || >=0.58.1 <0.60.0 || >=0.60.3 <0.61.0",
|