mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
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. |
||
|---|---|---|
| .. | ||
| perf | ||
| script | ||
| src | ||
| test | ||
| bunfig.toml | ||
| drizzle.config.ts | ||
| package.json | ||
| README.md | ||
| schema.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsconfig.tests.json | ||
@opencode/core
Core runtime services for OpenCode.