The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(update): keep --finish-update through the completion self re-exec
ethernetdbe4bfbc06de
diff --git a/hermes_cli/source_completion.py b/hermes_cli/source_completion.pyindex faae6580a32..324b2b72d7d 100644--- a/hermes_cli/source_completion.py+++ b/hermes_cli/source_completion.py@@ -113,7 +113,12 @@ def main(argv: list[str] | None = None) -> int:from hermes_cli.runtime_paths import activation_environment- command = _bootstrap_command(root, ["--desktop"] if args.desktop else [])+ # This interpreter is a bootstrap one: the work happens in the re-exec, so+ # every flag that decides WHICH tail runs has to survive into it. Losing+ # --finish-update here silently reports an update as an install.+ passthrough = (["--desktop"] if args.desktop else []) + \+ (["--finish-update"] if args.finish_update else [])+ command = _bootstrap_command(root, passthrough)return subprocess.call(command, cwd=root, env=activation_environment(root))