3 Commits
Author SHA1 Message Date
HenryandClaude Opus 5.5 099fd8dcd8 server: board heartbeat, safer keep-awake, no-cache UI, OpenAI token parameter
- ping the board every 2 s so an unplugged or silent board shows as gone within seconds
- never nudge the pointer right after the board connects or while the phone is not mirroring
- read and log the board's hello (last reset reason, uptime)
- serve the web UI with Cache-Control: no-cache so updates show on refresh
- LLM_TOKEN_PARAM (auto by default) for models that want max_completion_tokens

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 21:09:53 +08:00
HenryandClaude Opus 5.5 b27a47ebae pointer: two-point auto calibration, learned correction, sensitive change detection
- calibration finds the pointer at two distances and fits scale and offset; it is saved with the
  landings seen while aiming, so every later move is corrected
- search the whole screen when the pointer is far from the target; ignore implausible readings
- rest before lifting a swipe (no momentum) and after a click (no accidental drag)
- detect small changes such as a checkmark, masking the pointer and the status bar
- mirroring counts as live only while the phone is connected to UxPlay (Linux)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 21:09:53 +08:00
HenryandClaude Opus 5.5 1fecb9b63e Add tests and CI for the server and firmware build
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 03:10:13 +08:00