mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
The dashboard/desktop profile switch was partial — switching to profile X ran the launch profile's resources in two ways: 1. MCP discovery was gated on the launch profile's config having mcp_servers. If the launch profile had none, the background thread never started and zero MCP servers existed for every profile. Fix: always start discovery and let discover_mcp_tools() handle the empty-config case. 2. The profile secret scope (.env credentials) was never installed on the tui_gateway path. get_secret() fell through to os.environ, resolving secrets from the launch profile instead of the selected one. Fix: install set_secret_scope(build_profile_secret_scope(...)) alongside every set_hermes_home_override() call site: - compute_host.py:_ensure_server_session (build-time) - server.py:_build (lazy resume) - server.py:_handle_resume_session (_make_agent scope) - server.py:_handle_resume_session (_init_session scope) - server.py:_handle_submit_or_edit (per-turn handler) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _stdin_recovery.py | ||
| compute_host.py | ||
| entry.py | ||
| event_publisher.py | ||
| git_probe.py | ||
| host_supervisor.py | ||
| loop_noise.py | ||
| project_tree.py | ||
| render.py | ||
| server.py | ||
| slash_worker.py | ||
| synthetic_turn.py | ||
| transport.py | ||
| turn_marker.py | ||
| ws.py | ||