Add @Plugin reference example - #2204
Open
brsbl wants to merge 3 commits into
Open
Conversation
brsbl
force-pushed
the
bb/at-plugin-example-thr_94xb8a4nk2-v3
branch
from
August 21, 2026 22:37
8e6a184 to
6f636f5
Compare
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 was wrong
Core had the primitives needed to mention plugins, but no in-repository reference consumer demonstrated the complete intended behavior. The reviewed example also ranked description-only installed-plugin matches alongside identity matches, allowing a description hit to outrank a plugin name or ID substring, and it did not preserve plugin IDs as host-ranked identity aliases.
What changed
Adds
examples/plugins/at-plugin, a backend-only reference plugin named@Pluginwith an AtIcon asset and two providers on the normal@trigger:bb-communitycatalog and returns only compatible, uninstalled entries, with the same identity-first tiers ahead of catalog-only fallback matches.Both providers emit bounded plugin-ID aliases through
experimental_searchAliases; they do not supply numeric ranks. Selection is revalidated at send time. Installed mentions attach advisory context for capabilities already available to the agent, while Community mentions explicitly remain unavailable until the user installs them. Mentioning never grants installation consent or invokes a target plugin.The example keeps version
0.1.0,engines.bb >=0.0, andengines.bbPluginSdk >=0.4.8. It changes no shared SDK/version/engine floor and does not ship or submit a marketplace plugin.How you verified
f1f39af8d30848e875ca50286f666b0ff35e2c68; the layer's stable patch ID is unchanged. Every required GitHub CI job passed at exact head6f636f5ceb00c2e1155eefd6b680021951d4c32f.bb-plugin-at-plugin; direct ESLint and Prettier passed.Before — the parent has no
@PluginproviderAfter — the exact example adds the installed-plugin result first
Fixes: no issue; this is the reference-intent layer for the
@Plugincore stack.BB-Thread-ID: thr_94xb8a4nk2