You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SDK: Expose thread list and update APIs for plugin development #1191
We attempted to build a plugin that auto-generates punchy names for threads using Claude Haiku. The feature would help keep thread rails organized and scannable. However, we hit three SDK limitations that made it impossible:
No thread listing API — Can't query for threads in a project to implement polling-based naming. bb.sdk.projects.list() exists but bb.sdk.threads.list() does not.
No thread metadata update API — Can't update a thread's title/name after creation. There's no bb.sdk.threads.update({ title }) method.
Timing issue with event hooks — thread.created fires before the user's message is populated. thread.active fires at an inopportune moment (interferes with thread execution). No hook fires at "message is available + thread is ready to be modified."
What would unblock this:
bb.sdk.threads.list(projectId) — to poll for threads needing names
bb.sdk.threads.update(threadId, { title }) — to set the generated name
Or: a better event hook like thread.messagesReady that fires after the first message lands but before the thread starts processing
This would enable not just auto-naming, but many other plugin use cases that need to react to new threads with their content available.
Activity
SawyerHood commentedon Aug 8, 2026
We do actually have apis for this there is just some documentation drift. Opened a PR to get this back in sync
docs(plugins): document the full bb.sdk area surface (#1200)
Add company social proof to landing page (#1468)
docs(plugins): document the full bb.sdk area surface (get-bb#1200)