Skip to content

Merge dev into main - #54

Merged
Tarquinen merged 69 commits into
mainfrom
dev
Nov 12, 2026
Merged

Tarquinen merged 69 commits into
mainfrom
dev

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Releases everything on dev since 0.6.4.

Fixes

  • Pairing QR codes from the dark desktop theme scan from farther away, and a pair --url code sticks to the address it names
  • Android 17 asks for local network access, so servers on your Wi‑Fi connect again
  • The composer no longer sits on the screen edge on phones with no nav bar gap
  • Floating call: no freeze while captions stream, no crash on long words, back steps the card down, smoother dragging, fits in landscape and at large font sizes
  • Opening a session mid-reply shows the reply from its first word (thanks @jlongster)

New

  • Settings rows are cleaner: titles only, dropdowns show their value, "On" badges, shorter text
  • Session list: hold a session to select several and mark them read, archive or delete them together. Inbox Sidebar rows no longer swipe
  • Archived: a row under Catch Up opens a searchable Archived page where you can unarchive sessions
  • Pages that fit on screen no longer stretch when dragged

Behind the scenes

  • Code cleanups with no visible change
  • Play uploads wait instead of cancelling a review in progress
  • CI checks dev, release docs updated, a flaky test fixed, main synced into dev

PRs: #30, #32, #34, #35, #37, #38, #39, #40, #41, #42, #43, #45, #46, #48, #49, #50, #51, #52, #53, #55, #56

Tarquinen and others added 30 commits November 10, 2026 20:12
Feature work now goes through PRs into dev, and dev is merged into main
(production) for release. android.yml already checks every PR; this adds
dev to the push branches so merges into dev run scripts/check.sh too.
Nothing releases from dev: the publish job is main-only, and the release
bundle and Play jobs only run on v* tags. The Gradle cache is still written
only from main.

docs/releasing.md and AGENTS.md now describe the branch flow instead of
committing on main.

Verified: workflow YAML parses; read through every job condition for a
refs/heads/dev push.
CI: check pushes to dev; document the dev branch flow
Dan has Ryan's go-ahead to merge dev into main and release; the agent rules
and releasing doc no longer say to wait for Ryan.
Docs: drop the 'only when Ryan asks' release gate
OpenCode Desktop draws its pairing QR light-on-dark in the dark theme
(#63150). ZXing's ALSO_INVERTED flips the binarized frame, so the dark
page's quiet zone, which HybridBinarizer reads as white, turns black and
small codes are missed. A frame with no code found is now read again with
its luminance inverted before binarizing (a plain QR reader on
luminance.invert()); the first pass is unchanged, so nothing that read
before stops reading.

Verified with a throwaway ZXing 3.5.4 harness (not committed): QRs made by
OpenCode's own encoder (Desktop light/dark, `opencode pair` multi-URL and
--url in dark/light terminals with and without line gaps, TUI link),
rendered into Y-plane frames at 8 sizes x 6 conditions (blur, noise, low
contrast, 0-12 degree tilt). Smallest size, as a share of the 1080-pixel
frame side, that reads in at least 5 of 6 conditions, at 1440x1080:

  Desktop dark:          0.35 -> 0.30 (Desktop light: 0.30)
                         decodes 20 -> 26 of 48 (light: 27)
  pair --url, dark page: 0.50 -> 0.30 (light: 0.25)
  pair multi-URL, dark:  never -> 0.50 (light: 0.50)
  light terminal, TUI:   0.35 -> 0.21; pair --url 0.50 -> 0.30
  every other case:      unchanged; no case decodes fewer frames

For an 8 cm code and a ~50 degree field across the short side, 0.35 is
about 25 cm away and 0.30 about 29 cm. All frames: 343 -> 370 of 720 at
1440x1080, 160 -> 179 at 640x480; no false positives on blank frames.
Inverting the source alone (dropping ALSO_INVERTED) lost light-terminal
frames, so both passes stay. Cost on the laptop JVM at 1440x1080: 18 ->
32 ms for a frame with no code, 11 -> 17 ms with one; analysis keeps only
the latest frame, so a slower frame drops frames rather than queueing.

scripts/check.sh :feature:settings passes on the VM.
…ports

