Files
hermes-agent/hermes_cli/plugin_install_phase.py
alt-glitch 901da1cb6a fix(catalog): sessions off the desktop no longer see manage_catalog through tool_search (review)
An agent stores its session platform's gated toolsets in disabled_toolsets at load, so the tool_search listing, the bridge's search, MCP refreshes and delegate children drop manage_catalog too.
InstallPhase moves to the leaf hermes_cli/plugin_install_phase.py; the gateway contracts no longer import the installer.
The per-home enable lock moves from the plugins_cmd facade to plugins_cmd_install._enable_placed.
Reusing an installed catalog tree reads the install record through catalog_install_record, so older top-level catalog_name records match.
A failed row no longer redacts the Advanced choices (profile name, commit); only credentials are redacted.
The profiles.py role comment no longer says a role grants the setup toolset.
2026-10-07 01:01:14 +05:30

13 lines
477 B
Python

"""The slow steps of a plugin install, as ids. A leaf module (stdlib only) so the gateway wire contract
(``tui_gateway/contracts/connectors_operation.py``) can type them without importing the installer."""
from enum import StrEnum
class InstallPhase(StrEnum):
"""The slow steps of an install, as ids; the desktop catalog card words them in its own language."""
downloading = "downloading"
python_packages = "python_packages"
loading_tools = "loading_tools"