mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-08 09:59:53 +00:00
Refactors exception handling to use extension points and plugins. Moves InterventionException and HandledException into python/helpers/errors and routes exceptions from Agent (monologue and outer loops) through extension call points (monologue_exception, message_loop_exception, context_chain_exception) instead of inline handling. Removes inlined retry/critical logic and adds an error_retry plugin (reset counter + retry extension) as the retry implementation; also adds monologue_exception extensions to handle repairable, intervention, and critical exceptions. Adjusts extension hook naming in python/helpers/extension, adds agent-presence guards to several memory extensions, prevents a direct agent.handle_critical_exception call in TaskScheduler, renames a test file location, and fixes a webui modal path. |
||
|---|---|---|
| .. | ||
| chunk_parser_test.py | ||
| email_parser_test.py | ||
| rate_limiter_test.py | ||
| test_fasta2a_client.py | ||
| test_file_tree_visualize.py | ||
| test_http_auth_csrf.py | ||
| test_multi_tab_isolation.py | ||
| test_persist_chat_log_ids.py | ||
| test_run_ui_config.py | ||
| test_settings_developer_sections.py | ||
| test_snapshot_parity.py | ||
| test_snapshot_schema_v1.py | ||
| test_socketio_library_semantics.py | ||
| test_socketio_unknown_namespace.py | ||
| test_state_monitor.py | ||
| test_state_sync_handler.py | ||
| test_state_sync_welcome_screen.py | ||
| test_websocket_client_api_surface.py | ||
| test_websocket_csrf.py | ||
| test_websocket_handlers.py | ||
| test_websocket_harness.py | ||
| test_websocket_manager.py | ||
| test_websocket_namespace_discovery.py | ||
| test_websocket_namespace_security.py | ||
| test_websocket_namespaces.py | ||
| test_websocket_namespaces_integration.py | ||
| test_websocket_root_namespace.py | ||
| test_webui_extension_surfaces.py | ||
| websocket_namespace_test_utils.py | ||