feat(transport): negotiate bounded automatic message chunking

This commit is contained in:
cabbage committed 2026-11-09 08:50:51 +00:00
1 parent 474afb3484
commit 8acffac985
20 files changed
+1332 -38

No files matched your search

@@ -56,6 +56,15 @@ servers send scripts in 16 KiB chunks, allowing pending uploads to reach older
clients without lowering inbound validation limits. Large inline commands,
stdin, and reconciliation responses still need the updated client reader.
Development builds may negotiate `rvbox.agent.v1.chunked` in the WebSocket
handshake. When both endpoints support it, messages automatically use bounded
16 KiB packets and are reassembled before protocol handling. Old peers retain
the raw format. Logical envelope/spec/chunk limits still apply; chunking does
not authorize larger requests or change stdin/event sequence numbers. Framing
errors close the connection and discard incomplete assemblies; durable replay
uses the existing operation IDs. Check actual deployed capabilities and proxy
subprotocol headers before attributing behavior to this development feature.
## Windows identity, GUI, and shells
`--elevated` is the only execution-context request toggle. Selection and