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:
can1357
2026-07-02 01:51:09 +02:00
parent d4182835dc
commit 3ff65ead6b
4 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -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
}