@get-bb/plugin-sdk 0.6.116 → 0.6.125
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 +3 -1
- package/bundled-types/bb-plugin-sdk-app.d.ts +381 -163
- package/bundled-types/bb-plugin-sdk-internal-file-navigation-validation.d.ts +5 -1
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +68 -1
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +1 -2
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +6 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +5 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +8 -4
- package/bundled-types/bb-plugin-sdk.d.ts +390 -164
- package/dist/app.js +4 -0
- package/dist/internal/file-navigation-validation.js +13 -0
- package/dist/internal/host-policy.js +3 -5
- package/dist/internal/plugin-app-collector.js +2 -13
- package/dist/internal/rpc-query-host.js +9 -5
- package/dist/provider-bridge-acp-next.js +3 -0
- package/dist/provider-bridge-acp.js +3 -0
- package/dist/provider-bridge-testing.js +5 -0
- package/dist/provider-bridge.js +3 -0
- package/dist/testing/app.js +17 -18
- package/dist/testing/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,9 @@ and ill-formed Unicode—have no active href and cannot record a preview in the
|
|
|
49
49
|
frontend harness. Buttons and menus can call
|
|
50
50
|
`experimental_openFilePreview({ target, location })` or
|
|
51
51
|
`experimental_openFileExternally({ target, location })`; both return whether
|
|
52
|
-
the current host accepted the intent.
|
|
52
|
+
the current host accepted the intent. Pass `opener: "<id>"` to
|
|
53
|
+
`experimental_openFilePreview` to show the file with one of your own
|
|
54
|
+
`fileOpener` registrations for that open, as the "Open with" menu does. The
|
|
53
55
|
`experimental_useCanOpenFileExternally(target)` hook reports whether the
|
|
54
56
|
external open can succeed now (false while loading) and re-renders the
|
|
55
57
|
component when that changes; use it to disable an Open externally control.
|