mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 23:19:53 +08:00
Runtime: - refuse a send while the transcript is loading or failed to load; the answer would otherwise be written against history the learner cannot see - reuse the client submission id when a start was never confirmed, so a retry hits the server's submission reservation instead of running the question twice - apply a persisted record only to the conversation it was written for, so opening another conversation cannot borrow its outcome banner - re-arm the idle watchdog when a stop request is unconfirmed; the run is still the server's - restore the last conversation silently when no turn was in flight, and forget a remembered conversation the server reports as gone Data: - normalise message row ids to strings: SQLite returns a rowid and PocketBase a record id, and parseInt collapsed every key to 0 on the latter - fall back to a positional render key when a transcript row carries no id List and navigation: - let refresh and retry supersede a stale page fetch instead of being dropped - report a deleted conversation and refresh the index instead of staying silent - disable rename and delete while a conversation is opening