xytara 3.1.0 → 3.1.2
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/.env.example +67 -58
- package/ADAPTER_START_HERE.md +56 -56
- package/CARRIED_HANDOFF_DEMO.md +60 -60
- package/EXAMPLE_PATHS.md +53 -53
- package/FINAL_CONTRACT.md +498 -498
- package/LICENSE +201 -201
- package/NOTICE +3 -3
- package/PARTNER_READY_PATH.md +71 -71
- package/PUBLIC_DEMO_SCRIPT.md +78 -78
- package/README.md +6 -1
- package/REAL_PAYMENT_SETUP.md +32 -3
- package/RELEASE_NOTES.md +14 -14
- package/SERVICE_CONTRACT.md +419 -419
- package/START_HERE.md +1 -1
- package/SUPABASE_RUNTIME_STATE_SETUP.md +61 -61
- package/TERMINOLOGY.md +50 -50
- package/WHY_XYTARA_XOONYA.md +63 -63
- package/XT1_EXECUTION_TRUTH_STANDARD.md +78 -78
- package/XYTARA_ADAPTER_PROTOCOL_TRUTH_MODEL.md +75 -75
- package/XYTARA_AUTONOMOUS_ENTRY_MODEL.md +124 -124
- package/XYTARA_DEFAULT_PATH_MODEL.md +84 -84
- package/XYTARA_EXECUTION_TRUTH_MODEL.md +171 -171
- package/XYTARA_PAYMENT_RAIL_TRUTH_MODEL.md +68 -68
- package/adapters/AUTHORING_GUIDE.md +243 -243
- package/adapters/ONBOARDING_POSTURE.md +61 -61
- package/adapters/THIRD_PARTY_SUBMISSION_PROCESS.md +84 -84
- package/adapters/adapter-manifest.schema.json +283 -283
- package/adapters/examples/example-execution-adapter.js +61 -61
- package/adapters/examples/example-execution-adapter.manifest.json +81 -81
- package/adapters/examples/example-settlement-adapter.js +55 -55
- package/adapters/examples/example-settlement-adapter.manifest.json +78 -78
- package/adapters/examples/example-third-party-acp-registration.submission-bundle.json +124 -124
- package/adapters/examples/example-third-party-erc8004-registration.submission-bundle.json +121 -121
- package/adapters/examples/example-third-party-identity-registration.certification-pack.json +22 -22
- package/adapters/examples/example-third-party-identity-registration.record.json +26 -26
- package/adapters/examples/example-third-party-identity-registration.submission-bundle.json +126 -126
- package/adapters/examples/example-third-party-langchain-registration.submission-bundle.json +124 -124
- package/adapters/examples/example-third-party-mpp-registration.submission-bundle.json +120 -120
- package/adapters/examples/example-third-party-registration.certification-pack.json +22 -22
- package/adapters/examples/example-third-party-registration.record.json +28 -28
- package/adapters/examples/example-third-party-registration.submission-bundle.json +126 -126
- package/adapters/examples/example-third-party-settlement-registration.certification-pack.json +22 -22
- package/adapters/examples/example-third-party-settlement-registration.record.json +26 -26
- package/adapters/examples/example-third-party-settlement-registration.submission-bundle.json +127 -127
- package/adapters/examples/langchain-reference-execution-adapter.js +81 -81
- package/adapters/examples/langchain-reference-execution-adapter.manifest.json +79 -79
- package/adapters/examples/langgraph-reference-execution-adapter.js +81 -81
- package/adapters/examples/langgraph-reference-execution-adapter.manifest.json +79 -79
- package/adapters/examples/minimal-third-party-execution-adapter.js +61 -61
- package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +79 -79
- package/adapters/examples/minimal-third-party-execution-registration.record.json +26 -26
- package/adapters/examples/minimal-third-party-execution.certification-pack.json +22 -22
- package/adapters/examples/minimal-third-party-execution.submission-bundle.json +126 -126
- package/adapters/integration-certification-pack.schema.json +82 -82
- package/adapters/integration-registration-record.schema.json +114 -114
- package/adapters/integration-submission-bundle-set.schema.json +39 -39
- package/adapters/integration-submission-bundle.schema.json +34 -34
- package/adapters/interfaces.js +56 -56
- package/bin/xytara-first-run.js +244 -244
- package/bin/xytara-release.js +1429 -1429
- package/bin/xytara-run.js +186 -186
- package/bin/xytara.js +80 -80
- package/client.js +3 -3
- package/examples/_demo_env.js +40 -0
- package/examples/adapter_review_walkthrough.js +54 -53
- package/examples/export_carried_handoff.js +81 -80
- package/examples/funded_runtime_walkthrough.js +71 -70
- package/examples/generated.carried-handoff.json +30 -0
- package/examples/partner_launch_walkthrough.js +44 -43
- package/examples/quickstart.js +3256 -3255
- package/fixtures/catalog.js +1134 -1134
- package/index.js +395 -395
- package/integrations/dispatch.js +276 -276
- package/integrations/registry-snapshot.schema.json +36 -36
- package/integrations/registry.js +2261 -2261
- package/integrations/views.js +28 -28
- package/lib/a2a_lane_contract.js +104 -104
- package/lib/a2c_lane_contract.js +111 -111
- package/lib/account_auth.js +518 -518
- package/lib/acp_lane_contract.js +54 -54
- package/lib/activity_audit_contract.js +322 -322
- package/lib/adapter_certification_contract.js +130 -130
- package/lib/adapter_depth_contract.js +156 -156
- package/lib/adapter_pack.js +118 -118
- package/lib/adapter_partner_pack.js +89 -89
- package/lib/adapter_promotion_pack.js +89 -89
- package/lib/adapter_protocol_truth_contract.js +229 -229
- package/lib/announcement_pack.js +61 -61
- package/lib/artifact_distribution_lane_contract.js +54 -54
- package/lib/asyncapi_contract.js +150 -150
- package/lib/auth_interop_contract.js +80 -80
- package/lib/authority_binding_lifecycle_contract.js +182 -182
- package/lib/autonomous_entry_contract.js +409 -409
- package/lib/bolt_lane_contract.js +55 -55
- package/lib/bolt_payment_front.js +172 -172
- package/lib/business_cockpit.js +378 -378
- package/lib/capability_execution_truth.js +272 -272
- package/lib/capability_registry.js +633 -633
- package/lib/catalog_contract.js +966 -966
- package/lib/catalog_family_model.js +193 -193
- package/lib/catalog_views.js +55 -55
- package/lib/checkout_event_security.js +142 -142
- package/lib/cloudevents_contract.js +80 -80
- package/lib/command_flow.js +411 -406
- package/lib/commerce_artifacts.js +503 -503
- package/lib/commerce_authority.js +449 -449
- package/lib/commerce_cases.js +317 -317
- package/lib/commerce_checkout.js +509 -509
- package/lib/commerce_client.js +7687 -7676
- package/lib/commerce_coordination.js +346 -346
- package/lib/commerce_economics.js +4017 -4016
- package/lib/commerce_identity.js +578 -578
- package/lib/commerce_quotes.js +237 -237
- package/lib/commerce_reports.js +14461 -14461
- package/lib/commerce_runtime.js +315 -315
- package/lib/commerce_shell.js +257 -257
- package/lib/crypto_agility_matrix.js +125 -125
- package/lib/default_path_contract.js +412 -412
- package/lib/delivery_summary_contract.js +95 -95
- package/lib/ecosystem_entry.js +64 -64
- package/lib/erc8004_lane_contract.js +65 -65
- package/lib/event_system_lane_contract.js +75 -75
- package/lib/execution_truth_contract.js +234 -234
- package/lib/external_credit_bridge.js +142 -142
- package/lib/external_execution_runtime.js +132 -132
- package/lib/feature_control_lane_contract.js +54 -54
- package/lib/first_run_conversion_contract.js +290 -290
- package/lib/framework_lane_contract.js +89 -89
- package/lib/framework_provider_promotion.js +235 -235
- package/lib/full_catalog_contract.js +525 -525
- package/lib/go_live_operator_pack.js +391 -391
- package/lib/http_transport.js +73 -73
- package/lib/identity_auth.js +175 -175
- package/lib/identity_interop_contract.js +82 -82
- package/lib/integration_matrix_contract.js +102 -102
- package/lib/l402_lane_contract.js +55 -55
- package/lib/l402_payment_front.js +192 -192
- package/lib/launch_narrative.js +53 -53
- package/lib/lifecycle_continuity_contract.js +115 -115
- package/lib/machine_identity_registry_contract.js +199 -199
- package/lib/major_rails_lane_contract.js +150 -150
- package/lib/market_lane_contract.js +467 -467
- package/lib/market_lane_depth_contract.js +182 -182
- package/lib/market_lane_promotion_contract.js +210 -210
- package/lib/market_lane_trace_contract.js +278 -278
- package/lib/mcp_lane_contract.js +137 -137
- package/lib/network_transport.js +110 -110
- package/lib/offline_verifiability_recovery_contract.js +155 -155
- package/lib/openapi_contract.js +296 -296
- package/lib/operational_receipt_contract.js +165 -165
- package/lib/operator_intelligence.js +407 -407
- package/lib/outreach_copy_pack.js +51 -51
- package/lib/outreach_message_pack.js +71 -71
- package/lib/outreach_proof.js +71 -71
- package/lib/outreach_target_pack.js +60 -60
- package/lib/partner_intelligence.js +105 -105
- package/lib/payment_config.js +239 -191
- package/lib/payment_front_registry.js +53 -53
- package/lib/payment_protocol_contract.js +165 -165
- package/lib/payment_rail_truth_contract.js +324 -324
- package/lib/payment_verification.js +312 -264
- package/lib/phase_10_closeout_pack.js +45 -45
- package/lib/phase_10_completion_pack.js +76 -76
- package/lib/phase_10_decision_record_pack.js +54 -54
- package/lib/phase_10_decision_resolution_pack.js +53 -53
- package/lib/phase_10_demand_signal_adapters_runtime_pack.js +74 -74
- package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +74 -74
- package/lib/phase_10_freeze_baseline_pack.js +67 -67
- package/lib/phase_10_freeze_review_pack.js +64 -64
- package/lib/phase_10_gate_pack.js +57 -57
- package/lib/phase_10_long_tail_continuity_pack.js +80 -80
- package/lib/phase_10_long_tail_ecosystem_pack.js +66 -66
- package/lib/phase_10_niche_extension_registry_runtime_pack.js +74 -74
- package/lib/phase_1_claude_mcp_pack.js +60 -60
- package/lib/phase_1_claude_mcp_runtime_pack.js +52 -52
- package/lib/phase_1_ecosystem_pack.js +67 -67
- package/lib/phase_1_openai_codex_pack.js +60 -60
- package/lib/phase_1_openai_codex_runtime_pack.js +52 -52
- package/lib/phase_2_base_runtime_pack.js +71 -71
- package/lib/phase_2_base_usdc_runtime_pack.js +72 -72
- package/lib/phase_2_closeout_pack.js +65 -65
- package/lib/phase_2_completion_pack.js +113 -113
- package/lib/phase_2_decision_record_pack.js +66 -66
- package/lib/phase_2_decision_resolution_pack.js +69 -69
- package/lib/phase_2_eth_runtime_pack.js +70 -70
- package/lib/phase_2_evm_base_runtime_pack.js +73 -73
- package/lib/phase_2_evm_runtime_pack.js +71 -71
- package/lib/phase_2_flip_preview_pack.js +60 -60
- package/lib/phase_2_freeze_review_pack.js +99 -99
- package/lib/phase_2_gate_pack.js +77 -77
- package/lib/phase_2_payment_rails_pack.js +71 -71
- package/lib/phase_2_usdc_runtime_pack.js +71 -71
- package/lib/phase_3_brc_runtime_pack.js +81 -81
- package/lib/phase_3_bsv_teranode_runtime_pack.js +83 -83
- package/lib/phase_3_closeout_pack.js +62 -62
- package/lib/phase_3_completion_pack.js +94 -94
- package/lib/phase_3_decision_record_pack.js +64 -64
- package/lib/phase_3_decision_resolution_pack.js +69 -69
- package/lib/phase_3_freeze_baseline_pack.js +67 -67
- package/lib/phase_3_freeze_review_pack.js +80 -80
- package/lib/phase_3_gate_pack.js +76 -76
- package/lib/phase_3_metanet_runtime_pack.js +81 -81
- package/lib/phase_3_native_bsv_pack.js +91 -91
- package/lib/phase_3_native_continuity_pack.js +82 -82
- package/lib/phase_4_attestation_runtime_pack.js +75 -75
- package/lib/phase_4_closeout_pack.js +45 -45
- package/lib/phase_4_completion_pack.js +94 -94
- package/lib/phase_4_decision_record_pack.js +54 -54
- package/lib/phase_4_decision_resolution_pack.js +45 -45
- package/lib/phase_4_erc8004_runtime_pack.js +76 -76
- package/lib/phase_4_freeze_baseline_pack.js +67 -67
- package/lib/phase_4_freeze_review_pack.js +68 -68
- package/lib/phase_4_gate_pack.js +58 -58
- package/lib/phase_4_identity_registry_runtime_pack.js +75 -75
- package/lib/phase_4_identity_trust_pack.js +73 -73
- package/lib/phase_4_trust_continuity_pack.js +86 -86
- package/lib/phase_5_antelope_runtime_pack.js +76 -76
- package/lib/phase_5_closeout_pack.js +44 -44
- package/lib/phase_5_completion_pack.js +82 -82
- package/lib/phase_5_constellation_dag_runtime_pack.js +76 -76
- package/lib/phase_5_decision_record_pack.js +54 -54
- package/lib/phase_5_decision_resolution_pack.js +45 -45
- package/lib/phase_5_digibyte_dgb_runtime_pack.js +76 -76
- package/lib/phase_5_freeze_baseline_pack.js +67 -67
- package/lib/phase_5_freeze_review_pack.js +68 -68
- package/lib/phase_5_gate_pack.js +58 -58
- package/lib/phase_5_hedera_hbar_runtime_pack.js +76 -76
- package/lib/phase_5_kaspa_kas_runtime_pack.js +76 -76
- package/lib/phase_5_major_rails_continuity_pack.js +86 -86
- package/lib/phase_5_major_rails_pack.js +110 -110
- package/lib/phase_5_metal_runtime_pack.js +76 -76
- package/lib/phase_5_polkadot_dot_runtime_pack.js +76 -76
- package/lib/phase_5_proton_xpr_runtime_pack.js +76 -76
- package/lib/phase_5_solana_runtime_pack.js +76 -76
- package/lib/phase_6_autogen_runtime_pack.js +72 -72
- package/lib/phase_6_closeout_pack.js +46 -46
- package/lib/phase_6_completion_pack.js +77 -77
- package/lib/phase_6_decision_record_pack.js +54 -54
- package/lib/phase_6_decision_resolution_pack.js +53 -53
- package/lib/phase_6_framework_continuity_pack.js +81 -81
- package/lib/phase_6_framework_runtime_pack.js +68 -68
- package/lib/phase_6_freeze_baseline_pack.js +68 -68
- package/lib/phase_6_freeze_review_pack.js +65 -65
- package/lib/phase_6_gate_pack.js +59 -59
- package/lib/phase_6_langchain_runtime_pack.js +72 -72
- package/lib/phase_6_langgraph_runtime_pack.js +72 -72
- package/lib/phase_6_semantic_kernel_runtime_pack.js +72 -72
- package/lib/phase_7_closeout_pack.js +45 -45
- package/lib/phase_7_completion_pack.js +85 -85
- package/lib/phase_7_decision_record_pack.js +53 -53
- package/lib/phase_7_decision_resolution_pack.js +53 -53
- package/lib/phase_7_event_system_continuity_pack.js +89 -89
- package/lib/phase_7_event_system_pack.js +76 -76
- package/lib/phase_7_freeze_baseline_pack.js +74 -74
- package/lib/phase_7_freeze_review_pack.js +65 -65
- package/lib/phase_7_gate_pack.js +58 -58
- package/lib/phase_7_kafka_runtime_pack.js +74 -74
- package/lib/phase_7_mqtt_runtime_pack.js +74 -74
- package/lib/phase_7_nats_runtime_pack.js +74 -74
- package/lib/phase_7_webhook_event_bus_runtime_pack.js +74 -74
- package/lib/phase_8_closeout_pack.js +46 -46
- package/lib/phase_8_completion_pack.js +82 -82
- package/lib/phase_8_decision_record_pack.js +54 -54
- package/lib/phase_8_decision_resolution_pack.js +53 -53
- package/lib/phase_8_external_receipt_import_runtime_pack.js +74 -74
- package/lib/phase_8_external_result_import_runtime_pack.js +74 -74
- package/lib/phase_8_freeze_baseline_pack.js +71 -71
- package/lib/phase_8_freeze_review_pack.js +64 -64
- package/lib/phase_8_gate_pack.js +58 -58
- package/lib/phase_8_proof_bridge_continuity_pack.js +86 -86
- package/lib/phase_8_proof_bridges_pack.js +72 -72
- package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +74 -74
- package/lib/phase_9_closeout_pack.js +46 -46
- package/lib/phase_9_completion_pack.js +82 -82
- package/lib/phase_9_custody_refs_runtime_pack.js +74 -74
- package/lib/phase_9_decision_record_pack.js +54 -54
- package/lib/phase_9_decision_resolution_pack.js +53 -53
- package/lib/phase_9_freeze_baseline_pack.js +71 -71
- package/lib/phase_9_freeze_review_pack.js +64 -64
- package/lib/phase_9_gate_pack.js +58 -58
- package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +74 -74
- package/lib/phase_9_treasury_connectivity_pack.js +72 -72
- package/lib/phase_9_treasury_continuity_pack.js +86 -86
- package/lib/phase_9_treasury_destinations_runtime_pack.js +74 -74
- package/lib/phase_program_pack.js +120 -120
- package/lib/pricing_optimization_contract.js +775 -775
- package/lib/protocol_lane_contract.js +117 -117
- package/lib/provenance_lane_contract.js +54 -54
- package/lib/provider_lane_contract.js +240 -240
- package/lib/provider_runtime_journey_contract.js +183 -183
- package/lib/public_surface_policy_contract.js +111 -111
- package/lib/publish_plan.js +51 -51
- package/lib/record_queries.js +48 -48
- package/lib/release_candidate.js +50 -50
- package/lib/release_center.js +1093 -1093
- package/lib/release_history.js +205 -205
- package/lib/release_manifest.js +113 -113
- package/lib/release_pack.js +453 -453
- package/lib/request_rate_limit.js +144 -144
- package/lib/resource_views.js +31 -31
- package/lib/revenue_launch_path_contract.js +326 -326
- package/lib/route_matchers.js +34 -34
- package/lib/route_params.js +19 -19
- package/lib/runtime_bridge.js +124 -124
- package/lib/runtime_operations_worker.js +282 -282
- package/lib/runtime_state_store.js +354 -354
- package/lib/settlement_lane_contract.js +111 -111
- package/lib/shared_signals_lane_contract.js +54 -54
- package/lib/signed_audit_provenance_contract.js +83 -83
- package/lib/soft_launch_pack.js +78 -78
- package/lib/stablecoin_lane_contract.js +76 -76
- package/lib/stripe_mpp_lane_contract.js +96 -96
- package/lib/stripe_mpp_payment_front.js +158 -158
- package/lib/telemetry_lane_contract.js +54 -54
- package/lib/treasury_destinations_contract.js +764 -764
- package/lib/treasury_egress_policy_contract.js +91 -91
- package/lib/treasury_lane_contract.js +84 -84
- package/lib/trust_portability_boundary_contract.js +72 -72
- package/lib/x402_facilitator.js +155 -0
- package/lib/x402_lane_contract.js +118 -118
- package/package.json +106 -105
- package/scripts/registry_cli.js +275 -275
- package/scripts/verify_adapters.js +554 -554
- package/scripts/verify_all.js +4962 -4962
- package/scripts/verify_control_plane_contracts.js +34 -34
- package/scripts/verify_control_plane_routes.js +70 -70
- package/scripts/verify_delivery_summary.js +112 -112
- package/scripts/verify_examples.js +19 -19
- package/scripts/verify_first_run_conversions.js +81 -81
- package/scripts/verify_framework_provider_promotion.js +152 -152
- package/scripts/verify_full_catalog.js +174 -174
- package/scripts/verify_integrations.js +620 -620
- package/scripts/verify_lifecycle_continuity.js +96 -96
- package/scripts/verify_market_lane_depth.js +94 -94
- package/scripts/verify_market_lane_promotion.js +103 -103
- package/scripts/verify_market_lane_traces.js +98 -98
- package/scripts/verify_market_lanes.js +102 -102
- package/scripts/verify_operator_observability_boundary.js +83 -83
- package/scripts/verify_pricing_experiment_plan.js +124 -124
- package/scripts/verify_provider_runtime_breadth.js +109 -109
- package/scripts/verify_provider_runtime_journeys.js +111 -111
- package/scripts/verify_revenue_launch_paths.js +105 -105
- package/scripts/verify_runtime_durability.js +52 -52
- package/scripts/verify_service.js +15410 -15250
- package/scripts/verify_tooling.js +1412 -1412
- package/scripts/verify_treasury_public_boundary.js +97 -97
- package/scripts/verify_x402_facilitator.js +174 -0
- package/server.js +11117 -11006
- package/.env.production.checklist +0 -77
- package/.env.production.template +0 -54
- package/.github/workflows/publish-mcp-executor.yml +0 -43
- package/ADAPTER_PARTNER_PATH.md +0 -47
- package/ADAPTER_PROMOTION_START_HERE.md +0 -44
- package/BOLT_BINDINGS.production.worksheet.json +0 -31
- package/EXECUTION_TARGETS.production.worksheet.json +0 -73
- package/GO_LIVE_OPERATOR_PACK.md +0 -412
- package/L402_BINDINGS.production.worksheet.json +0 -30
- package/OPERATIONS_RUNBOOK.md +0 -115
- package/OPERATOR_START_HERE.md +0 -63
- package/OUTREACH_MESSAGES.md +0 -19
- package/OUTREACH_START_HERE.md +0 -36
- package/PRODUCTION_MANUAL_CLOSEOUT_SEQUENCE.md +0 -172
- package/PROGRAM_COMPLETE_RELEASE.md +0 -63
- package/PROGRAM_STATUS.md +0 -57
- package/PUBLISH_PLAN.md +0 -26
- package/RELEASE_CHECKLIST.md +0 -16
- package/SOFT_LAUNCH_KIT.md +0 -47
- package/services/mcp-execution-target/DISCOVERY_REGISTRY_PLAYBOOK.md +0 -141
- package/services/mcp-execution-target/README.md +0 -319
- package/services/mcp-execution-target/package.json +0 -14
- package/services/mcp-execution-target/server.js +0 -1031
- package/services/mcp-execution-target/server.json +0 -16
- package/services/mcp-execution-target/verify.js +0 -308
package/fixtures/catalog.js
CHANGED
|
@@ -1,1134 +1,1134 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
const { decorateTaskMetadata } = require("../lib/catalog_family_model");
|
|
4
|
-
|
|
5
|
-
function makeTask(definition) {
|
|
6
|
-
const metadata = decorateTaskMetadata(definition);
|
|
7
|
-
return {
|
|
8
|
-
task_ref: definition.task_ref,
|
|
9
|
-
public_task_ref: definition.public_task_ref,
|
|
10
|
-
public_aliases: [definition.public_task_ref],
|
|
11
|
-
public_category: definition.public_category,
|
|
12
|
-
public_title: definition.public_title,
|
|
13
|
-
execution_mode: definition.execution_mode,
|
|
14
|
-
pricing_band: definition.pricing_band,
|
|
15
|
-
public_launch_price: definition.public_launch_price,
|
|
16
|
-
pricing_note: "Final settlement amount can vary by rail.",
|
|
17
|
-
latency_class: definition.latency_class,
|
|
18
|
-
failure_posture: definition.failure_posture,
|
|
19
|
-
input_schema: definition.input_schema,
|
|
20
|
-
capabilities: definition.capabilities,
|
|
21
|
-
adapters: definition.adapters,
|
|
22
|
-
task_family: metadata.task_family,
|
|
23
|
-
lifecycle_stage: metadata.lifecycle_stage,
|
|
24
|
-
market_class: metadata.market_class,
|
|
25
|
-
claim_status: metadata.claim_status,
|
|
26
|
-
evidence_status: metadata.evidence_status
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const settlementProfiles = [
|
|
31
|
-
{
|
|
32
|
-
mode: "bsv_teranode",
|
|
33
|
-
adapter: "chain",
|
|
34
|
-
asset: "BSV_SATS",
|
|
35
|
-
payee_agent_id: "agent_payment_target",
|
|
36
|
-
payee_label: "commerce-treasury",
|
|
37
|
-
units_per_pricing_unit: 100,
|
|
38
|
-
bsv_teranode: {
|
|
39
|
-
required_input: ["txid"],
|
|
40
|
-
transport: "teranode",
|
|
41
|
-
metanet_optional: true
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
mode: "evm_payment",
|
|
46
|
-
adapter: "chain",
|
|
47
|
-
asset: "USDC_BASE_UNITS",
|
|
48
|
-
payee_agent_id: "agent_payment_target",
|
|
49
|
-
payee_label: "commerce-treasury",
|
|
50
|
-
units_per_pricing_unit: 10000,
|
|
51
|
-
evm_payment: {
|
|
52
|
-
required_input: ["tx_hash"]
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
mode: "solana_payment",
|
|
57
|
-
adapter: "chain",
|
|
58
|
-
asset: "USDC_SPL_BASE_UNITS",
|
|
59
|
-
payee_agent_id: "agent_payment_target",
|
|
60
|
-
payee_label: "commerce-treasury",
|
|
61
|
-
units_per_pricing_unit: 10000,
|
|
62
|
-
solana_payment: {
|
|
63
|
-
required_input: ["signature"]
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
mode: "xpr_payment",
|
|
68
|
-
adapter: "chain",
|
|
69
|
-
asset: "XPR_BASE_UNITS",
|
|
70
|
-
payee_agent_id: "agent_payment_target",
|
|
71
|
-
payee_label: "commerce-treasury",
|
|
72
|
-
units_per_pricing_unit: 100,
|
|
73
|
-
proton_xpr_payment: {
|
|
74
|
-
required_input: ["transaction_id"]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
mode: "antelope_payment",
|
|
79
|
-
adapter: "chain",
|
|
80
|
-
asset: "EOSIO_BASE_UNITS",
|
|
81
|
-
payee_agent_id: "agent_payment_target",
|
|
82
|
-
payee_label: "commerce-treasury",
|
|
83
|
-
units_per_pricing_unit: 100,
|
|
84
|
-
antelope_eosio_payment: {
|
|
85
|
-
required_input: ["transaction_id"]
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
];
|
|
89
|
-
|
|
90
|
-
const tasks = [
|
|
91
|
-
makeTask({
|
|
92
|
-
task_ref: "internal.trust.verify",
|
|
93
|
-
public_task_ref: "trust.verify",
|
|
94
|
-
public_category: "trust",
|
|
95
|
-
public_title: "Trust Verify",
|
|
96
|
-
execution_mode: "direct_http",
|
|
97
|
-
pricing_band: "trust_critical",
|
|
98
|
-
public_launch_price: { amount_minor: 50, currency: "USD_CENTS" },
|
|
99
|
-
latency_class: "near_real_time",
|
|
100
|
-
failure_posture: "retry_bounded",
|
|
101
|
-
input_schema: {
|
|
102
|
-
type: "object",
|
|
103
|
-
required: ["subject_id"],
|
|
104
|
-
properties: {
|
|
105
|
-
subject_id: { type: "string" }
|
|
106
|
-
},
|
|
107
|
-
additionalProperties: false
|
|
108
|
-
},
|
|
109
|
-
capabilities: ["trust.verify"],
|
|
110
|
-
adapters: ["http"]
|
|
111
|
-
}),
|
|
112
|
-
makeTask({
|
|
113
|
-
task_ref: "internal.trust.handoff.emit",
|
|
114
|
-
public_task_ref: "trust.handoff.emit",
|
|
115
|
-
public_category: "trust",
|
|
116
|
-
public_title: "Trust Handoff Emit",
|
|
117
|
-
execution_mode: "direct_http",
|
|
118
|
-
pricing_band: "trust_critical",
|
|
119
|
-
public_launch_price: { amount_minor: 65, currency: "USD_CENTS" },
|
|
120
|
-
latency_class: "near_real_time",
|
|
121
|
-
failure_posture: "retry_bounded",
|
|
122
|
-
input_schema: {
|
|
123
|
-
type: "object",
|
|
124
|
-
required: ["subject_id", "execution_ref"],
|
|
125
|
-
properties: {
|
|
126
|
-
subject_id: { type: "string" },
|
|
127
|
-
execution_ref: { type: "string" }
|
|
128
|
-
},
|
|
129
|
-
additionalProperties: false
|
|
130
|
-
},
|
|
131
|
-
capabilities: ["trust.handoff.emit"],
|
|
132
|
-
adapters: ["http"]
|
|
133
|
-
}),
|
|
134
|
-
makeTask({
|
|
135
|
-
task_ref: "internal.trust.handoff.validate",
|
|
136
|
-
public_task_ref: "trust.handoff.validate",
|
|
137
|
-
public_category: "trust",
|
|
138
|
-
public_title: "Trust Handoff Validate",
|
|
139
|
-
execution_mode: "direct_http",
|
|
140
|
-
pricing_band: "trust_critical",
|
|
141
|
-
public_launch_price: { amount_minor: 65, currency: "USD_CENTS" },
|
|
142
|
-
latency_class: "near_real_time",
|
|
143
|
-
failure_posture: "fail_fast",
|
|
144
|
-
input_schema: {
|
|
145
|
-
type: "object",
|
|
146
|
-
required: ["handoff_id"],
|
|
147
|
-
properties: {
|
|
148
|
-
handoff_id: { type: "string" }
|
|
149
|
-
},
|
|
150
|
-
additionalProperties: false
|
|
151
|
-
},
|
|
152
|
-
capabilities: ["trust.handoff.validate"],
|
|
153
|
-
adapters: ["http"]
|
|
154
|
-
}),
|
|
155
|
-
makeTask({
|
|
156
|
-
task_ref: "internal.receipt.validate",
|
|
157
|
-
public_task_ref: "receipt.validate",
|
|
158
|
-
public_category: "receipt",
|
|
159
|
-
public_title: "Receipt Validate",
|
|
160
|
-
execution_mode: "direct_http",
|
|
161
|
-
pricing_band: "trust_critical",
|
|
162
|
-
public_launch_price: { amount_minor: 60, currency: "USD_CENTS" },
|
|
163
|
-
latency_class: "instant",
|
|
164
|
-
failure_posture: "fail_fast",
|
|
165
|
-
input_schema: {
|
|
166
|
-
type: "object",
|
|
167
|
-
required: ["receipt_id"],
|
|
168
|
-
properties: {
|
|
169
|
-
receipt_id: { type: "string" }
|
|
170
|
-
},
|
|
171
|
-
additionalProperties: false
|
|
172
|
-
},
|
|
173
|
-
capabilities: ["receipt.validate"],
|
|
174
|
-
adapters: ["http"]
|
|
175
|
-
}),
|
|
176
|
-
makeTask({
|
|
177
|
-
task_ref: "internal.execution_receipt.handoff.emit",
|
|
178
|
-
public_task_ref: "execution_receipt.handoff.emit",
|
|
179
|
-
public_category: "receipt",
|
|
180
|
-
public_title: "Execution Receipt Handoff Emit",
|
|
181
|
-
execution_mode: "direct_http",
|
|
182
|
-
pricing_band: "trust_critical",
|
|
183
|
-
public_launch_price: { amount_minor: 70, currency: "USD_CENTS" },
|
|
184
|
-
latency_class: "near_real_time",
|
|
185
|
-
failure_posture: "retry_bounded",
|
|
186
|
-
input_schema: {
|
|
187
|
-
type: "object",
|
|
188
|
-
required: ["execution_ref"],
|
|
189
|
-
properties: {
|
|
190
|
-
execution_ref: { type: "string" }
|
|
191
|
-
},
|
|
192
|
-
additionalProperties: false
|
|
193
|
-
},
|
|
194
|
-
capabilities: ["execution_receipt.handoff.emit"],
|
|
195
|
-
adapters: ["http"]
|
|
196
|
-
}),
|
|
197
|
-
makeTask({
|
|
198
|
-
task_ref: "internal.execution_receipt.handoff.validate",
|
|
199
|
-
public_task_ref: "execution_receipt.handoff.validate",
|
|
200
|
-
public_category: "receipt",
|
|
201
|
-
public_title: "Execution Receipt Handoff Validate",
|
|
202
|
-
execution_mode: "direct_http",
|
|
203
|
-
pricing_band: "trust_critical",
|
|
204
|
-
public_launch_price: { amount_minor: 70, currency: "USD_CENTS" },
|
|
205
|
-
latency_class: "near_real_time",
|
|
206
|
-
failure_posture: "fail_fast",
|
|
207
|
-
input_schema: {
|
|
208
|
-
type: "object",
|
|
209
|
-
required: ["handoff_id"],
|
|
210
|
-
properties: {
|
|
211
|
-
handoff_id: { type: "string" }
|
|
212
|
-
},
|
|
213
|
-
additionalProperties: false
|
|
214
|
-
},
|
|
215
|
-
capabilities: ["execution_receipt.handoff.validate"],
|
|
216
|
-
adapters: ["http"]
|
|
217
|
-
}),
|
|
218
|
-
makeTask({
|
|
219
|
-
task_ref: "internal.receipt_ledger.handoff.emit",
|
|
220
|
-
public_task_ref: "receipt_ledger.handoff.emit",
|
|
221
|
-
public_category: "receipt",
|
|
222
|
-
public_title: "Receipt Ledger Handoff Emit",
|
|
223
|
-
execution_mode: "direct_http",
|
|
224
|
-
pricing_band: "trust_critical",
|
|
225
|
-
public_launch_price: { amount_minor: 75, currency: "USD_CENTS" },
|
|
226
|
-
latency_class: "near_real_time",
|
|
227
|
-
failure_posture: "retry_bounded",
|
|
228
|
-
input_schema: {
|
|
229
|
-
type: "object",
|
|
230
|
-
required: ["receipt_id", "ledger_ref"],
|
|
231
|
-
properties: {
|
|
232
|
-
receipt_id: { type: "string" },
|
|
233
|
-
ledger_ref: { type: "string" }
|
|
234
|
-
},
|
|
235
|
-
additionalProperties: false
|
|
236
|
-
},
|
|
237
|
-
capabilities: ["receipt_ledger.handoff.emit"],
|
|
238
|
-
adapters: ["http"]
|
|
239
|
-
}),
|
|
240
|
-
makeTask({
|
|
241
|
-
task_ref: "internal.receipt_ledger.handoff.validate",
|
|
242
|
-
public_task_ref: "receipt_ledger.handoff.validate",
|
|
243
|
-
public_category: "receipt",
|
|
244
|
-
public_title: "Receipt Ledger Handoff Validate",
|
|
245
|
-
execution_mode: "direct_http",
|
|
246
|
-
pricing_band: "trust_critical",
|
|
247
|
-
public_launch_price: { amount_minor: 75, currency: "USD_CENTS" },
|
|
248
|
-
latency_class: "near_real_time",
|
|
249
|
-
failure_posture: "fail_fast",
|
|
250
|
-
input_schema: {
|
|
251
|
-
type: "object",
|
|
252
|
-
required: ["handoff_id"],
|
|
253
|
-
properties: {
|
|
254
|
-
handoff_id: { type: "string" }
|
|
255
|
-
},
|
|
256
|
-
additionalProperties: false
|
|
257
|
-
},
|
|
258
|
-
capabilities: ["receipt_ledger.handoff.validate"],
|
|
259
|
-
adapters: ["http"]
|
|
260
|
-
}),
|
|
261
|
-
makeTask({
|
|
262
|
-
task_ref: "internal.runtime.emit",
|
|
263
|
-
public_task_ref: "runtime.emit",
|
|
264
|
-
public_category: "runtime",
|
|
265
|
-
public_title: "Runtime Emit",
|
|
266
|
-
execution_mode: "governed_async",
|
|
267
|
-
pricing_band: "governed_high_consequence",
|
|
268
|
-
public_launch_price: { amount_minor: 225, currency: "USD_CENTS" },
|
|
269
|
-
latency_class: "governed_async",
|
|
270
|
-
failure_posture: "governed_async",
|
|
271
|
-
input_schema: {
|
|
272
|
-
type: "object",
|
|
273
|
-
required: ["intent_id", "event_type"],
|
|
274
|
-
properties: {
|
|
275
|
-
intent_id: { type: "string" },
|
|
276
|
-
event_type: { type: "string" }
|
|
277
|
-
},
|
|
278
|
-
additionalProperties: false
|
|
279
|
-
},
|
|
280
|
-
capabilities: ["runtime.emit"],
|
|
281
|
-
adapters: ["http"]
|
|
282
|
-
}),
|
|
283
|
-
makeTask({
|
|
284
|
-
task_ref: "internal.runtime.anchor",
|
|
285
|
-
public_task_ref: "runtime.anchor",
|
|
286
|
-
public_category: "runtime",
|
|
287
|
-
public_title: "Runtime Anchor",
|
|
288
|
-
execution_mode: "governed_async",
|
|
289
|
-
pricing_band: "governed_high_consequence",
|
|
290
|
-
public_launch_price: { amount_minor: 275, currency: "USD_CENTS" },
|
|
291
|
-
latency_class: "governed_async",
|
|
292
|
-
failure_posture: "governed_async",
|
|
293
|
-
input_schema: {
|
|
294
|
-
type: "object",
|
|
295
|
-
required: ["event_commitment"],
|
|
296
|
-
properties: {
|
|
297
|
-
event_commitment: { type: "string" }
|
|
298
|
-
},
|
|
299
|
-
additionalProperties: false
|
|
300
|
-
},
|
|
301
|
-
capabilities: ["runtime.anchor"],
|
|
302
|
-
adapters: ["chain"]
|
|
303
|
-
}),
|
|
304
|
-
makeTask({
|
|
305
|
-
task_ref: "internal.runtime.emit_anchor",
|
|
306
|
-
public_task_ref: "runtime.emit_anchor",
|
|
307
|
-
public_category: "runtime",
|
|
308
|
-
public_title: "Runtime Emit And Anchor",
|
|
309
|
-
execution_mode: "governed_async",
|
|
310
|
-
pricing_band: "governed_high_consequence",
|
|
311
|
-
public_launch_price: { amount_minor: 450, currency: "USD_CENTS" },
|
|
312
|
-
latency_class: "governed_async",
|
|
313
|
-
failure_posture: "governed_async",
|
|
314
|
-
input_schema: {
|
|
315
|
-
type: "object",
|
|
316
|
-
required: ["intent_id", "event_type"],
|
|
317
|
-
properties: {
|
|
318
|
-
intent_id: { type: "string" },
|
|
319
|
-
event_type: { type: "string" }
|
|
320
|
-
},
|
|
321
|
-
additionalProperties: false
|
|
322
|
-
},
|
|
323
|
-
capabilities: ["runtime.emit_anchor"],
|
|
324
|
-
adapters: ["http", "chain"]
|
|
325
|
-
}),
|
|
326
|
-
makeTask({
|
|
327
|
-
task_ref: "internal.jobs.quote",
|
|
328
|
-
public_task_ref: "jobs.quote",
|
|
329
|
-
public_category: "jobs",
|
|
330
|
-
public_title: "Jobs Quote",
|
|
331
|
-
execution_mode: "direct_http",
|
|
332
|
-
pricing_band: "decision_support",
|
|
333
|
-
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
334
|
-
latency_class: "instant",
|
|
335
|
-
failure_posture: "fail_fast",
|
|
336
|
-
input_schema: {
|
|
337
|
-
type: "object",
|
|
338
|
-
required: ["job_type"],
|
|
339
|
-
properties: {
|
|
340
|
-
job_type: { type: "string" }
|
|
341
|
-
},
|
|
342
|
-
additionalProperties: false
|
|
343
|
-
},
|
|
344
|
-
capabilities: ["jobs.quote"],
|
|
345
|
-
adapters: ["http"]
|
|
346
|
-
}),
|
|
347
|
-
makeTask({
|
|
348
|
-
task_ref: "internal.jobs.reserve",
|
|
349
|
-
public_task_ref: "jobs.reserve",
|
|
350
|
-
public_category: "jobs",
|
|
351
|
-
public_title: "Jobs Reserve",
|
|
352
|
-
execution_mode: "governed_async",
|
|
353
|
-
pricing_band: "transactional",
|
|
354
|
-
public_launch_price: { amount_minor: 95, currency: "USD_CENTS" },
|
|
355
|
-
latency_class: "near_real_time",
|
|
356
|
-
failure_posture: "retry_bounded",
|
|
357
|
-
input_schema: {
|
|
358
|
-
type: "object",
|
|
359
|
-
required: ["job_id"],
|
|
360
|
-
properties: {
|
|
361
|
-
job_id: { type: "string" }
|
|
362
|
-
},
|
|
363
|
-
additionalProperties: false
|
|
364
|
-
},
|
|
365
|
-
capabilities: ["jobs.reserve"],
|
|
366
|
-
adapters: ["http"]
|
|
367
|
-
}),
|
|
368
|
-
makeTask({
|
|
369
|
-
task_ref: "internal.jobs.commit",
|
|
370
|
-
public_task_ref: "jobs.commit",
|
|
371
|
-
public_category: "jobs",
|
|
372
|
-
public_title: "Jobs Commit",
|
|
373
|
-
execution_mode: "governed_async",
|
|
374
|
-
pricing_band: "transactional",
|
|
375
|
-
public_launch_price: { amount_minor: 125, currency: "USD_CENTS" },
|
|
376
|
-
latency_class: "governed_async",
|
|
377
|
-
failure_posture: "governed_async",
|
|
378
|
-
input_schema: {
|
|
379
|
-
type: "object",
|
|
380
|
-
required: ["job_id"],
|
|
381
|
-
properties: {
|
|
382
|
-
job_id: { type: "string" }
|
|
383
|
-
},
|
|
384
|
-
additionalProperties: false
|
|
385
|
-
},
|
|
386
|
-
capabilities: ["jobs.commit"],
|
|
387
|
-
adapters: ["http"]
|
|
388
|
-
}),
|
|
389
|
-
makeTask({
|
|
390
|
-
task_ref: "internal.jobs.release",
|
|
391
|
-
public_task_ref: "jobs.release",
|
|
392
|
-
public_category: "jobs",
|
|
393
|
-
public_title: "Jobs Release",
|
|
394
|
-
execution_mode: "governed_async",
|
|
395
|
-
pricing_band: "transactional",
|
|
396
|
-
public_launch_price: { amount_minor: 55, currency: "USD_CENTS" },
|
|
397
|
-
latency_class: "near_real_time",
|
|
398
|
-
failure_posture: "retry_bounded",
|
|
399
|
-
input_schema: {
|
|
400
|
-
type: "object",
|
|
401
|
-
required: ["job_id"],
|
|
402
|
-
properties: {
|
|
403
|
-
job_id: { type: "string" }
|
|
404
|
-
},
|
|
405
|
-
additionalProperties: false
|
|
406
|
-
},
|
|
407
|
-
capabilities: ["jobs.release"],
|
|
408
|
-
adapters: ["http"]
|
|
409
|
-
}),
|
|
410
|
-
makeTask({
|
|
411
|
-
task_ref: "internal.credits.preview",
|
|
412
|
-
public_task_ref: "credits.preview",
|
|
413
|
-
public_category: "credits",
|
|
414
|
-
public_title: "Credits Preview",
|
|
415
|
-
execution_mode: "direct_http",
|
|
416
|
-
pricing_band: "utility",
|
|
417
|
-
public_launch_price: { amount_minor: 15, currency: "USD_CENTS" },
|
|
418
|
-
latency_class: "instant",
|
|
419
|
-
failure_posture: "fail_fast",
|
|
420
|
-
input_schema: {
|
|
421
|
-
type: "object",
|
|
422
|
-
required: ["account_id"],
|
|
423
|
-
properties: {
|
|
424
|
-
account_id: { type: "string" }
|
|
425
|
-
},
|
|
426
|
-
additionalProperties: false
|
|
427
|
-
},
|
|
428
|
-
capabilities: ["credits.preview"],
|
|
429
|
-
adapters: ["http"]
|
|
430
|
-
}),
|
|
431
|
-
makeTask({
|
|
432
|
-
task_ref: "internal.credits.apply",
|
|
433
|
-
public_task_ref: "credits.apply",
|
|
434
|
-
public_category: "credits",
|
|
435
|
-
public_title: "Credits Apply",
|
|
436
|
-
execution_mode: "governed_async",
|
|
437
|
-
pricing_band: "transactional",
|
|
438
|
-
public_launch_price: { amount_minor: 45, currency: "USD_CENTS" },
|
|
439
|
-
latency_class: "near_real_time",
|
|
440
|
-
failure_posture: "retry_bounded",
|
|
441
|
-
input_schema: {
|
|
442
|
-
type: "object",
|
|
443
|
-
required: ["account_id", "amount_minor"],
|
|
444
|
-
properties: {
|
|
445
|
-
account_id: { type: "string" },
|
|
446
|
-
amount_minor: { type: "integer", minimum: 1 }
|
|
447
|
-
},
|
|
448
|
-
additionalProperties: false
|
|
449
|
-
},
|
|
450
|
-
capabilities: ["credits.apply"],
|
|
451
|
-
adapters: ["http"]
|
|
452
|
-
}),
|
|
453
|
-
makeTask({
|
|
454
|
-
task_ref: "internal.a2a.negotiate",
|
|
455
|
-
public_task_ref: "a2a.negotiate",
|
|
456
|
-
public_category: "a2a",
|
|
457
|
-
public_title: "A2A Negotiate",
|
|
458
|
-
execution_mode: "direct_http",
|
|
459
|
-
pricing_band: "decision_support",
|
|
460
|
-
public_launch_price: { amount_minor: 45, currency: "USD_CENTS" },
|
|
461
|
-
latency_class: "near_real_time",
|
|
462
|
-
failure_posture: "retry_bounded",
|
|
463
|
-
input_schema: {
|
|
464
|
-
type: "object",
|
|
465
|
-
required: ["counterparty_agent_id", "task_pack_ref"],
|
|
466
|
-
properties: {
|
|
467
|
-
counterparty_agent_id: { type: "string" },
|
|
468
|
-
task_pack_ref: { type: "string" },
|
|
469
|
-
negotiation_mode: { type: "string" }
|
|
470
|
-
},
|
|
471
|
-
additionalProperties: false
|
|
472
|
-
},
|
|
473
|
-
capabilities: ["a2a.negotiate"],
|
|
474
|
-
adapters: ["http"]
|
|
475
|
-
}),
|
|
476
|
-
makeTask({
|
|
477
|
-
task_ref: "internal.a2a.commit",
|
|
478
|
-
public_task_ref: "a2a.commit",
|
|
479
|
-
public_category: "a2a",
|
|
480
|
-
public_title: "A2A Commit",
|
|
481
|
-
execution_mode: "governed_async",
|
|
482
|
-
pricing_band: "transactional",
|
|
483
|
-
public_launch_price: { amount_minor: 105, currency: "USD_CENTS" },
|
|
484
|
-
latency_class: "governed_async",
|
|
485
|
-
failure_posture: "governed_async",
|
|
486
|
-
input_schema: {
|
|
487
|
-
type: "object",
|
|
488
|
-
required: ["negotiation_id", "intent_id"],
|
|
489
|
-
properties: {
|
|
490
|
-
negotiation_id: { type: "string" },
|
|
491
|
-
intent_id: { type: "string" }
|
|
492
|
-
},
|
|
493
|
-
additionalProperties: false
|
|
494
|
-
},
|
|
495
|
-
capabilities: ["a2a.commit"],
|
|
496
|
-
adapters: ["http", "chain"]
|
|
497
|
-
}),
|
|
498
|
-
makeTask({
|
|
499
|
-
task_ref: "internal.a2c.session.open",
|
|
500
|
-
public_task_ref: "a2c.session.open",
|
|
501
|
-
public_category: "a2c",
|
|
502
|
-
public_title: "A2C Session Open",
|
|
503
|
-
execution_mode: "direct_http",
|
|
504
|
-
pricing_band: "utility",
|
|
505
|
-
public_launch_price: { amount_minor: 20, currency: "USD_CENTS" },
|
|
506
|
-
latency_class: "instant",
|
|
507
|
-
failure_posture: "fail_fast",
|
|
508
|
-
input_schema: {
|
|
509
|
-
type: "object",
|
|
510
|
-
required: ["agent_id", "channel_ref"],
|
|
511
|
-
properties: {
|
|
512
|
-
agent_id: { type: "string" },
|
|
513
|
-
channel_ref: { type: "string" }
|
|
514
|
-
},
|
|
515
|
-
additionalProperties: false
|
|
516
|
-
},
|
|
517
|
-
capabilities: ["a2c.session.open"],
|
|
518
|
-
adapters: ["http", "mcp"]
|
|
519
|
-
}),
|
|
520
|
-
makeTask({
|
|
521
|
-
task_ref: "internal.a2c.pack.preview",
|
|
522
|
-
public_task_ref: "a2c.pack.preview",
|
|
523
|
-
public_category: "a2c",
|
|
524
|
-
public_title: "A2C Pack Preview",
|
|
525
|
-
execution_mode: "direct_http",
|
|
526
|
-
pricing_band: "utility",
|
|
527
|
-
public_launch_price: { amount_minor: 25, currency: "USD_CENTS" },
|
|
528
|
-
latency_class: "near_real_time",
|
|
529
|
-
failure_posture: "retry_bounded",
|
|
530
|
-
input_schema: {
|
|
531
|
-
type: "object",
|
|
532
|
-
required: ["agent_id", "pack_ref"],
|
|
533
|
-
properties: {
|
|
534
|
-
agent_id: { type: "string" },
|
|
535
|
-
pack_ref: { type: "string" }
|
|
536
|
-
},
|
|
537
|
-
additionalProperties: false
|
|
538
|
-
},
|
|
539
|
-
capabilities: ["a2c.pack.preview"],
|
|
540
|
-
adapters: ["http"]
|
|
541
|
-
}),
|
|
542
|
-
makeTask({
|
|
543
|
-
task_ref: "internal.policy.simulate",
|
|
544
|
-
public_task_ref: "policy.simulate",
|
|
545
|
-
public_category: "policy",
|
|
546
|
-
public_title: "Policy Simulate",
|
|
547
|
-
execution_mode: "direct_http",
|
|
548
|
-
pricing_band: "decision_support",
|
|
549
|
-
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
550
|
-
latency_class: "near_real_time",
|
|
551
|
-
failure_posture: "retry_bounded",
|
|
552
|
-
input_schema: {
|
|
553
|
-
type: "object",
|
|
554
|
-
required: ["policy"],
|
|
555
|
-
properties: {
|
|
556
|
-
policy: { type: "string" }
|
|
557
|
-
},
|
|
558
|
-
additionalProperties: false
|
|
559
|
-
},
|
|
560
|
-
capabilities: ["policy.simulate"],
|
|
561
|
-
adapters: ["http"]
|
|
562
|
-
}),
|
|
563
|
-
makeTask({
|
|
564
|
-
task_ref: "internal.identity.attest.preview",
|
|
565
|
-
public_task_ref: "identity.attest.preview",
|
|
566
|
-
public_category: "identity",
|
|
567
|
-
public_title: "Identity Attest Preview",
|
|
568
|
-
execution_mode: "direct_http",
|
|
569
|
-
pricing_band: "decision_support",
|
|
570
|
-
public_launch_price: { amount_minor: 40, currency: "USD_CENTS" },
|
|
571
|
-
latency_class: "near_real_time",
|
|
572
|
-
failure_posture: "retry_bounded",
|
|
573
|
-
input_schema: {
|
|
574
|
-
type: "object",
|
|
575
|
-
required: ["subject_id", "registry_scope"],
|
|
576
|
-
properties: {
|
|
577
|
-
subject_id: { type: "string" },
|
|
578
|
-
registry_scope: { type: "string" }
|
|
579
|
-
},
|
|
580
|
-
additionalProperties: false
|
|
581
|
-
},
|
|
582
|
-
capabilities: ["identity.attest.preview"],
|
|
583
|
-
adapters: ["http"]
|
|
584
|
-
}),
|
|
585
|
-
makeTask({
|
|
586
|
-
task_ref: "internal.identity.registry.link",
|
|
587
|
-
public_task_ref: "identity.registry.link",
|
|
588
|
-
public_category: "identity",
|
|
589
|
-
public_title: "Identity Registry Link",
|
|
590
|
-
execution_mode: "governed_async",
|
|
591
|
-
pricing_band: "transactional",
|
|
592
|
-
public_launch_price: { amount_minor: 115, currency: "USD_CENTS" },
|
|
593
|
-
latency_class: "governed_async",
|
|
594
|
-
failure_posture: "governed_async",
|
|
595
|
-
input_schema: {
|
|
596
|
-
type: "object",
|
|
597
|
-
required: ["subject_id", "registry_record_id"],
|
|
598
|
-
properties: {
|
|
599
|
-
subject_id: { type: "string" },
|
|
600
|
-
registry_record_id: { type: "string" }
|
|
601
|
-
},
|
|
602
|
-
additionalProperties: false
|
|
603
|
-
},
|
|
604
|
-
capabilities: ["identity.registry.link"],
|
|
605
|
-
adapters: ["chain"]
|
|
606
|
-
}),
|
|
607
|
-
makeTask({
|
|
608
|
-
task_ref: "internal.registry.register",
|
|
609
|
-
public_task_ref: "registry.register",
|
|
610
|
-
public_category: "registry",
|
|
611
|
-
public_title: "Registry Register",
|
|
612
|
-
execution_mode: "governed_async",
|
|
613
|
-
pricing_band: "transactional",
|
|
614
|
-
public_launch_price: { amount_minor: 95, currency: "USD_CENTS" },
|
|
615
|
-
latency_class: "governed_async",
|
|
616
|
-
failure_posture: "governed_async",
|
|
617
|
-
input_schema: {
|
|
618
|
-
type: "object",
|
|
619
|
-
required: ["subject_id", "record_type"],
|
|
620
|
-
properties: {
|
|
621
|
-
subject_id: { type: "string" },
|
|
622
|
-
record_type: { type: "string" }
|
|
623
|
-
},
|
|
624
|
-
additionalProperties: false
|
|
625
|
-
},
|
|
626
|
-
capabilities: ["registry.register"],
|
|
627
|
-
adapters: ["chain"]
|
|
628
|
-
}),
|
|
629
|
-
makeTask({
|
|
630
|
-
task_ref: "internal.registry.pack.bundle",
|
|
631
|
-
public_task_ref: "registry.pack.bundle",
|
|
632
|
-
public_category: "registry",
|
|
633
|
-
public_title: "Registry Pack Bundle",
|
|
634
|
-
execution_mode: "governed_async",
|
|
635
|
-
pricing_band: "transactional",
|
|
636
|
-
public_launch_price: { amount_minor: 135, currency: "USD_CENTS" },
|
|
637
|
-
latency_class: "governed_async",
|
|
638
|
-
failure_posture: "governed_async",
|
|
639
|
-
input_schema: {
|
|
640
|
-
type: "object",
|
|
641
|
-
required: ["pack_ref", "subject_ids"],
|
|
642
|
-
properties: {
|
|
643
|
-
pack_ref: { type: "string" },
|
|
644
|
-
subject_ids: {
|
|
645
|
-
type: "array",
|
|
646
|
-
items: { type: "string" },
|
|
647
|
-
minItems: 1
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
additionalProperties: false
|
|
651
|
-
},
|
|
652
|
-
capabilities: ["registry.pack.bundle"],
|
|
653
|
-
adapters: ["chain"]
|
|
654
|
-
}),
|
|
655
|
-
makeTask({
|
|
656
|
-
task_ref: "internal.anchoring.submit",
|
|
657
|
-
public_task_ref: "anchoring.submit",
|
|
658
|
-
public_category: "anchoring",
|
|
659
|
-
public_title: "Anchoring Submit",
|
|
660
|
-
execution_mode: "governed_async",
|
|
661
|
-
pricing_band: "transactional",
|
|
662
|
-
public_launch_price: { amount_minor: 150, currency: "USD_CENTS" },
|
|
663
|
-
latency_class: "governed_async",
|
|
664
|
-
failure_posture: "governed_async",
|
|
665
|
-
input_schema: {
|
|
666
|
-
type: "object",
|
|
667
|
-
required: ["commitment_hash"],
|
|
668
|
-
properties: {
|
|
669
|
-
commitment_hash: { type: "string" }
|
|
670
|
-
},
|
|
671
|
-
additionalProperties: false
|
|
672
|
-
},
|
|
673
|
-
capabilities: ["anchoring.submit"],
|
|
674
|
-
adapters: ["chain"]
|
|
675
|
-
}),
|
|
676
|
-
makeTask({
|
|
677
|
-
task_ref: "internal.anchoring.pack.preview",
|
|
678
|
-
public_task_ref: "anchoring.pack.preview",
|
|
679
|
-
public_category: "anchoring",
|
|
680
|
-
public_title: "Anchoring Pack Preview",
|
|
681
|
-
execution_mode: "direct_http",
|
|
682
|
-
pricing_band: "decision_support",
|
|
683
|
-
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
684
|
-
latency_class: "near_real_time",
|
|
685
|
-
failure_posture: "retry_bounded",
|
|
686
|
-
input_schema: {
|
|
687
|
-
type: "object",
|
|
688
|
-
required: ["pack_ref", "commitment_count"],
|
|
689
|
-
properties: {
|
|
690
|
-
pack_ref: { type: "string" },
|
|
691
|
-
commitment_count: { type: "integer", minimum: 1 }
|
|
692
|
-
},
|
|
693
|
-
additionalProperties: false
|
|
694
|
-
},
|
|
695
|
-
capabilities: ["anchoring.pack.preview"],
|
|
696
|
-
adapters: ["chain"]
|
|
697
|
-
}),
|
|
698
|
-
makeTask({
|
|
699
|
-
task_ref: "internal.zones.list",
|
|
700
|
-
public_task_ref: "zones.list",
|
|
701
|
-
public_category: "discovery",
|
|
702
|
-
public_title: "Zones List",
|
|
703
|
-
execution_mode: "direct_http",
|
|
704
|
-
pricing_band: "utility",
|
|
705
|
-
public_launch_price: { amount_minor: 5, currency: "USD_CENTS" },
|
|
706
|
-
latency_class: "instant",
|
|
707
|
-
failure_posture: "fail_fast",
|
|
708
|
-
input_schema: {
|
|
709
|
-
type: "object",
|
|
710
|
-
properties: {},
|
|
711
|
-
additionalProperties: false
|
|
712
|
-
},
|
|
713
|
-
capabilities: ["zones.list"],
|
|
714
|
-
adapters: ["http"]
|
|
715
|
-
}),
|
|
716
|
-
makeTask({
|
|
717
|
-
task_ref: "internal.admission.preview",
|
|
718
|
-
public_task_ref: "admission.preview",
|
|
719
|
-
public_category: "admission",
|
|
720
|
-
public_title: "Admission Preview",
|
|
721
|
-
execution_mode: "direct_http",
|
|
722
|
-
pricing_band: "utility",
|
|
723
|
-
public_launch_price: { amount_minor: 10, currency: "USD_CENTS" },
|
|
724
|
-
latency_class: "instant",
|
|
725
|
-
failure_posture: "fail_fast",
|
|
726
|
-
input_schema: {
|
|
727
|
-
type: "object",
|
|
728
|
-
required: ["source_zone_id", "target_zone_id"],
|
|
729
|
-
properties: {
|
|
730
|
-
source_zone_id: { type: "string" },
|
|
731
|
-
target_zone_id: { type: "string" },
|
|
732
|
-
interaction_class: { type: "string" }
|
|
733
|
-
},
|
|
734
|
-
additionalProperties: false
|
|
735
|
-
},
|
|
736
|
-
capabilities: ["admission.preview"],
|
|
737
|
-
adapters: ["http"]
|
|
738
|
-
}),
|
|
739
|
-
makeTask({
|
|
740
|
-
task_ref: "internal.settlement.submit",
|
|
741
|
-
public_task_ref: "settlement.submit",
|
|
742
|
-
public_category: "settlement",
|
|
743
|
-
public_title: "Settlement Submit",
|
|
744
|
-
execution_mode: "governed_async",
|
|
745
|
-
pricing_band: "transactional",
|
|
746
|
-
public_launch_price: { amount_minor: 150, currency: "USD_CENTS" },
|
|
747
|
-
latency_class: "governed_async",
|
|
748
|
-
failure_posture: "governed_async",
|
|
749
|
-
input_schema: {
|
|
750
|
-
type: "object",
|
|
751
|
-
required: ["intent_id"],
|
|
752
|
-
properties: {
|
|
753
|
-
intent_id: { type: "string" }
|
|
754
|
-
},
|
|
755
|
-
additionalProperties: false
|
|
756
|
-
},
|
|
757
|
-
capabilities: ["settlement.submit"],
|
|
758
|
-
adapters: ["chain"]
|
|
759
|
-
}),
|
|
760
|
-
makeTask({
|
|
761
|
-
task_ref: "internal.adapter.mcp.invoke",
|
|
762
|
-
public_task_ref: "adapter.mcp.invoke",
|
|
763
|
-
public_category: "adapter",
|
|
764
|
-
public_title: "Adapter MCP Invoke",
|
|
765
|
-
execution_mode: "direct_http",
|
|
766
|
-
pricing_band: "decision_support",
|
|
767
|
-
public_launch_price: { amount_minor: 40, currency: "USD_CENTS" },
|
|
768
|
-
latency_class: "near_real_time",
|
|
769
|
-
failure_posture: "retry_bounded",
|
|
770
|
-
input_schema: {
|
|
771
|
-
type: "object",
|
|
772
|
-
required: ["tool_name"],
|
|
773
|
-
properties: {
|
|
774
|
-
tool_name: { type: "string" },
|
|
775
|
-
arguments: { type: "object" }
|
|
776
|
-
},
|
|
777
|
-
additionalProperties: false
|
|
778
|
-
},
|
|
779
|
-
capabilities: ["adapter.mcp.invoke"],
|
|
780
|
-
adapters: ["mcp"]
|
|
781
|
-
}),
|
|
782
|
-
makeTask({
|
|
783
|
-
task_ref: "internal.adapter.mcp.catalog",
|
|
784
|
-
public_task_ref: "adapter.mcp.catalog",
|
|
785
|
-
public_category: "adapter",
|
|
786
|
-
public_title: "Adapter MCP Catalog",
|
|
787
|
-
execution_mode: "direct_http",
|
|
788
|
-
pricing_band: "decision_support",
|
|
789
|
-
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
790
|
-
latency_class: "near_real_time",
|
|
791
|
-
failure_posture: "retry_bounded",
|
|
792
|
-
input_schema: {
|
|
793
|
-
type: "object",
|
|
794
|
-
properties: {
|
|
795
|
-
filter: { type: "string" }
|
|
796
|
-
},
|
|
797
|
-
additionalProperties: false
|
|
798
|
-
},
|
|
799
|
-
capabilities: ["adapter.mcp.catalog"],
|
|
800
|
-
adapters: ["mcp"]
|
|
801
|
-
}),
|
|
802
|
-
makeTask({
|
|
803
|
-
task_ref: "internal.adapter.mcp.reply.draft",
|
|
804
|
-
public_task_ref: "adapter.mcp.reply.draft",
|
|
805
|
-
public_category: "adapter",
|
|
806
|
-
public_title: "Adapter MCP Reply Draft",
|
|
807
|
-
execution_mode: "direct_http",
|
|
808
|
-
pricing_band: "decision_support",
|
|
809
|
-
public_launch_price: { amount_minor: 45, currency: "USD_CENTS" },
|
|
810
|
-
latency_class: "near_real_time",
|
|
811
|
-
failure_posture: "retry_bounded",
|
|
812
|
-
input_schema: {
|
|
813
|
-
type: "object",
|
|
814
|
-
required: ["text"],
|
|
815
|
-
properties: {
|
|
816
|
-
text: { type: "string" },
|
|
817
|
-
tone: { type: "string" }
|
|
818
|
-
},
|
|
819
|
-
additionalProperties: false
|
|
820
|
-
},
|
|
821
|
-
capabilities: ["adapter.mcp.reply.draft"],
|
|
822
|
-
adapters: ["mcp"]
|
|
823
|
-
}),
|
|
824
|
-
makeTask({
|
|
825
|
-
task_ref: "internal.adapter.mcp.json.validate",
|
|
826
|
-
public_task_ref: "adapter.mcp.json.validate",
|
|
827
|
-
public_category: "adapter",
|
|
828
|
-
public_title: "Adapter MCP JSON Validate",
|
|
829
|
-
execution_mode: "direct_http",
|
|
830
|
-
pricing_band: "decision_support",
|
|
831
|
-
public_launch_price: { amount_minor: 55, currency: "USD_CENTS" },
|
|
832
|
-
latency_class: "near_real_time",
|
|
833
|
-
failure_posture: "retry_bounded",
|
|
834
|
-
input_schema: {
|
|
835
|
-
type: "object",
|
|
836
|
-
required: ["payload"],
|
|
837
|
-
properties: {
|
|
838
|
-
payload: { type: "object" },
|
|
839
|
-
schema_name: { type: "string" }
|
|
840
|
-
},
|
|
841
|
-
additionalProperties: false
|
|
842
|
-
},
|
|
843
|
-
capabilities: ["adapter.mcp.json.validate"],
|
|
844
|
-
adapters: ["mcp"]
|
|
845
|
-
})
|
|
846
|
-
];
|
|
847
|
-
|
|
848
|
-
const workflows = [
|
|
849
|
-
{
|
|
850
|
-
workflow_ref: "trust.flow",
|
|
851
|
-
aliases: ["trust.flow", "trust.receipt.flow"],
|
|
852
|
-
category: "trust",
|
|
853
|
-
title: "Trust Receipt Flow",
|
|
854
|
-
description: "Verify trust and validate a receipt.",
|
|
855
|
-
task_count: 2,
|
|
856
|
-
task_refs: ["trust.verify", "receipt.validate"],
|
|
857
|
-
latency_class: "near_real_time",
|
|
858
|
-
failure_posture: "retry_bounded",
|
|
859
|
-
pricing_basis: "sum"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
workflow_ref: "runtime.consequence.flow",
|
|
863
|
-
aliases: ["runtime.consequence.flow"],
|
|
864
|
-
category: "runtime",
|
|
865
|
-
title: "Runtime Consequence Flow",
|
|
866
|
-
description: "Emit and anchor a runtime consequence.",
|
|
867
|
-
task_count: 2,
|
|
868
|
-
task_refs: ["runtime.emit", "runtime.anchor"],
|
|
869
|
-
latency_class: "governed_async",
|
|
870
|
-
failure_posture: "governed_async",
|
|
871
|
-
pricing_basis: "sum"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
workflow_ref: "job.commitment.flow",
|
|
875
|
-
aliases: ["job.commitment.flow"],
|
|
876
|
-
category: "jobs",
|
|
877
|
-
title: "Job Commitment Flow",
|
|
878
|
-
description: "Quote, reserve, and commit a job.",
|
|
879
|
-
task_count: 3,
|
|
880
|
-
task_refs: ["jobs.quote", "jobs.reserve", "jobs.commit"],
|
|
881
|
-
latency_class: "governed_async",
|
|
882
|
-
failure_posture: "governed_async",
|
|
883
|
-
pricing_basis: "sum"
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
workflow_ref: "policy.transaction.flow",
|
|
887
|
-
aliases: ["policy.transaction.flow"],
|
|
888
|
-
category: "policy",
|
|
889
|
-
title: "Policy Transaction Flow",
|
|
890
|
-
description: "Simulate policy and submit settlement.",
|
|
891
|
-
task_count: 2,
|
|
892
|
-
task_refs: ["policy.simulate", "settlement.submit"],
|
|
893
|
-
latency_class: "governed_async",
|
|
894
|
-
failure_posture: "governed_async",
|
|
895
|
-
pricing_basis: "sum"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
workflow_ref: "admission.settlement.flow",
|
|
899
|
-
aliases: ["admission.settlement.flow"],
|
|
900
|
-
category: "admission",
|
|
901
|
-
title: "Admission Settlement Flow",
|
|
902
|
-
description: "Preview admission and submit settlement.",
|
|
903
|
-
task_count: 2,
|
|
904
|
-
task_refs: ["admission.preview", "settlement.submit"],
|
|
905
|
-
latency_class: "governed_async",
|
|
906
|
-
failure_posture: "governed_async",
|
|
907
|
-
pricing_basis: "sum"
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
workflow_ref: "registry.anchor.flow",
|
|
911
|
-
aliases: ["registry.anchor.flow"],
|
|
912
|
-
category: "registry",
|
|
913
|
-
title: "Registry Anchor Flow",
|
|
914
|
-
description: "Register a record and anchor its commitment.",
|
|
915
|
-
task_count: 2,
|
|
916
|
-
task_refs: ["registry.register", "anchoring.submit"],
|
|
917
|
-
latency_class: "governed_async",
|
|
918
|
-
failure_posture: "governed_async",
|
|
919
|
-
pricing_basis: "sum"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
workflow_ref: "a2a.settlement.flow",
|
|
923
|
-
aliases: ["a2a.settlement.flow", "agent.negotiation.flow"],
|
|
924
|
-
category: "a2a",
|
|
925
|
-
title: "A2A Settlement Flow",
|
|
926
|
-
description: "Negotiate with another agent, commit the intent, and settle the resulting transaction.",
|
|
927
|
-
task_count: 3,
|
|
928
|
-
task_refs: ["a2a.negotiate", "a2a.commit", "settlement.submit"],
|
|
929
|
-
latency_class: "governed_async",
|
|
930
|
-
failure_posture: "governed_async",
|
|
931
|
-
pricing_basis: "sum"
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
workflow_ref: "a2c.tooling.flow",
|
|
935
|
-
aliases: ["a2c.tooling.flow", "agent.channel.tooling.flow"],
|
|
936
|
-
category: "a2c",
|
|
937
|
-
title: "A2C Tooling Flow",
|
|
938
|
-
description: "Open a channel session, preview a task pack, and invoke the selected MCP tool lane.",
|
|
939
|
-
task_count: 3,
|
|
940
|
-
task_refs: ["a2c.session.open", "a2c.pack.preview", "adapter.mcp.invoke"],
|
|
941
|
-
latency_class: "near_real_time",
|
|
942
|
-
failure_posture: "retry_bounded",
|
|
943
|
-
pricing_basis: "sum"
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
workflow_ref: "identity.anchor.flow",
|
|
947
|
-
aliases: ["identity.anchor.flow", "identity.registry.anchor.flow"],
|
|
948
|
-
category: "identity",
|
|
949
|
-
title: "Identity Anchor Flow",
|
|
950
|
-
description: "Preview identity attestation, register the record, link it to identity state, and anchor the resulting proof.",
|
|
951
|
-
task_count: 4,
|
|
952
|
-
task_refs: [
|
|
953
|
-
"identity.attest.preview",
|
|
954
|
-
"registry.register",
|
|
955
|
-
"identity.registry.link",
|
|
956
|
-
"anchoring.submit"
|
|
957
|
-
],
|
|
958
|
-
latency_class: "governed_async",
|
|
959
|
-
failure_posture: "governed_async",
|
|
960
|
-
pricing_basis: "sum"
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
workflow_ref: "registry.pack.anchor.flow",
|
|
964
|
-
aliases: ["registry.pack.anchor.flow", "registry.bundle.anchor.flow"],
|
|
965
|
-
category: "registry",
|
|
966
|
-
title: "Registry Pack Anchor Flow",
|
|
967
|
-
description: "Bundle a registry pack, preview anchoring posture, and submit the pack for anchoring.",
|
|
968
|
-
task_count: 3,
|
|
969
|
-
task_refs: ["registry.pack.bundle", "anchoring.pack.preview", "anchoring.submit"],
|
|
970
|
-
latency_class: "governed_async",
|
|
971
|
-
failure_posture: "governed_async",
|
|
972
|
-
pricing_basis: "sum"
|
|
973
|
-
}
|
|
974
|
-
];
|
|
975
|
-
|
|
976
|
-
const creditPacks = [
|
|
977
|
-
{
|
|
978
|
-
pack_id: "credits.starter",
|
|
979
|
-
title: "Starter Credits",
|
|
980
|
-
category: "starter",
|
|
981
|
-
issued_units: 100,
|
|
982
|
-
nominal_amount_minor: 1000,
|
|
983
|
-
nominal_currency: "USD_CENTS",
|
|
984
|
-
intended_usage_posture: "first_use_and_light_repeat",
|
|
985
|
-
recommended_for: [
|
|
986
|
-
"first-time users",
|
|
987
|
-
"simple CLI and API exploration",
|
|
988
|
-
"utility and decision-support tasks"
|
|
989
|
-
],
|
|
990
|
-
task_band_targets: ["utility", "decision_support"],
|
|
991
|
-
workflow_targets: ["default.mcp.tool.invoke", "default.a2c.tooling.run"],
|
|
992
|
-
notes: "Best for learning the stack and lightweight repeat usage."
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
pack_id: "credits.builder",
|
|
996
|
-
title: "Builder Credits",
|
|
997
|
-
category: "builder",
|
|
998
|
-
issued_units: 500,
|
|
999
|
-
nominal_amount_minor: 4500,
|
|
1000
|
-
nominal_currency: "USD_CENTS",
|
|
1001
|
-
intended_usage_posture: "regular_builder_use",
|
|
1002
|
-
recommended_for: [
|
|
1003
|
-
"solo developers",
|
|
1004
|
-
"API and MCP tool builders",
|
|
1005
|
-
"repeat transactional usage"
|
|
1006
|
-
],
|
|
1007
|
-
task_band_targets: ["decision_support", "transactional"],
|
|
1008
|
-
workflow_targets: ["default.mcp.tool.invoke", "default.a2c.tooling.run", "default.identity.anchor.run"],
|
|
1009
|
-
notes: "A balanced repeat-use pack for regular interactive and embedded runtime usage."
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
pack_id: "credits.agent",
|
|
1013
|
-
title: "Agent Credits",
|
|
1014
|
-
category: "agent",
|
|
1015
|
-
issued_units: 1500,
|
|
1016
|
-
nominal_amount_minor: 12000,
|
|
1017
|
-
nominal_currency: "USD_CENTS",
|
|
1018
|
-
intended_usage_posture: "autonomous_repeat_execution",
|
|
1019
|
-
recommended_for: [
|
|
1020
|
-
"autonomous agents",
|
|
1021
|
-
"mid-run machine calls",
|
|
1022
|
-
"bundled transaction and trust-critical flows"
|
|
1023
|
-
],
|
|
1024
|
-
task_band_targets: ["transactional", "trust_critical"],
|
|
1025
|
-
workflow_targets: ["a2a.settlement.flow", "identity.anchor.flow", "registry.pack.anchor.flow"],
|
|
1026
|
-
notes: "Designed for autonomous or semi-autonomous agents that need reusable runtime balance."
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
pack_id: "credits.fleet",
|
|
1030
|
-
title: "Fleet Credits",
|
|
1031
|
-
category: "fleet",
|
|
1032
|
-
issued_units: 5000,
|
|
1033
|
-
nominal_amount_minor: 35000,
|
|
1034
|
-
nominal_currency: "USD_CENTS",
|
|
1035
|
-
intended_usage_posture: "team_and_multi_agent_budgeting",
|
|
1036
|
-
recommended_for: [
|
|
1037
|
-
"agent fleets",
|
|
1038
|
-
"teams and services",
|
|
1039
|
-
"heavier governed and high-consequence execution"
|
|
1040
|
-
],
|
|
1041
|
-
task_band_targets: ["transactional", "governed_high_consequence", "trust_critical"],
|
|
1042
|
-
workflow_targets: ["a2a.settlement.flow", "registry.pack.anchor.flow", "identity.anchor.flow"],
|
|
1043
|
-
notes: "Best for sustained multi-agent or team-based runtime use with stronger budgeting posture."
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
pack_id: "credits.topup",
|
|
1047
|
-
title: "Top-Up Credits",
|
|
1048
|
-
category: "topup",
|
|
1049
|
-
issued_units: 250,
|
|
1050
|
-
nominal_amount_minor: 2500,
|
|
1051
|
-
nominal_currency: "USD_CENTS",
|
|
1052
|
-
intended_usage_posture: "quick_replenishment",
|
|
1053
|
-
recommended_for: [
|
|
1054
|
-
"refilling an active account",
|
|
1055
|
-
"avoiding interruption mid-run",
|
|
1056
|
-
"extending an existing balance"
|
|
1057
|
-
],
|
|
1058
|
-
task_band_targets: ["utility", "decision_support", "transactional"],
|
|
1059
|
-
workflow_targets: ["default.mcp.tool.invoke", "default.a2c.tooling.run"],
|
|
1060
|
-
notes: "A bounded replenishment unit for accounts that are already actively consuming the runtime."
|
|
1061
|
-
}
|
|
1062
|
-
];
|
|
1063
|
-
|
|
1064
|
-
const catalog = {
|
|
1065
|
-
version: "v1",
|
|
1066
|
-
currency: "USD_CENTS",
|
|
1067
|
-
payment_scheme: "quote_then_settle",
|
|
1068
|
-
plans: [],
|
|
1069
|
-
capabilities: [
|
|
1070
|
-
"catalog",
|
|
1071
|
-
"workflows",
|
|
1072
|
-
"task_sets",
|
|
1073
|
-
"quotes",
|
|
1074
|
-
"execution",
|
|
1075
|
-
"receipts",
|
|
1076
|
-
"runtime",
|
|
1077
|
-
"registry",
|
|
1078
|
-
"settlement",
|
|
1079
|
-
"governed_lifecycle",
|
|
1080
|
-
"operator_visibility"
|
|
1081
|
-
],
|
|
1082
|
-
adapters: ["http", "chain", "mcp"],
|
|
1083
|
-
surfaces: ["sdk", "service", "operator"],
|
|
1084
|
-
credit_packs: creditPacks,
|
|
1085
|
-
task_categories: [
|
|
1086
|
-
"trust",
|
|
1087
|
-
"receipt",
|
|
1088
|
-
"runtime",
|
|
1089
|
-
"jobs",
|
|
1090
|
-
"credits",
|
|
1091
|
-
"a2a",
|
|
1092
|
-
"a2c",
|
|
1093
|
-
"policy",
|
|
1094
|
-
"identity",
|
|
1095
|
-
"registry",
|
|
1096
|
-
"anchoring",
|
|
1097
|
-
"discovery",
|
|
1098
|
-
"admission",
|
|
1099
|
-
"settlement",
|
|
1100
|
-
"adapter"
|
|
1101
|
-
],
|
|
1102
|
-
settlement_profiles: settlementProfiles,
|
|
1103
|
-
tasks,
|
|
1104
|
-
workflows
|
|
1105
|
-
};
|
|
1106
|
-
|
|
1107
|
-
function findTask(ref) {
|
|
1108
|
-
const lookup = String(ref || "").trim();
|
|
1109
|
-
return catalog.tasks.find((task) =>
|
|
1110
|
-
task.task_ref === lookup ||
|
|
1111
|
-
task.public_task_ref === lookup ||
|
|
1112
|
-
(Array.isArray(task.public_aliases) && task.public_aliases.includes(lookup))
|
|
1113
|
-
) || null;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
function findWorkflow(ref) {
|
|
1117
|
-
const lookup = String(ref || "").trim();
|
|
1118
|
-
return catalog.workflows.find((workflow) =>
|
|
1119
|
-
workflow.workflow_ref === lookup ||
|
|
1120
|
-
(Array.isArray(workflow.aliases) && workflow.aliases.includes(lookup))
|
|
1121
|
-
) || null;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
function findCreditPack(ref) {
|
|
1125
|
-
const lookup = String(ref || "").trim();
|
|
1126
|
-
return catalog.credit_packs.find((pack) => pack && pack.pack_id === lookup) || null;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
module.exports = {
|
|
1130
|
-
catalog,
|
|
1131
|
-
findCreditPack,
|
|
1132
|
-
findTask,
|
|
1133
|
-
findWorkflow
|
|
1134
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const { decorateTaskMetadata } = require("../lib/catalog_family_model");
|
|
4
|
+
|
|
5
|
+
function makeTask(definition) {
|
|
6
|
+
const metadata = decorateTaskMetadata(definition);
|
|
7
|
+
return {
|
|
8
|
+
task_ref: definition.task_ref,
|
|
9
|
+
public_task_ref: definition.public_task_ref,
|
|
10
|
+
public_aliases: [definition.public_task_ref],
|
|
11
|
+
public_category: definition.public_category,
|
|
12
|
+
public_title: definition.public_title,
|
|
13
|
+
execution_mode: definition.execution_mode,
|
|
14
|
+
pricing_band: definition.pricing_band,
|
|
15
|
+
public_launch_price: definition.public_launch_price,
|
|
16
|
+
pricing_note: "Final settlement amount can vary by rail.",
|
|
17
|
+
latency_class: definition.latency_class,
|
|
18
|
+
failure_posture: definition.failure_posture,
|
|
19
|
+
input_schema: definition.input_schema,
|
|
20
|
+
capabilities: definition.capabilities,
|
|
21
|
+
adapters: definition.adapters,
|
|
22
|
+
task_family: metadata.task_family,
|
|
23
|
+
lifecycle_stage: metadata.lifecycle_stage,
|
|
24
|
+
market_class: metadata.market_class,
|
|
25
|
+
claim_status: metadata.claim_status,
|
|
26
|
+
evidence_status: metadata.evidence_status
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const settlementProfiles = [
|
|
31
|
+
{
|
|
32
|
+
mode: "bsv_teranode",
|
|
33
|
+
adapter: "chain",
|
|
34
|
+
asset: "BSV_SATS",
|
|
35
|
+
payee_agent_id: "agent_payment_target",
|
|
36
|
+
payee_label: "commerce-treasury",
|
|
37
|
+
units_per_pricing_unit: 100,
|
|
38
|
+
bsv_teranode: {
|
|
39
|
+
required_input: ["txid"],
|
|
40
|
+
transport: "teranode",
|
|
41
|
+
metanet_optional: true
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
mode: "evm_payment",
|
|
46
|
+
adapter: "chain",
|
|
47
|
+
asset: "USDC_BASE_UNITS",
|
|
48
|
+
payee_agent_id: "agent_payment_target",
|
|
49
|
+
payee_label: "commerce-treasury",
|
|
50
|
+
units_per_pricing_unit: 10000,
|
|
51
|
+
evm_payment: {
|
|
52
|
+
required_input: ["tx_hash"]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
mode: "solana_payment",
|
|
57
|
+
adapter: "chain",
|
|
58
|
+
asset: "USDC_SPL_BASE_UNITS",
|
|
59
|
+
payee_agent_id: "agent_payment_target",
|
|
60
|
+
payee_label: "commerce-treasury",
|
|
61
|
+
units_per_pricing_unit: 10000,
|
|
62
|
+
solana_payment: {
|
|
63
|
+
required_input: ["signature"]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
mode: "xpr_payment",
|
|
68
|
+
adapter: "chain",
|
|
69
|
+
asset: "XPR_BASE_UNITS",
|
|
70
|
+
payee_agent_id: "agent_payment_target",
|
|
71
|
+
payee_label: "commerce-treasury",
|
|
72
|
+
units_per_pricing_unit: 100,
|
|
73
|
+
proton_xpr_payment: {
|
|
74
|
+
required_input: ["transaction_id"]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
mode: "antelope_payment",
|
|
79
|
+
adapter: "chain",
|
|
80
|
+
asset: "EOSIO_BASE_UNITS",
|
|
81
|
+
payee_agent_id: "agent_payment_target",
|
|
82
|
+
payee_label: "commerce-treasury",
|
|
83
|
+
units_per_pricing_unit: 100,
|
|
84
|
+
antelope_eosio_payment: {
|
|
85
|
+
required_input: ["transaction_id"]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
];
|
|
89
|
+
|
|
90
|
+
const tasks = [
|
|
91
|
+
makeTask({
|
|
92
|
+
task_ref: "internal.trust.verify",
|
|
93
|
+
public_task_ref: "trust.verify",
|
|
94
|
+
public_category: "trust",
|
|
95
|
+
public_title: "Trust Verify",
|
|
96
|
+
execution_mode: "direct_http",
|
|
97
|
+
pricing_band: "trust_critical",
|
|
98
|
+
public_launch_price: { amount_minor: 50, currency: "USD_CENTS" },
|
|
99
|
+
latency_class: "near_real_time",
|
|
100
|
+
failure_posture: "retry_bounded",
|
|
101
|
+
input_schema: {
|
|
102
|
+
type: "object",
|
|
103
|
+
required: ["subject_id"],
|
|
104
|
+
properties: {
|
|
105
|
+
subject_id: { type: "string" }
|
|
106
|
+
},
|
|
107
|
+
additionalProperties: false
|
|
108
|
+
},
|
|
109
|
+
capabilities: ["trust.verify"],
|
|
110
|
+
adapters: ["http"]
|
|
111
|
+
}),
|
|
112
|
+
makeTask({
|
|
113
|
+
task_ref: "internal.trust.handoff.emit",
|
|
114
|
+
public_task_ref: "trust.handoff.emit",
|
|
115
|
+
public_category: "trust",
|
|
116
|
+
public_title: "Trust Handoff Emit",
|
|
117
|
+
execution_mode: "direct_http",
|
|
118
|
+
pricing_band: "trust_critical",
|
|
119
|
+
public_launch_price: { amount_minor: 65, currency: "USD_CENTS" },
|
|
120
|
+
latency_class: "near_real_time",
|
|
121
|
+
failure_posture: "retry_bounded",
|
|
122
|
+
input_schema: {
|
|
123
|
+
type: "object",
|
|
124
|
+
required: ["subject_id", "execution_ref"],
|
|
125
|
+
properties: {
|
|
126
|
+
subject_id: { type: "string" },
|
|
127
|
+
execution_ref: { type: "string" }
|
|
128
|
+
},
|
|
129
|
+
additionalProperties: false
|
|
130
|
+
},
|
|
131
|
+
capabilities: ["trust.handoff.emit"],
|
|
132
|
+
adapters: ["http"]
|
|
133
|
+
}),
|
|
134
|
+
makeTask({
|
|
135
|
+
task_ref: "internal.trust.handoff.validate",
|
|
136
|
+
public_task_ref: "trust.handoff.validate",
|
|
137
|
+
public_category: "trust",
|
|
138
|
+
public_title: "Trust Handoff Validate",
|
|
139
|
+
execution_mode: "direct_http",
|
|
140
|
+
pricing_band: "trust_critical",
|
|
141
|
+
public_launch_price: { amount_minor: 65, currency: "USD_CENTS" },
|
|
142
|
+
latency_class: "near_real_time",
|
|
143
|
+
failure_posture: "fail_fast",
|
|
144
|
+
input_schema: {
|
|
145
|
+
type: "object",
|
|
146
|
+
required: ["handoff_id"],
|
|
147
|
+
properties: {
|
|
148
|
+
handoff_id: { type: "string" }
|
|
149
|
+
},
|
|
150
|
+
additionalProperties: false
|
|
151
|
+
},
|
|
152
|
+
capabilities: ["trust.handoff.validate"],
|
|
153
|
+
adapters: ["http"]
|
|
154
|
+
}),
|
|
155
|
+
makeTask({
|
|
156
|
+
task_ref: "internal.receipt.validate",
|
|
157
|
+
public_task_ref: "receipt.validate",
|
|
158
|
+
public_category: "receipt",
|
|
159
|
+
public_title: "Receipt Validate",
|
|
160
|
+
execution_mode: "direct_http",
|
|
161
|
+
pricing_band: "trust_critical",
|
|
162
|
+
public_launch_price: { amount_minor: 60, currency: "USD_CENTS" },
|
|
163
|
+
latency_class: "instant",
|
|
164
|
+
failure_posture: "fail_fast",
|
|
165
|
+
input_schema: {
|
|
166
|
+
type: "object",
|
|
167
|
+
required: ["receipt_id"],
|
|
168
|
+
properties: {
|
|
169
|
+
receipt_id: { type: "string" }
|
|
170
|
+
},
|
|
171
|
+
additionalProperties: false
|
|
172
|
+
},
|
|
173
|
+
capabilities: ["receipt.validate"],
|
|
174
|
+
adapters: ["http"]
|
|
175
|
+
}),
|
|
176
|
+
makeTask({
|
|
177
|
+
task_ref: "internal.execution_receipt.handoff.emit",
|
|
178
|
+
public_task_ref: "execution_receipt.handoff.emit",
|
|
179
|
+
public_category: "receipt",
|
|
180
|
+
public_title: "Execution Receipt Handoff Emit",
|
|
181
|
+
execution_mode: "direct_http",
|
|
182
|
+
pricing_band: "trust_critical",
|
|
183
|
+
public_launch_price: { amount_minor: 70, currency: "USD_CENTS" },
|
|
184
|
+
latency_class: "near_real_time",
|
|
185
|
+
failure_posture: "retry_bounded",
|
|
186
|
+
input_schema: {
|
|
187
|
+
type: "object",
|
|
188
|
+
required: ["execution_ref"],
|
|
189
|
+
properties: {
|
|
190
|
+
execution_ref: { type: "string" }
|
|
191
|
+
},
|
|
192
|
+
additionalProperties: false
|
|
193
|
+
},
|
|
194
|
+
capabilities: ["execution_receipt.handoff.emit"],
|
|
195
|
+
adapters: ["http"]
|
|
196
|
+
}),
|
|
197
|
+
makeTask({
|
|
198
|
+
task_ref: "internal.execution_receipt.handoff.validate",
|
|
199
|
+
public_task_ref: "execution_receipt.handoff.validate",
|
|
200
|
+
public_category: "receipt",
|
|
201
|
+
public_title: "Execution Receipt Handoff Validate",
|
|
202
|
+
execution_mode: "direct_http",
|
|
203
|
+
pricing_band: "trust_critical",
|
|
204
|
+
public_launch_price: { amount_minor: 70, currency: "USD_CENTS" },
|
|
205
|
+
latency_class: "near_real_time",
|
|
206
|
+
failure_posture: "fail_fast",
|
|
207
|
+
input_schema: {
|
|
208
|
+
type: "object",
|
|
209
|
+
required: ["handoff_id"],
|
|
210
|
+
properties: {
|
|
211
|
+
handoff_id: { type: "string" }
|
|
212
|
+
},
|
|
213
|
+
additionalProperties: false
|
|
214
|
+
},
|
|
215
|
+
capabilities: ["execution_receipt.handoff.validate"],
|
|
216
|
+
adapters: ["http"]
|
|
217
|
+
}),
|
|
218
|
+
makeTask({
|
|
219
|
+
task_ref: "internal.receipt_ledger.handoff.emit",
|
|
220
|
+
public_task_ref: "receipt_ledger.handoff.emit",
|
|
221
|
+
public_category: "receipt",
|
|
222
|
+
public_title: "Receipt Ledger Handoff Emit",
|
|
223
|
+
execution_mode: "direct_http",
|
|
224
|
+
pricing_band: "trust_critical",
|
|
225
|
+
public_launch_price: { amount_minor: 75, currency: "USD_CENTS" },
|
|
226
|
+
latency_class: "near_real_time",
|
|
227
|
+
failure_posture: "retry_bounded",
|
|
228
|
+
input_schema: {
|
|
229
|
+
type: "object",
|
|
230
|
+
required: ["receipt_id", "ledger_ref"],
|
|
231
|
+
properties: {
|
|
232
|
+
receipt_id: { type: "string" },
|
|
233
|
+
ledger_ref: { type: "string" }
|
|
234
|
+
},
|
|
235
|
+
additionalProperties: false
|
|
236
|
+
},
|
|
237
|
+
capabilities: ["receipt_ledger.handoff.emit"],
|
|
238
|
+
adapters: ["http"]
|
|
239
|
+
}),
|
|
240
|
+
makeTask({
|
|
241
|
+
task_ref: "internal.receipt_ledger.handoff.validate",
|
|
242
|
+
public_task_ref: "receipt_ledger.handoff.validate",
|
|
243
|
+
public_category: "receipt",
|
|
244
|
+
public_title: "Receipt Ledger Handoff Validate",
|
|
245
|
+
execution_mode: "direct_http",
|
|
246
|
+
pricing_band: "trust_critical",
|
|
247
|
+
public_launch_price: { amount_minor: 75, currency: "USD_CENTS" },
|
|
248
|
+
latency_class: "near_real_time",
|
|
249
|
+
failure_posture: "fail_fast",
|
|
250
|
+
input_schema: {
|
|
251
|
+
type: "object",
|
|
252
|
+
required: ["handoff_id"],
|
|
253
|
+
properties: {
|
|
254
|
+
handoff_id: { type: "string" }
|
|
255
|
+
},
|
|
256
|
+
additionalProperties: false
|
|
257
|
+
},
|
|
258
|
+
capabilities: ["receipt_ledger.handoff.validate"],
|
|
259
|
+
adapters: ["http"]
|
|
260
|
+
}),
|
|
261
|
+
makeTask({
|
|
262
|
+
task_ref: "internal.runtime.emit",
|
|
263
|
+
public_task_ref: "runtime.emit",
|
|
264
|
+
public_category: "runtime",
|
|
265
|
+
public_title: "Runtime Emit",
|
|
266
|
+
execution_mode: "governed_async",
|
|
267
|
+
pricing_band: "governed_high_consequence",
|
|
268
|
+
public_launch_price: { amount_minor: 225, currency: "USD_CENTS" },
|
|
269
|
+
latency_class: "governed_async",
|
|
270
|
+
failure_posture: "governed_async",
|
|
271
|
+
input_schema: {
|
|
272
|
+
type: "object",
|
|
273
|
+
required: ["intent_id", "event_type"],
|
|
274
|
+
properties: {
|
|
275
|
+
intent_id: { type: "string" },
|
|
276
|
+
event_type: { type: "string" }
|
|
277
|
+
},
|
|
278
|
+
additionalProperties: false
|
|
279
|
+
},
|
|
280
|
+
capabilities: ["runtime.emit"],
|
|
281
|
+
adapters: ["http"]
|
|
282
|
+
}),
|
|
283
|
+
makeTask({
|
|
284
|
+
task_ref: "internal.runtime.anchor",
|
|
285
|
+
public_task_ref: "runtime.anchor",
|
|
286
|
+
public_category: "runtime",
|
|
287
|
+
public_title: "Runtime Anchor",
|
|
288
|
+
execution_mode: "governed_async",
|
|
289
|
+
pricing_band: "governed_high_consequence",
|
|
290
|
+
public_launch_price: { amount_minor: 275, currency: "USD_CENTS" },
|
|
291
|
+
latency_class: "governed_async",
|
|
292
|
+
failure_posture: "governed_async",
|
|
293
|
+
input_schema: {
|
|
294
|
+
type: "object",
|
|
295
|
+
required: ["event_commitment"],
|
|
296
|
+
properties: {
|
|
297
|
+
event_commitment: { type: "string" }
|
|
298
|
+
},
|
|
299
|
+
additionalProperties: false
|
|
300
|
+
},
|
|
301
|
+
capabilities: ["runtime.anchor"],
|
|
302
|
+
adapters: ["chain"]
|
|
303
|
+
}),
|
|
304
|
+
makeTask({
|
|
305
|
+
task_ref: "internal.runtime.emit_anchor",
|
|
306
|
+
public_task_ref: "runtime.emit_anchor",
|
|
307
|
+
public_category: "runtime",
|
|
308
|
+
public_title: "Runtime Emit And Anchor",
|
|
309
|
+
execution_mode: "governed_async",
|
|
310
|
+
pricing_band: "governed_high_consequence",
|
|
311
|
+
public_launch_price: { amount_minor: 450, currency: "USD_CENTS" },
|
|
312
|
+
latency_class: "governed_async",
|
|
313
|
+
failure_posture: "governed_async",
|
|
314
|
+
input_schema: {
|
|
315
|
+
type: "object",
|
|
316
|
+
required: ["intent_id", "event_type"],
|
|
317
|
+
properties: {
|
|
318
|
+
intent_id: { type: "string" },
|
|
319
|
+
event_type: { type: "string" }
|
|
320
|
+
},
|
|
321
|
+
additionalProperties: false
|
|
322
|
+
},
|
|
323
|
+
capabilities: ["runtime.emit_anchor"],
|
|
324
|
+
adapters: ["http", "chain"]
|
|
325
|
+
}),
|
|
326
|
+
makeTask({
|
|
327
|
+
task_ref: "internal.jobs.quote",
|
|
328
|
+
public_task_ref: "jobs.quote",
|
|
329
|
+
public_category: "jobs",
|
|
330
|
+
public_title: "Jobs Quote",
|
|
331
|
+
execution_mode: "direct_http",
|
|
332
|
+
pricing_band: "decision_support",
|
|
333
|
+
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
334
|
+
latency_class: "instant",
|
|
335
|
+
failure_posture: "fail_fast",
|
|
336
|
+
input_schema: {
|
|
337
|
+
type: "object",
|
|
338
|
+
required: ["job_type"],
|
|
339
|
+
properties: {
|
|
340
|
+
job_type: { type: "string" }
|
|
341
|
+
},
|
|
342
|
+
additionalProperties: false
|
|
343
|
+
},
|
|
344
|
+
capabilities: ["jobs.quote"],
|
|
345
|
+
adapters: ["http"]
|
|
346
|
+
}),
|
|
347
|
+
makeTask({
|
|
348
|
+
task_ref: "internal.jobs.reserve",
|
|
349
|
+
public_task_ref: "jobs.reserve",
|
|
350
|
+
public_category: "jobs",
|
|
351
|
+
public_title: "Jobs Reserve",
|
|
352
|
+
execution_mode: "governed_async",
|
|
353
|
+
pricing_band: "transactional",
|
|
354
|
+
public_launch_price: { amount_minor: 95, currency: "USD_CENTS" },
|
|
355
|
+
latency_class: "near_real_time",
|
|
356
|
+
failure_posture: "retry_bounded",
|
|
357
|
+
input_schema: {
|
|
358
|
+
type: "object",
|
|
359
|
+
required: ["job_id"],
|
|
360
|
+
properties: {
|
|
361
|
+
job_id: { type: "string" }
|
|
362
|
+
},
|
|
363
|
+
additionalProperties: false
|
|
364
|
+
},
|
|
365
|
+
capabilities: ["jobs.reserve"],
|
|
366
|
+
adapters: ["http"]
|
|
367
|
+
}),
|
|
368
|
+
makeTask({
|
|
369
|
+
task_ref: "internal.jobs.commit",
|
|
370
|
+
public_task_ref: "jobs.commit",
|
|
371
|
+
public_category: "jobs",
|
|
372
|
+
public_title: "Jobs Commit",
|
|
373
|
+
execution_mode: "governed_async",
|
|
374
|
+
pricing_band: "transactional",
|
|
375
|
+
public_launch_price: { amount_minor: 125, currency: "USD_CENTS" },
|
|
376
|
+
latency_class: "governed_async",
|
|
377
|
+
failure_posture: "governed_async",
|
|
378
|
+
input_schema: {
|
|
379
|
+
type: "object",
|
|
380
|
+
required: ["job_id"],
|
|
381
|
+
properties: {
|
|
382
|
+
job_id: { type: "string" }
|
|
383
|
+
},
|
|
384
|
+
additionalProperties: false
|
|
385
|
+
},
|
|
386
|
+
capabilities: ["jobs.commit"],
|
|
387
|
+
adapters: ["http"]
|
|
388
|
+
}),
|
|
389
|
+
makeTask({
|
|
390
|
+
task_ref: "internal.jobs.release",
|
|
391
|
+
public_task_ref: "jobs.release",
|
|
392
|
+
public_category: "jobs",
|
|
393
|
+
public_title: "Jobs Release",
|
|
394
|
+
execution_mode: "governed_async",
|
|
395
|
+
pricing_band: "transactional",
|
|
396
|
+
public_launch_price: { amount_minor: 55, currency: "USD_CENTS" },
|
|
397
|
+
latency_class: "near_real_time",
|
|
398
|
+
failure_posture: "retry_bounded",
|
|
399
|
+
input_schema: {
|
|
400
|
+
type: "object",
|
|
401
|
+
required: ["job_id"],
|
|
402
|
+
properties: {
|
|
403
|
+
job_id: { type: "string" }
|
|
404
|
+
},
|
|
405
|
+
additionalProperties: false
|
|
406
|
+
},
|
|
407
|
+
capabilities: ["jobs.release"],
|
|
408
|
+
adapters: ["http"]
|
|
409
|
+
}),
|
|
410
|
+
makeTask({
|
|
411
|
+
task_ref: "internal.credits.preview",
|
|
412
|
+
public_task_ref: "credits.preview",
|
|
413
|
+
public_category: "credits",
|
|
414
|
+
public_title: "Credits Preview",
|
|
415
|
+
execution_mode: "direct_http",
|
|
416
|
+
pricing_band: "utility",
|
|
417
|
+
public_launch_price: { amount_minor: 15, currency: "USD_CENTS" },
|
|
418
|
+
latency_class: "instant",
|
|
419
|
+
failure_posture: "fail_fast",
|
|
420
|
+
input_schema: {
|
|
421
|
+
type: "object",
|
|
422
|
+
required: ["account_id"],
|
|
423
|
+
properties: {
|
|
424
|
+
account_id: { type: "string" }
|
|
425
|
+
},
|
|
426
|
+
additionalProperties: false
|
|
427
|
+
},
|
|
428
|
+
capabilities: ["credits.preview"],
|
|
429
|
+
adapters: ["http"]
|
|
430
|
+
}),
|
|
431
|
+
makeTask({
|
|
432
|
+
task_ref: "internal.credits.apply",
|
|
433
|
+
public_task_ref: "credits.apply",
|
|
434
|
+
public_category: "credits",
|
|
435
|
+
public_title: "Credits Apply",
|
|
436
|
+
execution_mode: "governed_async",
|
|
437
|
+
pricing_band: "transactional",
|
|
438
|
+
public_launch_price: { amount_minor: 45, currency: "USD_CENTS" },
|
|
439
|
+
latency_class: "near_real_time",
|
|
440
|
+
failure_posture: "retry_bounded",
|
|
441
|
+
input_schema: {
|
|
442
|
+
type: "object",
|
|
443
|
+
required: ["account_id", "amount_minor"],
|
|
444
|
+
properties: {
|
|
445
|
+
account_id: { type: "string" },
|
|
446
|
+
amount_minor: { type: "integer", minimum: 1 }
|
|
447
|
+
},
|
|
448
|
+
additionalProperties: false
|
|
449
|
+
},
|
|
450
|
+
capabilities: ["credits.apply"],
|
|
451
|
+
adapters: ["http"]
|
|
452
|
+
}),
|
|
453
|
+
makeTask({
|
|
454
|
+
task_ref: "internal.a2a.negotiate",
|
|
455
|
+
public_task_ref: "a2a.negotiate",
|
|
456
|
+
public_category: "a2a",
|
|
457
|
+
public_title: "A2A Negotiate",
|
|
458
|
+
execution_mode: "direct_http",
|
|
459
|
+
pricing_band: "decision_support",
|
|
460
|
+
public_launch_price: { amount_minor: 45, currency: "USD_CENTS" },
|
|
461
|
+
latency_class: "near_real_time",
|
|
462
|
+
failure_posture: "retry_bounded",
|
|
463
|
+
input_schema: {
|
|
464
|
+
type: "object",
|
|
465
|
+
required: ["counterparty_agent_id", "task_pack_ref"],
|
|
466
|
+
properties: {
|
|
467
|
+
counterparty_agent_id: { type: "string" },
|
|
468
|
+
task_pack_ref: { type: "string" },
|
|
469
|
+
negotiation_mode: { type: "string" }
|
|
470
|
+
},
|
|
471
|
+
additionalProperties: false
|
|
472
|
+
},
|
|
473
|
+
capabilities: ["a2a.negotiate"],
|
|
474
|
+
adapters: ["http"]
|
|
475
|
+
}),
|
|
476
|
+
makeTask({
|
|
477
|
+
task_ref: "internal.a2a.commit",
|
|
478
|
+
public_task_ref: "a2a.commit",
|
|
479
|
+
public_category: "a2a",
|
|
480
|
+
public_title: "A2A Commit",
|
|
481
|
+
execution_mode: "governed_async",
|
|
482
|
+
pricing_band: "transactional",
|
|
483
|
+
public_launch_price: { amount_minor: 105, currency: "USD_CENTS" },
|
|
484
|
+
latency_class: "governed_async",
|
|
485
|
+
failure_posture: "governed_async",
|
|
486
|
+
input_schema: {
|
|
487
|
+
type: "object",
|
|
488
|
+
required: ["negotiation_id", "intent_id"],
|
|
489
|
+
properties: {
|
|
490
|
+
negotiation_id: { type: "string" },
|
|
491
|
+
intent_id: { type: "string" }
|
|
492
|
+
},
|
|
493
|
+
additionalProperties: false
|
|
494
|
+
},
|
|
495
|
+
capabilities: ["a2a.commit"],
|
|
496
|
+
adapters: ["http", "chain"]
|
|
497
|
+
}),
|
|
498
|
+
makeTask({
|
|
499
|
+
task_ref: "internal.a2c.session.open",
|
|
500
|
+
public_task_ref: "a2c.session.open",
|
|
501
|
+
public_category: "a2c",
|
|
502
|
+
public_title: "A2C Session Open",
|
|
503
|
+
execution_mode: "direct_http",
|
|
504
|
+
pricing_band: "utility",
|
|
505
|
+
public_launch_price: { amount_minor: 20, currency: "USD_CENTS" },
|
|
506
|
+
latency_class: "instant",
|
|
507
|
+
failure_posture: "fail_fast",
|
|
508
|
+
input_schema: {
|
|
509
|
+
type: "object",
|
|
510
|
+
required: ["agent_id", "channel_ref"],
|
|
511
|
+
properties: {
|
|
512
|
+
agent_id: { type: "string" },
|
|
513
|
+
channel_ref: { type: "string" }
|
|
514
|
+
},
|
|
515
|
+
additionalProperties: false
|
|
516
|
+
},
|
|
517
|
+
capabilities: ["a2c.session.open"],
|
|
518
|
+
adapters: ["http", "mcp"]
|
|
519
|
+
}),
|
|
520
|
+
makeTask({
|
|
521
|
+
task_ref: "internal.a2c.pack.preview",
|
|
522
|
+
public_task_ref: "a2c.pack.preview",
|
|
523
|
+
public_category: "a2c",
|
|
524
|
+
public_title: "A2C Pack Preview",
|
|
525
|
+
execution_mode: "direct_http",
|
|
526
|
+
pricing_band: "utility",
|
|
527
|
+
public_launch_price: { amount_minor: 25, currency: "USD_CENTS" },
|
|
528
|
+
latency_class: "near_real_time",
|
|
529
|
+
failure_posture: "retry_bounded",
|
|
530
|
+
input_schema: {
|
|
531
|
+
type: "object",
|
|
532
|
+
required: ["agent_id", "pack_ref"],
|
|
533
|
+
properties: {
|
|
534
|
+
agent_id: { type: "string" },
|
|
535
|
+
pack_ref: { type: "string" }
|
|
536
|
+
},
|
|
537
|
+
additionalProperties: false
|
|
538
|
+
},
|
|
539
|
+
capabilities: ["a2c.pack.preview"],
|
|
540
|
+
adapters: ["http"]
|
|
541
|
+
}),
|
|
542
|
+
makeTask({
|
|
543
|
+
task_ref: "internal.policy.simulate",
|
|
544
|
+
public_task_ref: "policy.simulate",
|
|
545
|
+
public_category: "policy",
|
|
546
|
+
public_title: "Policy Simulate",
|
|
547
|
+
execution_mode: "direct_http",
|
|
548
|
+
pricing_band: "decision_support",
|
|
549
|
+
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
550
|
+
latency_class: "near_real_time",
|
|
551
|
+
failure_posture: "retry_bounded",
|
|
552
|
+
input_schema: {
|
|
553
|
+
type: "object",
|
|
554
|
+
required: ["policy"],
|
|
555
|
+
properties: {
|
|
556
|
+
policy: { type: "string" }
|
|
557
|
+
},
|
|
558
|
+
additionalProperties: false
|
|
559
|
+
},
|
|
560
|
+
capabilities: ["policy.simulate"],
|
|
561
|
+
adapters: ["http"]
|
|
562
|
+
}),
|
|
563
|
+
makeTask({
|
|
564
|
+
task_ref: "internal.identity.attest.preview",
|
|
565
|
+
public_task_ref: "identity.attest.preview",
|
|
566
|
+
public_category: "identity",
|
|
567
|
+
public_title: "Identity Attest Preview",
|
|
568
|
+
execution_mode: "direct_http",
|
|
569
|
+
pricing_band: "decision_support",
|
|
570
|
+
public_launch_price: { amount_minor: 40, currency: "USD_CENTS" },
|
|
571
|
+
latency_class: "near_real_time",
|
|
572
|
+
failure_posture: "retry_bounded",
|
|
573
|
+
input_schema: {
|
|
574
|
+
type: "object",
|
|
575
|
+
required: ["subject_id", "registry_scope"],
|
|
576
|
+
properties: {
|
|
577
|
+
subject_id: { type: "string" },
|
|
578
|
+
registry_scope: { type: "string" }
|
|
579
|
+
},
|
|
580
|
+
additionalProperties: false
|
|
581
|
+
},
|
|
582
|
+
capabilities: ["identity.attest.preview"],
|
|
583
|
+
adapters: ["http"]
|
|
584
|
+
}),
|
|
585
|
+
makeTask({
|
|
586
|
+
task_ref: "internal.identity.registry.link",
|
|
587
|
+
public_task_ref: "identity.registry.link",
|
|
588
|
+
public_category: "identity",
|
|
589
|
+
public_title: "Identity Registry Link",
|
|
590
|
+
execution_mode: "governed_async",
|
|
591
|
+
pricing_band: "transactional",
|
|
592
|
+
public_launch_price: { amount_minor: 115, currency: "USD_CENTS" },
|
|
593
|
+
latency_class: "governed_async",
|
|
594
|
+
failure_posture: "governed_async",
|
|
595
|
+
input_schema: {
|
|
596
|
+
type: "object",
|
|
597
|
+
required: ["subject_id", "registry_record_id"],
|
|
598
|
+
properties: {
|
|
599
|
+
subject_id: { type: "string" },
|
|
600
|
+
registry_record_id: { type: "string" }
|
|
601
|
+
},
|
|
602
|
+
additionalProperties: false
|
|
603
|
+
},
|
|
604
|
+
capabilities: ["identity.registry.link"],
|
|
605
|
+
adapters: ["chain"]
|
|
606
|
+
}),
|
|
607
|
+
makeTask({
|
|
608
|
+
task_ref: "internal.registry.register",
|
|
609
|
+
public_task_ref: "registry.register",
|
|
610
|
+
public_category: "registry",
|
|
611
|
+
public_title: "Registry Register",
|
|
612
|
+
execution_mode: "governed_async",
|
|
613
|
+
pricing_band: "transactional",
|
|
614
|
+
public_launch_price: { amount_minor: 95, currency: "USD_CENTS" },
|
|
615
|
+
latency_class: "governed_async",
|
|
616
|
+
failure_posture: "governed_async",
|
|
617
|
+
input_schema: {
|
|
618
|
+
type: "object",
|
|
619
|
+
required: ["subject_id", "record_type"],
|
|
620
|
+
properties: {
|
|
621
|
+
subject_id: { type: "string" },
|
|
622
|
+
record_type: { type: "string" }
|
|
623
|
+
},
|
|
624
|
+
additionalProperties: false
|
|
625
|
+
},
|
|
626
|
+
capabilities: ["registry.register"],
|
|
627
|
+
adapters: ["chain"]
|
|
628
|
+
}),
|
|
629
|
+
makeTask({
|
|
630
|
+
task_ref: "internal.registry.pack.bundle",
|
|
631
|
+
public_task_ref: "registry.pack.bundle",
|
|
632
|
+
public_category: "registry",
|
|
633
|
+
public_title: "Registry Pack Bundle",
|
|
634
|
+
execution_mode: "governed_async",
|
|
635
|
+
pricing_band: "transactional",
|
|
636
|
+
public_launch_price: { amount_minor: 135, currency: "USD_CENTS" },
|
|
637
|
+
latency_class: "governed_async",
|
|
638
|
+
failure_posture: "governed_async",
|
|
639
|
+
input_schema: {
|
|
640
|
+
type: "object",
|
|
641
|
+
required: ["pack_ref", "subject_ids"],
|
|
642
|
+
properties: {
|
|
643
|
+
pack_ref: { type: "string" },
|
|
644
|
+
subject_ids: {
|
|
645
|
+
type: "array",
|
|
646
|
+
items: { type: "string" },
|
|
647
|
+
minItems: 1
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
additionalProperties: false
|
|
651
|
+
},
|
|
652
|
+
capabilities: ["registry.pack.bundle"],
|
|
653
|
+
adapters: ["chain"]
|
|
654
|
+
}),
|
|
655
|
+
makeTask({
|
|
656
|
+
task_ref: "internal.anchoring.submit",
|
|
657
|
+
public_task_ref: "anchoring.submit",
|
|
658
|
+
public_category: "anchoring",
|
|
659
|
+
public_title: "Anchoring Submit",
|
|
660
|
+
execution_mode: "governed_async",
|
|
661
|
+
pricing_band: "transactional",
|
|
662
|
+
public_launch_price: { amount_minor: 150, currency: "USD_CENTS" },
|
|
663
|
+
latency_class: "governed_async",
|
|
664
|
+
failure_posture: "governed_async",
|
|
665
|
+
input_schema: {
|
|
666
|
+
type: "object",
|
|
667
|
+
required: ["commitment_hash"],
|
|
668
|
+
properties: {
|
|
669
|
+
commitment_hash: { type: "string" }
|
|
670
|
+
},
|
|
671
|
+
additionalProperties: false
|
|
672
|
+
},
|
|
673
|
+
capabilities: ["anchoring.submit"],
|
|
674
|
+
adapters: ["chain"]
|
|
675
|
+
}),
|
|
676
|
+
makeTask({
|
|
677
|
+
task_ref: "internal.anchoring.pack.preview",
|
|
678
|
+
public_task_ref: "anchoring.pack.preview",
|
|
679
|
+
public_category: "anchoring",
|
|
680
|
+
public_title: "Anchoring Pack Preview",
|
|
681
|
+
execution_mode: "direct_http",
|
|
682
|
+
pricing_band: "decision_support",
|
|
683
|
+
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
684
|
+
latency_class: "near_real_time",
|
|
685
|
+
failure_posture: "retry_bounded",
|
|
686
|
+
input_schema: {
|
|
687
|
+
type: "object",
|
|
688
|
+
required: ["pack_ref", "commitment_count"],
|
|
689
|
+
properties: {
|
|
690
|
+
pack_ref: { type: "string" },
|
|
691
|
+
commitment_count: { type: "integer", minimum: 1 }
|
|
692
|
+
},
|
|
693
|
+
additionalProperties: false
|
|
694
|
+
},
|
|
695
|
+
capabilities: ["anchoring.pack.preview"],
|
|
696
|
+
adapters: ["chain"]
|
|
697
|
+
}),
|
|
698
|
+
makeTask({
|
|
699
|
+
task_ref: "internal.zones.list",
|
|
700
|
+
public_task_ref: "zones.list",
|
|
701
|
+
public_category: "discovery",
|
|
702
|
+
public_title: "Zones List",
|
|
703
|
+
execution_mode: "direct_http",
|
|
704
|
+
pricing_band: "utility",
|
|
705
|
+
public_launch_price: { amount_minor: 5, currency: "USD_CENTS" },
|
|
706
|
+
latency_class: "instant",
|
|
707
|
+
failure_posture: "fail_fast",
|
|
708
|
+
input_schema: {
|
|
709
|
+
type: "object",
|
|
710
|
+
properties: {},
|
|
711
|
+
additionalProperties: false
|
|
712
|
+
},
|
|
713
|
+
capabilities: ["zones.list"],
|
|
714
|
+
adapters: ["http"]
|
|
715
|
+
}),
|
|
716
|
+
makeTask({
|
|
717
|
+
task_ref: "internal.admission.preview",
|
|
718
|
+
public_task_ref: "admission.preview",
|
|
719
|
+
public_category: "admission",
|
|
720
|
+
public_title: "Admission Preview",
|
|
721
|
+
execution_mode: "direct_http",
|
|
722
|
+
pricing_band: "utility",
|
|
723
|
+
public_launch_price: { amount_minor: 10, currency: "USD_CENTS" },
|
|
724
|
+
latency_class: "instant",
|
|
725
|
+
failure_posture: "fail_fast",
|
|
726
|
+
input_schema: {
|
|
727
|
+
type: "object",
|
|
728
|
+
required: ["source_zone_id", "target_zone_id"],
|
|
729
|
+
properties: {
|
|
730
|
+
source_zone_id: { type: "string" },
|
|
731
|
+
target_zone_id: { type: "string" },
|
|
732
|
+
interaction_class: { type: "string" }
|
|
733
|
+
},
|
|
734
|
+
additionalProperties: false
|
|
735
|
+
},
|
|
736
|
+
capabilities: ["admission.preview"],
|
|
737
|
+
adapters: ["http"]
|
|
738
|
+
}),
|
|
739
|
+
makeTask({
|
|
740
|
+
task_ref: "internal.settlement.submit",
|
|
741
|
+
public_task_ref: "settlement.submit",
|
|
742
|
+
public_category: "settlement",
|
|
743
|
+
public_title: "Settlement Submit",
|
|
744
|
+
execution_mode: "governed_async",
|
|
745
|
+
pricing_band: "transactional",
|
|
746
|
+
public_launch_price: { amount_minor: 150, currency: "USD_CENTS" },
|
|
747
|
+
latency_class: "governed_async",
|
|
748
|
+
failure_posture: "governed_async",
|
|
749
|
+
input_schema: {
|
|
750
|
+
type: "object",
|
|
751
|
+
required: ["intent_id"],
|
|
752
|
+
properties: {
|
|
753
|
+
intent_id: { type: "string" }
|
|
754
|
+
},
|
|
755
|
+
additionalProperties: false
|
|
756
|
+
},
|
|
757
|
+
capabilities: ["settlement.submit"],
|
|
758
|
+
adapters: ["chain"]
|
|
759
|
+
}),
|
|
760
|
+
makeTask({
|
|
761
|
+
task_ref: "internal.adapter.mcp.invoke",
|
|
762
|
+
public_task_ref: "adapter.mcp.invoke",
|
|
763
|
+
public_category: "adapter",
|
|
764
|
+
public_title: "Adapter MCP Invoke",
|
|
765
|
+
execution_mode: "direct_http",
|
|
766
|
+
pricing_band: "decision_support",
|
|
767
|
+
public_launch_price: { amount_minor: 40, currency: "USD_CENTS" },
|
|
768
|
+
latency_class: "near_real_time",
|
|
769
|
+
failure_posture: "retry_bounded",
|
|
770
|
+
input_schema: {
|
|
771
|
+
type: "object",
|
|
772
|
+
required: ["tool_name"],
|
|
773
|
+
properties: {
|
|
774
|
+
tool_name: { type: "string" },
|
|
775
|
+
arguments: { type: "object" }
|
|
776
|
+
},
|
|
777
|
+
additionalProperties: false
|
|
778
|
+
},
|
|
779
|
+
capabilities: ["adapter.mcp.invoke"],
|
|
780
|
+
adapters: ["mcp"]
|
|
781
|
+
}),
|
|
782
|
+
makeTask({
|
|
783
|
+
task_ref: "internal.adapter.mcp.catalog",
|
|
784
|
+
public_task_ref: "adapter.mcp.catalog",
|
|
785
|
+
public_category: "adapter",
|
|
786
|
+
public_title: "Adapter MCP Catalog",
|
|
787
|
+
execution_mode: "direct_http",
|
|
788
|
+
pricing_band: "decision_support",
|
|
789
|
+
public_launch_price: { amount_minor: 35, currency: "USD_CENTS" },
|
|
790
|
+
latency_class: "near_real_time",
|
|
791
|
+
failure_posture: "retry_bounded",
|
|
792
|
+
input_schema: {
|
|
793
|
+
type: "object",
|
|
794
|
+
properties: {
|
|
795
|
+
filter: { type: "string" }
|
|
796
|
+
},
|
|
797
|
+
additionalProperties: false
|
|
798
|
+
},
|
|
799
|
+
capabilities: ["adapter.mcp.catalog"],
|
|
800
|
+
adapters: ["mcp"]
|
|
801
|
+
}),
|
|
802
|
+
makeTask({
|
|
803
|
+
task_ref: "internal.adapter.mcp.reply.draft",
|
|
804
|
+
public_task_ref: "adapter.mcp.reply.draft",
|
|
805
|
+
public_category: "adapter",
|
|
806
|
+
public_title: "Adapter MCP Reply Draft",
|
|
807
|
+
execution_mode: "direct_http",
|
|
808
|
+
pricing_band: "decision_support",
|
|
809
|
+
public_launch_price: { amount_minor: 45, currency: "USD_CENTS" },
|
|
810
|
+
latency_class: "near_real_time",
|
|
811
|
+
failure_posture: "retry_bounded",
|
|
812
|
+
input_schema: {
|
|
813
|
+
type: "object",
|
|
814
|
+
required: ["text"],
|
|
815
|
+
properties: {
|
|
816
|
+
text: { type: "string" },
|
|
817
|
+
tone: { type: "string" }
|
|
818
|
+
},
|
|
819
|
+
additionalProperties: false
|
|
820
|
+
},
|
|
821
|
+
capabilities: ["adapter.mcp.reply.draft"],
|
|
822
|
+
adapters: ["mcp"]
|
|
823
|
+
}),
|
|
824
|
+
makeTask({
|
|
825
|
+
task_ref: "internal.adapter.mcp.json.validate",
|
|
826
|
+
public_task_ref: "adapter.mcp.json.validate",
|
|
827
|
+
public_category: "adapter",
|
|
828
|
+
public_title: "Adapter MCP JSON Validate",
|
|
829
|
+
execution_mode: "direct_http",
|
|
830
|
+
pricing_band: "decision_support",
|
|
831
|
+
public_launch_price: { amount_minor: 55, currency: "USD_CENTS" },
|
|
832
|
+
latency_class: "near_real_time",
|
|
833
|
+
failure_posture: "retry_bounded",
|
|
834
|
+
input_schema: {
|
|
835
|
+
type: "object",
|
|
836
|
+
required: ["payload"],
|
|
837
|
+
properties: {
|
|
838
|
+
payload: { type: "object" },
|
|
839
|
+
schema_name: { type: "string" }
|
|
840
|
+
},
|
|
841
|
+
additionalProperties: false
|
|
842
|
+
},
|
|
843
|
+
capabilities: ["adapter.mcp.json.validate"],
|
|
844
|
+
adapters: ["mcp"]
|
|
845
|
+
})
|
|
846
|
+
];
|
|
847
|
+
|
|
848
|
+
const workflows = [
|
|
849
|
+
{
|
|
850
|
+
workflow_ref: "trust.flow",
|
|
851
|
+
aliases: ["trust.flow", "trust.receipt.flow"],
|
|
852
|
+
category: "trust",
|
|
853
|
+
title: "Trust Receipt Flow",
|
|
854
|
+
description: "Verify trust and validate a receipt.",
|
|
855
|
+
task_count: 2,
|
|
856
|
+
task_refs: ["trust.verify", "receipt.validate"],
|
|
857
|
+
latency_class: "near_real_time",
|
|
858
|
+
failure_posture: "retry_bounded",
|
|
859
|
+
pricing_basis: "sum"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
workflow_ref: "runtime.consequence.flow",
|
|
863
|
+
aliases: ["runtime.consequence.flow"],
|
|
864
|
+
category: "runtime",
|
|
865
|
+
title: "Runtime Consequence Flow",
|
|
866
|
+
description: "Emit and anchor a runtime consequence.",
|
|
867
|
+
task_count: 2,
|
|
868
|
+
task_refs: ["runtime.emit", "runtime.anchor"],
|
|
869
|
+
latency_class: "governed_async",
|
|
870
|
+
failure_posture: "governed_async",
|
|
871
|
+
pricing_basis: "sum"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
workflow_ref: "job.commitment.flow",
|
|
875
|
+
aliases: ["job.commitment.flow"],
|
|
876
|
+
category: "jobs",
|
|
877
|
+
title: "Job Commitment Flow",
|
|
878
|
+
description: "Quote, reserve, and commit a job.",
|
|
879
|
+
task_count: 3,
|
|
880
|
+
task_refs: ["jobs.quote", "jobs.reserve", "jobs.commit"],
|
|
881
|
+
latency_class: "governed_async",
|
|
882
|
+
failure_posture: "governed_async",
|
|
883
|
+
pricing_basis: "sum"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
workflow_ref: "policy.transaction.flow",
|
|
887
|
+
aliases: ["policy.transaction.flow"],
|
|
888
|
+
category: "policy",
|
|
889
|
+
title: "Policy Transaction Flow",
|
|
890
|
+
description: "Simulate policy and submit settlement.",
|
|
891
|
+
task_count: 2,
|
|
892
|
+
task_refs: ["policy.simulate", "settlement.submit"],
|
|
893
|
+
latency_class: "governed_async",
|
|
894
|
+
failure_posture: "governed_async",
|
|
895
|
+
pricing_basis: "sum"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
workflow_ref: "admission.settlement.flow",
|
|
899
|
+
aliases: ["admission.settlement.flow"],
|
|
900
|
+
category: "admission",
|
|
901
|
+
title: "Admission Settlement Flow",
|
|
902
|
+
description: "Preview admission and submit settlement.",
|
|
903
|
+
task_count: 2,
|
|
904
|
+
task_refs: ["admission.preview", "settlement.submit"],
|
|
905
|
+
latency_class: "governed_async",
|
|
906
|
+
failure_posture: "governed_async",
|
|
907
|
+
pricing_basis: "sum"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
workflow_ref: "registry.anchor.flow",
|
|
911
|
+
aliases: ["registry.anchor.flow"],
|
|
912
|
+
category: "registry",
|
|
913
|
+
title: "Registry Anchor Flow",
|
|
914
|
+
description: "Register a record and anchor its commitment.",
|
|
915
|
+
task_count: 2,
|
|
916
|
+
task_refs: ["registry.register", "anchoring.submit"],
|
|
917
|
+
latency_class: "governed_async",
|
|
918
|
+
failure_posture: "governed_async",
|
|
919
|
+
pricing_basis: "sum"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
workflow_ref: "a2a.settlement.flow",
|
|
923
|
+
aliases: ["a2a.settlement.flow", "agent.negotiation.flow"],
|
|
924
|
+
category: "a2a",
|
|
925
|
+
title: "A2A Settlement Flow",
|
|
926
|
+
description: "Negotiate with another agent, commit the intent, and settle the resulting transaction.",
|
|
927
|
+
task_count: 3,
|
|
928
|
+
task_refs: ["a2a.negotiate", "a2a.commit", "settlement.submit"],
|
|
929
|
+
latency_class: "governed_async",
|
|
930
|
+
failure_posture: "governed_async",
|
|
931
|
+
pricing_basis: "sum"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
workflow_ref: "a2c.tooling.flow",
|
|
935
|
+
aliases: ["a2c.tooling.flow", "agent.channel.tooling.flow"],
|
|
936
|
+
category: "a2c",
|
|
937
|
+
title: "A2C Tooling Flow",
|
|
938
|
+
description: "Open a channel session, preview a task pack, and invoke the selected MCP tool lane.",
|
|
939
|
+
task_count: 3,
|
|
940
|
+
task_refs: ["a2c.session.open", "a2c.pack.preview", "adapter.mcp.invoke"],
|
|
941
|
+
latency_class: "near_real_time",
|
|
942
|
+
failure_posture: "retry_bounded",
|
|
943
|
+
pricing_basis: "sum"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
workflow_ref: "identity.anchor.flow",
|
|
947
|
+
aliases: ["identity.anchor.flow", "identity.registry.anchor.flow"],
|
|
948
|
+
category: "identity",
|
|
949
|
+
title: "Identity Anchor Flow",
|
|
950
|
+
description: "Preview identity attestation, register the record, link it to identity state, and anchor the resulting proof.",
|
|
951
|
+
task_count: 4,
|
|
952
|
+
task_refs: [
|
|
953
|
+
"identity.attest.preview",
|
|
954
|
+
"registry.register",
|
|
955
|
+
"identity.registry.link",
|
|
956
|
+
"anchoring.submit"
|
|
957
|
+
],
|
|
958
|
+
latency_class: "governed_async",
|
|
959
|
+
failure_posture: "governed_async",
|
|
960
|
+
pricing_basis: "sum"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
workflow_ref: "registry.pack.anchor.flow",
|
|
964
|
+
aliases: ["registry.pack.anchor.flow", "registry.bundle.anchor.flow"],
|
|
965
|
+
category: "registry",
|
|
966
|
+
title: "Registry Pack Anchor Flow",
|
|
967
|
+
description: "Bundle a registry pack, preview anchoring posture, and submit the pack for anchoring.",
|
|
968
|
+
task_count: 3,
|
|
969
|
+
task_refs: ["registry.pack.bundle", "anchoring.pack.preview", "anchoring.submit"],
|
|
970
|
+
latency_class: "governed_async",
|
|
971
|
+
failure_posture: "governed_async",
|
|
972
|
+
pricing_basis: "sum"
|
|
973
|
+
}
|
|
974
|
+
];
|
|
975
|
+
|
|
976
|
+
const creditPacks = [
|
|
977
|
+
{
|
|
978
|
+
pack_id: "credits.starter",
|
|
979
|
+
title: "Starter Credits",
|
|
980
|
+
category: "starter",
|
|
981
|
+
issued_units: 100,
|
|
982
|
+
nominal_amount_minor: 1000,
|
|
983
|
+
nominal_currency: "USD_CENTS",
|
|
984
|
+
intended_usage_posture: "first_use_and_light_repeat",
|
|
985
|
+
recommended_for: [
|
|
986
|
+
"first-time users",
|
|
987
|
+
"simple CLI and API exploration",
|
|
988
|
+
"utility and decision-support tasks"
|
|
989
|
+
],
|
|
990
|
+
task_band_targets: ["utility", "decision_support"],
|
|
991
|
+
workflow_targets: ["default.mcp.tool.invoke", "default.a2c.tooling.run"],
|
|
992
|
+
notes: "Best for learning the stack and lightweight repeat usage."
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
pack_id: "credits.builder",
|
|
996
|
+
title: "Builder Credits",
|
|
997
|
+
category: "builder",
|
|
998
|
+
issued_units: 500,
|
|
999
|
+
nominal_amount_minor: 4500,
|
|
1000
|
+
nominal_currency: "USD_CENTS",
|
|
1001
|
+
intended_usage_posture: "regular_builder_use",
|
|
1002
|
+
recommended_for: [
|
|
1003
|
+
"solo developers",
|
|
1004
|
+
"API and MCP tool builders",
|
|
1005
|
+
"repeat transactional usage"
|
|
1006
|
+
],
|
|
1007
|
+
task_band_targets: ["decision_support", "transactional"],
|
|
1008
|
+
workflow_targets: ["default.mcp.tool.invoke", "default.a2c.tooling.run", "default.identity.anchor.run"],
|
|
1009
|
+
notes: "A balanced repeat-use pack for regular interactive and embedded runtime usage."
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
pack_id: "credits.agent",
|
|
1013
|
+
title: "Agent Credits",
|
|
1014
|
+
category: "agent",
|
|
1015
|
+
issued_units: 1500,
|
|
1016
|
+
nominal_amount_minor: 12000,
|
|
1017
|
+
nominal_currency: "USD_CENTS",
|
|
1018
|
+
intended_usage_posture: "autonomous_repeat_execution",
|
|
1019
|
+
recommended_for: [
|
|
1020
|
+
"autonomous agents",
|
|
1021
|
+
"mid-run machine calls",
|
|
1022
|
+
"bundled transaction and trust-critical flows"
|
|
1023
|
+
],
|
|
1024
|
+
task_band_targets: ["transactional", "trust_critical"],
|
|
1025
|
+
workflow_targets: ["a2a.settlement.flow", "identity.anchor.flow", "registry.pack.anchor.flow"],
|
|
1026
|
+
notes: "Designed for autonomous or semi-autonomous agents that need reusable runtime balance."
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
pack_id: "credits.fleet",
|
|
1030
|
+
title: "Fleet Credits",
|
|
1031
|
+
category: "fleet",
|
|
1032
|
+
issued_units: 5000,
|
|
1033
|
+
nominal_amount_minor: 35000,
|
|
1034
|
+
nominal_currency: "USD_CENTS",
|
|
1035
|
+
intended_usage_posture: "team_and_multi_agent_budgeting",
|
|
1036
|
+
recommended_for: [
|
|
1037
|
+
"agent fleets",
|
|
1038
|
+
"teams and services",
|
|
1039
|
+
"heavier governed and high-consequence execution"
|
|
1040
|
+
],
|
|
1041
|
+
task_band_targets: ["transactional", "governed_high_consequence", "trust_critical"],
|
|
1042
|
+
workflow_targets: ["a2a.settlement.flow", "registry.pack.anchor.flow", "identity.anchor.flow"],
|
|
1043
|
+
notes: "Best for sustained multi-agent or team-based runtime use with stronger budgeting posture."
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
pack_id: "credits.topup",
|
|
1047
|
+
title: "Top-Up Credits",
|
|
1048
|
+
category: "topup",
|
|
1049
|
+
issued_units: 250,
|
|
1050
|
+
nominal_amount_minor: 2500,
|
|
1051
|
+
nominal_currency: "USD_CENTS",
|
|
1052
|
+
intended_usage_posture: "quick_replenishment",
|
|
1053
|
+
recommended_for: [
|
|
1054
|
+
"refilling an active account",
|
|
1055
|
+
"avoiding interruption mid-run",
|
|
1056
|
+
"extending an existing balance"
|
|
1057
|
+
],
|
|
1058
|
+
task_band_targets: ["utility", "decision_support", "transactional"],
|
|
1059
|
+
workflow_targets: ["default.mcp.tool.invoke", "default.a2c.tooling.run"],
|
|
1060
|
+
notes: "A bounded replenishment unit for accounts that are already actively consuming the runtime."
|
|
1061
|
+
}
|
|
1062
|
+
];
|
|
1063
|
+
|
|
1064
|
+
const catalog = {
|
|
1065
|
+
version: "v1",
|
|
1066
|
+
currency: "USD_CENTS",
|
|
1067
|
+
payment_scheme: "quote_then_settle",
|
|
1068
|
+
plans: [],
|
|
1069
|
+
capabilities: [
|
|
1070
|
+
"catalog",
|
|
1071
|
+
"workflows",
|
|
1072
|
+
"task_sets",
|
|
1073
|
+
"quotes",
|
|
1074
|
+
"execution",
|
|
1075
|
+
"receipts",
|
|
1076
|
+
"runtime",
|
|
1077
|
+
"registry",
|
|
1078
|
+
"settlement",
|
|
1079
|
+
"governed_lifecycle",
|
|
1080
|
+
"operator_visibility"
|
|
1081
|
+
],
|
|
1082
|
+
adapters: ["http", "chain", "mcp"],
|
|
1083
|
+
surfaces: ["sdk", "service", "operator"],
|
|
1084
|
+
credit_packs: creditPacks,
|
|
1085
|
+
task_categories: [
|
|
1086
|
+
"trust",
|
|
1087
|
+
"receipt",
|
|
1088
|
+
"runtime",
|
|
1089
|
+
"jobs",
|
|
1090
|
+
"credits",
|
|
1091
|
+
"a2a",
|
|
1092
|
+
"a2c",
|
|
1093
|
+
"policy",
|
|
1094
|
+
"identity",
|
|
1095
|
+
"registry",
|
|
1096
|
+
"anchoring",
|
|
1097
|
+
"discovery",
|
|
1098
|
+
"admission",
|
|
1099
|
+
"settlement",
|
|
1100
|
+
"adapter"
|
|
1101
|
+
],
|
|
1102
|
+
settlement_profiles: settlementProfiles,
|
|
1103
|
+
tasks,
|
|
1104
|
+
workflows
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
function findTask(ref) {
|
|
1108
|
+
const lookup = String(ref || "").trim();
|
|
1109
|
+
return catalog.tasks.find((task) =>
|
|
1110
|
+
task.task_ref === lookup ||
|
|
1111
|
+
task.public_task_ref === lookup ||
|
|
1112
|
+
(Array.isArray(task.public_aliases) && task.public_aliases.includes(lookup))
|
|
1113
|
+
) || null;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
function findWorkflow(ref) {
|
|
1117
|
+
const lookup = String(ref || "").trim();
|
|
1118
|
+
return catalog.workflows.find((workflow) =>
|
|
1119
|
+
workflow.workflow_ref === lookup ||
|
|
1120
|
+
(Array.isArray(workflow.aliases) && workflow.aliases.includes(lookup))
|
|
1121
|
+
) || null;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
function findCreditPack(ref) {
|
|
1125
|
+
const lookup = String(ref || "").trim();
|
|
1126
|
+
return catalog.credit_packs.find((pack) => pack && pack.pack_id === lookup) || null;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
module.exports = {
|
|
1130
|
+
catalog,
|
|
1131
|
+
findCreditPack,
|
|
1132
|
+
findTask,
|
|
1133
|
+
findWorkflow
|
|
1134
|
+
};
|