@agent-score/commerce 2.1.0 → 2.1.1

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.
Files changed (64) hide show
  1. package/README.md +1 -1
  2. package/dist/challenge/index.js.map +1 -1
  3. package/dist/challenge/index.mjs.map +1 -1
  4. package/dist/{checkout-Bd_4aQ6c.d.mts → checkout-BRw_caGr.d.mts} +1 -22
  5. package/dist/{checkout-BH-I_Ns8.d.ts → checkout-CuSNUJFX.d.ts} +1 -22
  6. package/dist/core.js +1 -1
  7. package/dist/core.js.map +1 -1
  8. package/dist/core.mjs +1 -1
  9. package/dist/core.mjs.map +1 -1
  10. package/dist/{default_rails-BxBzcCA1.d.ts → default_rails-C5gKZJMI.d.ts} +11 -1
  11. package/dist/{default_rails-BWAquZeu.d.mts → default_rails-XFCuRddA.d.mts} +11 -1
  12. package/dist/discovery/index.d.mts +1 -1
  13. package/dist/discovery/index.d.ts +1 -1
  14. package/dist/identity/express.js +1 -1
  15. package/dist/identity/express.js.map +1 -1
  16. package/dist/identity/express.mjs +1 -1
  17. package/dist/identity/express.mjs.map +1 -1
  18. package/dist/identity/fastify.js +1 -1
  19. package/dist/identity/fastify.js.map +1 -1
  20. package/dist/identity/fastify.mjs +1 -1
  21. package/dist/identity/fastify.mjs.map +1 -1
  22. package/dist/identity/hono.js +1 -1
  23. package/dist/identity/hono.js.map +1 -1
  24. package/dist/identity/hono.mjs +1 -1
  25. package/dist/identity/hono.mjs.map +1 -1
  26. package/dist/identity/nextjs.js +1 -1
  27. package/dist/identity/nextjs.js.map +1 -1
  28. package/dist/identity/nextjs.mjs +1 -1
  29. package/dist/identity/nextjs.mjs.map +1 -1
  30. package/dist/identity/policy.js +22 -23363
  31. package/dist/identity/policy.js.map +1 -1
  32. package/dist/identity/policy.mjs +1 -23366
  33. package/dist/identity/policy.mjs.map +1 -1
  34. package/dist/identity/web.js +1 -1
  35. package/dist/identity/web.js.map +1 -1
  36. package/dist/identity/web.mjs +1 -1
  37. package/dist/identity/web.mjs.map +1 -1
  38. package/dist/index.d.mts +72 -5
  39. package/dist/index.d.ts +72 -5
  40. package/dist/index.js +256 -136
  41. package/dist/index.js.map +1 -1
  42. package/dist/index.mjs +253 -134
  43. package/dist/index.mjs.map +1 -1
  44. package/dist/middleware/express.js.map +1 -1
  45. package/dist/middleware/express.mjs.map +1 -1
  46. package/dist/middleware/fastify.js.map +1 -1
  47. package/dist/middleware/fastify.mjs.map +1 -1
  48. package/dist/middleware/hono.js.map +1 -1
  49. package/dist/middleware/hono.mjs.map +1 -1
  50. package/dist/middleware/nextjs.js.map +1 -1
  51. package/dist/middleware/nextjs.mjs.map +1 -1
  52. package/dist/middleware/web.js.map +1 -1
  53. package/dist/middleware/web.mjs.map +1 -1
  54. package/dist/payment/index.d.mts +13 -17
  55. package/dist/payment/index.d.ts +13 -17
  56. package/dist/payment/index.js +80 -4
  57. package/dist/payment/index.js.map +1 -1
  58. package/dist/payment/index.mjs +79 -4
  59. package/dist/payment/index.mjs.map +1 -1
  60. package/dist/stripe-multichain/index.js +53 -4
  61. package/dist/stripe-multichain/index.js.map +1 -1
  62. package/dist/stripe-multichain/index.mjs +53 -4
  63. package/dist/stripe-multichain/index.mjs.map +1 -1
  64. package/package.json +4 -4
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { VerifyWalletSignerResult, DenialReason } from './core.mjs';
2
2
  export { AccountVerification, AgentIdentity, AgentMemoryHint, AgentScoreCore, AssessResult, CreateSessionOnMissing, DenialCode, EvaluateOutcome, OperatorVerification, PolicyCheck, PolicyResult, SignerVerdict, buildAgentMemoryHint } from './core.mjs';
