Skip to content

The agent that grows with you

fix: use module-level Path import — local re-import shadowed it for the whole function

kshitijk4poor9ee94d7d478a
diff --git a/hermes_cli/main.py b/hermes_cli/main.py
index 75a28924295..a8904783398 100644
--- a/hermes_cli/main.py
+++ b/hermes_cli/main.py
@@ -11558,8 +11558,6 @@ def cmd_dashboard(args):
# Resolve SSH session token (serve-only, same as the dashboard path).
if _token_file:
try:
- from pathlib import Path
-
_ssh_session_token = Path(_token_file).read_text(encoding="utf-8").strip()
except Exception:
pass