Release v2.3.0: Eliminate container host paths, add 4-Ring hardened Guile/TS/Rust polyglot lens & 5-state selector, add hs-highlights (untracked output), and expose all 20 MCP/Chatbot REST tools & 14 URN resources
This commit is contained in:
1 parent
b465312e3d
commit
0f64b38725
49 files changed
+2067
-523
No files matched your search
@@ -53,6 +53,48 @@ STATIC_RESOURCES: list[dict[str, str]] = [
|
||||
"mimeType": "application/json",
|
||||
"description": "Node/edge ontology counts, top 15 AQ coordinate hubs by degree, and SHA-256 isolation receipt.",
|
||||
},
|
||||
{
|
||||
"uri": "urn:io:hyperstitionstud:resource:quant-timeseries",
|
||||
"name": "Periodic Quantitative Financial & Memetic Gematria Time-Series Bundle",
|
||||
"mimeType": "application/json",
|
||||
"description": "30-day x 24-instrument real market history, 14-point eng_aq/ing_aq census, and Dose 0..3+ scores.",
|
||||
},
|
||||
{
|
||||
"uri": "urn:io:hyperstitionstud:resource:macro-indicators",
|
||||
"name": "Federal Reserve (FRED) Real Macroeconomic Indicators Bundle (14 Series)",
|
||||
"mimeType": "application/json",
|
||||
"description": "CPI, PPI, US10Y, EFFR, SOFR, M1, M2, M2-M1 Spread, Real M2, GDP, GNP, OUTBS, and INDPRO.",
|
||||
},
|
||||
{
|
||||
"uri": "urn:io:hyperstitionstud:resource:daily-brief",
|
||||
"name": "5-Agenda Zero-Synthetic-Data Daily Portfolio & Bayesian Regime Update",
|
||||
"mimeType": "application/json",
|
||||
"description": "3-state discrete Bayesian regime posteriors (R1/R2/R3), confirming/challenging signals, and Daily Key Question Q_t.",
|
||||
},
|
||||
{
|
||||
"uri": "urn:io:hyperstitionstud:resource:engineering-manifest",
|
||||
"name": "Software Engineering Explication Hub Manifest (Units E0-E5)",
|
||||
"mimeType": "application/json",
|
||||
"description": "Live-introspected CLI scripts, MCP tools, schemas, Novice Prerequisite Ladders, and E0-E5 subpages.",
|
||||
},
|
||||
{
|
||||
"uri": "urn:io:hyperstitionstud:resource:math-manifest",
|
||||
"name": "Applied Mathematics & Quantitative Semiotics Hub Manifest (Units M0-M5)",
|
||||
"mimeType": "application/json",
|
||||
"description": "Algebraic conservation invariants, empirical counts, Novice Prerequisite Ladders, and M0-M5 subpages.",
|
||||
},
|
||||
{
|
||||
"uri": "urn:io:hyperstitionstud:resource:archive-manifest",
|
||||
"name": "Cold-Storage Rotated Plan Archive Manifest (completed-plans-archive.tar.gz)",
|
||||
"mimeType": "application/json",
|
||||
"description": "SHA-256 manifest of all completed software plans rotated into completed-plans-archive.tar.gz.",
|
||||
},
|
||||
{
|
||||
"uri": "urn:io:hyperstitionstud:resource:guile-prelude",
|
||||
"name": "Canonical GNU Guile Scheme & Z-Combinator Prelude (guile_prelude.scm)",
|
||||
"mimeType": "text/x-scheme",
|
||||
"description": "Applicative-order Z combinator, Thomas' Calculus primitives, Base-36 AQ, exact rational variance, ETI, and Bayes rules.",
|
||||
},
|
||||
]
|
||||
|
||||
RESOURCE_TEMPLATES: list[dict[str, str]] = [
|
||||
@@ -80,12 +122,20 @@ def read_mcp_resource(uri: str) -> dict[str, Any]:
|
||||
"urn:io:hyperstitionstud:resource:singularity-matrix": cfg.zoology_dir / "taxonomy" / "singularity-zoology-matrix.json",
|
||||
"urn:io:hyperstitionstud:resource:memetic-registry": cfg.zoology_dir / "taxonomy" / "memetic-superclass-registry.json",
|
||||
"urn:io:hyperstitionstud:resource:quantitative-anchors": cfg.zoology_dir / "taxonomy" / "quantitative-economic-anchors.json",
|
||||
"urn:io:hyperstitionstud:resource:quant-timeseries": cfg.core_dir / "site" / "quant" / "quant-timeseries.json",
|
||||
"urn:io:hyperstitionstud:resource:macro-indicators": cfg.core_dir / "site" / "quant" / "real-macro-indicators.json",
|
||||
"urn:io:hyperstitionstud:resource:daily-brief": cfg.core_dir / "site" / "quant" / "daily-brief-latest.json",
|
||||
"urn:io:hyperstitionstud:resource:engineering-manifest": cfg.core_dir / "site" / "engineering" / "engineering-manifest.json",
|
||||
"urn:io:hyperstitionstud:resource:math-manifest": cfg.core_dir / "site" / "math" / "math-manifest.json",
|
||||
"urn:io:hyperstitionstud:resource:archive-manifest": cfg.knowledge_graph_dir / "docs" / "archive" / "archive-manifest.json",
|
||||
"urn:io:hyperstitionstud:resource:guile-prelude": cfg.core_dir / "src" / "hyperstitionstud_io" / "publishing" / "guile_prelude.scm",
|
||||
}
|
||||
if uri in static_map:
|
||||
p = static_map[uri]
|
||||
mime = "text/x-scheme" if p.suffix == ".scm" else "application/json"
|
||||
return {
|
||||
"contents": [
|
||||
{"uri": uri, "mimeType": "application/json", "text": p.read_text(encoding="utf-8")}
|
||||
{"uri": uri, "mimeType": mime, "text": p.read_text(encoding="utf-8")}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user