From 95a5fc861890757e69f4736e6870b34e36416bcc Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Mon, 30 Nov 2026 07:39:14 +0000 Subject: [PATCH] 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) --- deploy/sync-vps-repos.sh | 4 +- deploy/test-first-deployment.sh | 2 +- package.json | 2 +- packages-js/ciphers-aq/package.json | 2 +- pyproject.toml | 2 +- scripts/build_gallery_manifest.py | 4 +- site/donate/index.html | 4 +- site/gallery/index.html | 2 +- site/index.html | 4 +- site/learn/index.html | 2 +- site/learn/learn-app.js | 2 +- ...ATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md | 14 +- ...TORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf | Bin 72982 -> 73095 bytes site/quant/index.html | 6 +- site/quant/quant-app.js | 2 +- site/quant/quant-timeseries-data.js | 2 +- site/quant/quant-timeseries.json | 188 +++++++++--------- site/quant/quant-tutorials.js | 179 +++++++++++++---- src/hyperstitionstud_io/__init__.py | 4 +- src/hyperstitionstud_io/mcp/server.py | 4 +- src/hyperstitionstud_io/mcp/tools.py | 6 +- src/hyperstitionstud_io/quant/collector.py | 2 +- src/hyperstitionstud_io/quant/timeseries.py | 18 +- tests/test_core_suite.py | 46 +++++ workspace.example.toml | 2 +- 25 files changed, 328 insertions(+), 175 deletions(-) diff --git a/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index 2e9b833..0e034c8 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -216,8 +216,10 @@ if [[ "${DO_CADDY}" -eq 1 ]]; then run_checked "systemctl enable hyperstition-tmpfs-sync.service" ${SUDO} systemctl enable hyperstition-tmpfs-sync.service run_checked "systemctl enable --now hyperstition-mcp.service" ${SUDO} systemctl enable --now hyperstition-mcp.service run_checked "systemctl restart hyperstition-mcp.service" ${SUDO} systemctl restart hyperstition-mcp.service - elif [[ -f "/etc/systemd/system/hyperstition-mcp.service" ]] && ! systemctl is-active --quiet hyperstition-mcp.service; then + elif [[ -f "/etc/systemd/system/hyperstition-mcp.service" ]]; then + echo "[5/5] Restarting hyperstition-mcp.service to load latest MCP & REST API v1 (/api/v1/*) modules..." run_checked "systemctl enable --now hyperstition-mcp.service" ${SUDO} systemctl enable --now hyperstition-mcp.service + run_checked "systemctl restart hyperstition-mcp.service" ${SUDO} systemctl restart hyperstition-mcp.service fi fi diff --git a/deploy/test-first-deployment.sh b/deploy/test-first-deployment.sh index 5e7dcf2..e7176e1 100755 --- a/deploy/test-first-deployment.sh +++ b/deploy/test-first-deployment.sh @@ -124,7 +124,7 @@ fi echo " [200 OK] POST ${MCP_URL} (JSON-RPC 2.0 tools/call hs_evaluate_aq_and_ingglish verified)" echo "[4b/4] Verifying stateless REST API v1 & OpenAPI 3.1 endpoints (${API_V1_URL})..." -for api_sub in "/status" "/openapi.json" "/quant/instruments/NVDA" "/zoology/pokedex/NVDA"; do +for api_sub in "/status" "/openapi.json" "/quant/timeseries?symbol=NVDA" "/quant/instruments/NVDA" "/zoology/pokedex/NVDA" "/dossiers/71?highlight=envideea"; do api_code="$(curl -s -o /dev/null -w "%{http_code}" "${API_V1_URL}${api_sub}")" if [[ "${api_code}" != "200" ]]; then echo " [FAIL ${api_code}] GET ${API_V1_URL}${api_sub}" >&2 diff --git a/package.json b/package.json index 090d416..b23c75f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperstitionstud.io/workspace-core", - "version": "2.0.20", + "version": "2.0.21", "private": true, "description": "Offline-first ESM & browser global (@hyperstitionstud.io/* / window.HyperstitionStudio.*) packages for Base-36 AQ ciphers and interactive knowledge graph workbenches.", "license": "MIT", diff --git a/packages-js/ciphers-aq/package.json b/packages-js/ciphers-aq/package.json index e7ccb6d..c91b9b2 100644 --- a/packages-js/ciphers-aq/package.json +++ b/packages-js/ciphers-aq/package.json @@ -1,6 +1,6 @@ { "name": "@hyperstitionstud.io/ciphers-aq", - "version": "2.0.20", + "version": "2.0.21", "type": "module", "main": "index.js", "license": "MIT" diff --git a/pyproject.toml b/pyproject.toml index 141388c..0b5601b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "hyperstitionstudio-core" -version = "2.0.20" +version = "2.0.21" description = "Shared PEP 420 common library (hyperstitionstud_io.*) for Base-36 AQ ciphers, offline CMUdict Ingglish phonetics, ReportLab/Pillow publishing, SHA-256 glossary isolation guards, local-config citation verification, and multi-format knowledge graphs." readme = "README.md" requires-python = ">=3.10" diff --git a/scripts/build_gallery_manifest.py b/scripts/build_gallery_manifest.py index 68949ce..665d251 100755 --- a/scripts/build_gallery_manifest.py +++ b/scripts/build_gallery_manifest.py @@ -144,8 +144,8 @@ def main() -> int: }) manifest = { - "version": "2.0.20", - "namespace_urn": "urn:io:hyperstitionstud:gallery:2.0.20", + "version": "2.0.21", + "namespace_urn": "urn:io:hyperstitionstud:gallery:2.0.21", "total_items": len(items), "items": items, } diff --git a/site/donate/index.html b/site/donate/index.html index 0251e07..09f3112 100644 --- a/site/donate/index.html +++ b/site/donate/index.html @@ -342,7 +342,7 @@

hyperstitionstud.io/donate — Signal Patronage & Open-Instrument Notes

-

Open-Readout Phonemic, Graph & Closing-Bell Telemetry Workbench • Namespace Authority: urn:io:hyperstitionstud:donate:v2.0.20

+

Open-Readout Phonemic, Graph & Closing-Bell Telemetry Workbench • Namespace Authority: urn:io:hyperstitionstud:donate:v2.0.21