fix: replace user-facing hardcoded ~/.hermes paths with display_hermes_home()

Prep for profiles: user-facing messages now use display_hermes_home() so
diagnostic output shows the correct path for each profile.

New helper: display_hermes_home() in hermes_constants.py
12 files swept, ~30 user-facing string replacements.
Includes dynamic TTS schema description.
This commit is contained in:
Teknium 2026-03-28 23:47:21 -07:00 committed by GitHub
parent 0a80dd9c7a
commit 9f01244137
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 95 additions and 57 deletions

View file

@ -15,6 +15,7 @@ from pathlib import Path
PROJECT_ROOT = Path(__file__).parent.parent.resolve()
from hermes_cli.config import get_env_value, get_hermes_home, save_env_value, is_managed, managed_error
from hermes_constants import display_hermes_home
from hermes_cli.setup import (
print_header, print_info, print_success, print_warning, print_error,
prompt, prompt_choice, prompt_yes_no,
@ -935,7 +936,7 @@ def launchd_install(force: bool = False):
print()
print("Next steps:")
print(" hermes gateway status # Check status")
print(" tail -f ~/.hermes/logs/gateway.log # View logs")
print(f" tail -f {display_hermes_home()}/logs/gateway.log # View logs")
def launchd_uninstall():
plist_path = get_launchd_plist_path()