docs(auth): replace stale 'hermes login' references with 'hermes auth add'#32859
Merged
Conversation
… 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.
Contributor
🔎 Lint report:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The bundled
hermes-agentskill and several in-code error messages still pointed agents and users athermes login, which was removed and now just prints a deprecation stub. As a result, agents loading the skill kept runninghermes login --provider openai-codex(and similar) and hitting the dead-end print. This replaces those references with the canonicalhermes auth add <provider>surface.Changes
skills/autonomous-ai-agents/hermes-agent/SKILL.md(+ regenerated bundled docs page) — CLI command listing, Qwen OAuth row, troubleshooting stepshermes_cli/tips.py— tip rotation entryagent/google_oauth.py— google-gemini-cli "not logged in" erroragent/conversation_loop.py— Nous re-auth troubleshooting lineagent/credential_sources.py— docstringhermes_cli/proxy/cli.py+hermes_cli/proxy/adapters/nous_portal.py— proxy auth hintstests/hermes_cli/test_proxy.py— updated assertions for new messagewebsite/docs/reference/faq.md,website/docs/user-guide/features/subscription-proxy.md— docshermes logoutis still a live command and is left untouched. Thelogin_command()deprecation stub inhermes_cli/auth.pyand theDeprecatedrows incli-commands.mdare intentionally kept as the discoverable deprecation surface.Validation
tests/hermes_cli/test_proxy.py— 36/36 passpy_compileclean on all 6 touched Python filesgrep -rn 'hermes login'returns only the deprecation stub + cli-commands.md "Deprecated" rowsInfographic