@tangle-network/agent-app 0.62.0 → 0.62.1
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/chat-routes/index.js +2 -2
- package/dist/{chunk-4LBCTFBP.js → chunk-4MD5PS4F.js} +5 -1
- package/dist/{chunk-4LBCTFBP.js.map → chunk-4MD5PS4F.js.map} +1 -1
- package/dist/{chunk-TCJ4TMOW.js → chunk-MVKMDROU.js} +12 -16
- package/dist/{chunk-TCJ4TMOW.js.map → chunk-MVKMDROU.js.map} +1 -1
- package/dist/preset-cloudflare/index.js +1 -1
- package/dist/sandbox/index.js +4 -2
- package/dist/sandbox/transient-failure.d.ts +2 -0
- package/package.json +1 -1
package/dist/sandbox/index.js
CHANGED
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
warmKey,
|
|
102
102
|
warmReceiptId,
|
|
103
103
|
warmWeekdayOf
|
|
104
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-MVKMDROU.js";
|
|
105
105
|
import {
|
|
106
106
|
createWarmCache
|
|
107
107
|
} from "../chunk-F4TUZYMX.js";
|
|
@@ -133,6 +133,7 @@ import {
|
|
|
133
133
|
isWorkspaceSandboxRecoveryCode,
|
|
134
134
|
isWorkspaceSandboxRecoveryState,
|
|
135
135
|
isWorkspaceSandboxSnapshotRestoreError,
|
|
136
|
+
plannedHostRestart,
|
|
136
137
|
preferredWorkspaceSandboxRecoveryBoxKey,
|
|
137
138
|
retrySandboxTransient,
|
|
138
139
|
sandboxTransientBackoffMs,
|
|
@@ -142,7 +143,7 @@ import {
|
|
|
142
143
|
workspaceSandboxRecoveryFromError,
|
|
143
144
|
workspaceSandboxRecoveryMessage,
|
|
144
145
|
workspaceSandboxRecoveryRecommendedActions
|
|
145
|
-
} from "../chunk-
|
|
146
|
+
} from "../chunk-4MD5PS4F.js";
|
|
146
147
|
import "../chunk-DSMGS4IV.js";
|
|
147
148
|
import "../chunk-5BJHKQ33.js";
|
|
148
149
|
import "../chunk-6A7MYOUI.js";
|
|
@@ -267,6 +268,7 @@ export {
|
|
|
267
268
|
mergeHistoryIntoParts,
|
|
268
269
|
mintSandboxScopedToken,
|
|
269
270
|
peekWorkspaceSandbox,
|
|
271
|
+
plannedHostRestart,
|
|
270
272
|
predictColdArrival,
|
|
271
273
|
preferredWorkspaceSandboxRecoveryBoxKey,
|
|
272
274
|
readSandboxBinaryBytes,
|
|
@@ -13,6 +13,8 @@ export interface SandboxTransientFailure {
|
|
|
13
13
|
export declare const SANDBOX_TRANSIENT_DEADLINE_MS: number;
|
|
14
14
|
/** Wait before retry `attempt` (1-based): 5 s doubling to a 60 s ceiling. */
|
|
15
15
|
export declare function sandboxTransientBackoffMs(attempt: number): number;
|
|
16
|
+
/** A planned host-agent swap leaves the sandbox alive; an ordinary probe failure is not that evidence. */
|
|
17
|
+
export declare function plannedHostRestart(error: unknown): boolean;
|
|
16
18
|
/** The typed transient failure `error` carries anywhere in its cause chain, or null. */
|
|
17
19
|
export declare function classifySandboxTransientFailure(error: unknown): SandboxTransientFailure | null;
|
|
18
20
|
/** The error a caller raises when a transient failure outlasted the deadline. */
|
package/package.json
CHANGED