Skip to content

Merge dev into main - #111

Closed
Tarquinen wants to merge 94 commits into
mainfrom
dev
Closed

Tarquinen wants to merge 94 commits into
mainfrom
dev

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Releases everything on dev since 0.8.0.

Chat

  • The composer's Send, Stop and Call button is one size and animates between the three instead of cutting. The colours blend, Send's arrow flies out as the message goes, and the stop square is bigger
  • The buttons on the question bar and the dictation bar animate the same way: Send blends between grey and black as you pick an answer, the buttons shrink slightly while pressed, and Stop grows into its spinner instead of cutting
  • Answering a permission or question no longer leaves a blank gap above the composer. The conversation settles down as the card folds away
  • The agent's name in the composer rolls in when it changes, like the model's, and the model chip slides over instead of jumping
  • Images and Mermaid diagrams in replies fade in over their loading box instead of popping in
  • A tool group's arrow turns as the group opens and closes
  • The connection pill fades between "Reconnecting" and "Couldn't connect" and grows to fit, instead of changing in one step
  • The "Couldn't Start Call" and "Call Ended" cards grow in above the composer and shrink away, instead of popping in and out and making the chat jump
  • The @ and / suggestion list in the composer is rebuilt as a standard list. A picked item's chip now appears in the text at once instead of flying in, and the highlight fades from row to row
  • Subagent and browser pages still slide in and out, and system back still previews leaving them, on a rebuilt page stack. Back is now the system back gesture or the Back button: the swipe back from the middle of the page is gone

Full-screen viewer

  • The viewer's controls fade out quickly on close, so they no longer linger over the chat

Settings

  • Sections that a switch adds or removes, like the call settings under Enable Voice, fade in and out while the rest of the page slides to make room
  • The checkmark pops in when you pick a theme, a voice or a Delegator mode

Across the app

  • The app opens on a splash that matches its light or dark theme, including the one picked in Settings › Appearance, instead of always starting black
  • Buttons shrink slightly while pressed
  • Errors look the same across the app: one floating red notice, one centred "Couldn't load" state with a Try Again button, and one red for error text. The request-load error is now a small notice that hugs its text instead of a full-width orange banner, and TalkBack reads out the call failure cards

Fixes

  • New Session always opens blank. A first message that failed to send used to take over every new session; now it stays at the top of Recents as an unsent session you can reopen, with Retry, Edit and Delete under the message
  • Archiving on a server too old to support it no longer hides the sessions and brings them back without a word. They return right away with a notice that says to update OpenCode on your computer. Archive, unarchive and delete failures all show in that notice, which floats above New Session instead of pushing the list down
  • Mentioning a file with @ no longer makes the message fail to send when OpenCode runs on a Windows computer

Speed and battery

  • Images in replies are kept in memory once instead of twice, in the image library's own cache

Behind the scenes

  • Debug builds can connect to a lab server and set Experimental switches from launch extras, so emulator runs skip pairing by hand
  • The drawer's Catch Up and What's New rows fold in and out with standard Compose, replacing the hand-built spring. The fold no longer blurs
  • The composer's text field grows a line at a time through the card's own animation, replacing the field's hand-built spring
  • The shared location card and the Settings checkmarks appear and leave with standard Compose, replacing a hand-built helper
  • The "No messages yet" text in an empty session reveals with standard Compose, replacing a hand-built frame loop
  • Removed the in-app photo sheet and its motion, which Android could never show because it has no photo library access. Photos still opens the system picker
  • Removed Motion Watch and the motion audit, which stopped recording anything when the transcript moved to a standard list. Its switch is gone from Developer
  • Removed the drawer's unused card modifiers and pan wrapper
  • Removed the background-work panel's debug trace
  • Removed unused transcript tunables and deprecated motion aliases
  • Removed the Highlights and commonmark libraries, which no code used
  • Removed the Frontier and Focus text reveal styles, which only the Tuning panel could pick
  • Removed the flight maths that only the motion playground still used, along with its Flight stage
  • Removed the drawer pan's unused Catch Up and claim paths
  • Trimmed touch recovery to the + menu, its only remaining user
  • Removed unused picker values, session chrome and drawer lab traces

PRs: #110, #112, #113, #114, #115, #116, #117, #118, #119, #122, #123, #124, #127, #128, #129, #131, #132, #133, #134, #135, #136, #137, #138, #139, #140, #141, #142, #143, #144, #145, #146, #147, #148, #149, #150, #151