A code from `opencode pair --url https://x.tailnet.ts.net` kept connecting
over the server's OpenTunnel address (#62901). Redemption added every
address `/api/info` reports to the saved server, and the address race
starts every address at once, so whichever answered first won, often the
tunnel. Deleting the server didn't help: pairing again reported the
tunnel again.

Now redemption also saves the code's own addresses (the redeemed origin
first) as `OpenCodeServer.preferredURLs`; reported addresses stay in
`alternateURLs` as fallbacks, since the desktop's QR carries only the
tunnel. `ServerLinkStore.race` starts `firstAttemptURLs` at once and the
rest after `preferredHeadStart` (1.5 s) or as soon as every first
address has failed. A code that names only relayed addresses (the
desktop's and `pair --remote`'s tunnel) doesn't hold the server's LAN
and tailnet addresses back, so those still win at home as before.

`preferredURLs` defaults to empty and isn't part of `persistenceID`, so
servers saved before this decode unchanged, keep their identity and race
every address at once as before. Editing a server's address clears it.

This differs from iOS until iOS makes the same change (parity rows say
so).

Verified: scripts/check.sh :server :app (VM) passes, with new
ServerLinkTests (paired address wins over a faster reported one; others
join after the head start; others start at once when every paired one
fails; tunnel-only code still lets LAN win; stale or all-preferred lists
race as before; the preference persists and old saved JSON still loads)
and an AppFeatureTests wire test of the redemption's saved addresses.
A code with an address the app can't use (for example `opencode pair
--url https://box.example/opencode` behind a reverse proxy at a path)
was reported as "That isn’t an OpenCode pairing code", which sent people
looking for the wrong problem. Now it reads “Couldn’t use “<address>”
from this pairing code: it has a path, and the server must be at the
root of its address.” (also: not http(s), no host, a user name or
password, a query or fragment, a port outside 1–65535). The shown
address drops any user name, password, query or fragment and is capped
at 80 characters.

One bad address still rejects the whole code, as on iOS: skipping it
would pair over a different address than the one the person asked for,
the same surprise as #62901, and the server never lists a bad address
itself, so a bad one means the `--url` needs fixing.

Verified: scripts/check.sh :server :app (VM) passes, with new tests for
the decoder (`anUnusableAddressInAPairingCodeIsNamedWithoutItsSecrets`)
and the scan error (`aPairingCodeWithAnUnusableAddressSaysWhichAndWhy`).
The scanner's caption and its no-camera, camera-off and nothing-to-paste
messages only named `opencode pair --remote`. The desktop's Settings ›
Pairing page and plain `opencode pair` (with or without --url) show codes
the scanner reads just as well, so people pairing over the LAN or a tailnet
were steered to the tunnel. The caption now reads “On your computer, open
OpenCode’s Settings → Pairing, or run opencode pair in a terminal.”, close
to the connection screen's existing hint, and the fallbacks say
`opencode pair`.

This differs from iOS's PairingScanner.swift copy until iOS changes;
noted in docs/parity/settings.md.

Verified: vm.sh check :feature:settings (assemble, lint, unit tests) passed.
The batcher can see the start before the selected detail exists. Carry the complete same-connection text with its delta so history and the next flush converge on one row. Preserve the reconnect guard when the start is unknown.

Verified the Kotlin batcher, decoding and session resume suites (29 tests) and 223 Statecheck checkpoints against the Kotlin reducers.

User decisions:
- Bring the streaming-prefix fix to Android.
- Check late opens, history races, reconnect gaps and duplicate rows.
The transcript's reveal loop read `latestReveal`, a rememberUpdatedState
copy that only refreshes on recomposition. When words arrived after a
pause, every word was due at once, so the loop revealed without ever
suspending; the copy never changed, `nextRevealDelay` never returned null,
and the main thread spun until Android raised an ANR. The live build's
ANR reports show the same loop.

The loop now reads `reveal` itself. Same edit as feat/assistant (PR 31)
makes, so the two merge cleanly.

Verified: FloatingCallTranscriptTests.captionsAfterAPauseAreRevealedWithoutHanging
passes in 0.3 s, and hangs (killed after 240 s) with the old loop restored.
The caption word flow measured a word with no width limit, then measured
it again capped at the line when it was too wide. Compose forbids measuring
the same child twice, so a word wider than the line (a long path or link
read out by the agent) threw "measure() may not be called multiple times"
and crashed the app when the card opened.

