xytara 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +6 -0
- package/ADAPTER_START_HERE.md +56 -0
- package/BSV_TERANODE_SETUP.md +30 -1
- package/CARRIED_HANDOFF_DEMO.md +60 -0
- package/EXAMPLE_PATHS.md +53 -0
- package/FINAL_CONTRACT.md +6 -6
- package/OPERATIONS_RUNBOOK.md +65 -0
- package/OPERATOR_START_HERE.md +63 -0
- package/PARTNER_READY_PATH.md +71 -0
- package/PROGRAM_COMPLETE_RELEASE.md +63 -0
- package/PROGRAM_STATUS.md +57 -0
- package/PUBLIC_DEMO_SCRIPT.md +78 -0
- package/PUBLISH_PLAN.md +14 -0
- package/README.md +142 -6
- package/RELEASE_CHECKLIST.md +16 -0
- package/RELEASE_NOTES.md +28 -0
- package/SERVICE_CONTRACT.md +4 -4
- package/START_HERE.md +32 -0
- package/SUPABASE_RUNTIME_STATE_SETUP.md +61 -0
- package/WHY_XYTARA_XOONYA.md +63 -0
- package/adapters/examples/minimal-third-party-execution-adapter.js +61 -0
- package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +79 -0
- package/adapters/examples/minimal-third-party-execution-registration.record.json +26 -0
- package/adapters/examples/minimal-third-party-execution.certification-pack.json +22 -0
- package/adapters/examples/minimal-third-party-execution.submission-bundle.json +126 -0
- package/bin/xytara-release.js +1419 -0
- package/bin/xytara-run.js +186 -0
- package/examples/adapter_review_walkthrough.js +53 -0
- package/examples/export_carried_handoff.js +80 -0
- package/examples/funded_runtime_walkthrough.js +70 -0
- package/examples/partner_launch_walkthrough.js +43 -0
- package/examples/quickstart.js +3255 -0
- package/index.js +87 -1
- package/lib/adapter_pack.js +118 -0
- package/lib/adapter_partner_pack.js +89 -0
- package/lib/adapter_promotion_pack.js +89 -0
- package/lib/announcement_pack.js +61 -0
- package/lib/commerce_artifacts.js +3 -0
- package/lib/commerce_economics.js +14 -0
- package/lib/commerce_reports.js +26 -1
- package/lib/commerce_shell.js +18 -2
- package/lib/ecosystem_entry.js +64 -0
- package/lib/launch_narrative.js +53 -0
- package/lib/outreach_copy_pack.js +51 -0
- package/lib/outreach_message_pack.js +71 -0
- package/lib/outreach_proof.js +71 -0
- package/lib/outreach_target_pack.js +60 -0
- package/lib/phase_10_closeout_pack.js +45 -0
- package/lib/phase_10_completion_pack.js +76 -0
- package/lib/phase_10_decision_record_pack.js +54 -0
- package/lib/phase_10_decision_resolution_pack.js +53 -0
- package/lib/phase_10_demand_signal_adapters_runtime_pack.js +74 -0
- package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +74 -0
- package/lib/phase_10_freeze_baseline_pack.js +67 -0
- package/lib/phase_10_freeze_review_pack.js +64 -0
- package/lib/phase_10_gate_pack.js +57 -0
- package/lib/phase_10_long_tail_continuity_pack.js +80 -0
- package/lib/phase_10_long_tail_ecosystem_pack.js +66 -0
- package/lib/phase_10_niche_extension_registry_runtime_pack.js +74 -0
- package/lib/phase_1_claude_mcp_pack.js +60 -0
- package/lib/phase_1_claude_mcp_runtime_pack.js +52 -0
- package/lib/phase_1_ecosystem_pack.js +67 -0
- package/lib/phase_1_openai_codex_pack.js +60 -0
- package/lib/phase_1_openai_codex_runtime_pack.js +52 -0
- package/lib/phase_2_base_runtime_pack.js +71 -0
- package/lib/phase_2_base_usdc_runtime_pack.js +72 -0
- package/lib/phase_2_closeout_pack.js +65 -0
- package/lib/phase_2_completion_pack.js +113 -0
- package/lib/phase_2_decision_record_pack.js +66 -0
- package/lib/phase_2_decision_resolution_pack.js +69 -0
- package/lib/phase_2_eth_runtime_pack.js +70 -0
- package/lib/phase_2_evm_base_runtime_pack.js +73 -0
- package/lib/phase_2_evm_runtime_pack.js +71 -0
- package/lib/phase_2_flip_preview_pack.js +60 -0
- package/lib/phase_2_freeze_review_pack.js +99 -0
- package/lib/phase_2_gate_pack.js +77 -0
- package/lib/phase_2_payment_rails_pack.js +71 -0
- package/lib/phase_2_usdc_runtime_pack.js +71 -0
- package/lib/phase_3_brc_runtime_pack.js +81 -0
- package/lib/phase_3_bsv_teranode_runtime_pack.js +83 -0
- package/lib/phase_3_closeout_pack.js +62 -0
- package/lib/phase_3_completion_pack.js +94 -0
- package/lib/phase_3_decision_record_pack.js +64 -0
- package/lib/phase_3_decision_resolution_pack.js +69 -0
- package/lib/phase_3_freeze_baseline_pack.js +67 -0
- package/lib/phase_3_freeze_review_pack.js +80 -0
- package/lib/phase_3_gate_pack.js +76 -0
- package/lib/phase_3_metanet_runtime_pack.js +81 -0
- package/lib/phase_3_native_bsv_pack.js +91 -0
- package/lib/phase_3_native_continuity_pack.js +82 -0
- package/lib/phase_4_attestation_runtime_pack.js +75 -0
- package/lib/phase_4_closeout_pack.js +45 -0
- package/lib/phase_4_completion_pack.js +94 -0
- package/lib/phase_4_decision_record_pack.js +54 -0
- package/lib/phase_4_decision_resolution_pack.js +45 -0
- package/lib/phase_4_erc8004_runtime_pack.js +76 -0
- package/lib/phase_4_freeze_baseline_pack.js +67 -0
- package/lib/phase_4_freeze_review_pack.js +68 -0
- package/lib/phase_4_gate_pack.js +58 -0
- package/lib/phase_4_identity_registry_runtime_pack.js +75 -0
- package/lib/phase_4_identity_trust_pack.js +73 -0
- package/lib/phase_4_trust_continuity_pack.js +86 -0
- package/lib/phase_5_antelope_runtime_pack.js +76 -0
- package/lib/phase_5_closeout_pack.js +44 -0
- package/lib/phase_5_completion_pack.js +82 -0
- package/lib/phase_5_decision_record_pack.js +54 -0
- package/lib/phase_5_decision_resolution_pack.js +45 -0
- package/lib/phase_5_freeze_baseline_pack.js +67 -0
- package/lib/phase_5_freeze_review_pack.js +68 -0
- package/lib/phase_5_gate_pack.js +58 -0
- package/lib/phase_5_major_rails_continuity_pack.js +86 -0
- package/lib/phase_5_major_rails_pack.js +74 -0
- package/lib/phase_5_proton_xpr_runtime_pack.js +76 -0
- package/lib/phase_5_solana_runtime_pack.js +76 -0
- package/lib/phase_6_autogen_runtime_pack.js +72 -0
- package/lib/phase_6_closeout_pack.js +46 -0
- package/lib/phase_6_completion_pack.js +77 -0
- package/lib/phase_6_decision_record_pack.js +54 -0
- package/lib/phase_6_decision_resolution_pack.js +53 -0
- package/lib/phase_6_framework_continuity_pack.js +81 -0
- package/lib/phase_6_framework_runtime_pack.js +68 -0
- package/lib/phase_6_freeze_baseline_pack.js +68 -0
- package/lib/phase_6_freeze_review_pack.js +65 -0
- package/lib/phase_6_gate_pack.js +59 -0
- package/lib/phase_6_langchain_runtime_pack.js +72 -0
- package/lib/phase_6_langgraph_runtime_pack.js +72 -0
- package/lib/phase_6_semantic_kernel_runtime_pack.js +72 -0
- package/lib/phase_7_closeout_pack.js +45 -0
- package/lib/phase_7_completion_pack.js +85 -0
- package/lib/phase_7_decision_record_pack.js +53 -0
- package/lib/phase_7_decision_resolution_pack.js +53 -0
- package/lib/phase_7_event_system_continuity_pack.js +89 -0
- package/lib/phase_7_event_system_pack.js +76 -0
- package/lib/phase_7_freeze_baseline_pack.js +74 -0
- package/lib/phase_7_freeze_review_pack.js +65 -0
- package/lib/phase_7_gate_pack.js +58 -0
- package/lib/phase_7_kafka_runtime_pack.js +74 -0
- package/lib/phase_7_mqtt_runtime_pack.js +74 -0
- package/lib/phase_7_nats_runtime_pack.js +74 -0
- package/lib/phase_7_webhook_event_bus_runtime_pack.js +74 -0
- package/lib/phase_8_closeout_pack.js +46 -0
- package/lib/phase_8_completion_pack.js +82 -0
- package/lib/phase_8_decision_record_pack.js +54 -0
- package/lib/phase_8_decision_resolution_pack.js +53 -0
- package/lib/phase_8_external_receipt_import_runtime_pack.js +74 -0
- package/lib/phase_8_external_result_import_runtime_pack.js +74 -0
- package/lib/phase_8_freeze_baseline_pack.js +71 -0
- package/lib/phase_8_freeze_review_pack.js +64 -0
- package/lib/phase_8_gate_pack.js +58 -0
- package/lib/phase_8_proof_bridge_continuity_pack.js +86 -0
- package/lib/phase_8_proof_bridges_pack.js +72 -0
- package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +74 -0
- package/lib/phase_9_closeout_pack.js +46 -0
- package/lib/phase_9_completion_pack.js +82 -0
- package/lib/phase_9_custody_refs_runtime_pack.js +74 -0
- package/lib/phase_9_decision_record_pack.js +54 -0
- package/lib/phase_9_decision_resolution_pack.js +53 -0
- package/lib/phase_9_freeze_baseline_pack.js +71 -0
- package/lib/phase_9_freeze_review_pack.js +64 -0
- package/lib/phase_9_gate_pack.js +58 -0
- package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +74 -0
- package/lib/phase_9_treasury_connectivity_pack.js +72 -0
- package/lib/phase_9_treasury_continuity_pack.js +86 -0
- package/lib/phase_9_treasury_destinations_runtime_pack.js +74 -0
- package/lib/phase_program_pack.js +120 -0
- package/lib/publish_plan.js +51 -0
- package/lib/release_candidate.js +50 -0
- package/lib/release_center.js +1085 -0
- package/lib/release_history.js +72 -0
- package/lib/release_manifest.js +114 -0
- package/lib/release_pack.js +454 -0
- package/lib/runtime_state_store.js +354 -0
- package/lib/settlement_bsv_live.js +262 -13
- package/lib/soft_launch_pack.js +78 -0
- package/package.json +24 -2
- package/server.js +2562 -220
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhaseProgramPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-program-pack",
|
|
10
|
+
current_phase: "program_closed",
|
|
11
|
+
phases: [
|
|
12
|
+
{
|
|
13
|
+
phase_ref: "phase_1",
|
|
14
|
+
title: "Agent And Protocol Entry",
|
|
15
|
+
status: "completed",
|
|
16
|
+
main_repo_weight: "xytara_heavy_xoonya_medium",
|
|
17
|
+
ecosystems: ["openai_codex", "claude_anthropic_mcp"],
|
|
18
|
+
goal: "win the first real agent-builder and protocol-builder adoption paths"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
phase_ref: "phase_2",
|
|
22
|
+
title: "Broadly Legible Payment Rails",
|
|
23
|
+
status: "completed",
|
|
24
|
+
main_repo_weight: "xytara_very_heavy_xoonya_medium",
|
|
25
|
+
ecosystems: ["evm", "base", "eth", "usdc"],
|
|
26
|
+
goal: "make multi-rail machine commerce commercially legible outside one chain context"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
phase_ref: "phase_3",
|
|
30
|
+
title: "Native BSV Completion",
|
|
31
|
+
status: "completed",
|
|
32
|
+
main_repo_weight: "xytara_heavy_xoonya_heavy",
|
|
33
|
+
ecosystems: ["bsv", "teranode", "metanet", "brc"],
|
|
34
|
+
goal: "fully solidify the native differentiated rail"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
phase_ref: "phase_4",
|
|
38
|
+
title: "Identity And Trust Adapters",
|
|
39
|
+
status: "completed",
|
|
40
|
+
main_repo_weight: "xytara_medium_xoonya_heavy",
|
|
41
|
+
ecosystems: ["erc8004", "identity_registry", "attestation"],
|
|
42
|
+
goal: "deepen governed trust and registry-aware interaction posture"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
phase_ref: "phase_5",
|
|
46
|
+
title: "Additional Major Rails",
|
|
47
|
+
status: "completed",
|
|
48
|
+
main_repo_weight: "xytara_heavy_xoonya_medium",
|
|
49
|
+
ecosystems: ["solana", "antelope", "greymass", "eosio", "proton_xpr"],
|
|
50
|
+
goal: "broaden serious multi-ecosystem rail support"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
phase_ref: "phase_6",
|
|
54
|
+
title: "Framework And Runtime Adapters",
|
|
55
|
+
status: "completed",
|
|
56
|
+
main_repo_weight: "xytara_heavy_xoonya_light_medium",
|
|
57
|
+
ecosystems: ["langgraph", "langchain", "autogen", "semantic_kernel"],
|
|
58
|
+
goal: "slot into production agent runtimes and orchestration stacks"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
phase_ref: "phase_7",
|
|
62
|
+
title: "Event And System Integration",
|
|
63
|
+
status: "completed",
|
|
64
|
+
main_repo_weight: "xytara_heavy_xoonya_light",
|
|
65
|
+
ecosystems: ["kafka", "nats", "mqtt", "webhook_event_bus"],
|
|
66
|
+
goal: "make the stack easier to integrate into enterprise system flows"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
phase_ref: "phase_8",
|
|
70
|
+
title: "Proof And External Evidence Bridges",
|
|
71
|
+
status: "completed",
|
|
72
|
+
main_repo_weight: "xoonya_very_heavy_xytara_medium",
|
|
73
|
+
ecosystems: ["external_result_import", "external_receipt_import", "proof_bundle_normalization"],
|
|
74
|
+
goal: "make xoonya the universal proof-side convergence layer"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
phase_ref: "phase_9",
|
|
78
|
+
title: "Treasury And Operator Connectivity",
|
|
79
|
+
status: "completed",
|
|
80
|
+
main_repo_weight: "xytara_very_heavy_xoonya_light_medium",
|
|
81
|
+
ecosystems: ["treasury_destinations", "custody_refs", "operator_accounting_bridges"],
|
|
82
|
+
goal: "harden real economic operations across the multi-rail stack"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
phase_ref: "phase_10",
|
|
86
|
+
title: "Long Tail Ecosystem Breadth",
|
|
87
|
+
status: "completed",
|
|
88
|
+
main_repo_weight: "varies",
|
|
89
|
+
ecosystems: ["demand_driven_niche_extensions"],
|
|
90
|
+
goal: "extend carefully from real demand without breaking coherence"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
cross_phase_rules: [
|
|
94
|
+
"every adapter enters through manifest, registration, certification, promotion, and review",
|
|
95
|
+
"runtime, payment, settlement, treasury, and metering belong first in xytara",
|
|
96
|
+
"proof bundle, verification, review, continuation, and evidence normalization belong first in xoonya",
|
|
97
|
+
"trust continuity is designed across both repos from the start"
|
|
98
|
+
]
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function summarizePhaseProgramPack() {
|
|
103
|
+
const pack = buildPhaseProgramPack();
|
|
104
|
+
return {
|
|
105
|
+
ok: true,
|
|
106
|
+
product: pack.product,
|
|
107
|
+
category: pack.category,
|
|
108
|
+
current_phase: pack.current_phase,
|
|
109
|
+
phase_count: pack.phases.length,
|
|
110
|
+
active_phase_count: pack.phases.filter((entry) => entry.status === "active").length,
|
|
111
|
+
planned_phase_count: pack.phases.filter((entry) => entry.status === "planned").length,
|
|
112
|
+
completed_phase_count: pack.phases.filter((entry) => entry.status === "completed").length,
|
|
113
|
+
rule_count: pack.cross_phase_rules.length
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
module.exports = {
|
|
118
|
+
buildPhaseProgramPack,
|
|
119
|
+
summarizePhaseProgramPack
|
|
120
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPublishPlan() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-publish-plan",
|
|
10
|
+
version: packageJson.version,
|
|
11
|
+
commands: {
|
|
12
|
+
verify_release_candidate: "npm run verify:release-candidate",
|
|
13
|
+
pack_dry_run: "npm pack --dry-run --json",
|
|
14
|
+
publish: "npm publish --access public",
|
|
15
|
+
release_cli_check: "xytara-release --candidate --summary"
|
|
16
|
+
},
|
|
17
|
+
live_checks: [
|
|
18
|
+
"/v1/release-candidate/summary",
|
|
19
|
+
"/v1/release-center/summary",
|
|
20
|
+
"/v1/announcement-pack/summary",
|
|
21
|
+
"/v1/outreach-proof/summary"
|
|
22
|
+
],
|
|
23
|
+
publish_sequence: [
|
|
24
|
+
"run the release-candidate verification",
|
|
25
|
+
"confirm the dry-run package contents",
|
|
26
|
+
"publish the npm package at public access",
|
|
27
|
+
"redeploy the live service surfaces",
|
|
28
|
+
"verify the release-candidate and release-center summaries live",
|
|
29
|
+
"run the first public machine proof path"
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function summarizePublishPlan() {
|
|
35
|
+
const plan = buildPublishPlan();
|
|
36
|
+
return {
|
|
37
|
+
ok: true,
|
|
38
|
+
product: plan.product,
|
|
39
|
+
category: plan.category,
|
|
40
|
+
version: plan.version,
|
|
41
|
+
command_count: Object.keys(plan.commands).length,
|
|
42
|
+
live_check_count: plan.live_checks.length,
|
|
43
|
+
publish_step_count: plan.publish_sequence.length,
|
|
44
|
+
publish_command: plan.commands.publish
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
module.exports = {
|
|
49
|
+
buildPublishPlan,
|
|
50
|
+
summarizePublishPlan
|
|
51
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildReleaseCandidatePack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-release-candidate",
|
|
10
|
+
version: packageJson.version,
|
|
11
|
+
package_posture: {
|
|
12
|
+
publish_access: packageJson.publishConfig && packageJson.publishConfig.access ? packageJson.publishConfig.access : null,
|
|
13
|
+
engine: packageJson.engines && packageJson.engines.node ? packageJson.engines.node : null,
|
|
14
|
+
bin_count: Object.keys(packageJson.bin || {}).length,
|
|
15
|
+
published_file_count: Array.isArray(packageJson.files) ? packageJson.files.length : 0
|
|
16
|
+
},
|
|
17
|
+
rehearsal: {
|
|
18
|
+
clean_install_command: "npm install xytara",
|
|
19
|
+
dry_run_pack_command: "npm pack --dry-run --json",
|
|
20
|
+
release_check_command: "npm run verify:release-candidate",
|
|
21
|
+
first_release_view: "xytara-release --candidate --summary"
|
|
22
|
+
},
|
|
23
|
+
checklist: [
|
|
24
|
+
"run npm run verify:release-candidate",
|
|
25
|
+
"confirm npm pack --dry-run includes public docs and bin entrypoints",
|
|
26
|
+
"confirm release-center and announcement-pack summaries are live after deploy",
|
|
27
|
+
"confirm the first public proof path still succeeds",
|
|
28
|
+
"only then proceed to npm publish"
|
|
29
|
+
]
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function summarizeReleaseCandidatePack() {
|
|
34
|
+
const pack = buildReleaseCandidatePack();
|
|
35
|
+
return {
|
|
36
|
+
ok: true,
|
|
37
|
+
product: pack.product,
|
|
38
|
+
category: pack.category,
|
|
39
|
+
version: pack.version,
|
|
40
|
+
publish_access: pack.package_posture.publish_access,
|
|
41
|
+
bin_count: pack.package_posture.bin_count,
|
|
42
|
+
published_file_count: pack.package_posture.published_file_count,
|
|
43
|
+
checklist_count: pack.checklist.length
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
module.exports = {
|
|
48
|
+
buildReleaseCandidatePack,
|
|
49
|
+
summarizeReleaseCandidatePack
|
|
50
|
+
};
|