@haven_ai/sdk 0.0.0-dev.202609251338.80a72cc → 0.0.0-dev.202609251409.98ed67a

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.
@@ -30,6 +30,14 @@ interface HavenClientConfig {
30
30
  * standard HTTP and never carry Haven-internal headers.
31
31
  */
32
32
  defaultHeaders?: Record<string, string>;
33
+ /**
34
+ * `<package>/<version>` naming the published package that embeds this
35
+ * client, sent on every Haven API request as `X-Haven-Client` (#3303) so the
36
+ * backend can tell an outdated client what to run. Defaults to
37
+ * `@haven_ai/sdk/<this SDK's version>`. It cannot be set through
38
+ * `defaultHeaders` — the transport writes it last.
39
+ */
40
+ clientIdentity?: string;
33
41
  /**
34
42
  * JSON-RPC RPC URLs keyed by EIP-155 chain ID.
35
43
  *
@@ -1768,6 +1776,48 @@ declare function buildSweepTypedData(auth: SweepAuthorization): SweepTypedData;
1768
1776
  */
1769
1777
  declare function buildSweepAuthorizationMessage(auth: SweepAuthorization): string;
1770
1778
 
1779
+ /**
1780
+ * Client identity on Haven API requests (#3303, epic #3302).
1781
+ *
1782
+ * Every published Haven client names itself with one header,
1783
+ * `X-Haven-Client: <package>/<version>`, so the backend can tell an outdated
1784
+ * client what to run — a `client_update` hint on its responses, or, only below
1785
+ * a minimum the deployment has explicitly set, a 426 `client_outdated` refusal
1786
+ * at the payment-initiating routes (the signer: at sign-context). The backend's
1787
+ * table and decision live in `@haven_ai/core`'s `client-compat.ts`; this module
1788
+ * is the client half and deliberately holds no thresholds.
1789
+ *
1790
+ * Deliberately free of any other SDK import so `@haven_ai/sdk/edge` (the
1791
+ * signer's ethers-free entry) can re-export it.
1792
+ */
1793
+ /**
1794
+ * This SDK's own version. Owned by `scripts/release-bump.mjs`, which rewrites
1795
+ * it with the package version on every release — never hand-edit it.
1796
+ */
1797
+ declare const SDK_VERSION = "0.0.0-dev.202609251409.98ed67a";
1798
+ /** The request header every published Haven client sends. */
1799
+ declare const HAVEN_CLIENT_HEADER = "X-Haven-Client";
1800
+ /** `<package>/<version>` — the value of {@link HAVEN_CLIENT_HEADER}. */
1801
+ declare function havenClientIdentity(pkg: string, version: string): string;
1802
+ /** What a bare SDK embedder sends when it names no package of its own. */
1803
+ declare const SDK_CLIENT_IDENTITY: string;
1804
+ /**
1805
+ * The `client_update` object the backend attaches to a response when this
1806
+ * client is behind (`required: false`) or below a set minimum
1807
+ * (`required: true`). Every field is the backend's; the SDK never computes one.
1808
+ */
1809
+ interface HavenClientUpdate {
1810
+ package: string;
1811
+ current: string;
1812
+ recommended: string | null;
1813
+ min_version: string | null;
1814
+ required: boolean;
1815
+ upgrade_command: string;
1816
+ notes_url: string | null;
1817
+ }
1818
+ /** Narrow an unknown response field to a {@link HavenClientUpdate}, or undefined. */
1819
+ declare function readClientUpdate(value: unknown): HavenClientUpdate | undefined;
1820
+
1771
1821
  /**
1772
1822
  * #3101 (epic #3105, slice 2/5): the typed next-step builder.
1773
1823
  *
@@ -2678,4 +2728,4 @@ declare function encodeBase64Json(value: unknown): string;
2678
2728
  */
2679
2729
  declare function decodeBase64Json<T>(value: string, label?: string): T;
2680
2730
 
2681
- export { type AgentPaymentSummary as $, type AgentPaymentWarning as A, type X402McpTransport as B, type X402MerchantCallContext as C, HavenError as D, AGENT_PAYMENT_FAILURE_CODE_VALUES as E, AGENT_PAYMENT_NEXT_ACTION_VALUES as F, AGENT_PAYMENT_PHASE_VALUES as G, type HavenClientConfig as H, AGENT_PAYMENT_RAIL_VALUES as I, type AgentNextStep as J, type AgentPaymentEnumSchema as K, AgentPaymentFailureCode as L, AgentPaymentFailureCodeDescriptions as M, AgentPaymentFailureCodeSchema as N, AgentPaymentNextAction as O, type PaymentRequest as P, AgentPaymentNextActionDescriptions as Q, type RawPaymentParties as R, type SweepResult as S, AgentPaymentNextActionSchema as T, AgentPaymentPhase as U, AgentPaymentPhaseDescriptions as V, AgentPaymentPhaseSchema as W, type X402PaymentRequired as X, AgentPaymentRail as Y, AgentPaymentRailDescriptions as Z, AgentPaymentRailSchema as _, type PaymentResult as a, type X402PaymentHeaderContext as a$, AgentPaymentWarningCode as a0, type AgentPurchaseSummary as a1, CONNECTOR_PACKAGE_NAME as a2, type CatalogSubmissionAccepted as a3, DEFAULT_CONFIRMATION_TIMEOUT_MS as a4, DEFAULT_NEXT_TOOL_BY_ACTION as a5, DIRECT_SIGN_CONTEXT_VERSION as a6, ENTRY_POINT_V07 as a7, ERC7710_ASSET_TRANSFER_METHOD as a8, HAVEN_CONNECTOR_CHANNEL as a9, type NextToolServerRole as aA, PACKED_USER_OPERATION_FIELDS as aB, type PaymentFee as aC, type PaymentNextAction as aD, type PaymentPhase as aE, type PaymentStatus as aF, ROOT_AUTHORITY as aG, SIGNER_UPDATE_FALLBACK as aH, SWEEP_BASE_CHAIN_ID as aI, SWEEP_BASE_SEPOLIA_CHAIN_ID as aJ, SWEEP_BASE_SEPOLIA_USDC_ADDRESS as aK, SWEEP_BASE_USDC_ADDRESS as aL, type SettlementChildExpectation as aM, SignerRefusalCode as aN, type SweepConfirmation as aO, type SweepEip712Domain as aP, type SweepEntry as aQ, type SweepExpectedAuth as aR, type SweepPreparation as aS, type SweepSubmitResult as aT, type SweepTypedData as aU, TRANSFER_WITH_AUTHORIZATION_TYPES as aV, TYPED_DATA_NOT_ALLOWED as aW, type UnsupportedNodeVersionMessageOptions as aX, X402AlreadySettledError as aY, type X402ExpectedAuth as aZ, type X402ExpectedContext as a_, HAVEN_MINIMUM_NODE_VERSION as aa, HYBRID_DELEGATOR_DOMAIN_NAME as ab, HYBRID_DELEGATOR_DOMAIN_VERSION as ac, type HavenAgentAllowanceSummary as ad, type HavenAgentReadiness as ae, type HavenAllowance as af, HavenApiError as ag, type HavenCatalogMerchant as ah, type HavenListScope as ai, HavenPaymentStateError as aj, HavenSigningError as ak, HavenTimeoutError as al, HavenTypedDataRefusedError as am, HavenUnsupportedSignerVersionError as an, HavenUserOpBindingError as ao, HavenZeroSettlementHashError as ap, type MachinePaymentRail as aq, MerchantTimeoutError as ar, NEXT_TOOL_SERVER_NAMES as as, NEXT_TOOL_SERVER_ROLES as at, type NextStep as au, type NextStepArguments as av, type NextStepHandoff as aw, type NextStepInput as ax, type NextStepTarget as ay, type NextStepTargets as az, type PaymentIntent as b, type SettlementChildTypedData as b$, X402PaymentHeaderValidationError as b0, type X402PaymentOption as b1, type X402RequestSnapshot as b2, type X402SchemeSelection as b3, X402UnexpectedStatusError as b4, X402_LEGACY_PAYMENT_HEADER_NAME as b5, X402_MAX_AUTHORIZATION_WINDOW_SECONDS as b6, X402_PAYMENT_HEADER_NAME as b7, X402_PAYMENT_HEADER_NAMES_SENT as b8, X402_PAYMENT_REQUIRED_HEADER_NAME as b9, parsePaymentRequired as bA, parsePaymentRequiredResponse as bB, renderNextTool as bC, resolveConnectorChannel as bD, resolveTokenFromAddress as bE, selectErc7710PaymentOption as bF, selectPaymentOption as bG, selectStandardPaymentOption as bH, selectX402SettlementScheme as bI, signerUpdateFallback as bJ, sweepUsdcAddress as bK, sweepUsdcDomain as bL, toStandardPaymentRequirements as bM, unsupportedNodeVersionMessage as bN, validateStandardX402PaymentHeader as bO, verifySettlementChild as bP, x402AssetTransferMethod as bQ, x402AuthorizationAmount as bR, x402FacilitatorAddresses as bS, x402V2PaymentEnvelope as bT, CAVEAT_ENFORCERS as bU, DELEGATION_MANAGER as bV, DIRECT_PAYMENT_CHAIN_IDS as bW, EXECUTE_ABI as bX, HYBRID_DELEGATOR_IMPLEMENTATION as bY, MAX_SETTLEMENT_WINDOW_SECONDS as bZ, SIMPLE_FACTORY_ADDRESS as b_, X402_PAYMENT_RESPONSE_HEADER_NAME as ba, X402_SETTLEMENT_FORWARD_MARGIN_SECONDS as bb, assertBoundDirectPaymentUserOp as bc, assertUserOpTypedDataBinding as bd, buildSweepAuthorizationMessage as be, buildSweepTypedData as bf, buildX402ExpectedMessage as bg, compareNodeVersions as bh, connectorRerunCommand as bi, connectorSpec as bj, createNextStepBuilder as bk, decodeBase64Json as bl, decodeBase64Utf8 as bm, defaultNextToolFor as bn, deriveDelegateAccountAddress as bo, encodeBase64Json as bp, encodeBase64Utf8 as bq, encodePaymentProof as br, isConnectorChannel as bs, isErc7710Option as bt, isPackedUserOperationTypedData as bu, isSupportedNodeVersion as bv, isSweepableChain as bw, normalizePaymentRequired as bx, packedUserOperationHash as by, parseNextTool as bz, type X402AuthorizationOptions as c, assertFundingLegPaysDelegate as c0, assertOwnSettlementChild as c1, chainIdForNetwork as c2, isSettlementChildTypedData as c3, type X402Intent as d, type PaymentStatusResult as e, type HavenAgent as f, type HavenAgentSummary as g, type SweepPrepareResponse as h, type SweepAuthorization as i, type SweepSubmitResponse as j, type HavenAllowanceSummary as k, type HavenBalanceCoverage as l, type PostPurchaseAllowanceSummary as m, type HavenCatalogEntry as n, type HavenCatalogSubmission as o, type HavenPaymentReceipt as p, type HavenPaymentReceiptsPage as q, type PaymentResumeState as r, type X402Receipt as s, type X402Quote as t, type X402Erc7710Settlement as u, type X402McpCallContext as v, type SignData as w, type ResumeAuthorizedX402Input as x, type ResumeX402PaymentInput as y, type X402ResumeState as z };
2731
+ export { AgentPaymentRailSchema as $, type AgentPaymentWarning as A, type X402ResumeState as B, type X402McpTransport as C, type X402MerchantCallContext as D, HavenError as E, AGENT_PAYMENT_FAILURE_CODE_VALUES as F, AGENT_PAYMENT_NEXT_ACTION_VALUES as G, type HavenClientConfig as H, AGENT_PAYMENT_PHASE_VALUES as I, AGENT_PAYMENT_RAIL_VALUES as J, type AgentNextStep as K, type AgentPaymentEnumSchema as L, AgentPaymentFailureCode as M, AgentPaymentFailureCodeDescriptions as N, AgentPaymentFailureCodeSchema as O, type PaymentRequest as P, AgentPaymentNextAction as Q, type RawPaymentParties as R, type SweepResult as S, AgentPaymentNextActionDescriptions as T, AgentPaymentNextActionSchema as U, AgentPaymentPhase as V, AgentPaymentPhaseDescriptions as W, type X402PaymentRequired as X, AgentPaymentPhaseSchema as Y, AgentPaymentRail as Z, AgentPaymentRailDescriptions as _, type HavenClientUpdate as a, type UnsupportedNodeVersionMessageOptions as a$, type AgentPaymentSummary as a0, AgentPaymentWarningCode as a1, type AgentPurchaseSummary as a2, CONNECTOR_PACKAGE_NAME as a3, type CatalogSubmissionAccepted as a4, DEFAULT_CONFIRMATION_TIMEOUT_MS as a5, DEFAULT_NEXT_TOOL_BY_ACTION as a6, DIRECT_SIGN_CONTEXT_VERSION as a7, ENTRY_POINT_V07 as a8, ERC7710_ASSET_TRANSFER_METHOD as a9, type NextStepTarget as aA, type NextStepTargets as aB, type NextToolServerRole as aC, PACKED_USER_OPERATION_FIELDS as aD, type PaymentFee as aE, type PaymentNextAction as aF, type PaymentPhase as aG, type PaymentStatus as aH, ROOT_AUTHORITY as aI, SDK_CLIENT_IDENTITY as aJ, SDK_VERSION as aK, SIGNER_UPDATE_FALLBACK as aL, SWEEP_BASE_CHAIN_ID as aM, SWEEP_BASE_SEPOLIA_CHAIN_ID as aN, SWEEP_BASE_SEPOLIA_USDC_ADDRESS as aO, SWEEP_BASE_USDC_ADDRESS as aP, type SettlementChildExpectation as aQ, SignerRefusalCode as aR, type SweepConfirmation as aS, type SweepEip712Domain as aT, type SweepEntry as aU, type SweepExpectedAuth as aV, type SweepPreparation as aW, type SweepSubmitResult as aX, type SweepTypedData as aY, TRANSFER_WITH_AUTHORIZATION_TYPES as aZ, TYPED_DATA_NOT_ALLOWED as a_, HAVEN_CLIENT_HEADER as aa, HAVEN_CONNECTOR_CHANNEL as ab, HAVEN_MINIMUM_NODE_VERSION as ac, HYBRID_DELEGATOR_DOMAIN_NAME as ad, HYBRID_DELEGATOR_DOMAIN_VERSION as ae, type HavenAgentAllowanceSummary as af, type HavenAgentReadiness as ag, type HavenAllowance as ah, HavenApiError as ai, type HavenCatalogMerchant as aj, type HavenListScope as ak, HavenPaymentStateError as al, HavenSigningError as am, HavenTimeoutError as an, HavenTypedDataRefusedError as ao, HavenUnsupportedSignerVersionError as ap, HavenUserOpBindingError as aq, HavenZeroSettlementHashError as ar, type MachinePaymentRail as as, MerchantTimeoutError as at, NEXT_TOOL_SERVER_NAMES as au, NEXT_TOOL_SERVER_ROLES as av, type NextStep as aw, type NextStepArguments as ax, type NextStepHandoff as ay, type NextStepInput as az, type PaymentResult as b, DELEGATION_MANAGER as b$, X402AlreadySettledError as b0, type X402ExpectedAuth as b1, type X402ExpectedContext as b2, type X402PaymentHeaderContext as b3, X402PaymentHeaderValidationError as b4, type X402PaymentOption as b5, type X402RequestSnapshot as b6, type X402SchemeSelection as b7, X402UnexpectedStatusError as b8, X402_LEGACY_PAYMENT_HEADER_NAME as b9, isSupportedNodeVersion as bA, isSweepableChain as bB, normalizePaymentRequired as bC, packedUserOperationHash as bD, parseNextTool as bE, parsePaymentRequired as bF, parsePaymentRequiredResponse as bG, readClientUpdate as bH, renderNextTool as bI, resolveConnectorChannel as bJ, resolveTokenFromAddress as bK, selectErc7710PaymentOption as bL, selectPaymentOption as bM, selectStandardPaymentOption as bN, selectX402SettlementScheme as bO, signerUpdateFallback as bP, sweepUsdcAddress as bQ, sweepUsdcDomain as bR, toStandardPaymentRequirements as bS, unsupportedNodeVersionMessage as bT, validateStandardX402PaymentHeader as bU, verifySettlementChild as bV, x402AssetTransferMethod as bW, x402AuthorizationAmount as bX, x402FacilitatorAddresses as bY, x402V2PaymentEnvelope as bZ, CAVEAT_ENFORCERS as b_, X402_MAX_AUTHORIZATION_WINDOW_SECONDS as ba, X402_PAYMENT_HEADER_NAME as bb, X402_PAYMENT_HEADER_NAMES_SENT as bc, X402_PAYMENT_REQUIRED_HEADER_NAME as bd, X402_PAYMENT_RESPONSE_HEADER_NAME as be, X402_SETTLEMENT_FORWARD_MARGIN_SECONDS as bf, assertBoundDirectPaymentUserOp as bg, assertUserOpTypedDataBinding as bh, buildSweepAuthorizationMessage as bi, buildSweepTypedData as bj, buildX402ExpectedMessage as bk, compareNodeVersions as bl, connectorRerunCommand as bm, connectorSpec as bn, createNextStepBuilder as bo, decodeBase64Json as bp, decodeBase64Utf8 as bq, defaultNextToolFor as br, deriveDelegateAccountAddress as bs, encodeBase64Json as bt, encodeBase64Utf8 as bu, encodePaymentProof as bv, havenClientIdentity as bw, isConnectorChannel as bx, isErc7710Option as by, isPackedUserOperationTypedData as bz, type PaymentIntent as c, DIRECT_PAYMENT_CHAIN_IDS as c0, EXECUTE_ABI as c1, HYBRID_DELEGATOR_IMPLEMENTATION as c2, MAX_SETTLEMENT_WINDOW_SECONDS as c3, SIMPLE_FACTORY_ADDRESS as c4, type SettlementChildTypedData as c5, assertFundingLegPaysDelegate as c6, assertOwnSettlementChild as c7, chainIdForNetwork as c8, isSettlementChildTypedData as c9, type X402AuthorizationOptions as d, type X402Intent as e, type PaymentStatusResult as f, type HavenAgent as g, type HavenAgentSummary as h, type SweepPrepareResponse as i, type SweepAuthorization as j, type SweepSubmitResponse as k, type HavenAllowanceSummary as l, type HavenBalanceCoverage as m, type PostPurchaseAllowanceSummary as n, type HavenCatalogEntry as o, type HavenCatalogSubmission as p, type HavenPaymentReceipt as q, type HavenPaymentReceiptsPage as r, type PaymentResumeState as s, type X402Receipt as t, type X402Quote as u, type X402Erc7710Settlement as v, type X402McpCallContext as w, type SignData as x, type ResumeAuthorizedX402Input as y, type ResumeX402PaymentInput as z };
@@ -30,6 +30,14 @@ interface HavenClientConfig {
30
30
  * standard HTTP and never carry Haven-internal headers.
31
31
  */
32
32
  defaultHeaders?: Record<string, string>;
33
+ /**
34
+ * `<package>/<version>` naming the published package that embeds this
35
+ * client, sent on every Haven API request as `X-Haven-Client` (#3303) so the
36
+ * backend can tell an outdated client what to run. Defaults to
37
+ * `@haven_ai/sdk/<this SDK's version>`. It cannot be set through
38
+ * `defaultHeaders` — the transport writes it last.
39
+ */
40
+ clientIdentity?: string;
33
41
  /**
34
42
  * JSON-RPC RPC URLs keyed by EIP-155 chain ID.
35
43
  *
@@ -1768,6 +1776,48 @@ declare function buildSweepTypedData(auth: SweepAuthorization): SweepTypedData;
1768
1776
  */
1769
1777
  declare function buildSweepAuthorizationMessage(auth: SweepAuthorization): string;
1770
1778
 
1779
+ /**
1780
+ * Client identity on Haven API requests (#3303, epic #3302).
1781
+ *
1782
+ * Every published Haven client names itself with one header,
1783
+ * `X-Haven-Client: <package>/<version>`, so the backend can tell an outdated
1784
+ * client what to run — a `client_update` hint on its responses, or, only below
1785
+ * a minimum the deployment has explicitly set, a 426 `client_outdated` refusal
1786
+ * at the payment-initiating routes (the signer: at sign-context). The backend's
1787
+ * table and decision live in `@haven_ai/core`'s `client-compat.ts`; this module
1788
+ * is the client half and deliberately holds no thresholds.
1789
+ *
1790
+ * Deliberately free of any other SDK import so `@haven_ai/sdk/edge` (the
1791
+ * signer's ethers-free entry) can re-export it.
1792
+ */
1793
+ /**
1794
+ * This SDK's own version. Owned by `scripts/release-bump.mjs`, which rewrites
1795
+ * it with the package version on every release — never hand-edit it.
1796
+ */
1797
+ declare const SDK_VERSION = "0.0.0-dev.202609251409.98ed67a";
1798
+ /** The request header every published Haven client sends. */
1799
+ declare const HAVEN_CLIENT_HEADER = "X-Haven-Client";
1800
+ /** `<package>/<version>` — the value of {@link HAVEN_CLIENT_HEADER}. */
1801
+ declare function havenClientIdentity(pkg: string, version: string): string;
1802
+ /** What a bare SDK embedder sends when it names no package of its own. */
1803
+ declare const SDK_CLIENT_IDENTITY: string;
1804
+ /**
1805
+ * The `client_update` object the backend attaches to a response when this
1806
+ * client is behind (`required: false`) or below a set minimum
1807
+ * (`required: true`). Every field is the backend's; the SDK never computes one.
1808
+ */
1809
+ interface HavenClientUpdate {
1810
+ package: string;
1811
+ current: string;
1812
+ recommended: string | null;
1813
+ min_version: string | null;
1814
+ required: boolean;
1815
+ upgrade_command: string;
1816
+ notes_url: string | null;
1817
+ }
1818
+ /** Narrow an unknown response field to a {@link HavenClientUpdate}, or undefined. */
1819
+ declare function readClientUpdate(value: unknown): HavenClientUpdate | undefined;
1820
+
1771
1821
  /**
1772
1822
  * #3101 (epic #3105, slice 2/5): the typed next-step builder.
1773
1823
  *
@@ -2678,4 +2728,4 @@ declare function encodeBase64Json(value: unknown): string;
2678
2728
  */
2679
2729
  declare function decodeBase64Json<T>(value: string, label?: string): T;
2680
2730
 
2681
- export { type AgentPaymentSummary as $, type AgentPaymentWarning as A, type X402McpTransport as B, type X402MerchantCallContext as C, HavenError as D, AGENT_PAYMENT_FAILURE_CODE_VALUES as E, AGENT_PAYMENT_NEXT_ACTION_VALUES as F, AGENT_PAYMENT_PHASE_VALUES as G, type HavenClientConfig as H, AGENT_PAYMENT_RAIL_VALUES as I, type AgentNextStep as J, type AgentPaymentEnumSchema as K, AgentPaymentFailureCode as L, AgentPaymentFailureCodeDescriptions as M, AgentPaymentFailureCodeSchema as N, AgentPaymentNextAction as O, type PaymentRequest as P, AgentPaymentNextActionDescriptions as Q, type RawPaymentParties as R, type SweepResult as S, AgentPaymentNextActionSchema as T, AgentPaymentPhase as U, AgentPaymentPhaseDescriptions as V, AgentPaymentPhaseSchema as W, type X402PaymentRequired as X, AgentPaymentRail as Y, AgentPaymentRailDescriptions as Z, AgentPaymentRailSchema as _, type PaymentResult as a, type X402PaymentHeaderContext as a$, AgentPaymentWarningCode as a0, type AgentPurchaseSummary as a1, CONNECTOR_PACKAGE_NAME as a2, type CatalogSubmissionAccepted as a3, DEFAULT_CONFIRMATION_TIMEOUT_MS as a4, DEFAULT_NEXT_TOOL_BY_ACTION as a5, DIRECT_SIGN_CONTEXT_VERSION as a6, ENTRY_POINT_V07 as a7, ERC7710_ASSET_TRANSFER_METHOD as a8, HAVEN_CONNECTOR_CHANNEL as a9, type NextToolServerRole as aA, PACKED_USER_OPERATION_FIELDS as aB, type PaymentFee as aC, type PaymentNextAction as aD, type PaymentPhase as aE, type PaymentStatus as aF, ROOT_AUTHORITY as aG, SIGNER_UPDATE_FALLBACK as aH, SWEEP_BASE_CHAIN_ID as aI, SWEEP_BASE_SEPOLIA_CHAIN_ID as aJ, SWEEP_BASE_SEPOLIA_USDC_ADDRESS as aK, SWEEP_BASE_USDC_ADDRESS as aL, type SettlementChildExpectation as aM, SignerRefusalCode as aN, type SweepConfirmation as aO, type SweepEip712Domain as aP, type SweepEntry as aQ, type SweepExpectedAuth as aR, type SweepPreparation as aS, type SweepSubmitResult as aT, type SweepTypedData as aU, TRANSFER_WITH_AUTHORIZATION_TYPES as aV, TYPED_DATA_NOT_ALLOWED as aW, type UnsupportedNodeVersionMessageOptions as aX, X402AlreadySettledError as aY, type X402ExpectedAuth as aZ, type X402ExpectedContext as a_, HAVEN_MINIMUM_NODE_VERSION as aa, HYBRID_DELEGATOR_DOMAIN_NAME as ab, HYBRID_DELEGATOR_DOMAIN_VERSION as ac, type HavenAgentAllowanceSummary as ad, type HavenAgentReadiness as ae, type HavenAllowance as af, HavenApiError as ag, type HavenCatalogMerchant as ah, type HavenListScope as ai, HavenPaymentStateError as aj, HavenSigningError as ak, HavenTimeoutError as al, HavenTypedDataRefusedError as am, HavenUnsupportedSignerVersionError as an, HavenUserOpBindingError as ao, HavenZeroSettlementHashError as ap, type MachinePaymentRail as aq, MerchantTimeoutError as ar, NEXT_TOOL_SERVER_NAMES as as, NEXT_TOOL_SERVER_ROLES as at, type NextStep as au, type NextStepArguments as av, type NextStepHandoff as aw, type NextStepInput as ax, type NextStepTarget as ay, type NextStepTargets as az, type PaymentIntent as b, type SettlementChildTypedData as b$, X402PaymentHeaderValidationError as b0, type X402PaymentOption as b1, type X402RequestSnapshot as b2, type X402SchemeSelection as b3, X402UnexpectedStatusError as b4, X402_LEGACY_PAYMENT_HEADER_NAME as b5, X402_MAX_AUTHORIZATION_WINDOW_SECONDS as b6, X402_PAYMENT_HEADER_NAME as b7, X402_PAYMENT_HEADER_NAMES_SENT as b8, X402_PAYMENT_REQUIRED_HEADER_NAME as b9, parsePaymentRequired as bA, parsePaymentRequiredResponse as bB, renderNextTool as bC, resolveConnectorChannel as bD, resolveTokenFromAddress as bE, selectErc7710PaymentOption as bF, selectPaymentOption as bG, selectStandardPaymentOption as bH, selectX402SettlementScheme as bI, signerUpdateFallback as bJ, sweepUsdcAddress as bK, sweepUsdcDomain as bL, toStandardPaymentRequirements as bM, unsupportedNodeVersionMessage as bN, validateStandardX402PaymentHeader as bO, verifySettlementChild as bP, x402AssetTransferMethod as bQ, x402AuthorizationAmount as bR, x402FacilitatorAddresses as bS, x402V2PaymentEnvelope as bT, CAVEAT_ENFORCERS as bU, DELEGATION_MANAGER as bV, DIRECT_PAYMENT_CHAIN_IDS as bW, EXECUTE_ABI as bX, HYBRID_DELEGATOR_IMPLEMENTATION as bY, MAX_SETTLEMENT_WINDOW_SECONDS as bZ, SIMPLE_FACTORY_ADDRESS as b_, X402_PAYMENT_RESPONSE_HEADER_NAME as ba, X402_SETTLEMENT_FORWARD_MARGIN_SECONDS as bb, assertBoundDirectPaymentUserOp as bc, assertUserOpTypedDataBinding as bd, buildSweepAuthorizationMessage as be, buildSweepTypedData as bf, buildX402ExpectedMessage as bg, compareNodeVersions as bh, connectorRerunCommand as bi, connectorSpec as bj, createNextStepBuilder as bk, decodeBase64Json as bl, decodeBase64Utf8 as bm, defaultNextToolFor as bn, deriveDelegateAccountAddress as bo, encodeBase64Json as bp, encodeBase64Utf8 as bq, encodePaymentProof as br, isConnectorChannel as bs, isErc7710Option as bt, isPackedUserOperationTypedData as bu, isSupportedNodeVersion as bv, isSweepableChain as bw, normalizePaymentRequired as bx, packedUserOperationHash as by, parseNextTool as bz, type X402AuthorizationOptions as c, assertFundingLegPaysDelegate as c0, assertOwnSettlementChild as c1, chainIdForNetwork as c2, isSettlementChildTypedData as c3, type X402Intent as d, type PaymentStatusResult as e, type HavenAgent as f, type HavenAgentSummary as g, type SweepPrepareResponse as h, type SweepAuthorization as i, type SweepSubmitResponse as j, type HavenAllowanceSummary as k, type HavenBalanceCoverage as l, type PostPurchaseAllowanceSummary as m, type HavenCatalogEntry as n, type HavenCatalogSubmission as o, type HavenPaymentReceipt as p, type HavenPaymentReceiptsPage as q, type PaymentResumeState as r, type X402Receipt as s, type X402Quote as t, type X402Erc7710Settlement as u, type X402McpCallContext as v, type SignData as w, type ResumeAuthorizedX402Input as x, type ResumeX402PaymentInput as y, type X402ResumeState as z };
2731
+ export { AgentPaymentRailSchema as $, type AgentPaymentWarning as A, type X402ResumeState as B, type X402McpTransport as C, type X402MerchantCallContext as D, HavenError as E, AGENT_PAYMENT_FAILURE_CODE_VALUES as F, AGENT_PAYMENT_NEXT_ACTION_VALUES as G, type HavenClientConfig as H, AGENT_PAYMENT_PHASE_VALUES as I, AGENT_PAYMENT_RAIL_VALUES as J, type AgentNextStep as K, type AgentPaymentEnumSchema as L, AgentPaymentFailureCode as M, AgentPaymentFailureCodeDescriptions as N, AgentPaymentFailureCodeSchema as O, type PaymentRequest as P, AgentPaymentNextAction as Q, type RawPaymentParties as R, type SweepResult as S, AgentPaymentNextActionDescriptions as T, AgentPaymentNextActionSchema as U, AgentPaymentPhase as V, AgentPaymentPhaseDescriptions as W, type X402PaymentRequired as X, AgentPaymentPhaseSchema as Y, AgentPaymentRail as Z, AgentPaymentRailDescriptions as _, type HavenClientUpdate as a, type UnsupportedNodeVersionMessageOptions as a$, type AgentPaymentSummary as a0, AgentPaymentWarningCode as a1, type AgentPurchaseSummary as a2, CONNECTOR_PACKAGE_NAME as a3, type CatalogSubmissionAccepted as a4, DEFAULT_CONFIRMATION_TIMEOUT_MS as a5, DEFAULT_NEXT_TOOL_BY_ACTION as a6, DIRECT_SIGN_CONTEXT_VERSION as a7, ENTRY_POINT_V07 as a8, ERC7710_ASSET_TRANSFER_METHOD as a9, type NextStepTarget as aA, type NextStepTargets as aB, type NextToolServerRole as aC, PACKED_USER_OPERATION_FIELDS as aD, type PaymentFee as aE, type PaymentNextAction as aF, type PaymentPhase as aG, type PaymentStatus as aH, ROOT_AUTHORITY as aI, SDK_CLIENT_IDENTITY as aJ, SDK_VERSION as aK, SIGNER_UPDATE_FALLBACK as aL, SWEEP_BASE_CHAIN_ID as aM, SWEEP_BASE_SEPOLIA_CHAIN_ID as aN, SWEEP_BASE_SEPOLIA_USDC_ADDRESS as aO, SWEEP_BASE_USDC_ADDRESS as aP, type SettlementChildExpectation as aQ, SignerRefusalCode as aR, type SweepConfirmation as aS, type SweepEip712Domain as aT, type SweepEntry as aU, type SweepExpectedAuth as aV, type SweepPreparation as aW, type SweepSubmitResult as aX, type SweepTypedData as aY, TRANSFER_WITH_AUTHORIZATION_TYPES as aZ, TYPED_DATA_NOT_ALLOWED as a_, HAVEN_CLIENT_HEADER as aa, HAVEN_CONNECTOR_CHANNEL as ab, HAVEN_MINIMUM_NODE_VERSION as ac, HYBRID_DELEGATOR_DOMAIN_NAME as ad, HYBRID_DELEGATOR_DOMAIN_VERSION as ae, type HavenAgentAllowanceSummary as af, type HavenAgentReadiness as ag, type HavenAllowance as ah, HavenApiError as ai, type HavenCatalogMerchant as aj, type HavenListScope as ak, HavenPaymentStateError as al, HavenSigningError as am, HavenTimeoutError as an, HavenTypedDataRefusedError as ao, HavenUnsupportedSignerVersionError as ap, HavenUserOpBindingError as aq, HavenZeroSettlementHashError as ar, type MachinePaymentRail as as, MerchantTimeoutError as at, NEXT_TOOL_SERVER_NAMES as au, NEXT_TOOL_SERVER_ROLES as av, type NextStep as aw, type NextStepArguments as ax, type NextStepHandoff as ay, type NextStepInput as az, type PaymentResult as b, DELEGATION_MANAGER as b$, X402AlreadySettledError as b0, type X402ExpectedAuth as b1, type X402ExpectedContext as b2, type X402PaymentHeaderContext as b3, X402PaymentHeaderValidationError as b4, type X402PaymentOption as b5, type X402RequestSnapshot as b6, type X402SchemeSelection as b7, X402UnexpectedStatusError as b8, X402_LEGACY_PAYMENT_HEADER_NAME as b9, isSupportedNodeVersion as bA, isSweepableChain as bB, normalizePaymentRequired as bC, packedUserOperationHash as bD, parseNextTool as bE, parsePaymentRequired as bF, parsePaymentRequiredResponse as bG, readClientUpdate as bH, renderNextTool as bI, resolveConnectorChannel as bJ, resolveTokenFromAddress as bK, selectErc7710PaymentOption as bL, selectPaymentOption as bM, selectStandardPaymentOption as bN, selectX402SettlementScheme as bO, signerUpdateFallback as bP, sweepUsdcAddress as bQ, sweepUsdcDomain as bR, toStandardPaymentRequirements as bS, unsupportedNodeVersionMessage as bT, validateStandardX402PaymentHeader as bU, verifySettlementChild as bV, x402AssetTransferMethod as bW, x402AuthorizationAmount as bX, x402FacilitatorAddresses as bY, x402V2PaymentEnvelope as bZ, CAVEAT_ENFORCERS as b_, X402_MAX_AUTHORIZATION_WINDOW_SECONDS as ba, X402_PAYMENT_HEADER_NAME as bb, X402_PAYMENT_HEADER_NAMES_SENT as bc, X402_PAYMENT_REQUIRED_HEADER_NAME as bd, X402_PAYMENT_RESPONSE_HEADER_NAME as be, X402_SETTLEMENT_FORWARD_MARGIN_SECONDS as bf, assertBoundDirectPaymentUserOp as bg, assertUserOpTypedDataBinding as bh, buildSweepAuthorizationMessage as bi, buildSweepTypedData as bj, buildX402ExpectedMessage as bk, compareNodeVersions as bl, connectorRerunCommand as bm, connectorSpec as bn, createNextStepBuilder as bo, decodeBase64Json as bp, decodeBase64Utf8 as bq, defaultNextToolFor as br, deriveDelegateAccountAddress as bs, encodeBase64Json as bt, encodeBase64Utf8 as bu, encodePaymentProof as bv, havenClientIdentity as bw, isConnectorChannel as bx, isErc7710Option as by, isPackedUserOperationTypedData as bz, type PaymentIntent as c, DIRECT_PAYMENT_CHAIN_IDS as c0, EXECUTE_ABI as c1, HYBRID_DELEGATOR_IMPLEMENTATION as c2, MAX_SETTLEMENT_WINDOW_SECONDS as c3, SIMPLE_FACTORY_ADDRESS as c4, type SettlementChildTypedData as c5, assertFundingLegPaysDelegate as c6, assertOwnSettlementChild as c7, chainIdForNetwork as c8, isSettlementChildTypedData as c9, type X402AuthorizationOptions as d, type X402Intent as e, type PaymentStatusResult as f, type HavenAgent as g, type HavenAgentSummary as h, type SweepPrepareResponse as i, type SweepAuthorization as j, type SweepSubmitResponse as k, type HavenAllowanceSummary as l, type HavenBalanceCoverage as m, type PostPurchaseAllowanceSummary as n, type HavenCatalogEntry as o, type HavenCatalogSubmission as p, type HavenPaymentReceipt as q, type HavenPaymentReceiptsPage as r, type PaymentResumeState as s, type X402Receipt as t, type X402Quote as u, type X402Erc7710Settlement as v, type X402McpCallContext as w, type SignData as x, type ResumeAuthorizedX402Input as y, type ResumeX402PaymentInput as z };
@@ -899,5 +899,5 @@ function assertRedeemsOwnBudgetDelegation(redeemCalldata, ownAccount) {
899
899
  }
900
900
 
901
901
  export { AGENT_PAYMENT_FAILURE_CODE_VALUES, AGENT_PAYMENT_NEXT_ACTION_VALUES, AGENT_PAYMENT_PHASE_VALUES, AGENT_PAYMENT_RAIL_VALUES, AgentPaymentFailureCode, AgentPaymentFailureCodeDescriptions, AgentPaymentFailureCodeSchema, AgentPaymentNextAction, AgentPaymentNextActionDescriptions, AgentPaymentNextActionSchema, AgentPaymentPhase, AgentPaymentPhaseDescriptions, AgentPaymentPhaseSchema, AgentPaymentRail, AgentPaymentRailDescriptions, AgentPaymentRailSchema, AgentPaymentWarningCode, CAVEAT_ENFORCERS, CONNECTOR_PACKAGE_NAME, DEFAULT_CONFIRMATION_TIMEOUT_MS, DELEGATION_MANAGER, DELEGATION_TUPLE_COMPONENTS, DIRECT_SIGN_CONTEXT_VERSION, ENTRY_POINT_V07, HAVEN_CONNECTOR_CHANNEL, HYBRID_DELEGATOR_DOMAIN_NAME, HYBRID_DELEGATOR_DOMAIN_VERSION, HYBRID_DELEGATOR_IMPLEMENTATION, HavenApiError, HavenError, HavenPaymentStateError, HavenSigningError, HavenTimeoutError, HavenUnsupportedSignerVersionError, HavenUserOpBindingError, HavenZeroSettlementHashError, MAX_SETTLEMENT_WINDOW_SECONDS, MerchantTimeoutError, PACKED_USER_OPERATION_FIELDS, REDEEM_DELEGATIONS_ABI, ROOT_AUTHORITY, SIGNER_UPDATE_FALLBACK, SIMPLE_FACTORY_ADDRESS, SINGLE_DEFAULT_MODE, SignerRefusalCode, X402AlreadySettledError, X402UnexpectedStatusError, assertRedeemsOwnBudgetDelegation, assertUserOpTypedDataBinding, chainIdForNetwork, connectorRerunCommand, connectorSpec, deriveDelegateAccountAddress, isConnectorChannel, isPackedUserOperationTypedData, isSettlementChildTypedData, packedUserOperationHash, resolveConnectorChannel, signerUpdateFallback, verifySettlementChild };
902
- //# sourceMappingURL=chunk-KQ757ZWS.js.map
903
- //# sourceMappingURL=chunk-KQ757ZWS.js.map
902
+ //# sourceMappingURL=chunk-AVKWY6JC.js.map
903
+ //# sourceMappingURL=chunk-AVKWY6JC.js.map