3
3
  export { P as PaymentSigner, S as SignerNetwork, e as extractPaymentSigner, a as extractPaymentSignerFromAuth, b as extractSignerForPrecheck, r as readX402PaymentHeader } from './signer-3FAit11j.mjs';
4
- import { r as UCPSigningKey, o as UCPProfile } from './checkout-Bd_4aQ6c.mjs';
5
- export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as CheckoutValidationError, h as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, i as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, j as PricingFn, k as PricingResult, R as RecipientsFn, l as ReferenceIdFn, m as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, n as UCPPaymentHandlerBinding, p as UCPProfileBody, q as UCPServiceBinding, s as buildUCPProfile, t as getIdentityStatus, u as makeMppxComposeHook, v as mppPaymentHandler, w as pricingResult, x as stripeSptPaymentHandler, y as validationEnvelope, z as validationResponseExpress, B as validationResponseFastify, E as validationResponseHono, F as validationResponseNextjs, H as validationResponseWeb, J as x402PaymentHandler } from './checkout-Bd_4aQ6c.mjs';
4
+ import { q as UCPSigningKey, n as UCPProfile } from './checkout-BRw_caGr.mjs';
5
+ export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, h as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, i as PricingFn, j as PricingResult, R as RecipientsFn, k as ReferenceIdFn, l as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, m as UCPPaymentHandlerBinding, o as UCPProfileBody, p as UCPServiceBinding, r as buildUCPProfile, s as getIdentityStatus, t as makeMppxComposeHook, u as mppPaymentHandler, v as pricingResult, w as stripeSptPaymentHandler, x as validationEnvelope, y as validationResponseExpress, z as validationResponseFastify, B as validationResponseHono, E as validationResponseNextjs, F as validationResponseWeb, H as x402PaymentHandler } from './checkout-BRw_caGr.mjs';
6
6
  export { EnforcementMode, GateResult, IdentityStatus, PolicyBlock, buildGateFromPolicy, runGateWithEnforcement, shippingCountryAllowed, shippingStateAllowed, validateShippingAgainstPolicy } from './identity/policy.mjs';
7
- import { H as HeadersLike } from './default_rails-BWAquZeu.mjs';
8
- export { c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, l as loadSolanaFeePayer } from './default_rails-BWAquZeu.mjs';
7
+ import { H as HeadersLike } from './default_rails-XFCuRddA.mjs';
8
+ export { c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, l as loadSolanaFeePayer } from './default_rails-XFCuRddA.mjs';
9
9
  import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-D6qzh3J0.mjs';
10
10
  export { c as TempoSessionRailSpec } from './rail_spec-D6qzh3J0.mjs';
11
11
  import { Context } from 'hono';
