All notable changes to this plugin are documented here. The format follows Keep a Changelog.
- A BB skills plugin status row in Settings.
- OpenCode references in the composer's
@menu. - Subagent reports open a BB turn, including one that arrives as its parent turn ends. Reports from children stopped by Stop wait for the next user action.
- OpenCode image generation renders the saved image in the turn that receives its report, shows failed Code Mode images as failed rows, and settles a missed report on reconnect; a direct call also gets a running task row, and Stop cancels running image jobs, including ones started by subagents.
- Requires OpenCode 2.4.1 or newer.
- Each subagent opens a background task row;
state="running"keeps it open and a final state settles it, even when metadata says completed. Subagents started by a subagent count toward usage and show permissions and forms under the top-level task. - BB sessions deny OpenCode automations (
automation_*); OpenCode automations stay available outside BB. - Settings finds the
opencode-usageplugin by ID or package and prefers a working entry over a failed one; other implementations of its RPC still supply Provider usage but show as Not installed in Settings.
- Cold-start races since OpenCode 2.2.7 could show the usage source as Not installed, list no agents, or report native skills as not ready.
agent.updatednow refreshes the Agent option.- A failed usage plugin now reports its error.
1.6.0 - 2026-11-05
opencode-bb-skillshas its own pinned version, so updates of this plugin that leave it unchanged no longer rewrite the OpenCode config or trigger a new download.- Timeline truncation markers no longer carry a
BBprefix:[truncated …], and__truncated__for omitted object properties.
- Backgrounding a thread's active tools now resolves the session from a registry shared by the host and provider-bridge workers under the plugin runtime root.
- Removed the native-skills sync during plugin registration, which logged a host-call warning at startup. Thread start, resume, and fork already sync the initial state, and setting changes still sync immediately.
1.5.1 - 2026-11-04
- Native skill catalogs now live under the plugin data root, so the host and
provider bridge write the same
locationsDirthat OpenCode reads.
1.5.0 - 2026-11-04
- Opt-in native skill registration. The plugin adds the pinned
opencode-bb-skillsOpenCode plugin to OpenCode's config and writes a per-workspace catalog, so BB's skills appear in OpenCode's native registry. Off by default; other clients opening the same workspace see them. - Background shells and subagents now map to BB
backgroundTaskrows, including foreground tools OpenCode moves to the background. - A thread menu action backgrounds all active foreground backgroundable tools in an OpenCode session.
- Idle background completions mark the thread unread, since BB does not create a completion system message.
- The
allowSubagentssetting is nowsubagentsDisabled(inverted), matching the built-in providers. Native subagents are now enabled by default.
- The model allowlist in the settings page and the
sync-model-settingsbackground service.
- Native subagent tokens and cost now count toward the parent thread's usage, while the parent context meter stays parent-only.
- Interactive questions and permissions now reach the tools instead of being dismissed, and no longer time out after 10 minutes.
- BB dynamic tools now use OpenCode's MCP execution timeout instead of a plugin-side 10-minute cap; the local proxy only guards its handshake.
1.4.0 - 2026-11-02
- OpenCode slash commands in BB's
/menu, run through OpenCode's own command registry. - BB plan mode (
/planand--plan) is available again, running that turn on OpenCode's read-onlyplanagent before returning to the selected agent. - Archive and unarchive forwarding to OpenCode sessions, with recovery messages when a session is archived, deleted, or moved outside BB.
- OpenCode forms that fit BB's question schema use BB's native question UI; unsupported forms are cancelled with a visible reason. Forms and permissions answered in another OpenCode client are recognized, so a stale answer is never sent.
- Agent changes made in OpenCode update BB's Agent option, and OpenCode titles fill an untitled BB thread.
- Live refresh of models, commands, and skills when OpenCode reports a change.
- Session cost in BB's context and usage card.
- Provider usage from the opencode-usage OpenCode plugin.
- Turn diffs now use OpenCode's
session.diff; file-change rows use OpenCode tool metadata, and write rows no longer carry a per-file patch. - Question forms and MCP startup wait for OpenCode events instead of polling.
- Provider enablement now uses BB's provider controls, and the BB-tools deny rule is always kept in the global OpenCode config.
- The
providerEnabledandhideBbToolsOutsideBbsettings and their toggles.
- Forks created without a prompt publish their session options, so the Agent row is available before the first turn.
1.3.0 - 2026-11-01
- OpenCode API calls, event streaming, and service discovery and startup now use the official OpenCode v2 SDK instead of hand-written HTTP and SSE code.
- The minimum supported versions are now BB 0.48.1, BB Plugin SDK 0.6.104, and OpenCode 2.2.5.
1.2.0 - 2026-10-26
- OpenCode's primary agents are chosen only in the Agent row of BB's model switcher. The plugin's own composer agent picker is gone, and so is the new-thread pick it held until the thread existed.
- The
agentsession option now always lists every primary agent,buildandplanincluded. It used to appear only when a custom agent existed. @get-bb/plugin-sdkis a runtime dependency, and dependencies are updated.
- BB's plan mode (
/planand--plan). Pick theplanagent instead, for examplebb thread spawn --provider opencode2 --option agent=plan. - The
getNewThreadAgentandsetNewThreadAgentplugin RPC methods and the unused dropdown menu component.
1.1.0 - 2026-10-18
- A composer picker for OpenCode's primary agents, backed by a native BB session
option named
agent. The option is listed per model, also works withbb thread spawn --option agent=<name>, and includes project-level agents.
1.0.0 - 2026-10-13
First release: BB threads that run on an installed OpenCode v2 server.
- Threads with fork at a checkpoint, rewind and edit with files restored,
steering a running turn, stop, discard, rename, and manual
/compact. - Permission modes (accept edits, auto, full) encoded as OpenCode session rules. A denial goes back to the agent as feedback and the turn continues.
/plan, which runs the turn on OpenCode's read-onlyplanagent, and OpenCode's questions through BB's native question UI.- BB dynamic tools exposed through a per-session local MCP server, hidden from
other threads and from OpenCode's own sessions, with the
bbCLI onPATHin OpenCode shells. - OpenCode's own skills listed in BB's
/menu, with BB-only skills attached asSKILL.mdfiles. - Native subagents shown as BB delegation rows, off by default.
- OpenCode MCP Code Mode calls shown as "Ran code" rows.
- Timeline rows for reads, searches, directory listings, web search and fetch, and commands with live output and exit codes. Each turn's file changes are reported as the turn diff.
- Usage and context meter driven by OpenCode's session tokens and model context limit.
- Reasoning levels mapped to each model's OpenCode variants.
- Settings page with OpenCode status per host, grouped models, a model allowlist, and provider and subagent toggles.
- OpenCode install, update, and auth-aware health checks.
- Recovery that settles turns OpenCode finished while its event stream was down.
- Message editing: turn ordering, rewind persistence, and pagination.
- Compatibility with OpenCode v2.0.27 API changes.
- BB tools not reaching OpenCode under the desktop app, and cold model lists.