Repository navigation
Fix plugin API audit and Plugin Guide drift found in the marketplace audit - #7207
Merged
Merged
Conversation
…audit - Add an api_to_audit.md entry for experimental_ImageLightbox (shipped in #6122) and list it, with the other composer host components, in the Plugin Guide surfaces. - Replace stale "no consumers" claims with counts from the 2026-11-06 marketplace audit: useSidebarThreads (79 repos), newThreadPanelAction (16, which unblocks item 5), NewThreadComposer, useCodeTheme, usePluginId, useQuestionFormHost, VoiceInputTextarea, and host signals/watches. - Mark the sidebar draft-indicator gap as closed by useSidebarThreadDraft (#4025), and point newThreadPanelAction at experimental_tab instead of the retired threadPanelAction. - Name every remaining prefixed public SDK member in api_to_audit.md and every prefixed value export in surfaces.ts (provider-bridge toolkit and testing kit, native-roots schemas, host context members, test-harness members). Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 2026-11-06 marketplace audit (§3.3) found three drifts. I checked each against the code and the 423 cloned marketplace repos:
experimental_ImageLightboxis a public@get-bb/plugin-sdk/appexport, shipped in Ship bb's composer as the bundled Composer plugin #6122. Neither doc named it. The composer entry mentioned "the image lightbox" only in passing, andsurfaces.tsdid not list it.experimental_useSidebarThreadswas described as having no consumers. It appears in the sources of 79 repos (bb-office among them), and 29 of those replace the thread list.experimental_newThreadPanelActionwas "deferred until an external plugin adopts it". 16 repos register it, taskboard among them. The entry also still compared the slot to the retiredthreadPanelAction.A sweep of every public entry point's bundled types turned up more of the same:
NewThreadComposer,useCodeTheme,usePluginId,useQuestionFormHost,VoiceInputTextarea, and host signals/watches. Worktree and Project checkout use host signals in-repo.useSidebarThreadDraftin Give plugin thread lists the per-row client state bb's rows read #4025.api_to_audit.md, and about 60 prefixed value exports missing fromsurfaces.ts.What changed
docs/api_to_audit.mdexperimental_ImageLightboxentry: behavior, core callers, outside callers and stabilization items.newThreadPanelActionentry now says item 5 can proceed and compares the slot againstexperimental_tab. TheuseSidebarThreadsentry marks item 5 as decided.ExperimentalHostRpcContext.experimental_paths/emitSignal/watchrenderSlot'sexperimental_rpcContractandexperimental_fixedTabTarget, and the internal tunnel fakesplugins/plugin-api-docs/src/surfaces.tsapiSymbolsadditions:experimental_makePanelControllerand the unprefixed testing fixturesPLUGIN_CLI_OUTPUT_MAX_BYTESPluginAppSlots.experimental_newThreadPanelActionLeft out on purpose:
definePluginApp, the entry point every surface uses.No SDK source, wire or CLI changes.
How you verified
turbo run build:types --filter=@get-bb/plugin-sdk) and walked every non-internal entry point's exports with the TypeScript checker. Everyexperimental_/internal_DO_NOT_USE_identifier in the public declarations now appears inapi_to_audit.md. Every prefixed value export, and every root/app/testing value export exceptdefinePluginApp, now appears insurfaces.ts.grep -rlwover the audit's marketplace clones. The search excludednode_modules,dist, vendored tooling,.d.ts, tests and Markdown. I spot-checked the hits for real call sites, and analyzer string tables don't count as registrations.turbo run test typecheck --filter=bb-plugin-plugin-api-docspassed (75 tests). The SDK'sprovider-bridge-scheduled-removalstest, which readsapi_to_audit.md, passed.oxfmt --checkis clean on both files.🤖 Generated with Claude Code