feat(dashboard): clarify manual Telegram bot setup - #64636
Merged
teknium1 merged 2 commits intoJul 16, 2026
Merged
Conversation
shannonsands
marked this pull request as ready for review
July 14, 2026 22:20
shannonsands
force-pushed
the
shannonsands/ns-594-manual-telegram-bot-setup
branch
from
July 16, 2026 04:24
b23e39b to
947b0fa
Compare
1 task
Gravezzz
pushed a commit
to Gravezzz/hermes-agent
that referenced
this pull request
Jul 21, 2026
The NousResearch#62803 branch predates PR NousResearch#64636's Telegram token-shape validation on the messaging platform PUT endpoint; align the new guard test's fixture with the validated format.
randlee
pushed a commit
to randlee/hermes-agent
that referenced
this pull request
Aug 11, 2026
The NousResearch#62803 branch predates PR NousResearch#64636's Telegram token-shape validation on the messaging platform PUT endpoint; align the new guard test's fixture with the validated format.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Makes the two Telegram onboarding paths explicit in the dashboard Channels page:
@BotFather.The manual flow now explains how to create a bot, where to obtain the complete token and numeric user ID, and how leaving the allowlist blank falls back to dashboard pairing approval. It also validates Telegram credentials in both the browser and API so malformed tokens or usernames cannot be silently written as configuration.
This keeps the centralized bot manager convenient without implying it is the only supported setup method.
Related Issue
NS-594: Add wording and clearer options for manual Telegram bot config
Type of Change
Changes Made
How to Test
/newbot, user-ID, and Pairing guidance on desktop and mobile widths.123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ_1234and numeric comma-separated user IDs to exercise the accepted API shape in an isolated Hermes home.Checklist
Code
fix(scope):,feat(scope):, etc.)pytest tests/ -qand all tests passFocused validation run:
pytest -q tests/hermes_cli/test_web_server.py -k 'telegram_onboarding or messaging_platform'(20 passed)npm --workspace web run typechecknpm --workspace web run buildnpm --workspace web run test -- --run src/lib/api.test.tsruff check hermes_cli/web_server.py hermes_cli/config.py tests/hermes_cli/test_web_server.pygit diff --checkDocumentation & Housekeeping
config.pyfield metadata supplies the dashboard guidance)cli-config.yaml.exampleupdate is N/A; no config keys changedCONTRIBUTING.md/AGENTS.mdupdate is N/A; no architecture or workflow changedScreenshots / Logs
Manually verified the Telegram choice panel and manual setup dialog at desktop and 390 × 844 mobile viewports. The dialog remains scrollable within the viewport and displays field-level errors for malformed tokens and allowlists.
Infographic