Testing harnesses
bb 0.43.3SDK 0.4.104pinned e865697 (desktop-v0.43.3)
Tests the plugin without a running bb. With this, a plugin can:
Unit-test every surface without a running bb
What it gives you
- Run its server code against an in-process fake of the bb server
- Render its UI slots under vitest and jsdom
- Drive its host worker with no host daemon running
API
Each symbol links to the pinned commit it was read at.
createFakePluginHostfunctionrenderSlotfunctioncreateFakeSdkfunctionexperimental_createHostEntryHarnessfunction
Used by
Ask User Question, Automations, Custom instructions, Docs, GitHub, Inline visualizations, Keep Awake, Memory, Provider retry, Remote access, Secrets, 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.