opencode/packages/protocol
Simon Klee 6dfad0898b
fix(protocol): make Session status and active rootID optional on the wire
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.
2026-11-12 19:10:14 +01:00
..
script fix: tighten openapi copy folding and the sqlite interrupt test (#60794) 2026-10-31 12:26:25 -07:00
src fix(protocol): make Session status and active rootID optional on the wire 2026-11-12 19:10:14 +01:00
test fix: tighten openapi copy folding and the sqlite interrupt test (#60794) 2026-10-31 12:26:25 -07:00
openapi.json fix(protocol): make Session status and active rootID optional on the wire 2026-11-12 19:10:14 +01:00
package.json release: v2.2.7 (#63085) 2026-11-10 04:49:26 -06:00
tsconfig.build.json feat(protocol): publish package 2026-07-01 13:53:09 -04:00
tsconfig.json chore: upgrade typecheck to TypeScript 7.0.2 (#56300) 2026-10-17 13:26:46 -07:00