Skip to content

Show the agent in the composer by default - #105

Merged
Tarquinen merged 3 commits into
devfrom
feat-agent-default
Nov 16, 2026
Merged

Tarquinen merged 3 commits into
devfrom
feat-agent-default

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Agent Selection was an experiment, off by default, so most people never found how to switch between Build and Plan.

  • It's now on by default, with an Agent Selection switch under Return Key Sends in Settings › Sessions. The experiment is gone and its stored value is cleared.
  • The composer row is less crowded and closer to the desktop: the agent and the model are each a name and a small chevron. The model chip no longer shows its provider logo, and it drops its effort level while the agent chip is showing. A long agent name is cut off at 96 dp before the model's name is.
  • Fixes the agent chip not updating after a pick in an existing session. The pick was saved, but the chip only changed after reopening the session.
On (default) Composer with the Build agent chip
A custom agent Composer with the Docs Writer agent chip
Switch off Composer without the agent chip

iOS still has this behind Experimental; the parity rows say where Android differs.

Not done: the switch reuses the already translated string core_experiment_agent_selection_title rather than renaming it across every locale, and there's no What's New entry.

Checked: scripts/check.sh passes for all modules. On the emulator against session-lab: the chip shows by default, a pick in an existing session updates it at once, and turning the switch off hides the chip and brings the effort level back. A long model name wasn't checked on the emulator, because the lab's only model is called "model".

Agent Selection leaves Experimental: it is on by default, with a switch
under Return Key Sends in Settings › Sessions (SharedKeys.agentSelection).
The old experiment's stored value is cleared with the other retired ones.

To keep the composer row uncrowded, the model chip drops its effort level
while the agent chip is beside it, and the agent's name is capped at 96 dp
so the model's name isn't the first to truncate.

Also fixes the agent chip not updating after a pick in an existing
session: the pick only changes the shared sessionAgents, which the
store's states don't follow, so the chip now follows that value too.

Verified: scripts/check.sh on the VM (all modules) passes. On the
emulator against session-lab: the chip shows by default, a pick in an
existing session updates it at once, and the switch off hides the chip
and brings the effort level back.
Beside the agent chip, the model chip is now just its name and a chevron
(no provider logo), and the agent's name uses the text colour, so the two
read as the same kind of control. They sit 8 dp further apart so the
agent's chevron doesn't read as belonging to the model.

Verified: scripts/check.sh on the VM (all modules) passes; on the
emulator against session-lab the row shows "Build ⌄  model ⌄" and a pick
updates the agent chip.
The model chip is a name and a chevron whether or not the agent chip is
beside it (CHIP_SHOWS_LOGO off, CHIP_SHOWS_CHEVRON on); beside the agent
chip it still leaves its effort level off.

Verified: scripts/check.sh on the VM (all modules) passes; on the
emulator against session-lab, with Agent Selection on the row shows
"Build ⌄  model ⌄" and with it off "model Default ⌄".
@Tarquinen
Tarquinen merged commit 74497ec into dev Nov 16, 2026
1 check passed
@Tarquinen Tarquinen mentioned this pull request Nov 16, 2026

This branch was previously deployed

1 inactive deployment
release — dd6ff0e0 Deployed Nov 16, 2026 by Tarquinen via check #360
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.

1 participant