Under the hood
Bridge control-protocol messages now validate request_id against a strict pattern before forwarding it
What
Claude Code's bridge control-protocol message handling now includes a helper that only forwards a request_id field if it matches the pattern req_ followed by 4 to 128 letters, digits, underscores, or hyphens. A companion helper checks whether a JSON payload textually contains a given key.
Why
Validating the shape of request_id before forwarding it guards against malformed or unexpected values being passed through the bridge's control-protocol messages.