Files
DeepTutor/tests
jiangbianshu 07cf021d34 fix(reading): accept video playback time in the reading viewport
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>
2026-10-11 18:43:20 +08:00
..
2026-10-08 11:34:42 +08:00
2026-10-08 11:34:42 +08:00
2026-10-08 11:34:42 +08:00
2026-10-08 11:34:42 +08:00
2026-09-29 17:12:58 +02:00
2026-09-21 02:30:40 +08:00
2026-10-08 11:34:42 +08:00
2026-10-08 11:34:42 +08:00
2026-10-04 21:35:00 +08:00
2026-09-21 02:30:40 +08:00