hermes-agent/tests/hermes_cli
Teknium 135fe90166
fix(profiles): backfill .env for pre-existing profiles on hermes update (#45247)
Profiles created before #44792 have no .env. Now that the Channels/Keys
endpoints are profile-scoped (no os.environ fallback), those profiles
would show everything as unconfigured. hermes update now copies the
default install's .env into each named profile that lacks one (0600,
never overwrites, placeholder fallback when the root has no .env), so
existing users keep the credentials they were effectively running with.
2026-06-12 15:42:14 -07:00
..
__init__.py
…
conftest.py test(hermes_cli): harden concurrent-gate fixture against partial-import race (#42626) 2026-06-08 22:54:25 -07:00
conftest_dashboard_auth.py
…
test_active_sessions.py feat(sessions): add optional max session cap 2026-06-08 15:12:12 -07:00
test_anthropic_model_flow_stale_oauth.py
…
test_anthropic_oauth_flow.py
…
test_anthropic_picker_curated.py fix(models): keep curated Anthropic aliases in /model picker (#43103) 2026-06-09 14:45:19 -07:00
test_anthropic_provider_persistence.py
…
test_api_key_providers.py
…
test_apply_model_switch_result_context.py
…
test_apply_profile_override.py fix(mcp): preserve stdio argv passthrough 2026-06-11 08:59:55 -07:00
test_arcee_provider.py
…
test_argparse_flag_propagation.py
…
test_at_context_completion_filter.py
…
test_atomic_json_write.py
…
test_atomic_yaml_write.py
…
test_auth_codex_provider.py fix(auth): preserve independent Codex pool entries on re-auth (#39236) 2026-06-08 11:57:03 -07:00
test_auth_commands.py fix(auth): add Codex OAuth accounts as distinct pool entries 2026-06-08 11:57:03 -07:00
test_auth_loopback_ssh_hint.py
…
test_auth_manual_paste.py fix(xai): accept Grok Build code during loopback wait + tiny screenshot guard 2026-06-09 23:21:24 -07:00
test_auth_nous_provider.py
…
test_auth_profile_fallback.py
…
test_auth_provider_gate.py
…
test_auth_qwen_provider.py
…
test_auth_ssl_macos.py
…
test_auth_toctou_file_modes.py
…
test_auth_usable_secret.py
…
test_auth_xai_oauth_provider.py
…
test_aux_config.py
…
test_azure_detect.py
…
test_azure_foundry_entra.py
…
test_backup.py fix(backup): stage SQLite snapshots beside output zip in pre-update path too 2026-06-11 12:45:40 +05:30
test_banner.py fix(mcp): avoid false failed startup status 2026-06-11 09:01:52 -07:00
test_banner_git_state.py
…
test_banner_pip_update.py
…
test_banner_skills.py
…
test_bedrock_model_picker.py
…
test_build_info.py
…
test_bundles.py
…
test_chat_skills_flag.py
…
test_claw.py
…
test_clear_stale_base_url.py
…
test_cli_active_session_limit.py feat(sessions): add optional max session cap 2026-06-08 15:12:12 -07:00
test_cli_output.py
…
test_cmd_update.py
…
test_cmd_update_docker.py fix(ci): remove pytest-timeout, use per-file timeout only 2026-06-12 13:42:42 -04:00
test_coalesce_session_args.py
…
test_codex_cli_model_picker.py
…
test_codex_models.py fix(model): require confirmation for expensive model selections 2026-06-10 00:24:06 -07:00
test_codex_runtime_plugin_migration.py
…
test_codex_runtime_switch.py
…
test_commands.py feat(billing): /credits command — balance + portal top-up handoff (#44776) 2026-06-12 08:51:10 +00:00
test_completion.py
…
test_config.py fix(config): preserve original .env file mode in remove_env_value too (#43349) 2026-06-10 19:53:07 +10:00
test_config_drift.py
…
test_config_env_expansion.py
…
test_config_env_refs.py
…
test_config_validation.py
…
test_container_aware_cli.py
…
test_container_boot.py
…
test_copilot_auth.py
…
test_copilot_catalog_oauth_fallback.py
…
test_copilot_context.py
…
test_copilot_in_model_list.py
…
test_copilot_token_exchange.py
…
test_cron.py revert(cron): remove per-job profile support (PR #28124) (#43956) 2026-06-10 20:46:17 -07:00
test_cron_parser_builder.py fix(cli): omit --workspace when subpackage has its own package-lock.json (#42973) (#43986) 2026-06-11 05:01:25 +00:00
test_curator_archive_prune.py
…
test_curator_recent_run_notice.py
…
test_curator_run.py
…
test_curator_status.py
…
test_curses_arrow_keys.py test: skip curses tests on Windows where _curses is unavailable (#40611) 2026-06-07 18:21:03 -07:00
test_curses_color_compat.py test: skip curses tests on Windows where _curses is unavailable (#40611) 2026-06-07 18:21:03 -07:00
test_curses_ui_fuzzy_rank.py
…
test_curses_ui_search.py
…
test_custom_provider_context_length.py
…
test_custom_provider_model_switch.py
…
test_dashboard_admin_endpoints.py Enable webhooks from dashboard page 2026-06-10 22:55:06 -07:00
test_dashboard_auth_401_reauth.py
…
test_dashboard_auth_audit.py
…
test_dashboard_auth_cookies.py
…
test_dashboard_auth_gate.py refactor(desktop): use port 0 for ephemeral port discovery instead of PortPool reservation 2026-06-12 14:02:19 -04:00
test_dashboard_auth_middleware.py fix(dashboard): _require_token endpoints all 401 behind the OAuth gate (#42578) 2026-06-09 22:57:49 -07:00
test_dashboard_auth_password_login.py
…
test_dashboard_auth_plugin_hook.py
…
test_dashboard_auth_prefix.py fix(dashboard-auth): warn when public_url override is silently rejected (#43214) 2026-06-10 12:14:57 +10:00
test_dashboard_auth_provider_base.py
…
test_dashboard_auth_status_endpoint.py
…
test_dashboard_auth_stub_provider.py
…
test_dashboard_auth_ws_auth.py
…
test_dashboard_auth_ws_tickets.py
…
test_dashboard_browser_safe_imports.py
…
test_dashboard_lifecycle_flags.py
…
test_dashboard_profiles_nav_label.py
…
test_dashboard_register.py fix(cli): persist custom --portal-url to .env on dashboard register (#42435) 2026-06-09 13:56:33 +10:00
test_dashboard_tui_backcompat.py
…
test_dashboard_unified_launch.py fix(desktop): keep named-profile desktop backends per-profile (#44510) 2026-06-11 22:47:28 +00:00
test_debug.py
…
test_default_interface_resolution.py
…
test_dep_ensure.py
…
test_deprecated_cwd_warning.py
…
test_destructive_slash_confirm_gate.py
…
test_detect_api_mode_for_url.py
…
test_determine_api_mode_hostname.py
…
test_dingtalk_auth.py
…
test_discord_skill_clamp_warning.py
…
test_doctor.py fix(doctor): allow vendor slugs for named custom providers 2026-06-08 15:53:09 -07:00
test_doctor_command_install.py
…
test_doctor_dedicated_provider_skip.py
…
test_dump_git_commit.py
…
test_ensure_hermes_home_uid_34107.py
…
test_ensure_utf8_locale.py fix(cli): repair non-UTF-8 stdout/stderr on all platforms, not just Windows (#43439) 2026-06-10 02:21:00 -07:00
test_env_load_cache.py
…
test_env_loader.py
…
test_env_sanitize_on_load.py
…
test_fallback_cmd.py
…
test_gateway.py fix(gateway): refuse to write service definitions with a temp-dir HERMES_HOME (#44267) 2026-06-11 06:10:08 -07:00
test_gateway_linger.py fix(gateway): refuse to write service definitions with a temp-dir HERMES_HOME (#44267) 2026-06-11 06:10:08 -07:00
test_gateway_platform_gating.py
…
test_gateway_proc_fallback.py
…
test_gateway_restart_loop.py
…
test_gateway_runtime_health.py
…
test_gateway_s6_dispatch.py
…
test_gateway_service.py fix(gateway): refuse to write service definitions with a temp-dir HERMES_HOME (#44267) 2026-06-11 06:10:08 -07:00
test_gateway_service_paths.py
…
test_gateway_windows.py
…
test_gateway_wsl.py
…
test_gemini_free_tier_setup_block.py
…
test_gemini_provider.py
…
test_gmi_provider.py
…
test_goals.py
…
test_graphical_browser_detection.py
…
test_gui_command.py fix(install): self-heal a stuck Electron download (salvage of #42894) (#42998) 2026-06-09 18:19:14 +00:00
test_gui_uninstall.py
…
test_hooks_cli.py
…
test_ignore_user_config_flags.py
…
test_image_gen_picker.py
…
test_install_cua_driver.py
…
test_inventory.py
…
test_inventory_pricing.py
…
test_kanban_blocked_sticky.py
…
test_kanban_boards.py
…
test_kanban_cli.py
…
test_kanban_cli_dispatch_passthrough.py
…
test_kanban_core_functionality.py refactor(gateway): extract kanban watcher loops into GatewayKanbanWatchersMixin (god-file Phase 3) 2026-06-07 23:14:18 -07:00
test_kanban_db.py fix(kanban): sweep deferred scratch parent on non-scratch child completion + tests 2026-06-07 09:50:44 -07:00
test_kanban_db_init.py
…
test_kanban_decompose.py
…
test_kanban_decompose_db.py
…
test_kanban_default_assignee.py
…
test_kanban_diagnostics.py
…
test_kanban_goal_mode.py
…
test_kanban_notify.py
…
test_kanban_per_profile_cap.py
…
test_kanban_promote.py
…
test_kanban_specify.py
…
test_kanban_specify_db.py
…
test_kanban_swarm.py
…
test_kanban_worker_image_extraction.py
…
test_launcher.py
…
test_list_picker_providers.py
…
test_logs.py
…
test_managed_installs.py
…
test_managed_uv.py
…
test_mcp_add_command_dest.py fix(mcp): preserve stdio argv passthrough 2026-06-11 08:59:55 -07:00
test_mcp_catalog.py
…
test_mcp_config.py
…
test_mcp_reload_confirm_gate.py
…
test_mcp_startup.py
…
test_mcp_tools_config.py
…
test_memory_reset.py
…
test_memory_setup_provider_arg.py
…
test_migrate_xai.py
…
test_model_catalog.py
…
test_model_cost_guard.py fix(model): require confirmation for expensive model selections 2026-06-10 00:24:06 -07:00
test_model_normalize.py
…
test_model_picker_expensive_confirm.py fix(model): require confirmation for expensive model selections 2026-06-10 00:24:06 -07:00
test_model_picker_viewport.py
…
test_model_provider_persistence.py
…
test_model_switch_context_display.py
…
test_model_switch_copilot_api_mode.py
…
test_model_switch_custom_providers.py fix(doctor): allow vendor slugs for named custom providers 2026-06-08 15:53:09 -07:00
test_model_switch_opencode_anthropic.py
…
test_model_switch_variant_tags.py
…
test_model_validation.py
…
test_models.py
…
test_models_dev_preferred_merge.py
…
test_non_ascii_credential.py
…
test_nous_account.py feat(billing): /credits command — balance + portal top-up handoff (#44776) 2026-06-12 08:51:10 +00:00
test_nous_auth_status_cache.py
…
test_nous_hermes_non_agentic.py
…
test_nous_inference_url_validation.py
…
test_nous_subscription.py fix(whatsapp-cloud): review follow-ups for #43921 2026-06-11 07:51:01 -07:00
test_ollama_cloud_auth.py
…
test_ollama_cloud_provider.py
…
test_openai_codex_model_validation_fallback.py
…
test_openai_picker_curated.py
…
test_opencode_go_flat_namespace.py
…
test_opencode_go_in_model_list.py
…
test_opencode_go_validation_fallback.py
…
test_overlay_slug_resolution.py
…
test_path_completion.py
…
test_picker_prewarm.py
…
test_pin_kanban_board_env.py
…
test_pip_install_detection.py
…
test_placeholder_usage.py
…
test_plugin_auxiliary_tasks.py
…
test_plugin_cli_registration.py
…
test_plugin_scanner_recursion.py
…
test_plugins.py fix(plugins): credit shared hook/middleware/tool names to every plugin 2026-06-12 10:57:25 +05:30
test_plugins_cmd.py feat(plugins): install from a subdirectory within a repo (#42963) 2026-06-09 13:42:51 -04:00
test_plugins_cmd_category_discovery.py
…
test_plugins_cmd_enable_disable_nested.py fix(plugins): alias-normalize enable/disable for nested category plugins (follow-up to #41076) 2026-06-08 17:57:37 +05:30
test_plugins_cmd_list.py fix(plugins): alias-normalize enable/disable for nested category plugins (follow-up to #41076) 2026-06-08 17:57:37 +05:30
test_plugins_transcription_registration.py
…
test_plugins_tts_registration.py
…
test_post_setup_gating.py
…
test_profile_describer.py
…
test_profile_distribution.py fix(dist): stop USER_OWNED_EXCLUDE from filtering nested directories 2026-06-07 21:50:57 -07:00
test_profile_export_credentials.py
…
test_profiles.py fix(profiles): backfill .env for pre-existing profiles on hermes update (#45247) 2026-06-12 15:42:14 -07:00
test_profiles_s6_hooks.py
…
test_project_plugin_rce_bypass.py
…
test_prompt_api_key.py
…
test_prompt_size.py
…
test_provider_config_validation.py
…
test_provider_groups.py
…
test_proxy.py
…
test_psutil_android_extract.py
…
test_pty_bridge.py fix(pty-bridge): terminate PTY process groups on teardown 2026-06-08 07:03:12 -07:00
test_reasoning_effort_menu.py
…
test_redact_config_bridge.py
…
test_regression_16767.py
…
test_relaunch.py
…
test_resolve_last_session.py
…
test_resolve_provider_openrouter_pool.py fix(auth): auto-detect OpenRouter credential from the pool, not just env (#42263) 2026-06-08 10:01:47 -07:00
test_run_with_idle_timeout.py
…
test_runtime_provider_resolution.py test(cron): cover provider "custom" → providers.custom resolution 2026-06-10 14:39:03 -07:00
test_secret_prompt.py
…
test_secrets_bitwarden_non_tty.py
…
test_security_advisories.py
…
test_security_audit.py
…
test_send_cmd.py fix(send): helpful error when --file gets a binary; document MEDIA: attachments (#45116) 2026-06-12 11:48:06 -07:00
test_service_manager.py fix(gateway): auto-start after container restart via planned-stop marker (#42675) (#43236) 2026-06-10 14:01:34 +10:00
test_session_browse.py
…
test_session_handoff.py
…
test_session_recap.py
…
test_sessions_delete.py
…
test_set_config_value.py
…
test_setup.py
…
test_setup_agent_settings.py
…
test_setup_hermes_script.py
…
test_setup_irc.py
…
test_setup_matrix_e2ee.py
…
test_setup_menu_curses_migration.py
…
test_setup_model_provider.py
…
test_setup_noninteractive.py
…
test_setup_ollama_cloud_force_refresh.py refactor(cli): extract 18 model-flow wizard functions into model_setup_flows (god-file Phase 2) 2026-06-08 09:42:44 -07:00
test_setup_openclaw_migration.py
…
test_setup_prompt_menus.py
…
test_setup_reconfigure.py
…
test_signal_handler_kanban_worker.py
…
test_skills_config.py
…
test_skills_hub.py feat(skills): show live per-source progress while browsing (#43398) 2026-06-10 01:02:40 -07:00
test_skills_install_flags.py
…
test_skills_skip_confirm.py
…
test_skills_subparser.py
…
test_skin_engine.py
…
test_slack_cli.py
…
test_spotify_auth.py
…
test_startup_plugin_gating.py
…
test_status.py
…
test_status_model_provider.py Merge commit '6110aed9b' into feat/whatsapp-cloud-api 2026-06-10 21:39:22 -04:00
test_subcommands_batch.py refactor(cli): extract 25 more subcommand parsers into hermes_cli/subcommands/ 2026-06-07 22:18:14 -07:00
test_subcommands_followup.py refactor(cli): promote 9 closure handlers to top-level + extract their parsers (god-file Phase 2 follow-up) 2026-06-07 22:56:23 -07:00
test_subcommands_profile_gateway.py refactor(cli): extract profile + gateway/proxy parsers into hermes_cli/subcommands/ 2026-06-07 22:18:14 -07:00
test_subparser_routing_fallback.py
…
test_subprocess_timeouts.py
…
test_suppress_eio_on_interrupt.py
…
test_system_stats_platform.py fix(dashboard): show Windows 11 in host panel (#44511) 2026-06-11 19:06:29 -04:00
test_systemd_optional_directives.py fix(gateway): normalize optional systemd directives in stale-check (#41119) 2026-06-07 21:50:57 -07:00
test_teams_pipeline_plugin_cli.py
…
test_telegram_managed_bot.py
…
test_tencent_tokenhub_provider.py
…
test_terminal_menu_fallbacks.py fix(model): require confirmation for expensive model selections 2026-06-10 00:24:06 -07:00
test_timeouts.py
…
test_tips.py
…
test_tool_token_estimation.py
…
test_tools_config.py feat(web): Parallel-backed web search & extract — free Search MCP when keyless, v1 REST when keyed 2026-06-10 19:54:38 -07:00
test_tools_disable_enable.py
…
test_tts_picker.py
…
test_tui_bundled.py
…
test_tui_heap_sizing.py
…
test_tui_mouse_residue_suppression.py
…
test_tui_npm_install.py fix(tui): decode startup subprocess output as utf-8 2026-06-11 09:00:55 -07:00
test_tui_resume_flow.py fix(tui): apply terminal backend config before launch 2026-06-09 00:31:27 -07:00
test_uninstall_node_symlinks.py
…
test_update_autostash.py fix(update): scope git fetch to target branch 2026-06-08 15:24:31 -04:00
test_update_check.py fix(update): avoid SSH auth for passive official checks 2026-06-11 12:45:07 +05:30
test_update_concurrent_quarantine.py
…
test_update_config_clears_custom_fields.py
…
test_update_hangup_protection.py
…
test_update_interrupted_recovery.py fix(update): self-heal a venv left half-built by an interrupted install (#42172) 2026-06-10 02:57:05 -07:00
test_update_post_pull_syntax_guard.py
…
test_update_stale_dashboard.py
…
test_update_yes_flag.py
…
test_update_zip_symlink_reject.py
…
test_user_providers_model_switch.py
…
test_uv_tool_update.py
…
test_verify_core_dependencies.py
…
test_video_gen_picker.py
…
test_voice_wrapper.py
…
test_web_oauth_dispatch.py
…
test_web_server.py fix(dashboard): skill installs from the dashboard silently auto-cancel (#45150) 2026-06-12 12:58:36 -07:00
test_web_server_cron_profiles.py
…
test_web_server_files.py Add dashboard file browser paths 2026-06-10 09:53:12 -07:00
test_web_server_fs.py fix(desktop): scope remote workspace defaults 2026-06-11 09:41:35 -07:00
test_web_server_host_header.py
…
test_web_server_messaging_profiles.py fix(dashboard): profile-scope Channels endpoints and seed per-profile .env (#44792) 2026-06-12 02:09:28 -07:00
test_web_server_oauth_write.py
…
test_web_server_profile_unification.py fix(dashboard): Config page header shows the switched profile's config.yaml path (#44374) 2026-06-11 09:46:15 -07:00
test_web_server_pty_import.py feat(windows): enable dashboard /chat tab via ConPTY (win_pty_bridge) + tests (#42251) 2026-06-08 11:32:43 -07:00
test_web_server_session_search.py
…
test_web_server_skill_editor.py feat(dashboard): SKILL.md editor on Skills page + attach-skill selector in cron modals (#44231) 2026-06-11 06:10:27 -07:00
test_web_server_skills_profiles.py fix(dashboard): skill installs from the dashboard silently auto-cancel (#45150) 2026-06-12 12:58:36 -07:00
test_web_ui_build.py fix(dashboard): suppress unicode-animations postinstall during npm ci 2026-06-11 11:49:08 -07:00
test_webhook_cli.py
…
test_whatsapp_cloud_setup.py
…
test_whatsapp_setup_ordering.py
…
test_win_pty_bridge.py feat(windows): enable dashboard /chat tab via ConPTY (win_pty_bridge) + tests (#42251) 2026-06-08 11:32:43 -07:00
test_windows_native_docs.py docs(windows): fix Get-Command PATH guidance to venv\Scripts\hermes.exe (#40613) 2026-06-07 18:28:23 -07:00
test_xai_model_flow.py fix(xai): accept Grok Build code during loopback wait + tiny screenshot guard 2026-06-09 23:21:24 -07:00
test_xai_oauth_pkce_token_exchange.py
…
test_xai_provider_labels.py
…
test_xai_retirement.py
…
test_xiaomi_provider.py
…