@tangle-network/agent-app 0.46.19 → 0.46.20

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.
@@ -23,7 +23,13 @@ export declare function serializeSandboxProvisioningError(error: unknown, option
23
23
  export declare function formatSandboxProvisioningSupportDetails(diagnostics: SafeSandboxErrorDiagnostics): string;
24
24
  export declare function isSandboxAuthFailure(diagnostics: SafeSandboxErrorDiagnostics): boolean;
25
25
  export declare function isSandboxApiBearerAuthFailure(diagnostics: SafeSandboxErrorDiagnostics): boolean;
26
- export declare function isSandboxBackingContainerMissingMessage(message: string): boolean;
26
+ /** Machine-readable code emitted when resume lost the physical box. */
27
+ export declare const SANDBOX_BACKING_CONTAINER_MISSING_CODE: 'BACKING_CONTAINER_MISSING';
28
+ /**
29
+ * Legacy fallback for Sandbox API releases that only returned the nested host
30
+ * 404 text. New callers must use `SANDBOX_BACKING_CONTAINER_MISSING_CODE`.
31
+ */
32
+ export declare function isLegacySandboxBackingContainerMissingMessage(message: string): boolean;
27
33
  /**
28
34
  * True when the sandbox API cannot find a sandbox resource or its backing
29
35
  * container. The latter arrives as a 500 from resume with a nested host 404.
@@ -445,7 +445,7 @@ export declare class SandboxEgressPolicyMismatchError extends Error {
445
445
  constructor(stage: SandboxExistingBoxStage, boxName: string, currentPolicy: EgressPolicy, currentSource: SandboxEgressPolicySource, desiredPolicy: EgressPolicy);
446
446
  }
447
447
  export * from './recovery';
448
- export { serializeSandboxProvisioningError, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, isSandboxAuthFailure, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, isSandboxHostCapacityFailure, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, } from './diagnostics';
448
+ export { serializeSandboxProvisioningError, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, isSandboxAuthFailure, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, SANDBOX_BACKING_CONTAINER_MISSING_CODE, isSandboxHostCapacityFailure, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, } from './diagnostics';
449
449
  /** Represent an error thrown when sandbox runtime authentication refresh fails for a specific stage and name */
450
450
  export declare class SandboxRuntimeAuthRefreshError extends Error {
451
451
  constructor(stage: SandboxExistingBoxStage, name: string, detail: string, cause?: unknown);
@@ -10,6 +10,7 @@ import {
10
10
  PREWARM_CLAIM_TABLE_DDL,
11
11
  PROVISION_PAYLOAD_MAX_BYTES,
12
12
  PYPI_EGRESS_DOMAINS,
13
+ SANDBOX_BACKING_CONTAINER_MISSING_CODE,
13
14
  SandboxEgressPolicyMismatchError,
14
15
  SandboxModelResolutionError,
15
16
  SandboxRecoveryFailedError,
@@ -91,7 +92,7 @@ import {
91
92
  workspaceSandboxRecoveryMessage,
92
93
  workspaceSandboxRecoveryRecommendedActions,
93
94
  writeProfileFilesToBox
94
- } from "../chunk-HDQWY5AY.js";
95
+ } from "../chunk-G6A4BEZI.js";
95
96
  import "../chunk-TH7L265V.js";
96
97
  import "../chunk-LWSJK546.js";
97
98
  import "../chunk-P5PIAQVS.js";
@@ -112,6 +113,7 @@ export {
112
113
  PREWARM_CLAIM_TABLE_DDL,
113
114
  PROVISION_PAYLOAD_MAX_BYTES,
114
115
  PYPI_EGRESS_DOMAINS,
116
+ SANDBOX_BACKING_CONTAINER_MISSING_CODE,
115
117
  SandboxEgressPolicyMismatchError,
116
118
  SandboxModelResolutionError,
117
119
  SandboxRecoveryFailedError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.46.19",
3
+ "version": "0.46.20",
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": [