Generate the proxy wire types with ts-rs (@yaakapp-internal/send-proxy)

This commit is contained in:
Gregory Schier
2026-08-17 08:43:59 -07:00
parent 8e466fc1a0
commit d4007d3499
13 changed files with 166 additions and 62 deletions
+5
View File
@@ -121,6 +121,11 @@ construction, cancellable by closing the connection, readable with `curl`, and
needs no upgrade handling on either side. A WebSocket only earns its keep when
traffic is bidirectional, which a single send is not.
The TypeScript side of this contract is generated from `src/wire.rs` by ts-rs
into `bindings/` (run `cargo test -p yaak-send-proxy` after changing a frame)
and published to the tab as `@yaakapp-internal/send-proxy`, so a change to the
wire on one side is a type error on the other.
`GET /v1/health` reports the version and the effective limits.
## What comes later