diff --git a/README.md b/README.md index b7877cc..e7a20dc 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ > **Gitea Commit & Release Telemetry (`v2.13.0` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/) -> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.13.0 release state across 39 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `.gitignore`, `deploy/sync-vps-repos.sh`, `deploy/test-first-deployment.sh`, `package.json`, `packages-js/ciphers-aq/package.json`, `pyproject.toml`, `scripts/build_gallery_manifest.py`, `site/assets/closeups/quadrant-4-operators-deployment-vps.png` (+31 more) +> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.13.0 release state across 2 tracked module/artifact surface(s) +> - **Touched Files / Surfaces:** `deploy/Caddyfile`, `deploy/sync-vps-repos.sh` > - **Live Verified Ecosystem Metrics (`v2.13.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data diff --git a/deploy/Caddyfile b/deploy/Caddyfile index c676c5e..492cee1 100644 --- a/deploy/Caddyfile +++ b/deploy/Caddyfile @@ -10,7 +10,7 @@ www.hyperstitionstud.io { } hyperstitionstud.io { - @compressible not path *.gz *.br *.tgz *.xz *.zst *.zip *.woff2 *.png *.mp3 *.pdf + @compressible not path *.gz *.br *.tgz *.xz *.zst *.zip *.woff2 *.png *.mp3 *.wav *.pdf encode @compressible zstd gzip # Zero-PII Route Counter Log (Strategy 3A — remote_ip, client_ip, Cookie, User-Agent, and Referer deleted) @@ -39,7 +39,7 @@ hyperstitionstud.io { -Server } - @immutable_media path *.pdf *.png *.mp3 *.graphml *.gexf *.canvas *.woff2 + @immutable_media path *.pdf *.png *.mp3 *.wav *.graphml *.gexf *.canvas *.woff2 header @immutable_media Cache-Control "public, max-age=86400, stale-while-revalidate=604800" @html_js path *.html *.js *.json diff --git a/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index 99f964b..71c9229 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -179,6 +179,7 @@ for entry in "${REPOS[@]}"; do run_checked "rsync ${repo}" ${LIVE_SUDO} rsync -a --delete \ --filter='P *.gz' \ --filter='P *.br' \ + --filter='P site/quant/audio/***' \ --exclude='.git' \ --exclude='completed-plans-archive.tar.gz' \ --exclude='inactive-plans-archive.tar.gz' \ @@ -200,6 +201,15 @@ ${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/learn" "${LIVE_REPOS}/learn" ${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/quant" "${LIVE_REPOS}/quant" ${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/donate" "${LIVE_REPOS}/donate" echo "[3b/5] Generating untracked deploy-time /quant/audio/*.wav spoken voice tracks (Strategy 1A, 0 audio files in Git)..." +if [[ -z "$(type -P espeak-ng || true)" ]] && [[ -z "$(type -P espeak || true)" ]] && [[ "${DO_CADDY}" -eq 1 ]]; then + if [[ -n "$(type -P dnf || true)" ]]; then + echo " -> Installing espeak-ng via dnf for natural spoken English tour narration..." + ${SUDO} dnf install -y -q espeak-ng || true + elif [[ -n "$(type -P apt-get || true)" ]]; then + echo " -> Installing espeak-ng via apt-get for natural spoken English tour narration..." + ${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq espeak-ng || true + fi +fi run_checked "hs-quant-voice-build" ${LIVE_SUDO} env PYTHONPATH="${REPOS_ROOT}/hyperstitionstudio-core/src" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.quant_voice \ --workspace-root "${REPOS_ROOT}" \ --out-dir "${LIVE_REPOS}/hyperstitionstudio-core/site/quant/audio"