opencode/packages/cli-rs/script/rust
Simon Klee 34e9ec7d47
test(cli-rs): prove API requests and decoding against the TS client
A P-ORACLE fixture records the requests the TypeScript Promise client builds;
the generated Rust client must build the same ones, and query::append must
match appendQuery. Unit tests cover tagged unions (known, rpc.*, unknown),
literal enums, double options, declared errors, binary bodies, auth, and
the event stream through F.3's SSE reader.
2026-11-04 18:20:48 +01:00
..
methods.ts feat(cli-rs): share one type for equal anonymous API shapes 2026-11-04 18:20:48 +01:00
types.ts test(cli-rs): prove API requests and decoding against the TS client 2026-11-04 18:20:48 +01:00