@get-bb/plugin-sdk 0.6.5 → 0.6.14
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/bundled-types/bb-plugin-sdk-app.d.ts +380 -258
- package/bundled-types/bb-plugin-sdk-host.d.ts +4 -2
- package/bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts +1 -1
- package/bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts +17 -10
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +13 -17
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +8 -6
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +10 -16
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +49 -41
- package/bundled-types/bb-plugin-sdk-testing.d.ts +5 -3
- package/bundled-types/bb-plugin-sdk.d.ts +385 -261
- package/dist/host.js +17 -14
- package/dist/internal/composer-customization-validation.js +20 -6
- package/dist/internal/composer-handle.js +2 -0
- package/dist/internal/host-policy.js +1 -1
- package/dist/internal/plugin-app-collector.js +28 -7
- package/dist/provider-bridge-acp.js +7676 -374
- package/dist/provider-bridge-testing.js +21 -64
- package/dist/provider-bridge-worker-entry.mjs +7 -2
- package/dist/provider-bridge.js +7490 -301
- package/dist/testing/app.js +46 -14
- package/dist/testing/index.js +1 -1
- package/package.json +2 -2
|
@@ -649,7 +649,7 @@ interface PluginProviderCapabilities {
|
|
|
649
649
|
* Provider copy core surfaces render from per-provider tables today (usage
|
|
650
650
|
* banners, sign-in hints, the mobile picker, the agent guide). Declared once
|
|
651
651
|
* here so no core surface keys copy on a provider id. Mirrors
|
|
652
|
-
* `
|
|
652
|
+
* `providerStringsSchema` in `@bb/domain`, which is the client projection.
|
|
653
653
|
*/
|
|
654
654
|
interface PluginProviderStrings {
|
|
655
655
|
/** How to sign in on the host ("Run `claude` on the machine to sign in."). */
|
|
@@ -842,8 +842,10 @@ interface PluginProviderDeclaration {
|
|
|
842
842
|
/** Provider copy for core surfaces ({@link PluginProviderStrings}). */
|
|
843
843
|
strings?: PluginProviderStrings;
|
|
844
844
|
/** Service tiers this provider accepts, as picker options. Non-empty when
|
|
845
|
-
* present, unique ids.
|
|
846
|
-
*
|
|
845
|
+
* present, unique ids. Ids are open: `"default"` is the provider's standard
|
|
846
|
+
* tier and every other id is passed to the bridge as `serviceTier`. A
|
|
847
|
+
* `model/list` entry narrows the list with `supportedServiceTiers`. The
|
|
848
|
+
* coarse `capabilities.supportsServiceTier` stays until WS2a stabilizes. */
|
|
847
849
|
serviceTiers?: readonly PluginProviderOptionDescriptor[];
|
|
848
850
|
/** Reasoning levels as picker options with labels, beside the coarse
|
|
849
851
|
* `capabilities.reasoningLevels` ladder (ids only). Non-empty when present,
|