Repository navigation
Conversation
…e plugins The server now returns the curated manifest's category order with catalog search, and the app orders category shelves and filters by it instead of a hardcoded list. Browse overviews in the app and on getbb.app leave collection plugins out of category shelves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… test Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Count plugins featured in collections toward the category total so featuring a plugin no longer hides its category's View all link, while shelves that already show the whole category stay without one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl
added a commit
that referenced
this pull request
Oct 2, 2026
## Human comments ## What was wrong Plugin shelf links in the app said "See all" while getbb.app says "View all" for the same action. ## What changed - App plugin shelf links now read "View all", matching getbb.app. - Screen readers announce "View all <shelf name>". Related PRs: #4671, #4749, and get-bb/marketplace#446 change the same browse shelves. This PR is independent of all three. ## How you verified - Remote CI: passed except `packages-host`, where unrelated `pi` provider parity tests timed out; rerun pending. - Chrome for Testing (Browser Automation): every app shelf link reads "View all" on desktop and mobile. ### Browse plugins overview Before: ecc44c4 (main) · After: 1765101 · Captured at 2× | Screen / state | Viewport | Before | After | | --- | --- | --- | --- | | App · Browse plugins overview | Desktop · 1440×900 |  |  | | App · Browse plugins overview | Mobile · 390×844 |  |  | BB-Thread-ID: thr_a4kxc4rfxg 🤖 Generated with [Claude Code](https://claude.com/claude-code) > AGENT GENERATED Co-authored-by: Claude Opus 5.5 <[email protected]>
brsbl
marked this pull request as ready for review
October 5, 2026 20:33
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
SawyerHood
added a commit
that referenced
this pull request
Oct 5, 2026
## Human comments ## What was wrong getbb.app/marketplace only listed community plugins. The plugins that ship with bb (Memory, Tasks, Docs, Automations, Plugin Guide and others) had no public page, so links like `/marketplace/memory` returned 404 and search engines could not find them. This carries #4608 forward on current `main` with a smaller diff and three fixes. ## What changed Every user-facing built-in plugin now has a marketplace page, and a "BB Official" shelf leads `/marketplace`. ### Pages and shelf - The "BB Official" shelf comes first, above New & notable. "View all" expands it in place. - Cards use the bb mark as the author avatar. - Badges follow the shared install rule: - Plugins installed with bb by default say "Built in" on cards and "Included with bb" on detail pages. - Opt-in official plugins (Tasks, GitHub, Docs, Memory and others) show their install counts. - Detail pages show the right setup step: - `bb plugin install <name>` for official plugins installed on request - `bb plugin enable <id>` for built-ins that are off by default - no command for built-ins that are always on - "View source" links to `get-bb/bb/tree/main/plugins/<name>`. - Internal and adapter plugins stay unlisted: account-pool, agent-annotations, the environment-\* checkouts, plugin-api-tester and the provider-\* adapters. - Built-ins join the sitemap and get share cards. ### Ids and URLs - A built-in's page URL is its plugin id, the same id install counts and the app use. - Built-in ids cannot clash with community ids: #4576 moved the one clash to `bb--provider-usage`, and the marketplace registry rejects reserved ids. - `/marketplace/provider-usage` is the community Provider Usage plugin (unchanged). - `/marketplace/bb--provider-usage` is the built-in. - If a clash ever appears, the community page stays and the built-in is left off the site. ### Data and build - `apps/web` imports the bundled catalog that `@bb/server#generate:bb-official-marketplace` already generates and merges it into the community manifest after parsing. - Only the bundled catalog may use a `{ bundled: { plugin } }` source. A fetched community manifest with one is rejected, so a community entry cannot present itself as built in. - Local SVG icons are served as Vite asset URLs, including when Vite inlines them as `data:` URLs. - `@bb/web#build` depends on the catalog generator through `topo`. `deploy-web.yml` also triggers on every generator input and on plugin icons. ### Differences from #4608 - Removed the compact-slug rename (`/marketplace/providerusage`). It no longer ran, because the ids no longer clash. - bb account, bb cloud AI and bb connect rendered the generic puzzle icon; they now have icons. - The enable command uses the plugin id instead of the source name. - The bundled-source check runs after the shared parse instead of through a second copy of the manifest schema. - Formatting-only hunks are reverted. ### Things to know - Adding a bundled plugin that is opt-in or off by default fails `bundled-marketplace.test.ts` until it is added to the lists in `bundled-marketplace.ts`. The failure names the plugin. - A listed built-in whose icon name has no entry in `marketplace-icons.ts` fails the same test file. - The deploy job uses a shallow clone, so built-ins have no publish dates on getbb.app. They sort last under "New" and never show the "New" badge. - Provider usage and Modal Sandbox have no overview text yet, so their Overview section is empty. ## How you verified - `pnpm exec turbo run build typecheck test lint --filter=@bb/web` passes on this branch (25 files, 170 tests). - `bundled-marketplace.test.ts` covers the clash rule, the unlisted filter, shelf order, category merging, icon fallback, a drift check against the server's plugin registry, and a check that every listed built-in has a web icon. Removing two icon entries made that last test fail and name both plugins. - `marketplace-v2.test.ts`: the community catalog rejects bundled sources; the bundled catalog accepts them. - `public-marketplace.test.tsx`: only default-installed bundled plugins render "Built in"; an opt-in one renders its count. - Browser checks in headless Chrome at 1280×900, against a local build with a local R2 bucket holding a full 327-plugin community catalog and the live install counts. These ran on a local branch that also carried #4671; its `apps/web` differs from this PR by one shelf subtitle string. - `/marketplace`: BB Official shelf first with 30 plugins; "View all" expands to all 30 and the link disappears. - bb account, bb cloud AI and bb connect show their own icons. - `/marketplace/bb--provider-usage` shows the built-in with "Included with bb" and no command; `/marketplace/provider-usage` still shows the community plugin with its install command; `/marketplace/providerusage` is 404. - `/marketplace/simple-notes` shows `bb plugin install docs`; `/marketplace/workflows` shows `bb plugin enable workflows`; `/marketplace/bb-guide` shows no command. - Production build under `vite preview`: Plugin Guide and Modal Sandbox render their SVG icons on the page and on the share card (`/marketplace/og/<id>`); the sitemap lists the built-in pages; no console errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > AGENT GENERATED --------- Co-authored-by: brsbl <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
SawyerHood
added a commit
that referenced
this pull request
Oct 5, 2026
## Human comments ## What was wrong The app ordered category shelves and filters by a hardcoded list, while getbb.app used the marketplace manifest's order. The two lists match today, but they drift as soon as the manifest's order changes, and reordering in the app needed a release. This carries #4671 forward on current `main`. ## What changed - Category shelves and filters in the app follow the marketplace manifest's category order. - Plugin catalog search returns that order in a new `categories` field. The app needs it because it reads plugins from the server, not from the manifest. - The list is the community catalog's categories, followed by any built-in categories it lacks. - The field defaults to `[]`, and the app falls back to the built-in order for anything the list lacks. - No daemon wire change. - `@get-bb/plugin-sdk` moves to 0.6.20 for the new field's types. - getbb.app describes New & notable as "Trending and recently added plugins." ### Differences from #4671 - The SDK bump is 0.6.20. 0.6.19 is already published, so the earlier bump no longer passed the npm version guard. - The server reads the category order from the community catalog only, then appends the built-in list. The bundled catalog's categories are that same built-in list, so walking every reserved catalog gave the same result. ### Related - get-bb/marketplace#483 computes New & notable and the category order from recent installs. The new subtitle assumes it, and the app's order only visibly changes once it publishes. ## How you verified - `pnpm exec turbo run build typecheck test lint` passes for `@bb/web`, `@bb/app`, `@bb/server`, `@bb/server-contract`, `@bb/domain` and `@get-bb/plugin-sdk`. - Both SDK checks pass: the surface check, and the npm version guard (0.6.20 is not on npm yet). - Unit tests cover the server's category list (`plugin-catalog-service.test.ts`) and the app's manifest-ordered shelves (`plugin-browse-discovery.test.ts`). - End to end with a full 327-plugin manifest whose categories were reordered (Security, Command Line, Notifications first): the real catalog service ingested it, the search response passed the contract schema, the served list matched the manifest's order with the built-in-only category appended, and the app's shelf builder produced BB Official, New & notable, Security, Command Line, Notifications, and so on. This ran as a temporary test, not committed. - Not done: driving the Browse tab in a running app. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > AGENT GENERATED Co-authored-by: brsbl <[email protected]> Co-authored-by: Claude Code <[email protected]>
Collaborator
|
Superseded by #4950, which carries this forward on current main and is now merged. |
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.
Human comments
What was wrong
The app ordered category shelves by a hardcoded list, while getbb.app used the marketplace manifest's order. The two could drift, and reordering in the app needed a release.
What changed
categoriesfield.[], so a missing value falls back to the built-in order.@get-bb/plugin-sdkis bumped to 0.6.15 for the new field's types.Related PRs:
How you verified
23a06eddad.getbb.app New & notable subtitle
Before: 025e862 (main) · After: 23a06ed · Captured at 2×, Oct 2
Combined preview with get-bb/marketplace#446
getbb.app with a manifest from #446's build and real PostHog install counts from Oct 1. Categories are reordered by installs. Captured at 2×.
BB-Thread-ID: thr_a4kxc4rfxg
🤖 Generated with Claude Code