Skip to content

fix: allow plugin SDK 0.4.21 (BB 0.40.0 stable) - #2

Open
yazydzhi wants to merge 1 commit into
Willhong:mainfrom
yazydzhi:fix/sdk-0.4.21-compat
Open

yazydzhi wants to merge 1 commit into
Willhong:mainfrom
yazydzhi:fix/sdk-0.4.21-compat

Conversation

@yazydzhi

Copy link
Copy Markdown

Summary

  • Lower engines.bbPluginSdk from >=0.4.22 to >=0.4.21.
  • BB 0.40.0 (current stable) ships plugin SDK 0.4.21, so the previous requirement left the plugin marked incompatible and unloaded (bb plugin list showed usage-limit@0.1.0 incompatible).

The plugin only uses APIs present in 0.4.21 (contentScripts.register, bb.sdk.system.usageLimits, RPC contract). Typecheck and build pass against the vendored 0.4.22 SDK; no runtime dependency on 0.4.22-only APIs.

Test plan

  • npm run typecheck
  • npm run build
  • bb plugin reload usage-limitusage-limit@0.1.0 running on BB 0.40.0 (SDK 0.4.21)

Note

BB 0.40.1-nightly already bundles SDK 0.4.28; this change keeps the plugin usable on stable until the next BB release catches up.

Made with Cursor

BB 0.40.0 ships plugin SDK 0.4.21, so requiring >=0.4.22 left the plugin
incompatible and unloaded. The plugin only uses APIs available in 0.4.21.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant