mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-09 13:21:42 +00:00
Dashboard /chat for the default (launch) profile attaches to the dashboard process's in-memory TUI gateway. The Node PTY child receives a bridged TERMINAL_CWD env var, but the in-memory gateway process does not, so cwd resolution fell through to os.getcwd() (wherever `hermes dashboard` was launched) and ignored the configured terminal.cwd. Read the launch profile's config.yaml directly in the in-memory cwd resolution: a configured terminal.cwd now wins over a stale process env and the launch directory. Widened to the resume/fallback session-cwd sites (not just _completion_cwd) via a shared _default_session_cwd() helper so fresh AND resumed sessions honor the config. Co-authored-by: ygd58 <buraysandro9@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| entry.py | ||
| event_publisher.py | ||
| git_probe.py | ||
| loop_noise.py | ||
| project_tree.py | ||
| render.py | ||
| server.py | ||
| slash_worker.py | ||
| transport.py | ||
| ws.py | ||