Repository Overview

August 13, 2026 ยท View on GitHub

This monorepo contains the packaged app plus the runtime services it bundles:

Package or appRole
packages/bb-appPublished npm package, npx bb-app@latest launcher, bundled bb CLI entry, and public SDK export.
apps/desktopmacOS/Linux Electron shell that supervises the packaged runtime and loads the bb web UI.
apps/appWeb UI for inspecting projects, threads, environments, and running work.
apps/serverHTTP API, WebSocket notifications, state management, and server-owned product policy.
apps/host-daemonHost-local runtime that provisions workspaces and runs provider processes.
apps/cliScriptable bb CLI for users and agents.
apps/webgetbb.app site: marketing page + bb connect auth/dashboard (TanStack Start on Cloudflare Workers).
packages/sdkTypeScript SDK used by the CLI, package SDK export, and programmatic clients.
packages/agent-runtimeProvider runtime adapters and bridges for Codex, Claude Code, Pi, and ACP agents.
packages/configConfig parsing, defaults, managed package config schema, and environment variable definitions.
packages/dbSQLite schema, migrations, and data access helpers.
packages/server-contractHTTP and WebSocket contract between clients and the server.
packages/host-daemon-contractCommand/event contract between the server and host daemons.

bb-app also exposes a Node scripting SDK: import { BBSdk } from "bb-app". See packages/bb-app.

Pinned Dependencies

Some dependencies are pinned to an exact version for reasons that are not visible from package.json alone.

DependencyWhereWhy
@opentelemetry/api (1.9.1)apps/serverPi AI and Drizzle each pull in @opentelemetry/api. Without an exact direct pin, pnpm can resolve two copies and TypeScript sees two distinct type identities, which fails the server typecheck. Bump both consumers together, not this pin alone.
Pi packages (0.84.0)Pi bridge and bb-appPi extensions import the host's Pi modules. The packaged bridge keeps this exact package tree on disk so extensions share one compatible runtime. Bump the Pi packages together.