xytara 3.1.17 → 3.2.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.
- package/README.md +120 -92
- package/RELEASE_NOTES.md +7 -3
- package/START_HERE.md +56 -224
- package/bin/xytara.js +21 -8
- package/client.js +79 -1
- package/lib/{delivery_receipt.js → delivery_receipt_verify.js} +14 -100
- package/package.json +25 -35
- package/scripts/verify_client.js +418 -0
- package/scripts/verify_release_candidate.js +146 -45
- package/.env.example +0 -173
- package/ADAPTER_START_HERE.md +0 -56
- package/BSV_TERANODE_PLATFORM_DISCONTINUITY_RUNBOOK.md +0 -126
- package/CARRIED_HANDOFF_DEMO.md +0 -60
- package/EXAMPLE_PATHS.md +0 -53
- package/FINAL_CONTRACT.md +0 -498
- package/PARTNER_READY_PATH.md +0 -71
- package/PUBLIC_DEMO_SCRIPT.md +0 -78
- package/REAL_PAYMENT_SETUP.md +0 -320
- package/SERVICE_CONTRACT.md +0 -419
- package/SUPABASE_RUNTIME_STATE_SETUP.md +0 -61
- package/TERMINOLOGY.md +0 -50
- package/WHY_XYTARA_XOONYA.md +0 -63
- package/XT1_EXECUTION_TRUTH_STANDARD.md +0 -78
- package/XYTARA_ADAPTER_PROTOCOL_TRUTH_MODEL.md +0 -75
- package/XYTARA_AUTONOMOUS_ENTRY_MODEL.md +0 -124
- package/XYTARA_DEFAULT_PATH_MODEL.md +0 -84
- package/XYTARA_EXECUTION_TRUTH_MODEL.md +0 -171
- package/XYTARA_PAYMENT_RAIL_TRUTH_MODEL.md +0 -68
- package/adapters/AUTHORING_GUIDE.md +0 -244
- package/adapters/ONBOARDING_POSTURE.md +0 -61
- package/adapters/THIRD_PARTY_SUBMISSION_PROCESS.md +0 -84
- package/adapters/adapter-manifest.schema.json +0 -283
- package/adapters/examples/example-execution-adapter.js +0 -61
- package/adapters/examples/example-execution-adapter.manifest.json +0 -81
- package/adapters/examples/example-settlement-adapter.js +0 -55
- package/adapters/examples/example-settlement-adapter.manifest.json +0 -78
- package/adapters/examples/example-third-party-acp-registration.submission-bundle.json +0 -124
- package/adapters/examples/example-third-party-erc8004-registration.submission-bundle.json +0 -121
- package/adapters/examples/example-third-party-identity-registration.certification-pack.json +0 -22
- package/adapters/examples/example-third-party-identity-registration.record.json +0 -26
- package/adapters/examples/example-third-party-identity-registration.submission-bundle.json +0 -126
- package/adapters/examples/example-third-party-langchain-registration.submission-bundle.json +0 -124
- package/adapters/examples/example-third-party-mpp-registration.submission-bundle.json +0 -120
- package/adapters/examples/example-third-party-registration.certification-pack.json +0 -22
- package/adapters/examples/example-third-party-registration.record.json +0 -28
- package/adapters/examples/example-third-party-registration.submission-bundle.json +0 -126
- package/adapters/examples/example-third-party-settlement-registration.certification-pack.json +0 -22
- package/adapters/examples/example-third-party-settlement-registration.record.json +0 -26
- package/adapters/examples/example-third-party-settlement-registration.submission-bundle.json +0 -127
- package/adapters/examples/langchain-reference-execution-adapter.js +0 -81
- package/adapters/examples/langchain-reference-execution-adapter.manifest.json +0 -79
- package/adapters/examples/langgraph-reference-execution-adapter.js +0 -81
- package/adapters/examples/langgraph-reference-execution-adapter.manifest.json +0 -79
- package/adapters/examples/minimal-third-party-execution-adapter.js +0 -61
- package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +0 -79
- package/adapters/examples/minimal-third-party-execution-registration.record.json +0 -26
- package/adapters/examples/minimal-third-party-execution.certification-pack.json +0 -22
- package/adapters/examples/minimal-third-party-execution.submission-bundle.json +0 -126
- package/adapters/integration-certification-pack.schema.json +0 -82
- package/adapters/integration-registration-record.schema.json +0 -114
- package/adapters/integration-submission-bundle-set.schema.json +0 -39
- package/adapters/integration-submission-bundle.schema.json +0 -34
- package/adapters/interfaces.js +0 -56
- package/bin/xytara-release.js +0 -1429
- package/examples/_demo_env.js +0 -40
- package/examples/adapter_review_walkthrough.js +0 -54
- package/examples/export_carried_handoff.js +0 -81
- package/examples/funded_runtime_walkthrough.js +0 -71
- package/examples/partner_launch_walkthrough.js +0 -44
- package/examples/quickstart.js +0 -3256
- package/fixtures/catalog.js +0 -1156
- package/index.js +0 -395
- package/integrations/dispatch.js +0 -276
- package/integrations/registry-snapshot.schema.json +0 -36
- package/integrations/registry.js +0 -2261
- package/integrations/views.js +0 -28
- package/lib/a2a_lane_contract.js +0 -104
- package/lib/a2a_rpc.js +0 -287
- package/lib/a2c_lane_contract.js +0 -111
- package/lib/account_auth.js +0 -585
- package/lib/acp_lane_contract.js +0 -54
- package/lib/activity_audit_contract.js +0 -322
- package/lib/adapter_certification_contract.js +0 -130
- package/lib/adapter_depth_contract.js +0 -218
- package/lib/adapter_pack.js +0 -118
- package/lib/adapter_partner_pack.js +0 -89
- package/lib/adapter_promotion_pack.js +0 -89
- package/lib/adapter_protocol_truth_contract.js +0 -229
- package/lib/agent_identity.js +0 -162
- package/lib/announcement_pack.js +0 -61
- package/lib/artifact_distribution_lane_contract.js +0 -54
- package/lib/asyncapi_contract.js +0 -150
- package/lib/auth_interop_contract.js +0 -80
- package/lib/authority_binding_lifecycle_contract.js +0 -182
- package/lib/autonomous_entry_contract.js +0 -409
- package/lib/bolt_adapter.js +0 -187
- package/lib/bolt_lane_contract.js +0 -55
- package/lib/bolt_payment_front.js +0 -224
- package/lib/business_cockpit.js +0 -378
- package/lib/buyer_event_log.js +0 -230
- package/lib/buyer_safety_policy.js +0 -132
- package/lib/capability_execution_truth.js +0 -276
- package/lib/capability_registry.js +0 -633
- package/lib/catalog_contract.js +0 -966
- package/lib/catalog_family_model.js +0 -193
- package/lib/catalog_views.js +0 -55
- package/lib/cdp_jwt.js +0 -57
- package/lib/checkout_event_security.js +0 -142
- package/lib/checkout_processor_adapter.js +0 -217
- package/lib/cloudevents_contract.js +0 -80
- package/lib/command_flow.js +0 -911
- package/lib/commerce_artifacts.js +0 -591
- package/lib/commerce_authority.js +0 -449
- package/lib/commerce_bridge.js +0 -274
- package/lib/commerce_cases.js +0 -399
- package/lib/commerce_checkout.js +0 -509
- package/lib/commerce_coordination.js +0 -346
- package/lib/commerce_economics.js +0 -4017
- package/lib/commerce_identity.js +0 -578
- package/lib/commerce_quotes.js +0 -266
- package/lib/commerce_reports.js +0 -14461
- package/lib/commerce_runtime.js +0 -322
- package/lib/commerce_shell.js +0 -257
- package/lib/crypto_agility_matrix.js +0 -125
- package/lib/default_path_contract.js +0 -412
- package/lib/delivery_summary_contract.js +0 -95
- package/lib/ecosystem_entry.js +0 -64
- package/lib/erc8004_lane_contract.js +0 -65
- package/lib/event_system_lane_contract.js +0 -75
- package/lib/execution_dedupe.js +0 -86
- package/lib/execution_truth_contract.js +0 -234
- package/lib/external_credit_bridge.js +0 -142
- package/lib/external_execution_policy.js +0 -143
- package/lib/external_execution_runtime.js +0 -238
- package/lib/feature_control_lane_contract.js +0 -54
- package/lib/first_run_conversion_contract.js +0 -290
- package/lib/framework_lane_contract.js +0 -89
- package/lib/framework_provider_promotion.js +0 -235
- package/lib/full_catalog_contract.js +0 -525
- package/lib/go_live_operator_pack.js +0 -391
- package/lib/http_transport.js +0 -99
- package/lib/identity_auth.js +0 -175
- package/lib/identity_interop_contract.js +0 -82
- package/lib/integration_matrix_contract.js +0 -102
- package/lib/l402_adapter.js +0 -241
- package/lib/l402_lane_contract.js +0 -55
- package/lib/l402_payment_front.js +0 -265
- package/lib/launch_narrative.js +0 -53
- package/lib/lifecycle_continuity_contract.js +0 -115
- package/lib/machine_identity_registry_contract.js +0 -199
- package/lib/major_rails_lane_contract.js +0 -150
- package/lib/market_lane_contract.js +0 -467
- package/lib/market_lane_depth_contract.js +0 -182
- package/lib/market_lane_promotion_contract.js +0 -210
- package/lib/market_lane_trace_contract.js +0 -278
- package/lib/mcp_lane_contract.js +0 -137
- package/lib/mpp_adapter.js +0 -237
- package/lib/network_transport.js +0 -110
- package/lib/offline_verifiability_recovery_contract.js +0 -155
- package/lib/openapi_contract.js +0 -300
- package/lib/operational_receipt_contract.js +0 -165
- package/lib/operator_intelligence.js +0 -407
- package/lib/outreach_copy_pack.js +0 -51
- package/lib/outreach_message_pack.js +0 -71
- package/lib/outreach_proof.js +0 -71
- package/lib/outreach_target_pack.js +0 -60
- package/lib/partner_intelligence.js +0 -105
- package/lib/payment_config.js +0 -257
- package/lib/payment_front_registry.js +0 -53
- package/lib/payment_protocol_contract.js +0 -165
- package/lib/payment_rail_truth_contract.js +0 -324
- package/lib/payment_verification.js +0 -357
- package/lib/phase_10_closeout_pack.js +0 -45
- package/lib/phase_10_completion_pack.js +0 -76
- package/lib/phase_10_decision_record_pack.js +0 -54
- package/lib/phase_10_decision_resolution_pack.js +0 -53
- package/lib/phase_10_demand_signal_adapters_runtime_pack.js +0 -74
- package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +0 -74
- package/lib/phase_10_freeze_baseline_pack.js +0 -67
- package/lib/phase_10_freeze_review_pack.js +0 -64
- package/lib/phase_10_gate_pack.js +0 -57
- package/lib/phase_10_long_tail_continuity_pack.js +0 -80
- package/lib/phase_10_long_tail_ecosystem_pack.js +0 -66
- package/lib/phase_10_niche_extension_registry_runtime_pack.js +0 -74
- package/lib/phase_1_claude_mcp_pack.js +0 -60
- package/lib/phase_1_claude_mcp_runtime_pack.js +0 -52
- package/lib/phase_1_ecosystem_pack.js +0 -67
- package/lib/phase_1_openai_codex_pack.js +0 -60
- package/lib/phase_1_openai_codex_runtime_pack.js +0 -52
- package/lib/phase_2_base_runtime_pack.js +0 -71
- package/lib/phase_2_base_usdc_runtime_pack.js +0 -72
- package/lib/phase_2_closeout_pack.js +0 -65
- package/lib/phase_2_completion_pack.js +0 -113
- package/lib/phase_2_decision_record_pack.js +0 -66
- package/lib/phase_2_decision_resolution_pack.js +0 -69
- package/lib/phase_2_eth_runtime_pack.js +0 -70
- package/lib/phase_2_evm_base_runtime_pack.js +0 -73
- package/lib/phase_2_evm_runtime_pack.js +0 -71
- package/lib/phase_2_flip_preview_pack.js +0 -60
- package/lib/phase_2_freeze_review_pack.js +0 -99
- package/lib/phase_2_gate_pack.js +0 -77
- package/lib/phase_2_payment_rails_pack.js +0 -71
- package/lib/phase_2_usdc_runtime_pack.js +0 -71
- package/lib/phase_3_brc_runtime_pack.js +0 -81
- package/lib/phase_3_bsv_teranode_runtime_pack.js +0 -83
- package/lib/phase_3_closeout_pack.js +0 -62
- package/lib/phase_3_completion_pack.js +0 -94
- package/lib/phase_3_decision_record_pack.js +0 -64
- package/lib/phase_3_decision_resolution_pack.js +0 -69
- package/lib/phase_3_freeze_baseline_pack.js +0 -67
- package/lib/phase_3_freeze_review_pack.js +0 -80
- package/lib/phase_3_gate_pack.js +0 -76
- package/lib/phase_3_metanet_runtime_pack.js +0 -81
- package/lib/phase_3_native_bsv_pack.js +0 -91
- package/lib/phase_3_native_continuity_pack.js +0 -82
- package/lib/phase_4_attestation_runtime_pack.js +0 -75
- package/lib/phase_4_closeout_pack.js +0 -45
- package/lib/phase_4_completion_pack.js +0 -94
- package/lib/phase_4_decision_record_pack.js +0 -54
- package/lib/phase_4_decision_resolution_pack.js +0 -45
- package/lib/phase_4_erc8004_runtime_pack.js +0 -76
- package/lib/phase_4_freeze_baseline_pack.js +0 -67
- package/lib/phase_4_freeze_review_pack.js +0 -68
- package/lib/phase_4_gate_pack.js +0 -58
- package/lib/phase_4_identity_registry_runtime_pack.js +0 -75
- package/lib/phase_4_identity_trust_pack.js +0 -73
- package/lib/phase_4_trust_continuity_pack.js +0 -86
- package/lib/phase_5_antelope_runtime_pack.js +0 -76
- package/lib/phase_5_closeout_pack.js +0 -44
- package/lib/phase_5_completion_pack.js +0 -82
- package/lib/phase_5_constellation_dag_runtime_pack.js +0 -76
- package/lib/phase_5_decision_record_pack.js +0 -54
- package/lib/phase_5_decision_resolution_pack.js +0 -45
- package/lib/phase_5_digibyte_dgb_runtime_pack.js +0 -76
- package/lib/phase_5_freeze_baseline_pack.js +0 -67
- package/lib/phase_5_freeze_review_pack.js +0 -68
- package/lib/phase_5_gate_pack.js +0 -58
- package/lib/phase_5_hedera_hbar_runtime_pack.js +0 -76
- package/lib/phase_5_kaspa_kas_runtime_pack.js +0 -76
- package/lib/phase_5_major_rails_continuity_pack.js +0 -86
- package/lib/phase_5_major_rails_pack.js +0 -110
- package/lib/phase_5_metal_runtime_pack.js +0 -76
- package/lib/phase_5_polkadot_dot_runtime_pack.js +0 -76
- package/lib/phase_5_proton_xpr_runtime_pack.js +0 -76
- package/lib/phase_5_solana_runtime_pack.js +0 -76
- package/lib/phase_6_autogen_runtime_pack.js +0 -72
- package/lib/phase_6_closeout_pack.js +0 -46
- package/lib/phase_6_completion_pack.js +0 -77
- package/lib/phase_6_decision_record_pack.js +0 -54
- package/lib/phase_6_decision_resolution_pack.js +0 -53
- package/lib/phase_6_framework_continuity_pack.js +0 -81
- package/lib/phase_6_framework_runtime_pack.js +0 -68
- package/lib/phase_6_freeze_baseline_pack.js +0 -68
- package/lib/phase_6_freeze_review_pack.js +0 -65
- package/lib/phase_6_gate_pack.js +0 -59
- package/lib/phase_6_langchain_runtime_pack.js +0 -72
- package/lib/phase_6_langgraph_runtime_pack.js +0 -72
- package/lib/phase_6_semantic_kernel_runtime_pack.js +0 -72
- package/lib/phase_7_closeout_pack.js +0 -45
- package/lib/phase_7_completion_pack.js +0 -85
- package/lib/phase_7_decision_record_pack.js +0 -53
- package/lib/phase_7_decision_resolution_pack.js +0 -53
- package/lib/phase_7_event_system_continuity_pack.js +0 -89
- package/lib/phase_7_event_system_pack.js +0 -76
- package/lib/phase_7_freeze_baseline_pack.js +0 -74
- package/lib/phase_7_freeze_review_pack.js +0 -65
- package/lib/phase_7_gate_pack.js +0 -58
- package/lib/phase_7_kafka_runtime_pack.js +0 -74
- package/lib/phase_7_mqtt_runtime_pack.js +0 -74
- package/lib/phase_7_nats_runtime_pack.js +0 -74
- package/lib/phase_7_webhook_event_bus_runtime_pack.js +0 -74
- package/lib/phase_8_closeout_pack.js +0 -46
- package/lib/phase_8_completion_pack.js +0 -82
- package/lib/phase_8_decision_record_pack.js +0 -54
- package/lib/phase_8_decision_resolution_pack.js +0 -53
- package/lib/phase_8_external_receipt_import_runtime_pack.js +0 -74
- package/lib/phase_8_external_result_import_runtime_pack.js +0 -74
- package/lib/phase_8_freeze_baseline_pack.js +0 -71
- package/lib/phase_8_freeze_review_pack.js +0 -64
- package/lib/phase_8_gate_pack.js +0 -58
- package/lib/phase_8_proof_bridge_continuity_pack.js +0 -86
- package/lib/phase_8_proof_bridges_pack.js +0 -72
- package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +0 -74
- package/lib/phase_9_closeout_pack.js +0 -46
- package/lib/phase_9_completion_pack.js +0 -82
- package/lib/phase_9_custody_refs_runtime_pack.js +0 -74
- package/lib/phase_9_decision_record_pack.js +0 -54
- package/lib/phase_9_decision_resolution_pack.js +0 -53
- package/lib/phase_9_freeze_baseline_pack.js +0 -71
- package/lib/phase_9_freeze_review_pack.js +0 -64
- package/lib/phase_9_gate_pack.js +0 -58
- package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +0 -74
- package/lib/phase_9_treasury_connectivity_pack.js +0 -72
- package/lib/phase_9_treasury_continuity_pack.js +0 -86
- package/lib/phase_9_treasury_destinations_runtime_pack.js +0 -74
- package/lib/phase_program_pack.js +0 -120
- package/lib/pricing_optimization_contract.js +0 -775
- package/lib/protocol_lane_contract.js +0 -117
- package/lib/provenance_lane_contract.js +0 -54
- package/lib/provider_lane_contract.js +0 -240
- package/lib/provider_network_contract.js +0 -149
- package/lib/provider_payout_execution.js +0 -155
- package/lib/provider_registry.js +0 -852
- package/lib/provider_runtime_journey_contract.js +0 -183
- package/lib/public_surface_policy_contract.js +0 -111
- package/lib/publish_plan.js +0 -51
- package/lib/rate_limiter.js +0 -81
- package/lib/record_queries.js +0 -48
- package/lib/release_candidate.js +0 -50
- package/lib/release_center.js +0 -1093
- package/lib/release_history.js +0 -205
- package/lib/release_manifest.js +0 -113
- package/lib/release_pack.js +0 -453
- package/lib/request_rate_limit.js +0 -144
- package/lib/resource_views.js +0 -31
- package/lib/revenue_launch_path_contract.js +0 -326
- package/lib/route_matchers.js +0 -34
- package/lib/route_params.js +0 -19
- package/lib/runtime_bridge.js +0 -124
- package/lib/runtime_operations_worker.js +0 -282
- package/lib/runtime_state_store.js +0 -495
- package/lib/settlement_bsv_live.js +0 -600
- package/lib/settlement_bsv_teranode.js +0 -117
- package/lib/settlement_lane_contract.js +0 -111
- package/lib/shared_signals_lane_contract.js +0 -54
- package/lib/signed_audit_provenance_contract.js +0 -83
- package/lib/soft_launch_pack.js +0 -78
- package/lib/stablecoin_lane_contract.js +0 -76
- package/lib/stripe_mpp_lane_contract.js +0 -96
- package/lib/stripe_mpp_payment_front.js +0 -258
- package/lib/telemetry_lane_contract.js +0 -54
- package/lib/treasury_destinations_contract.js +0 -764
- package/lib/treasury_egress_policy_contract.js +0 -91
- package/lib/treasury_lane_contract.js +0 -84
- package/lib/trust_portability_boundary_contract.js +0 -72
- package/lib/x402_facilitator.js +0 -198
- package/lib/x402_lane_contract.js +0 -136
- package/lib/x402_settlement_recovery.js +0 -175
- package/scripts/buyer_events_daily_report.js +0 -79
- package/scripts/registry_cli.js +0 -275
- package/scripts/state_backup_offsite.js +0 -196
- package/scripts/verify_a2a_rpc.js +0 -131
- package/scripts/verify_adapters.js +0 -554
- package/scripts/verify_agent_identity.js +0 -153
- package/scripts/verify_all.js +0 -4963
- package/scripts/verify_bolt_adapter.js +0 -128
- package/scripts/verify_buyer_event_log.js +0 -128
- package/scripts/verify_buyer_safety.js +0 -141
- package/scripts/verify_cdp_facilitator.js +0 -110
- package/scripts/verify_checkout_processor.js +0 -109
- package/scripts/verify_commerce_bridge.js +0 -177
- package/scripts/verify_control_plane_contracts.js +0 -34
- package/scripts/verify_control_plane_routes.js +0 -70
- package/scripts/verify_delivery_summary.js +0 -112
- package/scripts/verify_examples.js +0 -19
- package/scripts/verify_execution_dedupe.js +0 -189
- package/scripts/verify_execution_surfacing.js +0 -76
- package/scripts/verify_external_execution_retry.js +0 -140
- package/scripts/verify_final_activation.js +0 -191
- package/scripts/verify_first_run_conversions.js +0 -81
- package/scripts/verify_framework_provider_promotion.js +0 -152
- package/scripts/verify_full_catalog.js +0 -174
- package/scripts/verify_integrations.js +0 -620
- package/scripts/verify_l402_adapter.js +0 -86
- package/scripts/verify_lifecycle_continuity.js +0 -96
- package/scripts/verify_lifecycle_spend_binding.js +0 -88
- package/scripts/verify_market_lane_depth.js +0 -94
- package/scripts/verify_market_lane_promotion.js +0 -103
- package/scripts/verify_market_lane_traces.js +0 -98
- package/scripts/verify_market_lanes.js +0 -102
- package/scripts/verify_mpp_adapter.js +0 -128
- package/scripts/verify_operator_observability_boundary.js +0 -83
- package/scripts/verify_pricing_experiment_plan.js +0 -124
- package/scripts/verify_production_readiness.js +0 -268
- package/scripts/verify_provider_network.js +0 -819
- package/scripts/verify_provider_runtime_breadth.js +0 -109
- package/scripts/verify_provider_runtime_journeys.js +0 -111
- package/scripts/verify_rate_limiter.js +0 -52
- package/scripts/verify_refund_credit.js +0 -106
- package/scripts/verify_revenue_launch_paths.js +0 -105
- package/scripts/verify_runtime_durability.js +0 -52
- package/scripts/verify_runtime_state_guard.js +0 -117
- package/scripts/verify_service.js +0 -15421
- package/scripts/verify_settlement.js +0 -116
- package/scripts/verify_tooling.js +0 -1412
- package/scripts/verify_treasury_public_boundary.js +0 -97
- package/scripts/verify_verify_execute_settle.js +0 -209
- package/scripts/verify_x402_facilitator.js +0 -307
- package/scripts/verify_x402_settlement_recovery.js +0 -153
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
14
|
-
see **Proof** below):
|
|
21
|
+
This package ships:
|
|
15
22
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
|
|
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
|
-
|
|
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
|
-
|
|
32
|
+
## Install
|
|
28
33
|
|
|
29
|
-
```
|
|
30
|
-
|
|
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
|
-
|
|
38
|
+
Node >= 18 (built-in `fetch` and `node:crypto`), no dependencies.
|
|
41
39
|
|
|
42
|
-
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
61
|
+
```js
|
|
62
|
+
const { CommerceClient, encodeX402PaymentHeader, verifyDeliveryReceipt, hashCanonical, endpoints } = require("xytara");
|
|
65
63
|
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
|
|
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
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
-
|
|
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
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
-
|
|
88
|
-
proof-compatible facts; canonical proof lives in [xoonya](https://naxytra.com/xoonya).
|
|
95
|
+
## Pricing
|
|
89
96
|
|
|
90
|
-
|
|
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
|
-
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
-
|
|
104
|
-
|
|
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
|
-
##
|
|
120
|
+
## Signed delivery receipts
|
|
107
121
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
the
|
|
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
|
-
|
|
129
|
+
```js
|
|
130
|
+
const { verifyDeliveryReceipt, hashCanonical, verificationRecipe } = require("xytara");
|
|
113
131
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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
|
-
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
##
|
|
154
|
+
## Links
|
|
126
155
|
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
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,8 @@
|
|
|
1
|
-
`xytara` 3.1
|
|
1
|
+
`xytara` 3.2.1 makes paying plug-and-play for every kind of client.
|
|
2
2
|
|
|
3
|
-
- **
|
|
4
|
-
-
|
|
3
|
+
- **Free daily allowance** — every caller of the MCP server gets 20 free tool calls per UTC day, no key or wallet needed; each result reports the remaining allowance in `_meta["naxytra.com/allowance"]`.
|
|
4
|
+
- **Spend-key mode** — a prepaid spend credential (`Authorization: Bearer xytara_spend_…`, `X-Naxytra-Key`, or `?key=` on the MCP URL for clients that cannot set headers) pays 3 credits per call from the runtime; failed calls are never debited, and a retried debit with the same id is never charged twice. The self-serve top-up ($1.00 USDC on Base = 400 credits) returns the key.
|
|
5
|
+
- **Balance endpoint** — `GET /v1/credits/balance` with the spend credential; browser-callable (CORS) so the buy and setup pages can show it.
|
|
6
|
+
- **Hosted-deploy hardening** — the credit lifecycle routes (reserve, release, reverse) now require the account's spend credential or the operator token; a bare account id is never authority.
|
|
7
|
+
- **Payment-required results** now explain the allowance, the two ways to continue (spend key or x402) and the price. The server card no longer says "no API keys".
|
|
8
|
+
- Client package (thin): unchanged surface; the MCP server itself is not distributed.
|
package/START_HERE.md
CHANGED
|
@@ -1,272 +1,104 @@
|
|
|
1
1
|
# xytara Start Here
|
|
2
2
|
|
|
3
|
-
|
|
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
|
|
6
|
+
The runtime is a hosted service; this package is the client. The server is not distributed.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## 1. The role
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
`xytara` is the transaction-side client of the public stack. It lets an agent:
|
|
10
11
|
|
|
11
|
-
|
|
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
|
-
|
|
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
|
-
|
|
24
|
+
## 2. Hosted endpoints
|
|
30
25
|
|
|
31
26
|
```text
|
|
32
|
-
https://
|
|
33
|
-
|
|
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
|
-
|
|
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
|
-
|
|
40
|
+
## 3. First run
|
|
43
41
|
|
|
44
42
|
```bash
|
|
45
|
-
|
|
43
|
+
npm install xytara
|
|
44
|
+
xytara start-here
|
|
45
|
+
xytara first-run
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
|
|
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
|
-
|
|
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
|
-
|
|
54
|
+
which runs:
|
|
70
55
|
|
|
71
|
-
```
|
|
72
|
-
|
|
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
|
|
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
|
|
67
|
+
Then prove with `xoonya`:
|
|
83
68
|
|
|
84
69
|
```bash
|
|
85
70
|
xoonya first-run --verify-native --pretty
|
|
86
71
|
```
|
|
87
72
|
|
|
88
|
-
##
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
|
|
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
|
-
|
|
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
|
-
|
|
83
|
+
## 5. Check the package locally
|
|
120
84
|
|
|
121
85
|
```bash
|
|
122
|
-
|
|
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
|
-
|
|
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
|
-
-
|
|
268
|
-
-
|
|
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
|
-
|
|
99
|
+
## 7. Learn more
|
|
271
100
|
|
|
272
|
-
|
|
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
|