xytara 3.1.17 → 3.2.0

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 (390) hide show
  1. package/README.md +120 -92
  2. package/RELEASE_NOTES.md +7 -2
  3. package/START_HERE.md +56 -224
  4. package/bin/xytara.js +21 -8
  5. package/client.js +79 -1
  6. package/lib/{delivery_receipt.js → delivery_receipt_verify.js} +14 -100
  7. package/package.json +25 -35
  8. package/scripts/verify_client.js +418 -0
  9. package/scripts/verify_release_candidate.js +146 -45
  10. package/.env.example +0 -173
  11. package/ADAPTER_START_HERE.md +0 -56
  12. package/BSV_TERANODE_PLATFORM_DISCONTINUITY_RUNBOOK.md +0 -126
  13. package/CARRIED_HANDOFF_DEMO.md +0 -60
  14. package/EXAMPLE_PATHS.md +0 -53
  15. package/FINAL_CONTRACT.md +0 -498
  16. package/PARTNER_READY_PATH.md +0 -71
  17. package/PUBLIC_DEMO_SCRIPT.md +0 -78
  18. package/REAL_PAYMENT_SETUP.md +0 -320
  19. package/SERVICE_CONTRACT.md +0 -419
  20. package/SUPABASE_RUNTIME_STATE_SETUP.md +0 -61
  21. package/TERMINOLOGY.md +0 -50
  22. package/WHY_XYTARA_XOONYA.md +0 -63
  23. package/XT1_EXECUTION_TRUTH_STANDARD.md +0 -78
  24. package/XYTARA_ADAPTER_PROTOCOL_TRUTH_MODEL.md +0 -75
  25. package/XYTARA_AUTONOMOUS_ENTRY_MODEL.md +0 -124
  26. package/XYTARA_DEFAULT_PATH_MODEL.md +0 -84
  27. package/XYTARA_EXECUTION_TRUTH_MODEL.md +0 -171
  28. package/XYTARA_PAYMENT_RAIL_TRUTH_MODEL.md +0 -68
  29. package/adapters/AUTHORING_GUIDE.md +0 -244
  30. package/adapters/ONBOARDING_POSTURE.md +0 -61
  31. package/adapters/THIRD_PARTY_SUBMISSION_PROCESS.md +0 -84
  32. package/adapters/adapter-manifest.schema.json +0 -283
  33. package/adapters/examples/example-execution-adapter.js +0 -61
  34. package/adapters/examples/example-execution-adapter.manifest.json +0 -81
  35. package/adapters/examples/example-settlement-adapter.js +0 -55
  36. package/adapters/examples/example-settlement-adapter.manifest.json +0 -78
  37. package/adapters/examples/example-third-party-acp-registration.submission-bundle.json +0 -124
  38. package/adapters/examples/example-third-party-erc8004-registration.submission-bundle.json +0 -121
  39. package/adapters/examples/example-third-party-identity-registration.certification-pack.json +0 -22
  40. package/adapters/examples/example-third-party-identity-registration.record.json +0 -26
  41. package/adapters/examples/example-third-party-identity-registration.submission-bundle.json +0 -126
  42. package/adapters/examples/example-third-party-langchain-registration.submission-bundle.json +0 -124
  43. package/adapters/examples/example-third-party-mpp-registration.submission-bundle.json +0 -120
  44. package/adapters/examples/example-third-party-registration.certification-pack.json +0 -22
  45. package/adapters/examples/example-third-party-registration.record.json +0 -28
  46. package/adapters/examples/example-third-party-registration.submission-bundle.json +0 -126
  47. package/adapters/examples/example-third-party-settlement-registration.certification-pack.json +0 -22
  48. package/adapters/examples/example-third-party-settlement-registration.record.json +0 -26
  49. package/adapters/examples/example-third-party-settlement-registration.submission-bundle.json +0 -127
  50. package/adapters/examples/langchain-reference-execution-adapter.js +0 -81
  51. package/adapters/examples/langchain-reference-execution-adapter.manifest.json +0 -79
  52. package/adapters/examples/langgraph-reference-execution-adapter.js +0 -81
  53. package/adapters/examples/langgraph-reference-execution-adapter.manifest.json +0 -79
  54. package/adapters/examples/minimal-third-party-execution-adapter.js +0 -61
  55. package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +0 -79
  56. package/adapters/examples/minimal-third-party-execution-registration.record.json +0 -26
  57. package/adapters/examples/minimal-third-party-execution.certification-pack.json +0 -22
  58. package/adapters/examples/minimal-third-party-execution.submission-bundle.json +0 -126
  59. package/adapters/integration-certification-pack.schema.json +0 -82
  60. package/adapters/integration-registration-record.schema.json +0 -114
  61. package/adapters/integration-submission-bundle-set.schema.json +0 -39
  62. package/adapters/integration-submission-bundle.schema.json +0 -34
  63. package/adapters/interfaces.js +0 -56
  64. package/bin/xytara-release.js +0 -1429
  65. package/examples/_demo_env.js +0 -40
  66. package/examples/adapter_review_walkthrough.js +0 -54
  67. package/examples/export_carried_handoff.js +0 -81
  68. package/examples/funded_runtime_walkthrough.js +0 -71
  69. package/examples/partner_launch_walkthrough.js +0 -44
  70. package/examples/quickstart.js +0 -3256
  71. package/fixtures/catalog.js +0 -1156
  72. package/index.js +0 -395
  73. package/integrations/dispatch.js +0 -276
  74. package/integrations/registry-snapshot.schema.json +0 -36
  75. package/integrations/registry.js +0 -2261
  76. package/integrations/views.js +0 -28
  77. package/lib/a2a_lane_contract.js +0 -104
  78. package/lib/a2a_rpc.js +0 -287
  79. package/lib/a2c_lane_contract.js +0 -111
  80. package/lib/account_auth.js +0 -585
  81. package/lib/acp_lane_contract.js +0 -54
  82. package/lib/activity_audit_contract.js +0 -322
  83. package/lib/adapter_certification_contract.js +0 -130
  84. package/lib/adapter_depth_contract.js +0 -218
  85. package/lib/adapter_pack.js +0 -118
  86. package/lib/adapter_partner_pack.js +0 -89
  87. package/lib/adapter_promotion_pack.js +0 -89
  88. package/lib/adapter_protocol_truth_contract.js +0 -229
  89. package/lib/agent_identity.js +0 -162
  90. package/lib/announcement_pack.js +0 -61
  91. package/lib/artifact_distribution_lane_contract.js +0 -54
  92. package/lib/asyncapi_contract.js +0 -150
  93. package/lib/auth_interop_contract.js +0 -80
  94. package/lib/authority_binding_lifecycle_contract.js +0 -182
  95. package/lib/autonomous_entry_contract.js +0 -409
  96. package/lib/bolt_adapter.js +0 -187
  97. package/lib/bolt_lane_contract.js +0 -55
  98. package/lib/bolt_payment_front.js +0 -224
  99. package/lib/business_cockpit.js +0 -378
  100. package/lib/buyer_event_log.js +0 -230
  101. package/lib/buyer_safety_policy.js +0 -132
  102. package/lib/capability_execution_truth.js +0 -276
  103. package/lib/capability_registry.js +0 -633
  104. package/lib/catalog_contract.js +0 -966
  105. package/lib/catalog_family_model.js +0 -193
  106. package/lib/catalog_views.js +0 -55
  107. package/lib/cdp_jwt.js +0 -57
  108. package/lib/checkout_event_security.js +0 -142
  109. package/lib/checkout_processor_adapter.js +0 -217
  110. package/lib/cloudevents_contract.js +0 -80
  111. package/lib/command_flow.js +0 -911
  112. package/lib/commerce_artifacts.js +0 -591
  113. package/lib/commerce_authority.js +0 -449
  114. package/lib/commerce_bridge.js +0 -274
  115. package/lib/commerce_cases.js +0 -399
  116. package/lib/commerce_checkout.js +0 -509
  117. package/lib/commerce_coordination.js +0 -346
  118. package/lib/commerce_economics.js +0 -4017
  119. package/lib/commerce_identity.js +0 -578
  120. package/lib/commerce_quotes.js +0 -266
  121. package/lib/commerce_reports.js +0 -14461
  122. package/lib/commerce_runtime.js +0 -322
  123. package/lib/commerce_shell.js +0 -257
  124. package/lib/crypto_agility_matrix.js +0 -125
  125. package/lib/default_path_contract.js +0 -412
  126. package/lib/delivery_summary_contract.js +0 -95
  127. package/lib/ecosystem_entry.js +0 -64
  128. package/lib/erc8004_lane_contract.js +0 -65
  129. package/lib/event_system_lane_contract.js +0 -75
  130. package/lib/execution_dedupe.js +0 -86
  131. package/lib/execution_truth_contract.js +0 -234
  132. package/lib/external_credit_bridge.js +0 -142
  133. package/lib/external_execution_policy.js +0 -143
  134. package/lib/external_execution_runtime.js +0 -238
  135. package/lib/feature_control_lane_contract.js +0 -54
  136. package/lib/first_run_conversion_contract.js +0 -290
  137. package/lib/framework_lane_contract.js +0 -89
  138. package/lib/framework_provider_promotion.js +0 -235
  139. package/lib/full_catalog_contract.js +0 -525
  140. package/lib/go_live_operator_pack.js +0 -391
  141. package/lib/http_transport.js +0 -99
  142. package/lib/identity_auth.js +0 -175
  143. package/lib/identity_interop_contract.js +0 -82
  144. package/lib/integration_matrix_contract.js +0 -102
  145. package/lib/l402_adapter.js +0 -241
  146. package/lib/l402_lane_contract.js +0 -55
  147. package/lib/l402_payment_front.js +0 -265
  148. package/lib/launch_narrative.js +0 -53
  149. package/lib/lifecycle_continuity_contract.js +0 -115
  150. package/lib/machine_identity_registry_contract.js +0 -199
  151. package/lib/major_rails_lane_contract.js +0 -150
  152. package/lib/market_lane_contract.js +0 -467
  153. package/lib/market_lane_depth_contract.js +0 -182
  154. package/lib/market_lane_promotion_contract.js +0 -210
  155. package/lib/market_lane_trace_contract.js +0 -278
  156. package/lib/mcp_lane_contract.js +0 -137
  157. package/lib/mpp_adapter.js +0 -237
  158. package/lib/network_transport.js +0 -110
  159. package/lib/offline_verifiability_recovery_contract.js +0 -155
  160. package/lib/openapi_contract.js +0 -300
  161. package/lib/operational_receipt_contract.js +0 -165
  162. package/lib/operator_intelligence.js +0 -407
  163. package/lib/outreach_copy_pack.js +0 -51
  164. package/lib/outreach_message_pack.js +0 -71
  165. package/lib/outreach_proof.js +0 -71
  166. package/lib/outreach_target_pack.js +0 -60
  167. package/lib/partner_intelligence.js +0 -105
  168. package/lib/payment_config.js +0 -257
  169. package/lib/payment_front_registry.js +0 -53
  170. package/lib/payment_protocol_contract.js +0 -165
  171. package/lib/payment_rail_truth_contract.js +0 -324
  172. package/lib/payment_verification.js +0 -357
  173. package/lib/phase_10_closeout_pack.js +0 -45
  174. package/lib/phase_10_completion_pack.js +0 -76
  175. package/lib/phase_10_decision_record_pack.js +0 -54
  176. package/lib/phase_10_decision_resolution_pack.js +0 -53
  177. package/lib/phase_10_demand_signal_adapters_runtime_pack.js +0 -74
  178. package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +0 -74
  179. package/lib/phase_10_freeze_baseline_pack.js +0 -67
  180. package/lib/phase_10_freeze_review_pack.js +0 -64
  181. package/lib/phase_10_gate_pack.js +0 -57
  182. package/lib/phase_10_long_tail_continuity_pack.js +0 -80
  183. package/lib/phase_10_long_tail_ecosystem_pack.js +0 -66
  184. package/lib/phase_10_niche_extension_registry_runtime_pack.js +0 -74
  185. package/lib/phase_1_claude_mcp_pack.js +0 -60
  186. package/lib/phase_1_claude_mcp_runtime_pack.js +0 -52
  187. package/lib/phase_1_ecosystem_pack.js +0 -67
  188. package/lib/phase_1_openai_codex_pack.js +0 -60
  189. package/lib/phase_1_openai_codex_runtime_pack.js +0 -52
  190. package/lib/phase_2_base_runtime_pack.js +0 -71
  191. package/lib/phase_2_base_usdc_runtime_pack.js +0 -72
  192. package/lib/phase_2_closeout_pack.js +0 -65
  193. package/lib/phase_2_completion_pack.js +0 -113
  194. package/lib/phase_2_decision_record_pack.js +0 -66
  195. package/lib/phase_2_decision_resolution_pack.js +0 -69
  196. package/lib/phase_2_eth_runtime_pack.js +0 -70
  197. package/lib/phase_2_evm_base_runtime_pack.js +0 -73
  198. package/lib/phase_2_evm_runtime_pack.js +0 -71
  199. package/lib/phase_2_flip_preview_pack.js +0 -60
  200. package/lib/phase_2_freeze_review_pack.js +0 -99
  201. package/lib/phase_2_gate_pack.js +0 -77
  202. package/lib/phase_2_payment_rails_pack.js +0 -71
  203. package/lib/phase_2_usdc_runtime_pack.js +0 -71
  204. package/lib/phase_3_brc_runtime_pack.js +0 -81
  205. package/lib/phase_3_bsv_teranode_runtime_pack.js +0 -83
  206. package/lib/phase_3_closeout_pack.js +0 -62
  207. package/lib/phase_3_completion_pack.js +0 -94
  208. package/lib/phase_3_decision_record_pack.js +0 -64
  209. package/lib/phase_3_decision_resolution_pack.js +0 -69
  210. package/lib/phase_3_freeze_baseline_pack.js +0 -67
  211. package/lib/phase_3_freeze_review_pack.js +0 -80
  212. package/lib/phase_3_gate_pack.js +0 -76
  213. package/lib/phase_3_metanet_runtime_pack.js +0 -81
  214. package/lib/phase_3_native_bsv_pack.js +0 -91
  215. package/lib/phase_3_native_continuity_pack.js +0 -82
  216. package/lib/phase_4_attestation_runtime_pack.js +0 -75
  217. package/lib/phase_4_closeout_pack.js +0 -45
  218. package/lib/phase_4_completion_pack.js +0 -94
  219. package/lib/phase_4_decision_record_pack.js +0 -54
  220. package/lib/phase_4_decision_resolution_pack.js +0 -45
  221. package/lib/phase_4_erc8004_runtime_pack.js +0 -76
  222. package/lib/phase_4_freeze_baseline_pack.js +0 -67
  223. package/lib/phase_4_freeze_review_pack.js +0 -68
  224. package/lib/phase_4_gate_pack.js +0 -58
  225. package/lib/phase_4_identity_registry_runtime_pack.js +0 -75
  226. package/lib/phase_4_identity_trust_pack.js +0 -73
  227. package/lib/phase_4_trust_continuity_pack.js +0 -86
  228. package/lib/phase_5_antelope_runtime_pack.js +0 -76
  229. package/lib/phase_5_closeout_pack.js +0 -44
  230. package/lib/phase_5_completion_pack.js +0 -82
  231. package/lib/phase_5_constellation_dag_runtime_pack.js +0 -76
  232. package/lib/phase_5_decision_record_pack.js +0 -54
  233. package/lib/phase_5_decision_resolution_pack.js +0 -45
  234. package/lib/phase_5_digibyte_dgb_runtime_pack.js +0 -76
  235. package/lib/phase_5_freeze_baseline_pack.js +0 -67
  236. package/lib/phase_5_freeze_review_pack.js +0 -68
  237. package/lib/phase_5_gate_pack.js +0 -58
  238. package/lib/phase_5_hedera_hbar_runtime_pack.js +0 -76
  239. package/lib/phase_5_kaspa_kas_runtime_pack.js +0 -76
  240. package/lib/phase_5_major_rails_continuity_pack.js +0 -86
  241. package/lib/phase_5_major_rails_pack.js +0 -110
  242. package/lib/phase_5_metal_runtime_pack.js +0 -76
  243. package/lib/phase_5_polkadot_dot_runtime_pack.js +0 -76
  244. package/lib/phase_5_proton_xpr_runtime_pack.js +0 -76
  245. package/lib/phase_5_solana_runtime_pack.js +0 -76
  246. package/lib/phase_6_autogen_runtime_pack.js +0 -72
  247. package/lib/phase_6_closeout_pack.js +0 -46
  248. package/lib/phase_6_completion_pack.js +0 -77
  249. package/lib/phase_6_decision_record_pack.js +0 -54
  250. package/lib/phase_6_decision_resolution_pack.js +0 -53
  251. package/lib/phase_6_framework_continuity_pack.js +0 -81
  252. package/lib/phase_6_framework_runtime_pack.js +0 -68
  253. package/lib/phase_6_freeze_baseline_pack.js +0 -68
  254. package/lib/phase_6_freeze_review_pack.js +0 -65
  255. package/lib/phase_6_gate_pack.js +0 -59
  256. package/lib/phase_6_langchain_runtime_pack.js +0 -72
  257. package/lib/phase_6_langgraph_runtime_pack.js +0 -72
  258. package/lib/phase_6_semantic_kernel_runtime_pack.js +0 -72
  259. package/lib/phase_7_closeout_pack.js +0 -45
  260. package/lib/phase_7_completion_pack.js +0 -85
  261. package/lib/phase_7_decision_record_pack.js +0 -53
  262. package/lib/phase_7_decision_resolution_pack.js +0 -53
  263. package/lib/phase_7_event_system_continuity_pack.js +0 -89
  264. package/lib/phase_7_event_system_pack.js +0 -76
  265. package/lib/phase_7_freeze_baseline_pack.js +0 -74
  266. package/lib/phase_7_freeze_review_pack.js +0 -65
  267. package/lib/phase_7_gate_pack.js +0 -58
  268. package/lib/phase_7_kafka_runtime_pack.js +0 -74
  269. package/lib/phase_7_mqtt_runtime_pack.js +0 -74
  270. package/lib/phase_7_nats_runtime_pack.js +0 -74
  271. package/lib/phase_7_webhook_event_bus_runtime_pack.js +0 -74
  272. package/lib/phase_8_closeout_pack.js +0 -46
  273. package/lib/phase_8_completion_pack.js +0 -82
  274. package/lib/phase_8_decision_record_pack.js +0 -54
  275. package/lib/phase_8_decision_resolution_pack.js +0 -53
  276. package/lib/phase_8_external_receipt_import_runtime_pack.js +0 -74
  277. package/lib/phase_8_external_result_import_runtime_pack.js +0 -74
  278. package/lib/phase_8_freeze_baseline_pack.js +0 -71
  279. package/lib/phase_8_freeze_review_pack.js +0 -64
  280. package/lib/phase_8_gate_pack.js +0 -58
  281. package/lib/phase_8_proof_bridge_continuity_pack.js +0 -86
  282. package/lib/phase_8_proof_bridges_pack.js +0 -72
  283. package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +0 -74
  284. package/lib/phase_9_closeout_pack.js +0 -46
  285. package/lib/phase_9_completion_pack.js +0 -82
  286. package/lib/phase_9_custody_refs_runtime_pack.js +0 -74
  287. package/lib/phase_9_decision_record_pack.js +0 -54
  288. package/lib/phase_9_decision_resolution_pack.js +0 -53
  289. package/lib/phase_9_freeze_baseline_pack.js +0 -71
  290. package/lib/phase_9_freeze_review_pack.js +0 -64
  291. package/lib/phase_9_gate_pack.js +0 -58
  292. package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +0 -74
  293. package/lib/phase_9_treasury_connectivity_pack.js +0 -72
  294. package/lib/phase_9_treasury_continuity_pack.js +0 -86
  295. package/lib/phase_9_treasury_destinations_runtime_pack.js +0 -74
  296. package/lib/phase_program_pack.js +0 -120
  297. package/lib/pricing_optimization_contract.js +0 -775
  298. package/lib/protocol_lane_contract.js +0 -117
  299. package/lib/provenance_lane_contract.js +0 -54
  300. package/lib/provider_lane_contract.js +0 -240
  301. package/lib/provider_network_contract.js +0 -149
  302. package/lib/provider_payout_execution.js +0 -155
  303. package/lib/provider_registry.js +0 -852
  304. package/lib/provider_runtime_journey_contract.js +0 -183
  305. package/lib/public_surface_policy_contract.js +0 -111
  306. package/lib/publish_plan.js +0 -51
  307. package/lib/rate_limiter.js +0 -81
  308. package/lib/record_queries.js +0 -48
  309. package/lib/release_candidate.js +0 -50
  310. package/lib/release_center.js +0 -1093
  311. package/lib/release_history.js +0 -205
  312. package/lib/release_manifest.js +0 -113
  313. package/lib/release_pack.js +0 -453
  314. package/lib/request_rate_limit.js +0 -144
  315. package/lib/resource_views.js +0 -31
  316. package/lib/revenue_launch_path_contract.js +0 -326
  317. package/lib/route_matchers.js +0 -34
  318. package/lib/route_params.js +0 -19
  319. package/lib/runtime_bridge.js +0 -124
  320. package/lib/runtime_operations_worker.js +0 -282
  321. package/lib/runtime_state_store.js +0 -495
  322. package/lib/settlement_bsv_live.js +0 -600
  323. package/lib/settlement_bsv_teranode.js +0 -117
  324. package/lib/settlement_lane_contract.js +0 -111
  325. package/lib/shared_signals_lane_contract.js +0 -54
  326. package/lib/signed_audit_provenance_contract.js +0 -83
  327. package/lib/soft_launch_pack.js +0 -78
  328. package/lib/stablecoin_lane_contract.js +0 -76
  329. package/lib/stripe_mpp_lane_contract.js +0 -96
  330. package/lib/stripe_mpp_payment_front.js +0 -258
  331. package/lib/telemetry_lane_contract.js +0 -54
  332. package/lib/treasury_destinations_contract.js +0 -764
  333. package/lib/treasury_egress_policy_contract.js +0 -91
  334. package/lib/treasury_lane_contract.js +0 -84
  335. package/lib/trust_portability_boundary_contract.js +0 -72
  336. package/lib/x402_facilitator.js +0 -198
  337. package/lib/x402_lane_contract.js +0 -136
  338. package/lib/x402_settlement_recovery.js +0 -175
  339. package/scripts/buyer_events_daily_report.js +0 -79
  340. package/scripts/registry_cli.js +0 -275
  341. package/scripts/state_backup_offsite.js +0 -196
  342. package/scripts/verify_a2a_rpc.js +0 -131
  343. package/scripts/verify_adapters.js +0 -554
  344. package/scripts/verify_agent_identity.js +0 -153
  345. package/scripts/verify_all.js +0 -4963
  346. package/scripts/verify_bolt_adapter.js +0 -128
  347. package/scripts/verify_buyer_event_log.js +0 -128
  348. package/scripts/verify_buyer_safety.js +0 -141
  349. package/scripts/verify_cdp_facilitator.js +0 -110
  350. package/scripts/verify_checkout_processor.js +0 -109
  351. package/scripts/verify_commerce_bridge.js +0 -177
  352. package/scripts/verify_control_plane_contracts.js +0 -34
  353. package/scripts/verify_control_plane_routes.js +0 -70
  354. package/scripts/verify_delivery_summary.js +0 -112
  355. package/scripts/verify_examples.js +0 -19
  356. package/scripts/verify_execution_dedupe.js +0 -189
  357. package/scripts/verify_execution_surfacing.js +0 -76
  358. package/scripts/verify_external_execution_retry.js +0 -140
  359. package/scripts/verify_final_activation.js +0 -191
  360. package/scripts/verify_first_run_conversions.js +0 -81
  361. package/scripts/verify_framework_provider_promotion.js +0 -152
  362. package/scripts/verify_full_catalog.js +0 -174
  363. package/scripts/verify_integrations.js +0 -620
  364. package/scripts/verify_l402_adapter.js +0 -86
  365. package/scripts/verify_lifecycle_continuity.js +0 -96
  366. package/scripts/verify_lifecycle_spend_binding.js +0 -88
  367. package/scripts/verify_market_lane_depth.js +0 -94
  368. package/scripts/verify_market_lane_promotion.js +0 -103
  369. package/scripts/verify_market_lane_traces.js +0 -98
  370. package/scripts/verify_market_lanes.js +0 -102
  371. package/scripts/verify_mpp_adapter.js +0 -128
  372. package/scripts/verify_operator_observability_boundary.js +0 -83
  373. package/scripts/verify_pricing_experiment_plan.js +0 -124
  374. package/scripts/verify_production_readiness.js +0 -268
  375. package/scripts/verify_provider_network.js +0 -819
  376. package/scripts/verify_provider_runtime_breadth.js +0 -109
  377. package/scripts/verify_provider_runtime_journeys.js +0 -111
  378. package/scripts/verify_rate_limiter.js +0 -52
  379. package/scripts/verify_refund_credit.js +0 -106
  380. package/scripts/verify_revenue_launch_paths.js +0 -105
  381. package/scripts/verify_runtime_durability.js +0 -52
  382. package/scripts/verify_runtime_state_guard.js +0 -117
  383. package/scripts/verify_service.js +0 -15421
  384. package/scripts/verify_settlement.js +0 -116
  385. package/scripts/verify_tooling.js +0 -1412
  386. package/scripts/verify_treasury_public_boundary.js +0 -97
  387. package/scripts/verify_verify_execute_settle.js +0 -209
  388. package/scripts/verify_x402_facilitator.js +0 -307
  389. package/scripts/verify_x402_settlement_recovery.js +0 -153
  390. package/server.js +0 -12245
