Conversation
A plain New message opens with nobody in To and focus on the To button, so the person picks the agent first. Send says 'Choose an agent to send it.' until one is picked. To stays filled where the person already chose: the palette's and first-run's 'Message <host>', and a reopened draft. The last-sent cookie now only orders the picker (that session first). Co-Authored-By: Claude <noreply@anthropic.com>
…ep an empty compose - The To picker opens with no row highlighted while To is empty, so Enter picks nothing; typing or an arrow key highlights the first row. - An empty compose (no words, files or typed thread name) offers no Save draft, saves nothing and closes asking nothing; a phone's top bar shows the disabled Send instead of Save draft. - Tests: focus in the no-agent case, the owner's send-to-A-then-new case, the pinned refusal strings marked as pinned on purpose. Co-Authored-By: Claude <noreply@anthropic.com>
1 task
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.
Owner's request: "I keep sending messages to the wrong agent in inbox, i think we need to leave the to: field empty."
What changed
aria-disabledwith "Choose an agent to send it."; ⌘↵ only says "Nothing sent: choose a live agent first." On a phone the top bar offers Save draft until a session is picked.preselectis replaced bycomposeOpening(compose/model.ts). Theplannotator-inbox-compose-lastcookie is still written, but now only orders the picker: that session first, its project leading (composeGroups's newlastargument).Tests
packages/inbox/composeModel.test.ts:composeOpening, and the picker order with the last session.packages/inbox/compose.test.tsx(DOM): a new test for empty To, focus on To, Send refused until picked, Escape in the picker, a kept draft reopening with its session, and the palette's Message action prefilled. The existing tests now pick To.pasteFiles.test.tsxand the e2e specs (inbox-compose,inbox-compose-skill-picker,inbox-paste) now pick To instead of relying on preselection.bun test packages/inbox: 368 pass / 0 fail. Allpackages/inbox/*.test.tsxunderDOM_TESTS=1 --isolate: 612 pass / 0 fail.bun run typecheckpasses. On a locally compiled binary, headless Playwright for inbox-compose, compose-skill-picker, paste, dictation-paste and worst-case: all pass.🤖 Generated with Claude Code