Repository navigation
feat: per-message queue menu (stop current / send now / delete) - #24
Merged
Merged
Conversation
Video messages and video/* documents were rejected as unsupported, so a walkthrough clip sent to the bot was dropped. They are now downloaded (<=20 MB, Telegram Bot API limit), saved to the agent upload dir (LOCAL_VISION_UPLOAD_DIR, same as photos), and the saved path is appended to the prompt so the agent can process the original file locally (e.g. extract frames with ffmpeg). Oversize videos get a clear file_too_large reply before downloading; media groups with videos stay unsupported.
A project can now have a default agent (settings.json `projectAgents`, keyed by worktree) that wins over the global currentAgent for that project. - resolveProjectAgent / fetchCurrentAgent / getStoredAgent are project-aware - picking an agent while a project is active stores it for the project only (selectAgentForCurrentProject); without an active project it keeps writing the global setting - tests cover precedence, fallback, scoping and persistence; PRODUCT.md updated
Tapping a queued-message button used to drop the message silently. It now opens an inline menu: - Stop current: aborts the running task keeping the queue intact (new `keepQueue` option on abortCurrentOperation) and resumes draining. - Send now: promotes the message to the front and dispatches it immediately, interrupting the running task when busy. - Delete: explicit removal, the previous behavior. Adds the `queue` inline-menu kind and callback route, the moveToFront queue operation, i18n keys in all locales, and tests.
rubenperezrial
changed the base branch from
feat/project-agent-defaults
to
main
September 26, 2026 18:20
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
Tapping a queued-message button (the
❌ N. previewreply-keyboard row) used to drop the message silently. It now opens an inline menu:keepQueueoption onabortCurrentOperation) and resumes draining.promptQueue.moveToFront) and dispatches it immediately, interrupting the running task when busy.Also adds the
queueinline-menu kind and callback route, i18n keys in all 10 locales, and tests (bun run checkgreen: lint + build + 1860 tests).Notes
Stacked on #23 (base =
feat/project-agent-defaults), which is stacked on #22. Review only the latest commit; GitHub retargets the chain tomainas the lower PRs merge and their branches are deleted.