hermes-agent/tests/hermes_cli
teknium1 a1c81360a5 feat(cli): skin-aware light/dark theme mode with terminal auto-detection
Add display.theme_mode setting (auto/light/dark) that makes the CLI
readable on light terminal backgrounds.

- Auto-detect terminal background via COLORFGBG, OSC 11, and macOS
  appearance (fallback chain in hermes_cli/colors.py)
- Add colors_light overrides to all 7 built-in skins with dark/readable
  colors for light backgrounds
- SkinConfig.get_color() now returns light overrides when theme is light
- get_prompt_toolkit_style_overrides() uses light bg colors for
  completion menus in light mode
- init_skin_from_config() reads display.theme_mode from config
- 7 new tests covering theme mode resolution, detection fallbacks,
  and light-mode skin overrides

Salvaged from PR #1187 by @peteromallet. Core design preserved;
adapted to current main (kept all existing helpers, tool_emojis,
convenience functions that were added after the PR branched).

Co-authored-by: Peter O'Mallet <peteromallet@users.noreply.github.com>
2026-03-17 02:51:40 -07:00
..
__init__.py
test_chat_skills_flag.py
test_claw.py
test_cmd_update.py
test_coalesce_session_args.py
test_commands.py
test_config.py
test_cron.py
test_doctor.py
test_env_loader.py
test_gateway.py
test_gateway_linger.py
test_gateway_runtime_health.py
test_gateway_service.py
test_model_validation.py
test_models.py
test_path_completion.py
test_placeholder_usage.py
test_session_browse.py
test_sessions_delete.py
test_set_config_value.py
test_setup.py
test_setup_model_provider.py feat: add Kilo Code (kilocode) as first-class inference provider (#1666) 2026-03-17 02:40:34 -07:00
test_setup_noninteractive.py
test_setup_openclaw_migration.py
test_setup_prompt_menus.py
test_skills_config.py
test_skills_hub.py
test_skills_install_flags.py
test_skills_skip_confirm.py
test_skills_subparser.py
test_skin_engine.py feat(cli): skin-aware light/dark theme mode with terminal auto-detection 2026-03-17 02:51:40 -07:00
test_status_model_provider.py
test_tools_config.py
test_tools_disable_enable.py
test_update_autostash.py
test_update_check.py
test_update_gateway_restart.py