Skip to content

feat(cli): add /verbose slash command to toggle debug output at runtime#94

Merged
teknium1 merged 1 commit intoNousResearch:mainfrom
cesareth:feat/verbose-slash-command
Feb 28, 2026
Merged

feat(cli): add /verbose slash command to toggle debug output at runtime#94
teknium1 merged 1 commit intoNousResearch:mainfrom
cesareth:feat/verbose-slash-command

Conversation

@cesareth
Copy link
Copy Markdown
Contributor

Closes #77.

What this adds

A /verbose slash command that toggles verbose mode on and off without restarting the CLI.

Behaviour

State What you see
ON Full tool call parameters, results, and DEBUG logs
OFF Normal kawaii spinner display (default)

How it works

  • Toggles self.verbose on HermesCLI
  • Updates the live agent's verbose_logging and quiet_mode flags in real-time
  • Reconfigures Python logging levels to match the new state
  • Status is reflected in /config output (existing Verbose: line)
  • /help lists the command automatically via the shared COMMANDS dict

Changes

  • hermes_cli/commands.py — added /verbose entry to COMMANDS
  • cli.py — added /verbose dispatch in process_command() + _toggle_verbose() method

Testing

$ hermes
> /verbose
Verbose mode ON — tool calls, parameters, and results will be shown.
> /verbose
Verbose mode OFF — returning to normal display.
> /config
  Verbose:    False

🤖 Generated with Claude Code

Closes NousResearch#77. Users can now type /verbose in the CLI to toggle verbose
mode on or off without restarting. When enabled, full tool call
parameters, results, and debug logs are shown. The agent's
verbose_logging and quiet_mode flags are updated live, and Python
logging levels are reconfigured accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants