The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(windows): preserve launcher layout invariants
Gillea08b909199a5
diff --git a/hermes_cli/_install_repair.py b/hermes_cli/_install_repair.pyindex e586c7cc1ef..848d400b0bc 100644--- a/hermes_cli/_install_repair.py+++ b/hermes_cli/_install_repair.py@@ -135,12 +135,12 @@ def _sync_windows_cli_launchers(root: Path) -> list[Path]:root = Path(root)scripts_dir = _venv_scripts_dir(root)- required_source = (- scripts_dir / "hermes.exe"- if scripts_dir is not None- else root / "venv" / "Scripts" / "hermes.exe"- )- if scripts_dir is None or not required_source.is_file():+ if scripts_dir is None:+ raise FileNotFoundError(+ f"project venv executable directory not found under: {root}"+ )+ required_source = scripts_dir / "hermes.exe"+ if not required_source.is_file():raise FileNotFoundError(f"required Hermes launcher not found: {required_source}")diff --git a/scripts/install.ps1 b/scripts/install.ps1index d045707e4a6..67f08bcb666 100644--- a/scripts/install.ps1+++ b/scripts/install.ps1@@ -3013,7 +3013,8 @@ function Set-PathVariable {if ($NoVenv) {$hermesBin = "$InstallDir"} else {- $hermesBin = Install-HermesCommandLaunchers -Root $InstallDir+ $hermesBin = "$InstallDir\bin"+ Install-HermesCommandLaunchers -Root $InstallDir | Out-Null}$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")