mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Moved all store code (constants, cache, handlers) from index.ts into store.ts verbatim, no behavior change. It has zero private-VPS modifications (unlike feedback/connection persistence, which the private overlay patches to use SQLite), so this file can be copied unmodified into the private overlay - future store changes there no longer need a manual diff/patch against a hand-patched index.ts. A full separate microservice was considered but rejected: this repo builds one Docker image (connector + web + gateway) and self-hosters run one container via docker-compose.yml; splitting the store into its own service would force a second mandatory container for what's an opt-in, currently tiny feature. A module boundary gets the actual pain point (patch-merge friction) without that cost. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU