bb CLI commands
bb 0.43.3SDK 0.4.104pinned e865697 (desktop-v0.43.3)
Registers a top-level bb <name> command, available in the terminal and to agents. With this, a plugin can:
Your own `bb <name>` command
What it gives you
- Be invoked the same way by a person at a terminal and by an agent mid-task
- Receive the thread and project it was invoked from, when bb knows them
- Make the plugin usable from scripts and automations, not only from the UI
- Declare commands, arguments and options once and get parsing,
--help, nearest-name suggestions and JSON errors
API
Each symbol links to the pinned commit it was read at.
PluginCliinterfacePluginCliResultinterfacedefineClifunctioncliCommandfunctionPluginCliErrorconstPluginCliSpecinterfacePluginCliCommandinterfacePluginCliOptiontype
Used by
Automations, Custom instructions, Docs, GitHub, Keep Awake, Memory, Provider retry, Remote access, Secrets, Tasks, Workflows
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.