mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
A client from this branch talking to an older server receives Sessions without status and /session/active entries without rootID. The Promise client never checks, but the Effect client decodes responses, so it rejected every Session from such a server. Both fields are now optional on the wire. Servers with this change always send them; a missing value means the server predates them, not that the Session is idle. The client data layer then keeps the status it derives from /session/active and execution events instead of inventing one. |
||
|---|---|---|
| .. | ||
| script | ||
| src | ||
| test | ||
| AGENTS.md | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||