@get-bb/plugin-sdk 0.4.6 → 0.4.9

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
@@ -21,6 +21,14 @@ Any mounted plugin component can use
21
21
  same plugin's registered thread-panel actions; it returns false when the
22
22
  current surface has no thread side panel.
23
23
 
24
+ Every panel-open entry point reports the same way: `openThreadPanel` and the
25
+ `openPanel` handed to `threadPanelAction`, `experimental_newThreadPanelAction`,
26
+ and `messageAction` `run` callbacks all return `boolean` — true when the host
27
+ accepted the open, false when it declined (non-JSON `params`, an unavailable
28
+ action id, or a surface with no side panel). A decline is a return value, never
29
+ a thrown error, so a plugin registering several kinds of action can share one
30
+ open routine and branch on the result.
31
+
24
32
  See the
25
33
  [`composer-customization` reference plugin](../../examples/plugins/composer-customization/README.md)
26
34
  for every region in one small app. The deprecated pre-1.0