Skip to content

feat(client): page get_timeline and list_resolutions - #33

Merged
smaramwbc merged 1 commit into
mainfrom
feat/timeline-paging
Aug 30, 2026
Merged

feat(client): page get_timeline and list_resolutions#33
smaramwbc merged 1 commit into
mainfrom
feat/timeline-paging

Conversation

@smaramwbc

Copy link
Copy Markdown
Owner

SDK parity for the server pagination that landed today (statewave #361, #362, #363) and the TypeScript client (statewave-ts #31):

  • get_timeline(subject_id, *, limit=None, offset=None, newest_first=None) — each param sent only when given (newest_first on the wire as true/false); Timeline gains optional episodes_has_more / memories_has_more (None from older servers — not the same as False).
  • list_resolutions(..., limit=None, offset=None).
  • Sync and async clients; 5 new tests on the existing mock-transport pattern. 97 tests pass locally; ruff clean.

…resolutions

Mirror the server (statewave #361, #362, #363) and the TypeScript SDK
(statewave-ts #31): get_timeline accepts limit, offset and newest_first,
sending each only when given, and Timeline gains optional
episodes_has_more / memories_has_more (None from older servers, which is
not the same as False). list_resolutions accepts limit and offset.
@smaramwbc
smaramwbc merged commit 01a3a7d into main Aug 30, 2026
2 checks passed
@smaramwbc
smaramwbc deleted the feat/timeline-paging branch August 30, 2026 10:53
smaramwbc added a commit that referenced this pull request Aug 30, 2026
…#33)

Rebased as a delta on top of #33, which already landed get_timeline's
limit/offset/newest_first and the Timeline has_more flags: keep
Episode.occurred_at (the column the timeline orders by, previously
discarded by the model), the CHANGELOG entry, the README example and the
fuller test module, aligned to the wire convention main uses
(newest_first as "true"/"false"). Also stop tracking the committed
__pycache__ bytecode, which .gitignore already excludes.
smaramwbc added a commit that referenced this pull request Aug 30, 2026
…#33)

Rebased as a delta on top of #33, which already landed get_timeline's
limit/offset/newest_first and the Timeline has_more flags: keep
Episode.occurred_at (the column the timeline orders by, previously
discarded by the model), the CHANGELOG entry, the README example and the
fuller test module, aligned to the wire convention main uses
(newest_first as "true"/"false"). Also stop tracking the committed
__pycache__ bytecode, which .gitignore already excludes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant