2 Commits

Author SHA1 Message Date
wangdl
8ab767ee4a fix: close_reading_session_v2 takes timestamp, sets closed_at_ms
Review finding #3: close now accepts timestamp_ms and sets closed_at_ms
automatically, removing the need for a separate set_session_closed_at_ms call.
set_session_closed_at_ms retained for override use cases.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-11 21:33:42 +08:00
wangdl
254907194c docs: iOS ReadingEvent V2 integration example (DOC-FULL-008)
Swift pseudocode showing full V2 event pipeline:
openSession → heartbeat → position → markedAsRead → closeSession
→ export → local queue → ack → error handling → crash recovery

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-11 21:19:42 +08:00