@get-bb/plugin-sdk 0.6.169 → 0.6.178
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 +156 -22
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +75 -84
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +308 -185
- 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-testing-app.d.ts +19 -5
- package/bundled-types/bb-plugin-sdk-testing.d.ts +226 -93
- package/bundled-types/bb-plugin-sdk.d.ts +272 -58
- package/dist/app.js +12 -0
- package/dist/index.js +20 -0
- package/dist/internal/host-policy.js +46 -5
- package/dist/internal/rpc-query-host.js +12 -0
- package/dist/provider-bridge-acp-next.js +28 -10
- package/dist/provider-bridge-acp.js +28 -10
- package/dist/provider-bridge-testing.js +9 -0
- package/dist/provider-bridge.js +9 -0
- package/dist/testing/app.js +54 -2
- package/dist/testing/index.js +101 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -199,7 +199,9 @@ await scripts.lifecycle.dispose();
|
|
|
199
199
|
```
|
|
200
200
|
|
|
201
201
|
`loadPluginApp` installs the runtime and validates all registrations; pass the
|
|
202
|
-
imported module or a thunk
|
|
202
|
+
imported module or a thunk, and `{ hasServers: true }` to define the app as bb
|
|
203
|
+
Desktop or the mobile app would (`experimental_hasServers()` is false
|
|
204
|
+
otherwise). `@get-bb/plugin-sdk/app` exports look the runtime
|
|
203
205
|
up when they are called or rendered, so a static import of `app.tsx` or of
|
|
204
206
|
components works too. `mountPluginContentScripts` mirrors the host's ordered mount,
|
|
205
207
|
rollback, independent per-window signal, and exact-once disposal. `renderSlot` supplies
|
|
@@ -351,6 +351,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
351
351
|
"thread.rename": "thread.rename";
|
|
352
352
|
"thread.search": "thread.search";
|
|
353
353
|
"window.find": "window.find";
|
|
354
|
+
"window.forceReload": "window.forceReload";
|
|
354
355
|
"window.new": "window.new";
|
|
355
356
|
"window.reload": "window.reload";
|
|
356
357
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
@@ -532,6 +533,8 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
532
533
|
}, z$1.core.$strict>], "entity">;
|
|
533
534
|
type ChangedMessage = z$1.infer<typeof changedMessageSchema>;
|
|
534
535
|
|
|
536
|
+
declare const environmentHolderSchema: z$1.ZodLiteral<"user">;
|
|
537
|
+
type EnvironmentHolder = z$1.infer<typeof environmentHolderSchema>;
|
|
535
538
|
declare const environmentStatusSchema: z$1.ZodEnum<{
|
|
536
539
|
creating: "creating";
|
|
537
540
|
destroyed: "destroyed";
|
|
@@ -564,6 +567,7 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
564
567
|
type: z$1.ZodLiteral<"new">;
|
|
565
568
|
}, z$1.core.$strip>], "type">;
|
|
566
569
|
}, z$1.core.$strip>>;
|
|
570
|
+
heldBy: z$1.ZodNullable<z$1.ZodLiteral<"user">>;
|
|
567
571
|
hostId: z$1.ZodString;
|
|
568
572
|
hostLifecycle: z$1.ZodEnum<{
|
|
569
573
|
"cleanup-failed": "cleanup-failed";
|
|
@@ -605,6 +609,7 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
605
609
|
provisioning: "provisioning";
|
|
606
610
|
ready: "ready";
|
|
607
611
|
}>;
|
|
612
|
+
statusMessage: z$1.ZodNullable<z$1.ZodString>;
|
|
608
613
|
updatedAt: z$1.ZodNumber;
|
|
609
614
|
workspaceProvisionType: z$1.ZodNullable<z$1.ZodEnum<{
|
|
610
615
|
"managed-worktree": "managed-worktree";
|
|
@@ -7762,7 +7767,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7762
7767
|
rootPath: z$1.ZodString;
|
|
7763
7768
|
type: z$1.ZodLiteral<"host.read_file_chunk">;
|
|
7764
7769
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7765
|
-
content: z$1.
|
|
7770
|
+
content: z$1.ZodInstanceOf<Uint8Array<ArrayBuffer>>;
|
|
7766
7771
|
mimeType: z$1.ZodNullable<z$1.ZodString>;
|
|
7767
7772
|
modifiedAtMs: z$1.ZodNumber;
|
|
7768
7773
|
offset: z$1.ZodNumber;
|
|
@@ -10751,6 +10756,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10751
10756
|
"thread.rename": "thread.rename";
|
|
10752
10757
|
"thread.search": "thread.search";
|
|
10753
10758
|
"window.find": "window.find";
|
|
10759
|
+
"window.forceReload": "window.forceReload";
|
|
10754
10760
|
"window.new": "window.new";
|
|
10755
10761
|
"window.reload": "window.reload";
|
|
10756
10762
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
@@ -10929,6 +10935,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10929
10935
|
"thread.rename": "thread.rename";
|
|
10930
10936
|
"thread.search": "thread.search";
|
|
10931
10937
|
"window.find": "window.find";
|
|
10938
|
+
"window.forceReload": "window.forceReload";
|
|
10932
10939
|
"window.new": "window.new";
|
|
10933
10940
|
"window.reload": "window.reload";
|
|
10934
10941
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
@@ -11032,6 +11039,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11032
11039
|
"thread.rename": "thread.rename";
|
|
11033
11040
|
"thread.search": "thread.search";
|
|
11034
11041
|
"window.find": "window.find";
|
|
11042
|
+
"window.forceReload": "window.forceReload";
|
|
11035
11043
|
"window.new": "window.new";
|
|
11036
11044
|
"window.reload": "window.reload";
|
|
11037
11045
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
@@ -14480,6 +14488,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
14480
14488
|
}, z$1.core.$strip>;
|
|
14481
14489
|
}, z$1.core.$strict>>;
|
|
14482
14490
|
total: z$1.ZodNumber;
|
|
14491
|
+
totalCapped: z$1.ZodBoolean;
|
|
14483
14492
|
}, z$1.core.$strict>;
|
|
14484
14493
|
archived: z$1.ZodObject<{
|
|
14485
14494
|
results: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -14576,6 +14585,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
14576
14585
|
}, z$1.core.$strip>;
|
|
14577
14586
|
}, z$1.core.$strict>>;
|
|
14578
14587
|
total: z$1.ZodNumber;
|
|
14588
|
+
totalCapped: z$1.ZodBoolean;
|
|
14579
14589
|
}, z$1.core.$strict>;
|
|
14580
14590
|
}, z$1.core.$strict>;
|
|
14581
14591
|
type ThreadSearchResponse = z$1.infer<typeof threadSearchResponseSchema>;
|
|
@@ -14701,6 +14711,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14701
14711
|
type: z$1.ZodLiteral<"new">;
|
|
14702
14712
|
}, z$1.core.$strip>], "type">;
|
|
14703
14713
|
}, z$1.core.$strip>>;
|
|
14714
|
+
heldBy: z$1.ZodNullable<z$1.ZodLiteral<"user">>;
|
|
14704
14715
|
hostId: z$1.ZodString;
|
|
14705
14716
|
hostLifecycle: z$1.ZodEnum<{
|
|
14706
14717
|
"cleanup-failed": "cleanup-failed";
|
|
@@ -14742,6 +14753,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14742
14753
|
provisioning: "provisioning";
|
|
14743
14754
|
ready: "ready";
|
|
14744
14755
|
}>;
|
|
14756
|
+
statusMessage: z$1.ZodNullable<z$1.ZodString>;
|
|
14745
14757
|
updatedAt: z$1.ZodNumber;
|
|
14746
14758
|
workspaceProvisionType: z$1.ZodNullable<z$1.ZodEnum<{
|
|
14747
14759
|
"managed-worktree": "managed-worktree";
|
|
@@ -18448,9 +18460,16 @@ type EnvironmentPathsResult = WorkspacePathListResponse;
|
|
|
18448
18460
|
type EnvironmentUpdateResult = Environment;
|
|
18449
18461
|
interface EnvironmentListArgs {
|
|
18450
18462
|
environmentProviderId?: string;
|
|
18463
|
+
/** Only environments with this holder: `"user"` or `"plugin:<pluginId>"`. */
|
|
18464
|
+
heldBy?: EnvironmentHolder;
|
|
18451
18465
|
hostId?: string;
|
|
18452
18466
|
instanceKey?: string;
|
|
18453
|
-
|
|
18467
|
+
/**
|
|
18468
|
+
* Page size. A caller that needs every row pages with `offset` until a
|
|
18469
|
+
* page comes back shorter than its `limit`.
|
|
18470
|
+
*/
|
|
18471
|
+
limit: number;
|
|
18472
|
+
/** Rows to skip, in the list's own order; defaults to 0. */
|
|
18454
18473
|
offset?: number;
|
|
18455
18474
|
path?: string;
|
|
18456
18475
|
projectId?: string;
|
|
@@ -18458,6 +18477,25 @@ interface EnvironmentListArgs {
|
|
|
18458
18477
|
status?: EnvironmentStatus;
|
|
18459
18478
|
}
|
|
18460
18479
|
type EnvironmentListResult = Environment[];
|
|
18480
|
+
interface EnvironmentCreateBaseArgs {
|
|
18481
|
+
projectId: string;
|
|
18482
|
+
/** Defaults to the project's default checkout machine. */
|
|
18483
|
+
hostId?: string;
|
|
18484
|
+
/** Defaults to the Worktree provider (Personal workspace for the personal project). */
|
|
18485
|
+
provider?: {
|
|
18486
|
+
id: string;
|
|
18487
|
+
inputs?: JsonValue;
|
|
18488
|
+
};
|
|
18489
|
+
name?: string;
|
|
18490
|
+
}
|
|
18491
|
+
/**
|
|
18492
|
+
* `hold: "user"` keeps the environment until the user deletes it and lets
|
|
18493
|
+
* threads join it.
|
|
18494
|
+
*/
|
|
18495
|
+
type EnvironmentCreateArgs = EnvironmentCreateBaseArgs & {
|
|
18496
|
+
hold: "user";
|
|
18497
|
+
};
|
|
18498
|
+
type EnvironmentCreateResult = Environment;
|
|
18461
18499
|
interface EnvironmentDeleteArgs {
|
|
18462
18500
|
environmentId: string;
|
|
18463
18501
|
}
|
|
@@ -18469,13 +18507,15 @@ interface EnvironmentListProvidersArgs {
|
|
|
18469
18507
|
}
|
|
18470
18508
|
type EnvironmentListProvidersResult = SystemEnvironmentProvider[];
|
|
18471
18509
|
interface EnvironmentsArea {
|
|
18510
|
+
/** Create an environment before any thread exists; setup runs as for a thread. Experimental: see docs/api_to_audit.md. */
|
|
18511
|
+
experimental_create(args: EnvironmentCreateArgs): Promise<EnvironmentCreateResult>;
|
|
18472
18512
|
experimental_cleanup(args: EnvironmentActionArgs & {
|
|
18473
18513
|
recover?: boolean;
|
|
18474
18514
|
}): Promise<OperationResponse>;
|
|
18475
18515
|
archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
|
|
18476
18516
|
commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
|
|
18477
18517
|
get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
|
|
18478
|
-
list(args
|
|
18518
|
+
list(args: EnvironmentListArgs): Promise<EnvironmentListResult>;
|
|
18479
18519
|
listProviders(args?: EnvironmentListProvidersArgs): Promise<EnvironmentListProvidersResult>;
|
|
18480
18520
|
delete(args: EnvironmentDeleteArgs): Promise<EnvironmentDeleteResult>;
|
|
18481
18521
|
paths(args: EnvironmentPathsArgs): Promise<EnvironmentPathsResult>;
|
|
@@ -19517,7 +19557,12 @@ interface ThreadListArgs {
|
|
|
19517
19557
|
sectionId?: string;
|
|
19518
19558
|
hasParent?: boolean;
|
|
19519
19559
|
includeHidden?: boolean;
|
|
19520
|
-
|
|
19560
|
+
/**
|
|
19561
|
+
* Page size. A caller that needs every row pages with `offset` until a
|
|
19562
|
+
* page comes back shorter than its `limit`.
|
|
19563
|
+
*/
|
|
19564
|
+
limit: number;
|
|
19565
|
+
/** Rows to skip, in the list's own order; defaults to 0. */
|
|
19521
19566
|
offset?: number;
|
|
19522
19567
|
originKind?: ThreadListQuery["originKind"];
|
|
19523
19568
|
originPluginId?: string;
|
|
@@ -19978,7 +20023,7 @@ interface ThreadsArea {
|
|
|
19978
20023
|
updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
|
|
19979
20024
|
queue: ThreadQueueArea;
|
|
19980
20025
|
interactions: ThreadInteractionsArea;
|
|
19981
|
-
list(args
|
|
20026
|
+
list(args: ThreadListArgs): Promise<ThreadListResult>;
|
|
19982
20027
|
listRunning(args?: {
|
|
19983
20028
|
signal?: AbortSignal;
|
|
19984
20029
|
}): Promise<ThreadRunningResult>;
|
|
@@ -20089,7 +20134,10 @@ type PluginMentionTrigger = "!" | "#" | "$" | "@" | "~";
|
|
|
20089
20134
|
*/
|
|
20090
20135
|
/** Props passed to a `homepageSection` component. */
|
|
20091
20136
|
interface PluginHomepageSectionProps {
|
|
20092
|
-
/**
|
|
20137
|
+
/**
|
|
20138
|
+
* Project selected in the New thread composer; null when the composer is
|
|
20139
|
+
* set to "No project".
|
|
20140
|
+
*/
|
|
20093
20141
|
projectId: string | null;
|
|
20094
20142
|
}
|
|
20095
20143
|
/**
|
|
@@ -20334,7 +20382,8 @@ interface ExperimentalSidebarNavigationItem {
|
|
|
20334
20382
|
isVisible: boolean;
|
|
20335
20383
|
/**
|
|
20336
20384
|
* A plugin panel remembered from the last session whose bundle has not
|
|
20337
|
-
* registered yet. Activating it
|
|
20385
|
+
* registered yet. Activating it opens the panel's page, which shows the
|
|
20386
|
+
* panel once the bundle loads.
|
|
20338
20387
|
*/
|
|
20339
20388
|
isLoading: boolean;
|
|
20340
20389
|
/**
|
|
@@ -20526,13 +20575,6 @@ interface PluginThreadListProps {
|
|
|
20526
20575
|
* Call after the user opens a thread. It closes the mobile sidebar drawer.
|
|
20527
20576
|
*/
|
|
20528
20577
|
onNavigate: () => void;
|
|
20529
|
-
/**
|
|
20530
|
-
* Compatibility value for the former sidebar search field. BB now searches
|
|
20531
|
-
* threads in the quick palette, so the host always supplies "".
|
|
20532
|
-
*
|
|
20533
|
-
* @deprecated The quick palette owns thread search. Ignore this value.
|
|
20534
|
-
*/
|
|
20535
|
-
searchQuery: string;
|
|
20536
20578
|
}
|
|
20537
20579
|
/** JavaScript world a Browser page expression runs in. */
|
|
20538
20580
|
type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
|
|
@@ -20563,7 +20605,12 @@ interface ExperimentalPluginBrowserPage {
|
|
|
20563
20605
|
onMessage(listener: (data: JsonValue$1) => void): () => void;
|
|
20564
20606
|
}
|
|
20565
20607
|
interface ExperimentalPluginBrowserToolbarActionProps {
|
|
20566
|
-
/**
|
|
20608
|
+
/**
|
|
20609
|
+
* Owner of the Browser tab. In a thread's side panel it is the thread id. On
|
|
20610
|
+
* the New thread screen and plugin pages it is an opaque panel key that is
|
|
20611
|
+
* not a thread id. Pass it with `tabId` as the `threadId` of
|
|
20612
|
+
* `sdk.experimental_desktopBrowsers` calls to reach this tab.
|
|
20613
|
+
*/
|
|
20567
20614
|
threadId: string;
|
|
20568
20615
|
/** Browser tab currently rendering the action. */
|
|
20569
20616
|
tabId: string;
|
|
@@ -22102,6 +22149,11 @@ interface PluginThreadActionTarget {
|
|
|
22102
22149
|
pinnedAt: number | null;
|
|
22103
22150
|
sectionId: string | null;
|
|
22104
22151
|
isUnread: boolean;
|
|
22152
|
+
/**
|
|
22153
|
+
* True for threads bb keeps out of its own list, such as side chats; pins
|
|
22154
|
+
* and sections on them have no visible effect.
|
|
22155
|
+
*/
|
|
22156
|
+
isHidden: boolean;
|
|
22105
22157
|
status: ThreadStatus;
|
|
22106
22158
|
/**
|
|
22107
22159
|
* The thread's environment when a new thread can reuse it, null otherwise.
|
|
@@ -22243,7 +22295,8 @@ interface PluginThreadActionRegistration<Data = undefined> {
|
|
|
22243
22295
|
* (see {@link PluginThreadActionsContextMenuProps}). Pure and
|
|
22244
22296
|
* synchronous like `item`, with every selected thread in `useData`'s
|
|
22245
22297
|
* `threadIds`; `run` acts on all of them. Omit it, or return null, to leave
|
|
22246
|
-
* the action out of selection menus.
|
|
22298
|
+
* the action out of selection menus. Unused with `placement: "header"`,
|
|
22299
|
+
* which selection menus leave out. Experimental: see docs/api_to_audit.md.
|
|
22247
22300
|
*/
|
|
22248
22301
|
experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
|
|
22249
22302
|
}
|
|
@@ -22251,9 +22304,11 @@ interface PluginThreadActionRegistration<Data = undefined> {
|
|
|
22251
22304
|
* Where a thread action shows.
|
|
22252
22305
|
*
|
|
22253
22306
|
* - `"menu"`: every thread actions menu and the quick-action picker.
|
|
22254
|
-
* - `"header"`: only the open thread's header, as an outline button
|
|
22255
|
-
*
|
|
22256
|
-
*
|
|
22307
|
+
* - `"header"`: only the open thread's header, as an outline button with the
|
|
22308
|
+
* action's `icon` and `label`, after the workspace's Open button. `detail`
|
|
22309
|
+
* is the button's tooltip and `variant: "destructive"` colors it. Several
|
|
22310
|
+
* header actions share one split button, the first as its main action and
|
|
22311
|
+
* the rest as menu rows drawn like the thread menu's. At
|
|
22257
22312
|
* compact width and in narrow split panes the buttons fold into the
|
|
22258
22313
|
* header's thread menu as rows at its top, after Open. `group` and `order`
|
|
22259
22314
|
* sort header actions among themselves. Header actions never appear in
|
|
@@ -23242,6 +23297,26 @@ interface ExperimentalMessageMetadataRegistration {
|
|
|
23242
23297
|
}
|
|
23243
23298
|
/** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
|
|
23244
23299
|
type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
|
|
23300
|
+
/**
|
|
23301
|
+
* bb's own Archive and Delete flows, the ones its thread menus and selection
|
|
23302
|
+
* menu run. Each takes thread ids, fetches any thread the app has not loaded,
|
|
23303
|
+
* counts child threads on the server, and confirms once for the whole list:
|
|
23304
|
+
* Delete always, Archive when a tree has child threads outside the list and
|
|
23305
|
+
* archive confirmation is on in Settings → General. Archive then removes the
|
|
23306
|
+
* threads, closes their split panes, leaves a route that showed one of them,
|
|
23307
|
+
* and shows one Undo toast that restores the threads and the route. Delete
|
|
23308
|
+
* cleans up panes and routes the same way and has no Undo.
|
|
23309
|
+
*
|
|
23310
|
+
* The promise resolves once the flow settles: done, cancelled in the dialog,
|
|
23311
|
+
* or failed after bb has shown its error toast. It never rejects. Archive
|
|
23312
|
+
* skips threads that are already archived. Server code should call
|
|
23313
|
+
* `bb.sdk.threads.archive` instead, which has no confirmation or Undo.
|
|
23314
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23315
|
+
*/
|
|
23316
|
+
interface ExperimentalThreadRequests {
|
|
23317
|
+
requestArchive(threadIds: readonly string[]): Promise<void>;
|
|
23318
|
+
requestDelete(threadIds: readonly string[]): Promise<void>;
|
|
23319
|
+
}
|
|
23245
23320
|
/**
|
|
23246
23321
|
* What every plugin callback's context carries besides its own fields:
|
|
23247
23322
|
* commands, message actions, thread actions, panel and New thread panel
|
|
@@ -23258,6 +23333,23 @@ interface ExperimentalPluginActionContext {
|
|
|
23258
23333
|
navigate: BbNavigate;
|
|
23259
23334
|
/** The side panel of the surface that invoked the callback. */
|
|
23260
23335
|
panel: ExperimentalPanelController;
|
|
23336
|
+
/**
|
|
23337
|
+
* The composer this callback acts on, bound to this plugin like
|
|
23338
|
+
* `useComposers()` handles. A composer command or menu item gets the
|
|
23339
|
+
* handling composer; a message action gets the composer of the message's
|
|
23340
|
+
* thread. Every other callback gets the focused surface's active composer:
|
|
23341
|
+
* the one holding the caret, or the one that held it before focus moved into
|
|
23342
|
+
* the command palette, a dialog, a popover or an overlay; otherwise the
|
|
23343
|
+
* surface's main composer; otherwise null, as on a plugin page without a
|
|
23344
|
+
* composer. Read in app-wide components with
|
|
23345
|
+
* `experimental_useActiveComposer()`. Experimental: see docs/api_to_audit.md.
|
|
23346
|
+
*/
|
|
23347
|
+
composer: PluginComposerApi | null;
|
|
23348
|
+
/**
|
|
23349
|
+
* bb's own Archive and Delete flows (see {@link ExperimentalThreadRequests}),
|
|
23350
|
+
* the same object `experimental_useThreadRequests()` returns in components.
|
|
23351
|
+
*/
|
|
23352
|
+
threadRequests: ExperimentalThreadRequests;
|
|
23261
23353
|
}
|
|
23262
23354
|
/**
|
|
23263
23355
|
* Context handed to a composer command's or composer menu item's `run`.
|
|
@@ -23905,7 +23997,13 @@ type PluginComposerScope = {
|
|
|
23905
23997
|
interface ComposerCustomization {
|
|
23906
23998
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
23907
23999
|
id: string;
|
|
23908
|
-
/**
|
|
24000
|
+
/**
|
|
24001
|
+
* Composer kinds where this customization is active; omit for all kinds.
|
|
24002
|
+
* The sent-message editor reports `"thread"` and runs only what the user
|
|
24003
|
+
* invokes there: `plusMenu` rows, the popups they open, and composer
|
|
24004
|
+
* commands. It mounts no `actions`, `banners`, `sendMenu` rows or
|
|
24005
|
+
* `richText` effects.
|
|
24006
|
+
*/
|
|
23909
24007
|
scopes?: readonly PluginComposerScope["kind"][];
|
|
23910
24008
|
/**
|
|
23911
24009
|
* Controls rendered in the composer's action row, before the voice, stop
|
|
@@ -25081,6 +25179,13 @@ interface ExperimentalServers {
|
|
|
25081
25179
|
servers: readonly ExperimentalServer[];
|
|
25082
25180
|
/** Switch this client to the server and reload the page on it, unloading every plugin. Ignores the active server and unknown ids. */
|
|
25083
25181
|
switchTo(id: string): void;
|
|
25182
|
+
/** Open the client's own add-server screen: bb Desktop's Add Server dialog or the mobile app's Add server screen. Null when the client has none, such as an app from before this API. */
|
|
25183
|
+
addServer: (() => void) | null;
|
|
25184
|
+
/** Set while bb Desktop can't list the user's account servers until they sign in to bb Connect. `label` is the desktop's own wording, also used in its Server menu; `start()` opens the sign-in window. Always null on the mobile app. */
|
|
25185
|
+
accountSignIn: {
|
|
25186
|
+
label: string;
|
|
25187
|
+
start(): void;
|
|
25188
|
+
} | null;
|
|
25084
25189
|
}
|
|
25085
25190
|
/**
|
|
25086
25191
|
* Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
|
|
@@ -25196,6 +25301,13 @@ interface PluginSdkApp {
|
|
|
25196
25301
|
* offers. Null when the client keeps no server list: any web browser.
|
|
25197
25302
|
*/
|
|
25198
25303
|
experimental_useServers(): ExperimentalServers | null;
|
|
25304
|
+
/**
|
|
25305
|
+
* True on clients that keep a server list (bb Desktop and the mobile app),
|
|
25306
|
+
* where `experimental_useServers()` returns a value; false in a web browser.
|
|
25307
|
+
* Fixed for the life of the page, so a plugin can read it inside
|
|
25308
|
+
* `definePluginApp` to register server controls only where they work.
|
|
25309
|
+
*/
|
|
25310
|
+
experimental_hasServers(): boolean;
|
|
25199
25311
|
/**
|
|
25200
25312
|
* The side panel of the surface the calling component renders in: the
|
|
25201
25313
|
* thread view, the plugin page, or the New thread screen.
|
|
@@ -25226,6 +25338,18 @@ interface PluginSdkApp {
|
|
|
25226
25338
|
* changes.
|
|
25227
25339
|
*/
|
|
25228
25340
|
useComposers(): readonly PluginComposerApi[];
|
|
25341
|
+
/**
|
|
25342
|
+
* The focused surface's active composer, the value plain commands read as
|
|
25343
|
+
* `context.composer`: the composer holding the caret, or the one that held
|
|
25344
|
+
* it before focus moved into the command palette, a dialog, a popover or an
|
|
25345
|
+
* overlay; otherwise the surface's main composer; otherwise null. For
|
|
25346
|
+
* app-wide components such as overlays and plugin pages; inside a composer
|
|
25347
|
+
* slot use `useComposer()`. The handle names the same composer as the
|
|
25348
|
+
* `useComposers()` entry with its `key`. The calling component re-renders
|
|
25349
|
+
* when the active composer or its draft changes. Experimental: see
|
|
25350
|
+
* docs/api_to_audit.md.
|
|
25351
|
+
*/
|
|
25352
|
+
experimental_useActiveComposer(): PluginComposerApi | null;
|
|
25229
25353
|
/**
|
|
25230
25354
|
* The sidebar's live thread view (see {@link PluginSidebarThreadsState}).
|
|
25231
25355
|
* Reads the host's own cache and realtime subscriptions, so it costs no
|
|
@@ -25245,6 +25369,13 @@ interface PluginSdkApp {
|
|
|
25245
25369
|
/** Defaults to active threads only. An empty selection also means active. */
|
|
25246
25370
|
experimental_lifecycles: readonly ("active" | "archived")[];
|
|
25247
25371
|
}): PluginSidebarThreadsState;
|
|
25372
|
+
/**
|
|
25373
|
+
* bb's Archive and Delete flows for any thread ids, with its confirmation,
|
|
25374
|
+
* child counts, Undo and error toast (see
|
|
25375
|
+
* {@link ExperimentalThreadRequests}). Callbacks get the same object as
|
|
25376
|
+
* their context's `threadRequests`. Experimental: see docs/api_to_audit.md.
|
|
25377
|
+
*/
|
|
25378
|
+
experimental_useThreadRequests(): ExperimentalThreadRequests;
|
|
25248
25379
|
/**
|
|
25249
25380
|
* Archive an environment's active thread trees the way bb's own list does:
|
|
25250
25381
|
* optimistic removal, closing their split panes, leaving a route that shows
|
|
@@ -25785,10 +25916,12 @@ declare const useBbNavigate: () => BbNavigate;
|
|
|
25785
25916
|
declare const experimental_useCanOpenFileExternally: (target: ExperimentalLiveFileTarget) => boolean;
|
|
25786
25917
|
declare const experimental_useTabVisible: () => boolean;
|
|
25787
25918
|
declare const experimental_useServers: () => ExperimentalServers | null;
|
|
25919
|
+
declare const experimental_hasServers: () => boolean;
|
|
25788
25920
|
declare const experimental_useAppPanel: () => ExperimentalPanelController;
|
|
25789
25921
|
declare const experimental_useFixedTabTarget: <Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>) => ExperimentalFixedTabTargetState<Target> | null;
|
|
25790
25922
|
declare const useComposer: () => PluginComposerApi;
|
|
25791
25923
|
declare const useComposers: () => readonly PluginComposerApi[];
|
|
25924
|
+
declare const experimental_useActiveComposer: () => PluginComposerApi | null;
|
|
25792
25925
|
declare const experimental_useComposerRenderer: () => ExperimentalComposerRendererApi;
|
|
25793
25926
|
declare const experimental_useThreadTitleDisplayText: (title: string) => string;
|
|
25794
25927
|
declare const experimental_useComposerContributions: () => ExperimentalComposerContributions;
|
|
@@ -25812,6 +25945,7 @@ declare const experimental_useSidebarThreads: (options?: {
|
|
|
25812
25945
|
experimental_lifecycles: readonly ("active" | "archived")[];
|
|
25813
25946
|
}) => PluginSidebarThreadsState;
|
|
25814
25947
|
declare const experimental_useThreadActions: (thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions) => readonly PluginThreadActionEntry[];
|
|
25948
|
+
declare const experimental_useThreadRequests: () => ExperimentalThreadRequests;
|
|
25815
25949
|
declare const experimental_useArchiveEnvironmentThreads: () => (environmentId: string) => Promise<void>;
|
|
25816
25950
|
declare const experimental_useThreadActionRegistrations: () => readonly PluginThreadActionRegistrationInfo[];
|
|
25817
25951
|
declare const experimental_ThreadActionsMenu: react.ComponentType<PluginThreadActionsMenuProps>;
|
|
@@ -25844,5 +25978,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
|
|
|
25844
25978
|
declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
|
|
25845
25979
|
declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
|
|
25846
25980
|
|
|
25847
|
-
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_matchesShortcutKey, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_sliceUtf16Head, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
25848
|
-
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerActionContext, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginPanelPage, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutKeyEvent, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
25981
|
+
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_hasServers, experimental_matchesShortcutKey, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_sliceUtf16Head, experimental_useActiveComposer, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadRequests, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
25982
|
+
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerActionContext, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginPanelPage, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutKeyEvent, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRequests, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|