@tangle-network/agent-app 0.58.7 → 0.58.8

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.
@@ -22,6 +22,16 @@ export declare function serializeSandboxProvisioningError(error: unknown, option
22
22
  }): SafeSandboxErrorDiagnostics;
23
23
  export declare function formatSandboxProvisioningSupportDetails(diagnostics: SafeSandboxErrorDiagnostics): string;
24
24
  export declare function isSandboxAuthFailure(diagnostics: SafeSandboxErrorDiagnostics): boolean;
25
+ /**
26
+ * True when the Sandbox API refused the caller's bearer: a 401 from any
27
+ * Sandbox API route, including list and query routes such as
28
+ * `/v1/sandboxes?status=stopped`. The caller should invalidate its cached key
29
+ * and mint a new one once.
30
+ *
31
+ * Runtime routes (`/v1/sandboxes/{id}/runtime/...`) are excluded: the box's
32
+ * runtime authentication answers those, and a new Sandbox API key does not fix
33
+ * it. `isSandboxAuthFailure` covers them.
34
+ */
25
35
  export declare function isSandboxApiBearerAuthFailure(diagnostics: SafeSandboxErrorDiagnostics): boolean;
26
36
  /** Machine-readable code emitted when resume lost the physical box. */
27
37
  export declare const SANDBOX_BACKING_CONTAINER_MISSING_CODE: 'BACKING_CONTAINER_MISSING';
@@ -100,7 +100,7 @@ import {
100
100
  workspaceSandboxRecoveryMessage,
101
101
  workspaceSandboxRecoveryRecommendedActions,
102
102
  writeProfileFilesToBox
103
- } from "../chunk-K7MN4RPX.js";
103
+ } from "../chunk-CJW24QMJ.js";
104
104
  import "../chunk-MCYJON3F.js";
105
105
  import "../chunk-LWSJK546.js";
106
106
  import "../chunk-W5VBZTNN.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.58.7",
3
+ "version": "0.58.8",
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": [