Skip to content

Tags

Tags

dev-latest

Toggle dev-latest's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(transcript): keep scroll position stable while streaming when scr…

…olled up

v0.8.16

Toggle v0.8.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(drawer): skip the hold wait when the long-press timeout is 80 ms …

…or less (#355)

Holding a drawer row crashed with "Already resumed" when the platform
long-press timeout was 80 ms or less: the second awaitTouch got a timeout
of 0 or below, and Compose's withTimeout then resumes the pointer awaiter
the first timeout already resumed. The hold wait is now skipped when no
time is left, so the hold starts at the 80 ms press delay.

Verified: reproduced on dev on the emulator with long_press_timeout 80
(same stack as Play's); with the fix a hold selects the row and a tap
opens it, at 80 ms and at the default 400 ms. scripts/check.sh passes.

Fixes #351

v0.8.15

Toggle v0.8.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(core): update OpenMono to 1.001 (#338)

Refreshes openmono_regular.ttf and openmono_bold.ttf from the OpenMono 1.001
app build (build 2026-11-27) with scripts/update-openmono.py.

What 1.001 changes in these files:
- U+2717 (the ballot x) is a cross with two unequal strokes, so it no longer
  reads as a capital X at code size.
- U+26A0 (the warning sign) is as tall as a capital.
- U+10C0DE is new: the OpenCode logo, one colour, one cell wide. The fonts
  have no colour tables.
- U+055F (Armenian abbreviation mark) takes its own cell instead of sitting
  over the letter before it.
Every other glyph is the same as 1.000. The licence text is unchanged.

The refresh script no longer lets U+055F be zero-width, because the font no
longer needs the exception.

Sizes: openmono_regular.ttf 1,126,148 -> 1,126,140 bytes, openmono_bold.ttf
1,109,980 -> 1,109,976 bytes.

Verified: the script passes its checks before and after the script change and
writes the same bytes both times; a glyph-by-glyph comparison with the 1.000
files shows only the four characters above differ; `python3
scripts/translations.py all` passes. Not built locally (this Mac has no JDK or
Android SDK); CI runs scripts/check.sh.

v0.8.14

Toggle v0.8.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(session): dip the background work pill as its popover lands (#336)

The popover slid into its pill and the pill didn't react, so the close
felt stiff. As the last of the popover lands, the pill now dips about
2.5 dp and returns on Motion.microIn. There is no dip under Reduce
Motion, or when the popover is closed before it has risen.

The moment is occasional: it plays when someone closes the popover.

Verified with scripts/check.sh :feature:session and on the VM emulator
against session-lab: close on the pill, pull to close, a quick double
tap and Reduce Motion. The motion check at 5x slow flagged nothing in
open, close on the pill or pull to close.

v0.8.13

Toggle v0.8.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(session): keep the background work capsule's height from going ne…

…gative (#335)

* fix(session): keep the background work capsule's height from going negative

The capsule's height is its place's height minus 5dp top and bottom. A place under 10dp tall made it negative, and the next layout threw IllegalArgumentException from Constraints.fixed. That happens when a short window squeezes the composer's pill row, or when a clip cuts the place. The height now stops at zero.

Fixes #334

* test(session): drop the capsule layout test

The fix is a one-line clamp; the Robolectric test isn't needed.

v0.8.12

Toggle v0.8.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(session): grow the background work popover from its pill and pul…

…l it down to close (#328)

* fix(session): pull the background work popover down to close it

The popover that replaced the background work sheet (#318) dropped drag to
close, so it only closed on a tap outside, the pill or Back.

A pull down on the popover now moves it with the finger, once its list is at
the top. Let go past 56 dp, or past 12 dp and thrown down, it closes;
otherwise it returns on Motion.release. Crossing 56 dp plays Haptic.threshold,
as the sheet did. It is a plain offset on the popover, not iOS's
BackgroundWorkDrag: no rubber band and no scale.

Verified with scripts/check.sh :feature:session and on the emulator against
session-lab's background-work checkpoint: a short pull returns, a long pull
and a flick close, and a list of ten rows scrolls before the popover moves
(a flick that passes its top by 25 px leaves it open, by 45 px closes it).

* feat(session): grow the background work popover out of its pill

The popover opened with a 3% scale and a 6 dp rise, too slight to read as
coming from the pill.

It now scales from 85% about the pill's top leading corner, with the same
fade on Motion.swap, so it grows out of the pill and shrinks back into it.
After a pull down it shrinks into the pill from where the finger left it.
The pill itself stays in place, as on the desktop. Reduce Motion still only
fades. presentRise is gone: the scale about a point below the popover
already gives the rise.

Verified with scripts/check.sh :feature:session and on the emulator against
session-lab, at normal speed and at 6x animation scale: open, close on the
pill, and close after a pull down.

v0.8.11

Toggle v0.8.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(session): show background work as the desktop's popover (#318)

* feat(session): show background work as the desktop's popover

The background work panel was one surface that morphed out of the capsule
over a dimmed screen, with section headers, dividers and a drag to close.
It is now the desktop's popover (activity-chips.tsx): the capsule stays in
place and the panel opens 8 dp above it, with no scrim, headers or
dividers. A tap outside, the capsule or Back closes it.

Rows follow the desktop: the subagent's orb, a code icon for scripts and a
terminal for shells, monospace command titles cut at the end, elapsed time
as 12s / 1m 05s / 1h 02m, and Stop as a stop square in an outlined box
with a spinner while stopping. Rows have no chevron.

The panel fades in with a slight scale and rise on Motion.swap (fade only
under Reduce Motion) and its edge slides when rows change while it is open.

Removed: the capsule-to-panel morph, drag to close, the scrim, hiding the
queued pill and Jump to latest while open, the per-row live shell glyph,
and the three section title strings.

Verified with scripts/check.sh (all modules) and on the emulator against
session-lab in light and dark: open, close by tap outside, capsule and
Back, rows arriving and leaving while open, long titles, shell row opening
its output sheet.

* feat(session): stop a background shell from its row

Shell rows in the background work popover had no Stop; it lived only in
the shell's output sheet. Every row now has one, as on the desktop. A
shell's Stop ends it at once, like a subagent's or a script's; the output
sheet's Stop Shell still asks first. A failed stop says "Couldn’t stop
shell" in the transcript, and a 404 counts as stopped.

With Stop on every row, the room a shell row kept for a missing Stop is
gone.

Verified with scripts/check.sh, two new reducer tests, and on the
emulator: stopping a shell removes its row and the pill's count, and the
popover still opens and closes without dropped frames.

v0.8.10

Toggle v0.8.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(scripts): delete each translation session once it answers (#316)

translate.py starts one `opencode run` session per chunk per language, so adding one
string left 56 sessions behind. They used to be archived, but the server now unarchives a
session when it gets a prompt, so they filled the session list.

Now the script reads the session ID from `--format json` and deletes the session when the
call returns. A failed call's error is still shown, from the JSON output.

Verified with `scripts/translate.py de --redo common_cancel`: one string translated and no
session left in the database, also with a model that doesn't exist.

v0.8.9

Toggle v0.8.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(voice): fit a long call's replay timeline in one view (#315)

Opening a voice call longer than about half an hour in Call History crashed:
the timeline is 40 dp per second, so an hour-long call needed a view wider
than Compose can measure. Long calls now use fewer points per second so the
timeline always fits; shorter calls look the same.

Reproduced on an emulator on dev with an hour-long call log (same stack as
the Play reports); with the fix it opens, seeks and plays. The new test fails
on dev with the same exception. scripts/check.sh passes.

Fixes #312

v0.8.8

Toggle v0.8.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(session): replace a pending photo with its drawn copy (#298)

Draw on Image from a photo already in the composer added the drawn copy
beside the original, so the message carried both. The drawn copy now takes
the original's place: DrawingAdded names the pending photo it was drawn on
and the reducer swaps it in at the same index.

A drawing from the transcript, a file or a video is still added as a new
image. The attachment row scrolls to its end only when a card is added, so
a swapped photo in a long row no longer jumps to the row's start.

iOS (PR #335) keeps both images; docs/parity/session.md notes the
difference.

Verified: scripts/check.sh on the VM; aDrawingOnAPendingPhotoTakesItsPlace
fails when the reducer appends. Emulator: replaced the middle of three
photos, replaced a photo in a scrolling row, drew on a pending video.