Add /version slash command across CLI, gateway, TUI, and desktop.

Surfaces Hermes Agent version info on demand without leaving chat; works mid-run like /help and /update.
This commit is contained in:
Brooklyn Nicholson
2026-06-05 18:05:05 -07:00
committed by Teknium
parent aa52cd3b57
commit 9c1bb8d2c7
7 changed files with 59 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
"""Tests for gateway /version command."""
import asyncio
from hermes_cli import __release_date__, __version__
def test_gateway_version_command_returns_release_line():
from gateway.run import GatewayRunner
result = asyncio.run(GatewayRunner._handle_version_command(None, None)) # type: ignore[arg-type]
assert result == f"Hermes Agent v{__version__} ({__release_date__})"