Each word is now measured once with the line width as its limit, so a word
that fits is unchanged and an overlong one wraps within its own row.

Verified: FloatingCallTranscriptTests.aWordWiderThanTheLineWrapsInItsOwnRow
passes, and fails with that IllegalStateException on the old flow.
Back did nothing to the grown call: it went to whatever was under it
(the drawer, then out of the app) with the card still up. A
PredictiveBackHandler on the surface now steps one stage down, as
TalkBack's dismiss does (full -> card -> orb); a predictive back pulls
the shape down up to 56 dp as the gesture moves and springs back if it's
cancelled. At the orb back goes to the app as before. feature/voice now
depends on activity-compose (already in the catalog) for the handler.

Verified on the emulator (FX_1, scripted demo call): full -> back ->
card -> back -> orb -> back opens the drawer.
Back out of the app with a call live finished the activity: the root
store closed, but the call's foreground service kept running with no orb
or card on return, only the notification could end it, and a second call
could be started beside it. With a call live, a back the app doesn't
handle itself now moves the task to the back instead (as Home does); the
callback is added before the content, so the app's own back handling
(card, drawer, sheets) still comes first.

Verified on the emulator: back from the drawer with a call live goes to
the launcher; relaunching shows the same call's orb.
Dragging the card or sheet recomposed the whole floating call surface on
every frame: the frame, a new RoundedCornerShape, shadow, backing, the
bloom's config copy and the stage content's size were all read in
composition, and every child was placed with offset + size. Past the
card the content was laid out on the visible part of the sheet, so the
transcript re-measured and re-wrapped every word each frame.

Now the per-frame values live in FloatingCallSurfaceLook and are read
only while laying out and drawing: Modifier.placed { } lambdas, one
Shape whose outline reads the frame, dropShadow/graphicsLayer/drawBehind
lambdas, LivingOrbView(bloom = { }) read in its frame loop, and
FloatingCallStageContent takes its layout as a lambda measured by a
custom Layout. Composition reads only derived flags (content mounted,
interactive, face/bloom hidden, touch kind). The transcript keeps the
card's line width in both stages, so it never re-wraps while dragging.
A drag the system cancels (or whose pointer goes away) now still
settles on a stage instead of leaving the card where it was.

Verified on the VM emulator (FX_1, same gesture script, 3 runs each of
slow and fling drags up and down): temporary counters showed surface
recompositions per drag frame drop from 0.22-0.44 to 0.05-0.08, and
transcript recompositions and word-flow layouts from 0.2-1.0 to 0;
UI-thread p90 per frame fell 20-35% (e.g. slow-up 60.5 -> 47.1 ms,
fling-up 51.4 -> 33.7 ms, software renderer). Screenshots and a screen
recording show the card, sheet, mid-drag text at a stable width,
grabbing the card mid-flight, minimise and reopen.
scripts/check.sh :feature:voice :feature:session passes.
User decisions:
- Implement the Android streaming review fixes on PR 35.
User decisions:
- Implement the Android streaming review fixes on PR 35.
The transcript column hangs from the bottom, so each wrapped word or new
line moved everything above it up a whole line in one frame. It now
starts where it was and eases up over 0.3 s while the word fades in
(iOS: "the column glides when it wraps"). The rise is a draw-phase
translation read from the reveal's frame clock, so it adds no
recomposition; it's off under Reduce Motion and never glides a trim.

A line revised under its own ID (a delegator progress step, a
correction) used to un-reveal every changed word, blinking them out and
typing them again. It now keeps each shown word's slot and swaps the
text in place. Lines that settle under a new ID keep iOS's
unchanged-prefix rule (settlingUnderANewIDInheritsByPosition).

Verified: scripts/check.sh :feature:voice (new
aRevisedLineSwapsItsShownWordsInPlace); screen recording of the lab
demo call on the emulator shows the block rising over several frames
instead of jumping.
In landscape the card is shorter than its bloom plus the chrome below it,
so the controls overlapped the orb and the status was cut off. The card's
and sheet's blooms are now fitted to the height on screen: shrunk and
raised when the status, transcript and controls wouldn't fit below.

