@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.
@@ -297,7 +297,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
297
297
  }, z$1.core.$strict>]>;
298
298
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
299
299
 
300
- 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"];
300
+ 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"];
301
301
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
302
302
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
303
303
  schema: Schema;
@@ -333,6 +333,7 @@ declare const uiPreferenceDefinitions: {
333
333
  readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
334
334
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
335
335
  readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
336
+ readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
336
337
  readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
337
338
  };
338
339
  type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
@@ -393,6 +394,9 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
393
394
  "plugins.enterSafeMode": "plugins.enterSafeMode";
394
395
  "plugins.exitSafeMode": "plugins.exitSafeMode";
395
396
  "plugins.pruneCache": "plugins.pruneCache";
397
+ "question.cancel": "question.cancel";
398
+ "question.next": "question.next";
399
+ "question.previous": "question.previous";
396
400
  "question.select.1": "question.select.1";
397
401
  "question.select.2": "question.select.2";
398
402
  "question.select.3": "question.select.3";
@@ -402,6 +406,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
402
406
  "question.select.7": "question.select.7";
403
407
  "question.select.8": "question.select.8";
404
408
  "question.select.9": "question.select.9";
409
+ "question.submit": "question.submit";
405
410
  "settings.open": "settings.open";
406
411
  "settings.openServers": "settings.openServers";
407
412
  "sidebar.toggle": "sidebar.toggle";
@@ -697,8 +702,11 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
697
702
  changelogPreview: "changelogPreview";
698
703
  compactExpiredCache: "compactExpiredCache";
699
704
  performanceDiagnostics: "performanceDiagnostics";
705
+ pluginUpdates: "pluginUpdates";
700
706
  serverMove: "serverMove";
701
707
  sidebarMultiSelect: "sidebarMultiSelect";
708
+ skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
709
+ threadContextCard: "threadContextCard";
702
710
  threadRowMetadata: "threadRowMetadata";
703
711
  timelinePush: "timelinePush";
704
712
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
@@ -710,8 +718,11 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
710
718
  changelogPreview: "changelogPreview";
711
719
  compactExpiredCache: "compactExpiredCache";
712
720
  performanceDiagnostics: "performanceDiagnostics";
721
+ pluginUpdates: "pluginUpdates";
713
722
  serverMove: "serverMove";
714
723
  sidebarMultiSelect: "sidebarMultiSelect";
724
+ skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
725
+ threadContextCard: "threadContextCard";
715
726
  threadRowMetadata: "threadRowMetadata";
716
727
  timelinePush: "timelinePush";
717
728
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
@@ -934,9 +945,11 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
934
945
  providerThreadId: z$1.ZodString;
935
946
  status: z$1.ZodEnum<{
936
947
  active: "active";
948
+ blocked: "blocked";
937
949
  budgetLimited: "budgetLimited";
938
950
  complete: "complete";
939
951
  paused: "paused";
952
+ usageLimited: "usageLimited";
940
953
  }>;
941
954
  threadId: z$1.ZodString;
942
955
  timeUsedSeconds: z$1.ZodNumber;
@@ -8849,11 +8862,13 @@ type HostProviderCliInstallEvent = ProviderCliInstallEvent;
8849
8862
 
8850
8863
  declare const pluginUpdateCheckEntrySchema: z$1.ZodObject<{
8851
8864
  blocked: z$1.ZodOptional<z$1.ZodObject<{
8865
+ label: z$1.ZodString;
8852
8866
  reasons: z$1.ZodArray<z$1.ZodString>;
8853
8867
  version: z$1.ZodString;
8854
8868
  }, z$1.core.$strip>>;
8855
8869
  candidate: z$1.ZodOptional<z$1.ZodObject<{
8856
8870
  display: z$1.ZodString;
8871
+ label: z$1.ZodString;
8857
8872
  version: z$1.ZodString;
8858
8873
  }, z$1.core.$strip>>;
8859
8874
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -8861,6 +8876,7 @@ declare const pluginUpdateCheckEntrySchema: z$1.ZodObject<{
8861
8876
  id: z$1.ZodString;
8862
8877
  installed: z$1.ZodObject<{
8863
8878
  display: z$1.ZodString;
8879
+ label: z$1.ZodString;
8864
8880
  version: z$1.ZodString;
8865
8881
  }, z$1.core.$strip>;
8866
8882
  outcome: z$1.ZodEnum<{
@@ -8877,6 +8893,7 @@ declare const pluginApplyUpdateResultSchema: z$1.ZodObject<{
8877
8893
  detail: z$1.ZodOptional<z$1.ZodString>;
8878
8894
  from: z$1.ZodObject<{
8879
8895
  display: z$1.ZodString;
8896
+ label: z$1.ZodString;
8880
8897
  version: z$1.ZodString;
8881
8898
  }, z$1.core.$strip>;
8882
8899
  outcome: z$1.ZodEnum<{
@@ -8886,6 +8903,7 @@ declare const pluginApplyUpdateResultSchema: z$1.ZodObject<{
8886
8903
  }>;
8887
8904
  to: z$1.ZodOptional<z$1.ZodObject<{
8888
8905
  display: z$1.ZodString;
8906
+ label: z$1.ZodString;
8889
8907
  version: z$1.ZodString;
8890
8908
  }, z$1.core.$strip>>;
8891
8909
  }, z$1.core.$strip>;
@@ -8915,6 +8933,7 @@ declare const pluginUpdateJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8915
8933
  detail: z$1.ZodOptional<z$1.ZodString>;
8916
8934
  from: z$1.ZodObject<{
8917
8935
  display: z$1.ZodString;
8936
+ label: z$1.ZodString;
8918
8937
  version: z$1.ZodString;
8919
8938
  }, z$1.core.$strip>;
8920
8939
  outcome: z$1.ZodEnum<{
@@ -8924,6 +8943,7 @@ declare const pluginUpdateJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8924
8943
  }>;
8925
8944
  to: z$1.ZodOptional<z$1.ZodObject<{
8926
8945
  display: z$1.ZodString;
8946
+ label: z$1.ZodString;
8927
8947
  version: z$1.ZodString;
8928
8948
  }, z$1.core.$strip>>;
8929
8949
  }, z$1.core.$strip>;
@@ -9054,7 +9074,9 @@ declare const installedPluginSchema: z$1.ZodObject<{
9054
9074
  }>;
9055
9075
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
9056
9076
  updateState: z$1.ZodObject<{
9077
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
9057
9078
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
9079
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
9058
9080
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9059
9081
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9060
9082
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -9062,6 +9084,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
9062
9084
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9063
9085
  at: z$1.ZodNumber;
9064
9086
  detail: z$1.ZodString;
9087
+ label: z$1.ZodString;
9065
9088
  version: z$1.ZodString;
9066
9089
  }, z$1.core.$strip>>;
9067
9090
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -9175,7 +9198,9 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
9175
9198
  }>;
9176
9199
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
9177
9200
  updateState: z$1.ZodObject<{
9201
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
9178
9202
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
9203
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
9179
9204
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9180
9205
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9181
9206
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -9183,6 +9208,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
9183
9208
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9184
9209
  at: z$1.ZodNumber;
9185
9210
  detail: z$1.ZodString;
9211
+ label: z$1.ZodString;
9186
9212
  version: z$1.ZodString;
9187
9213
  }, z$1.core.$strip>>;
9188
9214
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -9362,7 +9388,9 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9362
9388
  }>;
9363
9389
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
9364
9390
  updateState: z$1.ZodObject<{
9391
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
9365
9392
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
9393
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
9366
9394
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9367
9395
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9368
9396
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -9370,6 +9398,7 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9370
9398
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9371
9399
  at: z$1.ZodNumber;
9372
9400
  detail: z$1.ZodString;
9401
+ label: z$1.ZodString;
9373
9402
  version: z$1.ZodString;
9374
9403
  }, z$1.core.$strip>>;
9375
9404
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -9546,7 +9575,9 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
9546
9575
  }>;
9547
9576
  statusDetail: z$1.ZodNullable<z$1.ZodString>;
9548
9577
  updateState: z$1.ZodObject<{
9578
+ availableLabel: z$1.ZodOptional<z$1.ZodString>;
9549
9579
  availableVersion: z$1.ZodOptional<z$1.ZodString>;
9580
+ blockedLabel: z$1.ZodOptional<z$1.ZodString>;
9550
9581
  blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9551
9582
  blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9552
9583
  detail: z$1.ZodOptional<z$1.ZodString>;
@@ -9554,6 +9585,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
9554
9585
  lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9555
9586
  at: z$1.ZodNumber;
9556
9587
  detail: z$1.ZodString;
9588
+ label: z$1.ZodString;
9557
9589
  version: z$1.ZodString;
9558
9590
  }, z$1.core.$strip>>;
9559
9591
  outcome: z$1.ZodOptional<z$1.ZodEnum<{
@@ -10377,6 +10409,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10377
10409
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10378
10410
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10379
10411
  "plugins.pruneCache": "plugins.pruneCache";
10412
+ "question.cancel": "question.cancel";
10413
+ "question.next": "question.next";
10414
+ "question.previous": "question.previous";
10380
10415
  "question.select.1": "question.select.1";
10381
10416
  "question.select.2": "question.select.2";
10382
10417
  "question.select.3": "question.select.3";
@@ -10386,6 +10421,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10386
10421
  "question.select.7": "question.select.7";
10387
10422
  "question.select.8": "question.select.8";
10388
10423
  "question.select.9": "question.select.9";
10424
+ "question.submit": "question.submit";
10389
10425
  "settings.open": "settings.open";
10390
10426
  "settings.openServers": "settings.openServers";
10391
10427
  "sidebar.toggle": "sidebar.toggle";
@@ -10432,6 +10468,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10432
10468
  modalOpen: "modalOpen";
10433
10469
  modelPickerOpen: "modelPickerOpen";
10434
10470
  promptAvailable: "promptAvailable";
10471
+ questionFocus: "questionFocus";
10435
10472
  questionOpen: "questionOpen";
10436
10473
  splitActive: "splitActive";
10437
10474
  terminalFocus: "terminalFocus";
@@ -10447,6 +10484,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10447
10484
  modalOpen: "modalOpen";
10448
10485
  modelPickerOpen: "modelPickerOpen";
10449
10486
  promptAvailable: "promptAvailable";
10487
+ questionFocus: "questionFocus";
10450
10488
  questionOpen: "questionOpen";
10451
10489
  splitActive: "splitActive";
10452
10490
  terminalFocus: "terminalFocus";
@@ -10460,8 +10498,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10460
10498
  changelogPreview: "changelogPreview";
10461
10499
  compactExpiredCache: "compactExpiredCache";
10462
10500
  performanceDiagnostics: "performanceDiagnostics";
10501
+ pluginUpdates: "pluginUpdates";
10463
10502
  serverMove: "serverMove";
10464
10503
  sidebarMultiSelect: "sidebarMultiSelect";
10504
+ skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
10505
+ threadContextCard: "threadContextCard";
10465
10506
  threadRowMetadata: "threadRowMetadata";
10466
10507
  timelinePush: "timelinePush";
10467
10508
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
@@ -10548,6 +10589,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10548
10589
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10549
10590
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10550
10591
  "plugins.pruneCache": "plugins.pruneCache";
10592
+ "question.cancel": "question.cancel";
10593
+ "question.next": "question.next";
10594
+ "question.previous": "question.previous";
10551
10595
  "question.select.1": "question.select.1";
10552
10596
  "question.select.2": "question.select.2";
10553
10597
  "question.select.3": "question.select.3";
@@ -10557,6 +10601,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10557
10601
  "question.select.7": "question.select.7";
10558
10602
  "question.select.8": "question.select.8";
10559
10603
  "question.select.9": "question.select.9";
10604
+ "question.submit": "question.submit";
10560
10605
  "settings.open": "settings.open";
10561
10606
  "settings.openServers": "settings.openServers";
10562
10607
  "sidebar.toggle": "sidebar.toggle";
@@ -10647,6 +10692,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10647
10692
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10648
10693
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10649
10694
  "plugins.pruneCache": "plugins.pruneCache";
10695
+ "question.cancel": "question.cancel";
10696
+ "question.next": "question.next";
10697
+ "question.previous": "question.previous";
10650
10698
  "question.select.1": "question.select.1";
10651
10699
  "question.select.2": "question.select.2";
10652
10700
  "question.select.3": "question.select.3";
@@ -10656,6 +10704,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10656
10704
  "question.select.7": "question.select.7";
10657
10705
  "question.select.8": "question.select.8";
10658
10706
  "question.select.9": "question.select.9";
10707
+ "question.submit": "question.submit";
10659
10708
  "settings.open": "settings.open";
10660
10709
  "settings.openServers": "settings.openServers";
10661
10710
  "sidebar.toggle": "sidebar.toggle";
@@ -10702,6 +10751,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10702
10751
  modalOpen: "modalOpen";
10703
10752
  modelPickerOpen: "modelPickerOpen";
10704
10753
  promptAvailable: "promptAvailable";
10754
+ questionFocus: "questionFocus";
10705
10755
  questionOpen: "questionOpen";
10706
10756
  splitActive: "splitActive";
10707
10757
  terminalFocus: "terminalFocus";
@@ -10717,6 +10767,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10717
10767
  modalOpen: "modalOpen";
10718
10768
  modelPickerOpen: "modelPickerOpen";
10719
10769
  promptAvailable: "promptAvailable";
10770
+ questionFocus: "questionFocus";
10720
10771
  questionOpen: "questionOpen";
10721
10772
  splitActive: "splitActive";
10722
10773
  terminalFocus: "terminalFocus";
@@ -15788,9 +15839,11 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15788
15839
  sourceSeq: z$1.ZodNumber;
15789
15840
  status: z$1.ZodEnum<{
15790
15841
  active: "active";
15842
+ blocked: "blocked";
15791
15843
  budgetLimited: "budgetLimited";
15792
15844
  complete: "complete";
15793
15845
  paused: "paused";
15846
+ usageLimited: "usageLimited";
15794
15847
  }>;
15795
15848
  timeUsedSeconds: z$1.ZodNumber;
15796
15849
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -16134,9 +16187,11 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16134
16187
  sourceSeq: z$1.ZodNumber;
16135
16188
  status: z$1.ZodEnum<{
16136
16189
  active: "active";
16190
+ blocked: "blocked";
16137
16191
  budgetLimited: "budgetLimited";
16138
16192
  complete: "complete";
16139
16193
  paused: "paused";
16194
+ usageLimited: "usageLimited";
16140
16195
  }>;
16141
16196
  timeUsedSeconds: z$1.ZodNumber;
16142
16197
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -16478,9 +16533,11 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16478
16533
  sourceSeq: z$1.ZodNumber;
16479
16534
  status: z$1.ZodEnum<{
16480
16535
  active: "active";
16536
+ blocked: "blocked";
16481
16537
  budgetLimited: "budgetLimited";
16482
16538
  complete: "complete";
16483
16539
  paused: "paused";
16540
+ usageLimited: "usageLimited";
16484
16541
  }>;
16485
16542
  timeUsedSeconds: z$1.ZodNumber;
16486
16543
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -18811,6 +18868,14 @@ interface ThreadsArea {
18811
18868
  * Experimental: see docs/api_to_audit.md.
18812
18869
  */
18813
18870
  experimental_listCascade(args: ThreadCascadeListArgs): Promise<ThreadCascadeListResult>;
18871
+ /**
18872
+ * Generate a new title from the thread's first task message, its latest user
18873
+ * messages, and the agent's latest replies, in the task's language. The
18874
+ * current title is kept when it still fits, when no title service is
18875
+ * available, or when generation fails, and the call rejects with the reason
18876
+ * on failure. Experimental: see docs/api_to_audit.md.
18877
+ */
18878
+ experimental_regenerateTitle(args: ThreadActionArgs): Promise<ThreadMutationResult>;
18814
18879
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
18815
18880
  queue: ThreadQueueArea;
18816
18881
  interactions: ThreadInteractionsArea;
@@ -21361,10 +21426,17 @@ interface ExperimentalQuestionShortcut {
21361
21426
  label: string;
21362
21427
  ariaKeyshortcuts: string;
21363
21428
  }
21429
+ /**
21430
+ * A form-level action bb binds while a pending interaction is open: `submit`
21431
+ * presses the form's primary button (Next, or Submit on the last question),
21432
+ * `previous` and `next` show another question without submitting, and
21433
+ * `cancel` presses the form's Cancel button.
21434
+ */
21435
+ type ExperimentalQuestionFormAction = "cancel" | "next" | "previous" | "submit";
21364
21436
  /**
21365
21437
  * The keyboard shortcuts bb binds while a pending interaction is open. The
21366
21438
  * host owns the bindings (users can remap them); a form shows them and decides
21367
- * what choosing an option means.
21439
+ * what choosing an option or an action means.
21368
21440
  */
21369
21441
  interface ExperimentalQuestionFormHost {
21370
21442
  /**
@@ -21372,6 +21444,8 @@ interface ExperimentalQuestionFormHost {
21372
21444
  * option). Missing entries have no binding.
21373
21445
  */
21374
21446
  shortcuts: ReadonlyMap<string, ExperimentalQuestionShortcut>;
21447
+ /** Shortcut per form action. Missing entries have no binding. */
21448
+ actionShortcuts: ReadonlyMap<ExperimentalQuestionFormAction, ExperimentalQuestionShortcut>;
21375
21449
  /**
21376
21450
  * Receive the index of the option the person chose with a shortcut while
21377
21451
  * the thread's pane is focused. Return true when the index names an option
@@ -21379,6 +21453,14 @@ interface ExperimentalQuestionFormHost {
21379
21453
  * function to unregister.
21380
21454
  */
21381
21455
  registerChoiceHandler(handler: (index: number) => boolean): () => void;
21456
+ /**
21457
+ * Receive the action the person chose with a shortcut while the thread's
21458
+ * pane is focused, or while focus is inside an element marked
21459
+ * `data-question-form`, including its text fields. Return true when the form
21460
+ * performed the action. The last registered handler wins; call the returned
21461
+ * function to unregister.
21462
+ */
21463
+ registerActionHandler(handler: (action: ExperimentalQuestionFormAction) => boolean): () => void;
21382
21464
  }
21383
21465
  /**
21384
21466
  * Props of the host-owned `experimental_VoiceInputTextarea`: a controlled
@@ -22873,6 +22955,100 @@ interface ExperimentalThreadInfoSectionRegistration {
22873
22955
  order?: number;
22874
22956
  component: ComponentType<ExperimentalThreadInfoProps>;
22875
22957
  }
22958
+ /**
22959
+ * Props passed to an `experimental_threadContextCardRow` or
22960
+ * `experimental_threadContextCardSection` component.
22961
+ */
22962
+ interface ExperimentalThreadContextCardProps {
22963
+ /**
22964
+ * The thread shown in the pane. Every thread pane of a split layout has its
22965
+ * own thread context card, so the component mounts once per visible thread;
22966
+ * keep per-thread state in the component, never in a module-level singleton.
22967
+ */
22968
+ threadId: string;
22969
+ projectId: string;
22970
+ /**
22971
+ * The thread's environment, taken from the thread; null only when the
22972
+ * thread has no environment. Read its state (host, checkout, git) yourself.
22973
+ */
22974
+ environment: ExperimentalThreadEnvironment | null;
22975
+ }
22976
+ /**
22977
+ * How a thread pane shows its thread context: `banner` in the context row
22978
+ * above the composer, `card` in the thread context card at the pane's
22979
+ * upper-right. bb picks one per pane.
22980
+ */
22981
+ type ExperimentalThreadContextKind = "banner" | "card";
22982
+ /**
22983
+ * A row in the thread context card at a thread pane's upper-right, below the
22984
+ * header, beside bb's own rows; the card's counterpart of
22985
+ * `experimental_threadInfoRow`. Render one or more
22986
+ * `experimental_ThreadContextCardRow` elements, or null to show nothing for
22987
+ * this thread. bb draws the card and places it, and mounts rows only in panes
22988
+ * whose thread context kind is `card`. A crash removes only this row for that
22989
+ * thread.
22990
+ */
22991
+ interface ExperimentalThreadContextCardRowRegistration {
22992
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
22993
+ id: string;
22994
+ /**
22995
+ * Rows sort by `group` (string compare), then by `order` within a group
22996
+ * (unset sorts last), then by registration order, with bb's own rows first
22997
+ * on a tie. Rows use the Info tab's groups,
22998
+ * {@link PluginSdkApp.experimental_THREAD_INFO_ROW_GROUPS}; any other
22999
+ * string is a group of its own, placed where it sorts.
23000
+ */
23001
+ group: string;
23002
+ order?: number;
23003
+ component: ComponentType<ExperimentalThreadContextCardProps>;
23004
+ }
23005
+ /**
23006
+ * A titled section of the thread context card, below its rows; the card's
23007
+ * counterpart of `experimental_threadInfoSection`. bb draws the title and a
23008
+ * divider above it, and hides the section while its component renders
23009
+ * nothing. A crash removes only this section for that thread.
23010
+ */
23011
+ interface ExperimentalThreadContextCardSectionRegistration {
23012
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
23013
+ id: string;
23014
+ /** Heading bb draws above the section's rows. */
23015
+ title: string;
23016
+ /**
23017
+ * Sections sort by `group` (string compare), then by `order` within a group
23018
+ * (unset sorts last), then by registration order, with bb's own sections
23019
+ * first on a tie. Sections use the Info tab's groups,
23020
+ * {@link PluginSdkApp.experimental_THREAD_INFO_SECTION_GROUPS}; any other
23021
+ * string is a group of its own, placed where it sorts.
23022
+ */
23023
+ group: string;
23024
+ order?: number;
23025
+ component: ComponentType<ExperimentalThreadContextCardProps>;
23026
+ }
23027
+ /**
23028
+ * Props of the host-owned `experimental_ThreadContextCardRow` component, the row
23029
+ * bb's own card rows use: an icon, a label, an optional trailing value, and an
23030
+ * optional second control. With `onClick` the label is a button.
23031
+ */
23032
+ interface ExperimentalThreadContextCardRowProps {
23033
+ /** Icon drawn before the label, any name `experimental_Icon` accepts. */
23034
+ icon?: BbIconName;
23035
+ /** Drawn in the icon's place, such as an app or site icon; wins over `icon`. */
23036
+ leading?: ReactNode;
23037
+ label: ReactNode;
23038
+ /** Drawn at the row's end, such as a count or `+4 −1`. */
23039
+ trailing?: ReactNode;
23040
+ /** Tooltip, and the accessible description when the label is truncated. */
23041
+ title?: string;
23042
+ disabled?: boolean;
23043
+ /**
23044
+ * A second control, such as a button that opens a menu. It takes the
23045
+ * place of `trailing` while the row is hovered or focused or the control's
23046
+ * menu is open, and always shows on touch screens.
23047
+ */
23048
+ action?: ReactNode;
23049
+ /** Makes the label a button. */
23050
+ onClick?(): void;
23051
+ }
22876
23052
  /**
22877
23053
  * Props of the host-owned `experimental_InfoSection` component — the heading,
22878
23054
  * count, and collapse control every Info tab section uses.
@@ -24476,6 +24652,18 @@ interface PluginAppSlots {
24476
24652
  * docs/api_to_audit.md.
24477
24653
  */
24478
24654
  experimental_threadInfoSection(registration: ExperimentalThreadInfoSectionRegistration): void;
24655
+ /**
24656
+ * Add a row to the thread context card of every thread pane (see
24657
+ * {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
24658
+ * docs/api_to_audit.md.
24659
+ */
24660
+ experimental_threadContextCardRow(registration: ExperimentalThreadContextCardRowRegistration): void;
24661
+ /**
24662
+ * Add a titled section to the thread context card of every thread pane (see
24663
+ * {@link ExperimentalThreadContextCardSectionRegistration}). Experimental:
24664
+ * see docs/api_to_audit.md.
24665
+ */
24666
+ experimental_threadContextCardSection(registration: ExperimentalThreadContextCardSectionRegistration): void;
24479
24667
  /**
24480
24668
  * Add an action to every thread actions menu (see
24481
24669
  * {@link PluginThreadActionRegistration}). Experimental: see
@@ -25599,6 +25787,24 @@ type ExperimentalOpenTabOptions = {
25599
25787
  interface ExperimentalPanelController {
25600
25788
  /** Select the tab and reveal the side panel. */
25601
25789
  openTab(options: ExperimentalOpenTabOptions): boolean;
25790
+ /**
25791
+ * The tabs open in this controller's side panel right now, the list
25792
+ * `experimental_usePanelTabs()` follows: for commands and other code that is
25793
+ * not a component. Closed and empty without a side panel.
25794
+ */
25795
+ getTabs(): ExperimentalPanelTabs;
25796
+ /**
25797
+ * Select any open tab, bb's or a plugin's, by its
25798
+ * {@link ExperimentalPanelTab.key} and reveal the side panel; false for a
25799
+ * key that is not open.
25800
+ */
25801
+ selectTab(key: string): boolean;
25802
+ /**
25803
+ * Close any open tab by its key, as its close button does; false for a key
25804
+ * that is not open or a tab that cannot be closed. Closing a terminal's tab
25805
+ * ends the terminal.
25806
+ */
25807
+ closeTab(key: string): boolean;
25602
25808
  /**
25603
25809
  * Close the side panel if this tab is showing — a fixed tab selected with
25604
25810
  * the panel open (`target` is ignored), or the action tab instance with the
@@ -25608,6 +25814,59 @@ interface ExperimentalPanelController {
25608
25814
  /** Close the side panel. */
25609
25815
  close(): boolean;
25610
25816
  }
25817
+ /** What an open side panel tab shows. */
25818
+ type ExperimentalPanelTabDetail = {
25819
+ kind: "info";
25820
+ } | {
25821
+ kind: "file";
25822
+ path: string;
25823
+ } | {
25824
+ kind: "browser";
25825
+ url: string;
25826
+ } | {
25827
+ kind: "terminal";
25828
+ terminalId: string;
25829
+ } | {
25830
+ kind: "new-tab";
25831
+ } | {
25832
+ kind: "plugin";
25833
+ pluginId: string;
25834
+ tab: ExperimentalTabReference;
25835
+ /** The action tab's params; null for fixed tabs and action tabs without. */
25836
+ params: JsonValue | null;
25837
+ } | {
25838
+ kind: "plugin-details";
25839
+ pluginId: string;
25840
+ };
25841
+ /** One tab open in a surface's side panel. */
25842
+ interface ExperimentalPanelTab {
25843
+ /**
25844
+ * Identifies the tab while it stays open; pass it to `selectTab`,
25845
+ * `closeTab`, or `experimental_PanelTabIcon`. Do not store it: a reopened
25846
+ * tab may get another key.
25847
+ */
25848
+ key: string;
25849
+ /** The label bb's tab strip shows. */
25850
+ title: string;
25851
+ /** The strip's secondary label, such as a terminal's exit status. */
25852
+ status: string | null;
25853
+ /** False for tabs without a close button, such as Info and fixed tabs. */
25854
+ closable: boolean;
25855
+ detail: ExperimentalPanelTabDetail;
25856
+ }
25857
+ /** The tabs of one surface's side panel, in the order bb's tab strip shows them. */
25858
+ interface ExperimentalPanelTabs {
25859
+ /** Whether the side panel is showing. */
25860
+ open: boolean;
25861
+ /** The selected tab's key, or null when none is selected. */
25862
+ selectedKey: string | null;
25863
+ tabs: readonly ExperimentalPanelTab[];
25864
+ }
25865
+ /** Props of `experimental_PanelTabIcon`. */
25866
+ interface ExperimentalPanelTabIconProps {
25867
+ /** An {@link ExperimentalPanelTab.key}; renders nothing for a closed tab. */
25868
+ tabKey: string;
25869
+ }
25611
25870
  /** Current app selection, derived from the route. */
25612
25871
  interface BbContext {
25613
25872
  projectId: string | null;
@@ -25836,6 +26095,15 @@ interface PluginSdkApp {
25836
26095
  * docs/api_to_audit.md.
25837
26096
  */
25838
26097
  experimental_useExperiment(key: string): boolean;
26098
+ /**
26099
+ * How the thread pane the calling component renders in shows its thread
26100
+ * context (see {@link ExperimentalThreadContextKind}); `banner` outside a
26101
+ * thread pane. A context segment whose content is also a thread context card
26102
+ * row or section hides itself in `useVisible` while this is `card`; other
26103
+ * segments keep showing above the composer.
26104
+ * Experimental: see docs/api_to_audit.md.
26105
+ */
26106
+ experimental_useThreadContextKind(): ExperimentalThreadContextKind;
25839
26107
  useBbContext(): BbContext;
25840
26108
  /**
25841
26109
  * The id of the plugin that owns the calling component: the same id
@@ -25881,6 +26149,14 @@ interface PluginSdkApp {
25881
26149
  * thread view, the plugin page, or the New thread screen.
25882
26150
  */
25883
26151
  experimental_useAppPanel(): ExperimentalPanelController;
26152
+ /**
26153
+ * The tabs open in the side panel of the surface the calling component
26154
+ * renders in, following live changes: the same list bb's tab strip shows.
26155
+ * Closed and empty on a surface without a side panel. Act on a tab with
26156
+ * `experimental_useAppPanel().selectTab` or `closeTab`. Experimental: see
26157
+ * docs/api_to_audit.md.
26158
+ */
26159
+ experimental_usePanelTabs(): ExperimentalPanelTabs;
25884
26160
  /** Read or clear the owning tab's validated, session-scoped target. */
25885
26161
  experimental_useFixedTabTarget<Target extends JsonValue>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
25886
26162
  useComposer(): PluginComposerApi;
@@ -26249,6 +26525,19 @@ interface PluginSdkApp {
26249
26525
  * Experimental: see docs/api_to_audit.md.
26250
26526
  */
26251
26527
  experimental_DetailRow: ComponentType<ExperimentalDetailRowProps>;
26528
+ /**
26529
+ * The thread context card's row (see
26530
+ * {@link ExperimentalThreadContextCardRowProps}), the one bb's own entries
26531
+ * use.
26532
+ * Experimental: see docs/api_to_audit.md.
26533
+ */
26534
+ experimental_ThreadContextCardRow: ComponentType<ExperimentalThreadContextCardRowProps>;
26535
+ /**
26536
+ * The icon bb's tab strip draws for an open side panel tab (see
26537
+ * {@link ExperimentalPanelTabIconProps}). Experimental: see
26538
+ * docs/api_to_audit.md.
26539
+ */
26540
+ experimental_PanelTabIcon: ComponentType<ExperimentalPanelTabIconProps>;
26252
26541
  /**
26253
26542
  * The thread Info tab's list (see {@link ExperimentalInfoListProps}), the
26254
26543
  * one bb's own sections use. Experimental: see docs/api_to_audit.md.
@@ -26588,4 +26877,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
26588
26877
  };
26589
26878
 
26590
26879
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry };
26591
- 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, 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, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, 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, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, 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, PluginBoundThreadAction, 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, 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, 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, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
26880
+ 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, 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, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, 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, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, 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, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, 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, PluginBoundThreadAction, 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, 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, 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, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };