works.iterative.claude.core.log.model.PageToken
See thePageToken companion object
A continuation cursor for reading older entries of a session's transcript.
It is opaque by construction: only the archive read path (within the log package) mints one. A consumer obtains one from a page and hands it back to fetch the previous page, but cannot forge one against an arbitrary file. Its fields pin the cursor to a single resolved file so it can never be applied to a different one:
offsetis a byte position into an append-only file, so it stays valid as the file grows.sourceis the exact transcript path the cursor was minted against. The vendor-then-mirror fallback can change which file a session resolves to between calls (e.g. the vendor tree is pruned mid-paging); when the current resolution no longer matchessource, paging fails rather than reading a stale offset against the wrong file.
Value parameters
- offset
-
the exclusive byte bound below which older entries are read
- sessionId
-
the session the cursor pages, re-resolved on each older-page call
- source
-
the transcript file the cursor's
offsetindexes into
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article