opencode/packages
Luke Parker a7a16d712f fix(app): keep the words the reader is on in place when rows change under them
What the reader is on is the content at the reading line: a text position,
taken when their scroll comes to rest. A change in a row before it moves the
scroll offset, a change after it does not, and its own row moves the offset
by how far the new layout moved it. This replaces the share of a row's
height, which moved a code line 121 px when the prose under it wrapped
again. It holds for a panel, a narrow window, another font, late content
and a reply that streams.

It is taken once for each rest, after the next frame has rendered, so the
look forces no layout, and at a press or a key that neither scrolls nor
types when there is none. A view that follows its end takes none. It is
read only from a row whose height the list has applied: a row that changed
after its last measurement has its content where the list has not put it
yet.

Only rows the reader has seen hold still for a row that has not rendered
yet. Under a reader who rests where they scrolled, a row that waits for
content does not get shorter than the size the list has for it, and is
measured again when its marker changes.

Below 768px a bar opens above the timeline and the space above the first
row gets shorter. The rows keep their place on the screen.

A batch resizes the rows that grow first: TanStack stops the offset it
believes at the start of the list, and rows that got shorter first ran
into that stop.

A revealed tool call lets go when the reader's movement adds up, with its
sign, to more than a zoomed range rounds.
2026-11-25 12:04:17 +10:00
..
ai refactor(ai): decide freeform formats in the AI package from the model's capabilities (#65898) 2026-11-24 00:19:14 +00:00
app fix(app): keep the words the reader is on in place when rows change under them 2026-11-25 12:04:17 +10:00
cli release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
cli-rs fix(tui): revert to default theme when theme is removed from config (#65925) 2026-11-23 15:45:21 -08:00
client feat(core): add agent instructions and use them for Plan mode (#63669) 2026-11-23 23:18:25 -06:00
codemode chore(codemode): bump psychoscript to 0.3.0 (#65990) 2026-11-23 23:37:47 -06:00
core fix(core): let plugins create automations during setup (#65987) 2026-11-24 09:24:38 +00:00
data release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
desktop release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
effect-drizzle-sqlite/examples/migrations/20240101000000_create_users chore: move the data site off sst 2026-11-10 22:46:25 -05:00
gui-plugins feat(app): move the file tree to the right from its context menu (#66012) 2026-11-24 07:13:36 +00:00
http-recorder release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
httpapi-codegen release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
identity
latex release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
merman release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
nav-menus release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
patchmark release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
plugin fix(plugin): reject aborted Promise plugin calls with the signal's reason (#66041) 2026-11-24 09:22:12 +00:00
plugin-browser release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
plugins release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
process-daemon fix(process-daemon): keep listing terminals while one is terminated (#65123) 2026-11-20 10:37:32 +01:00
protocol feat(core): generate the opencode skill's API reference from openapi.json (#65836) 2026-11-24 06:49:21 +00:00
schema feat(core): add agent instructions and use them for Plan mode (#63669) 2026-11-23 23:18:25 -06:00
script chore: move the data site off sst 2026-11-10 22:46:25 -05:00
sdk fix(core): let plugins create automations during setup (#65987) 2026-11-24 09:24:38 +00:00
server feat(core): check opencode:// fetch as the opencode api command (#65931) 2026-11-24 00:05:13 -06:00
session-ui fix(app): keep the reader's place when rows render late or wrap again 2026-11-25 03:11:13 +10:00
simulation refactor(core): introduce Permission.Policy algebra for rule composition (#65907) 2026-11-24 00:37:35 +00:00
stories feat(app): move the file tree to the right from its context menu (#66012) 2026-11-24 07:13:36 +00:00
theme release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00
tui fix(tui,app): keep variants saved for a model speed (#65982) 2026-11-24 09:03:18 +00:00
ui fix(app): stop following when the reader scrolls up by any input 2026-11-25 02:46:51 +10:00
util release: v2.4.1 (#65848) 2026-11-23 11:33:25 -06:00