mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-07 04:17:48 +08:00
quoted_message_id now follows the create_target rule: the key's presence is authoritative. A value moves the thread, an explicit null clears it, and omitting the key leaves the stored anchor untouched. A new selection moves the thread to the passage just asked about. The message-level popover gains a detach action that clears the anchor through the organization PATCH without deleting the conversation, and a deliberate clear also stops the legacy backfill from re-attaching it.
Generated frontend contracts
The backend owns the wire contract. Do not edit files under schema/ or
generated/ by hand.
From the repository root, refresh both layers after a backend contract change:
python scripts/export_frontend_contracts.py
cd web && npm run contracts:generate
CI runs python scripts/export_frontend_contracts.py --check in backend contract
tests and npm run contracts:check before frontend typechecking. A drift failure
means the committed artifacts must be regenerated with the commands above.