Skip to content

The + menu

bb 0.43.3SDK 0.4.104pinned e865697 (desktop-v0.43.3)

stable The composer #5 in group Show on the zone map

Adds rows to the menu that opens from the + button beside the prompt box. With this, a plugin can:

What it gives you

  • Supply each row's icon, label, and disabled state; bb renders the row itself
  • Run a callback when someone picks the row
  • Read and rewrite the draft prompt from that callback
  • Send the draft at a time the person picks, through the prompt box's own send — so a scheduled message keeps its attachments, its @-mentions, and on the new-thread screen the agent and environment chosen on screen
  • Submit the draft with plugin-owned JSON that its dispatch hook can interpret and use to queue the message

API

Each symbol links to the pinned commit it was read at.

Used by

Drafts, Send later

The brief is Markdown, written for a coding agent: what the capability is, where it registers, every SDK symbol with a pinned permalink, the rules that bite, and what done means.