@@ -149,6 +149,41 @@ declare function verificationAgentInstructions({ userAction, retryStep, extraSte
149
149
  * `error.message` pair regardless of which layer produced the denial.
150
150
  */
151
151
 
152
+ /**
153
+ * Build the canonical 4xx body shape for `identity_verification_required`.
154
+ *
155
+ * Every merchant maps the gate's auto-minted session fields (verify_url,
156
+ * session_id, poll_secret, poll_url, agent_instructions) into their own
157
+ * envelope with a merchant-specific message + error code. This collapses that
158
+ * mapping into one call:
159
+ *
160
+ * ```ts
161
+ * if (reason.code === 'identity_verification_required') {
162
+ * return {
163
+ * status: 403,
164
+ * body: buildVerificationRequiredBody(reason, {
165
+ * message: 'Identity verification is required to call this endpoint.',
166
+ * agentInstructions: VERIFICATION_AGENT_INSTRUCTIONS,
167
+ * }),
168
+ * };
169
+ * }
170
+ * ```
171
+ *
172
+ * Goods merchants that surface an `order_id` (or similar) from
173
+ * `createSessionOnMissing.onBeforeSession` get it for free via
174
+ * `denialReasonToBody(reason)`'s `reason.extra` passthrough — but can also
175
+ * pass `opts.extra` for fallbacks (e.g. when invoked outside the auto-mint
176
+ * path and order_id needs to come from the validated context).
177
+ */
178
+ declare function buildVerificationRequiredBody(reason: DenialReason, opts?: {
179
+ /** Override the `error.message`. Defaults to the canonical copy. */
180
+ message?: string;
181
+ /** Replace `agent_instructions` with merchant-specific copy. When omitted,
182
+ * the gate-supplied or default instructions ride through. */
183
+ agentInstructions?: string;
184
+ /** Additional fields spread into the body (e.g. fallback `order_id`). */
185
+ extra?: Record<string, unknown>;
186
+ }): Record<string, unknown>;
152
187
  declare function denialReasonToBody(reason: DenialReason): Record<string, unknown>;
153
188
 
154
189
  /**
@@ -560,6 +595,38 @@ type OwnerScope = {
560
595
  */
561
596
  declare function extractOwnerScope(input: Request | HeadersLike): OwnerScope;
562
597
 
598
+ /**
599
+ * Cross-module typed errors.
600
+ *
601
+ * Lives in its own module so `payment/` and `stripe-multichain/` helpers can
602
+ * throw `CheckoutValidationError` without importing from `checkout.ts`. (In
603
+ * the python sibling this avoids a checkout → payment → checkout cycle; in
604
+ * node it sidesteps tsup's per-entry class duplication.)
605
+ *
606
+ * Re-exported from `checkout.ts` and the top-level entry to preserve the
607
+ * public import path.
608
+ */
609
+ /**
610
+ * Raised to short-circuit a Checkout flow with a 4xx/5xx envelope. The
611
+ * framework catches this at request-flow boundaries (`preValidate`, recipient
612
+ * minting, settlement dispatch) and emits `{ error, next_steps }` via
613
+ * `buildValidationError` so merchants don't construct response bodies
614
+ * themselves.
615
+ */
616
+ declare class CheckoutValidationError extends Error {
617
+ readonly code: string;
618
+ readonly action: string;
619
+ readonly status: number;
620
+ readonly extra: Record<string, unknown> | undefined;
621
+ constructor(opts: {
622
+ code: string;
623
+ message: string;
624
+ action?: string;
625
+ status?: number;
626
+ extra?: Record<string, unknown>;
627
+ });
628
+ }
629
+
563
630
  /**
564
631
  * Short-TTL body-hash quote cache for the compute-first + exact-x402 pattern
565
632
  * (see {@link computeFirstCheckout}).
@@ -861,4 +928,4 @@ declare function createDefaultOnDenied(opts: CreateDefaultOnDeniedOptions): (rea
861
928
  */
862
929
  declare function defaultReadOnlyOnDenied(reason: DenialReason): DefaultOnDeniedResult;
863
930
 
864
- export { type A2AAgentCard, type A2AAgentCardCapabilities, type A2AAgentCardExtension, type A2AAgentCardSignature, type A2AAgentInterface, type A2AAgentProvider, type A2AAgentSkill, A2A_DEFAULT_TRANSPORT, A2A_PROTOCOL_VERSION, type CachedQuote, type ComputeFirstHandler, type ComputeFirstMintContext, type ComputeFirstOptions, type ComputeFirstRails, type ComputeFirstWorkContext, type CreateDefaultOnDeniedOptions, type DefaultOnDeniedResult, DenialReason, FIXABLE_DENIAL_REASONS, type GeneratedUCPKey, type JWKSResponse, type MintedRecipients, type OwnerScope, type QuoteCache, type QuoteCacheOptions, type SignedUCPProfile, SolanaMppRailSpec, StripeRailSpec, type SuccessBodyArgs, TempoRailSpec, UCPProfile, UCPSigningKey, UCPVerificationError, UCP_A2A_EXTENSION_URI, VerifyWalletSignerResult, type WorkOutcome, X402BaseRailSpec, buildA2AAgentCard, buildContactSupportNextSteps, buildJWKSResponse, buildSignerMismatchBody, computeFirstCheckout, createDefaultOnDenied, createQuoteCache, defaultReadOnlyOnDenied, denialReasonStatus, denialReasonToBody, extractOwnerScope, generateUCPSigningKey, hashOperatorToken, isFixableDenial, loadUCPSigningKeyFromEnv, signUCPProfile, ucpA2AExtension, verificationAgentInstructions, verifyUCPProfile };
931
+ export { type A2AAgentCard, type A2AAgentCardCapabilities, type A2AAgentCardExtension, type A2AAgentCardSignature, type A2AAgentInterface, type A2AAgentProvider, type A2AAgentSkill, A2A_DEFAULT_TRANSPORT, A2A_PROTOCOL_VERSION, type CachedQuote, CheckoutValidationError, type ComputeFirstHandler, type ComputeFirstMintContext, type ComputeFirstMppContext, type ComputeFirstOptions, type ComputeFirstRails, type ComputeFirstSettledContext, type ComputeFirstWorkContext, type CreateDefaultOnDeniedOptions, type DefaultOnDeniedResult, DenialReason, FIXABLE_DENIAL_REASONS, type GeneratedUCPKey, type JWKSResponse, type MintedRecipients, type OwnerScope, type QuoteCache, type QuoteCacheOptions, type SignedUCPProfile, SolanaMppRailSpec, StripeRailSpec, type SuccessBodyArgs, TempoRailSpec, UCPProfile, UCPSigningKey, UCPVerificationError, UCP_A2A_EXTENSION_URI, VerifyWalletSignerResult, type WorkOutcome, X402BaseRailSpec, buildA2AAgentCard, buildContactSupportNextSteps, buildJWKSResponse, buildSignerMismatchBody, buildVerificationRequiredBody, computeFirstCheckout, createDefaultOnDenied, createQuoteCache, defaultReadOnlyOnDenied, denialReasonStatus, denialReasonToBody, extractOwnerScope, generateUCPSigningKey, hashOperatorToken, isFixableDenial, loadUCPSigningKeyFromEnv, signUCPProfile, ucpA2AExtension, verificationAgentInstructions, verifyUCPProfile };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { VerifyWalletSignerResult, DenialReason } from './core.js';
2
2
  export { AccountVerification, AgentIdentity, AgentMemoryHint, AgentScoreCore, AssessResult, CreateSessionOnMissing, DenialCode, EvaluateOutcome, OperatorVerification, PolicyCheck, PolicyResult, SignerVerdict, buildAgentMemoryHint } from './core.js';
3
3
  export { P as PaymentSigner, S as SignerNetwork, e as extractPaymentSigner, a as extractPaymentSignerFromAuth, b as extractSignerForPrecheck, r as readX402PaymentHeader } from './signer-3FAit11j.js';
4
- import { r as UCPSigningKey, o as UCPProfile } from './checkout-BH-I_Ns8.js';
5
- export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as CheckoutValidationError, h as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, i as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, j as PricingFn, k as PricingResult, R as RecipientsFn, l as ReferenceIdFn, m as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, n as UCPPaymentHandlerBinding, p as UCPProfileBody, q as UCPServiceBinding, s as buildUCPProfile, t as getIdentityStatus, u as makeMppxComposeHook, v as mppPaymentHandler, w as pricingResult, x as stripeSptPaymentHandler, y as validationEnvelope, z as validationResponseExpress, B as validationResponseFastify, E as validationResponseHono, F as validationResponseNextjs, H as validationResponseWeb, J as x402PaymentHandler } from './checkout-BH-I_Ns8.js';
4
+ import { q as UCPSigningKey, n as UCPProfile } from './checkout-CuSNUJFX.js';
5
+ export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, h as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, i as PricingFn, j as PricingResult, R as RecipientsFn, k as ReferenceIdFn, l as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, m as UCPPaymentHandlerBinding, o as UCPProfileBody, p as UCPServiceBinding, r as buildUCPProfile, s as getIdentityStatus, t as makeMppxComposeHook, u as mppPaymentHandler, v as pricingResult, w as stripeSptPaymentHandler, x as validationEnvelope, y as validationResponseExpress, z as validationResponseFastify, B as validationResponseHono, E as validationResponseNextjs, F as validationResponseWeb, H as x402PaymentHandler } from './checkout-CuSNUJFX.js';
6
6
  export { EnforcementMode, GateResult, IdentityStatus, PolicyBlock, buildGateFromPolicy, runGateWithEnforcement, shippingCountryAllowed, shippingStateAllowed, validateShippingAgainstPolicy } from './identity/policy.js';
