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
Commit 2f0c047
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): keep the t3_thread_read tool list within main's agent context budget
The newest-first read had grown the advertised tool list by 316 bytes.
`afterPosition=-1` now starts a read at the oldest item, replacing the
`latest` flag, and the t3_thread_read description and its limit
descriptions are shorter, so the tool list is smaller than main's again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
"Read any thread by id. `messages` (default): user and assistant messages and plans. `activity`: all timeline items. Results are cut to fit about 30k chars. Returns the newest items; older with `beforePosition=earlierPosition`. From the start: `latest=false`, then `afterPosition=nextPosition` while `hasMore`. Cut-off text: `itemId` with `textOffset=nextTextOffset`. Reading a child's final result marks it delivered. In your reply, name it as its `link` verbatim.",
248
+
"Read any thread by id. View `messages` (default) or `activity` (all items). Newest first; older: `beforePosition=earlierPosition`; from the start: `afterPosition=-1`, then `nextPosition`. Cut-off text: `itemId`, `textOffset=nextTextOffset`. Reading a child's final result marks it delivered. In your reply, name it as its `link` verbatim.",
`From thread ${handoff.threadId}, runs ${handoff.coveredRunOrdinals.from}-${handoff.coveredRunOrdinals.to}. Recover history with t3_thread_read, view=activity, latest=false; paginate with afterPosition=nextPosition, and use itemId/textOffset for long items.`
47
+
`From thread ${handoff.threadId}, runs ${handoff.coveredRunOrdinals.from}-${handoff.coveredRunOrdinals.to}. Recover history with t3_thread_read, view=activity, afterPosition=-1; paginate with afterPosition=nextPosition, and use itemId/textOffset for long items.`
0 commit comments