@get-bb/plugin-sdk 0.6.99 → 0.6.104

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.
@@ -212,7 +212,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
212
212
  }, z$1.core.$strict>]>;
213
213
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
214
214
 
215
- declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "composer.provider", "infoPanel.collapsedSections"];
215
+ declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned"];
216
216
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
217
217
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
218
218
  schema: Schema;
@@ -248,6 +248,7 @@ declare const uiPreferenceDefinitions: {
248
248
  readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
249
249
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
250
250
  readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
251
+ readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
251
252
  readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
252
253
  };
253
254
  type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
@@ -308,6 +309,9 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
308
309
  "plugins.enterSafeMode": "plugins.enterSafeMode";
309
310
  "plugins.exitSafeMode": "plugins.exitSafeMode";
310
311
  "plugins.pruneCache": "plugins.pruneCache";
312
+ "question.cancel": "question.cancel";
313
+ "question.next": "question.next";
314
+ "question.previous": "question.previous";
311
315
  "question.select.1": "question.select.1";
312
316
  "question.select.2": "question.select.2";
313
317
  "question.select.3": "question.select.3";
@@ -317,6 +321,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
317
321
  "question.select.7": "question.select.7";
318
322
  "question.select.8": "question.select.8";
319
323
  "question.select.9": "question.select.9";
324
+ "question.submit": "question.submit";
320
325
  "settings.open": "settings.open";
321
326
  "settings.openServers": "settings.openServers";
322
327
  "sidebar.toggle": "sidebar.toggle";
@@ -606,8 +611,11 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
606
611
  changelogPreview: "changelogPreview";
607
612
  compactExpiredCache: "compactExpiredCache";
608
613
  performanceDiagnostics: "performanceDiagnostics";
614
+ pluginUpdates: "pluginUpdates";
609
615
  serverMove: "serverMove";
610
616
  sidebarMultiSelect: "sidebarMultiSelect";
617
+ skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
618
+ threadContextCard: "threadContextCard";
611
619
  threadRowMetadata: "threadRowMetadata";
612
620
  timelinePush: "timelinePush";
613
621
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
@@ -619,8 +627,11 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
619
627
  changelogPreview: "changelogPreview";
620
628
  compactExpiredCache: "compactExpiredCache";
621
629
  performanceDiagnostics: "performanceDiagnostics";
630
+ pluginUpdates: "pluginUpdates";
622
631
  serverMove: "serverMove";
623
632
  sidebarMultiSelect: "sidebarMultiSelect";
633
+ skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
634
+ threadContextCard: "threadContextCard";
624
635
  threadRowMetadata: "threadRowMetadata";
625
636
  timelinePush: "timelinePush";
626
637
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
@@ -782,9 +793,11 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
782
793
  providerThreadId: z$1.ZodString;
783
794
  status: z$1.ZodEnum<{
784
795
  active: "active";
796
+ blocked: "blocked";
785
797
  budgetLimited: "budgetLimited";
786
798
  complete: "complete";
787
799
  paused: "paused";
800
+ usageLimited: "usageLimited";
788
801
  }>;
789
802
  threadId: z$1.ZodString;
790
803
  timeUsedSeconds: z$1.ZodNumber;
@@ -8654,11 +8667,13 @@ type HostProviderCliInstallEvent = ProviderCliInstallEvent;
8654
8667
 
8655
8668
  declare const pluginUpdateCheckEntrySchema: z$1.ZodObject<{
8656
8669
  blocked: z$1.ZodOptional<z$1.ZodObject<{
8670
+ label: z$1.ZodString;
8657
8671
  reasons: z$1.ZodArray<z$1.ZodString>;
8658
8672
  version: z$1.ZodString;
8659
8673
  }, z$1.core.$strip>>;
8660
8674
  candidate: z$1.ZodOptional<z$1.ZodObject<{
8661
8675
  display: z$1.ZodString;
8676
+ label: z$1.ZodString;
8662
8677
  version: z$1.ZodString;
8663
8678
  }, z$1.core.$strip>>;
8664
8679
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -8666,6 +8681,7 @@ declare const pluginUpdateCheckEntrySchema: z$1.ZodObject<{
8666
8681
  id: z$1.ZodString;
8667
8682
  installed: z$1.ZodObject<{
8668
8683
  display: z$1.ZodString;
8684
+ label: z$1.ZodString;
8669
8685
  version: z$1.ZodString;
8670
8686
  }, z$1.core.$strip>;
8671
8687
  outcome: z$1.ZodEnum<{
@@ -8682,6 +8698,7 @@ declare const pluginApplyUpdateResultSchema: z$1.ZodObject<{
8682
8698
  detail: z$1.ZodOptional<z$1.ZodString>;
8683
8699
  from: z$1.ZodObject<{
8684
8700
  display: z$1.ZodString;
8701
+ label: z$1.ZodString;
8685
8702
  version: z$1.ZodString;
8686
8703
  }, z$1.core.$strip>;
8687
8704
  outcome: z$1.ZodEnum<{
@@ -8691,6 +8708,7 @@ declare const pluginApplyUpdateResultSchema: z$1.ZodObject<{
8691
8708
  }>;
8692
8709
  to: z$1.ZodOptional<z$1.ZodObject<{
8693
8710
  display: z$1.ZodString;
8711
+ label: z$1.ZodString;
8694
8712
  version: z$1.ZodString;
8695
8713
  }, z$1.core.$strip>>;
8696
8714
  }, z$1.core.$strip>;
@@ -8720,6 +8738,7 @@ declare const pluginUpdateJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8720
8738
  detail: z$1.ZodOptional<z$1.ZodString>;
8721
8739
  from: z$1.ZodObject<{
8722
8740
  display: z$1.ZodString;
8741
+ label: z$1.ZodString;
8723
8742
  version: z$1.ZodString;
8724
8743
  }, z$1.core.$strip>;
8725
8744
  outcome: z$1.ZodEnum<{
@@ -8729,6 +8748,7 @@ declare const pluginUpdateJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8729
8748
  }>;
8730
8749
  to: z$1.ZodOptional<z$1.ZodObject<{
8731
8750
  display: z$1.ZodString;
8751
+ label: z$1.ZodString;
8732
8752
  version: z$1.ZodString;
8733
8753
  }, z$1.core.$strip>>;
8734
8754
  }, z$1.core.$strip>;
@@ -8859,7 +8879,9 @@ declare const installedPluginSchema: z$1.ZodObject<{
8859
8879
  }>;
8860
8880
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
8861
8881
  updateState: z$1.ZodObject<{
8882
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
8862
8883
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
8884
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
8863
8885
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
8864
8886
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
8865
8887
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -8867,6 +8889,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
8867
8889
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
8868
8890
  at: z$1.ZodNumber;
8869
8891
  detail: z$1.ZodString;
8892
+ label: z$1.ZodString;
8870
8893
  version: z$1.ZodString;
8871
8894
  }, z$1.core.$strip>>;
8872
8895
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -8980,7 +9003,9 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
8980
9003
  }>;
8981
9004
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
8982
9005
  updateState: z$1.ZodObject<{
9006
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
8983
9007
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
9008
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
8984
9009
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
8985
9010
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
8986
9011
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -8988,6 +9013,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
8988
9013
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
8989
9014
  at: z$1.ZodNumber;
8990
9015
  detail: z$1.ZodString;
9016
+ label: z$1.ZodString;
8991
9017
  version: z$1.ZodString;
8992
9018
  }, z$1.core.$strip>>;
8993
9019
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -9167,7 +9193,9 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9167
9193
  }>;
9168
9194
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
9169
9195
  updateState: z$1.ZodObject<{
9196
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
9170
9197
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
9198
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
9171
9199
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9172
9200
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9173
9201
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -9175,6 +9203,7 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9175
9203
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9176
9204
  at: z$1.ZodNumber;
9177
9205
  detail: z$1.ZodString;
9206
+ label: z$1.ZodString;
9178
9207
  version: z$1.ZodString;
9179
9208
  }, z$1.core.$strip>>;
9180
9209
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -9351,7 +9380,9 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
9351
9380
  }>;
9352
9381
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
9353
9382
  updateState: z$1.ZodObject<{
9383
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
9354
9384
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
9385
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
9355
9386
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9356
9387
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9357
9388
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -9359,6 +9390,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
9359
9390
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9360
9391
  at: z$1.ZodNumber;
9361
9392
  detail: z$1.ZodString;
9393
+ label: z$1.ZodString;
9362
9394
  version: z$1.ZodString;
9363
9395
  }, z$1.core.$strip>>;
9364
9396
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -10182,6 +10214,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10182
10214
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10183
10215
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10184
10216
  "plugins.pruneCache": "plugins.pruneCache";
10217
+ "question.cancel": "question.cancel";
10218
+ "question.next": "question.next";
10219
+ "question.previous": "question.previous";
10185
10220
  "question.select.1": "question.select.1";
10186
10221
  "question.select.2": "question.select.2";
10187
10222
  "question.select.3": "question.select.3";
@@ -10191,6 +10226,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10191
10226
  "question.select.7": "question.select.7";
10192
10227
  "question.select.8": "question.select.8";
10193
10228
  "question.select.9": "question.select.9";
10229
+ "question.submit": "question.submit";
10194
10230
  "settings.open": "settings.open";
10195
10231
  "settings.openServers": "settings.openServers";
10196
10232
  "sidebar.toggle": "sidebar.toggle";
@@ -10237,6 +10273,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10237
10273
  modalOpen: "modalOpen";
10238
10274
  modelPickerOpen: "modelPickerOpen";
10239
10275
  promptAvailable: "promptAvailable";
10276
+ questionFocus: "questionFocus";
10240
10277
  questionOpen: "questionOpen";
10241
10278
  splitActive: "splitActive";
10242
10279
  terminalFocus: "terminalFocus";
@@ -10252,6 +10289,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10252
10289
  modalOpen: "modalOpen";
10253
10290
  modelPickerOpen: "modelPickerOpen";
10254
10291
  promptAvailable: "promptAvailable";
10292
+ questionFocus: "questionFocus";
10255
10293
  questionOpen: "questionOpen";
10256
10294
  splitActive: "splitActive";
10257
10295
  terminalFocus: "terminalFocus";
@@ -10265,8 +10303,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10265
10303
  changelogPreview: "changelogPreview";
10266
10304
  compactExpiredCache: "compactExpiredCache";
10267
10305
  performanceDiagnostics: "performanceDiagnostics";
10306
+ pluginUpdates: "pluginUpdates";
10268
10307
  serverMove: "serverMove";
10269
10308
  sidebarMultiSelect: "sidebarMultiSelect";
10309
+ skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
10310
+ threadContextCard: "threadContextCard";
10270
10311
  threadRowMetadata: "threadRowMetadata";
10271
10312
  timelinePush: "timelinePush";
10272
10313
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
@@ -10353,6 +10394,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10353
10394
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10354
10395
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10355
10396
  "plugins.pruneCache": "plugins.pruneCache";
10397
+ "question.cancel": "question.cancel";
10398
+ "question.next": "question.next";
10399
+ "question.previous": "question.previous";
10356
10400
  "question.select.1": "question.select.1";
10357
10401
  "question.select.2": "question.select.2";
10358
10402
  "question.select.3": "question.select.3";
@@ -10362,6 +10406,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10362
10406
  "question.select.7": "question.select.7";
10363
10407
  "question.select.8": "question.select.8";
10364
10408
  "question.select.9": "question.select.9";
10409
+ "question.submit": "question.submit";
10365
10410
  "settings.open": "settings.open";
10366
10411
  "settings.openServers": "settings.openServers";
10367
10412
  "sidebar.toggle": "sidebar.toggle";
@@ -10452,6 +10497,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10452
10497
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10453
10498
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10454
10499
  "plugins.pruneCache": "plugins.pruneCache";
10500
+ "question.cancel": "question.cancel";
10501
+ "question.next": "question.next";
10502
+ "question.previous": "question.previous";
10455
10503
  "question.select.1": "question.select.1";
10456
10504
  "question.select.2": "question.select.2";
10457
10505
  "question.select.3": "question.select.3";
@@ -10461,6 +10509,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10461
10509
  "question.select.7": "question.select.7";
10462
10510
  "question.select.8": "question.select.8";
10463
10511
  "question.select.9": "question.select.9";
10512
+ "question.submit": "question.submit";
10464
10513
  "settings.open": "settings.open";
10465
10514
  "settings.openServers": "settings.openServers";
10466
10515
  "sidebar.toggle": "sidebar.toggle";
@@ -10507,6 +10556,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10507
10556
  modalOpen: "modalOpen";
10508
10557
  modelPickerOpen: "modelPickerOpen";
10509
10558
  promptAvailable: "promptAvailable";
10559
+ questionFocus: "questionFocus";
10510
10560
  questionOpen: "questionOpen";
10511
10561
  splitActive: "splitActive";
10512
10562
  terminalFocus: "terminalFocus";
@@ -10522,6 +10572,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10522
10572
  modalOpen: "modalOpen";
10523
10573
  modelPickerOpen: "modelPickerOpen";
10524
10574
  promptAvailable: "promptAvailable";
10575
+ questionFocus: "questionFocus";
10525
10576
  questionOpen: "questionOpen";
10526
10577
  splitActive: "splitActive";
10527
10578
  terminalFocus: "terminalFocus";
@@ -15592,9 +15643,11 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15592
15643
  sourceSeq: z$1.ZodNumber;
15593
15644
  status: z$1.ZodEnum<{
15594
15645
  active: "active";
15646
+ blocked: "blocked";
15595
15647
  budgetLimited: "budgetLimited";
15596
15648
  complete: "complete";
15597
15649
  paused: "paused";
15650
+ usageLimited: "usageLimited";
15598
15651
  }>;
15599
15652
  timeUsedSeconds: z$1.ZodNumber;
15600
15653
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -15938,9 +15991,11 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
15938
15991
  sourceSeq: z$1.ZodNumber;
15939
15992
  status: z$1.ZodEnum<{
15940
15993
  active: "active";
15994
+ blocked: "blocked";
15941
15995
  budgetLimited: "budgetLimited";
15942
15996
  complete: "complete";
15943
15997
  paused: "paused";
15998
+ usageLimited: "usageLimited";
15944
15999
  }>;
15945
16000
  timeUsedSeconds: z$1.ZodNumber;
15946
16001
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -16282,9 +16337,11 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16282
16337
  sourceSeq: z$1.ZodNumber;
16283
16338
  status: z$1.ZodEnum<{
16284
16339
  active: "active";
16340
+ blocked: "blocked";
16285
16341
  budgetLimited: "budgetLimited";
16286
16342
  complete: "complete";
16287
16343
  paused: "paused";
16344
+ usageLimited: "usageLimited";
16288
16345
  }>;
16289
16346
  timeUsedSeconds: z$1.ZodNumber;
16290
16347
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -18604,6 +18661,14 @@ interface ThreadsArea {
18604
18661
  * Experimental: see docs/api_to_audit.md.
18605
18662
  */
18606
18663
  experimental_listCascade(args: ThreadCascadeListArgs): Promise<ThreadCascadeListResult>;
18664
+ /**
18665
+ * Generate a new title from the thread's first task message, its latest user
18666
+ * messages, and the agent's latest replies, in the task's language. The
18667
+ * current title is kept when it still fits, when no title service is
18668
+ * available, or when generation fails, and the call rejects with the reason
18669
+ * on failure. Experimental: see docs/api_to_audit.md.
18670
+ */
18671
+ experimental_regenerateTitle(args: ThreadActionArgs): Promise<ThreadMutationResult>;
18607
18672
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
18608
18673
  queue: ThreadQueueArea;
18609
18674
  interactions: ThreadInteractionsArea;
@@ -18810,10 +18875,17 @@ interface ExperimentalQuestionShortcut {
18810
18875
  label: string;
18811
18876
  ariaKeyshortcuts: string;
18812
18877
  }
18878
+ /**
18879
+ * A form-level action bb binds while a pending interaction is open: `submit`
18880
+ * presses the form's primary button (Next, or Submit on the last question),
18881
+ * `previous` and `next` show another question without submitting, and
18882
+ * `cancel` presses the form's Cancel button.
18883
+ */
18884
+ type ExperimentalQuestionFormAction = "cancel" | "next" | "previous" | "submit";
18813
18885
  /**
18814
18886
  * The keyboard shortcuts bb binds while a pending interaction is open. The
18815
18887
  * host owns the bindings (users can remap them); a form shows them and decides
18816
- * what choosing an option means.
18888
+ * what choosing an option or an action means.
18817
18889
  */
18818
18890
  interface ExperimentalQuestionFormHost {
18819
18891
  /**
@@ -18821,6 +18893,8 @@ interface ExperimentalQuestionFormHost {
18821
18893
  * option). Missing entries have no binding.
18822
18894
  */
18823
18895
  shortcuts: ReadonlyMap<string, ExperimentalQuestionShortcut>;
18896
+ /** Shortcut per form action. Missing entries have no binding. */
18897
+ actionShortcuts: ReadonlyMap<ExperimentalQuestionFormAction, ExperimentalQuestionShortcut>;
18824
18898
  /**
18825
18899
  * Receive the index of the option the person chose with a shortcut while
18826
18900
  * the thread's pane is focused. Return true when the index names an option
@@ -18828,6 +18902,14 @@ interface ExperimentalQuestionFormHost {
18828
18902
  * function to unregister.
18829
18903
  */
18830
18904
  registerChoiceHandler(handler: (index: number) => boolean): () => void;
18905
+ /**
18906
+ * Receive the action the person chose with a shortcut while the thread's
18907
+ * pane is focused, or while focus is inside an element marked
18908
+ * `data-question-form`, including its text fields. Return true when the form
18909
+ * performed the action. The last registered handler wins; call the returned
18910
+ * function to unregister.
18911
+ */
18912
+ registerActionHandler(handler: (action: ExperimentalQuestionFormAction) => boolean): () => void;
18831
18913
  }
18832
18914
  /**
18833
18915
  * Props of the host-owned `experimental_VoiceInputTextarea`: a controlled
@@ -20322,6 +20404,100 @@ interface ExperimentalThreadInfoSectionRegistration {
20322
20404
  order?: number;
20323
20405
  component: ComponentType<ExperimentalThreadInfoProps>;
20324
20406
  }
20407
+ /**
20408
+ * Props passed to an `experimental_threadContextCardRow` or
20409
+ * `experimental_threadContextCardSection` component.
20410
+ */
20411
+ interface ExperimentalThreadContextCardProps {
20412
+ /**
20413
+ * The thread shown in the pane. Every thread pane of a split layout has its
20414
+ * own thread context card, so the component mounts once per visible thread;
20415
+ * keep per-thread state in the component, never in a module-level singleton.
20416
+ */
20417
+ threadId: string;
20418
+ projectId: string;
20419
+ /**
20420
+ * The thread's environment, taken from the thread; null only when the
20421
+ * thread has no environment. Read its state (host, checkout, git) yourself.
20422
+ */
20423
+ environment: ExperimentalThreadEnvironment | null;
20424
+ }
20425
+ /**
20426
+ * How a thread pane shows its thread context: `banner` in the context row
20427
+ * above the composer, `card` in the thread context card at the pane's
20428
+ * upper-right. bb picks one per pane.
20429
+ */
20430
+ type ExperimentalThreadContextKind = "banner" | "card";
20431
+ /**
20432
+ * A row in the thread context card at a thread pane's upper-right, below the
20433
+ * header, beside bb's own rows; the card's counterpart of
20434
+ * `experimental_threadInfoRow`. Render one or more
20435
+ * `experimental_ThreadContextCardRow` elements, or null to show nothing for
20436
+ * this thread. bb draws the card and places it, and mounts rows only in panes
20437
+ * whose thread context kind is `card`. A crash removes only this row for that
20438
+ * thread.
20439
+ */
20440
+ interface ExperimentalThreadContextCardRowRegistration {
20441
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
20442
+ id: string;
20443
+ /**
20444
+ * Rows sort by `group` (string compare), then by `order` within a group
20445
+ * (unset sorts last), then by registration order, with bb's own rows first
20446
+ * on a tie. Rows use the Info tab's groups,
20447
+ * {@link PluginSdkApp.experimental_THREAD_INFO_ROW_GROUPS}; any other
20448
+ * string is a group of its own, placed where it sorts.
20449
+ */
20450
+ group: string;
20451
+ order?: number;
20452
+ component: ComponentType<ExperimentalThreadContextCardProps>;
20453
+ }
20454
+ /**
20455
+ * A titled section of the thread context card, below its rows; the card's
20456
+ * counterpart of `experimental_threadInfoSection`. bb draws the title and a
20457
+ * divider above it, and hides the section while its component renders
20458
+ * nothing. A crash removes only this section for that thread.
20459
+ */
20460
+ interface ExperimentalThreadContextCardSectionRegistration {
20461
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
20462
+ id: string;
20463
+ /** Heading bb draws above the section's rows. */
20464
+ title: string;
20465
+ /**
20466
+ * Sections sort by `group` (string compare), then by `order` within a group
20467
+ * (unset sorts last), then by registration order, with bb's own sections
20468
+ * first on a tie. Sections use the Info tab's groups,
20469
+ * {@link PluginSdkApp.experimental_THREAD_INFO_SECTION_GROUPS}; any other
20470
+ * string is a group of its own, placed where it sorts.
20471
+ */
20472
+ group: string;
20473
+ order?: number;
20474
+ component: ComponentType<ExperimentalThreadContextCardProps>;
20475
+ }
20476
+ /**
20477
+ * Props of the host-owned `experimental_ThreadContextCardRow` component, the row
20478
+ * bb's own card rows use: an icon, a label, an optional trailing value, and an
20479
+ * optional second control. With `onClick` the label is a button.
20480
+ */
20481
+ interface ExperimentalThreadContextCardRowProps {
20482
+ /** Icon drawn before the label, any name `experimental_Icon` accepts. */
20483
+ icon?: BbIconName;
20484
+ /** Drawn in the icon's place, such as an app or site icon; wins over `icon`. */
20485
+ leading?: ReactNode;
20486
+ label: ReactNode;
20487
+ /** Drawn at the row's end, such as a count or `+4 −1`. */
20488
+ trailing?: ReactNode;
20489
+ /** Tooltip, and the accessible description when the label is truncated. */
20490
+ title?: string;
20491
+ disabled?: boolean;
20492
+ /**
20493
+ * A second control, such as a button that opens a menu. It takes the
20494
+ * place of `trailing` while the row is hovered or focused or the control's
20495
+ * menu is open, and always shows on touch screens.
20496
+ */
20497
+ action?: ReactNode;
20498
+ /** Makes the label a button. */
20499
+ onClick?(): void;
20500
+ }
20325
20501
  /**
20326
20502
  * Props of the host-owned `experimental_InfoSection` component — the heading,
20327
20503
  * count, and collapse control every Info tab section uses.
@@ -21925,6 +22101,18 @@ interface PluginAppSlots {
21925
22101
  * docs/api_to_audit.md.
21926
22102
  */
21927
22103
  experimental_threadInfoSection(registration: ExperimentalThreadInfoSectionRegistration): void;
22104
+ /**
22105
+ * Add a row to the thread context card of every thread pane (see
22106
+ * {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
22107
+ * docs/api_to_audit.md.
22108
+ */
22109
+ experimental_threadContextCardRow(registration: ExperimentalThreadContextCardRowRegistration): void;
22110
+ /**
22111
+ * Add a titled section to the thread context card of every thread pane (see
22112
+ * {@link ExperimentalThreadContextCardSectionRegistration}). Experimental:
22113
+ * see docs/api_to_audit.md.
22114
+ */
22115
+ experimental_threadContextCardSection(registration: ExperimentalThreadContextCardSectionRegistration): void;
21928
22116
  /**
21929
22117
  * Add an action to every thread actions menu (see
21930
22118
  * {@link PluginThreadActionRegistration}). Experimental: see
@@ -23048,6 +23236,24 @@ type ExperimentalOpenTabOptions = {
23048
23236
  interface ExperimentalPanelController {
23049
23237
  /** Select the tab and reveal the side panel. */
23050
23238
  openTab(options: ExperimentalOpenTabOptions): boolean;
23239
+ /**
23240
+ * The tabs open in this controller's side panel right now, the list
23241
+ * `experimental_usePanelTabs()` follows: for commands and other code that is
23242
+ * not a component. Closed and empty without a side panel.
23243
+ */
23244
+ getTabs(): ExperimentalPanelTabs;
23245
+ /**
23246
+ * Select any open tab, bb's or a plugin's, by its
23247
+ * {@link ExperimentalPanelTab.key} and reveal the side panel; false for a
23248
+ * key that is not open.
23249
+ */
23250
+ selectTab(key: string): boolean;
23251
+ /**
23252
+ * Close any open tab by its key, as its close button does; false for a key
23253
+ * that is not open or a tab that cannot be closed. Closing a terminal's tab
23254
+ * ends the terminal.
23255
+ */
23256
+ closeTab(key: string): boolean;
23051
23257
  /**
23052
23258
  * Close the side panel if this tab is showing — a fixed tab selected with
23053
23259
  * the panel open (`target` is ignored), or the action tab instance with the
@@ -23057,6 +23263,59 @@ interface ExperimentalPanelController {
23057
23263
  /** Close the side panel. */
23058
23264
  close(): boolean;
23059
23265
  }
23266
+ /** What an open side panel tab shows. */
23267
+ type ExperimentalPanelTabDetail = {
23268
+ kind: "info";
23269
+ } | {
23270
+ kind: "file";
23271
+ path: string;
23272
+ } | {
23273
+ kind: "browser";
23274
+ url: string;
23275
+ } | {
23276
+ kind: "terminal";
23277
+ terminalId: string;
23278
+ } | {
23279
+ kind: "new-tab";
23280
+ } | {
23281
+ kind: "plugin";
23282
+ pluginId: string;
23283
+ tab: ExperimentalTabReference;
23284
+ /** The action tab's params; null for fixed tabs and action tabs without. */
23285
+ params: JsonValue$1 | null;
23286
+ } | {
23287
+ kind: "plugin-details";
23288
+ pluginId: string;
23289
+ };
23290
+ /** One tab open in a surface's side panel. */
23291
+ interface ExperimentalPanelTab {
23292
+ /**
23293
+ * Identifies the tab while it stays open; pass it to `selectTab`,
23294
+ * `closeTab`, or `experimental_PanelTabIcon`. Do not store it: a reopened
23295
+ * tab may get another key.
23296
+ */
23297
+ key: string;
23298
+ /** The label bb's tab strip shows. */
23299
+ title: string;
23300
+ /** The strip's secondary label, such as a terminal's exit status. */
23301
+ status: string | null;
23302
+ /** False for tabs without a close button, such as Info and fixed tabs. */
23303
+ closable: boolean;
23304
+ detail: ExperimentalPanelTabDetail;
23305
+ }
23306
+ /** The tabs of one surface's side panel, in the order bb's tab strip shows them. */
23307
+ interface ExperimentalPanelTabs {
23308
+ /** Whether the side panel is showing. */
23309
+ open: boolean;
23310
+ /** The selected tab's key, or null when none is selected. */
23311
+ selectedKey: string | null;
23312
+ tabs: readonly ExperimentalPanelTab[];
23313
+ }
23314
+ /** Props of `experimental_PanelTabIcon`. */
23315
+ interface ExperimentalPanelTabIconProps {
23316
+ /** An {@link ExperimentalPanelTab.key}; renders nothing for a closed tab. */
23317
+ tabKey: string;
23318
+ }
23060
23319
  /** Current app selection, derived from the route. */
23061
23320
  interface BbContext {
23062
23321
  projectId: string | null;
@@ -23285,6 +23544,15 @@ interface PluginSdkApp {
23285
23544
  * docs/api_to_audit.md.
23286
23545
  */
23287
23546
  experimental_useExperiment(key: string): boolean;
23547
+ /**
23548
+ * How the thread pane the calling component renders in shows its thread
23549
+ * context (see {@link ExperimentalThreadContextKind}); `banner` outside a
23550
+ * thread pane. A context segment whose content is also a thread context card
23551
+ * row or section hides itself in `useVisible` while this is `card`; other
23552
+ * segments keep showing above the composer.
23553
+ * Experimental: see docs/api_to_audit.md.
23554
+ */
23555
+ experimental_useThreadContextKind(): ExperimentalThreadContextKind;
23288
23556
  useBbContext(): BbContext;
23289
23557
  /**
23290
23558
  * The id of the plugin that owns the calling component: the same id
@@ -23330,6 +23598,14 @@ interface PluginSdkApp {
23330
23598
  * thread view, the plugin page, or the New thread screen.
23331
23599
  */
23332
23600
  experimental_useAppPanel(): ExperimentalPanelController;
23601
+ /**
23602
+ * The tabs open in the side panel of the surface the calling component
23603
+ * renders in, following live changes: the same list bb's tab strip shows.
23604
+ * Closed and empty on a surface without a side panel. Act on a tab with
23605
+ * `experimental_useAppPanel().selectTab` or `closeTab`. Experimental: see
23606
+ * docs/api_to_audit.md.
23607
+ */
23608
+ experimental_usePanelTabs(): ExperimentalPanelTabs;
23333
23609
  /** Read or clear the owning tab's validated, session-scoped target. */
23334
23610
  experimental_useFixedTabTarget<Target extends JsonValue$1>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
23335
23611
  useComposer(): PluginComposerApi;
@@ -23698,6 +23974,19 @@ interface PluginSdkApp {
23698
23974
  * Experimental: see docs/api_to_audit.md.
23699
23975
  */
23700
23976
  experimental_DetailRow: ComponentType<ExperimentalDetailRowProps>;
23977
+ /**
23978
+ * The thread context card's row (see
23979
+ * {@link ExperimentalThreadContextCardRowProps}), the one bb's own entries
23980
+ * use.
23981
+ * Experimental: see docs/api_to_audit.md.
23982
+ */
23983
+ experimental_ThreadContextCardRow: ComponentType<ExperimentalThreadContextCardRowProps>;
23984
+ /**
23985
+ * The icon bb's tab strip draws for an open side panel tab (see
23986
+ * {@link ExperimentalPanelTabIconProps}). Experimental: see
23987
+ * docs/api_to_audit.md.
23988
+ */
23989
+ experimental_PanelTabIcon: ComponentType<ExperimentalPanelTabIconProps>;
23701
23990
  /**
23702
23991
  * The thread Info tab's list (see {@link ExperimentalInfoListProps}), the
23703
23992
  * one bb's own sections use. Experimental: see docs/api_to_audit.md.
@@ -23823,6 +24112,8 @@ declare const experimental_Diff: react.ComponentType<DiffProps>;
23823
24112
  declare const experimental_InfoSection: react.ComponentType<ExperimentalInfoSectionProps>;
23824
24113
  declare const experimental_DetailRow: react.ComponentType<ExperimentalDetailRowProps>;
23825
24114
  declare const experimental_InfoList: <Item>(props: ExperimentalInfoListProps<Item>) => react.ReactNode;
24115
+ declare const experimental_ThreadContextCardRow: react.ComponentType<ExperimentalThreadContextCardRowProps>;
24116
+ declare const experimental_PanelTabIcon: react.ComponentType<ExperimentalPanelTabIconProps>;
23826
24117
  declare const experimental_InfoListRow: react.ComponentType<ExperimentalInfoListRowProps>;
23827
24118
  declare const experimental_useRpcQuery: <Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcQueryOptions<Contract, Method>) => ExperimentalRpcQueryState<PluginRpcResult<Contract[Method]>>;
23828
24119
  declare const experimental_useRpcKeyedQuery: <Contract extends PluginRpcContract, Method extends ExperimentalRpcKeyedMethod<Contract>, Selection = Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>>(options: {
@@ -23880,6 +24171,8 @@ declare const experimental_ThreadActionsMenu: react.ComponentType<PluginThreadAc
23880
24171
  declare const experimental_ThreadActionsContextMenu: react.ComponentType<PluginThreadActionsContextMenuProps>;
23881
24172
 
23882
24173
  declare const experimental_useExperiment: (key: string) => boolean;
24174
+ declare const experimental_useThreadContextKind: () => ExperimentalThreadContextKind;
24175
+ declare const experimental_usePanelTabs: () => ExperimentalPanelTabs;
23883
24176
  declare const experimental_useSidebarThreadSplit: (threadId: string, options?: PluginSidebarThreadSplitOptions) => PluginSidebarThreadSplit;
23884
24177
  declare const experimental_useSidebarNavigation: () => ExperimentalSidebarNavigationState;
23885
24178
  declare const experimental_useSidebarNavigationSplit: (itemId: string, options?: ExperimentalSidebarNavigationSplitOptions) => ExperimentalSidebarNavigationSplit;
@@ -23902,5 +24195,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
23902
24195
  declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
23903
24196
  declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
23904
24197
 
23905
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, 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_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_revokeApplicationLinkApproval, experimental_saveFile, 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_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_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23906
- 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, ExperimentalComposerAction, 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, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, 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, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, 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, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
24198
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, 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_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_revokeApplicationLinkApproval, experimental_saveFile, 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_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
24199
+ 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, ExperimentalComposerAction, 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, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, 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, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, 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, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };