@tangle-network/agent-app 0.46.17 → 0.46.18
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
|
@@ -102,6 +102,10 @@ export interface StoppedSandboxResumeFailure {
|
|
|
102
102
|
scope: SandboxScope;
|
|
103
103
|
boxKey: string;
|
|
104
104
|
}
|
|
105
|
+
/** Describe a sandbox that disappeared after the platform listed it. */
|
|
106
|
+
export interface MissingSandboxFailure extends StoppedSandboxResumeFailure {
|
|
107
|
+
stage: SandboxExistingBoxStage;
|
|
108
|
+
}
|
|
105
109
|
/** Define the structure for resuming a stopped sandbox with replacement key and optional restore options */
|
|
106
110
|
export interface StoppedSandboxResumeRecovery {
|
|
107
111
|
replacementBoxKey: string;
|
|
@@ -218,6 +222,14 @@ export interface SandboxRuntimeConfig {
|
|
|
218
222
|
provisionTimeoutMs?: number;
|
|
219
223
|
replaceUnbringableBox?: boolean;
|
|
220
224
|
recoverStoppedSandbox?: (failure: StoppedSandboxResumeFailure) => Promise<Outcome<StoppedSandboxResumeRecovery | null>>;
|
|
225
|
+
/**
|
|
226
|
+
* Replace a sandbox that disappears after the platform lists it.
|
|
227
|
+
*
|
|
228
|
+
* The shell calls this only for a sandbox API 404. It does not call this for
|
|
229
|
+
* a runtime 404 or another reuse failure. Return a fresh key to create a
|
|
230
|
+
* replacement without deleting the already-missing sandbox.
|
|
231
|
+
*/
|
|
232
|
+
recoverMissingSandbox?: (failure: MissingSandboxFailure) => Promise<Outcome<StoppedSandboxResumeRecovery | null>>;
|
|
221
233
|
backendModelAtCreate?: boolean;
|
|
222
234
|
deferProfileFiles?: boolean;
|
|
223
235
|
promptBudget?: ComposeProfileBudget;
|
package/dist/sandbox/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
workspaceSandboxRecoveryMessage,
|
|
92
92
|
workspaceSandboxRecoveryRecommendedActions,
|
|
93
93
|
writeProfileFilesToBox
|
|
94
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-47LN6Q2U.js";
|
|
95
95
|
import "../chunk-TH7L265V.js";
|
|
96
96
|
import "../chunk-LWSJK546.js";
|
|
97
97
|
import "../chunk-P5PIAQVS.js";
|
package/package.json
CHANGED