fix(skills): widen HERMES_HOME-aware .env resolution to all sibling skills

Follow-up to the GitHub-skills fix: the same hardcoded ~/.hermes/.env
pattern existed across other bundled and optional skills. Under the
official Docker setup (HERMES_HOME=/opt/data, subprocess HOME=/opt/data/home)
those paths point at a nonexistent file.

- kanban-video-orchestrator setup.sh.tmpl + docs: resolve via
  ${HERMES_HOME:-$HOME/.hermes}/.env in check_key()
- telephony.py / canvas_api.py / hyperliquid_client.py: error and
  save messages now report the real resolved env path instead of a
  hardcoded literal (path resolution itself was already correct)
- godmode SKILL.md: load_dotenv snippet resolves via HERMES_HOME
- watch_github.py + ~20 SKILL.md prose mentions: document the env file
  as ${HERMES_HOME:-~/.hermes}/.env so Docker users edit the right file
This commit is contained in:
teknium1
2026-06-10 15:10:11 -07:00
committed by Teknium
parent 0a593f132c
commit d1383a6b14
25 changed files with 59 additions and 52 deletions
@@ -115,7 +115,7 @@ def _resolve_user(user: Optional[str]) -> str:
sys.exit(
"Missing Hyperliquid address. Pass <address> explicitly or set "
f"{DEFAULT_USER_ENV} in your environment or ~/.hermes/.env."
f"{DEFAULT_USER_ENV} in your environment or {_hermes_home() / '.env'}."
)