agent-zero/tests
Alessandro 675afa8dee
Some checks are pending
Build And Publish Docker Images / plan (push) Waiting to run
Build And Publish Docker Images / build (push) Blocked by required conditions
Refactor speech stack into built-in Kokoro TTS and Whisper STT plugins
Split the legacy core speech stack into two built-in, independently toggleable plugins: `_kokoro_tts` for TTS and `_whisper_stt` for STT.

This refactor keeps dependency installation and bootstrap concerns in Docker/bootstrap/preload, while moving speech-specific tooling, APIs, prompts, UI, and runtime behavior into the plugins. Core now exposes engine-agnostic `tts-service` and `stt-service` brokers, with browser-native TTS preserved as the fallback when Kokoro is disabled.

Included in this change:
- add built-in `_kokoro_tts` plugin with plugin-owned synth API, config, status UI, and provider registration
- add built-in `_whisper_stt` plugin with plugin-owned transcribe API, mic runtime, device UI, prompt injection, and provider registration
- remove legacy core speech APIs/helpers/settings/UI and delete unused `webui/js/speech_browser.js`
- replace the old hardcoded speech settings section with a generic voice surface backed by plugin extensions
- update preload/docs/tests to match the new plugin-owned speech architecture

Behavioral intent:
- both plugins are built-in but not `always_enabled`
- users can now hot-switch TTS and STT independently
- browser TTS remains available when `_kokoro_tts` is off
- Whisper mic UI only appears when `_whisper_stt` is enabled
2026-05-21 05:41:59 +02:00
..
chunk_parser_test.py File Tree: Fixed other tests to make full test suite functional 2025-11-09 15:13:04 +01:00
email_parser_test.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
rate_limiter_test.py projects continued 2025-11-03 16:17:12 +01:00
test_a0_connector_prompt_gating.py Keep host browser requests on Browser runtime 2026-05-12 15:45:29 +02:00
test_api_chat_lifetime.py Persist API chat lifetime and add cleanup job 2026-05-11 08:49:06 +02:00
test_browser_agent_regressions.py Keep host browser requests on Browser runtime 2026-05-12 15:45:29 +02:00
test_chat_compaction.py Fix blocking history compression edge cases 2026-05-12 04:47:28 +02:00
test_default_prompt_budget.py refactor: align skills and tool guidance 2026-05-10 07:13:14 +02:00
test_dirty_json.py stop tool dispatch at first completed json object 2026-04-03 16:56:21 +02:00
test_docker_release_plan.py Add automatic Docker builds when release tags reach testing/main branches 2026-03-26 08:22:18 +01:00
test_document_query_fallback.py fix: tighten tool guidance and editor workflows 2026-05-11 11:51:58 +02:00
test_download_toast_regressions.py Stabilize document artifact affordances 2026-05-12 06:59:22 +02:00
test_error_retry_plugin.py Make error retry count configurable 2026-05-18 03:23:56 +02:00
test_extensions_stress.py refactor: improve caching system and optimize extension/plugin path resolution 2026-03-18 12:40:33 +01:00
test_fasta2a_client.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_fastmcp_openapi_security.py Upgrade FastMCP to 3.2.4 / MCP to 1.27.0 for CVE-2026-32871 2026-04-16 15:21:01 +02:00
test_file_tree_visualize.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_git_version_label.py Add latest selector option to self-update with branch head resolution for testing/development and newest tag resolution for main 2026-03-26 10:44:12 +01:00
test_history_compression_wait.py Fix blocking history compression edge cases 2026-05-12 04:47:28 +02:00
test_host_browser_connector.py Improve Browser Docker runtime recovery 2026-05-18 02:00:31 +02:00
test_http_auth_csrf.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_image_get_security.py fix(api): resolve image_get containment bypass (#1609) 2026-05-12 04:15:10 +02:00
test_memory_cleanup.py fix: make memory cleanup update stale fragments 2026-05-11 11:51:58 +02:00
test_model_config_api_keys.py Reflect connector model overrides in Web UI 2026-05-12 16:04:02 +02:00
test_model_config_project_presets.py Preserve model preset inherited settings 2026-05-18 02:45:08 +02:00
test_model_search.py fix: tighten tool guidance and editor workflows 2026-05-11 11:51:58 +02:00
test_multi_tab_isolation.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_oauth_codex.py Add OAuth disconnect and remaining quota visibility 2026-05-02 20:14:04 +02:00
test_office_canvas_setup.py Polish Editor and Browser surface cleanup 2026-05-15 12:38:29 +02:00
test_office_desktop_state.py Move office and desktop state under plugin storage 2026-05-12 16:21:43 +02:00
test_office_document_affordance.py Stabilize document artifact affordances 2026-05-12 06:59:22 +02:00
test_office_document_store.py Polish native Markdown editor experience 2026-05-15 04:47:24 +02:00
test_onboarding_static.py Add Nebius Token Factory provider 2026-05-12 15:50:24 +02:00
test_persist_chat_log_ids.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_plugin_activation_ui.py Simplify plugin activation toggle UI 2026-05-21 04:31:19 +02:00
test_plugin_scan_prompt.py Reduce plugin scanner false positives 2026-05-21 04:02:43 +02:00
test_print_style.py Sanitize print logs; refactor popular plugin logic 2026-03-30 11:50:59 +02:00
test_run_ui_config.py WebSocket merge 2026-02-01 16:07:45 +01:00
test_self_update_tag_filter.py Make self-update backups skip runtime sockets 2026-05-12 16:46:07 +02:00
test_settings_developer_sections.py Settings polishing, logout button 2026-02-05 22:02:49 +01:00
test_skills_runtime.py refactor: align skills and tool guidance 2026-05-10 07:13:14 +02:00
test_snapshot_parity.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_snapshot_schema_v1.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_socketio_library_semantics.py WebSocket merge 2026-02-01 16:07:45 +01:00
test_socketio_unknown_namespace.py WebSocket merge 2026-02-01 16:07:45 +01:00
test_speech_plugin_split.py Refactor speech stack into built-in Kokoro TTS and Whisper STT plugins 2026-05-21 05:41:59 +02:00
test_state_monitor.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_state_sync_handler.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_state_sync_welcome_screen.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_stream_tool_early_stop.py stop tool dispatch at first completed json object 2026-04-03 16:56:21 +02:00
test_task_scheduler_timezone.py fix: tighten tool guidance and editor workflows 2026-05-11 11:51:58 +02:00
test_text_editor_context_patch.py fix: tighten tool guidance and editor workflows 2026-05-11 11:51:58 +02:00
test_time_travel.py Fix Time Travel snapshot resilience 2026-05-02 20:27:28 +02:00
test_tool_action_contracts.py Stabilize document artifact affordances 2026-05-12 06:59:22 +02:00
test_tool_request_normalization.py Normalize tool contracts and slim prompt surface 2026-05-09 21:54:43 +02:00
test_webui_extension_surfaces.py Add browser annotate mode 2026-04-26 23:57:48 +02:00
test_whatsapp_bridge_manager.py Squashed commit of the following: 2026-03-31 09:47:25 +02:00
test_whatsapp_number_utils.py Squashed commit of the following: 2026-03-31 09:47:25 +02:00
test_whatsapp_storage_paths.py Squashed commit of the following: 2026-03-31 09:47:25 +02:00
test_ws_client_api_surface.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_ws_csrf.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_ws_handlers.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_ws_manager.py fix: resolve option whitelist, memory leak, task tracking, and dispatch unification 2026-03-27 01:21:45 -07:00
test_ws_security.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00