bb-plugin-authoring

Solid

Write, build, and install bb plugins. Use whenever the task is to create a bb plugin, extend bb itself, or add a bb CLI command, agent tool, background service, settings, panel, mention provider, or other bb surface via a plugin. Covers the entire backend BbPluginApi and the frontend @get-bb/plugin-sdk/app contract with working patterns.

API & Backend 2,482 stars 282 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Authoring bb plugins A bb plugin is a TypeScript package running in-process inside the bb server. Its backend entry default-exports a factory that receives the full plugin API (`bb`); an optional frontend entry registers React UI inside the bb app; an optional host entry is bundled and runs as a supervised Node worker on targeted enrolled hosts. Plugins are full-trust code in every runtime. Plugins are on by default. Builtin plugins ship with bb; a few sit behind their own product gates. `bb plugin list` shows each plugin's status. ## Quickstart ``` bb plugin new hello # scaffolds ./bb-plugin-hello (add --app for a frontend entry) cd bb-plugin-hello bb plugin install . # registers the directory in place (--yes to skip the prompt) bb plugin dev # rebuild app/host bundles + reload on every save ``` The manifest is `package.json`: ```json { "name": "bb-plugin-hello", "version": "0.1.0", "type": "module", "engines": { "bb": ">=0.9", "bbPluginSdk": ">=0.4.3" }, "bb": { "name": "Hello", "description": "A friendly example plugin.", "branding": { "icon": "Zap" }, "server": "./server.ts", "app": "./app.tsx", "host": "./host.ts", "skills": ["skills"] } } ``` - `bb.server` (required) — backend entry. Path installs load it as TypeScript directly (no build step); `bb plugin build` also emits a self-contained `dist/server.js` + `server.meta.json` that git/npm installs prefer when its SDK major mat...

Details

Author
get-bb
Repository
get-bb/bb
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category