mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-26 05:27:06 +00:00
fix: synchronize read state across web and native clients
Track readable content revisions and durable read cursors in the hub. Acknowledge only rendered foreground tails, persist offline read operations, and preserve newer manual unread choices across devices. Migrate existing history to a read baseline and cover pagination receipts with shared native conformance fixtures.
This commit is contained in:
@@ -125,6 +125,8 @@ export type SessionResponse = { session: Session }
|
||||
export type MessagesResponse = {
|
||||
messages: DecryptedMessage[]
|
||||
page: {
|
||||
/** Readable revision covered by this tail snapshot; absent on history pages. */
|
||||
readThroughRevision?: number
|
||||
direction: 'latest' | 'before' | 'after'
|
||||
limit: number
|
||||
epoch: number
|
||||
|
||||
Reference in New Issue
Block a user