You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi — heads up on a change that just landed in bb, which will make the plugins here uninstallable on the next bb release. Filing this rather than a PR, because the fix depends on a bb release that does not exist yet.
engines.bbPluginSdk is now a floor, not a ceiling. bb reads the lowest version the range allows and runs the plugin on any SDK at or above it within the same major. A caret range no longer strands a plugin when the SDK moves forward.
The plugin SDK went back to 0.4.3. The 0.4.2 → 0.5.0 bump in Graduate Extensions from experiments get-bb/bb#1360 was a marker for the Extensions graduation, not an API break (the only change was removing the toolsHub experiment key). Read literally, that bump unloaded every installed plugin carrying a caret range.
The effect here
All five plugins declare "bbPluginSdk": "^0.5.0". Under the floor rule that means "needs 0.5.0 or newer", which is above the host, so bb marks them incompatible.
thread-hover-cards and improve-prompt are in bb's official catalog (builtin-registry.ts), so their store install buttons are disabled. That is tracked on our side in get-bb/bb#1572.
Why this is not a PR
The repository's toolchain is pinned to bb release 0.37.0 (24a3211a), which shipped SDK 0.5.0:
tooling/vendor/bb-plugin-sdk-0.5.0.tgz with its sha256 in sdk-provenance.json
tooling/vendor/bb-plugin-build-0.37.0.mjs, which has PLUGIN_SDK_VERSION = "0.5.0" compiled in and stamps every dist/*.meta.json
check-repository.mjs:207 and validate-plugin-artifacts.mjs:222, which assert engines.bbPluginSdk === "^" + vendoredSdkVersion exactly
Editing the manifests alone fails npm run check on the drift assertion. A correct change needs all four of these, and SDK 0.4.3 currently exists only on bb main. Vendoring an unreleased bb build here seemed like your call, not mine.
Suggested fix, once bb ships 0.4.3
Re-vendor @bb/plugin-sdk@0.4.3 and the matching bb plugin build bundle; update both provenance files.
Relax the two validators from exact ^${pluginSdkVersion} equality to a floor range that the vendored SDK satisfies, so a future compatible SDK bump does not require touching every manifest.
Set all five plugins/*/package.json to ">=0.4.3".
Rebuild so dist/*.meta.json stamps 0.4.3, and let CI republish the plugin/<slug> branches.
Update tooling/create-plugin.mjs, which writes ^${pluginSdkVersion}, to emit a floor range.
Happy to open the PR once a release with 0.4.3 is out, if that is useful.
Hi — heads up on a change that just landed in bb, which will make the plugins here uninstallable on the next bb release. Filing this rather than a PR, because the fix depends on a bb release that does not exist yet.
What changed in bb
get-bb/bb#1569 did two things:
engines.bbPluginSdkis now a floor, not a ceiling. bb reads the lowest version the range allows and runs the plugin on any SDK at or above it within the same major. A caret range no longer strands a plugin when the SDK moves forward.0.4.3. The0.4.2→0.5.0bump in Graduate Extensions from experiments get-bb/bb#1360 was a marker for the Extensions graduation, not an API break (the only change was removing thetoolsHubexperiment key). Read literally, that bump unloaded every installed plugin carrying a caret range.The effect here
All five plugins declare
"bbPluginSdk": "^0.5.0". Under the floor rule that means "needs 0.5.0 or newer", which is above the host, so bb marks them incompatible.thread-hover-cardsandimprove-promptare in bb's official catalog (builtin-registry.ts), so their store install buttons are disabled. That is tracked on our side in get-bb/bb#1572.Why this is not a PR
The repository's toolchain is pinned to bb release 0.37.0 (
24a3211a), which shipped SDK 0.5.0:tooling/vendor/bb-plugin-sdk-0.5.0.tgzwith itssha256insdk-provenance.jsontooling/vendor/bb-plugin-build-0.37.0.mjs, which hasPLUGIN_SDK_VERSION = "0.5.0"compiled in and stamps everydist/*.meta.jsoncheck-repository.mjs:207andvalidate-plugin-artifacts.mjs:222, which assertengines.bbPluginSdk === "^" + vendoredSdkVersionexactlyEditing the manifests alone fails
npm run checkon the drift assertion. A correct change needs all four of these, and SDK 0.4.3 currently exists only on bbmain. Vendoring an unreleased bb build here seemed like your call, not mine.Suggested fix, once bb ships 0.4.3
@bb/plugin-sdk@0.4.3and the matchingbb plugin buildbundle; update both provenance files.^${pluginSdkVersion}equality to a floor range that the vendored SDK satisfies, so a future compatible SDK bump does not require touching every manifest.plugins/*/package.jsonto">=0.4.3".dist/*.meta.jsonstamps0.4.3, and let CI republish theplugin/<slug>branches.tooling/create-plugin.mjs, which writes^${pluginSdkVersion}, to emit a floor range.Happy to open the PR once a release with 0.4.3 is out, if that is useful.