Skip to content

docs(auth): replace stale 'hermes login' references with 'hermes auth add'#32859

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-c83eac00
May 26, 2026
Merged

docs(auth): replace stale 'hermes login' references with 'hermes auth add'#32859
teknium1 merged 1 commit into
mainfrom
hermes/hermes-c83eac00

Conversation

@teknium1

@teknium1 teknium1 commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

The bundled hermes-agent skill and several in-code error messages still pointed agents and users at hermes login, which was removed and now just prints a deprecation stub. As a result, agents loading the skill kept running hermes login --provider openai-codex (and similar) and hitting the dead-end print. This replaces those references with the canonical hermes auth add <provider> surface.

Changes

  • skills/autonomous-ai-agents/hermes-agent/SKILL.md (+ regenerated bundled docs page) — CLI command listing, Qwen OAuth row, troubleshooting steps
  • hermes_cli/tips.py — tip rotation entry
  • agent/google_oauth.py — google-gemini-cli "not logged in" error
  • agent/conversation_loop.py — Nous re-auth troubleshooting line
  • agent/credential_sources.py — docstring
  • hermes_cli/proxy/cli.py + hermes_cli/proxy/adapters/nous_portal.py — proxy auth hints
  • tests/hermes_cli/test_proxy.py — updated assertions for new message
  • website/docs/reference/faq.md, website/docs/user-guide/features/subscription-proxy.md — docs
  • zh-Hans i18n mirrors for the above

hermes logout is still a live command and is left untouched. The login_command() deprecation stub in hermes_cli/auth.py and the Deprecated rows in cli-commands.md are intentionally kept as the discoverable deprecation surface.

Validation

  • tests/hermes_cli/test_proxy.py — 36/36 pass
  • py_compile clean on all 6 touched Python files
  • grep -rn 'hermes login' returns only the deprecation stub + cli-commands.md "Deprecated" rows

Infographic

purging-hermes-login

… add'

'hermes login' was removed (the command now just prints a deprecation
message and exits). The bundled hermes-agent SKILL.md, in-code error
messages, the tip rotation, the proxy adapters, and the docs site
still pointed agents and users at the dead command — so models loading
the skill kept running 'hermes login --provider openai-codex' and
getting a dead-end print.

Replacements use the canonical 'hermes auth add <provider>' surface
(or bare 'hermes auth' for the interactive manager).

Files:
- skills/autonomous-ai-agents/hermes-agent/SKILL.md (+ regenerated docs page)
- hermes_cli/tips.py (tip rotation)
- agent/google_oauth.py (gemini-cli error message)
- agent/conversation_loop.py (nous re-auth troubleshooting line)
- agent/credential_sources.py (docstring)
- hermes_cli/proxy/cli.py + hermes_cli/proxy/adapters/nous_portal.py (proxy auth hints)
- tests/hermes_cli/test_proxy.py (updated assertions)
- website/docs/reference/faq.md, website/docs/user-guide/features/subscription-proxy.md
- zh-Hans i18n mirrors for the above

'hermes logout' is still a live command and is left untouched.
The 'hermes login' stub in hermes_cli/auth.py:login_command() and
the cli-commands.md 'Deprecated' rows are intentionally kept as
the discoverable deprecation surface.
@teknium1 teknium1 merged commit bb4703c into main May 26, 2026
23 checks passed
@teknium1 teknium1 deleted the hermes/hermes-c83eac00 branch May 26, 2026 22:41
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-c83eac00 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 9376 on HEAD, 9376 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 4969 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/docs Documentation improvements P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard comp/agent Core agent loop, run_agent.py, prompt builder area/auth Authentication, OAuth, credential pools tool/skills Skills system (list, view, manage) labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/auth Authentication, OAuth, credential pools comp/agent Core agent loop, run_agent.py, prompt builder comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have tool/skills Skills system (list, view, manage) type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants