opencode/packages/cli-rs/script/rust
Simon Klee ce0c29bcd7
fix(cli-rs): write whole numbers as integers in request bodies
The generated types use f64 for protocol numbers that are not integer
schemas, and serde writes a whole f64 as 3.0 where JSON.stringify writes
3. The generator now puts a serialize_with helper on every f64 field,
alias and union member, so request bodies match the TypeScript client
byte for byte. The F.2 oracle covers mention offsets and form answers.
2026-11-04 20:58:23 +01:00
..
methods.ts chore(cli-rs): format the API generator and type the oracle's fetch 2026-11-04 18:20:48 +01:00
types.ts fix(cli-rs): write whole numbers as integers in request bodies 2026-11-04 20:58:23 +01:00