mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 09:30:21 +08:00
Since Watching converged into Reading (#1378), the reader reports `reading_viewport.time_seconds` with every turn on a video material, but `ReadingViewport` forbids extra fields and only declared `locator` and `selection`. The WebSocket rejected each such turn with `invalid_command`, so every question asked beside a YouTube/Bilibili video stayed "Not sent". - Declare `time_seconds` (optional, >= 0) on `ReadingViewport`. - Keep it in `_reading_viewport` (finite, non-negative, capped at 24h) so the reading capability's existing "Current media time" grounding actually receives it instead of silently dropping it. - Regenerate the frontend contracts. - Cover protocol acceptance and normalisation in tests/reading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>