package/README.md CHANGED
@@ -1,135 +1,163 @@
1
1
  # xytara
2
2
 
3
+ **Client for the hosted naxytra runtime.** naxytra is a pay-per-call runtime for AI agents: an
4
+ agent discovers a capability, pays once with x402 (gasless USDC on Base) or spends credits, gets a
5
+ real deliverable, and receives a signed delivery receipt it can verify offline. The same runtime is
6
+ exposed as a pay-per-call MCP server. The proof-side half of the stack is
7
+ [xoonya](https://naxytra.com/xoonya).
8
+
9
+ > The runtime is a hosted service; this package is the client. The server is not distributed.
10
+
3
11
  Listed on [Smithery](https://smithery.ai/server/naxytra/xytara-mcp-executor) · [Glama](https://glama.ai/mcp/servers/naxytra/xytara-mcp-executor) · the official MCP registry (`com.naxytra/xytara-mcp-executor`).
4
12
 
5
- **x402 pay-per-call agent-commerce runtime** — the payment and execution layer of the naxytra
6
- machine stack. An agent discovers a capability, pays once with x402 (gasless USDC on Base), and gets
7
- a real deliverable, settled on-chain, with the revenue split reconciled in the ledger and paid out
8
- on-chain, plus a signed delivery receipt. The proof-side half is
9
- [xoonya](https://naxytra.com/xoonya).
13
+ ## What you get
10
14
 
11
- ## Proven live on Base mainnet
15
+ | Hosted surface | URL |
16
+ | --- | --- |
17
+ | Runtime (paid command path, credits, catalog, receipts) | `https://xytara.onrender.com` |
18
+ | Pay-per-call MCP server (Streamable HTTP) | `https://xytara-mcp-executor.onrender.com/mcp` |
19
+ | Website, agent guide, quickstart | `https://www.naxytra.com` · [/agents](https://www.naxytra.com/agents) · [/quickstart](https://www.naxytra.com/quickstart) |
12
20
 
13
- All demonstrated end to end on Base mainnet (provider-payout transactions are publicly verifiable —
14
- see **Proof** below):
21
+ This package ships:
15
22
 
16
- - **Open settling provider network** — a paid x402 call routes to an independently-registered
17
- execution provider, returns a real deliverable, and splits revenue — reconciled in the ledger and
18
- paid out on-chain (platform keeps the remainder).
19
- - **Automated on-chain provider payouts** — a key-less runtime dispatches to an external signer that
20
- sends USDC on Base; reconciled, idempotent, double-pay-safe.
21
- - **Cryptographic bounded delegated spend** — a stolen bearer token cannot spend; each spend requires
22
- a fresh ed25519 signature bound to the exact account, amount, and task.
23
- - **Pay-per-call MCP** — 17 deterministic tools at a public endpoint, no API keys, no account.
23
+ - `CommerceClient` — discover the catalog, quote, run the paid command path, read results
24
+ - the delivery-receipt verifier — `verifyDeliveryReceipt`, `canonicalize`, `hashCanonical`, `keyRef`
25
+ - x402 header helpers — `encodeX402PaymentHeader`, `decodeX402Header`
26
+ - the `xytara` / `xytara-run` CLIs (quote-only first, then funded execution)
27
+ - `endpoints` (runtime, mcp, website) and `version`
24
28
 
25
- ## Pay-per-call MCP (the easy on-ramp)
29
+ Nothing in this package runs a runtime: no server, no payment or settlement engine, no routing,
30
+ no state store, no operator tooling.
26
31
 
27
- The public MCP executor is a genuine pay-per-call endpoint:
32
+ ## Install
28
33
 
29
- ```
30
- endpoint: https://xytara-mcp-executor.onrender.com/mcp
31
- tools/list -> free (17 deterministic tools)
32
- tools/call -> 402 Payment Required with a price
33
- -> sign ONE gasless USDC authorization (x402 / EIP-3009)
34
- -> the Coinbase CDP facilitator verifies it; the tool runs
35
- -> only if the tool succeeds is the payment settled on Base (a failed call is not charged)
36
- -> the response carries the result, the on-chain settlement receipt, and a signed
37
- delivery receipt in result._meta["naxytra.com/delivery-receipt"]
34
+ ```bash
35
+ npm install xytara
38
36
  ```
39
37
 
40
- ## Signed delivery receipts
38
+ Node >= 18 (built-in `fetch` and `node:crypto`), no dependencies.
41
39
 
42
- Every paid call returns a `naxytra-delivery-receipt/1`: the payment leg (for x402, the network,
43
- asset, amount, payer, pay_to, and settlement transaction), the provider that delivered, and the
44
- SHA-256 of the canonical request and of the delivered output — signed over its JCS (RFC 8785)
45
- canonical form with Ed25519, plus ML-DSA-65 (FIPS-204) where the issuer has a post-quantum key. The
46
- signed suite is part of the signed bytes, so stripping a signature fails verification.
40
+ ## Quickstart (CLI)
47
41
 
42
+ ```bash
43
+ xytara start-here # the shortest first-run path
44
+ xytara first-run # guided quote -> pay/credits -> execute -> prove
45
+ xytara run --help
48
46
  ```
49
- GET /.well-known/delivery-receipt-keys # the issuer's public keys (pin them)
50
- GET /v1/delivery-receipts/:receipt_id # fetch a receipt the runtime issued
51
- POST /v1/delivery-receipts/verify # free signature check
47
+
48
+ Quote first, with no wallet material at all:
49
+
50
+ ```bash
51
+ xytara-run --url https://xytara.onrender.com --account ACCOUNT_REF \
52
+ --task adapter.mcp.invoke --command mcp.invoke:summarize \
53
+ --body-json "{\"tool_name\":\"summarize\",\"arguments\":{\"text\":\"Summarize the naxytra first-run path in one sentence.\"}}" \
54
+ --quote-only --pretty
52
55
  ```
53
56
 
54
- Verify independently: recompute `sha256(JCS(output you received))`, check the settlement
55
- transaction on-chain, and verify each signature over the canonical bytes with `node:crypto` or
56
- xoonya's `verifyExternalProofSignature` (the receipt's `kid` is the key ref xoonya reports).
57
- A receipt proves who delivered what for which paid call, unaltered since signing — **not** whether
58
- the output was correct or good.
57
+ ## Quickstart (CommerceClient)
59
58
 
60
- Tools: `summarize`, `text.extract`, `html.to-text`, `text.chunk`, `json.validate`, `zones.lookup`,
61
- `keccak256`, `address.validate`, `abi.encode`, `abi.decode`, `merkle.verify`, `eip712.hash`,
62
- `x402.decode`, `x402.verify-receipt`, `tx.status`, `reply.draft`, `catalog`.
59
+ Discover, get the 402 challenge, pay with one x402 authorization, receive the result and the receipt.
63
60
 
64
- ## Install
61
+ ```js
62
+ const { CommerceClient, encodeX402PaymentHeader, verifyDeliveryReceipt, hashCanonical, endpoints } = require("xytara");
65
63
 
66
- ```bash
67
- npm install xytara
68
- ```
64
+ const client = new CommerceClient({ baseUrl: endpoints.runtime, accountId: "acct_your_agent" });
65
+ const task = await client.getTask("adapter.mcp.invoke"); // 1. discover
66
+ const payload = { command: "mcp.invoke:summarize", task_ref: task.task_ref,
67
+ body: { tool_name: "summarize", arguments: { text: "Summarize this." } } };
69
68
 
70
- ## Quickstart
69
+ const challenge = await client.previewExecutionQuote(payload, { instant: true }); // 2. 402 challenge
70
+ const accepted = challenge.accepts[0]; // { scheme, network, asset, amount, payTo, extra }
71
71
 
72
- ```bash
73
- xytara start-here # the shortest first-run path
74
- xytara first-run # guided discover -> quote -> pay -> execute -> prove
75
- xytara run --help
76
- npm start # run the xytara runtime yourself (see .env.example)
72
+ // 3. Sign ONE EIP-3009 TransferWithAuthorization for `accepted` with your wallet (viem, ethers,
73
+ // or a hosted signer): domain { name: accepted.extra.name, version: accepted.extra.version,
74
+ // chainId, verifyingContract: accepted.asset }, message { from, to: accepted.payTo,
75
+ // value: accepted.amount, validAfter, validBefore, nonce }. Then send it as the payment header.
76
+ const paymentHeader = encodeX402PaymentHeader({ accepted, authorization, signature });
77
+ const paid = await client.postJson("/x402/commands/execute", { "payment-signature": paymentHeader },
78
+ { account_id: client.accountId, ...payload, quote_id: challenge.quote.quote_id });
79
+
80
+ const output = paid.data.command.deliverables[0].output_payload; // 4. result
81
+ const receipt = paid.data.delivery_receipt; // + signed receipt
82
+ const keys = (await client.getJson("/.well-known/delivery-receipt-keys")).data.keys;
83
+ console.log(verifyDeliveryReceipt(receipt, keys).valid, hashCanonical(output) === receipt.delivery.output_sha256);
77
84
  ```
78
85
 
79
- ## What it does
86
+ The payment is settled on Base only if the call succeeds; a failed call is not charged. The
87
+ settled transaction comes back in the `PAYMENT-RESPONSE` header (`decodeX402Header`) and inside
88
+ `receipt.payment.settlement_tx`.
80
89
 
81
- - discover tasks and workflows, and quote work before execution
82
- - pay via x402 (gasless USDC on Base) or spend from reusable credits
83
- - route to an execution provider and receive the deliverable
84
- - meter usage, reconcile settlement, and handle refunds/disputes
85
- - integrate third-party adapters; emit proof-compatible facts for xoonya verification
90
+ Credits instead of a signature per call: `POST /x402/credits/topup` returns the same kind of 402
91
+ challenge; pay it once and the response carries a spend credential. Then call
92
+ `/x402/commands/execute` with `payment_preference: "credits_first"` and
93
+ `Authorization: Bearer <spend_credential.bearer_token>`.
86
94
 
87
- xytara owns execution, quoting, payment, delivery, lifecycle, and integration. It emits
88
- proof-compatible facts; canonical proof lives in [xoonya](https://naxytra.com/xoonya).
95
+ ## Pricing
89
96
 
90
- ## The open provider network
97
+ - **$0.01 USDC per call** on Base mainnet (`eip155:8453`); **$0.001** on Base Sepolia (`eip155:84532`).
98
+ - **Credits:** $1.00 buys 400 credits (mainnet only); one credit per call unit as quoted.
99
+ - Executable task refs today: `adapter.mcp.invoke` and `adapter.xoonya.invoke`. Everything else in
100
+ the catalog is discoverable and quotable but not executable.
101
+ - Settlement runs through the x402 facilitator lane (gasless for the payer, USDC on Base). Other
102
+ assets and networks (for example USD₮ or Celo) are not live.
91
103
 
92
- Any execution provider can plug in. Register an endpoint that serves one or more capabilities; once
93
- the operator activates it, the runtime routes paid (x402-settled) agent calls to your `/execute`,
94
- surfaces your output as the buyer's deliverable, splits the revenue, and reconciles a payout ledger.
95
- The machine-readable integration contract is public:
104
+ ## Pay-per-call MCP
96
105
 
97
106
  ```
98
- GET /v1/provider-network/contract # how to integrate (fields, routing, economics, lifecycle)
99
- GET /v1/provider-network/providers # public discovery
100
- POST /v1/provider-network/register # register your provider
107
+ endpoint: https://xytara-mcp-executor.onrender.com/mcp
108
+ tools/list -> free
109
+ tools/call -> 402 Payment Required with a price
110
+ -> sign ONE gasless USDC authorization (x402 / EIP-3009)
111
+ -> the facilitator verifies it; the tool runs
112
+ -> only if the tool succeeds is the payment settled on Base
113
+ -> the response carries the result, the settlement receipt, and a signed
114
+ delivery receipt in result._meta["naxytra.com/delivery-receipt"]
101
115
  ```
102
116
 
103
- Routing is health-aware with reputation-weighted ordering and in-request failover on
104
- provably-not-processed failures only (no double-execution).
117
+ Point any MCP client at the endpoint; the public integration guide is
118
+ [github.com/naxytra/naxytra-mcp](https://github.com/naxytra/naxytra-mcp).
105
119
 
106
- ## Payment rails
120
+ ## Signed delivery receipts
107
121
 
108
- x402 (gasless USDC on Base, via the Coinbase CDP facilitator) is the proven pay-per-call rail; A2A,
109
- A2C, and BOLT (BSV) are also supported. Treasury settlement destinations are configured privately by
110
- the operator — real treasury and custody details are never in public surfaces.
122
+ Every paid call returns a `naxytra-delivery-receipt/1`: the payment leg (network, asset, amount,
123
+ payer, pay_to, settlement transaction), the provider that delivered, and the SHA-256 of the
124
+ canonical request and of the delivered output — signed over its JCS (RFC 8785) canonical form with
125
+ Ed25519, plus ML-DSA-65 (FIPS-204) where the issuer holds a post-quantum key. The signed suite is
126
+ part of the signed bytes, so stripping a signature fails verification. Ed25519 and ML-DSA-65 are
127
+ the only algorithms in use.
111
128
 
112
- ## Honesty & boundaries
129
+ ```js
130
+ const { verifyDeliveryReceipt, hashCanonical, verificationRecipe } = require("xytara");
113
131
 
114
- The runtime is **key-less**: payout auto-execution is a deliberate custody decision handled by an
115
- external signer that holds the treasury key, never a key in the runtime. xytara emits
116
- proof-compatible facts but does not define proof semantics — that is [xoonya](https://naxytra.com/xoonya).
132
+ const keys = (await fetch("https://xytara.onrender.com/.well-known/delivery-receipt-keys").then((r) => r.json())).keys;
133
+ const result = verifyDeliveryReceipt(receipt, keys); // { valid, signatures: [{ alg, kid, valid }], ... }
134
+ const outputMatches = hashCanonical(outputYouReceived) === receipt.delivery.output_sha256;
135
+ console.log(verificationRecipe("/.well-known/delivery-receipt-keys").steps);
136
+ ```
117
137
 
118
- ## Proof
138
+ ```
139
+ GET /.well-known/delivery-receipt-keys # the issuer's public keys (pin them)
140
+ GET /v1/delivery-receipts/:receipt_id # fetch a receipt the runtime issued
141
+ POST /v1/delivery-receipts/verify # free signature check
142
+ ```
119
143
 
120
- Automated provider payouts, verifiable on Base mainnet (Basescan):
121
- `0x264be245f6d58c0251bc1d9cbd124fdc46ad73ed746d7a07e750c522c37cac5b`,
122
- `0x6aff9701556fe00cfb076f36a0cc27296619f1539d0c39242e98123abc288caa`,
123
- `0xdba7cfef18e46da2cbb9a87a087df9fa1c790793bd9ab1034febe244d4565f36`.
144
+ A receipt proves who delivered what for which paid call, unaltered since signing — **not** whether
145
+ the output was correct or good. Check the settlement transaction on-chain yourself.
146
+
147
+ ## Verify the package
148
+
149
+ ```bash
150
+ npm run verify:release-candidate # offline: package surface, receipts, the paid path against a local stub, the CLIs
151
+ npm run verify:client
152
+ ```
124
153
 
125
- ## Learn more
154
+ ## Links
126
155
 
127
- - Why two packages: [`WHY_XYTARA_XOONYA.md`](./WHY_XYTARA_XOONYA.md)
128
- - Payment rail model: [`XYTARA_PAYMENT_RAIL_TRUTH_MODEL.md`](./XYTARA_PAYMENT_RAIL_TRUTH_MODEL.md)
129
- - Real payment setup: [`REAL_PAYMENT_SETUP.md`](./REAL_PAYMENT_SETUP.md)
130
- - Start here: [`START_HERE.md`](./START_HERE.md) · terminology: [`TERMINOLOGY.md`](./TERMINOLOGY.md)
131
- - Live: https://naxytra.com/xytara · MCP endpoint: https://xytara-mcp-executor.onrender.com/mcp
156
+ - Agent guide: https://www.naxytra.com/agents · quickstart: https://www.naxytra.com/quickstart
157
+ - MCP integration guide: https://github.com/naxytra/naxytra-mcp
158
+ - Proof side: [xoonya](https://naxytra.com/xoonya) · start here: [`START_HERE.md`](./START_HERE.md)
132
159
 
133
160
  ## License
134
161
 
135
- Apache-2.0. See [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE).
162
+ Apache-2.0 for this client package. See [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE). The hosted
163
+ runtime is a proprietary service.
package/RELEASE_NOTES.md CHANGED
@@ -1,4 +1,9 @@
1
- `xytara` 3.1.17 makes the pay-per-call MCP server more tolerant of real-world MCP clients.
1
+ `xytara` 3.2.0 turns the npm package into a thin client for the hosted naxytra runtime. The runtime is a hosted service; this package is the client. The server is not distributed.
2
2
 
3
- - **Optional methods answered** — `logging/setLevel` is accepted (the server emits no log notifications) and `completion/complete` returns an empty completion, both declared in the server's capabilities, so clients that call them unconditionally no longer get "method not found". Paid tool calls are unchanged.
3
+ - **What the package now contains** — `client.js` (the entry), the buyer-side `CommerceClient`, the delivery-receipt verifier, the `xytara` / `xytara-run` CLIs, two offline verification scripts, and the docs. Nothing else: no server, no payment or settlement engine, no routing, no state store, no fixtures, adapters, integrations or operator tooling.
4
+ - **`require("xytara")` is now the client surface** — `CommerceClient` and the commerce helpers as before, plus `verifyDeliveryReceipt`, `canonicalize`, `hashCanonical`, `keyRef`, `verificationRecipe`, `RECEIPT_VERSION`, the x402 header helpers `encodeX402PaymentHeader` / `decodeX402Header`, an `endpoints` constant (runtime, mcp, website) and `version`. An `exports` map keeps `xytara`, `xytara/client`, `xytara/lib/commerce_client`, `xytara/lib/delivery_receipt_verify`, `xytara/bin/*` and `xytara/package.json` resolvable.
5
+ - **Delivery-receipt verification stands alone** — the verification side of `naxytra-delivery-receipt/1` (JCS canonical form, hashes, key refs, verifier, recipe) ships as `lib/delivery_receipt_verify.js`; issuing and signing stay in the hosted runtime and MCP executor.
6
+ - **CLI** — `xytara release` is no longer part of the package (it prints a notice and exits 2); `xytara-release` is gone from `bin`. `xytara start-here`, `xytara first-run` and `xytara-run` are unchanged.
7
+ - **Release gate** — `npm run verify:release-candidate` now runs with Node built-ins only, asserts the published tarball contains exactly the thin client file list, and runs `scripts/verify_client.js`: an offline check of the package surface, receipt verification (genuine, tampered, stripped, unsigned, untrusted key), the paid command path against a local stub of the runtime (discover, 402 challenge with x402 accepts, paid 200 with a signed receipt), and the CLIs. It also runs inside an installed `node_modules/xytara`.
8
+ - **Docs** — README and START_HERE rewritten for the client: hosted endpoints, pricing ($0.01 USDC per call on Base mainnet, $0.001 on Base Sepolia, credits $1.00 = 400), a `CommerceClient` walk-through from discover to a verified receipt, and the public MCP integration guide. Self-hosting text, `npm start` and `.env.example` are gone.
4
9
  - Published through npm trusted publishing (GitHub OIDC) — no npm token involved.
package/START_HERE.md CHANGED
@@ -1,272 +1,104 @@
1
1
  # xytara Start Here
2
2
 
3
- This is the shortest reliable path for understanding and using the public `xytara` package in production-facing order.
3
+ The shortest reliable path to a first paid call on the hosted naxytra runtime with the `xytara`
4
+ client package.
4
5
 
5
- The phase program is now complete, so this file is the right starting point for a closed and release-shaped runtime rather than an in-flight milestone build.
6
+ The runtime is a hosted service; this package is the client. The server is not distributed.
6
7
 
7
- The synchronized `3.0.0` launch line shipped and is live. The current public line is the synchronized security and stability release described in RELEASE_NOTES.md; operator write surfaces fail closed and payment acceptance defaults to signed verification, so configure the operator tokens and a wallet registry before expecting paid or operator flows to work.
8
+ ## 1. The role
8
9
 
9
- ## 1. Understand The Role
10
+ `xytara` is the transaction-side client of the public stack. It lets an agent:
10
11
 
11
- `xytara` is the transaction-side half of the public stack.
12
+ 1. discover a machine capability from the hosted catalog
13
+ 2. quote the call before paying anything
14
+ 3. pay once with x402 (gasless USDC on Base) or spend credits
15
+ 4. receive the deliverable and a signed delivery receipt
16
+ 5. hand the result into `xoonya` for proof review
12
17
 
13
- Its job is to let a caller:
14
-
15
- 1. discover a machine capability
16
- 2. quote or preview the path
17
- 3. execute through the default transaction flow
18
- 4. inspect result and lifecycle state
19
- 5. hand the result into `xoonya` for proof-native completion
20
-
21
- ## 2. Run The Fastest Real Example
22
-
23
- For an outside builder, the shortest public spine is:
18
+ Public first-run spine:
24
19
 
25
20
  ```text
26
21
  quote -> pay/credits -> execute -> prove
27
22
  ```
28
23
 
29
- Open:
24
+ ## 2. Hosted endpoints
30
25
 
31
26
  ```text
32
- https://www.naxytra.com/v1/first-run-path
33
- https://www.naxytra.com/v1/first-run-kit
27
+ runtime: https://xytara.onrender.com
28
+ POST /x402/commands/execute paid command path (402 challenge -> paid 200)
29
+ POST /x402/credits/topup buy credits once, spend them per call
30
+ GET /v1/catalog discover tasks
31
+ GET /.well-known/delivery-receipt-keys
32
+ POST /v1/delivery-receipts/verify
33
+ mcp: https://xytara-mcp-executor.onrender.com/mcp
34
+ website: https://www.naxytra.com (/agents, /quickstart, /v1/first-run-path, /v1/first-run-kit)
34
35
  ```
35
36
 
36
- The first safe runtime command is quote-only:
37
-
38
- ```bash
39
- xytara first-run --run-quote --account ACCOUNT_REF --pretty
40
- ```
37
+ Price: $0.01 USDC per call on Base mainnet, $0.001 on Base Sepolia. Credits: $1.00 = 400.
38
+ Executable task refs: `adapter.mcp.invoke`, `adapter.xoonya.invoke`.
41
39
 
42
- The underlying command is:
40
+ ## 3. First run
43
41
 
44
42
  ```bash
45
- xytara-run --url https://xytara.onrender.com --account ACCOUNT_REF --task adapter.mcp.invoke --command mcp.invoke:summarize --body-json "{\"tool_name\":\"summarize\",\"arguments\":{\"text\":\"Summarize the naxytra first-run path in one sentence.\"}}" --quote-only --pretty
43
+ npm install xytara
44
+ xytara start-here
45
+ xytara first-run
46
46
  ```
47
47
 
48
- If you want the frozen machine-readable default-path contract behind those starter commands, inspect:
49
-
50
- ```text
51
- GET /v1/default-path
52
- GET /v1/default-path/summary
53
- ```
48
+ Quote safely first (no wallet material needed):
54
49
 
55
- If you want the frozen machine-readable payment and rail claim boundary behind those execution paths, inspect:
56
-
57
- ```text
58
- GET /v1/payment-rail-truth
59
- GET /v1/payment-rail-truth/summary
60
- ```
61
-
62
- If you want the frozen machine-readable adapter and protocol front claim boundary behind those execution paths, inspect:
63
-
64
- ```text
65
- GET /v1/adapter-protocol-truth
66
- GET /v1/adapter-protocol-truth/summary
50
+ ```bash
51
+ xytara first-run --run-quote --account ACCOUNT_REF --pretty
67
52
  ```
68
53
 
69
- If you want one compressed public surface that exposes the real outside-agent entry, payment breadth, treasury claim boundary, and full-catalog reach in one place, inspect:
54
+ which runs:
70
55
 
71
- ```text
72
- GET /v1/autonomous-entry
73
- GET /v1/autonomous-entry/summary
56
+ ```bash
57
+ xytara-run --url https://xytara.onrender.com --account ACCOUNT_REF --task adapter.mcp.invoke --command mcp.invoke:summarize --body-json "{\"tool_name\":\"summarize\",\"arguments\":{\"text\":\"Summarize the naxytra first-run path in one sentence.\"}}" --quote-only --pretty
74
58
  ```
75
59
 
76
- Then execute with direct signed payment or a credits-first funded account:
60
+ Then execute with a signed x402 payment (see the `CommerceClient` example in README.md) or
61
+ credits-first on a funded account:
77
62
 
78
63
  ```bash
79
64
  xytara first-run --execute-with-credits --account ACCOUNT_REF --pretty
80
65
  ```
81
66
 
82
- Then hand the result into `xoonya` for proof review and verification:
67
+ Then prove with `xoonya`:
83
68
 
84
69
  ```bash
85
70
  xoonya first-run --verify-native --pretty
86
71
  ```
87
72
 
88
- ## 3. Run The Fastest Local Package Example
89
-
90
- Run:
91
-
92
- ```bash
93
- node examples/quickstart.js
94
- ```
95
-
96
- This is the fastest way to see the intended package story end-to-end.
73
+ ## 4. Programmatic use
97
74
 
98
- If you want the clearest cross-repo adoption path instead of the broad package tour, continue with:
99
-
100
- - CARRIED_HANDOFF_DEMO.md
101
-
102
- If you want the shortest neutral external-adoption bundle, continue with:
103
-
104
- - PARTNER_READY_PATH.md
105
- - PUBLIC_DEMO_SCRIPT.md
106
- - EXAMPLE_PATHS.md
107
- - `node examples/partner_launch_walkthrough.js`
108
-
109
- ## 4. Verify The Whole Package
110
-
111
- Run:
112
-
113
- ```bash
114
- npm run verify:all
75
+ ```js
76
+ const { CommerceClient, verifyDeliveryReceipt, endpoints } = require("xytara");
77
+ const client = new CommerceClient({ baseUrl: endpoints.runtime, accountId: "acct_your_agent" });
115
78
  ```
116
79
 
117
- This is the production-confidence check for the published package surface.
80
+ README.md walks through discover -> 402 -> pay with an x402 authorization -> result + receipt, and
81
+ through verifying a receipt offline against the runtime's published keys.
118
82
 
119
- If you are evaluating a real deployment that will use grants, credits, entitlements, or usage meters, also run:
83
+ ## 5. Check the package locally
120
84
 
121
85
  ```bash
122
- npm run verify:production-readiness
86
+ xytara first-run --offline --json
87
+ xytara-run --help
88
+ npm run verify:release-candidate # offline, built-ins only
123
89
  ```
124
90
 
125
- That gate is stricter than local verification and expects:
126
-
127
- - runtime persistence through `XYTARA_STATE_FILE` on persistent disk or `XYTARA_SUPABASE_*`
128
- - signed payment verification with a real wallet registry
129
- - real operator bearer tokens
130
- - treasury destinations configured through `XYTARA_TREASURY_DESTINATIONS_PATH`
131
- - callback signing configured through `XYTARA_CALLBACK_SIGNING_SECRET`
132
- - hosted checkout event verification configured through `XYTARA_CHECKOUT_WEBHOOK_SECRET`
133
- - `L402` ingress verification configured through `XYTARA_L402_SHARED_SECRET` when `XYTARA_L402_ENABLED=true`
134
- - `BOLT` ingress verification configured through `XYTARA_BOLT_SHARED_SECRET` when `XYTARA_BOLT_ENABLED=true`
135
- - `MPP` ingress verification configured through `XYTARA_MPP_SHARED_SECRET` when `XYTARA_MPP_ENABLED=true`
136
- - write-path rate limiting configured and enabled
137
- - execution targets configured through `XYTARA_EXECUTION_TARGETS_JSON` whenever you require provider-backed execution for live sold capabilities
138
- - non-mock native settlement runtime mode
139
-
140
- ## 5. Read The Durable Contract
141
-
142
- For long-term product understanding, read:
143
-
144
- - FINAL_CONTRACT.md
145
- - SERVICE_CONTRACT.md
146
- - `GET /openapi.json`
147
- - `GET /asyncapi.json`
148
- - `GET /cloudevents.json`
149
- - `GET /v1/auth-profiles`
150
- - `GET /v1/identity-interop`
151
- - `GET /v1/providers`
152
- - `GET /v1/frameworks`
153
- - `GET /v1/protocols`
154
- - `GET /v1/integration-matrix`
155
- - `GET /v1/telemetry`
156
- - `GET /v1/provenance`
157
- - `GET /v1/artifact-distribution`
158
- - `GET /v1/shared-signals`
159
- - `GET /v1/feature-control`
160
- - `GET /v1/adapter-certification`
161
- - `GET /v1/trust-portability-boundary`
162
- - `GET /v1/signed-audit-provenance`
163
- - `GET /v1/mcp`
164
- - `GET /v1/a2a`
165
- - `GET /v1/a2c`
166
- - `GET /v1/x402`
167
- - `GET /v1/l402`
168
- - `GET /v1/l402/security`
169
- - `GET /v1/bolt`
170
- - `GET /v1/bolt/security`
171
- - `GET /v1/stripe-mpp`
172
- - `GET /v1/stripe-mpp/security`
173
- - `GET /v1/network-transport`
174
- - `GET /v1/payment-protocols`
175
- - `GET /v1/payment-protocols/strategy`
176
- - `GET /v1/payment-fronts`
177
- - `GET /v1/checkout/events/security`
178
- - `GET /v1/settlement`
179
- - `GET /v1/stripe-mpp`
180
- - `GET /v1/stablecoins`
181
- - `GET /v1/major-rails`
182
- - `GET /v1/treasury`
183
- - `GET /v1/pricing-optimization`
184
- - `GET /v1/pricing-optimization/quote-cohorts`
185
- - `GET /v1/pricing-optimization/recommendations`
186
- - `GET /v1/activity-ledger`
187
- - `GET /v1/treasury-destinations`
188
- - `GET /v1/treasury-destinations/operator-pack`
189
- - `POST /v1/treasury-destinations/validate-preview`
190
- - `GET /v1/treasury-egress-policy`
191
- - `GET /v1/erc8004`
192
- - `GET /v1/event-systems`
193
- - `GET /v1/integrations`
194
- - `GET /v1/capability-registry/execution-truth`
195
- - `GET /v1/capability-registry/execution-truth/summary`
196
- - `GET /v1/xt1`
197
- - `GET /v1/xt1/summary`
198
- - `GET /v1/capability-registry/commercialization-summary`
199
- - `GET /v1/go-live`
200
- - `GET /v1/go-live/summary`
201
- - PROGRAM_STATUS.md
202
- - OPERATOR_START_HERE.md
203
- - OPERATIONS_RUNBOOK.md
204
- - PROGRAM_COMPLETE_RELEASE.md
205
- - WHY_XYTARA_XOONYA.md
206
- - CARRIED_HANDOFF_DEMO.md
207
- - PARTNER_READY_PATH.md
208
- - BSV_TERANODE_PLATFORM_DISCONTINUITY_RUNBOOK.md
209
- - REAL_PAYMENT_SETUP.md
210
- - private treasury source of truth: `your private treasury source-of-truth file outside the repos`
211
- - TERMINOLOGY.md
212
-
213
- ## 6. If You Are Building Adapters
214
-
215
- Continue with:
216
-
217
- - ADAPTER_START_HERE.md
218
- - adapters/AUTHORING_GUIDE.md
219
- - adapters/ONBOARDING_POSTURE.md
220
- - adapters/THIRD_PARTY_SUBMISSION_PROCESS.md
221
-
222
- ## 7. Production Reading Rule
223
-
224
- If you only remember one thing, remember this:
225
-
226
- The main public path is no longer "read every milestone layer."
227
-
228
- It is:
229
-
230
- discover -> preview/quote -> execute -> inspect -> hand off to `xoonya`
231
-
232
- If you want the shortest CLI-first read of the package after install, use:
233
-
234
- - `xytara start-here`
235
- - `xytara release --summary`
236
- - `xytara run --help`
237
-
238
- If you are operationalizing monetization and multi-rail treasury custody, use:
239
-
240
- - `GET /v1/go-live`
241
- - `GET /v1/go-live/summary`
242
- - `GET /v1/pricing-optimization/quote-abandonment-summary`
243
- - `GET /v1/pricing-optimization/quote-cohorts`
244
- - `GET /v1/pricing-optimization/recommendations`
245
- - `GET /v1/treasury-destinations`
246
- - `GET /v1/treasury-destinations/operator-pack`
247
- - `POST /v1/treasury-destinations/validate-preview`
248
- - `GET /v1/treasury-egress-policy`
249
- - `GET /v1/activity-ledger`
250
- - `GET /v1/capability-registry/execution-truth`
251
- - `GET /v1/capability-registry/execution-truth/summary`
252
- - `GET /v1/xt1`
253
- - `GET /v1/xt1/summary`
254
- - `GET /v1/capability-registry/commercialization-summary`
255
-
256
- Public/private rule:
257
-
258
- - `GET /v1/treasury-destinations` is safe for public-readiness visibility
259
- - `GET /v1/treasury-destinations/operator-pack` is where real custody landing refs belong
260
- - public website and public catalog surfaces should never expose treasury landing refs or custody-provider refs
261
- - when `XYTARA_ACCOUNT_AUTH_BEARER_TOKEN` is configured, operator-only routes like `activity-ledger`, `treasury-destinations/operator-pack`, `treasury-destinations/validate-preview`, and `treasury-egress-policy` require that bearer token
262
-
263
- ## 8. If You Are Operating The Closed Program
264
-
265
- Use:
91
+ ## 6. Boundaries
266
92
 
267
- - PROGRAM_STATUS.md
268
- - OPERATOR_START_HERE.md
93
+ - quote-only mode needs no wallet secret; funded execution needs payment material or credits
94
+ - a failed call is not charged; settlement happens only after a successful execution
95
+ - a delivery receipt proves who delivered what for which paid call — not that the output is good
96
+ - proof lives in `xoonya`; runtime payment state lives in the hosted runtime
97
+ - this package contains no server, payment engine, routing, state store or operator tooling
269
98
 
270
- If you depend on hidden-account grants, credits, or usage meters in production, set `XYTARA_STATE_FILE` to a path on persistent disk before you trust restart durability.
99
+ ## 7. Learn more
271
100
 
272
- If your host does not provide persistent disk, use SUPABASE_RUNTIME_STATE_SETUP.md instead.
101
+ - Agent guide: https://www.naxytra.com/agents
102
+ - Quickstart: https://www.naxytra.com/quickstart
103
+ - MCP integration guide: https://github.com/naxytra/naxytra-mcp
104
+ - Proof side: https://naxytra.com/xoonya