@get-bb/plugin-sdk 0.6.68 → 0.6.75
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 +2 -2
- package/bundled-types/bb-plugin-sdk-app.d.ts +1138 -348
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +31 -4
- package/bundled-types/bb-plugin-sdk-internal-rpc-query-host.d.ts +6 -1
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +40 -11
- package/bundled-types/bb-plugin-sdk-testing.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk.d.ts +6425 -5651
- package/dist/app.js +103 -4
- package/dist/index.js +21 -0
- package/dist/internal/composer-handle.js +1 -1
- package/dist/internal/plugin-app-collector.js +188 -63
- package/dist/internal/rpc-query-host.js +1169 -27
- package/dist/testing/app.js +1717 -185
- package/dist/testing/index.js +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ write into a composer the user picks use `useComposers()`, one handle per
|
|
|
22
22
|
composer on screen.
|
|
23
23
|
Any mounted plugin component can use
|
|
24
24
|
`useBbNavigate().openThreadPanel(...)` to request one of the
|
|
25
|
-
same plugin's registered panel actions: `
|
|
25
|
+
same plugin's registered panel actions: `experimental_tab` with thread context and action availability in a thread,
|
|
26
26
|
`experimental_newThreadPanelAction` on the New thread screen. It returns false
|
|
27
27
|
on plugin pages, which have no panel actions.
|
|
28
28
|
|
|
@@ -70,7 +70,7 @@ target. The frontend harness records accepted requests in
|
|
|
70
70
|
behavior, and can seed `experimental_fixedTabTarget` state.
|
|
71
71
|
|
|
72
72
|
Every panel-open entry point reports the same way: `openThreadPanel` and the
|
|
73
|
-
`openPanel` handed to `
|
|
73
|
+
`openPanel` handed to `experimental_tab` with thread context and action availability, `experimental_newThreadPanelAction`,
|
|
74
74
|
and `messageAction` `run` callbacks all return `boolean` — true when the host
|
|
75
75
|
accepted the open, false when it declined (non-JSON `params`, an unavailable
|
|
76
76
|
action id, or a surface with no side panel). A decline is a return value, never
|