Tarquinen and others added 3 commits November 16, 2026 23:13
Send was a 40 dp face and Stop and Call 34 dp, and a change of control cut
from one to the next because each control drew its own label.

Now the trailing slot has one 40 dp face that carries across the controls:
the colours blend, the face gives a small press, Send's arrow rises in and
leaves upward as the message goes, and the other glyphs grow in and shrink
out. The send's fading snapshot of the card leaves the trailing controls
out, so the live swap isn't doubled. The answer bar's button and dictation's
Stop take the same 40 dp face. Reduce motion swaps at once.

Verified: scripts/check.sh :feature:session; emulator against session-lab in
light and dark, frame by frame at 5x slower animations.
The stop symbol's square fills half of its box, so a 16 dp glyph drew an
8 dp square in the 40 dp face, lighter than the arrow and the phone. A
24 dp glyph draws 12 dp, for the trailing Stop and dictation's Stop.

Verified: built and recorded on the emulator in light and dark.
Animate the composer's Send, Stop and Call button as one face
Tarquinen and others added 2 commits November 16, 2026 23:53
…tras

Agents testing on an emulator paired the app with session-lab by hand
through Enter a Server Manually (about nine steps and 2.5 minutes each
time) and tapped through Settings to flip Experimental switches.

In debug builds, `lab-server-url` now saves that server as the last-used
one, so the launch connects to it. Until now it was only read as a flag.
`lab-experiments-on` and `lab-experiments-off` take comma-separated
experiment names and set those switches.

Verified: `scripts/check.sh` passes; the new test fails without the
LabLaunch change. On an API 36 emulator, after `pm clear`,
`am start --es lab-server-url http://10.0.2.2:4151 -a VIEW -d
opencode://session/ses_approval_root` opens the lab session connected in
about 5 s with no onboarding, and `--es lab-experiments-on
inbox-sidebar,sound-effects` stores both switches (app storage holds
`experimental-inbox-sidebar` true; Settings shows the Sound Effects
volume slider).
feat(app): connect to a lab server and set experiments from launch extras
Tarquinen and others added 5 commits November 17, 2026 01:56
When a docked permission or question was answered, the panel folded away
but the room the capsule reserved for it stayed until the fold finished,
then went in one step: a blank band for about 250 ms, then the chip row
and the transcript dropped a whole panel height in one frame.

The room now follows the panel's reveal, so it shrinks with the fold and
the transcript settles down as the card leaves. Reduce Motion is
unchanged (the reveal still snaps after its fade), and a request that
docks mid-fold grows the room back with the reveal.

Verified: vm.sh check :feature:session; emulator recordings of a
permission answered in light, dark and at animator scale 5, the
showcase question resolving, and Reduce Motion, compared frame by frame
against a dev build.
Opening or closing a "Used N tools" group swapped the right chevron for the
down one in a single frame, while the rows below grew on DisclosureMotion.
Now one right chevron turns 90° on the same curve (Motion.layout, closing on
its quicker exit), as the link list's "more" chevron does. Under Reduce Motion
it swaps to the down chevron at once, also as that sibling does.

Verified: scripts/check.sh :feature:transcript on the VM passes; recorded
open and close on the tool-groups checkpoint against the release, at real
speed, at animator_duration_scale 5, and in dark mode.
Turning on Enable Voice or All Experiments added sections and rows in one
frame, before the switch's thumb had moved, and pushed the rest of the page.

settingsSection now gives every section animateItem (fade in on MicroIn,
delayed by half of Layout so it lands after the sections below make room;
placement on Layout; fade out on MicroOut), as ServerDetailsView's rows do,
and the section card animates its size on Layout when rows inside it change.
Every Settings page uses settingsSection with keys, so no page needed edits.

Verified: vm.sh check :feature:settings passes. On the emulator against
session-lab, Voice (Enable Voice on/off, light, and dark at 4x animator
scale) and Experimental (All Experiments on/off) frame by frame against
v0.8.0; opening Voice and Experimental from Settings plays no stray fade
or slide.
The splash and window background were hard-coded black, so a light
launch started black and the system's splash exit drew its reveal in
that black: a dark radial wipe into a white screen, with the navigation
handle still light. A dark launch dipped through black between the
icon's fade and the app.

The splash and window background are now a day/night colour, the
default palette's canvas (white, #161616). The splash's night mode
follows the phone, so MainActivity mirrors Appearance's Light, Dark or
System into the app's own night mode (UiModeManager
.setApplicationNightMode: YES, NO, or AUTO to follow the phone), and
handles uiMode itself so changing Appearance doesn't recreate it. The
splash theme is Theme.SplashScreen.IconBackground so the white mark
keeps its dark launcher circle on the white splash.

Verified on the API 36 emulator, frame by frame: cold starts on a light
and a dark phone, paired and unpaired, in-app Light on a dark phone and
in-app Dark on a light phone; Appearance switches and system dark mode
switches with the app open (no recreate, page kept); clearing data
resets the night mode; Share and Ask OpenCode follow the in-app choice.
The first launch after updating, for someone whose in-app choice differs
from the phone's, still uses the phone's mode once. scripts/check.sh
:app passes.
Shrink an answered request's space with its fold
Animate Settings sections and rows as they come and go
The agent chip's name was plain text, so picking another agent cut its
name in one frame and its new width shoved the model chip sideways. The
agent name now goes through the model chip's OnePickerChipRoll: the new
name rolls in on MotionTransition.roll and the chip's width eases on
Motion.layout (both follow Reduce Motion), so the model chip slides over.

Verified: $V build and scripts/check.sh :feature:composer pass. On the
emulator against session-lab, picking Plan then Docs Writer cuts on
v0.8.0 and rolls on this branch, frame by frame at real speed and at
animator scale 5, in light and dark.
Start the app on a splash that matches its light or dark theme
Roll the composer's agent name like the model's
Picking a theme, a voice or a Delegator mode swapped the check from the
old row to the new one in a single frame. The check now comes in through
MotionPresence: it scales and fades in on MicroIn and fades out on
MicroOut, the same roles as the drawer's selection check. The theme
row's empty ring cross-fades with it. Each mark keeps its size, tint
and slot, so rows don't change width, and a list that opens with a row
selected doesn't animate. TalkBack's selected state is unchanged.

Language and the server list are left alone: a language pick restarts
the activity, and the server list returns to the connection card.

Verified: vm.sh build, vm.sh check :feature:settings; on the emulator,
frame by frame at animator scale 5 and at real speed: Themes, Voice
(Enable Voice on, then off again) and Delegator (experiment on, then off).
A Markdown image or Mermaid diagram that finished loading replaced its
spinner box in one frame. Now its pixels fade in over the dim role, as
the agent image gallery's do: reduced under Reduce Motion, and no fade
when the image was already decoded when the view first showed.

Verified on the emulator against session-lab (files checkpoint with
3 s file latency, cold start; math-diagrams checkpoint, cold start):
frame by frame the image and diagram pass through partly transparent
frames in light and dark, and show at once with animations off.
scripts/check.sh :feature:transcript :feature:media passes.
Closing the full-screen viewer faded its bottom bar and page count over the
whole flight home, so they stayed faintly drawn over the transcript and the
message field until the image landed (and past it when closing from zoom).
Close now hides them with the same 0.15 s fade that drag to dismiss and
predictive back already use, so they are gone well before the image lands.
Open and the drawing hand-off still time the controls to their flights.

Verified: scripts/check.sh :feature:media on the Android VM (passes).
Emulator, session-lab images checkpoint, against the v0.8.0 release (same
viewer code as dev): closing from zoom with Back, the 8 / 11 count took
about 280 ms (light) and 220 ms (dark) to fade before, about 130 ms and
115 ms now. Close button, Back without zoom, drag part-way and let go, and
predictive back part-way and cancel all checked: the controls hide during
the gestures and come back on cancel. Not checked on a phone.
OpenCodePrimaryButton, OpenCodeSecondaryButton and OpenCodeIconButton
showed only Material's ripple under the finger. They now also apply the
shared motionPress (0.97 on Motion.press, a dim under Reduce Motion) on
the button's own interaction source, so every caller gets it. The
ripple stays. Disabled buttons emit no press, so they don't move.

No other press scale wraps these components (the composer + button,
Share's Send and the answer/dictation bars are custom Box clickables),
so nothing scales twice.

Verified: vm.sh build and vm.sh check :core green; before/after
recorded on the FX_1 emulator against session-lab (What's New
"Choose a Model" and the drawer's Settings button, real speed and at
animator_duration_scale 5). Not checked on a phone.
When reconnecting gave up, the pill cut to "Couldn't connect" in one
frame: glyph, title, Try Again and width all changed at once, and the
same cut happened back to "Reconnecting" after Try Again.

The pill's row now sits in an AnimatedContent keyed on the notice: the
old and new contents swap on MotionTransition.swap and the pill's size
follows on Motion.layout, as OnePickerChip's label swap does. Reduce
Motion gets the transition helper's cross-fade. The pill's enter and
exit are unchanged.

Verified: vm.sh check :feature:session passed. On the emulator against
session-lab (lab stopped, then Try Again, then lab started), compared
with v0.8.0 frame by frame in light at normal speed and in dark at
animator scale 5: the release cuts in one frame both ways, this build
cross-fades and resizes over several frames. Not checked on a phone or
with Reduce Motion on.
Reveal the empty transcript's text with animateFloatAsState
Remove the Tuning-only Frontier and Focus text reveal styles
Remove unused picker tunables, session chrome and drawer lab traces
Tarquinen and others added 4 commits November 18, 2026 13:44
…orphans

ComposerView had no callers; it goes with what only it used: the
attachmentMenuAnchor modifier, ComposerPickers.filesIntent and the
composer_attachment_photo_description string (English and every
translation). Also removed, each referenced only at its definition:
OneShotRequestGate, QueuedMessagesSheetMetrics.estimatedRowHeight,
SessionFeature.markdownStream, TitleBreathing.REPLAY_SECONDS,
AgentActivityOrb's SIGMA and AgentImageBento.defaultCornerRadius.
docs/parity/composer.md updated to match.

Verified: git grep over src/main and src/test in every module,
scripts/translations.py all, full scripts/check.sh on the Android VM.
Each was referenced only at its own definition: LabMarks.markOnce (and
its onceKeys set), promotionTrace, workingTrace and transcriptSnapshot;
MotionCurve.isSpring; TunableSpring.defaultSpring; Tunable.sliderSteps;
TuningStore.undoableRollGroups; emptyReducer; and SharedKeys.touchProbe,
whose only other use was its line in TestIsolationGuard. No release ever
wrote the touch probe key, so no saved value is orphaned.
docs/parity/devtools.md's LabMarks row updated to match.

Verified: git grep over src/main, src/test and testFixtures in every
module, full scripts/check.sh on the Android VM.
Each was referenced only at its own definition: CatchUpCardLayer.applyTo,
CatchUpStackController.refreshPreviewAppearance and
cancelPendingAnimations, CatchUpSwipeMath.projectedLanding,
DrawerPinDrag.cancelSlotMinY, CardSwipeOrigin.outsideCard,
Modifier.drawerSearchFocusHitTesting, DrawerTunables.holdStyle and
holdLift (and with them the DrawerHoldStyle enum), DrawerRowShape and
DrawerTitle.CROSS_FADE_MILLIS. docs/parity/drawer.md updated to match.

Verified: git grep over src/main and src/test in every module, full
scripts/check.sh on the Android VM.
Let the composer card animate line growth instead of the field's own spring
Remove the unused ComposerView and other composer, session and media orphans
Remove unused core lab marks, tuning helpers and the touch probe key
Remove unused drawer helpers and tunables
The quote comment panel opens just above the composer, where the
background-work capsule, the queued and connection pills and the jump
button sit, and the capsule was drawn on top of the comment field.
composerPanelCovers now also covers while a quote's comment is being
edited, so those fade out under the panel, as they already do under
the model picker and the @ suggestions, and come back when it closes.

Verified on the emulator against session-lab (background-work): before,
the capsule covers "Add an optional comment…"; after, it hides while the
panel is open and returns after Done and Back, light and dark, with no
transcript or composer jump. The Reconnecting pill (lab stopped) also
stays hidden under the panel. vm.sh check :feature:session passed.
Hide the pills above the composer while a quote's comment editor is open
Tarquinen and others added 2 commits November 18, 2026 14:52
The animation review treated every one-frame change as a defect. These
rules start from how often a moment is seen instead: frequent actions,
direct input, content at load and view switches don't animate; layout
moved by something else does; press scale is for buttons; jumps are fixed
with layout first; Reduce Motion keeps a short fade.

They follow Anomaly's motion guide, with Material and the platform's own
motion kept for pages, sheets, menus and dialogs.

Docs only, nothing to run.
Add motion rules to AGENTS.md
@thdxr

thdxr commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

closing, main is retired. releases run from dev now (release.yml), see docs/releasing.md

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

@thdxr thdxr closed this Nov 18, 2026

This branch was previously deployed

1 inactive deployment
release — c615a2cb Deployed Nov 18, 2026 by Tarquinen via check #523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants