diff --git a/hermes_cli/tips.py b/hermes_cli/tips.py index 3a17055e7b4..610128c6fbf 100644 --- a/hermes_cli/tips.py +++ b/hermes_cli/tips.py @@ -345,7 +345,7 @@ TIPS = [ '/copy [N] copies the last assistant response to your clipboard, or the Nth-from-last with a number.', '/redraw forces a full UI repaint, fixing terminal drift after tmux resize or mouse selection artifacts.', '/agents (alias /tasks) shows active agents and running background tasks across the current session.', - '/footer toggles the gateway footer on final replies showing model, tool counts, and turn timing.', + '/footer toggles the gateway footer on final replies showing model, context %, and cwd.', '/busy queue|steer|interrupt controls what pressing Enter does while Hermes is working.', '/topic in Telegram DMs enables user-managed multi-session topic mode — /topic restores past sessions inline.', '/approve session|always runs a pending dangerous command with your chosen trust scope; /deny rejects it.', @@ -484,4 +484,3 @@ def get_random_tip(exclude_recent: int = 0) -> str: deduplication across sessions. """ return random.choice(TIPS) - diff --git a/website/docs/reference/slash-commands.md b/website/docs/reference/slash-commands.md index d90e5227c5a..737bc3a2a7a 100644 --- a/website/docs/reference/slash-commands.md +++ b/website/docs/reference/slash-commands.md @@ -75,7 +75,7 @@ Type `/` in the CLI to open the autocomplete menu. Built-in commands are case-in | `/statusbar` (alias: `/sb`) | Toggle the context/model status bar on or off | | `/voice [on\|off\|tts\|status]` | Toggle CLI voice mode and spoken playback. Recording uses `voice.record_key` (default: `Ctrl+B`). | | `/yolo` | Toggle YOLO mode — skip all dangerous command approval prompts. | -| `/footer [on\|off\|status]` | Toggle the gateway runtime-metadata footer on final replies (shows model, tool counts, timing). | +| `/footer [on\|off\|status]` | Toggle the gateway runtime-metadata footer on final replies (shows model, context %, and cwd). | | `/busy [queue\|steer\|interrupt\|status]` | CLI-only: control what pressing Enter does while Hermes is working — queue the new message, steer mid-turn, or interrupt immediately. | | `/indicator [kaomoji\|emoji\|unicode\|ascii]` | CLI-only: pick the TUI busy-indicator style. | @@ -219,7 +219,7 @@ The messaging gateway supports the following built-in commands inside Telegram, | `/queue ` (alias: `/q`) | Queue a prompt for the next turn without interrupting the current one. | | `/steer ` | Inject a message after the next tool call without interrupting — the model picks it up on its next iteration rather than as a new turn. | | `/goal ` | Set a standing goal Hermes works toward across turns — our take on the Ralph loop. A judge model checks after each turn; if not done, Hermes auto-continues until it is, you pause/clear it, or the turn budget (default 20) is hit. Subcommands: `/goal status`, `/goal pause`, `/goal resume`, `/goal clear`. Safe to run mid-agent for status/pause/clear; setting a new goal requires `/stop` first. See [Persistent Goals](/user-guide/features/goals). | -| `/footer [on\|off\|status]` | Toggle the runtime-metadata footer on final replies (shows model, tool counts, timing). | +| `/footer [on\|off\|status]` | Toggle the runtime-metadata footer on final replies (shows model, context %, and cwd). | | `/curator [status\|run\|pin\|archive]` | Background skill maintenance controls. | | `/kanban ` | Drive the multi-profile, multi-project collaboration board from chat — identical argument surface to the CLI. Bypasses the running-agent guard, so `/kanban unblock t_abc`, `/kanban comment t_abc "…"`, `/kanban list --mine`, `/kanban boards switch `, etc. work mid-turn. `/kanban create …` auto-subscribes the originating chat to the new task's terminal events. See [Kanban slash command](/user-guide/features/kanban#kanban-slash-command). | | `/reload-mcp` (alias: `/reload_mcp`) | Reload MCP servers from config. | diff --git a/website/docs/user-guide/configuration.md b/website/docs/user-guide/configuration.md index 11ed264a8c1..b5eccbbefda 100644 --- a/website/docs/user-guide/configuration.md +++ b/website/docs/user-guide/configuration.md @@ -1255,13 +1255,13 @@ In the CLI, cycle through these modes with `/verbose`. To use `/verbose` in mess ### Runtime-metadata footer (gateway only) -When `display.runtime_footer.enabled: true`, Hermes appends a small runtime-context footer to the **final** message of each gateway turn — same info the CLI shows in its status bar (model, context %, cwd, session duration, tokens, cost). Off by default; opt in per-gateway if your team wants every reply to include the provenance. +When `display.runtime_footer.enabled: true`, Hermes appends a small runtime-context footer to the **final** message of each gateway turn. The current footer can show the model, context-window percentage, and current working directory. Off by default; opt in per-gateway if your team wants every reply to include this provenance. ```yaml display: runtime_footer: enabled: true - fields: ["model", "context_pct", "cwd"] # any of: model, context_pct, cwd, duration, tokens, cost + fields: ["model", "context_pct", "cwd"] # supported fields: model, context_pct, cwd ``` The `/footer` slash command toggles this at runtime in any session. diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/configuration.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/configuration.md index f8a0f87b40a..4232161d944 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/configuration.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/configuration.md @@ -1176,13 +1176,13 @@ display: ### 运行时元数据页脚(仅限 gateway) -当 `display.runtime_footer.enabled: true` 时,Hermes 在每个 gateway 轮次的**最终**消息中附加一个小型运行时上下文页脚 —— 与 CLI 在其状态栏中显示的相同信息(模型、上下文 %、cwd、会话时长、token、成本)。默认关闭;如果您的团队希望每个回复都包含来源信息,请按 gateway 选择加入。 +当 `display.runtime_footer.enabled: true` 时,Hermes 在每个 gateway 轮次的**最终**消息中附加一个小型运行时上下文页脚。目前页脚可显示模型、上下文窗口百分比和当前工作目录。默认关闭;如果您的团队希望每个回复都包含这些来源信息,请按 gateway 选择加入。 ```yaml display: runtime_footer: enabled: true - fields: ["model", "context_pct", "cwd"] # 任意:model、context_pct、cwd、duration、tokens、cost + fields: ["model", "context_pct", "cwd"] # 支持字段:model、context_pct、cwd ``` `/footer` 斜杠命令在任何会话中运行时切换此功能。 @@ -1655,4 +1655,4 @@ Hermes 使用两种不同的上下文范围: # 在 ~/.hermes/.env 或 ~/.hermes/config.yaml 中: MESSAGING_CWD=/home/myuser/projects # Gateway 会话 TERMINAL_CWD=/workspace # 所有终端会话 -``` \ No newline at end of file +```