Add plugin entry: opencode2 - #107
Open
Flame119052 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What the plugin does
Adds OpenCode 2 as an ACP provider in BB, translates recognized BB
/skillinvocations into OpenCode 2 native skill-tool loads, and shows one shared
OpenCode Go allowance across regular OpenCode and OpenCode 2. The usage UI
uses the rolling five-hour window in the compact sidebar and also renders
weekly/monthly details in Settings, desktop, remote, and mobile clients. It
also shows Cursor plan usage with an independent toggle and a compact,
responsive four-provider layout.
Source release
https://github.com/Flame119052/bb-plugin-opencode2.gitv1.0.1^1.0.0Plugin checks
skill through the native
skilltool without an approval interaction.Marketplace checks
immutable
v1.0.1tag selected by the existing^1.0.0range.Permissions and external services
The plugin is full-trust provider code and launches the locally installed
opencode2CLI. Its optional secret setting is used server-side to query theOpenCode Go usage endpoint; the key is never returned to the browser. The
frontend stores only the last successful usage snapshot for failure recovery.
The usage UI is derived from Mateo Cerquetella's MIT-licensed Usage Tracker,
and the ACP bridge is adapted from BB's MIT-licensed provider-acp plugin. Both
are credited in the included license and third-party notices.