@get-bb/plugin-sdk 0.6.19 → 0.6.26

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.
@@ -6,7 +6,7 @@
6
6
  // and read the real source: https://github.com/get-bb/bb
7
7
 
8
8
  import * as react from 'react';
9
- import { ComponentType, ComponentPropsWithoutRef, CSSProperties, ReactNode } from 'react';
9
+ import { ComponentType, ComponentPropsWithoutRef, CSSProperties, ComponentPropsWithRef, ReactNode } from 'react';
10
10
  import * as z from 'zod';
11
11
  import { z as z$1 } from 'zod';
12
12
  import * as zod_v4_core from 'zod/v4/core';
@@ -58,6 +58,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
58
58
  }>>;
59
59
  providerOrder: z$1.ZodArray<z$1.ZodString>;
60
60
  showDiagnosticEvents: z$1.ZodBoolean;
61
+ showGitChanges: z$1.ZodBoolean;
61
62
  showKeyboardHints: z$1.ZodBoolean;
62
63
  steerActiveThreadOnEnter: z$1.ZodBoolean;
63
64
  streamerMode: z$1.ZodBoolean;
@@ -78,6 +79,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
78
79
  }>>;
79
80
  providerOrder: z$1.ZodArray<z$1.ZodString>;
80
81
  showDiagnosticEvents: z$1.ZodBoolean;
82
+ showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
81
83
  showKeyboardHints: z$1.ZodBoolean;
82
84
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
83
85
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -96,6 +98,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
96
98
  flat: "flat";
97
99
  }>>;
98
100
  providerOrder: z$1.ZodArray<z$1.ZodString>;
101
+ showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
99
102
  showKeyboardHints: z$1.ZodBoolean;
100
103
  showUnhandledProviderEvents: z$1.ZodBoolean;
101
104
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -104,7 +107,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
104
107
  }, z$1.core.$strict>]>;
105
108
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
106
109
 
107
- declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.headerProvider", "sidebar.threadListProvider"];
110
+ declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.headerProvider", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
108
111
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
109
112
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
110
113
  schema: Schema;
@@ -149,6 +152,7 @@ declare const uiPreferenceDefinitions: {
149
152
  readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
150
153
  readonly "sidebar.headerProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
151
154
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
155
+ readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
152
156
  };
153
157
  type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
154
158
  interface UiPreferenceEntry<Key extends UiPreferenceKey = UiPreferenceKey> {
@@ -169,6 +173,8 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
169
173
  "dataDirectory.open": "dataDirectory.open";
170
174
  "diff.toggle": "diff.toggle";
171
175
  "file.quickOpen": "file.quickOpen";
176
+ "history.back": "history.back";
177
+ "history.forward": "history.forward";
172
178
  "logs.openServerDaemon": "logs.openServerDaemon";
173
179
  "modelPicker.cycleModel": "modelPicker.cycleModel";
174
180
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
@@ -206,6 +212,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
206
212
  "panel.toggle": "panel.toggle";
207
213
  "plugins.enterSafeMode": "plugins.enterSafeMode";
208
214
  "plugins.exitSafeMode": "plugins.exitSafeMode";
215
+ "plugins.pruneCache": "plugins.pruneCache";
209
216
  "question.select.1": "question.select.1";
210
217
  "question.select.2": "question.select.2";
211
218
  "question.select.3": "question.select.3";
@@ -353,6 +360,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
353
360
  }>;
354
361
  updatedAt: z$1.ZodNumber;
355
362
  }, z$1.core.$strict>>;
363
+ timelineSequence: z$1.ZodOptional<z$1.ZodNumber>;
356
364
  }, z$1.core.$strict>>;
357
365
  type: z$1.ZodLiteral<"changed">;
358
366
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -394,6 +402,8 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
394
402
  "app-update-changed": "app-update-changed";
395
403
  "config-changed": "config-changed";
396
404
  "environment-availability-changed": "environment-availability-changed";
405
+ "plugin-install-jobs-changed": "plugin-install-jobs-changed";
406
+ "plugin-update-jobs-changed": "plugin-update-jobs-changed";
397
407
  "plugins-changed": "plugins-changed";
398
408
  "provider-registrations-changed": "provider-registrations-changed";
399
409
  "server-move-changed": "server-move-changed";
@@ -493,12 +503,14 @@ type Environment = z$1.infer<typeof environmentSchema>;
493
503
 
494
504
  declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
495
505
  changelogPreview: "changelogPreview";
506
+ navigationRail: "navigationRail";
496
507
  performanceDiagnostics: "performanceDiagnostics";
497
508
  serverMove: "serverMove";
498
509
  }>, z$1.ZodBoolean>;
499
510
  type Experiments = z$1.infer<typeof experimentsSchema>;
500
511
  declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
501
512
  changelogPreview: "changelogPreview";
513
+ navigationRail: "navigationRail";
502
514
  performanceDiagnostics: "performanceDiagnostics";
503
515
  serverMove: "serverMove";
504
516
  }> & z$1.core.$partial, z$1.ZodBoolean>;
@@ -9207,6 +9219,52 @@ declare const pluginApplyUpdateResultSchema: z$1.ZodObject<{
9207
9219
  }, z$1.core.$strip>>;
9208
9220
  }, z$1.core.$strip>;
9209
9221
  type PluginApplyUpdateResult$1 = z$1.infer<typeof pluginApplyUpdateResultSchema>;
9222
+ declare const pluginUpdateJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9223
+ displayName: z$1.ZodString;
9224
+ id: z$1.ZodString;
9225
+ pluginId: z$1.ZodString;
9226
+ state: z$1.ZodLiteral<"queued">;
9227
+ }, z$1.core.$strip>, z$1.ZodObject<{
9228
+ displayName: z$1.ZodString;
9229
+ id: z$1.ZodString;
9230
+ phase: z$1.ZodEnum<{
9231
+ "rolling-back": "rolling-back";
9232
+ activating: "activating";
9233
+ checking: "checking";
9234
+ preparing: "preparing";
9235
+ }>;
9236
+ pluginId: z$1.ZodString;
9237
+ state: z$1.ZodLiteral<"running">;
9238
+ }, z$1.core.$strip>, z$1.ZodObject<{
9239
+ displayName: z$1.ZodString;
9240
+ id: z$1.ZodString;
9241
+ pluginId: z$1.ZodString;
9242
+ result: z$1.ZodObject<{
9243
+ applied: z$1.ZodBoolean;
9244
+ detail: z$1.ZodOptional<z$1.ZodString>;
9245
+ from: z$1.ZodObject<{
9246
+ display: z$1.ZodString;
9247
+ version: z$1.ZodString;
9248
+ }, z$1.core.$strip>;
9249
+ outcome: z$1.ZodEnum<{
9250
+ "rolled-back": "rolled-back";
9251
+ current: "current";
9252
+ updated: "updated";
9253
+ }>;
9254
+ to: z$1.ZodOptional<z$1.ZodObject<{
9255
+ display: z$1.ZodString;
9256
+ version: z$1.ZodString;
9257
+ }, z$1.core.$strip>>;
9258
+ }, z$1.core.$strip>;
9259
+ state: z$1.ZodLiteral<"completed">;
9260
+ }, z$1.core.$strip>, z$1.ZodObject<{
9261
+ displayName: z$1.ZodString;
9262
+ error: z$1.ZodString;
9263
+ id: z$1.ZodString;
9264
+ pluginId: z$1.ZodString;
9265
+ state: z$1.ZodLiteral<"failed">;
9266
+ }, z$1.core.$strip>], "state">;
9267
+ type PluginUpdateJob = z$1.infer<typeof pluginUpdateJobSchema>;
9210
9268
  declare const pluginSourceDetailSchema: z$1.ZodObject<{
9211
9269
  engines: z$1.ZodObject<{
9212
9270
  bb: z$1.ZodOptional<z$1.ZodString>;
@@ -9467,6 +9525,253 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
9467
9525
  }, z$1.core.$strip>>;
9468
9526
  }, z$1.core.$strip>;
9469
9527
  type PluginListResponse = z$1.infer<typeof pluginListResponseSchema>;
9528
+ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9529
+ displayName: z$1.ZodString;
9530
+ id: z$1.ZodString;
9531
+ state: z$1.ZodLiteral<"queued">;
9532
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9533
+ entryId: z$1.ZodString;
9534
+ kind: z$1.ZodLiteral<"catalog">;
9535
+ marketplace: z$1.ZodString;
9536
+ }, z$1.core.$strict>, z$1.ZodObject<{
9537
+ kind: z$1.ZodLiteral<"source">;
9538
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9539
+ kind: z$1.ZodLiteral<"root">;
9540
+ }, z$1.core.$strict>, z$1.ZodObject<{
9541
+ kind: z$1.ZodLiteral<"subdirectory">;
9542
+ path: z$1.ZodString;
9543
+ }, z$1.core.$strict>, z$1.ZodObject<{
9544
+ kind: z$1.ZodLiteral<"entry">;
9545
+ name: z$1.ZodString;
9546
+ }, z$1.core.$strict>], "kind">;
9547
+ source: z$1.ZodString;
9548
+ }, z$1.core.$strict>], "kind">;
9549
+ }, z$1.core.$strip>, z$1.ZodObject<{
9550
+ displayName: z$1.ZodString;
9551
+ id: z$1.ZodString;
9552
+ state: z$1.ZodLiteral<"running">;
9553
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9554
+ entryId: z$1.ZodString;
9555
+ kind: z$1.ZodLiteral<"catalog">;
9556
+ marketplace: z$1.ZodString;
9557
+ }, z$1.core.$strict>, z$1.ZodObject<{
9558
+ kind: z$1.ZodLiteral<"source">;
9559
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9560
+ kind: z$1.ZodLiteral<"root">;
9561
+ }, z$1.core.$strict>, z$1.ZodObject<{
9562
+ kind: z$1.ZodLiteral<"subdirectory">;
9563
+ path: z$1.ZodString;
9564
+ }, z$1.core.$strict>, z$1.ZodObject<{
9565
+ kind: z$1.ZodLiteral<"entry">;
9566
+ name: z$1.ZodString;
9567
+ }, z$1.core.$strict>], "kind">;
9568
+ source: z$1.ZodString;
9569
+ }, z$1.core.$strict>], "kind">;
9570
+ }, z$1.core.$strip>, z$1.ZodObject<{
9571
+ displayName: z$1.ZodString;
9572
+ id: z$1.ZodString;
9573
+ state: z$1.ZodLiteral<"cancelling">;
9574
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9575
+ entryId: z$1.ZodString;
9576
+ kind: z$1.ZodLiteral<"catalog">;
9577
+ marketplace: z$1.ZodString;
9578
+ }, z$1.core.$strict>, z$1.ZodObject<{
9579
+ kind: z$1.ZodLiteral<"source">;
9580
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9581
+ kind: z$1.ZodLiteral<"root">;
9582
+ }, z$1.core.$strict>, z$1.ZodObject<{
9583
+ kind: z$1.ZodLiteral<"subdirectory">;
9584
+ path: z$1.ZodString;
9585
+ }, z$1.core.$strict>, z$1.ZodObject<{
9586
+ kind: z$1.ZodLiteral<"entry">;
9587
+ name: z$1.ZodString;
9588
+ }, z$1.core.$strict>], "kind">;
9589
+ source: z$1.ZodString;
9590
+ }, z$1.core.$strict>], "kind">;
9591
+ }, z$1.core.$strip>, z$1.ZodObject<{
9592
+ displayName: z$1.ZodString;
9593
+ id: z$1.ZodString;
9594
+ plugin: z$1.ZodObject<{
9595
+ app: z$1.ZodObject<{
9596
+ bundle: z$1.ZodNullable<z$1.ZodObject<{
9597
+ compatible: z$1.ZodBoolean;
9598
+ cssUrl: z$1.ZodNullable<z$1.ZodString>;
9599
+ hash: z$1.ZodString;
9600
+ jsBytes: z$1.ZodNumber;
9601
+ jsUrl: z$1.ZodString;
9602
+ sdkMajor: z$1.ZodNumber;
9603
+ sdkVersion: z$1.ZodString;
9604
+ }, z$1.core.$strip>>;
9605
+ hasApp: z$1.ZodBoolean;
9606
+ }, z$1.core.$strip>;
9607
+ capabilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
9608
+ detail: z$1.ZodNullable<z$1.ZodString>;
9609
+ id: z$1.ZodString;
9610
+ kind: z$1.ZodEnum<{
9611
+ "agent-tool": "agent-tool";
9612
+ "thread-integration": "thread-integration";
9613
+ skill: "skill";
9614
+ theme: "theme";
9615
+ }>;
9616
+ label: z$1.ZodString;
9617
+ }, z$1.core.$strip>>>;
9618
+ catalogEntryId: z$1.ZodOptional<z$1.ZodString>;
9619
+ catalogMarketplaceName: z$1.ZodOptional<z$1.ZodString>;
9620
+ category: z$1.ZodOptional<z$1.ZodString>;
9621
+ categoryId: z$1.ZodOptional<z$1.ZodString>;
9622
+ cliCommand: z$1.ZodNullable<z$1.ZodObject<{
9623
+ name: z$1.ZodString;
9624
+ summary: z$1.ZodString;
9625
+ }, z$1.core.$strip>>;
9626
+ collections: z$1.ZodArray<z$1.ZodObject<{
9627
+ id: z$1.ZodString;
9628
+ rank: z$1.ZodNumber;
9629
+ }, z$1.core.$strip>>;
9630
+ description: z$1.ZodNullable<z$1.ZodString>;
9631
+ enabled: z$1.ZodBoolean;
9632
+ handlerStats: z$1.ZodObject<{
9633
+ count: z$1.ZodNumber;
9634
+ errorCount: z$1.ZodNumber;
9635
+ maxMs: z$1.ZodNumber;
9636
+ totalMs: z$1.ZodNumber;
9637
+ }, z$1.core.$strip>;
9638
+ hasSettings: z$1.ZodBoolean;
9639
+ icon: z$1.ZodNullable<z$1.ZodString>;
9640
+ iconUrl: z$1.ZodNullable<z$1.ZodString>;
9641
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
9642
+ id: z$1.ZodString;
9643
+ isOrphanedBuiltin: z$1.ZodBoolean;
9644
+ logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
9645
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
9646
+ name: z$1.ZodNullable<z$1.ZodString>;
9647
+ provenance: z$1.ZodEnum<{
9648
+ builtin: "builtin";
9649
+ catalog: "catalog";
9650
+ direct: "direct";
9651
+ }>;
9652
+ providerIds: z$1.ZodArray<z$1.ZodString>;
9653
+ publishedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
9654
+ publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
9655
+ rootDir: z$1.ZodString;
9656
+ schedules: z$1.ZodArray<z$1.ZodObject<{
9657
+ cron: z$1.ZodString;
9658
+ lastError: z$1.ZodNullable<z$1.ZodString>;
9659
+ lastRunAt: z$1.ZodNullable<z$1.ZodNumber>;
9660
+ lastStatus: z$1.ZodNullable<z$1.ZodEnum<{
9661
+ error: "error";
9662
+ ok: "ok";
9663
+ running: "running";
9664
+ }>>;
9665
+ name: z$1.ZodString;
9666
+ nextRunAt: z$1.ZodNumber;
9667
+ }, z$1.core.$strip>>;
9668
+ screenshots: z$1.ZodArray<z$1.ZodString>;
9669
+ services: z$1.ZodArray<z$1.ZodObject<{
9670
+ name: z$1.ZodString;
9671
+ state: z$1.ZodEnum<{
9672
+ backoff: "backoff";
9673
+ running: "running";
9674
+ stopped: "stopped";
9675
+ }>;
9676
+ }, z$1.core.$strip>>;
9677
+ source: z$1.ZodString;
9678
+ sourceDisplay: z$1.ZodString;
9679
+ status: z$1.ZodEnum<{
9680
+ "needs-configuration": "needs-configuration";
9681
+ degraded: "degraded";
9682
+ disabled: "disabled";
9683
+ error: "error";
9684
+ incompatible: "incompatible";
9685
+ missing: "missing";
9686
+ running: "running";
9687
+ starting: "starting";
9688
+ }>;
9689
+ statusDetail: z$1.ZodNullable<z$1.ZodString>;
9690
+ updateState: z$1.ZodObject<{
9691
+ availableVersion: z$1.ZodOptional<z$1.ZodString>;
9692
+ blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9693
+ blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9694
+ detail: z$1.ZodOptional<z$1.ZodString>;
9695
+ lastCheckAt: z$1.ZodOptional<z$1.ZodNumber>;
9696
+ lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9697
+ at: z$1.ZodNumber;
9698
+ detail: z$1.ZodString;
9699
+ version: z$1.ZodString;
9700
+ }, z$1.core.$strip>>;
9701
+ outcome: z$1.ZodOptional<z$1.ZodEnum<{
9702
+ "update-available": "update-available";
9703
+ current: "current";
9704
+ incompatible: "incompatible";
9705
+ pinned: "pinned";
9706
+ unavailable: "unavailable";
9707
+ }>>;
9708
+ }, z$1.core.$strip>;
9709
+ updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
9710
+ version: z$1.ZodString;
9711
+ }, z$1.core.$strip>;
9712
+ state: z$1.ZodLiteral<"succeeded">;
9713
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9714
+ entryId: z$1.ZodString;
9715
+ kind: z$1.ZodLiteral<"catalog">;
9716
+ marketplace: z$1.ZodString;
9717
+ }, z$1.core.$strict>, z$1.ZodObject<{
9718
+ kind: z$1.ZodLiteral<"source">;
9719
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9720
+ kind: z$1.ZodLiteral<"root">;
9721
+ }, z$1.core.$strict>, z$1.ZodObject<{
9722
+ kind: z$1.ZodLiteral<"subdirectory">;
9723
+ path: z$1.ZodString;
9724
+ }, z$1.core.$strict>, z$1.ZodObject<{
9725
+ kind: z$1.ZodLiteral<"entry">;
9726
+ name: z$1.ZodString;
9727
+ }, z$1.core.$strict>], "kind">;
9728
+ source: z$1.ZodString;
9729
+ }, z$1.core.$strict>], "kind">;
9730
+ }, z$1.core.$strip>, z$1.ZodObject<{
9731
+ displayName: z$1.ZodString;
9732
+ error: z$1.ZodString;
9733
+ id: z$1.ZodString;
9734
+ state: z$1.ZodLiteral<"failed">;
9735
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9736
+ entryId: z$1.ZodString;
9737
+ kind: z$1.ZodLiteral<"catalog">;
9738
+ marketplace: z$1.ZodString;
9739
+ }, z$1.core.$strict>, z$1.ZodObject<{
9740
+ kind: z$1.ZodLiteral<"source">;
9741
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9742
+ kind: z$1.ZodLiteral<"root">;
9743
+ }, z$1.core.$strict>, z$1.ZodObject<{
9744
+ kind: z$1.ZodLiteral<"subdirectory">;
9745
+ path: z$1.ZodString;
9746
+ }, z$1.core.$strict>, z$1.ZodObject<{
9747
+ kind: z$1.ZodLiteral<"entry">;
9748
+ name: z$1.ZodString;
9749
+ }, z$1.core.$strict>], "kind">;
9750
+ source: z$1.ZodString;
9751
+ }, z$1.core.$strict>], "kind">;
9752
+ }, z$1.core.$strip>, z$1.ZodObject<{
9753
+ displayName: z$1.ZodString;
9754
+ id: z$1.ZodString;
9755
+ state: z$1.ZodLiteral<"cancelled">;
9756
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9757
+ entryId: z$1.ZodString;
9758
+ kind: z$1.ZodLiteral<"catalog">;
9759
+ marketplace: z$1.ZodString;
9760
+ }, z$1.core.$strict>, z$1.ZodObject<{
9761
+ kind: z$1.ZodLiteral<"source">;
9762
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9763
+ kind: z$1.ZodLiteral<"root">;
9764
+ }, z$1.core.$strict>, z$1.ZodObject<{
9765
+ kind: z$1.ZodLiteral<"subdirectory">;
9766
+ path: z$1.ZodString;
9767
+ }, z$1.core.$strict>, z$1.ZodObject<{
9768
+ kind: z$1.ZodLiteral<"entry">;
9769
+ name: z$1.ZodString;
9770
+ }, z$1.core.$strict>], "kind">;
9771
+ source: z$1.ZodString;
9772
+ }, z$1.core.$strict>], "kind">;
9773
+ }, z$1.core.$strip>], "state">;
9774
+ type PluginInstallJob$1 = z$1.infer<typeof pluginInstallJobSchema>;
9470
9775
  declare const pluginReloadResponseSchema: z$1.ZodObject<{
9471
9776
  ok: z$1.ZodLiteral<true>;
9472
9777
  plugins: z$1.ZodArray<z$1.ZodObject<{
@@ -9636,6 +9941,17 @@ declare const pluginSafeModeUpdateResponseSchema: z$1.ZodObject<{
9636
9941
  problems: z$1.ZodArray<z$1.ZodString>;
9637
9942
  }, z$1.core.$strip>;
9638
9943
  type PluginSafeModeUpdateResponse = z$1.infer<typeof pluginSafeModeUpdateResponseSchema>;
9944
+ declare const pluginCachePruneResponseSchema: z$1.ZodObject<{
9945
+ bytes: z$1.ZodNumber;
9946
+ dryRun: z$1.ZodBoolean;
9947
+ removed: z$1.ZodArray<z$1.ZodObject<{
9948
+ bytes: z$1.ZodNumber;
9949
+ path: z$1.ZodString;
9950
+ pluginId: z$1.ZodNullable<z$1.ZodString>;
9951
+ version: z$1.ZodString;
9952
+ }, z$1.core.$strip>>;
9953
+ }, z$1.core.$strip>;
9954
+ type PluginCachePruneResponse = z$1.infer<typeof pluginCachePruneResponseSchema>;
9639
9955
  declare const pluginTokenResponseSchema: z$1.ZodObject<{
9640
9956
  ok: z$1.ZodLiteral<true>;
9641
9957
  token: z$1.ZodString;
@@ -9648,6 +9964,11 @@ declare const pluginCatalogStatusSchema: z$1.ZodObject<{
9648
9964
  }, z$1.core.$strip>;
9649
9965
  type PluginCatalogStatus = z$1.infer<typeof pluginCatalogStatusSchema>;
9650
9966
  declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
9967
+ categories: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
9968
+ description: z$1.ZodString;
9969
+ displayName: z$1.ZodString;
9970
+ id: z$1.ZodString;
9971
+ }, z$1.core.$strip>>>;
9651
9972
  collections: z$1.ZodArray<z$1.ZodObject<{
9652
9973
  displayName: z$1.ZodString;
9653
9974
  id: z$1.ZodString;
@@ -10169,6 +10490,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10169
10490
  "dataDirectory.open": "dataDirectory.open";
10170
10491
  "diff.toggle": "diff.toggle";
10171
10492
  "file.quickOpen": "file.quickOpen";
10493
+ "history.back": "history.back";
10494
+ "history.forward": "history.forward";
10172
10495
  "logs.openServerDaemon": "logs.openServerDaemon";
10173
10496
  "modelPicker.cycleModel": "modelPicker.cycleModel";
10174
10497
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
@@ -10206,6 +10529,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10206
10529
  "panel.toggle": "panel.toggle";
10207
10530
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10208
10531
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10532
+ "plugins.pruneCache": "plugins.pruneCache";
10209
10533
  "question.select.1": "question.select.1";
10210
10534
  "question.select.2": "question.select.2";
10211
10535
  "question.select.3": "question.select.3";
@@ -10282,6 +10606,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10282
10606
  }, z$1.core.$strict>>;
10283
10607
  experiments: z$1.ZodRecord<z$1.ZodEnum<{
10284
10608
  changelogPreview: "changelogPreview";
10609
+ navigationRail: "navigationRail";
10285
10610
  performanceDiagnostics: "performanceDiagnostics";
10286
10611
  serverMove: "serverMove";
10287
10612
  }>, z$1.ZodBoolean>;
@@ -10303,6 +10628,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10303
10628
  }>>;
10304
10629
  providerOrder: z$1.ZodArray<z$1.ZodString>;
10305
10630
  showDiagnosticEvents: z$1.ZodBoolean;
10631
+ showGitChanges: z$1.ZodBoolean;
10306
10632
  showKeyboardHints: z$1.ZodBoolean;
10307
10633
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
10308
10634
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -10320,6 +10646,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10320
10646
  "dataDirectory.open": "dataDirectory.open";
10321
10647
  "diff.toggle": "diff.toggle";
10322
10648
  "file.quickOpen": "file.quickOpen";
10649
+ "history.back": "history.back";
10650
+ "history.forward": "history.forward";
10323
10651
  "logs.openServerDaemon": "logs.openServerDaemon";
10324
10652
  "modelPicker.cycleModel": "modelPicker.cycleModel";
10325
10653
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
@@ -10357,6 +10685,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10357
10685
  "panel.toggle": "panel.toggle";
10358
10686
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10359
10687
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10688
+ "plugins.pruneCache": "plugins.pruneCache";
10360
10689
  "question.select.1": "question.select.1";
10361
10690
  "question.select.2": "question.select.2";
10362
10691
  "question.select.3": "question.select.3";
@@ -10413,6 +10742,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10413
10742
  "dataDirectory.open": "dataDirectory.open";
10414
10743
  "diff.toggle": "diff.toggle";
10415
10744
  "file.quickOpen": "file.quickOpen";
10745
+ "history.back": "history.back";
10746
+ "history.forward": "history.forward";
10416
10747
  "logs.openServerDaemon": "logs.openServerDaemon";
10417
10748
  "modelPicker.cycleModel": "modelPicker.cycleModel";
10418
10749
  "modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
@@ -10450,6 +10781,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10450
10781
  "panel.toggle": "panel.toggle";
10451
10782
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10452
10783
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10784
+ "plugins.pruneCache": "plugins.pruneCache";
10453
10785
  "question.select.1": "question.select.1";
10454
10786
  "question.select.2": "question.select.2";
10455
10787
  "question.select.3": "question.select.3";
@@ -10630,6 +10962,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
10630
10962
  }, z$1.core.$strip>, z$1.ZodObject<{
10631
10963
  phase: z$1.ZodLiteral<"restarting">;
10632
10964
  startedAt: z$1.ZodString;
10965
+ targetCommit: z$1.ZodNullable<z$1.ZodString>;
10633
10966
  targetVersion: z$1.ZodString;
10634
10967
  }, z$1.core.$strip>], "phase">;
10635
10968
  available: z$1.ZodNullable<z$1.ZodObject<{
@@ -16687,6 +17020,12 @@ interface PluginCatalogInstallArgs {
16687
17020
  marketplace?: string;
16688
17021
  confirmedSource?: PluginCatalogResolvedSource;
16689
17022
  }
17023
+ interface PluginInstallJobArgs {
17024
+ jobId: string;
17025
+ }
17026
+ interface PluginInstallJobListArgs {
17027
+ signal?: AbortSignal;
17028
+ }
16690
17029
  interface PluginCatalogInstallPlanArgs {
16691
17030
  entryId: string;
16692
17031
  marketplace?: string;
@@ -16749,15 +17088,21 @@ interface PluginGetSafeModeArgs {
16749
17088
  interface PluginSetSafeModeArgs {
16750
17089
  enabled: boolean;
16751
17090
  }
17091
+ interface PluginPruneCacheArgs {
17092
+ dryRun?: boolean;
17093
+ signal?: AbortSignal;
17094
+ }
16752
17095
  type PluginDisableResult = InstalledPlugin;
16753
17096
  type PluginEnableResult = InstalledPlugin;
16754
17097
  type PluginGetSettingsResult = PluginSettingsResponse;
16755
17098
  type PluginInstallResult = InstalledPlugin;
17099
+ type PluginInstallJob = PluginInstallJob$1;
16756
17100
  type PluginListResult = PluginListResponse;
16757
17101
  type PluginReloadResult = PluginReloadResponse;
16758
17102
  type PluginRemoveResult = PluginRemoveResponse;
16759
17103
  type PluginSafeModeResult = PluginSafeModeResponse;
16760
17104
  type PluginSetSafeModeResult = PluginSafeModeUpdateResponse;
17105
+ type PluginPruneCacheResult = PluginCachePruneResponse;
16761
17106
  type PluginTokenResult = PluginTokenResponse;
16762
17107
  type PluginUpdateSettingsResult = PluginSettingsResponse;
16763
17108
  type PluginGetSourceResult = PluginSourceDetail;
@@ -16774,6 +17119,7 @@ interface PluginMarketplaceRemoveResult {
16774
17119
  }
16775
17120
  interface PluginCatalogArea {
16776
17121
  install(args: PluginCatalogInstallArgs): Promise<PluginInstallResult>;
17122
+ startInstall(args: PluginCatalogInstallArgs): Promise<PluginInstallJob>;
16777
17123
  installPlan(args: PluginCatalogInstallPlanArgs): Promise<PluginCatalogInstallPlanResult>;
16778
17124
  search(args: PluginCatalogSearchArgs): Promise<PluginCatalogSearchResult>;
16779
17125
  status(args?: PluginCatalogStatusArgs): Promise<PluginCatalogStatusResult>;
@@ -16784,11 +17130,27 @@ interface PluginMarketplacesArea {
16784
17130
  refresh(args?: PluginMarketplaceRefreshArgs): Promise<PluginMarketplaceRefreshResult>;
16785
17131
  remove(args: PluginMarketplaceRemoveArgs): Promise<PluginMarketplaceRemoveResult>;
16786
17132
  }
17133
+ interface PluginInstallJobsArea {
17134
+ cancel(args: PluginInstallJobArgs): Promise<PluginInstallJob>;
17135
+ get(args: PluginInstallJobArgs): Promise<PluginInstallJob>;
17136
+ list(args?: PluginInstallJobListArgs): Promise<PluginInstallJob[]>;
17137
+ }
17138
+ interface PluginUpdateJobsArea {
17139
+ get(args: {
17140
+ jobId: string;
17141
+ }): Promise<PluginUpdateJob>;
17142
+ list(args?: {
17143
+ signal?: AbortSignal;
17144
+ }): Promise<PluginUpdateJob[]>;
17145
+ }
16787
17146
  interface PluginsArea {
16788
17147
  experimental_discoverRpc(args?: PluginRpcDiscoveryQuery): Promise<PublishedPluginRpcMethod[]>;
16789
17148
  experimental_getSafeMode(args?: PluginGetSafeModeArgs): Promise<PluginSafeModeResult>;
16790
17149
  experimental_setSafeMode(args: PluginSetSafeModeArgs): Promise<PluginSetSafeModeResult>;
17150
+ experimental_pruneCache(args?: PluginPruneCacheArgs): Promise<PluginPruneCacheResult>;
16791
17151
  applyUpdate(args: PluginIdArgs): Promise<PluginApplyUpdateResult>;
17152
+ experimental_startUpdate(args: PluginIdArgs): Promise<PluginUpdateJob>;
17153
+ experimental_updateJobs: PluginUpdateJobsArea;
16792
17154
  callRpc<TOutput>(args: PluginRpcArgs<TOutput>): Promise<TOutput>;
16793
17155
  checkUpdates(args?: PluginCheckUpdatesArgs): Promise<PluginCheckUpdatesResult>;
16794
17156
  catalog: PluginCatalogArea;
@@ -16798,6 +17160,8 @@ interface PluginsArea {
16798
17160
  getSettings(args: PluginGetSettingsArgs): Promise<PluginGetSettingsResult>;
16799
17161
  getSource(args: PluginGetSourceArgs): Promise<PluginGetSourceResult>;
16800
17162
  install(args: PluginInstallArgs): Promise<PluginInstallResult>;
17163
+ startInstall(args: PluginInstallArgs): Promise<PluginInstallJob>;
17164
+ installJobs: PluginInstallJobsArea;
16801
17165
  list(args?: PluginListArgs): Promise<PluginListResult>;
16802
17166
  listUpdateResults(args?: PluginListUpdateResultsArgs): Promise<PluginCheckUpdatesResult>;
16803
17167
  reload(args?: PluginReloadArgs): Promise<PluginReloadResult>;
@@ -17898,6 +18262,26 @@ interface ExperimentalQuestionFormHost {
17898
18262
  */
17899
18263
  registerChoiceHandler(handler: (index: number) => boolean): () => void;
17900
18264
  }
18265
+ /**
18266
+ * Props of the host-owned `experimental_VoiceInputTextarea`: a controlled
18267
+ * textarea with bb's voice input. Other textarea attributes, including `ref`
18268
+ * and `className`, reach the underlying `<textarea>`; the caller styles it and
18269
+ * the host adds room for its microphone controls when voice input is
18270
+ * available.
18271
+ */
18272
+ interface ExperimentalVoiceInputTextareaProps extends Omit<ComponentPropsWithRef<"textarea">, "children" | "defaultValue" | "onChange" | "value"> {
18273
+ value: string;
18274
+ /**
18275
+ * Receives typed edits and finished transcripts, which the host appends to
18276
+ * `value`. Transcripts stay editable and are never submitted.
18277
+ */
18278
+ onValueChange(value: string): void;
18279
+ /**
18280
+ * True from the start of recording until transcription finishes or is
18281
+ * cancelled, and false on unmount. Hold submission while it is true.
18282
+ */
18283
+ onVoiceInputActiveChange?(active: boolean): void;
18284
+ }
17901
18285
  /**
17902
18286
  * Props for a `sidebarFooterAction` — host-rendered (no plugin component).
17903
18287
  * Deliberately empty; the registration's `run` carries the behavior.
@@ -19096,6 +19480,8 @@ interface PluginSidebarThreadActions {
19096
19480
  rename(threadId: string, title: string): Promise<void>;
19097
19481
  /** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
19098
19482
  archive(threadId: string): void;
19483
+ /** Archives an environment's active thread trees with bb's optimistic updates, pane cleanup, and one Undo toast. Rejects after bb shows an error toast on failure. */
19484
+ experimental_archiveEnvironmentThreads(environmentId: string): Promise<void>;
19099
19485
  /**
19100
19486
  * Opens bb's delete confirmation, which counts child threads first. Deletion
19101
19487
  * is destructive and recursive, so the host owns the confirmation: there is
@@ -19341,6 +19727,13 @@ interface ThreadChatMessageReference {
19341
19727
  /** Visible text of the message. */
19342
19728
  text: string;
19343
19729
  sourceSeqEnd: number;
19730
+ /**
19731
+ * The event sequence that recorded this message: the `msg` value of a
19732
+ * message link and the seq that `sdk.threads.message` and
19733
+ * `bb thread log --message` read. For a steer this is its request sequence,
19734
+ * which can differ from the acceptance sequence in `sourceSeqEnd`.
19735
+ */
19736
+ experimental_messageSeq: number;
19344
19737
  }
19345
19738
  /**
19346
19739
  * What a caller that is *not* itself a panel action passes to open one — a
@@ -19382,10 +19775,11 @@ interface PluginMessageActionContext {
19382
19775
  composer: PluginComposerApi | null;
19383
19776
  }
19384
19777
  /**
19385
- * An action on chat messages: an icon button in the per-message action bar
19386
- * (user and assistant messages) and an entry in the assistant-message
19387
- * text-selection menu. Host-rendered chrome — the plugin supplies title,
19388
- * icon, and `run` behavior only. Resolved icon names take precedence over
19778
+ * An action on chat messages in the main thread timeline: an icon button in
19779
+ * the per-message action bar (user and assistant messages) and an entry in
19780
+ * the assistant-message text-selection menu. Embedded `ThreadChat` timelines
19781
+ * do not show slot-registered actions. Host-rendered chrome — the plugin
19782
+ * supplies title, icon, and `run` behavior only. Resolved icon names take precedence over
19389
19783
  * plugin branding; omitted or unknown names fall back to branding.
19390
19784
  */
19391
19785
  interface PluginMessageActionRegistration {
@@ -19406,14 +19800,15 @@ interface PluginCommandContext {
19406
19800
  threadId: string | null;
19407
19801
  projectId: string | null;
19408
19802
  /**
19409
- * Open one of this plugin's `threadPanelAction` components in the current
19410
- * thread's side panel, exactly as `messageAction`'s `openPanel` does.
19803
+ * Open one of this plugin's panel components in the focused side panel.
19804
+ * In a thread, `actionId` resolves against `threadPanelAction`; on the New
19805
+ * thread screen, it resolves against `experimental_newThreadPanelAction`.
19806
+ * Register both slots with the same id to support commands on both screens.
19411
19807
  *
19412
19808
  * Returns true when the host accepted the open; false when it declined —
19413
- * `params` was not a JSON value, the action id names no `threadPanelAction`
19414
- * of this plugin, or the surface has no side panel. Only the main thread
19415
- * view has one, and the palette opens anywhere, so guard with `isAvailable`
19416
- * rather than assuming.
19809
+ * `params` was not a JSON value, the action id names no matching panel action
19810
+ * of this plugin on the focused surface, or the surface has no side panel.
19811
+ * The palette opens anywhere, so guard with `isAvailable` rather than assuming.
19417
19812
  */
19418
19813
  openPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
19419
19814
  }
@@ -20334,8 +20729,9 @@ type ComposerSubmitOptions = {
20334
20729
  /**
20335
20730
  * A consumer-supplied action on the messages of one `ThreadChat` instance,
20336
20731
  * rendered in the embedded timeline's per-message action bar alongside the
20337
- * native and slot-registered actions. Unlike the `messageAction` slot this is
20338
- * scoped to the rendering component, not registered globally.
20732
+ * native actions. Slot-registered `messageAction`s do not appear there. Unlike
20733
+ * the `messageAction` slot this is scoped to the rendering component, not
20734
+ * registered globally.
20339
20735
  */
20340
20736
  interface ThreadChatMessageAction {
20341
20737
  /** Unique within this ThreadChat instance; letters, digits, `-`, `_`. */
@@ -20995,10 +21391,14 @@ interface PluginSdkApp {
20995
21391
  * surfaces without further work. Reserve `useRpc` for work that needs your
20996
21392
  * server: secrets, host files, or your plugin's own storage.
20997
21393
  *
20998
- * Thread title, section, and parent updates are optimistic in bb's surfaces
20999
- * and synchronous calls are applied as one cache transaction. Other writes
21000
- * land when their realtime update does. `experimental_useSidebarThreadActions()`
21001
- * stays the optimistic path for pin, read state, rename, and archive.
21394
+ * Thread title, section, parent, pin, and unpin writes are optimistic in
21395
+ * bb's surfaces. Synchronous calls share one cache transaction; writes to
21396
+ * the same thread execute in order, so unpin and move can be submitted
21397
+ * together. Unarchive, environment-group archive, project/machine/environment
21398
+ * renames, and project/section removal are also optimistic and roll back on
21399
+ * failure. Created sections enter the cache when the server assigns their id.
21400
+ * `experimental_useSidebarThreadActions()` owns navigation, read state,
21401
+ * archive confirmation, and delete confirmation.
21002
21402
  *
21003
21403
  * The client is stable for the plugin's lifetime, so it is safe in effect
21004
21404
  * and callback dependency lists.
@@ -21042,6 +21442,13 @@ interface PluginSdkApp {
21042
21442
  * docs/api_to_audit.md for what to audit before the prefix drops.
21043
21443
  */
21044
21444
  experimental_NewThreadComposer: ComponentType<NewThreadComposerProps>;
21445
+ /**
21446
+ * BB's textarea with voice input (see
21447
+ * {@link ExperimentalVoiceInputTextareaProps}): the same microphone
21448
+ * preference, transcription service, and error handling as the prompt box.
21449
+ * Experimental: see docs/api_to_audit.md.
21450
+ */
21451
+ experimental_VoiceInputTextarea: ComponentType<ExperimentalVoiceInputTextareaProps>;
21045
21452
  /**
21046
21453
  * BB's controlled provider/model/reasoning picker. Provider changes emit
21047
21454
  * only after the new provider's verified defaults and capabilities resolve,
@@ -23506,4 +23913,4 @@ declare function cliCommand<const TOptions extends CliOptions = Record<string, n
23506
23913
  declare function defineCli(spec: PluginCliSpec): PluginCliRegistration;
23507
23914
 
23508
23915
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_defineHostEntry };
23509
- export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
23916
+ export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalVoiceInputTextareaProps, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };