@phosphorco/bb-plugin-agentation-mentions
v0.2.0
Published
Based on Agentation by Scott Sunarto; adds bb mentions, queued delivery, and verified identity tags to visual feedback.
Readme
Agentation → Mentions
Based on Agentation by Scott Sunarto. This derivative starts from
@smsunarto/bb-plugin-agentation 0.2.2
at exact revision 8bc27b91333e2228607b137d09b195d90e6aecfa. Scott's canonical
Agentation marketplace listing is the maintained visual-annotation plugin.
This separately named package preserves that behavior and adds a bb-native
delivery workflow; agentation-mentions is a namespace distinction, not a
claim that this is an unrelated product.
The original MIT license, the modified [email protected] PolyForm Shield
license, the vendor patch, and complete third-party notices ship with this
plugin.
What the derivative adds
- A composer-action popover previews staged annotations, lets the human choose which ones to attach, and can remove selected items from staging after a confirmation. Attached annotations become one native bb mention.
- Annotation contents enter agent context only when the human attaches that mention or explicitly sends/queues the feedback. Pending annotations do not contribute ambient agent instructions.
bb agentation-mentions send --queueuses bb's durable queued-message API; omitting--queuesends immediately.- At annotation admission, the plugin uses the public bb-identity request
boundary to capture the request-bound actor's presentation, identity, and
evidence as an immutable historical snapshot. Delivery preserves the original comment as the producer-authored body, adds a
minimal per-author sender frame, and keeps derived selector/reply history in an
agent-only
<attached>block. Captured-author snapshots remain in the durable annotation and dispatch history for provenance. LegacyauthorIdentityIdfields are preserved as unresolved historical data; they do not impersonate that person or turn a later queued send into a native person-authored contribution. When no person can be resolved, the stable machine actor is captured and labeled explicitly. This plugin opts into the shared binding'sexternalMessageRendering: "producer"mode so the host does not add a second envelope. - Every agent tool and CLI surface uses the distinct
agentation_mentions_*/bb agentation-mentionsidentity, so it can coexist with canonical Agentation without tool or command collisions.
Everything else remains recognizably Agentation: a toolbar overlays bb and plugin surfaces, captures AFS 1.1 annotations with bb route/plugin context, stores them in the plugin database, exposes a review panel, updates open windows in real time, and lets agents acknowledge, reply, resolve, or dismiss feedback.
Install
bb plugin install npm:@phosphorco/bb-plugin-agentation-mentions@^0.2.0From this repository:
npm ci
npm run build --workspace @phosphorco/bb-plugin-agentation-mentions
bb plugin install path:. --plugin agentation-mentions --yesUse it
- Open the toolbar at the bottom-right of bb, select an element, and write the feedback. The annotation records its DOM selector, available React/source path, bb route, and owning plugin.
- In a thread composer, open the Agentation → Mentions action, select the feedback to include, and add it to the prompt. You can also remove selected staged feedback from this popover; removed items remain in history as dismissed. Deleting an attached mention leaves its annotations staged.
- An agent reads the supplied batch with the
agentation_mentions_*tools and resolves each item after fixing it. The marker disappears from open windows.
The review panel retains cross-page history and reply threads. Staged feedback can also be assigned from the CLI:
bb agentation-mentions pending [--plugin <id>] [--json]
bb agentation-mentions staged [--json]
bb agentation-mentions send [--queue] <threadId> [annotationId…]
bb agentation-mentions restage <annotationId>
bb agentation-mentions sessions
bb agentation-mentions show <annotationId>
bb agentation-mentions acknowledge <annotationId>
bb agentation-mentions resolve <annotationId> [summary…]
bb agentation-mentions dismiss <annotationId> <reason…>
bb agentation-mentions reply <annotationId> <message…>
bb agentation-mentions toolbar [on|off]Data, network, and authority
- Annotation bodies, routing, replies (with their own accepted author snapshots), and retention state are stored locally in this plugin's bb database/KV namespace.
- The toolbar and review panel use bb's plugin RPC, realtime, and same-origin event stream. The plugin contacts no third-party service of its own. Retrieved annotation context is attached explicitly; unresolved counts and annotation bodies are never injected into unrelated agent turns. Context is never expanded into hidden mentions or a second sender. The former captured-author mention provider was not emitted by this toolbar; old encoded author references are not re-resolved as sender text.
- Delivery mutates only the target bb thread: immediate mode sends a prompt; queue mode adds a queued prompt. Captured attribution is source-labelled provenance, not native accepted authorship. Older rows retain their exact legacy identity ID but are shown as unresolved unless an explicit, separately verified recovery path is introduced; the plugin never rewrites them to the current actor.
- Agent tools can change annotation status and replies. They do not edit source code themselves; the calling agent's normal permissions govern any fix.
Resolved annotations are retained for seven days by default. Toolbar visibility
is live state and can be changed with bb agentation-mentions toolbar on|off.
Artwork
The rich in-plugin logo and marketplace icon are Cole-approved AM02-A. The
package preserves the generated 1254px RGB source and the verified RGB24
nearest-neighbor 16/24/32px derivatives byte-for-byte under assets/.
Develop
bb plugin dev plugins/agentation-mentions
npm run test --workspace @phosphorco/bb-plugin-agentation-mentions
npm run typecheck --workspace @phosphorco/bb-plugin-agentation-mentionsSee THIRD_PARTY_NOTICES.md and vendor/README.md for the canonical reduction and React 19 component-detection patch.
