Problem
interactive_setup() in plugins/platforms/eko/adapter.py imports get_env_var and set_env_var from hermes_cli.config:
from hermes_cli.config import get_env_var, set_env_var
These functions were removed from upstream's hermes_cli/config.py a while ago (pre-restructure). The adapter already has an except ImportError guard that falls back to printing a manual message, so it doesn't crash, but the interactive setup wizard (hermes setup eko) can no longer auto-save values to .env.
Impact
hermes setup eko prints "set EKO_* vars manually in ~/.hermes/.env" instead of interactively prompting and persisting credentials
- No runtime breakage — gateway, messaging, and tools all work fine
Fix
Update interactive_setup() to write directly to ~/.hermes/.env (append lines) instead of relying on the removed helpers. Mirror the pattern used by other platform adapters that were updated after the removal.
File
plugins/platforms/eko/adapter.py — lines ~981–1005
Problem
interactive_setup()inplugins/platforms/eko/adapter.pyimportsget_env_varandset_env_varfromhermes_cli.config:These functions were removed from upstream's
hermes_cli/config.pya while ago (pre-restructure). The adapter already has anexcept ImportErrorguard that falls back to printing a manual message, so it doesn't crash, but the interactive setup wizard (hermes setup eko) can no longer auto-save values to.env.Impact
hermes setup ekoprints "set EKO_* vars manually in ~/.hermes/.env" instead of interactively prompting and persisting credentialsFix
Update
interactive_setup()to write directly to~/.hermes/.env(append lines) instead of relying on the removed helpers. Mirror the pattern used by other platform adapters that were updated after the removal.File
plugins/platforms/eko/adapter.py— lines ~981–1005