Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

session-operations changedmanaged-agents/session-operations

Nearest release: v2.1.309, published 3 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+6added
Lines−2removed
From line 416 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits19to this page, all time

The whole hunk

from line 416, old and new numbered
/
lines
from line 416
416416 
417417 // Advance by passing next_page as the page cursor.
418418 var nextCursor = firstPage.response().nextPage().orElseThrow();
419 var secondPage = client.beta().sessions().list(params.toBuilder().page(nextCursor).build());
419 var secondPage = client.beta().sessions().list(params.toBuilder()
420 .page(nextCursor)
421 .build());
420422 
421423 // Go back by passing prev_page as the same page cursor.
422424 var prevCursor = secondPage.response().prevPage().orElseThrow();
423 var previousPage = client.beta().sessions().list(params.toBuilder().page(prevCursor).build());
425 var previousPage = client.beta().sessions().list(params.toBuilder()
426 .page(prevCursor)
427 .build());
424428 // Back on the first page, so prev_page is empty again.
425429 IO.println("prev_page: " + previousPage.response().prevPage());
426430 // For forward-only iteration, page.autoPager() returns an Iterable that auto-follows next_page.
Feedback