7
- import { H as HeadersLike } from './default_rails-BxBzcCA1.js';
8
- export { c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, l as loadSolanaFeePayer } from './default_rails-BxBzcCA1.js';
7
+ import { H as HeadersLike } from './default_rails-C5gKZJMI.js';
8
+ export { c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, l as loadSolanaFeePayer } from './default_rails-C5gKZJMI.js';
9
9
  import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-D6qzh3J0.js';
10
10
  export { c as TempoSessionRailSpec } from './rail_spec-D6qzh3J0.js';
11
11
  import { Context } from 'hono';
@@ -149,6 +149,41 @@ declare function verificationAgentInstructions({ userAction, retryStep, extraSte
149
149
  * `error.message` pair regardless of which layer produced the denial.
150
150
  */
151
151
 
152
+ /**
153
+ * Build the canonical 4xx body shape for `identity_verification_required`.
154
+ *
155
+ * Every merchant maps the gate's auto-minted session fields (verify_url,
156
+ * session_id, poll_secret, poll_url, agent_instructions) into their own
157
+ * envelope with a merchant-specific message + error code. This collapses that
158
+ * mapping into one call:
159
+ *
160
+ * ```ts
161
+ * if (reason.code === 'identity_verification_required') {
162
+ * return {
163
+ * status: 403,
164
+ * body: buildVerificationRequiredBody(reason, {
165
+ * message: 'Identity verification is required to call this endpoint.',
166
+ * agentInstructions: VERIFICATION_AGENT_INSTRUCTIONS,
167
+ * }),
168
+ * };
169
+ * }
170
+ * ```
171
+ *
172
+ * Goods merchants that surface an `order_id` (or similar) from
173
+ * `createSessionOnMissing.onBeforeSession` get it for free via
174
+ * `denialReasonToBody(reason)`'s `reason.extra` passthrough — but can also
175
+ * pass `opts.extra` for fallbacks (e.g. when invoked outside the auto-mint
176
+ * path and order_id needs to come from the validated context).
177
+ */
178
+ declare function buildVerificationRequiredBody(reason: DenialReason, opts?: {
179
+ /** Override the `error.message`. Defaults to the canonical copy. */
180
+ message?: string;
181
+ /** Replace `agent_instructions` with merchant-specific copy. When omitted,
182
+ * the gate-supplied or default instructions ride through. */
183
+ agentInstructions?: string;
184
+ /** Additional fields spread into the body (e.g. fallback `order_id`). */
185
+ extra?: Record<string, unknown>;
186
+ }): Record<string, unknown>;
152
187
  declare function denialReasonToBody(reason: DenialReason): Record<string, unknown>;
153
188
 
154
189
  /**
@@ -560,6 +595,38 @@ type OwnerScope = {
560
595
  */
561
596
  declare function extractOwnerScope(input: Request | HeadersLike): OwnerScope;
562
597
 
598
+ /**
599
+ * Cross-module typed errors.
600
+ *
601
+ * Lives in its own module so `payment/` and `stripe-multichain/` helpers can
602
+ * throw `CheckoutValidationError` without importing from `checkout.ts`. (In
603
+ * the python sibling this avoids a checkout → payment → checkout cycle; in
604
+ * node it sidesteps tsup's per-entry class duplication.)
605
+ *
606
+ * Re-exported from `checkout.ts` and the top-level entry to preserve the
607
+ * public import path.
608
+ */
609
+ /**
610
+ * Raised to short-circuit a Checkout flow with a 4xx/5xx envelope. The
611
+ * framework catches this at request-flow boundaries (`preValidate`, recipient
612
+ * minting, settlement dispatch) and emits `{ error, next_steps }` via
613
+ * `buildValidationError` so merchants don't construct response bodies
614
+ * themselves.
615
+ */
616
+ declare class CheckoutValidationError extends Error {
617
+ readonly code: string;
618
+ readonly action: string;
619
+ readonly status: number;
620
+ readonly extra: Record<string, unknown> | undefined;
621
+ constructor(opts: {
622
+ code: string;
623
+ message: string;
624
+ action?: string;
625
+ status?: number;
626
+ extra?: Record<string, unknown>;
627
+ });
628
+ }
629
+
563
630
  /**
564
631
  * Short-TTL body-hash quote cache for the compute-first + exact-x402 pattern
565
632
  * (see {@link computeFirstCheckout}).
@@ -861,4 +928,4 @@ declare function createDefaultOnDenied(opts: CreateDefaultOnDeniedOptions): (rea
861
928
  */
862
929
  declare function defaultReadOnlyOnDenied(reason: DenialReason): DefaultOnDeniedResult;
863
930
 
864
- export { type A2AAgentCard, type A2AAgentCardCapabilities, type A2AAgentCardExtension, type A2AAgentCardSignature, type A2AAgentInterface, type A2AAgentProvider, type A2AAgentSkill, A2A_DEFAULT_TRANSPORT, A2A_PROTOCOL_VERSION, type CachedQuote, type ComputeFirstHandler, type ComputeFirstMintContext, type ComputeFirstOptions, type ComputeFirstRails, type ComputeFirstWorkContext, type CreateDefaultOnDeniedOptions, type DefaultOnDeniedResult, DenialReason, FIXABLE_DENIAL_REASONS, type GeneratedUCPKey, type JWKSResponse, type MintedRecipients, type OwnerScope, type QuoteCache, type QuoteCacheOptions, type SignedUCPProfile, SolanaMppRailSpec, StripeRailSpec, type SuccessBodyArgs, TempoRailSpec, UCPProfile, UCPSigningKey, UCPVerificationError, UCP_A2A_EXTENSION_URI, VerifyWalletSignerResult, type WorkOutcome, X402BaseRailSpec, buildA2AAgentCard, buildContactSupportNextSteps, buildJWKSResponse, buildSignerMismatchBody, computeFirstCheckout, createDefaultOnDenied, createQuoteCache, defaultReadOnlyOnDenied, denialReasonStatus, denialReasonToBody, extractOwnerScope, generateUCPSigningKey, hashOperatorToken, isFixableDenial, loadUCPSigningKeyFromEnv, signUCPProfile, ucpA2AExtension, verificationAgentInstructions, verifyUCPProfile };
931
+ export { type A2AAgentCard, type A2AAgentCardCapabilities, type A2AAgentCardExtension, type A2AAgentCardSignature, type A2AAgentInterface, type A2AAgentProvider, type A2AAgentSkill, A2A_DEFAULT_TRANSPORT, A2A_PROTOCOL_VERSION, type CachedQuote, CheckoutValidationError, type ComputeFirstHandler, type ComputeFirstMintContext, type ComputeFirstMppContext, type ComputeFirstOptions, type ComputeFirstRails, type ComputeFirstSettledContext, type ComputeFirstWorkContext, type CreateDefaultOnDeniedOptions, type DefaultOnDeniedResult, DenialReason, FIXABLE_DENIAL_REASONS, type GeneratedUCPKey, type JWKSResponse, type MintedRecipients, type OwnerScope, type QuoteCache, type QuoteCacheOptions, type SignedUCPProfile, SolanaMppRailSpec, StripeRailSpec, type SuccessBodyArgs, TempoRailSpec, UCPProfile, UCPSigningKey, UCPVerificationError, UCP_A2A_EXTENSION_URI, VerifyWalletSignerResult, type WorkOutcome, X402BaseRailSpec, buildA2AAgentCard, buildContactSupportNextSteps, buildJWKSResponse, buildSignerMismatchBody, buildVerificationRequiredBody, computeFirstCheckout, createDefaultOnDenied, createQuoteCache, defaultReadOnlyOnDenied, denialReasonStatus, denialReasonToBody, extractOwnerScope, generateUCPSigningKey, hashOperatorToken, isFixableDenial, loadUCPSigningKeyFromEnv, signUCPProfile, ucpA2AExtension, verificationAgentInstructions, verifyUCPProfile };