Skip to content

Sonny: Tab queues a message for after the running turn - #400

Merged
lydakis merged 3 commits into
mainfrom
claude/project-thread-xbqtr4
Oct 30, 2026
Merged

lydakis merged 3 commits into
mainfrom
claude/project-thread-xbqtr4

Conversation

@lydakis

@lydakis lydakis commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Until now, anything you sent to a busy bot steered it, and there was no way to say "after you're done". This PR follows Codex: Enter steers, and Tab queues. No model judge decides, which matches Codex, Pi, Amp, Replit and Augment: each picks one default and gives you a key for the other.

  • While a turn runs and you have written something, Tab sends it with delivery: "queue". It runs as a turn of its own once the running one ends. Like any turn it starts, it uses the window's model and can move a moved lead. The person's turn (yours) becomes the queued turn.
  • The status row says • tab to queue once you start writing: Working (7s • esc to interrupt • tab to queue).
  • The queued message waits under the running turn, marked queued for after this turn, and leaves that spot when its turn starts.
  • Tab keeps its other jobs. It still takes a suggestion (shown only while the bot is idle), completes a slash command, and switches to the pane when nothing is typed. While the bot is idle, Tab with text written does nothing, as before.
  • When you queue with shell results still unsent, each result is queued as a turn of its own instead of steering.
  • The daemon and the protocol are unchanged.

A message queued with Tab waits under the running turn

Tests: added tab_queues_a_message_for_after_the_running_turn. cargo test -p sonny passes, and clippy (-D warnings) and fmt are clean. I also checked it live against a synthetic model: the screenshot above comes from a real Sonny on a real daemon, rendered through pyte, which drops the dim styling.

Enter still steers a busy bot. Tab, while a turn runs and something is
written, sends it with delivery queue instead, as Codex does: it runs as a
turn of its own once the running one ends, on the window's model, and may
move a moved lead. The status row says "tab to queue" once you start
writing, and the queued message waits under the running turn marked
"queued for after this turn".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGGFFfkimGgEwZk4QE3
@lydakis lydakis self-assigned this Oct 30, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T02:14:45.609159Z 596108a New commits
🔒 Security Review ✅ Completed 2026-10-30T02:15:31.339119Z 596108a New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

lydakis commented Oct 30, 2026

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: ff4745732b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: ff4745732b

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@lydakis
lydakis merged commit 6edec72 into main Oct 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants