Skip to content

v0.2.0 — Group-Chat & Arena UI, SSE Multi-Room Daemon, Bilingual Protocol

Choose a tag to compare

@KennyMcSimpson KennyMcSimpson released this 24 Nov 07:15
· 4 commits to main since this release

Highlights in v0.2.0

Unified Group-Chat & Arena Web UI

  • Group-Chat View (ui/rt-chat.js, ui/rt-chat.css): round-grouped conversation bubbles, seat-family avatars/colors, right-aligned lead bubbles with crown badge, collapsible long messages, clickable #seq quote jumps with highlight, and strict visual separation between dashed speaker-claim cards and solid host-authoritative mark/verdict chips.
  • Arena Side-by-Side Comparison: compare every seat's responses per round in responsive columns with one-click jump back to the chat thread.
  • Sticky Approval Inbox: surfaces pending task-draft confirmations, timed-out turn decisions (retry / skip), crash-recovery reconciliations (replay / void), and disclosure requests (approve / deny) at the top of the room UI.
  • Security & Ergonomics: zero-innerHTML safe Markdown renderer (ui/rt-markdown.js), hardened protocol parser (ui/rt-protocol.js, 60k surrogate-safe clamp, 128-entry LRU, 5 protected spans, prototype-pollution immunity), and IME-safe bottom composer.

Real-Time SSE & Multi-Room Auto-Resume Daemon

  • Added GET /api/stream, GET /lobby/api/stream, and GET /lobby/api/health with same-origin gating, zero-token URLs, Last-Event-ID resume, 32-client cap, and polling fallback.
  • Added node room.mjs daemon and node room.mjs daemon status (lib/daemon-store.mjs) with atomic registry persistence outside <roomDir>, .bak corruption recovery, mid-round task-overwrite guard, and automatic resumption of active rooms on restart.

Full Bilingual Support (zh-CN / en)

  • Added lib/i18n.mjs and 13 English protocol templates (lib/templates/en/*.md), --lang zh-CN|en support in admin init and Lobby creation, and live ZH / EN toggle in the Web UI (ui/rt-i18n.js).

Cross-Platform & Governance Fixes

  • Cross-platform macOS/Linux: POSIX room.sh (0o755), 0o600 secret file permissions, macOS /private/* awareness, POSIX ps lock-holder probe, HOME/XDG_*/TMPDIR driver env keys, and macos-latest CI.
  • Governance & reliability: audit tainted now triggers on non-allowlisted unknownCommands; spawnClean supports AbortSignal and POSIX process-group cleanup; incremental byte-offset cmdWait reader + fs.watch; token-authenticated POST /lobby/api/folder; retired host-specific plugin removed from the public release.

Verification

  • node test/e2e.mjs: 79/79 passing
  • node --test "test/**/*.test.mjs": 651 passing, 0 failing (3 POSIX-only tests skipped on Windows)
  • Full dist/public-scan.mjs clean (PUBLIC_SCAN_OK, 0 hits)
  • Real-agent verification boundaries remain transparently documented in docs/SUPPORT-MATRIX.md.