The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(hermes_cli): statement packing (AST-neutral)
Teknium46997ee7ed67
diff --git a/hermes_cli/setup_summary.py b/hermes_cli/setup_summary.pyindex 858bfc4861b..1674b04ac9d 100644--- a/hermes_cli/setup_summary.py+++ b/hermes_cli/setup_summary.py@@ -58,8 +58,7 @@ _EDIT_CONFIG_ROWS = (("hermes config set <key> <value>", ""),)_READY_ROWS = (- ("hermes", " Start chatting"),- ("hermes gateway", " Start messaging gateway"),+ ("hermes", " Start chatting"), ("hermes gateway", " Start messaging gateway"),("hermes doctor", " Check for issues"),)diff --git a/hermes_cli/status_auth.py b/hermes_cli/status_auth.pyindex 57ba3acf6db..b7ce339895f 100644--- a/hermes_cli/status_auth.py+++ b/hermes_cli/status_auth.py@@ -70,15 +70,12 @@ _API_KEYS: dict[str, str | tuple[str, ...]] = {"GitHub": "GITHUB_TOKEN",}-# OAuth detail rows: (label, status key, formatter, gate) — see _oauth_block._FILE_REFRESH_ROWS = (("Auth file:", "auth_store", None, None),- ("Refreshed:", "last_refresh", _format_iso_timestamp, None),- ("Error:", "error", None, False),+ ("Refreshed:", "last_refresh", _format_iso_timestamp, None), ("Error:", "error", None, False),)-_OAUTH_BLOCKS = (# (row name, auth getter, login hint, detail rows)("OpenAI Codex", "get_codex_auth_status", "hermes model", _FILE_REFRESH_ROWS),@@ -93,7 +90,6 @@ _OAUTH_BLOCKS = (("xAI OAuth", "get_xai_oauth_auth_status", "hermes auth add xai-oauth", _FILE_REFRESH_ROWS),)-_APIKEY_PROVIDERS = {"Z.AI / GLM": ("GLM_API_KEY", "ZAI_API_KEY", "Z_AI_API_KEY"),"Kimi / Moonshot": ("KIMI_API_KEY",),diff --git a/hermes_cli/stdio.py b/hermes_cli/stdio.pyindex 8fb6a8e4924..151040d983a 100644--- a/hermes_cli/stdio.py+++ b/hermes_cli/stdio.py@@ -12,7 +12,6 @@ import sys__all__ = ["configure_windows_stdio", "is_windows"]-_CONFIGURED = False