The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs: list /autoprune in the slash-command reference; refresh the desktop slash registry
Tekniumdd0f51c77496
diff --git a/apps/desktop/src/lib/desktop-slash-registry.json b/apps/desktop/src/lib/desktop-slash-registry.jsonindex cbdb877d2ee..64c0b577285 100644--- a/apps/desktop/src/lib/desktop-slash-registry.json+++ b/apps/desktop/src/lib/desktop-slash-registry.json@@ -2,6 +2,7 @@"/agents": null,"/approvals": null,"/approve": null,+ "/autoprune": null,"/battery": null,"/bg": null,"/blueprint": null,diff --git a/website/docs/reference/slash-commands.md b/website/docs/reference/slash-commands.mdindex 1408565e9df..4add1c493fa 100644--- a/website/docs/reference/slash-commands.md+++ b/website/docs/reference/slash-commands.md@@ -94,6 +94,7 @@ Type `/` in the CLI to open the autocomplete menu. Built-in commands are case-in| `/approvals [manual\|smart\|off]` | Show or set the persistent dangerous-command approval mode. || `/footer [on\|off\|status]` | Toggle the gateway runtime-metadata footer on final replies (shows model, context %, and cwd). || `/busy [queue\|steer\|interrupt\|status]` | Control what happens when you message while Hermes is working — queue the new message, steer mid-turn, or interrupt immediately. Works in the CLI and messaging gateway. |+| `/autoprune [on\|off\|later\|status]` | Decide automatic pruning of old ended sessions (off by default). Hermes asks once when the disk holding `state.db` runs low; `on`/`off` save `sessions.auto_prune` and end the question, `later` reminds you in a week. Works in the CLI, TUI, Desktop and messaging gateway (on Slack: `/hermes autoprune`). || `/indicator [kaomoji\|emoji\|unicode\|ascii]` | CLI-only: pick the TUI busy-indicator style. || `/timestamps [on\|off\|status]` | CLI-only: toggle `[HH:MM]` timestamps on messages and in `/history`. || `/wake [on\|off\|status]` | CLI-only: toggle the "Hey Hermes" wake word listener. |diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.mdindex d2176c9f609..71d56d07315 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.md@@ -78,6 +78,7 @@ Hermes 有两个斜杠命令入口,均由 `hermes_cli/commands.py` 中的中| `/yolo` | 切换 YOLO 模式——跳过所有危险命令审批提示。 || `/footer [on\|off\|status]` | 切换最终回复中的 gateway 运行时元数据页脚(显示模型、工具调用次数、耗时)。 || `/busy [queue\|steer\|interrupt\|status]` | 控制 Hermes 工作时发送消息的行为——将新消息加入队列、中途引导,或立即中断。支持 CLI 和消息 gateway。 |+| `/autoprune [on\|off\|later\|status]` | 决定是否自动清理旧的已结束 session(默认关闭)。当 `state.db` 所在磁盘空间不足时 Hermes 会询问一次;`on`/`off` 保存 `sessions.auto_prune` 并不再询问,`later` 一周后再提醒。支持 CLI、TUI、Desktop 和消息 gateway(Slack 上用 `/hermes autoprune`)。 || `/indicator [kaomoji\|emoji\|unicode\|ascii]` | 仅限 CLI:选择 TUI 忙碌指示器样式。 |### 工具与 Skill