Skip to content

Sonny: sonny sky on its own, and any agent in the main view - #465

Merged
lydakis merged 2 commits into
mainfrom
claude/project-thread-nlw3ws
Oct 30, 2026
Merged

lydakis merged 2 commits into
mainfrom
claude/project-thread-nlw3ws

Conversation

@lydakis

@lydakis lydakis commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

From the Oct 30 feedback (triage doc, features): three Sonny-only features. No daemon change.

sonny sky

/sky's view on its own, in the whole terminal, to keep in another one beside the work (as btop is kept). Title row and keys over it (q quit, Esc and Ctrl+C too), the sky a column in, the counts on the last row. It reuses sky::View whole, so the design pass's changes to /sky (contrast, small screens, activity colours) land here too. A daemon that goes is followed again three seconds later. Takes --store/--socket like the rest.

sonny sky

/switch: any agent in the main view

  • /switch NAME makes the window NAME's Sonny, as sonny --agent NAME opens it: a lead, a task, any agent the daemon keeps. A name in this project may leave out the project (/switch fix → shop.fix). It reuses /lead's exec path.
  • /switch alone moves the agent beside the conversation into the window: the one open in the pane, else the one /status has picked.
  • An agent open in the pane has a ↗ main view button on its title (the ↗ cyan as the visual system's opens mark, the words plain; only where there is room beside the name); a click, or Ctrl+G from anywhere, does the same. The pane's keys say so.
  • A side chat or an embedded pane Sonny refuses it, saying why.

/lead keeps its job (leads by short name, /lead new); /switch is the general one.

Tests

  • switch_opens_any_agent_here_or_the_one_beside, an_agents_title_opens_it_in_the_main_view_where_it_fits, sonny_sky_draws_its_title_the_sky_and_the_counts.
  • cargo test -p sonny: 608 passed; clippy clean. Ran sonny sky against a live daemon in a PTY (screenshot above).

FEATURES.md: new /switch row, /sky row updated. README updated.

🤖 Generated with Claude Code

sonny sky draws /sky's view in the whole terminal, to keep in another
one beside the work: its title and keys over it, the counts under it,
q to leave, and a daemon that goes is followed again once it is back.

/switch NAME makes the window any agent's Sonny, as sonny --agent opens
it: a lead, a task or any other the daemon keeps, a name in this project
without the project. /switch alone, or the ↗ main view button on the
title of an agent open in the pane, moves that agent into the window.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGFnZZ8ch9S2DnysAF7
@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-30T23:18:01.221116Z b464c50 New commits
🔒 Security Review ✅ Completed 2026-10-30T23:19:10.044069Z b464c50 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.

↗ in cyan as the opens mark, its words plain (blue is for agents' names);
Ctrl+G opens the agent in the pane in the main view wherever the keys
are, as the button does, and the pane's keys say so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGFnZZ8ch9S2DnysAF7
@lydakis
lydakis merged commit 2b5bf4b 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