feat(telegram): add inline keyboard to /session_recent, accept plain_dir in topic adoption - #3904
Open
gimso2x wants to merge 2 commits into
Open
feat(telegram): add inline keyboard to /session_recent, accept plain_dir in topic adoption#3904gimso2x wants to merge 2 commits into
gimso2x wants to merge 2 commits into
Conversation
…dir in topic adoption - /session_recent: inline keyboard with switch_inline_query_current_chat buttons inserts /session_resume <id> into chat input, no callback polling needed - topic adoption direct path input: plain_dir instead of existing_path missing directories are created by the lifecycle orchestrator - combined double .map() over recent.entries into single for-loop pass Rejected: multibyte-safe title slice | cosmetic, Telegram enforces 1-256 char limit Confidence: high Scope-risk: narrow Reversibility: clean Tested: bun test (558 pass, 0 fail) Not-tested: runtime end-to-end Telegram API integration
gimso2x
force-pushed
the
feat/session-recent-keyboard
branch
from
August 5, 2026 23:11
aa33a4b to
08e1222
Compare
- /session_recent rewrite left replyHtml unused; biome check failed - TelegramAdoptionTarget and persisted-intent guard now accept plain_dir so topic-adoption direct paths survive daemon restart
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
/session_recent: inline keyboard buttons withswitch_inline_query_current_chat— tap a session button to insert/session_resume <id>into chat input, no callback polling neededexisting_path→plain_dirso missing directories are auto-created by the lifecycle orchestrator.map()overrecent.entriesinto single for-loop passWhy
~/docsgot "folder no longer available" when the directory didn't exist — now it is created automaticallyTesting
bun test notifications-telegram-daemon.test.ts notifications-lifecycle-command-routing.test.ts→ 514 pass, 0 failplain_dirtargetGJC verdict