diff --git a/skills/autonomous-ai-agents/hermes-agent/references/slash-commands.md b/skills/autonomous-ai-agents/hermes-agent/references/slash-commands.md index 1bd76be3d7..e501fa00c6 100644 --- a/skills/autonomous-ai-agents/hermes-agent/references/slash-commands.md +++ b/skills/autonomous-ai-agents/hermes-agent/references/slash-commands.md @@ -18,7 +18,8 @@ it. New commands land often; `/help` in-session is always authoritative. /rollback [N] List/restore filesystem checkpoints /diff [mode] [--stat] Git changes in cwd (staged|all|session modes) /snapshot [sub] Create/restore Hermes config+state snapshots (CLI) -/background (/bg)

Run prompt in background +/bg Run a prompt in a separate background session +/btw Ask a side question about the current conversation without interrupting it /queue (/q) Queue prompt for next turn /steer Inject a message after the next tool call /agents (/tasks) Show active agents and running tasks diff --git a/tests/cli/test_cli_background_status_indicator.py b/tests/cli/test_cli_background_status_indicator.py index 99f5bdfc59..661fd06238 100644 --- a/tests/cli/test_cli_background_status_indicator.py +++ b/tests/cli/test_cli_background_status_indicator.py @@ -1,7 +1,7 @@ -"""Tests for the /background indicator in the CLI status bar. +"""Tests for the /bg indicator in the CLI status bar. The classic prompt_toolkit status bar shows `▶ N` when N tasks launched via -`/background` are still running. Source of truth is `self._background_tasks` +`/bg` are still running. Source of truth is `self._background_tasks` (a Dict[str, threading.Thread]); entries are removed in the task thread's finally block, so len() reflects truly-running tasks. """ @@ -69,7 +69,7 @@ def test_fragments_omit_bg_segment_when_idle(): # ── Background terminal-process indicator (⚙ N) ─────────────────────────── # Source of truth is tools.process_registry.process_registry._running (a dict # of currently-running shell processes spawned by terminal(background=true)). -# Distinct from /background tasks above: ▶ counts agent threads, ⚙ counts +# Distinct from /bg tasks above: ▶ counts agent threads, ⚙ counts # shell processes. Both can be active simultaneously. @@ -105,7 +105,7 @@ def _patch_process_registry(monkeypatch, count: int) -> None: # ── Background/async subagent indicator (⛓ N) ───────────────────────────── # Source of truth is tools.async_delegation.active_count() — the count of # delegate_task delegations (batch + background single) still in the -# "running" state. Distinct from ▶ (/background agent threads) and ⚙ (shell +# "running" state. Distinct from ▶ (/bg agent threads) and ⚙ (shell # processes); all three can be active at once. diff --git a/ui-tui/README.md b/ui-tui/README.md index ac1d612f75..7ac186c131 100644 --- a/ui-tui/README.md +++ b/ui-tui/README.md @@ -235,7 +235,7 @@ The following commands are handled directly by the TUI client. Unrecognized comm ### Session (`session.ts`) `/model`, `/sessions` (aliases `/switch`, `/session`, `/resume`), -`/background` (aliases `/bg`, `/btw`), `/image`, `/personality`, +`/bg`, `/btw`, `/image`, `/personality`, `/compress`, `/branch` (alias `/fork`), `/voice`, `/skin`, `/indicator`, `/yolo`, `/reasoning`, `/fast`, `/busy`, `/verbose`, `/usage`