feat(wire): bumped collaborative protocol to version 3
- Bumped the collaborative protocol version (`COLLAB_PROTO`) from 2 to 3. - Required protocol-3 to coordinate `ui-request`, `ui-request-end`, and `ui-response` frames. - Rejected older protocol-2 guests at handshake to prevent host-asked requests from hanging. - Updated verification tests and CI installation check scripts to expect protocol version 3.
This commit is contained in:
@@ -170,7 +170,7 @@ mkdir -p "$TARBALL_APP_DIR"
|
||||
exit 1
|
||||
}
|
||||
wire_proto="$(bun -e 'import { COLLAB_PROTO } from "@oh-my-pi/pi-wire"; process.stdout.write(String(COLLAB_PROTO));')"
|
||||
[ "$wire_proto" = "2" ] || {
|
||||
[ "$wire_proto" = "3" ] || {
|
||||
echo "Unexpected @oh-my-pi/pi-wire COLLAB_PROTO: $wire_proto"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user