Skip to content

The agent that grows with you

fix: skip the extras lookup when nothing configured is missing; pin probe encoding

teknium1a4420be2def0
diff --git a/hermes_cli/doctor_platform.py b/hermes_cli/doctor_platform.py
index b1185dc94ab..31213520def 100644
--- a/hermes_cli/doctor_platform.py
+++ b/hermes_cli/doctor_platform.py
@@ -544,6 +544,8 @@ def _check_web_dashboard_import(should_fix: bool, f: Finding) -> None:
[sys.executable, "-c", "import hermes_cli.web_server"],
capture_output=True,
text=True,
+ encoding="utf-8",
+ errors="replace",
timeout=120,
cwd=str(PROJECT_ROOT),
env=env,
diff --git a/hermes_cli/main_install_repair.py b/hermes_cli/main_install_repair.py
index 958701a52fb..10eb374794d 100644
--- a/hermes_cli/main_install_repair.py
+++ b/hermes_cli/main_install_repair.py
@@ -268,6 +268,8 @@ def _install_configured_features_missing_deps(project_root: Path) -> None:
from pm.features import declared_extras
missing = _configured_features_missing_deps()
+ if not missing:
+ return
declared = set(declared_extras(project_root))
extras = sorted({extra for *_, name in missing
if (extra := name.replace("_", "-")) in declared and extra_supported(extra)})