Skip to content

False-positive 'Unsupported install method' banner for install.ps1/uv-based installs #61827

Description

@nachopenclaw-svg

Bug Description

Hermes Desktop shows the warning banner "Unsupported install method: pip installs are no longer an officially supported platform and will not receive further updates" even when the installation was performed entirely through the official, Tier-1-supported install.ps1 bootstrap flow (not a raw pip install hermes-agent).

Root Cause (suspected)

The bootstrap installer uses uv to create the venv and install dependencies (uv.lock-based, hash-verified). uv implements pip-compatible install metadata under the hood. It appears the platform-support detection logic that decides whether to show this banner reads that pip-style package metadata and concludes the install method is "pip", rather than checking how the installer/bootstrap was actually invoked.

Steps to Reproduce

  1. Install Hermes on Windows via the official install.ps1 (Tier 1 supported method, as documented at https://hermes-agent.nousresearch.com/docs/getting-started/platform-support).
  2. Let the installer create the venv via uv and install dependencies from uv.lock.
  3. Update Hermes normally over time via the built-in updater (also uv-based).
  4. Open Hermes Desktop — the "Unsupported install method" banner appears, incorrectly flagging the install as an unsupported pip install.

Evidence

  • ~/AppData/Local/hermes/logs/bootstrap-installer.log shows the original install (2026-06-05) went through the full install.ps1 bootstrap manifest (uv, python, git, node, system-packages, repository, venv, dependencies, node-deps, desktop, path, config-templates, platform-sdks, bootstrap-marker, configure, gateway stages), and every subsequent update since has gone through the same bootstrap's update stage — never a bare pip install hermes-agent.
  • However, ~/AppData/Local/hermes/.install_method contains the literal string pip, apparently written once during initial setup and used to drive today's banner logic.
  • pip show hermes-agent inside the venv also reports the package as installed via a location consistent with a pip-manageable venv, which is expected for any uv-created venv (uv installs pip-compatible metadata).

Expected Behavior

The Tier-1-detection logic should recognize installs that went through install.ps1/uv as supported, rather than keying off pip-compatible package metadata that uv also produces. Alternatively, if .install_method is the source of truth, the bootstrap should be writing the correct value (e.g. installer/ps1/uv) instead of pip when the official installer is used.

Impact

Cosmetic/confusing today, but risks scaring supported users into unnecessary reinstalls, and could cause false negatives if this same detection is later used to gate real support/update behavior.

Environment

  • OS: Windows 10/11 (x86_64)
  • Install method: install.ps1 (Tier 1 documented method), venv managed by uv
  • hermes-agent version: 0.18.2
  • .install_method file content: pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havearea/configConfig system, migrations, profilesarea/install-updateInstaller, updater, packaging, wheels, doctorcomp/cliCLI entry point, hermes_cli/, setup wizardtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions