Server up_seq starts at 0, expects first frame seq=1. Client sent seq=0,
triggering sequence gap error and ws close 1008 after ~22 frames (450ms).
Also: version 0.3.2
- DiagnosticLog: 500-entry ringbuffer, all DebugLogUpload writes captured
- DiagnosticReportUpload: POST /debug/report with device info + logs + session state
- Button at bottom: shows sent/failed, clears sent entries on success
- Screen log scrollable, shows last 10 entries
- Gateway POST+GET /debug/report deployed on SPARK-2
Version 0.3.1
- AudioCapture: short reads buffered and concatenated, only send when exactly 640B
- AndroidManifest: configChanges prevents rotation from recreating Activity
- onStop shows explicit disconnect reason instead of silent disconnect
- Remote debug log now works (HTTPS endpoint fixed)
Version 0.3.0
- ABORT with reason=listen_start no longer marks new turn as blocked
- ABORT ignored when connection lost or voice not active
- finish() logs stack trace to Logcat, truncated summary to screen/remote
- DebugLogUpload endpoint fixed to HTTPS (was cleartext HTTP to HTTPS port)
- Granular logging: onEvent entry, acceptTurn details, ABORT/LISTEN decisions,
startCapture result, onConnection transitions, finish() caller
Version 0.2.7-m5-fix8
- Permission dialog triggers onStop/onStart; previously each foreground() created new WS,
causing busy-lock conflict and disconnect
- Now: onStop stops audio but keeps connection alive for 30s; onStart reuses if still open
- DebugLogUpload: runtime policy check, screen shows upload result (HTTP status / failure reason)
- Reduced audio frame log volume to avoid flooding upload queue
Version 0.2.6-m5-fix7
- New ConnectionStatus.CONNECTING shown as 连接中 in status pill
- Connection log distinguishes: TCP connecting / WS open / auth received / hello sent / hello received
- Failure categories: TCP unreachable / TLS cert / handshake timeout / server closed
- 15s total handshake timeout with reason display
- On-screen log shows last 3 events for user diagnosis
Version 0.2.3-m5-fix4
Client sent hello immediately on WebSocket open, but server sends
auth-ok first (LAN direct / guest cookie / admin bearer) and expects
hello only after that. Client hello was parsed as auth message,
causing silent rejection and permanent disconnected state.
Fix: track authReceived, send hello only after AUTH event arrives.
Also add manual reconnect button and failure reason display.
Version 0.2.1-m5-fix1
- CameraX ImageAnalysis + Face Landmarker (CPU, 10Hz, KEEP_ONLY_LATEST)
- Rule-based blendshape mapping: smiling/brow_furrowed/gaze/blink/face_presence
- Camera off by default, explicit user toggle, no image storage/upload
- Expression cues displayed as passive labels, never affect dialogue flow
- CameraX pinned 1.4.2 (compileSdk 34 compat), MediaPipe tasks-vision 1.1.0
- Face model bundled: face_landmarker.task (sha256 TOFU recorded)
- docs/EXPRESSION.md with rules table and privacy notes
- Version 0.2.0-m5