feat(client): protocol v2 wire layer, screen sharing, channel webhooks and secure voice

Verified against the real gateway via tests/gateway_interop.rs.
This commit is contained in:
Loki 2026-10-24 16:51:15 +02:00
parent 8460fb28fd
commit 3d7dd5413b
Signed by: boba
GPG key ID: 253067914055423B
65 changed files with 6048 additions and 1156 deletions

14
scripts/sync-protocol.py Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env python3
"""Synchronize the canonical gateway protobuf schema; --check rejects drift."""
import argparse
from pathlib import Path
parser=argparse.ArgumentParser(description=__doc__)
parser.add_argument('--check',action='store_true')
parser.add_argument('--server',type=Path,default=Path(__file__).resolve().parents[2]/'VNOX-Server/protocol/lnex.proto')
args=parser.parse_args()
target=Path(__file__).resolve().parents[1]/'protocol/lnex.proto'
source=args.server.read_bytes()
if args.check:
if target.read_bytes()!=source: parser.exit(1,'Client protocol differs from the authoritative gateway schema. Run scripts/sync-protocol.py.\n')
else: target.write_bytes(source)
print('LNEx protobuf schema matches the gateway')