Skip to content

Sonny: composer on the message band, model labels, profile in the footer, reply ↩ - #469

Merged
lydakis merged 3 commits into
mainfrom
claude/project-thread-hqb8h7
Oct 31, 2026
Merged

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

Conversation

@lydakis

@lydakis lydakis commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

What

These are the rest of the day-5 design asks, after #464 (/sky). Each one was checked against the visual system and the interface design system.

  • Composer edge. George: "in some terminals, the composer is blending too much with the UI." The composer now sits on the same tinted band as the person's messages (look::band()), with one row of band above the words and one below. Your sent messages get the same padding. That means:

    • the words sit in the middle of the band rather than on its bottom edge;
    • what you're typing looks the way it will once sent;
    • the band stays separate from the conversation in any theme.

    The footer sits under the band and keeps to the 100-column conversation width, so its right edge lines up with the band's. Without colour (NO_COLOR), a muted rule above the composer marks the edge instead. Codex draws its composer and the user's sent messages on one shade in the same padded way. The first version only had a band row above the words, which looked lopsided (George, 10-31).

  • A hue on a muted row reads. Some muted rows carry a hued mark: the footer's green branch and blue agent name, and a task's name in "↳ Task updates". SGR dim stayed on top of the hue, so these came out dark navy and olive, under 3:1. The muted look now draws a hue on a dim row at full strength and keeps the words around it muted, whether or not the theme's colours are known. With NO_COLOR the dim is kept, since there's no hue.

  • Model labels on commons posts. Each post records the model its author ran, from the lookout's AGENT_MODEL. The thread view shows it the way people say it: bedrock/us.anthropic.claude-opus-5-5-v1:0 becomes Opus 5.5, openai/gpt-6.1-sol becomes GPT 6.1 Sol, bedrock/openai.gpt-oss-120b-1:0 becomes GPT OSS 120b. models::label is a pure function in Sonny; the daemon is unchanged.

  • Profile in the footer, only when it isn't the seat's own. A lead running lead and a task running task show nothing new. Any other profile shows next to the model and effort (GPT 6.1 Sol · high · reviewer).

  • Reply ↩. Point at a message and its bullet turns into a muted ↩. Clicking it quotes the message into the composer (> before each line, six lines at most) ahead of anything already typed. Margin notes get a ↩ in their header that quotes the note. /reply picks an older reply in the same picker /react uses.

Your sent message and the composer on the same padded band, the footer under it at the same width

The composer on its band

↩ in place of the bullet of the message under the mouse

The message quoted into the composer after a click

How these were made: Sonny built from this branch, run in a PTY against the scripted demo daemon. The rig answers OSC 10/11/4 as Flexoki Dark would, so the band and the muted gray are what Sonny computes there. The mouse events are real SGR any-motion and click sequences. Rendered with xterm.js and JetBrains Mono 12. Catppuccin Latte was checked too and reads the same.

Testing

  • cargo test -p sonny: 617 pass. New or changed tests:
    • a_reply_quotes_the_message_before_what_is_being_written
    • the_footer_names_a_profile_only_when_it_is_not_the_seats_own
    • the_message_under_the_mouse_shows_a_reply_mark_that_quotes_it
    • a_model_is_named_as_people_say_it
    • dim_default_text_becomes_the_gray_and_a_hue_on_it_reads
    • The reaction and prompt tests now expect the band rows.
  • cargo clippy --workspace --all-targets -- -D warnings and cargo fmt --all --check are clean.
  • FEATURES.md rows updated: full screen (composer band, footer width), message band, colour (hue on a dim row), footer (profile), commons (model), margin (↩), and a new Reply row. README updated to match.

🤖 Generated with Claude Code

… profile in the footer, reply ↩

The composer sits on the tinted band the person's messages use, from the
row above it down, with a rule in its place without colour. Commons posts
name their model as people say it (Opus 5.5, GPT 6.1 Sol), with provider,
region and vendor prefixes left off. The footer names the profile when it
isn't the seat's own. A message under the mouse shows ↩ in place of its
bullet, and a click quotes it into the composer; margin notes have their
own ↩, and /reply picks an older reply.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 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-31T00:47:17.989914Z 49e2508 New commits
🔒 Security Review ✅ Completed 2026-10-31T00:48:00.673700Z 49e2508 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 lydakis self-assigned this Oct 31, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 17e742ce99

ℹ️ 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".

Comment thread sonny/src/screen.rs Resolved
Comment thread sonny/src/margin.rs Resolved
…t shows

A reply that opens with a heading has no bullet, so its first row is now
marked when it is written and the reply mark finds it; a note brought in
from a task quotes what it showed when last read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa
…w reads

The composer's band now has a row above and below the words, and so do your
sent messages, so what you write looks as it will once sent and the words sit
in the middle of the band, not on its bottom edge. The footer keeps to the
conversation's column, its right edge where the band's is.

Dim over a hue (the footer's branch and agent name, a task's name in a quiet
row) fell under 3:1 in many themes. The muted look now draws a hue on a dim
row at full strength and keeps the words round it muted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGEUbnoEt6cpedcLYEa
@lydakis
lydakis merged commit 2ebccb5 into main Oct 31, 2026
3 of 4 checks passed
lydakis pushed a commit that referenced this pull request Oct 31, 2026
# Conflicts:
#	sonny/FEATURES.md
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