feat(ux): F1 toggles help, --user flag, connect.sh fresh-build
CI / rust client (hh) (macos-latest) (push) Waiting to run
CI / rust client (hh) (ubuntu-latest) (push) Waiting to run
CI / rust coverage (push) Waiting to run
CI / python server (3.10) (push) Waiting to run
CI / python server (3.11) (push) Waiting to run
CI / python server (3.12) (push) Waiting to run
CI / headless e2e smoke (push) Waiting to run
CI / dependency audit (push) Waiting to run
CI / secret scanning (push) Waiting to run

- app.rs: F1 now closes the help overlay (toggle), not just opens it
- host-house.sh: add --user/--name flag to override the $USER default seat
- connect.sh: incremental cargo build before launch so the UI is never a
  stale release binary; --no-build escape hatch for toolchain-less joiners

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
leetcrypt
2026-06-06 21:51:54 -07:00
parent d948cdb63e
commit 7624cb04f7
3 changed files with 28 additions and 11 deletions
+4 -1
View File
@@ -25,7 +25,7 @@ usage() {
host-house.sh — host a room + open your GUI seat, all in one tmux session
usage:
./host-house.sh [NAME] [PORT] [--host ADDR] [--theme NAME]
./host-house.sh [NAME] [PORT] [--user NAME] [--host ADDR] [--theme NAME]
./host-house.sh --tls --cert CERT --key KEY [NAME] [PORT]
./host-house.sh --kill
./host-house.sh -h | --help
@@ -35,6 +35,7 @@ arguments:
PORT listen port (positional) (default: 4173)
flags:
--user NAME your seat in the room (alias: --name; overrides positional NAME)
--host ADDR server bind address (default: 0.0.0.0 — all NICs)
--port PORT listen port (default: 4173)
--password PW room password (default: random; or PW=…)
@@ -88,6 +89,8 @@ while [[ $# -gt 0 ]]; do
case "$1" in
-h|--help|-help) usage; exit 0 ;;
--kill) DO_KILL=1; shift ;;
--user|--name) NAME="$2"; shift 2 ;;
--user=*|--name=*) NAME="${1#*=}"; shift ;;
--host) HOST="$2"; shift 2 ;;
--host=*) HOST="${1#--host=}"; shift ;;
--port) PORT="$2"; shift 2 ;;