fix(quant,tutorials,deploy): fix all 43 Encyclopedia PDF deep links, always restart hyperstition-mcp.service on sync, and enable default voice + WebAudio narration (v2.0.21)
This commit is contained in:
1 parent
1b232fe873
commit
95a5fc8618
25 files changed
+328
-175
No files matched your search
@@ -1,3 +1,3 @@
|
||||
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.0.20)."""
|
||||
__version__ = "2.0.20"
|
||||
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.0.21)."""
|
||||
__version__ = "2.0.21"
|
||||
NAMESPACE_URN = "urn:io:hyperstitionstud"
|
||||
@@ -35,8 +35,8 @@ from hyperstitionstud_io.mcp.tools import MCP_TOOLS_SCHEMA, call_mcp_tool # noq
|
||||
|
||||
SERVER_INFO = {
|
||||
"name": "hyperstitionstudio-mcp",
|
||||
"version": "2.0.20",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.0.20",
|
||||
"version": "2.0.21",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.0.21",
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -475,7 +475,11 @@ def call_mcp_tool(name: str, arguments: dict[str, Any]) -> dict[str, Any]:
|
||||
|
||||
sym_q = str(arguments.get("symbol", "")).strip().upper()
|
||||
lens_q = str(arguments.get("lens", "fund_manager")).strip()
|
||||
bundle = build_quant_timeseries_bundle(write_files=False)
|
||||
ts_json_path = cfg.core_dir / "site" / "quant" / "quant-timeseries.json"
|
||||
if ts_json_path.is_file():
|
||||
bundle = json.loads(ts_json_path.read_text(encoding="utf-8"))
|
||||
else:
|
||||
bundle = build_quant_timeseries_bundle(write_files=False)
|
||||
if sym_q:
|
||||
matched = [
|
||||
inst
|
||||
|
||||
@@ -496,7 +496,7 @@ def build_financial_quant_harvest(
|
||||
payload: dict[str, Any] = {
|
||||
"$schema": "./schemas/v1/financial-aq-harvest.schema.json",
|
||||
"$id": "urn:io:hyperstitionstud:schema:v1:financial-aq-harvest",
|
||||
"version": "2.0.20",
|
||||
"version": "2.0.21",
|
||||
"target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"),
|
||||
"harvest_mode": harvest_mode,
|
||||
"regime_summary": {
|
||||
|
||||
@@ -93,12 +93,12 @@ _EQ_LINE_RE = re.compile(r"^-\s+`([^`]+)`\s+\(\"([^\"]+)\"\)\s+—\s+`([^`]+)=\s
|
||||
|
||||
|
||||
GUILD_ENCYCLOPEDIA_VOLUME_MAP: dict[str, tuple[str, int, int, str]] = {
|
||||
"S1": ("03-machinic-phylum-singularities-s1-to-s5/s1-a-to-z-agentic-ai-to-weights.pdf", 1, 65, "292"),
|
||||
"S2": ("03-machinic-phylum-singularities-s1-to-s5/s2-a-to-z-algorithmic-liquidity-to-volatility.pdf", 1, 66, "193"),
|
||||
"S3": ("03-machinic-phylum-singularities-s1-to-s5/s3-a-to-z-asml-to-wor-masheen.pdf", 5, 67, "137"),
|
||||
"S4": ("03-machinic-phylum-singularities-s1-to-s5/s4-and-s5-a-to-z-carrier-wave-to-wetware.pdf", 1, 67, "211"),
|
||||
"S5": ("03-machinic-phylum-singularities-s1-to-s5/s4-and-s5-a-to-z-carrier-wave-to-wetware.pdf", 3, 69, "777"),
|
||||
"S6": ("04-apparatus-of-capture-s6/s6-a-to-m-acquisition-to-monopoly.pdf", 1, 68, "125"),
|
||||
"S1": ("03-machinic-phylum-guilds-s1-to-s5/class-s1-autoregressive-ai-and-abstract-machine-a-to-z.pdf", 1, 65, "292"),
|
||||
"S2": ("03-machinic-phylum-guilds-s1-to-s5/class-s2-flash-crash-and-templex-liquidity-a-to-z.pdf", 1, 66, "193"),
|
||||
"S3": ("03-machinic-phylum-guilds-s1-to-s5/class-s3-silicon-war-machine-and-euv-swarm-a-to-z.pdf", 5, 67, "137"),
|
||||
"S4": ("03-machinic-phylum-guilds-s1-to-s5/class-s4-and-s5-nomad-carrier-wave-and-cutaneous-bwo-a-to-z.pdf", 1, 67, "211"),
|
||||
"S5": ("03-machinic-phylum-guilds-s1-to-s5/class-s4-and-s5-nomad-carrier-wave-and-cutaneous-bwo-a-to-z.pdf", 3, 69, "777"),
|
||||
"S6": ("04-capital-organizational-capture-s6/a-to-f-acquisition-to-fund.pdf", 1, 68, "125"),
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ def build_instrument_doc_references(
|
||||
primary_g = guilds[0] if guilds else "S1"
|
||||
vol_rel, pg_num, dos_num, fallback_q = GUILD_ENCYCLOPEDIA_VOLUME_MAP.get(
|
||||
primary_g,
|
||||
("03-machinic-phylum-singularities-s1-to-s5/s1-a-to-z-agentic-ai-to-weights.pdf", 1, 65, "292"),
|
||||
("03-machinic-phylum-guilds-s1-to-s5/class-s1-autoregressive-ai-and-abstract-machine-a-to-z.pdf", 1, 65, "292"),
|
||||
)
|
||||
dos_file_map = {
|
||||
65: "65-dossier-technocapital-singularity-autoregressive-ai.md",
|
||||
@@ -737,8 +737,8 @@ def build_quant_timeseries_bundle(
|
||||
"base_composite_score": base_eti,
|
||||
"live_timeseries_score": live_eti,
|
||||
"doc_references": {
|
||||
"encyclopedia_volume_rel": "07-ecological-trophic-index-and-assemblage-builds/a-to-z-apex-predator-to-tier-list.pdf",
|
||||
"encyclopedia_deep_link": f"/encyclopedia/07-ecological-trophic-index-and-assemblage-builds/a-to-z-apex-predator-to-tier-list.pdf#page=1&search={urllib.parse.quote(g_prefix)}",
|
||||
"encyclopedia_volume_rel": "07-ecological-trophic-index-and-tier-list/a-to-z-arm-chokepoint-armor-to-zoological-tie-breaker.pdf",
|
||||
"encyclopedia_deep_link": f"/encyclopedia/07-ecological-trophic-index-and-tier-list/a-to-z-arm-chokepoint-armor-to-zoological-tie-breaker.pdf#page=1&search={urllib.parse.quote(g_prefix)}",
|
||||
"knowledge_graph_deep_link": f"/graph/index.html?select=build:{g_prefix}",
|
||||
"exemplar_dossier_deep_link": f"/zoology/tier-list-technocapital-assemblage-builds.pdf#page=1&search={urllib.parse.quote(g_prefix)}",
|
||||
"rest_api_deep_link": f"/api/v1/zoology/tier-list?build_filter={urllib.parse.quote(g_prefix)}",
|
||||
|
||||
Reference in new issue
Block a user