opencode/packages/core
Simon Klee dccc014c3a
fix(client): close gaps found reviewing the Session family work
Learn the family route's absence per connection where the data layer
already invalidates on disconnect. server.connected is delivered after
the connection reports connected, so route effects started family reads
before the old reset and kept using the fallback after reconnecting to
an upgraded server.

Key family membership by the client's own root. The server roots a
family whose top names a missing parent at the top, while resolveRoot
walks to the missing ID, so such a family read showed no members and
dropped its journaled events.

A fallback read invalidated in flight no longer starts member reads that
could complete with pre-reconnect data. Metadata updates and permission
replies now go through the journal, so an in-flight read cannot undo
them, and metadata updates raise time.updated like the projector does.

Test fixtures drop status values that were only needed while status was
required, and the TUI fixture's family route now roots orphan families
and forwards failed sub-reads as the real server does. The spec states
what is implemented and what is still to do.
2026-11-12 19:10:14 +01:00
..
perf feat(server): let embedders supply the fetch for OpenCode's HTTP and MCP requests (#61582) 2026-11-04 04:13:45 -06:00
script refactor: run every benchmark with strobe (#60880) 2026-11-03 20:05:16 -06:00
src fix(client): close gaps found reviewing the Session family work 2026-11-12 19:10:14 +01:00
test feat(server): name each running Session's family root in /session/active 2026-11-12 19:10:13 +01:00
bunfig.toml refactor(core): simplify integration test fixtures (#33292) 2026-06-22 04:15:34 +00:00
drizzle.config.ts refactor(core): move database schema ownership (#29068) 2026-05-30 21:08:38 -04:00
package.json feat(core): run local Windows shell commands in the process daemon (#63409) 2026-11-11 18:32:15 -05:00
README.md refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
schema.json refactor(core): store background job markers in a SQLite job table (#60491) 2026-10-30 07:50:16 -07:00
tsconfig.build.json feat(core): configure package publishing 2026-08-12 09:30:34 -04:00
tsconfig.json chore: upgrade typecheck to TypeScript 7.0.2 (#56300) 2026-10-17 13:26:46 -07:00
tsconfig.tests.json refactor: run every benchmark with strobe (#60880) 2026-11-03 20:05:16 -06:00

@opencode/core

Core runtime services for OpenCode.