mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 16:02:50 +00:00
Replace the 1,202-line rpc-client.ts closure with main's DirectRpcClient decomposition (12 restored modules) and re-apply the branch's 33-hunk delta onto it: the outbound backpressure queue and process memory budget, the inbound frame queue with overflow/oversize close, JSON structure admission, the extracted binary-frame handler, terminal multiplex routing with sendTerminalBinaryFrame, accounts/files server-subscription teardown, and protocol-only endpoint redaction. Deletes rpc-client-contract.ts, rpc-client-request-state.ts and rpc-client-subscribe-options.ts, which duplicated main's rpc-client.ts and stream registry. Four helpers keep every restored module under the 300-line cap without a suppression, so rpc-client.ts drops its max-lines override. Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb