Files
Athena-Deck/docs/experiments/pocket-integration-2026-10-17/README.md
T

3.5 KiB

Pocket endpoint integration —17 October2026

The Deck app update and persistent CPU runtime are active. Unchanged existing profiles/endpoint/audio-policy/reasoning settings were hash-checked across the idle-only restart; previous Strata IQ3 512K was restored with a minimal regular API request. No Hermes or OpenCode service restarted. Public catalogue model and German tokenizer imported from the tested cache with pinned SHA256; private Anna embedding copied into speech-voices/Anna, UID65534, mode0600. No credentials printed or copied. The previous mistaken host HF401 diagnosis was corrected by using Deck's existing valid HF credential internally.

The real Deck worker (UID65534) produced two WAVs and PCM chunk files with Anna while Strata remained loaded; technical results are in worker-probe.json. 70 focused Linux tests passed (Pocket, audio policy, MP3, speech reference, profile identities/presets, encrypted configuration backup/restore). The larger chat test set has pre-existing worker_unavailable failures; an isolated check against unmodified HEAD endpoint.py reproduced the same failure. No claim that the full suite passed. Local browser JavaScript passed node --check; source passed py_compile and git diff --check.

The existing scheduled-backup entrypoint /opt/athena-deck-maintenance/ scheduled_backup.py and passive state reader were atomically updated from Git sources. Snapshot schema validation passed with Pocket runtime=true and both Pocket catalogue sources included. The userdata inventory now includes speech-voices and pocket-jobs; no backup key or private media was displayed. No full fresh-host native restore was performed.

Completed through the regular signed-in Deck UI: created Pocket Anna, API-ID pocket-anna, assigned the pinned German tokenizer and enabled its endpoint publication. Disabled only the old OmniVoice Studio speech publication; Qwen-TTS remains disabled, other service/model publications unchanged. The TTS Test tab generated a new Anna WAV successfully using Pocket on CPU.

Hermes's official _save_yaml_config_file persistence path changed only tts.openai.model from omnivoice-studio to the neutral tts. Full parsed configuration equality after reverting that single field confirmed that all other saved settings, base URL, credentials, default voice and profiles remained unchanged. The endpoint remains http://192.168.1.212:8120/v1; no Hermes code or container restart. A fresh config read confirms model=tts and voice=default.

During GUI acceptance the conservative execution-family recognizer still showed old generic TTS text. Added the explicit pinned Pocket family/runtime mapping, CPU runtime discovery and removed the obsolete speech501 help text. A final idle app update applied these display changes; persisted profiles/publications/audio policy were hash-checked unchanged and Strata512K reloaded again. Final image and restoration are in activation-ui.json. An additional25 local Pocket/policy/ execution-recognition tests passed (overlaps earlier70; not95 distinct tests).

Final real API test via model=tts: WAV200 in2.134s, MP3200 in1.953s, PCM200 first bytes0.199s / total1.895s. GPU processes unchanged across all three. See endpoint-test.json. The MP3 fully decodes with FFmpeg. Local STT output for the actual endpoint WAV is stored when available. Existing profile, publication, tokenizer assignment and CPU recognition were independently verified after the last restart. No active production request was interrupted.

Native implementation and repeatable configuration: Pocket TTS.