npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@smsunarto/bb-plugin-agentation

v0.1.0

Published

Point at any part of the bb UI — including plugin surfaces — and turn it into structured AFS 1.1 feedback that bb agents can read, answer, and resolve.

Readme

Agentation

Point at the problem instead of describing it.

bb ≥ 0.36 any platform no setup

Agentation puts a visual feedback toolbar over the whole bb interface — the app shell and any surface another plugin drew. Click an element, write what should change, and the annotation records the DOM selector, the React component path, the bb route, and the plugin that owns the element. An agent reads that, fixes the code, and resolves the annotation. The marker disappears from every open bb window.

It is built on Agentation and its AFS 1.1 annotation format. Agent tools are registered natively, so there is no MCP server to run and nothing to configure per agent. The toolbar talks to bb's own origin, so annotating through bb connect works the same as annotating in the desktop app.

What you get

| Surface | What it does | |---|---| | Toolbar | Mounts over the whole bb app, on every route. | | Thread composer banner | Shows the staged batch in every open thread and assigns it there. | | Agentation nav panel | The backlog: triage, reply, resolve, dismiss, and re-stage. | | agentation_* agent tools | Nine tools for the read → fix → resolve loop. | | bb agentation | The same operations from a shell. | | agentation skill | Teaches agents the loop. |

Install

From npm — one command:

bb plugin install npm:@smsunarto/bb-plugin-agentation

From source — clone the repo and install the plugin as a local path source. This is also how you install a change that is not released yet:

git clone https://github.com/smsunarto/bb-plugins.git
cd bb-plugins
bun install
bun run --filter '@smsunarto/bb-plugin-agentation' build
bb plugin install ./plugins/agentation

The source path needs Bun and the bb CLI. Note that bb plugin install git:<url>@<ref> does not work for these plugins: bb reads the manifest at the repository root, so it cannot see plugins/<id>.

The toolbar appears in the bottom-right corner of bb. There is nothing else to set up.

Usage

1. Point at it — click the toolbar in the bottom-right corner of bb, then click any element, including a plugin's own surface. Select several to annotate them together, write what should change, and press Add.

2. Send it to a thread — the annotation lands in a shared staging area, and every open thread shows the same batch above its composer. Press Send N to this thread in the one that should own the work.

Use the row action to discard one staged annotation, or Discard all to discard the batch shown, after confirmation. Discarded feedback moves to the panel's Dismissed view, where you can reopen it.

What an annotation records

On top of the AFS fields, each annotation carries bb context, so an agent knows where to look before it starts grepping.

| Field | Meaning | |---|---| | bb.route | The bb route the annotation was taken on. | | bb.pluginId | Owning plugin, or null for the bb app shell. | | bb.surface | navPanel, inline, or overlay. | | bb.threadId / bb.projectId | Source context resolved from the route. |

Commands

bb agentation pending [--plugin <id>] [--json]   every open annotation
bb agentation staged [--json]                    annotations waiting for a thread
bb agentation send <threadId> [annotationId…]    assign staged annotations
bb agentation restage <annotationId>             return one to staging
bb agentation sessions                           annotated pages
bb agentation show <annotationId>                one annotation in full
bb agentation acknowledge <annotationId>         mark as seen
bb agentation resolve <annotationId> [summary…]  mark as fixed
bb agentation dismiss <annotationId> <reason…>   decline, with a reason
bb agentation reply <annotationId> <message…>    ask the human a question
bb agentation toolbar [on|off]                   show or hide the toolbar

Configuration

| Setting | Purpose | |---|---| | Days to keep resolved annotations | Retention for the nightly prune. Default 7. |

Toolbar visibility is live state, not a setting. Toggle it with Show toolbar / Hide toolbar in the panel header, or with bb agentation toolbar off.

When Agentation has no saved theme, it starts with the opposite of bb's resolved theme: light on dark bb, dark on light bb. Agentation's own theme control then saves your choice, and later bb theme changes do not replace it.

Troubleshooting

The toolbar is not there. Run bb agentation toolbar on, or use Show toolbar in the panel header.

An agent resolved an annotation but the marker is still on the page. The toolbar refreshes within about a second. While the annotation popup holds typed text or the caret, the refresh waits, so that your draft is not lost. Finish or close the note.

An agent cannot find the feedback. Staged annotations belong to no thread yet. Send the batch to a thread, or tell the agent to call agentation_get_all_pending, which reads across every page.

Two panes sent the same batch. The first pane assigns it. The second pane refreshes instead of sending a duplicate. A failed delivery returns the batch to staging.

Develop from source

Install from source as shown under Install. Then run the watcher, which rebuilds and reloads the plugin on every edit:

bb plugin dev plugins/agentation
bun run --filter '@smsunarto/bb-plugin-agentation' test