fix: page thread events at 100 (bb rejects limit > 100) - #3
Open
luisllenin02 wants to merge 1 commit into
Open
luisllenin02 wants to merge 1 commit into
luisllenin02 wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On current bb builds,
threads.events.listreturnsHTTP 400: Thread event limit cannot exceed 100.capture.tsrequests pages of 1000, soprepareHandofffails on every thread and the plugin cannot hand off at all:Fix
Drop
EVENT_PAGE_SIZEfrom 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-runon a 678-event thread now prepares successfully (previously failed at prepare).🤖 Generated with Claude Code