4 Commits

Author SHA1 Message Date
pionxzh
0e1770356e fix: handle alphanumeric cursor pagination for project conversations
Project conversations API switched from numeric offsets to opaque
alphanumeric cursors. The old code discarded the cursor and fell back
to offset += limit, so only the first page was ever exported.

- Add `cursor?: string | null` to `ApiConversations` interface
- Update `projectConversationsApi` to accept `string | number` cursor
- Expose the API-returned cursor in `fetchProjectConversations`
- Use cursor-based advancement in `fetchAllConversations` for project
  requests, with numeric offset fallback for regular conversations
- Add early-exit guard when API returns neither total nor next cursor

Closes #341

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 21:42:10 +08:00
Pionxzh
af7ef8ccd1 refactor: drop redundant monorepo structure 2023-11-09 02:19:06 +08:00
Pionxzh
85124edd8f chore: update vscode setting 2023-03-18 17:51:51 +08:00
Pionxzh
c75b0f254d init 2022-12-05 19:43:24 +08:00