Skip to content

The agent that grows with you

fix(onboarding): /initiate-setup keeps Slack parity and shows as the command

alt-glitchb46fa88d082c
diff --git a/hermes_cli/commands_platforms.py b/hermes_cli/commands_platforms.py
index 7a2bd6b4785..cddb25deb22 100644
--- a/hermes_cli/commands_platforms.py
+++ b/hermes_cli/commands_platforms.py
@@ -383,7 +383,7 @@ _SLACK_RESERVED_COMMANDS = frozenset({
# parity test reads this set. Aliases are never pinned ahead of canonicals.
_SLACK_VIA_HERMES_ONLY = frozenset({
"topup", "moa", "debug", "egress", "init", "version", "diff", "update", "heartbeat",
- "refine", "review", "pause", "whoami", "platform", "insights", "login"})
+ "refine", "review", "pause", "whoami", "platform", "insights", "login", "commands"})
def _sanitize_slack_name(raw: str) -> str:
diff --git a/tests/tui_gateway/test_foreground_notification_snapshot.py b/tests/tui_gateway/test_foreground_notification_snapshot.py
index 21e64026b78..2769ce4bbf5 100644
--- a/tests/tui_gateway/test_foreground_notification_snapshot.py
+++ b/tests/tui_gateway/test_foreground_notification_snapshot.py
@@ -103,6 +103,7 @@ def test_cli_real_chat_binds_refreshes_and_restores_snapshot(tmp_path, monkeypat
def _init_agent(self, **kwargs): return True
def _chat_route_images(self, message, images): return message
def _chat_expand_context_references(self, message): return message, None
+ def _chat_stage_first_contact_note(self, agent, message): pass
def _chat_stage_user_message(self, agent, message): agent._pending_cli_user_message = {}
def _reset_stream_state(self): pass
def _chat_setup_turn_audio(self, *args): pass
diff --git a/tui_gateway/methods_tools.py b/tui_gateway/methods_tools.py
index 127b354f73d..3ea60129525 100644
--- a/tui_gateway/methods_tools.py
+++ b/tui_gateway/methods_tools.py
@@ -759,7 +759,7 @@ def _cmd_initiate_setup(rid, params, session, name, arg):
primary = _tools_mod("tools.connectors.catalog").default_target_profile()
message = _tools_mod("agent.initiate_setup_prompt").build_initiate_setup_prompt(
surface, [tool["function"]["name"] for tool in tools], primary)
- return _ok(rid, {"type": "send", "message": message})
+ return _ok(rid, {"type": "send", "message": message, "display": "/initiate-setup"})
def _cmd_moa(rid, params, session, name, arg):
diff --git a/tui_gateway/prompt_turn.py b/tui_gateway/prompt_turn.py
index 925bca17d1b..e60de896574 100644
--- a/tui_gateway/prompt_turn.py
+++ b/tui_gateway/prompt_turn.py
@@ -620,8 +620,7 @@ def _stage_first_contact_onboarding_note(session: dict, agent, history_empty: bo
The messaging gateway appends the directive to
the very first message ever (``_hmwa_first_contact_notes``); the
- TUI/Desktop surface never did, so a fresh install's first Desktop chat
- skipped the opt-in profile flow entirely. Stage the same note through
+ TUI/Desktop surface never did. Stage the same note through
``agent._gateway_turn_context_notes`` — consumed by
``agent.turn_context`` on the user message — never the ephemeral system
prompt, which must stay byte-stable for the conversation (prompt-cache
diff --git a/website/docs/reference/slash-commands.md b/website/docs/reference/slash-commands.md
index e0fb55cb99c..87fc55e36b9 100644
--- a/website/docs/reference/slash-commands.md
+++ b/website/docs/reference/slash-commands.md
@@ -110,7 +110,7 @@ Type `/` in the CLI to open the autocomplete menu. Built-in commands are case-in
| `/bundles` | List configured skill bundles — `/<name>` slash aliases that preload several skills at once. Configure under `bundles:` in `~/.hermes/config.yaml`. See [Skill Bundles](../user-guide/features/skills.md#skill-bundles). |
| `/learn <what to learn from>` | Distill a reusable skill from anything you describe — a directory, a URL, the workflow you just walked the agent through, or pasted notes. Open-ended: the agent gathers the sources with its own tools and authors a `SKILL.md` following the house authoring standards. Works in the CLI, the messaging gateway, the TUI, and the dashboard Skills page. |
| `/plan [task]` | Write a markdown implementation plan to `.hermes/plans/` in the active workspace — planning only, no execution. Empty argument infers the task from the conversation. (Formerly the bundled `plan` skill; now built-in so it survives the Telegram/Discord command-menu caps.) |
-| `/initiate-setup` (alias: `/initiate_setup`) | Run the first-run setup: the agent learns about you and sets Hermes up around you. Sends the bundled `initiate-setup` skill plus facts about this session and machine (surface, tools present, OS, RAM, GPU) as one normal turn. The first message ever ends with a one-line offer to run it (see [Onboarding](../user-guide/configuration.md#onboarding)). Works in the CLI, the messaging gateway, the TUI, and the desktop app. |
+| `/initiate-setup` (alias: `/initiate_setup`) | Run the first-run setup: the agent learns about you and sets Hermes up around you. Sends the `initiate-setup` skill plus facts about this session and machine (surface, tools present, OS, RAM, GPU) as one normal turn. The first message ever ends with a one-line offer to run it (see [Onboarding](../user-guide/configuration.md#onboarding)). Works in the CLI, the messaging gateway, the TUI, and the desktop app. |
| `/init [notes]` | Generate or update `AGENTS.md` project instructions from a repo scan (port of Codex `/init`). The agent inspects manifests, layout, and toolchain configs with its read-only tools, then writes a concise `AGENTS.md` — or, if one exists, merge-updates it preserving your content. Optional notes steer the emphasis. Works in the CLI, the messaging gateway, and the TUI. |
| `/cron` | Manage scheduled tasks (list, add/create, edit, pause, resume, run, remove) |
| `/suggestions [accept\|dismiss N\|catalog\|clear]` (alias: `/suggest`) | Review suggested automations. Use `/suggestions` to list pending suggestions, `/suggestions accept <id>` to create the proposed automation, `/suggestions dismiss <id>` to reject one, `/suggestions catalog` to add curated starter automations, and `/suggestions clear` to clear resolved suggestion records. Accepted jobs preserve the current surface as the delivery origin. |