Repository navigation
v0.2.4
Pagination fields now survive reduction (#9, reported in the feedback thread).
- When a result is over budget, the reducer rebuilds it and used to keep only the source's total. Cursors and next-page links were lost, so the model could not ask for more.
- The source's pagination fields are now found by name anywhere in the response around the items:
next_cursor,response_metadata.next_cursor,paging.next.after,pageInfo.endCursor,nextRecordsUrl,has_more,links.nextand similar. - Your code always gets them on
ReducedResult.paging. - The model gets them in
_meta.source_pagingonly when every item of the page is included. A cursor jumps past the whole page, so following it from a partial page would skip the items left out; in that case the existing warning asks for a narrower call instead. - New
Messages.pagingtext, configurable like the others.
Tested with Claude Opus 5.5 on a three-page source: it followed the cursor through every page and listed all 30 items, including when the first page arrived partial and it had to narrow the call first. Without source_paging it stopped at 10.