Repository navigation
Conversation
ymichael
force-pushed
the
bb/honest-homepagesection-browsertoolbaraction-thre-thr_wzimcbuwmm
branch
3 times, most recently
from
November 20, 2026 19:05
1aac42c to
7b7b491
Compare
homepageSection now receives the project selected in the New thread composer instead of route state, which is always empty on "/" because /projects/:id redirects there. It shares one value with the New thread panel actions. browserToolbarAction's threadId is documented as what it is: the desktop-browser owner key (a thread id on threads, a panel key on the New thread screen and plugin pages). Three community plugins pass it to sdk.experimental_desktopBrowsers, so its value is unchanged. experimental_threadList's searchQuery is retired from the published types via @internal; the host keeps passing "" because community lists call searchQuery.trim() on it. 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]>
ymichael
force-pushed
the
bb/honest-homepagesection-browsertoolbaraction-thre-thr_wzimcbuwmm
branch
from
November 20, 2026 19:11
7b7b491 to
f77e885
Compare
ymichael
deleted the
bb/honest-homepagesection-browsertoolbaraction-thre-thr_wzimcbuwmm
branch
November 20, 2026 19:17
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
Three plugin slot props did not match their types and JSDoc.
homepageSectionreadprojectIdfrom route state. The New thread screen always lives at/, because/projects/:idredirects there, so plugins always gotnull.experimental_browserToolbarAction'sthreadIdwas documented as "Thread that owns the Browser tab". On the New thread screen it is"root-compose", and on plugin pages it is a panel key such asplugin-panel:automations:automations:pane-1. It is really the desktop browser's owner key, whichsdk.experimental_desktopBrowsersalso takes under the namethreadId.experimental_threadList's requiredsearchQueryhas always been""since the sidebar search field was removed.What changed
homepageSection:
RootComposeViewcomputes the composer's project once (surfaceProjectId, null for "No project"). It passes it throughRootComposeSecondaryContenttoPluginHomepageSections, which no longer reads route state. The New thread panel actions use the same value.browserToolbarAction: the runtime value is unchanged and the docs now say what it is:
tabIdtosdk.experimental_desktopBrowsersdocs/api_to_audit.mdMaking it
string | nullwould break 3 of the 10 community plugins that register the slot, because they pass it toexperimental_desktopBrowsers: better-browser (cookie sync and handoff), rebryk annotate (notes on New thread) and doc-review (capture).threadList
searchQuery: marked@internal, like the existing retired members, so published declarations drop it. The host still passes""because 11 community lists read it at runtime, most of them assearchQuery.trim(). I removed the open audit item and added it to Scheduled removals. The bundled thread-list tests no longer pass it.Plugin SDK bumped to 0.6.170.
frontend-hooks-and-ui.mdtrimmed back to the 500-line reference limit; Honour plugin composer and header contributions where they render #7873 left it at 501, failingshipped-skills-quality.test.tson main.No server or daemon wire changes, and no CLI changes.
How you verified
Live,
pnpm desktop:worktree, with a probe plugin that prints its props:projectId, project "QA Alpha"null"proj_…"null"proj_…"threadId"root-compose", plugin-page key, real thread idsearchQuery""""Tests that fail before and pass after:
RootComposeView.contract.test.tsxchecks that homepage sections receive the composer's project for a known, an unset and a deleted project. Against main's source the known-project case fails: expectedproj_alpha, got "no project".bundled-types.test.tschecks that the publishedPluginThreadListPropsdeclares nosearchQuery.PluginThreadList.test.tsxstill covers the runtime"".Commands:
pnpm exec turbo run typecheck --filter='./plugins/*' --filter=@bb/app --filter=@get-bb/plugin-sdkturbo run testfor@get-bb/plugin-sdk,bb-plugin-thread-list,bb-plugin-bb-guideandbb-plugin-plugin-api-docs@bb/appfilesturbo run lintandoxfmt🤖 Generated with Claude Code