You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
t3_thread_read defaults to the oldest page on linked environments #39932
t3_thread_read documents that the default page is newest first. On a linked environment, a read with limit: 35 and no position returns the first page in the thread, starting at position 0, with earlierPosition: null and hasMore: true. Passing beforePosition above the tail returns the newest page of the same thread. The equivalent default local read returns the latest page.
Repro: call t3_thread_list against a reachable linked environment, choose a thread with more than 35 messages, and read it with environmentId, threadId, and limit: 35. Compare with a read using the same arguments plus a beforePosition above the tail. The default should select the same newest page on both local and linked environments. This matters for date-bounded history audits because callers following the documented order can silently miss recent user messages.
Activity
fix(server): name the newest page when forwarding an agent's t3_threa…