HTTP, WebSocket, RPC & realtime
bb 0.43.3SDK 0.4.104pinned e865697 (desktop-v0.43.3)
Connects the plugin's own UI, its server code, and outside services. With this, a plugin can:
Typed RPC, HTTP & WebSocket routes, realtime push
What it gives you
- Call its server from its UI over RPC, with arguments and results checked against a schema
- Publish RPC methods with experimental_discoverable and registration/method experimental_description; other plugins discover implementations and copy their published JSON Schemas using bb plugin rpc inspect
- Serve exact-path HTTP and WebSocket routes other systems can call, webhooks included
- Push messages to every open bb window, so the UI does not have to poll
API
Each symbol links to the pinned commit it was read at.
PluginRpcinterfacePluginRpcMethodContractinterfacePluginsArea.experimental_discoverRpcmethodPluginHttpinterfacePluginRealtimeinterfaceExperimentalPluginWebSocketinterfaceExperimentalPluginWebSocketContextinterfaceExperimentalPluginWebSocketHandlertypeExperimentalPluginWebSocketHandlersinterface
Used by
Automations, Custom instructions, Docs, GitHub, Inline visualizations, Keep Awake, Memory, Provider retry, Remote access, Side chat, 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.