opencode/packages/schema
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 ci: separate release builds from signing and publishing (#59046) 2026-10-26 14:21:29 -04:00
src fix(protocol): make Session status and active rootID optional on the wire 2026-11-12 19:10:14 +01:00
test feat(core): report Session execution status on Session.Info 2026-11-12 19:10:13 +01:00
AGENTS.md docs: trim agent instructions (#54678) 2026-10-11 22:32:18 -05:00
package.json release: v2.2.7 (#63085) 2026-11-10 04:49:26 -06:00
tsconfig.build.json feat(schema): publish package 2026-07-01 13:33:59 -04:00
tsconfig.json chore: upgrade typecheck to TypeScript 7.0.2 (#56300) 2026-10-17 13:26:46 -07:00