The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(browser): BOM-tolerant marker read; keep config_defaults line count
Tekniuma79ae55167ef
diff --git a/hermes_cli/browser_connect.py b/hermes_cli/browser_connect.pyindex aec30d6a94b..d9788c9aebe 100644--- a/hermes_cli/browser_connect.py+++ b/hermes_cli/browser_connect.py@@ -720,7 +720,7 @@ def _drop_singleton_leftovers(dst: str) -> None:def _snapshot_source(marker: str) -> str | None:"""Source profile name a completed snapshot was taken from (the done marker's content)."""try:- with open(marker, encoding="utf-8") as fh:+ with open(marker, encoding="utf-8-sig") as fh:return fh.read().strip() or Noneexcept OSError:return Nonediff --git a/hermes_cli/config_defaults.py b/hermes_cli/config_defaults.pyindex 2bb375bff35..68074c0d493 100644--- a/hermes_cli/config_defaults.py+++ b/hermes_cli/config_defaults.py@@ -452,11 +452,10 @@ DEFAULT_CONFIG = {# Windows browser holding its cookies) gives a fresh, signed-out browser plus a note saying why.# Also gates the browser_exec `local` arg (real-profile session under a cloud backend). Desktop Settings -> Browser."use_real_profile": False,- # Windows only: a running Chrome/Edge/Brave locks its cookie DB, so the profile can't be- # copied (the last snapshot is reused; with none yet, the session runs on a fresh browser).- # When on, the agent ASKS first; on approval it- # runs `hermes browser close-profile` (kills that profile's browser tree, unsaved tabs lost)- # so a new session can copy it; no auto-kill. No effect on macOS/Linux, where a running+ # Windows only: a running Chrome/Edge/Brave locks its cookie DB (the last snapshot is reused;+ # with none yet, a fresh browser runs). When on, the agent ASKS first; on approval it runs+ # `hermes browser close-profile` (kills that profile's browser tree, unsaved tabs lost) so a+ # new session can copy it; no auto-kill. No effect on macOS/Linux, where a running# browser only locks the password/autofill DBs, which are skipped (cookies still copy)."real_profile_autoclose": False,# Pin WHICH source profile directory is snapshotted for real-profile browsing (e.g. "Profile