Add OmniVoice TTS module with config, API, profiles and CLI

- Create modules/omnivoice/ with VoiceAPI, VoiceProfiles, CLI
- Add config manager integration with local model support
- Add app/komAI.py entry point
- Add tests/test_omnivoice.py
- Clone OmniVoice to external/ for development
- Add omnivoice config to global.yaml
This commit is contained in:
2026-04-16 17:51:15 +03:00
parent 22b85455e1
commit 55353654b7
11 changed files with 1064 additions and 3 deletions

View File

@@ -25,7 +25,19 @@
## Pending
- [ ] stdout/stderr перехват при аварийном завершении (on crash)
- [ ] Создать приложение `app/komAI.py` как точку входа
- [ ] Реализовать систему модулей (`modules/`)
- [ ] Настроить CI/CD
- [ ] Написать интеграционные тесты
- [ ] Написать интеграционные тесты
## OmniVoice Integration
- [x] Создан `modules/omnivoice/`
- `__init__.py`: register_config, register_logging, get_api, get_profiles
- `config.py`: model_name, device, dtype, num_steps, speed, profiles_dir, output_dir
- `api.py`: VoiceAPI: clone(), design(), auto(), generate(), save_audio()
- `profiles.py`: VoiceProfiles: add, remove, list, generate
- `cli.py`: clone, design, auto, profiles, profile-add, profile-remove, profile-use
- [x] Создан `app/komAI.py` - точка входа
- [x] Создан `tests/test_omnivoice.py` (6/6 тестов проходят)
- [x] Клонирован OmniVoice в `external/OmniVoice`
- [x] Создан `venv` с зависимостями
- [x] Документация: `modules/omnivoice/README.md`