@tangle-network/agent-app 0.60.41 → 0.60.43
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 +1 -1
- package/dist/{chunk-E7CDDDFW.js → chunk-WMCROSA4.js} +10 -1
- package/dist/chunk-WMCROSA4.js.map +1 -0
- package/dist/hub-approvals-react/index.js +95 -95
- package/dist/hub-approvals-react/index.js.map +1 -1
- package/dist/sandbox/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-E7CDDDFW.js.map +0 -1
|
@@ -1378,12 +1378,21 @@ function stoppedBoxResumeError(box, cause) {
|
|
|
1378
1378
|
});
|
|
1379
1379
|
}
|
|
1380
1380
|
async function resumeStoppedBox(box, timeoutMs, runtimeEnv, onProgress) {
|
|
1381
|
+
const report = (status, message) => {
|
|
1382
|
+
try {
|
|
1383
|
+
onProgress?.({ step: "container-start", status, message, timestamp: (/* @__PURE__ */ new Date()).toISOString() });
|
|
1384
|
+
} catch {
|
|
1385
|
+
}
|
|
1386
|
+
};
|
|
1381
1387
|
try {
|
|
1382
1388
|
livenessVerifiedAt.delete(box.id);
|
|
1389
|
+
report("started", "Resuming the stopped sandbox");
|
|
1383
1390
|
await resumeWithRequiredRuntimeEnv(box, timeoutMs, runtimeEnv);
|
|
1384
1391
|
await box.waitFor("running", { timeoutMs, ...onProgress ? { onProgress } : {} });
|
|
1392
|
+
report("completed", "The stopped sandbox is running again");
|
|
1385
1393
|
return ok(box);
|
|
1386
1394
|
} catch (cause) {
|
|
1395
|
+
report("error", "The stopped sandbox could not be resumed");
|
|
1387
1396
|
return fail(stoppedBoxResumeError(box, cause));
|
|
1388
1397
|
}
|
|
1389
1398
|
}
|
|
@@ -2504,4 +2513,4 @@ export {
|
|
|
2504
2513
|
isTerminalPromptEvent,
|
|
2505
2514
|
detectInteractiveQuestion
|
|
2506
2515
|
};
|
|
2507
|
-
//# sourceMappingURL=chunk-
|
|
2516
|
+
//# sourceMappingURL=chunk-WMCROSA4.js.map
|