mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-23 05:52:02 +00:00
A ZAP runtime has no HTTP. The three questions a client asks before it opens the frame stream are methods 1, 2 and 3 on the same session, answered with the body the Dev server's route returns: the client (packages/client-runtime), the local server (apps/server/src/zap, the same code as the routes) and the wasm adapter (frame.Adapter.Call, Snapshot) all speak them. A call's promise id has bit 30 set so a response says what it answers; the bearer authenticates the stream on whichever envelope carries it, and only the descriptor is public. Co-authored-by: Hanzo Dev <[email protected]>