Add @Plugin reference example - #2204
Open
brsbl wants to merge 4 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
brsbl
force-pushed
the
bb/at-plugin-example-thr_94xb8a4nk2-v3
branch
from
August 27, 2026 07:51
6f636f5 to
22ca168
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
The generic mention architecture needed an in-repository reference consumer that demonstrates how a plugin can expose searchable identities without owning cross-resource ranking policy. The earlier example also treated description-only hits like identity matches and did not preserve plugin IDs as 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 identity matches ahead of catalog-only fallback matches.Both providers emit bounded plugin-ID aliases through
experimental_searchAliases; the generic client policy decides how those identities compare with other resource sources. 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 remains version
0.1.0withengines.bb >=0.0andengines.bbPluginSdk >=0.4.8. It changes no shared SDK/version/engine floor and does not ship or submit a marketplace plugin.How you verified
bbf34d7960901ca6c5506efec32d552c4b5f4d5d; exact PR head is22ca168b73b6120c112efe8dd9e6bab9a345a993.git diff --checkpassed for the exact child layer.examples/plugins/at-plugin. Five repeated query cycles, four viewport captures, and transition widths 389/390/391, 767/768/769, 1023/1024/1025, and 1919/1920/1921 all passed with no horizontal overflow. Full immutable evidence manifest.Before — the parent has no
@PluginproviderAfter — the exact example adds the installed-plugin result first
Fixes: no issue; this is the reference-consumer layer for the generic mention-relevance stack.
BB-Thread-ID: thr_94xb8a4nk2