Skip to content

fix: page thread events at 100 (bb rejects limit > 100) - #3

Open
luisllenin02 wants to merge 1 commit into
vburojevic:mainfrom
luisllenin02:main
Open

luisllenin02 wants to merge 1 commit into
vburojevic:mainfrom
luisllenin02:main

Conversation

@luisllenin02

Copy link
Copy Markdown

Problem

On current bb builds, threads.events.list returns HTTP 400: Thread event limit cannot exceed 100. capture.ts requests pages of 1000, so prepareHandoff fails on every thread and the plugin cannot hand off at all:

handoff@0.7.2  running  (rpc prepareHandoff failed: HTTP 400: Thread event limit cannot exceed 100)

Fix

Drop EVENT_PAGE_SIZE from 1000 to 100. The pager already loops until a short page, so long threads are still captured in full. Version bumped to 0.7.3.

Verification

  • vitest run: 12 files, 123 tests pass.
  • bb handoff <thread> --to codex --dry-run on a 678-event thread now prepares successfully (previously failed at prepare).

🤖 Generated with Claude Code

bb's threads.events.list now returns HTTP 400 "Thread event limit cannot
exceed 100" for larger pages, which made prepareHandoff fail on every
thread. Drop EVENT_PAGE_SIZE from 1000 to 100; the pager already loops.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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