@tangle-network/agent-app 0.60.0 → 0.60.2
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-SUIHWGQT.js → chunk-B6HZZ2Z3.js} +17 -2
- package/dist/chunk-B6HZZ2Z3.js.map +1 -0
- package/dist/profile/agent-prompt.d.ts +10 -0
- package/dist/profile/index.d.ts +6 -0
- package/dist/profile/index.js +23 -0
- package/dist/profile/index.js.map +1 -1
- package/dist/profile/prompt-placement.d.ts +23 -0
- package/dist/public-consultation/index.d.ts +1 -1
- package/dist/sandbox/diagnostics.d.ts +11 -0
- package/dist/sandbox/index.d.ts +1 -1
- package/dist/sandbox/index.js +3 -1
- package/package.json +1 -1
- package/dist/chunk-SUIHWGQT.js.map +0 -1
|
@@ -102,8 +102,8 @@ interface GatewayConsultationContext {
|
|
|
102
102
|
/** Compose gateway admission, scoped knowledge and the maintained persisted chat route. */
|
|
103
103
|
export declare function createPublicConsultation(options: PublicConsultationOptions): {
|
|
104
104
|
authorizeConsumer(agent: ConsultationAgent, consumer: ConsultationConsumer): Promise<{
|
|
105
|
-
allow: true;
|
|
106
105
|
reason?: undefined;
|
|
106
|
+
allow: true;
|
|
107
107
|
code?: undefined;
|
|
108
108
|
} | {
|
|
109
109
|
allow: false;
|
|
@@ -81,4 +81,15 @@ export declare function isSandboxHostCapacityFailure(diagnostics: SafeSandboxErr
|
|
|
81
81
|
* Matched on the specific unrecoverable phrasing, and only from `sandbox-api`.
|
|
82
82
|
*/
|
|
83
83
|
export declare function isSandboxBoxConfigFailure(diagnostics: SafeSandboxErrorDiagnostics): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* True when the Sandbox API answered a control-plane call with a server error
|
|
86
|
+
* (500, 502, 503 or 504), such as `A sandbox backend did not answer` or
|
|
87
|
+
* `Failed to resume project: fetch failed`. These clear within seconds, so a
|
|
88
|
+
* caller may retry once before surfacing them.
|
|
89
|
+
*
|
|
90
|
+
* Runtime routes are excluded (the box answers those), and so are the narrow
|
|
91
|
+
* failures that need a different action: a missing box, a box whose creation
|
|
92
|
+
* facts no longer hold, and host capacity.
|
|
93
|
+
*/
|
|
94
|
+
export declare function isSandboxApiTransientFailure(diagnostics: SafeSandboxErrorDiagnostics): boolean;
|
|
84
95
|
export declare function formatSandboxProvisioningUserMessage(diagnostics: SafeSandboxErrorDiagnostics): string;
|
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -447,7 +447,7 @@ export declare class SandboxEgressPolicyMismatchError extends Error {
|
|
|
447
447
|
constructor(stage: SandboxExistingBoxStage, boxName: string, currentPolicy: EgressPolicy, currentSource: SandboxEgressPolicySource, desiredPolicy: EgressPolicy);
|
|
448
448
|
}
|
|
449
449
|
export * from './recovery';
|
|
450
|
-
export { serializeSandboxProvisioningError, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, isSandboxAuthFailure, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, SANDBOX_BACKING_CONTAINER_MISSING_CODE, isSandboxHostCapacityFailure, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, } from './diagnostics';
|
|
450
|
+
export { serializeSandboxProvisioningError, formatSandboxProvisioningSupportDetails, formatSandboxProvisioningUserMessage, isSandboxAuthFailure, isSandboxApiBearerAuthFailure, isSandboxApiSandboxMissingFailure, isSandboxApiTransientFailure, SANDBOX_BACKING_CONTAINER_MISSING_CODE, isSandboxHostCapacityFailure, type SafeSandboxErrorCause, type SafeSandboxErrorDiagnostics, } from './diagnostics';
|
|
451
451
|
/** Represent an error thrown when sandbox runtime authentication refresh fails for a specific stage and name */
|
|
452
452
|
export declare class SandboxRuntimeAuthRefreshError extends Error {
|
|
453
453
|
constructor(stage: SandboxExistingBoxStage, name: string, detail: string, cause?: unknown);
|
package/dist/sandbox/index.js
CHANGED
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
isEgressProxyRecoveryRequiredError,
|
|
59
59
|
isSandboxApiBearerAuthFailure,
|
|
60
60
|
isSandboxApiSandboxMissingFailure,
|
|
61
|
+
isSandboxApiTransientFailure,
|
|
61
62
|
isSandboxAuthFailure,
|
|
62
63
|
isSandboxHostCapacityFailure,
|
|
63
64
|
isTerminalPromptEvent,
|
|
@@ -100,7 +101,7 @@ import {
|
|
|
100
101
|
workspaceSandboxRecoveryMessage,
|
|
101
102
|
workspaceSandboxRecoveryRecommendedActions,
|
|
102
103
|
writeProfileFilesToBox
|
|
103
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-B6HZZ2Z3.js";
|
|
104
105
|
import "../chunk-MCYJON3F.js";
|
|
105
106
|
import "../chunk-LWSJK546.js";
|
|
106
107
|
import "../chunk-ZYK3A2FR.js";
|
|
@@ -171,6 +172,7 @@ export {
|
|
|
171
172
|
isEgressProxyRecoveryRequiredError,
|
|
172
173
|
isSandboxApiBearerAuthFailure,
|
|
173
174
|
isSandboxApiSandboxMissingFailure,
|
|
175
|
+
isSandboxApiTransientFailure,
|
|
174
176
|
isSandboxAuthFailure,
|
|
175
177
|
isSandboxHostCapacityFailure,
|
|
176
178
|
isTerminalPromptEvent,
|
package/package.json
CHANGED