@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.
@@ -10,7 +10,7 @@ import {
10
10
  SandboxTransientDeadlineError,
11
11
  classifySandboxTransientFailure,
12
12
  sandboxTransientBackoffMs
13
- } from "../chunk-4LBCTFBP.js";
13
+ } from "../chunk-4MD5PS4F.js";
14
14
  import {
15
15
  parseRenderUiSchema
16
16
  } from "../chunk-XEAZWJ3W.js";
@@ -101,7 +101,7 @@ import {
101
101
  warmKey,
102
102
  warmReceiptId,
103
103
  warmWeekdayOf
104
- } from "../chunk-TCJ4TMOW.js";
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-4LBCTFBP.js";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.62.0",
3
+ "version": "0.62.1",
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": [