Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

bb plugins

Four plugins for bb. Thread Glance replaces the sidebar's thread list with shelves, so you can snooze, park or settle a thread and have the list bring it back when its time comes, and keep Active in an order of your own. Thread Usage shows what a thread and every thread it spawned cost, in tokens and dollars estimated from models.dev's prices, each request priced on its own prompt size. OpenAI-compatible inference lets bb title threads and write commit messages through a LiteLLM gateway or a local model, where bb's built-in Codex service needs a Codex login. UI Tweaks adds appearance settings bb lacks: the size of the transcript and composer text, and the width of the transcript and composer columns, in thread views and on the New-thread screen. Each plugin installs on its own from this repository, and none depends on another: they share bb, not state.

flowchart LR
  subgraph bb["bb server"]
    events["Thread events and sidebar data"]
    ui["bb window: sidebar, thread header and panel, nav pages"]
    helper["AI tasks: thread titles, commit messages"]
  end
  tg["Thread Glance"]
  tu["Thread Usage"]
  oi["OpenAI-compatible inference"]
  gateway["LiteLLM gateway, optional"]
  modelsdev["models.dev price list"]
  localmodel["Local model server, optional"]
  logs["Harness session logs"]
  events -->|state of each thread| tg
  tg -->|shelf list| ui
  events -->|tokens per turn| tu
  logs -->|tokens bb never sees| tu
  modelsdev -->|price per token, by tier| tu
  tu -->|header chip, Usage tab, Thread usage page| ui
  helper --> oi
  oi -->|chat completions| gateway
  oi -->|chat completions| localmodel
  ut["UI Tweaks"]
  ut -->|text size and transcript width, settings rows| ui
Loading

The documentation starts at docs/README.md: tutorials for a first run of each plugin, how-to guides, reference and explanation.

Plugin What it does
thread-glance Sidebar thread list of shelves: snooze, park or settle a thread, keep Active in your own order, and see each thread's state, branch and children at a glance.
thread-usage Cost, tokens and time of a thread and all the threads it spawned, from bb's events and models.dev's prices.
openai-inference Thread titles and commit messages from a LiteLLM gateway or a local OpenAI-compatible server, in place of bb's built-in Codex service.
ui-tweaks Text size, for the transcript and the composer, and transcript width, as two rows drawn like bb's Appearance settings; both reach the New-thread screen too.

Install

Install one plugin by name (thread-glance, thread-usage, openai-inference or ui-tweaks):

bb plugin install git:https://github.com/gperezmz/bb-plugins.git@main --plugin thread-glance

Install, update or remove a plugin covers pinning a release, installing a prebuilt package from npm, updating and removing; develop a plugin covers running one from a checkout.

Contributing

CONTRIBUTING.md covers pull requests, commit messages and releasing a plugin.

Licence

MIT, see LICENSE. Each plugin lists the third-party code it bundles in its THIRD_PARTY_NOTICES.md.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages