Metadata-Version: 2.4
Name: demystify-voice-lingua
Version: 0.3.0
Summary: Low-latency multilingual extension for the Demystify voice pipeline: in-stream LID, hysteresis-damped mid-call language switching, per-language STT/TTS routing
Project-URL: Homepage, https://github.com/demystify-systems/ai-services-tools/tree/main/modules/dmstfy-voice-lingua/plugin
Project-URL: Repository, https://github.com/demystify-systems/ai-services-tools
Author: Demystify Systems
License: MIT
Requires-Python: >=3.11
Requires-Dist: httpx<1,>=0.27
Requires-Dist: pydantic<3,>=2
Requires-Dist: pyyaml<7,>=6
Provides-Extra: contracts
Requires-Dist: demystify-platform-contracts<0.4,>=0.3.0; extra == 'contracts'
Provides-Extra: dev
Requires-Dist: demystify-platform-contracts<0.4,>=0.3.0; extra == 'dev'
Requires-Dist: demystify-platform-observability<0.4,>=0.3.0; extra == 'dev'
Requires-Dist: demystify-platform-profiles<0.4,>=0.3.0; extra == 'dev'
Requires-Dist: mypy<2,>=1.13; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
Requires-Dist: pytest<9,>=8; extra == 'dev'
Requires-Dist: ruff<0.9,>=0.8; extra == 'dev'
Requires-Dist: types-pyyaml>=6; extra == 'dev'
Provides-Extra: fasterwhisper
Requires-Dist: faster-whisper<2,>=1.0; extra == 'fasterwhisper'
Provides-Extra: mutation
Requires-Dist: mutmut<4,>=3; extra == 'mutation'
Provides-Extra: observability
Requires-Dist: demystify-platform-observability<0.4,>=0.3.0; extra == 'observability'
Provides-Extra: profiles
Requires-Dist: demystify-platform-profiles<0.4,>=0.3.0; extra == 'profiles'
Provides-Extra: voicecore
Requires-Dist: demystify-voice<0.4,>=0.3; extra == 'voicecore'
Description-Content-Type: text/markdown

# demystify-voice-lingua

Low-latency **multilingual** extension for the Demystify voice pipeline
(`demystify-voice`): in-stream language identification (LID), hysteresis-damped
mid-call language switching, reply-language policy, and per-language STT/TTS
routing over persistent connection pools.

This is the packaged plugin of the `dmstfy-voice-lingua` module. The full module
docs (profiles, benchmark harness, runbooks, `INTEGRATION.md`) live in the
repository at `modules/dmstfy-voice-lingua/`.

## Install

```sh
pip install demystify-voice-lingua                 # standalone (uses the vendored protocol mirror)
pip install "demystify-voice-lingua[voicecore]"    # + the real demystify-voice runtime (>=0.1.0,<0.2)
```

The plugin works **fully standalone** (offline simulator + vendored protocol
mirror) and, when `demystify-voice` is installed via the `voicecore` extra,
wires into the real voice-core pipeline via `install(pipeline, agent_config,
...)`.

## Protocol-version handshake

`install()` performs a protocol-version handshake against the installed
`demystify-voice` (`PROTOCOL_VERSION`) and raises a clear error on a MAJOR
mismatch (a breaking frame/stage/pipeline change). Additive MINOR bumps are
compatible. The `voicecore` extra is pinned to the compatible MAJOR
(`>=0.1.0,<0.2`). See `INTEGRATION.md`.

MIT licensed.
