Add host mode to limit what phones can control #29
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/host-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an optional Host mode (ADR 0006) so phones can be limited to "member" rights while hosts keep full control.
What changes
forbiddentoast.hkWS param,hostKeymessage,claimHost/leaveHost, per-connectionyou.role,hostMode,QueueItem.mine. Owner ids never go out on the wire. "Đổi PIN", "Đổi mã" and turning the mode off revoke all host keys.docs/protocol.md,CONTEXT.md, updated UI prototype; mock server emulates host mode (PIN 123456).Verified
pnpm typecheck(remote)./gradlew :app:testDebugUnitTest :app:assembleDebug— 86 tests, 0 failuresVi: Thêm Chế độ host để giới hạn quyền điều khiển của điện thoại, chỉ host mới được tạm dừng, chen bài và xử lý bài của người khác