@get-bb/plugin-sdk 0.4.24 → 0.4.27
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-internal-host-policy.d.ts +0 -25
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +0 -200
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +0 -440
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +0 -665
- package/bundled-types/bb-plugin-sdk-testing.d.ts +0 -16
- package/bundled-types/bb-plugin-sdk.d.ts +25 -277
- package/dist/ai-services.js +5 -1
- package/dist/internal/host-policy.js +95 -108
- package/dist/provider-bridge-acp.js +72 -615
- package/dist/provider-bridge-testing.js +175 -579
- package/dist/provider-bridge-worker-entry.mjs +15 -9
- package/dist/provider-bridge.js +62 -557
- package/dist/testing/index.js +133 -114
- package/package.json +1 -1
|
@@ -60,22 +60,6 @@ interface ProviderNativeRootsInputLike {
|
|
|
60
60
|
readonly project?: readonly ProviderNativeRootInput[];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
/**
|
|
64
|
-
* How completely a provider can clone one of its sessions — the single
|
|
65
|
-
* vocabulary shared by the provider declaration
|
|
66
|
-
* (`bb.providers.register`), the server→daemon
|
|
67
|
-
* `bridgeLaunch`, and the bridge's `initialize` handshake.
|
|
68
|
-
*
|
|
69
|
-
* - `"none"`: sessions cannot be cloned at all.
|
|
70
|
-
* - `"tip"`: only the current end of a session can be cloned (ACP
|
|
71
|
-
* `session/fork`), so thread fork works but edit-past-message rewind
|
|
72
|
-
* cannot.
|
|
73
|
-
* - `"checkpoint"`: a session can be recreated at an earlier point, which is
|
|
74
|
-
* what edit-past-message rewind needs.
|
|
75
|
-
*
|
|
76
|
-
* The values are ordered least to most capable: a declaration is a ceiling
|
|
77
|
-
* the handshake may narrow but never widen.
|
|
78
|
-
*/
|
|
79
63
|
declare const PROVIDER_FORK_VALUES: readonly ["none", "tip", "checkpoint"];
|
|
80
64
|
type ProviderFork = (typeof PROVIDER_FORK_VALUES)[number];
|
|
81
65
|
|