hermes-agent/tests/agent
alt-glitch 4b16341975 refactor(restructure): rewrite all imports for hermes_agent package
Rewrite all import statements, patch() targets, sys.modules keys,
importlib.import_module() strings, and subprocess -m references to use
hermes_agent.* paths.

Strip sys.path.insert hacks from production code (rely on editable install).
Update COMPONENT_PREFIXES for logger filtering.
Fix 3 hardcoded getLogger() calls to use __name__.
Update transport and tool registry discovery paths.
Update plugin module path strings.
Add legacy process-name patterns for gateway PID detection.
Add main() to skills_sync for console_script entry point.
Fix _get_bundled_dir() path traversal after move.

Part of #14182, #14183
2026-04-23 08:35:34 +05:30
..
transports refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
__init__.py test: add unit tests for 8 modules (batch 2) 2026-02-26 13:54:20 +03:00
test_anthropic_adapter.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_anthropic_normalize_v2.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_auxiliary_client.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_auxiliary_client_anthropic_custom.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_auxiliary_config_bridge.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_auxiliary_main_first.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_auxiliary_named_custom_providers.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_bedrock_adapter.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_bedrock_integration.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_codex_cloudflare_headers.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_compress_focus.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_context_compressor.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_context_engine.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_context_references.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_copilot_acp_client.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_credential_pool.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_credential_pool_routing.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_crossloop_client_cache.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_direct_provider_url_detection.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_display.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_display_emoji.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_error_classifier.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_external_skills.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_gemini_cloudcode.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_gemini_native_adapter.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_image_gen_registry.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_insights.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_kimi_coding_anthropic_thinking.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_local_stream_timeout.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_memory_provider.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_memory_user_id.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_minimax_auxiliary_url.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_minimax_provider.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_model_metadata.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_model_metadata_local_ctx.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_models_dev.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_nous_rate_guard.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_prompt_builder.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_prompt_caching.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_proxy_and_url_validation.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_rate_limit_tracker.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_redact.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_shell_hooks.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_shell_hooks_consent.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_skill_commands.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_subagent_progress.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_subagent_stop_hook.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_subdirectory_hints.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_title_generator.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_usage_pricing.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30
test_vision_resolved_args.py refactor(restructure): rewrite all imports for hermes_agent package 2026-04-23 08:35:34 +05:30