docs(reference): sync slash-command tables with the command registry - #69639
Open
A-KH17 wants to merge 1 commit into
Open
docs(reference): sync slash-command tables with the command registry#69639A-KH17 wants to merge 1 commit into
A-KH17 wants to merge 1 commit into
Conversation
teknium1
reviewed
Jul 30, 2026
teknium1
left a comment
Contributor
There was a problem hiding this comment.
Thanks for identifying the stale command reference. The zh-Hans corrections remain needed: current main still lists /credits and /billing at website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.md:109-110 and /credits at :218.
Problems
- The English changes have already landed in
43874d1a96134729ff65d8a0da84a38ef0fc723b; current main has the replacement entries atwebsite/docs/reference/slash-commands.md:126-127and:240. The PR is now conflicting, and reapplying its English/journeyrow would duplicate the existing rows at:66and:68. - The new zh-Hans
/journeywording says CLI-only, but the TUI registers the command and its aliases atui-tui/src/app/slash/commands/ops.ts:329-334.
Suggested changes
- Salvage the zh-Hans command-table and availability-list corrections only, and align the
/journeywording with its TUI support.
Automated hermes-sweeper review.
| @@ -58,6 +58,7 @@ Hermes 有两个斜杠命令入口,均由 `hermes_cli/commands.py` 中的中 | |||
| | `/agents`(别名:`/tasks`) | 显示当前会话中的活动 agent 和运行中的任务。 | | |||
| | `/background <prompt>`(别名:`/bg`、`/btw`) | 在独立的后台会话中运行 prompt。agent 独立处理你的 prompt——当前会话保持空闲可继续其他工作。任务完成后结果以面板形式显示。见 [CLI 后台会话](/user-guide/cli#background-sessions)。 | | |||
| | `/branch [name]`(别名:`/fork`) | 分支当前会话(探索不同路径) | | |||
| | `/journey [list\|delete <id>\|edit <id>]`(别名:`/learning`、`/memory-graph`) | 打开学习旅程时间线——查看 Hermes 随时间学到的 skill 和记忆,并可编辑或删除单条条目。仅限 CLI。 | | |||
Contributor
There was a problem hiding this comment.
cli_only excludes the messaging gateway, but /journey is also registered in the TUI at ui-tui/src/app/slash/commands/ops.ts:329-334. Please describe its local-surface availability consistently rather than calling it CLI-only.
…egistry The zh-Hans reference still documented two commands that are no longer registered anywhere (/credits, /billing — unified under /topup in v0.19.0) and omitted three registered ones (/topup, /subscription, /journey). The English half of the original sync landed upstream in 43874d1; this change now carries only the zh-Hans corrections. /journey availability wording reflects its TUI overlay + desktop Star Map support rather than calling it CLI-only.
A-KH17
force-pushed
the
docs/slash-commands-registry-sync
branch
from
August 2, 2026 23:59
cea5c24 to
cf81ea8
Compare
Author
|
Thanks for the review — both points addressed in the reworked branch (now a single commit on current main):
|
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.
What does this PR do?
Brings the zh-Hans slash-commands reference back in sync with the command registry in
hermes_cli/commands.py:/creditsand/billing— neither command is registered anywhere at HEAD (CLI registry, gateway, or TUI). Billing was unified under/topupin v0.19.0, but the zh-Hans reference still tells users to type the retired commands./topup(CLI + messaging) and/subscription(alias/upgrade, CLI-only) — both previously undocumented in zh-Hans./journey(aliases/learning,/memory-graph) — available in the classic CLI, as a TUI overlay, and in the desktop app (Star Map panel); not available on messaging platforms.The English half of the original sync landed upstream in
43874d1a; this PR now carries only the still-missing zh-Hans corrections.Related Issue
N/A — small, self-verifying docs correction; no issue filed. Happy to open one if preferred.
Type of Change
Changes Made
website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.md: Info table (−/credits, −/billing, +/topup, +/subscription), Session table (+/journey), Messaging table (−/credits, +/topup), CLI-only list (−/billing, +/journey, +/subscription), both-surfaces list (−/credits, +/topup).contributors/emails/: email→login mapping for the commit author.How to Test
grep -n 'CommandDef("topup"\|CommandDef("subscription"\|CommandDef("journey"' hermes_cli/commands.py— all three registered.grep -nE 'credits|billing' website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/slash-commands.md— only the/topuprow's historical note remains./journeyTUI registration:ui-tui/src/app/slash/commands/ops.ts:329-334.Checklist
pytest— N/A: docs-only change, no code paths touched