check_config_file() must drive the coroutine with asyncio.run(), and
setup_logging() must accept an already-loaded config (or hit the cache)
instead of re-entering the event loop from a running loop.
Register the upstream Liquibase changesets (202606231030..202609172100) that
were dropped during the rebase, and append a downstream cleanup changeset
(202610111200) that westernizes EdgeTTS field remarks, purges the retired
MinimaxStreamTTS rows and updates the HA / web-search plugin descriptors.
Extend the H2 replay harness to cover what the upstream SQL now needs:
- MySQL JSON_SET/REPLACE semantics incl. array-index paths ($[0].label)
- double-quoted string literals and multi-clause ALTER TABLE splitting
- assertions for the new cleanup changeset results
Server runtime:
- translate model-visible strings: direct_answer tool schema, web_search
tool desc/errors/results, call_device tool desc/replies, hass_state
desc/report strings; they were Chinese text fed to LLMs and devices
- replace Chinese pconline geocoder with ip-api.com (English city names)
- prompt_manager: drop dead Chinese WEEKDAY_MAP, stop forcing lang=zh_CN
for weather, English fallback location
- delete orphan alibl_endpoint.py (no importers after AliBL removal) and
dead initialize_voiceprint() calling a nonexistent ASR hook
- translate mcp_server_settings.json descriptors
- test_current_time: assert English weekday/date behavior (upstream test
still expected Chinese weekdays)
Docs/branding:
- README and docs/guides/voiceprint.md: voiceprint IS implemented via the
HTTP VoiceprintProvider; document the real protocol (health/identify)
and privacy notes instead of falsely claiming the feature is missing
- issue templates: English
Ops:
- Dockerfile-server-base: drop Aliyun PyPI mirror from published image
- LICENSE: keep xinnan-tech copyright notice alongside downstream (MIT)
- CI: run westernization_audit as a gate; make smoke test failure fatal
- westernization.md: point python verification at the real pytest layout
The merge-rebase kept both the old downstream MCP initialize dispatch and
upstream's relocated one, so every capable device received two initialize
messages per connection. Keep only the post-hello send (upstream #3347).
requirements: drop chardet (removed upstream, unused here), restore
mcp-proxy 0.12.0, and remove the stale cozepy pin comment (cozepy is not a
downstream dependency).
websockets.serve() defaults to ping_interval=20 and ping_timeout=20.
ESP32 clients that do not answer those pings are dropped with
1011 keepalive ping timeout roughly 40 seconds into a healthy session.
The application-level ping is configured separately via
enable_websocket_ping.
Refs #3348
The MCP initialize task was scheduled before the server hello was sent,
so the MCP frame could reach the device first. ESP32 firmware waits for
the server hello before it treats the channel as ready, so the device
never answered the initialize request.
Refs #3347