xoonya 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/CARRIED_HANDOFF_DEMO.md +60 -0
- package/EXAMPLE_PATHS.md +53 -0
- package/FINAL_CONTRACT.md +6 -6
- package/OPERATIONS_RUNBOOK.md +50 -0
- package/OPERATOR_START_HERE.md +67 -0
- package/PARTNER_READY_PATH.md +67 -0
- package/PROGRAM_COMPLETE_RELEASE.md +52 -0
- package/PROGRAM_STATUS.md +57 -0
- package/PUBLIC_DEMO_SCRIPT.md +79 -0
- package/PUBLISH_PLAN.md +14 -0
- package/README.md +86 -2
- package/RELEASE_CHECKLIST.md +16 -0
- package/RELEASE_NOTES.md +28 -0
- package/START_HERE.md +28 -0
- package/WHY_XYTARA_XOONYA.md +43 -0
- package/bin/xoonya-release.js +1349 -0
- package/bin/xoonya-review.js +70 -0
- package/examples/integration_boundary_walkthrough.js +37 -0
- package/examples/package_quickstart.js +1007 -0
- package/examples/partner_proof_walkthrough.js +68 -0
- package/examples/proof_review_walkthrough.js +66 -0
- package/examples/review_carried_handoff.js +72 -0
- package/index.js +11 -1
- package/lib/announcement_pack.js +61 -0
- package/lib/ecosystem_entry.js +64 -0
- package/lib/launch_narrative.js +53 -0
- package/lib/outreach_proof.js +71 -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_proof_pack.js +74 -0
- package/lib/phase_10_ecosystem_backlog_triage_proof_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 +68 -0
- package/lib/phase_10_niche_extension_registry_proof_pack.js +74 -0
- package/lib/phase_1_claude_mcp_pack.js +60 -0
- package/lib/phase_1_claude_mcp_proof_pack.js +57 -0
- package/lib/phase_1_ecosystem_pack.js +51 -0
- package/lib/phase_1_openai_codex_pack.js +60 -0
- package/lib/phase_1_openai_codex_proof_pack.js +57 -0
- package/lib/phase_2_base_proof_pack.js +71 -0
- package/lib/phase_2_base_usdc_proof_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_proof_pack.js +70 -0
- package/lib/phase_2_evm_base_proof_pack.js +73 -0
- package/lib/phase_2_evm_proof_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_proof_pack.js +71 -0
- package/lib/phase_3_brc_proof_pack.js +81 -0
- package/lib/phase_3_bsv_teranode_proof_pack.js +81 -0
- package/lib/phase_3_closeout_pack.js +62 -0
- package/lib/phase_3_completion_pack.js +92 -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_proof_pack.js +81 -0
- package/lib/phase_3_native_bsv_pack.js +89 -0
- package/lib/phase_3_native_continuity_pack.js +82 -0
- package/lib/phase_4_attestation_proof_pack.js +75 -0
- package/lib/phase_4_closeout_pack.js +45 -0
- package/lib/phase_4_completion_pack.js +82 -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_proof_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_proof_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_proof_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_proof_pack.js +76 -0
- package/lib/phase_5_solana_proof_pack.js +76 -0
- package/lib/phase_6_autogen_proof_pack.js +74 -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_proof_pack.js +74 -0
- package/lib/phase_6_langgraph_proof_pack.js +74 -0
- package/lib/phase_6_semantic_kernel_proof_pack.js +74 -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_proof_pack.js +76 -0
- package/lib/phase_7_mqtt_proof_pack.js +76 -0
- package/lib/phase_7_nats_proof_pack.js +76 -0
- package/lib/phase_7_webhook_event_bus_proof_pack.js +76 -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_proof_pack.js +74 -0
- package/lib/phase_8_external_result_import_proof_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_proof_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_proof_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_proof_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_proof_pack.js +74 -0
- package/lib/phase_program_pack.js +47 -0
- package/lib/publish_plan.js +51 -0
- package/lib/release_candidate.js +50 -0
- package/lib/release_center.js +1037 -0
- package/lib/release_history.js +72 -0
- package/lib/release_manifest.js +114 -0
- package/lib/release_pack.js +391 -0
- package/package.json +26 -2
- package/proof_sdk.js +43 -2
- package/server.js +1852 -0
package/proof_sdk.js
CHANGED
|
@@ -1093,6 +1093,23 @@ function extractEconomicConsequenceCarry(handoff) {
|
|
|
1093
1093
|
usage_units: conformance.deterministic_consequence.usage_units,
|
|
1094
1094
|
pricing_band: conformance.deterministic_consequence.pricing_band,
|
|
1095
1095
|
meter_profile_ref: conformance.deterministic_consequence.meter_profile_ref,
|
|
1096
|
+
economic_audit_summary: {
|
|
1097
|
+
account_ref: conformance.deterministic_consequence.account_ref,
|
|
1098
|
+
usage_meter_ref: conformance.deterministic_consequence.usage_meter_ref,
|
|
1099
|
+
credit_spend_ref: conformance.deterministic_consequence.credit_spend_ref,
|
|
1100
|
+
usage_units: conformance.deterministic_consequence.usage_units,
|
|
1101
|
+
pricing_band: conformance.deterministic_consequence.pricing_band,
|
|
1102
|
+
meter_profile_ref: conformance.deterministic_consequence.meter_profile_ref,
|
|
1103
|
+
payment_ref: conformance.deterministic_consequence.payment_ref,
|
|
1104
|
+
settlement_ref: conformance.deterministic_consequence.settlement_ref,
|
|
1105
|
+
settlement_txid: conformance.deterministic_consequence.settlement_txid,
|
|
1106
|
+
settlement_status: conformance.deterministic_consequence.settlement_status,
|
|
1107
|
+
settlement_finality_status: conformance.deterministic_consequence.settlement_finality_status,
|
|
1108
|
+
treasury_receipt_ref: conformance.deterministic_consequence.treasury_receipt_ref,
|
|
1109
|
+
proof_ref: conformance.deterministic_consequence.proof_ref,
|
|
1110
|
+
conformance_pack_ref: conformance.conformance_pack_ref,
|
|
1111
|
+
review_summary_surface: conformance.review_summary_surface
|
|
1112
|
+
},
|
|
1096
1113
|
next_surface: conformance.next_surface,
|
|
1097
1114
|
review_summary_surface: conformance.review_summary_surface
|
|
1098
1115
|
}
|
|
@@ -1412,6 +1429,9 @@ function summarizeReviewedInteractionResultPackageHandoff(input) {
|
|
|
1412
1429
|
economic_consequence_ready: Boolean(review.economic_consequence_review),
|
|
1413
1430
|
usage_meter_ref: review.economic_consequence_review ? review.economic_consequence_review.usage_meter_ref : null,
|
|
1414
1431
|
credit_spend_ref: review.economic_consequence_review ? review.economic_consequence_review.credit_spend_ref : null,
|
|
1432
|
+
economic_audit_summary: review.economic_consequence_review
|
|
1433
|
+
? review.economic_consequence_review.economic_audit_summary || null
|
|
1434
|
+
: null,
|
|
1415
1435
|
economic_consequence_review: review.economic_consequence_review || null
|
|
1416
1436
|
};
|
|
1417
1437
|
}
|
|
@@ -2218,6 +2238,13 @@ function buildEconomicConsequenceBridgeHandoff(input) {
|
|
|
2218
2238
|
const usageMeterRef = normalizeString(body.usage_meter_ref);
|
|
2219
2239
|
const meterProfileRef = normalizeString(body.meter_profile_ref);
|
|
2220
2240
|
const creditSpendRef = normalizeString(body.credit_spend_ref);
|
|
2241
|
+
const paymentRef = normalizeString(body.payment_ref);
|
|
2242
|
+
const settlementRef = normalizeString(body.settlement_ref);
|
|
2243
|
+
const settlementTxid = normalizeString(body.settlement_txid);
|
|
2244
|
+
const settlementStatus = normalizeString(body.settlement_status);
|
|
2245
|
+
const settlementFinalityStatus = normalizeString(body.settlement_finality_status);
|
|
2246
|
+
const treasuryReceiptRef = normalizeString(body.treasury_receipt_ref);
|
|
2247
|
+
const proofRef = normalizeString(body.proof_ref);
|
|
2221
2248
|
const usageMeter = body.usage_meter && typeof body.usage_meter === "object" && !Array.isArray(body.usage_meter)
|
|
2222
2249
|
? body.usage_meter
|
|
2223
2250
|
: null;
|
|
@@ -2249,7 +2276,14 @@ function buildEconomicConsequenceBridgeHandoff(input) {
|
|
|
2249
2276
|
meter_profile_ref: meterProfileRef,
|
|
2250
2277
|
credit_spend_ref: creditSpendRef,
|
|
2251
2278
|
credit_spend_hash: canonicalJsonSha256Hex(creditSpend),
|
|
2252
|
-
credit_spend: creditSpend
|
|
2279
|
+
credit_spend: creditSpend,
|
|
2280
|
+
payment_ref: paymentRef || null,
|
|
2281
|
+
settlement_ref: settlementRef || null,
|
|
2282
|
+
settlement_txid: settlementTxid || null,
|
|
2283
|
+
settlement_status: settlementStatus || null,
|
|
2284
|
+
settlement_finality_status: settlementFinalityStatus || null,
|
|
2285
|
+
treasury_receipt_ref: treasuryReceiptRef || null,
|
|
2286
|
+
proof_ref: proofRef || null
|
|
2253
2287
|
}
|
|
2254
2288
|
};
|
|
2255
2289
|
return {
|
|
@@ -2277,7 +2311,14 @@ function buildEconomicConsequenceConformancePack(input) {
|
|
|
2277
2311
|
credit_spend_ref: economicsContext.credit_spend_ref,
|
|
2278
2312
|
usage_units: Number(economicsContext.usage_meter.units || 0),
|
|
2279
2313
|
pricing_band: normalizeString(economicsContext.usage_meter.pricing_band || null) || null,
|
|
2280
|
-
meter_profile_ref: economicsContext.meter_profile_ref
|
|
2314
|
+
meter_profile_ref: economicsContext.meter_profile_ref,
|
|
2315
|
+
payment_ref: economicsContext.payment_ref || null,
|
|
2316
|
+
settlement_ref: economicsContext.settlement_ref || null,
|
|
2317
|
+
settlement_txid: economicsContext.settlement_txid || null,
|
|
2318
|
+
settlement_status: economicsContext.settlement_status || null,
|
|
2319
|
+
settlement_finality_status: economicsContext.settlement_finality_status || null,
|
|
2320
|
+
treasury_receipt_ref: economicsContext.treasury_receipt_ref || null,
|
|
2321
|
+
proof_ref: economicsContext.proof_ref || null
|
|
2281
2322
|
},
|
|
2282
2323
|
preserved_routes: [
|
|
2283
2324
|
"/v1/proof-center/bridge/economic-handoff",
|