@get-bb/plugin-sdk 0.6.164 → 0.6.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -28,7 +28,7 @@ thread-context action tab resolves against `experimental_newThreadPanelAction`
28
28
  with the same id. `toggleTab(options)` closes the panel when that tab is
29
29
  showing and otherwise opens it, and `close()` closes the panel. Commands,
30
30
  thread actions, message actions and panel actions receive the same controller
31
- as `experimental_panel`.
31
+ as `panel`.
32
32
 
33
33
  Use `UrlLink` for a real anchor that applies BB's current
34
34
  in-app/external-browser preference on ordinary HTTP(S) activation, or
@@ -199,7 +199,9 @@ await scripts.lifecycle.dispose();
199
199
  ```
200
200
 
201
201
  `loadPluginApp` installs the runtime and validates all registrations; pass the
202
- imported module or a thunk. `@get-bb/plugin-sdk/app` exports look the runtime
202
+ imported module or a thunk, and `{ hasServers: true }` to define the app as bb
203
+ Desktop or the mobile app would (`experimental_hasServers()` is false
204
+ otherwise). `@get-bb/plugin-sdk/app` exports look the runtime
203
205
  up when they are called or rendered, so a static import of `app.tsx` or of
204
206
  components works too. `mountPluginContentScripts` mirrors the host's ordered mount,
205
207
  rollback, independent per-window signal, and exact-once disposal. `renderSlot` supplies