At font scale 2.0 the header was measured at a fixed 48 dp, which clipped
the session title, and the status and transcript sat at fixed offsets.
The header now grows for large text, and the details, status and
transcript each sit below the measured line above them. Normal font sizes
lay out exactly as before.

Verified on the emulator (FX_1): landscape card and sheet no longer
overlap (Z-R01, Z-R02); font scale 2.0 sheet and card show the full
title row and stacked status and transcript (Z-F02, Z-F03).
The mute badge sits over the orb's top-trailing rim, as on iOS, but the
shape's clip cut off its outer half. The shape's own layers (backing,
bloom, face, card content, rim) are now clipped in their own layer, and
the orb's controls and the call button's look ride above it, unclipped,
like iOS's controls layer. Gestures stay on the shape.

The card's controls drew their ripple across the whole share of the
row, so End showed a grey square around its red plate. The press now
shows on the plate only, and the capsule End's on its circle; the touch
target is unchanged.

Verified on the emulator (FX_1): muted orb shows the whole badge
(Z-C01-zoom); a held End press shows no square highlight (Z-E01-zoom);
the orb still drags to an edge and opens the card from there (Z-C02,
Z-C03).
User decisions:
- Implement the Android streaming fixes on PR 35.
- The card and sheet used iOS's device-corner radii (36 and 38 dp); they
  now take the design system's sheet radius (OpenCodeRadius.sheet, 16 dp).
  The ported radii test checks the new value.
- The card wore two shadows: the orb's elevation shadow and the card's
  drop shadow. The elevation now fades out as the drop shadow comes in,
  so each stage has one shadow, like iOS's single .shadow.
- TalkBack offered "Expand" on the full sheet, where it does nothing; it
  is now offered only below the sheet. The duration's state was the raw
  "1:05", which TalkBack reads as a time of day; it now says "1 minute,
  5 seconds".

Haptics were checked against iOS's FloatingCallStageFeature and already
match (tap, threshold, snap; minimize and step back stay quiet), so they
are unchanged.

Verified: scripts/check.sh :feature:voice passes; emulator (FX_1) card,
sheet and light-mode orb (Z-S-strip).
Floating call: smoother card, no caption freeze or crash
Fix pairing with dark desktop codes and with a QR's own address
HyperOS with the gesture hint hidden (anomalyco/opencode#63019) reports a
0 navigation-bar inset, and the composer's only bottom spacing was that
inset (bottomGap is 0, as on iOS, where the 34 pt home-indicator safe area
always sits under it), so the closed composer sat flush on the edge.

- :core ContainerInsets.kt: WindowInsets.bottomSafeArea, the navigation
  bar's bottom inset but at least 8 dp (MinimumBottomSafeArea).
- SessionView rests the composer column on it instead of
  navigationBarsPadding(); RequestPanelRoomProbe, SessionTranscriptView's
  bottom obstruction, SessionViewPhotoSheet and ComposerMorphPhotoSheet
  read the same floor, and ComposerKeyboardProgress measures the keys
  above it, so nothing placed against the composer drifts by the floor.
- ComposerKeyboardProgress: keys resting up on their target are fully up
  whatever an older animation source says, so the 8 dp keyboardGap stays
  whole instead of shrinking (the reported 1-2 dp gap above the keys).
  The ramp while the keys move is unchanged.

Gesture (24 dp) and three-button (48 dp) navigation are above the floor,
so they don't move. The Android-only floor is noted in the session and
composer parity rows.

Verified: vm.sh check (all modules) passes, with a new
ComposerKeyboardProgressTests case for the stale source. On the Pixel 8
emulator, before/after screenshots with the keyboard closed and open:
gesture and three-button navigation are pixel-identical below the status
bar; with the navigation bar hidden (a temporary, uncommitted
MainActivity experiment) the closed composer moves from flush to 8 dp off
the edge and the open gap stays 8 dp. Frame-by-frame recordings of the
keyboard opening and closing show the composer moving monotonically, with
no jumps.
…rver

Android 17 blocks apps targeting SDK 37 from the local network until they
hold ACCESS_LOCAL_NETWORK (Nearby devices). The app never declared it, so
every LAN connect or pairing silently timed out (anomalyco/opencode#62934).

Now the permission is declared, and connecting or pairing to a server the
existing route classifier calls Local Network asks first, the way iOS shows
its own prompt on the first LAN connection. A failure while access is off
says why, with Open Settings, instead of the bare timeout. Home's Try Again
asks again, else opens Settings. Below SDK 37 nothing changes.

Verified: vm.sh check :server :feature:drawer :app. On an API 37 emulator
against session-lab at 10.0.2.2: first connect shows the dialog and Allow
connects; Don't allow shows the copy with Open Settings, which opens App
info; allowing there and connecting again works; pairing via a deep link
shows the dialog and a denial shows the copy; a restored Home after a
revoke asks on Try Again (or opens Settings when Android won't ask) and
reconnects once allowed. On an API 36 slot: no dialog, connects as before.
Drop the keyboard-progress change and its test: the stale-source case
was never reproduced, and on dev the open-keyboard gap is already 8 dp
with a 0 navigation bar. Drop the floor in ComposerMorphPhotoSheet,
which nothing calls, and in the keyboard progress, where it changed
nothing visible. Move bottomSafeArea from :core into SessionView.kt,
its only module, and shorten the parity note.

Verified: vm.sh check :feature:session. On an emulator, dev vs this
branch: gesture and 3-button nav are pixel-identical below the status
bar (keys up and down); with the nav bar hidden (temporary
MainActivity hide, not committed) the closed composer moves up 21 px =
8 dp off the edge and the open-keyboard gap is unchanged.
Settings pages, the voice call log and the pasted-text viewer stretched and collapsed their
large title on a drag even when everything fit on screen. Now the title only collapses and the
stretch only shows when the list can actually scroll.
No behaviour change.

- ServerLinkStore.race starts every address at once again; addresses
  outside firstAttemptURLs wait on one gate that opens after
  preferredHeadStart or once every first address has failed. This
  replaces the null-sentinel channel, the head-start job and the two
  copies of the "start the rest" block.
- OpenCodeServer.preferredCandidateURLs folded into firstAttemptURLs.
  Its "every address preferred" case already gave every address.
- Pairing redemption no longer puts the redeemed origin first in
  preferredURLs: it is already one of the code's addresses, and
  preferredURLs is only used as a set.
- OpenCodePairingLink's Listed class dropped; Payload has the same
  fields.
- Parity rows for #34 shortened.

Verified: check :feature:settings :server :app on the VM (all pass).
Emulator: session-lab behind two pairing proxies (A, the code's address,
400 ms late; B, reported, at once). Paired by a pair link naming only A:
all traffic to A; relaunch stays on A; A stopped -> B; A restarted -> A.
Ask for Android 17 local network access before connecting to a LAN server
…acks

FloatingCallSurfaceLook (added in #37) kept geometry and restArea as nullable state with a
fallback in every reader, but the surface always sets both before anything reads them. They
now come in through the constructor and are non-null, so the nine fallbacks go. The per-terminal
map of derivedStateOf for the touch kind becomes a plain function wrapped in one
remember(look, terminal) { derivedStateOf { } } at the call site.

No behaviour change. Verified: scripts/check.sh :feature:voice :feature:session :app on the
VM; on an emulator with the lab demo call, the card opens mid-stream with captions, drags up
to full, back steps full -> card -> orb -> app back, the orb drags and throws, tap opens it,
drag down returns it, rotation to landscape and back.
Tarquinen and others added 16 commits November 11, 2026 20:47
ci(play): refuse uploads while Google is reviewing earlier changes
… back

The Experimental page mixed rows with and without a caption; drop
every experiment summary (and SettingsToggleRow's summary parameter)
so rows are titles only. All Experiments' text goes back to dev's
footer under the card instead of a line above it.

ExperimentalFeatureTests.everyExperimentHasACopyForSettings (ported
from iOS) now checks titles only; the divergence is noted in
docs/parity/core.md and settings.md.

Verified: vm.sh check :core :feature:settings; emulator shots of
Experimental in light and dark.
The streamed-prefix fix is now the iOS change and nothing more: the
batcher attaches a part's accumulated text, the reducer adopts it, live
rows are marked in progress, and reads keep unfinished rows while a
session runs.

Removed (no counterpart in iOS #323, and not needed for the bug):
- settlingText: a REST text row no longer settles the part. The lab
  serves unfinished text over REST, so opening mid-reply froze the row
  until TextEnded.
- the settled-row checks in TextStarted/TextDelta/TextEnded, and the
  liveText re-apply loops in applyAuthoritative and
  applyAuthoritativeMessage are back as iOS has them.
- SessionFeatureHistory's earlier-history reconciliation.
- mergeTranscript's dropping of in-progress rows, its new default, and
  the AssistantMarkdown exclusion from projected-message protection.
- selectedTranscriptFetch in streamFocusSessionIDs.
- the batcher's Dispatchers.Default scope (onOverflow stays: it is
  iOS's finish(throwing:)).

Tests follow iOS #323: the raced-TextEnded test in
SessionRefreshReviewTests is restored to the iOS assertion; streaming
rows expect inProgress where iOS does; ported
openingMidReplyProjectsThePrefixIncludingShedDeltas,
cachedReplySurvivesAnOmittingOpenReadBeforeItsFirstDelta,
offscreenHistoryRefreshKeepsTheUnfinishedReplyForReopening and the
batcher half of openingAfterAnOffscreenFlushShowsThePrefixFromTheQueuedBatch
(replacing the Android-only shed-prefix test). The Android-only read-path
tests are dropped with the code they covered. Parity rows updated.

Verified: scripts/check.sh :server :feature:session :feature:drawer
passes on the Android VM, and the 7 new or ported tests ran.
Preserve the reply prefix when opening a streaming session
Cuts lines that repeat the title or state the obvious (the Ctrl+Enter and
Default Agent lines, the Theme header, the root's "Unfinished features"
footer, "Applies to your next call.", the Models and Notifications
footers that restate their rows) and shortens the rest: All Experiments,
Delegator captions, notification relay and plugin footers, Voice Provider,
Call History. "Your Account" is now "API Key" and Call History's title
matches its row. Copy only; parity rows note the divergences.

Verified: vm.sh check :core :feature:settings :feature:voice :devtools;
dev | new screenshots on the emulator.
Drops the captions under Built-in, OpenCode Session, Automatic, Viewed
Session and the other-server pick, so the Delegator page matches the rest
of Settings. Session folders under Pick a Session stay, as they tell
sessions apart. Parity row notes the divergence.

Verified: vm.sh check :feature:settings; dev | new emulator screenshot.
The mode and Session Target sections each get a footer naming what
their choices do, as the rest of Settings explains things below a card
rather than inside its rows. Rows stay titles only.

Verified: vm.sh check :feature:settings; dev | new emulator screenshot.
Inbox Sidebar rows (Experimental) swiped left to archive, but the panel
opens from the left, so a left swipe should close it. The rows now take
the regular drawer rows' long-press menu (Open in New Window, Mark as
Read when unread, Mute, Archive, Delete; also TalkBack actions), and a
sideways swipe on them moves the drawer. ArchiveSwiped is renamed
ArchiveTapped; its error handling is unchanged.

Removes the now-unused rowsOwnSwipes/drawerPanRow plumbing and its
ported test (Android rows don't own swipes); parity rows note the
divergence.

Verified: scripts/check.sh :feature:drawer; on the emulator with
session-lab, a left swipe on a row closes the drawer, the menu's Mark
as Read and Archive work, and a failed archive shows its error.
Archived sessions couldn't be recovered on Android. With the Inbox
Sidebar on (Experimental), a collapsed "Archived" row now ends the list
whenever the server has archived sessions. Expanded, it shows them
muted; a tap opens one, and holding it offers Unarchive, which brings it
back to the list ("Couldn't unarchive ..." on failure).

Adds OpenCodeClient.archivedSessions (GET /api/session?archived=true,
50 newest roots, as desktop) and unarchiveSession (PATCH
{archived:false}). iOS has no unarchive; the parity rows note the
divergence.

Verified: scripts/check.sh :server :feature:drawer; on the emulator
with session-lab (plus archive support), archive, expand Archived, open
an archived session, and Unarchive.
fix(drawer): inbox rows open a menu on long press instead of swiping
OkHttp still runs application interceptors for a call cancelled before its
dispatcher thread picked it up. When a family load failed, the cancelled
sibling request could reach TestNetworkBlock after the test closed its
fixture, so it was reported as an unmocked request and
propagatesHTTPFailuresFromEveryRequiredEndpoint failed now and then. A
cancelled call never reaches the network, so the block now just fails it.

Verified on the VM: the test repeated in-process failed 6/1000 and 267/5000
times before, 0/5000 and 0/20000 after; scripts/check.sh :server passes.
test(server): don't report cancelled calls as unmocked network
feat(drawer): restore archived sessions from the inbox
ui(settings): end choice rows in a value and chevron, page rows in nothing
Tarquinen and others added 5 commits November 12, 2026 01:48
Holding a drawer row now starts selection mode, in the regular list and
the Inbox Sidebar, instead of opening a popup menu. The header becomes a
bar with Cancel, "N Selected", Mark as Read/Unread, Archive and Delete,
and an overflow with Mute, Pin and Open in New Window (one session).
Delete asks first ("Delete N Sessions?" for several). Back, the X or
closing the drawer ends it. Archive is now in the regular list too, and
its error shows where a failed delete does.

The regular rows' and inbox rows' hold menus are removed; only the Inbox
Sidebar's Archived rows keep one (Unarchive) until the Archived page
replaces that section.

Verified: vm.sh check :feature:drawer; on the emulator (light and dark)
selecting three and archiving in both lists, deleting three with the
confirmation, back and X ending selection, a left swipe on a row still
closing the drawer.
Archived sessions now live on their own page instead of a collapsed
section at the bottom of the Inbox Sidebar, which meant scrolling past
every session to reach it. An "Archived" row with its count sits under
Catch Up in both the regular list and the Inbox Sidebar while the server
has archived sessions. It opens a page with a back arrow, Search Archived
(searched on the server, as desktop does) and the archived sessions,
muted. Tapping one opens it; holding one selects it, and the bar offers
Unarchive and Delete.

The row menu machinery in DrawerRowInteraction is gone: no row opens a
menu any more.

Verified: vm.sh check :server :feature:drawer; on the emulator in light
and dark with an archive-aware session-lab: archive from the bar, the
Archived row and count, search narrowing on the server, Unarchive
bringing the session back, Delete of two from the page, back closing
the page.
Holding a row now eases the drawer into selection instead of snapping:
the title and search rise out as the selection bar rises in, the held
row's check pops in and the other rows' checks follow in a quick wave out
from it (one stagger step per row away, capped), the chosen tint fades,
and the count rolls. Leaving plays it back, quicker. Motion uses the
MotionRole springs, so Remove animations swaps without movement.

Verified: scripts/check.sh :feature:drawer (vm.sh check); on the emulator
in the normal list and the Inbox Sidebar, light and dark, entering by
hold, choosing and dropping rows, leaving by the close button; and once
with Remove animations on.
# Conflicts:
#	feature/drawer/src/main/kotlin/ai/opencode/feature/drawer/HomeViewDrawer.kt
#	feature/drawer/src/main/kotlin/ai/opencode/feature/drawer/list/InboxSidebarList.kt
feat(drawer): long-press a session to select it
Tarquinen and others added 3 commits November 12, 2026 11:04
Every row on the Archived page is archived, so drawing them at half
alpha said nothing and washed out the text and selection checks. The
archived flag and alpha it fed are now unused, so they're gone.

Verified: vm.sh check :feature:drawer; Archived page with a selection on
the emulator in light and dark.
The Archived page used to swap in with no motion. It now slides in from the
right while the list slides a little left and fades (Material's shared axis X),
and back reverses it. A predictive back drag shrinks the page toward 90% with
the finger; letting go early settles it back. Reduce motion leaves plain fades.

Verified: vm.sh check :feature:drawer; on the emulator, regular list and Inbox
Sidebar in light and dark: open, scroll, quick back, a slow back drag let go
early and one carried through.
feat(drawer): an Archived page under Catch Up
@Tarquinen
Tarquinen merged commit f35e178 into main Nov 12, 2026
6 checks passed

This branch was previously deployed

1 inactive deployment
release — 0eaf3081 Deployed Nov 12, 2026 by Tarquinen via check #174
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