Skip to content

feat(command): add start alias for new sessions#18781

Closed
AfzalH wants to merge 1 commit into
NousResearch:mainfrom
AfzalH:t3code/start-command-alias
Closed

feat(command): add start alias for new sessions#18781
AfzalH wants to merge 1 commit into
NousResearch:mainfrom
AfzalH:t3code/start-command-alias

Conversation

@AfzalH

@AfzalH AfzalH commented May 2, 2026

Copy link
Copy Markdown

Summary

This adds /start as an alias for the existing /new command in the central slash-command registry. Because command resolution, gateway dispatch, help text, and native slash-command surfaces derive from this registry, /start now follows the same fresh-session path as /new and /reset.

Why

Telegram commonly presents a Start button during bot cleanup, onboarding, or restarted-chat flows. Mapping /start to /new lets that button create a clean Hermes chat session with fresh history instead of falling through as a normal prompt. This keeps the Telegram workflow intuitive while preserving the existing /new behavior across gateway command handling.

Validation

  • scripts/run_tests.sh tests/hermes_cli/test_commands.py tests/gateway/test_command_bypass_active_session.py

@AfzalH AfzalH marked this pull request as ready for review May 2, 2026 10:26
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard platform/telegram Telegram bot adapter labels May 2, 2026
@AfzalH AfzalH changed the title [codex] add start alias for new sessions feat(command): add start alias for new sessions May 2, 2026
@AfzalH AfzalH force-pushed the t3code/start-command-alias branch 2 times, most recently from 3ff0112 to 06752dc Compare May 5, 2026 10:51
@AfzalH

AfzalH commented May 31, 2026

Copy link
Copy Markdown
Author

Closing as obsolete: upstream now has a canonical /start gateway command that intentionally treats Telegram /start as a no-op, so this alias-to-/new PR is no longer appropriate.

@AfzalH AfzalH closed this May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have platform/telegram Telegram bot adapter type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants