/** * Typed error hierarchy. We fail loudly: boundaries add context, preserve the * original cause, and never swallow-and-continue. */ export declare class ClaudexorError extends Error { constructor(message: string, options?: { cause?: unknown; }); } export declare class HarnessUnavailableError extends ClaudexorError { } export declare class ContextOverflowError extends ClaudexorError { } export declare class WorkspaceError extends ClaudexorError { } /** * A known pre-start condition prevents construction of the Claudexor * delegation belt descriptor. Agent start may catch this exact typed error and * continue without Delegate while recording the durable degradation receipt; * errors after descriptor injection remain hard failures. */ export declare class DelegationBeltUnavailableError extends ClaudexorError { readonly code = "delegation_belt_unavailable"; readonly status = 503; } /** * A run marked `execution.delegated` could not be assigned its scoped harness * HOME. The attempt refuses instead of degrading onto the operator's real home. */ export declare class DelegatedHomeUnavailableError extends ClaudexorError { readonly code = "delegated_home_unavailable"; readonly category: "internal"; } /** A terminal mutating delegated run whose attempts do not all carry complete * applied HOME/access/profile/boundary-disclosure facts. */ export declare class DelegatedEvidenceIncompleteError extends ClaudexorError { readonly code = "delegated_evidence_incomplete"; readonly category: "internal"; } /** A requested access mode cannot be represented by the selected native adapter. */ export declare class AccessProfileIncompatibleError extends ClaudexorError { readonly code = "access_profile_incompatible"; readonly category: "harness_unavailable"; readonly status = 400; readonly retryable = false; readonly requiredActions: string[]; } //# sourceMappingURL=errors.d.ts.map