Skip to content

feat(telegram): support quick-command-only menus#28529

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-6063e704
May 19, 2026
Merged

feat(telegram): support quick-command-only menus#28529
teknium1 merged 2 commits into
mainfrom
hermes/hermes-6063e704

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvage of #28015 (@stevehq26-bot). Adds opt-in Telegram command menu mode for specialist profile bots: telegram.command_menu: quick_commands_only publishes only profile-defined quick_commands instead of the default 30-command core menu. Individual quick commands can opt out via show_in_telegram_menu: false.

Conflict resolution: combined with #28503's multi-scope registration (#27014 just merged) — keeps multi-scope semantics AND adds the quick-only toggle. Replaced the PR's self._config.quick_commands access with a runner-ref + PlatformConfig.extra fallback chain since PlatformConfig doesn't carry quick_commands directly (that lives on GatewayConfig).

Authorship preserved via cherry-pick. 46/46 thread + forum-commands tests passing.

@teknium1 teknium1 merged commit 17b8121 into main May 19, 2026
@teknium1 teknium1 deleted the hermes/hermes-6063e704 branch May 19, 2026 05:48
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-6063e704 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8933 on HEAD, 8933 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 4680 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/feature New feature or request platform/telegram Telegram bot adapter comp/gateway Gateway runner, session dispatch, delivery comp/cli CLI entry point, hermes_cli/, setup wizard area/config Config system, migrations, profiles P3 Low — cosmetic, nice to have labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/cli CLI entry point, hermes_cli/, setup wizard comp/gateway Gateway runner, session dispatch, delivery 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.

3 participants