@get-bb/plugin-sdk 0.6.99 → 0.6.105

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<{
@@ -10303,6 +10335,9 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10303
10335
  skipped: "skipped";
10304
10336
  }>;
10305
10337
  }, z$1.core.$strict>;
10338
+ }, z$1.core.$strict>, z$1.ZodObject<{
10339
+ name: z$1.ZodLiteral<"plugin_creation_started">;
10340
+ properties: z$1.ZodObject<{}, z$1.core.$strict>;
10306
10341
  }, z$1.core.$strict>], "name">;
10307
10342
  type RecordTelemetryEventRequest = z$1.infer<typeof recordTelemetryEventRequestSchema>;
10308
10343
  declare const systemConfigResponseSchema: z$1.ZodObject<{
@@ -10377,6 +10412,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10377
10412
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10378
10413
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10379
10414
  "plugins.pruneCache": "plugins.pruneCache";
10415
+ "question.cancel": "question.cancel";
10416
+ "question.next": "question.next";
10417
+ "question.previous": "question.previous";
10380
10418
  "question.select.1": "question.select.1";
10381
10419
  "question.select.2": "question.select.2";
10382
10420
  "question.select.3": "question.select.3";
@@ -10386,6 +10424,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10386
10424
  "question.select.7": "question.select.7";
10387
10425
  "question.select.8": "question.select.8";
10388
10426
  "question.select.9": "question.select.9";
10427
+ "question.submit": "question.submit";
10389
10428
  "settings.open": "settings.open";
10390
10429
  "settings.openServers": "settings.openServers";
10391
10430
  "sidebar.toggle": "sidebar.toggle";
@@ -10432,6 +10471,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10432
10471
  modalOpen: "modalOpen";
10433
10472
  modelPickerOpen: "modelPickerOpen";
10434
10473
  promptAvailable: "promptAvailable";
10474
+ questionFocus: "questionFocus";
10435
10475
  questionOpen: "questionOpen";
10436
10476
  splitActive: "splitActive";
10437
10477
  terminalFocus: "terminalFocus";
@@ -10447,6 +10487,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10447
10487
  modalOpen: "modalOpen";
10448
10488
  modelPickerOpen: "modelPickerOpen";
10449
10489
  promptAvailable: "promptAvailable";
10490
+ questionFocus: "questionFocus";
10450
10491
  questionOpen: "questionOpen";
10451
10492
  splitActive: "splitActive";
10452
10493
  terminalFocus: "terminalFocus";
@@ -10460,8 +10501,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10460
10501
  changelogPreview: "changelogPreview";
10461
10502
  compactExpiredCache: "compactExpiredCache";
10462
10503
  performanceDiagnostics: "performanceDiagnostics";
10504
+ pluginUpdates: "pluginUpdates";
10463
10505
  serverMove: "serverMove";
10464
10506
  sidebarMultiSelect: "sidebarMultiSelect";
10507
+ skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
10508
+ threadContextCard: "threadContextCard";
10465
10509
  threadRowMetadata: "threadRowMetadata";
10466
10510
  timelinePush: "timelinePush";
10467
10511
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
@@ -10548,6 +10592,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10548
10592
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10549
10593
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10550
10594
  "plugins.pruneCache": "plugins.pruneCache";
10595
+ "question.cancel": "question.cancel";
10596
+ "question.next": "question.next";
10597
+ "question.previous": "question.previous";
10551
10598
  "question.select.1": "question.select.1";
10552
10599
  "question.select.2": "question.select.2";
10553
10600
  "question.select.3": "question.select.3";
@@ -10557,6 +10604,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10557
10604
  "question.select.7": "question.select.7";
10558
10605
  "question.select.8": "question.select.8";
10559
10606
  "question.select.9": "question.select.9";
10607
+ "question.submit": "question.submit";
10560
10608
  "settings.open": "settings.open";
10561
10609
  "settings.openServers": "settings.openServers";
10562
10610
  "sidebar.toggle": "sidebar.toggle";
@@ -10647,6 +10695,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10647
10695
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10648
10696
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10649
10697
  "plugins.pruneCache": "plugins.pruneCache";
10698
+ "question.cancel": "question.cancel";
10699
+ "question.next": "question.next";
10700
+ "question.previous": "question.previous";
10650
10701
  "question.select.1": "question.select.1";
10651
10702
  "question.select.2": "question.select.2";
10652
10703
  "question.select.3": "question.select.3";
@@ -10656,6 +10707,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10656
10707
  "question.select.7": "question.select.7";
10657
10708
  "question.select.8": "question.select.8";
10658
10709
  "question.select.9": "question.select.9";
10710
+ "question.submit": "question.submit";
10659
10711
  "settings.open": "settings.open";
10660
10712
  "settings.openServers": "settings.openServers";
10661
10713
  "sidebar.toggle": "sidebar.toggle";
@@ -10702,6 +10754,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10702
10754
  modalOpen: "modalOpen";
10703
10755
  modelPickerOpen: "modelPickerOpen";
10704
10756
  promptAvailable: "promptAvailable";
10757
+ questionFocus: "questionFocus";
10705
10758
  questionOpen: "questionOpen";
10706
10759
  splitActive: "splitActive";
10707
10760
  terminalFocus: "terminalFocus";
@@ -10717,6 +10770,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10717
10770
  modalOpen: "modalOpen";
10718
10771
  modelPickerOpen: "modelPickerOpen";
10719
10772
  promptAvailable: "promptAvailable";
10773
+ questionFocus: "questionFocus";
10720
10774
  questionOpen: "questionOpen";
10721
10775
  splitActive: "splitActive";
10722
10776
  terminalFocus: "terminalFocus";
@@ -15788,9 +15842,11 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15788
15842
  sourceSeq: z$1.ZodNumber;
15789
15843
  status: z$1.ZodEnum<{
15790
15844
  active: "active";
15845
+ blocked: "blocked";
15791
15846
  budgetLimited: "budgetLimited";
15792
15847
  complete: "complete";
15793
15848
  paused: "paused";
15849
+ usageLimited: "usageLimited";
15794
15850
  }>;
15795
15851
  timeUsedSeconds: z$1.ZodNumber;
15796
15852
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -16134,9 +16190,11 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16134
16190
  sourceSeq: z$1.ZodNumber;
16135
16191
  status: z$1.ZodEnum<{
16136
16192
  active: "active";
16193
+ blocked: "blocked";
16137
16194
  budgetLimited: "budgetLimited";
16138
16195
  complete: "complete";
16139
16196
  paused: "paused";
16197
+ usageLimited: "usageLimited";
16140
16198
  }>;
16141
16199
  timeUsedSeconds: z$1.ZodNumber;
16142
16200
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -16478,9 +16536,11 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16478
16536
  sourceSeq: z$1.ZodNumber;
16479
16537
  status: z$1.ZodEnum<{
16480
16538
  active: "active";
16539
+ blocked: "blocked";
16481
16540
  budgetLimited: "budgetLimited";
16482
16541
  complete: "complete";
16483
16542
  paused: "paused";
16543
+ usageLimited: "usageLimited";
16484
16544
  }>;
16485
16545
  timeUsedSeconds: z$1.ZodNumber;
16486
16546
  tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
@@ -18811,6 +18871,14 @@ interface ThreadsArea {
18811
18871
  * Experimental: see docs/api_to_audit.md.
18812
18872
  */
18813
18873
  experimental_listCascade(args: ThreadCascadeListArgs): Promise<ThreadCascadeListResult>;
18874
+ /**
18875
+ * Generate a new title from the thread's first task message, its latest user
18876
+ * messages, and the agent's latest replies, in the task's language. The
18877
+ * current title is kept when it still fits, when no title service is
18878
+ * available, or when generation fails, and the call rejects with the reason
18879
+ * on failure. Experimental: see docs/api_to_audit.md.
18880
+ */
18881
+ experimental_regenerateTitle(args: ThreadActionArgs): Promise<ThreadMutationResult>;
18814
18882
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
18815
18883
  queue: ThreadQueueArea;
18816
18884
  interactions: ThreadInteractionsArea;
@@ -21361,10 +21429,17 @@ interface ExperimentalQuestionShortcut {
21361
21429
  label: string;
21362
21430
  ariaKeyshortcuts: string;
21363
21431
  }
21432
+ /**
21433
+ * A form-level action bb binds while a pending interaction is open: `submit`
21434
+ * presses the form's primary button (Next, or Submit on the last question),
21435
+ * `previous` and `next` show another question without submitting, and
21436
+ * `cancel` presses the form's Cancel button.
21437
+ */
21438
+ type ExperimentalQuestionFormAction = "cancel" | "next" | "previous" | "submit";
21364
21439
  /**
21365
21440
  * The keyboard shortcuts bb binds while a pending interaction is open. The
21366
21441
  * host owns the bindings (users can remap them); a form shows them and decides
21367
- * what choosing an option means.
21442
+ * what choosing an option or an action means.
21368
21443
  */
21369
21444
  interface ExperimentalQuestionFormHost {
21370
21445
  /**
@@ -21372,6 +21447,8 @@ interface ExperimentalQuestionFormHost {
21372
21447
  * option). Missing entries have no binding.
21373
21448
  */
21374
21449
  shortcuts: ReadonlyMap<string, ExperimentalQuestionShortcut>;
21450
+ /** Shortcut per form action. Missing entries have no binding. */
21451
+ actionShortcuts: ReadonlyMap<ExperimentalQuestionFormAction, ExperimentalQuestionShortcut>;
21375
21452
  /**
21376
21453
  * Receive the index of the option the person chose with a shortcut while
21377
21454
  * the thread's pane is focused. Return true when the index names an option
@@ -21379,6 +21456,14 @@ interface ExperimentalQuestionFormHost {
21379
21456
  * function to unregister.
21380
21457
  */
21381
21458
  registerChoiceHandler(handler: (index: number) => boolean): () => void;
21459
+ /**
21460
+ * Receive the action the person chose with a shortcut while the thread's
21461
+ * pane is focused, or while focus is inside an element marked
21462
+ * `data-question-form`, including its text fields. Return true when the form
21463
+ * performed the action. The last registered handler wins; call the returned
21464
+ * function to unregister.
21465
+ */
21466
+ registerActionHandler(handler: (action: ExperimentalQuestionFormAction) => boolean): () => void;
21382
21467
  }
21383
21468
  /**
21384
21469
  * Props of the host-owned `experimental_VoiceInputTextarea`: a controlled
@@ -22873,6 +22958,100 @@ interface ExperimentalThreadInfoSectionRegistration {
22873
22958
  order?: number;
22874
22959
  component: ComponentType<ExperimentalThreadInfoProps>;
22875
22960
  }
22961
+ /**
22962
+ * Props passed to an `experimental_threadContextCardRow` or
22963
+ * `experimental_threadContextCardSection` component.
22964
+ */
22965
+ interface ExperimentalThreadContextCardProps {
22966
+ /**
22967
+ * The thread shown in the pane. Every thread pane of a split layout has its
22968
+ * own thread context card, so the component mounts once per visible thread;
22969
+ * keep per-thread state in the component, never in a module-level singleton.
22970
+ */
22971
+ threadId: string;
22972
+ projectId: string;
22973
+ /**
22974
+ * The thread's environment, taken from the thread; null only when the
22975
+ * thread has no environment. Read its state (host, checkout, git) yourself.
22976
+ */
22977
+ environment: ExperimentalThreadEnvironment | null;
22978
+ }
22979
+ /**
22980
+ * How a thread pane shows its thread context: `banner` in the context row
22981
+ * above the composer, `card` in the thread context card at the pane's
22982
+ * upper-right. bb picks one per pane.
22983
+ */
22984
+ type ExperimentalThreadContextKind = "banner" | "card";
22985
+ /**
22986
+ * A row in the thread context card at a thread pane's upper-right, below the
22987
+ * header, beside bb's own rows; the card's counterpart of
22988
+ * `experimental_threadInfoRow`. Render one or more
22989
+ * `experimental_ThreadContextCardRow` elements, or null to show nothing for
22990
+ * this thread. bb draws the card and places it, and mounts rows only in panes
22991
+ * whose thread context kind is `card`. A crash removes only this row for that
22992
+ * thread.
22993
+ */
22994
+ interface ExperimentalThreadContextCardRowRegistration {
22995
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
22996
+ id: string;
22997
+ /**
22998
+ * Rows sort by `group` (string compare), then by `order` within a group
22999
+ * (unset sorts last), then by registration order, with bb's own rows first
23000
+ * on a tie. Rows use the Info tab's groups,
23001
+ * {@link PluginSdkApp.experimental_THREAD_INFO_ROW_GROUPS}; any other
23002
+ * string is a group of its own, placed where it sorts.
23003
+ */
23004
+ group: string;
23005
+ order?: number;
23006
+ component: ComponentType<ExperimentalThreadContextCardProps>;
23007
+ }
23008
+ /**
23009
+ * A titled section of the thread context card, below its rows; the card's
23010
+ * counterpart of `experimental_threadInfoSection`. bb draws the title and a
23011
+ * divider above it, and hides the section while its component renders
23012
+ * nothing. A crash removes only this section for that thread.
23013
+ */
23014
+ interface ExperimentalThreadContextCardSectionRegistration {
23015
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
23016
+ id: string;
23017
+ /** Heading bb draws above the section's rows. */
23018
+ title: string;
23019
+ /**
23020
+ * Sections sort by `group` (string compare), then by `order` within a group
23021
+ * (unset sorts last), then by registration order, with bb's own sections
23022
+ * first on a tie. Sections use the Info tab's groups,
23023
+ * {@link PluginSdkApp.experimental_THREAD_INFO_SECTION_GROUPS}; any other
23024
+ * string is a group of its own, placed where it sorts.
23025
+ */
23026
+ group: string;
23027
+ order?: number;
23028
+ component: ComponentType<ExperimentalThreadContextCardProps>;
23029
+ }
23030
+ /**
23031
+ * Props of the host-owned `experimental_ThreadContextCardRow` component, the row
23032
+ * bb's own card rows use: an icon, a label, an optional trailing value, and an
23033
+ * optional second control. With `onClick` the label is a button.
23034
+ */
23035
+ interface ExperimentalThreadContextCardRowProps {
23036
+ /** Icon drawn before the label, any name `experimental_Icon` accepts. */
23037
+ icon?: BbIconName;
23038
+ /** Drawn in the icon's place, such as an app or site icon; wins over `icon`. */
23039
+ leading?: ReactNode;
23040
+ label: ReactNode;
23041
+ /** Drawn at the row's end, such as a count or `+4 −1`. */
23042
+ trailing?: ReactNode;
23043
+ /** Tooltip, and the accessible description when the label is truncated. */
23044
+ title?: string;
23045
+ disabled?: boolean;
23046
+ /**
23047
+ * A second control, such as a button that opens a menu. It takes the
23048
+ * place of `trailing` while the row is hovered or focused or the control's
23049
+ * menu is open, and always shows on touch screens.
23050
+ */
23051
+ action?: ReactNode;
23052
+ /** Makes the label a button. */
23053
+ onClick?(): void;
23054
+ }
22876
23055
  /**
22877
23056
  * Props of the host-owned `experimental_InfoSection` component — the heading,
22878
23057
  * count, and collapse control every Info tab section uses.
@@ -24476,6 +24655,18 @@ interface PluginAppSlots {
24476
24655
  * docs/api_to_audit.md.
24477
24656
  */
24478
24657
  experimental_threadInfoSection(registration: ExperimentalThreadInfoSectionRegistration): void;
24658
+ /**
24659
+ * Add a row to the thread context card of every thread pane (see
24660
+ * {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
24661
+ * docs/api_to_audit.md.
24662
+ */
24663
+ experimental_threadContextCardRow(registration: ExperimentalThreadContextCardRowRegistration): void;
24664
+ /**
24665
+ * Add a titled section to the thread context card of every thread pane (see
24666
+ * {@link ExperimentalThreadContextCardSectionRegistration}). Experimental:
24667
+ * see docs/api_to_audit.md.
24668
+ */
24669
+ experimental_threadContextCardSection(registration: ExperimentalThreadContextCardSectionRegistration): void;
24479
24670
  /**
24480
24671
  * Add an action to every thread actions menu (see
24481
24672
  * {@link PluginThreadActionRegistration}). Experimental: see
@@ -25599,6 +25790,24 @@ type ExperimentalOpenTabOptions = {
25599
25790
  interface ExperimentalPanelController {
25600
25791
  /** Select the tab and reveal the side panel. */
25601
25792
  openTab(options: ExperimentalOpenTabOptions): boolean;
25793
+ /**
25794
+ * The tabs open in this controller's side panel right now, the list
25795
+ * `experimental_usePanelTabs()` follows: for commands and other code that is
25796
+ * not a component. Closed and empty without a side panel.
25797
+ */
25798
+ getTabs(): ExperimentalPanelTabs;
25799
+ /**
25800
+ * Select any open tab, bb's or a plugin's, by its
25801
+ * {@link ExperimentalPanelTab.key} and reveal the side panel; false for a
25802
+ * key that is not open.
25803
+ */
25804
+ selectTab(key: string): boolean;
25805
+ /**
25806
+ * Close any open tab by its key, as its close button does; false for a key
25807
+ * that is not open or a tab that cannot be closed. Closing a terminal's tab
25808
+ * ends the terminal.
25809
+ */
25810
+ closeTab(key: string): boolean;
25602
25811
  /**
25603
25812
  * Close the side panel if this tab is showing — a fixed tab selected with
25604
25813
  * the panel open (`target` is ignored), or the action tab instance with the
@@ -25608,6 +25817,59 @@ interface ExperimentalPanelController {
25608
25817
  /** Close the side panel. */
25609
25818
  close(): boolean;
25610
25819
  }
25820
+ /** What an open side panel tab shows. */
25821
+ type ExperimentalPanelTabDetail = {
25822
+ kind: "info";
25823
+ } | {
25824
+ kind: "file";
25825
+ path: string;
25826
+ } | {
25827
+ kind: "browser";
25828
+ url: string;
25829
+ } | {
25830
+ kind: "terminal";
25831
+ terminalId: string;
25832
+ } | {
25833
+ kind: "new-tab";
25834
+ } | {
25835
+ kind: "plugin";
25836
+ pluginId: string;
25837
+ tab: ExperimentalTabReference;
25838
+ /** The action tab's params; null for fixed tabs and action tabs without. */
25839
+ params: JsonValue | null;
25840
+ } | {
25841
+ kind: "plugin-details";
25842
+ pluginId: string;
25843
+ };
25844
+ /** One tab open in a surface's side panel. */
25845
+ interface ExperimentalPanelTab {
25846
+ /**
25847
+ * Identifies the tab while it stays open; pass it to `selectTab`,
25848
+ * `closeTab`, or `experimental_PanelTabIcon`. Do not store it: a reopened
25849
+ * tab may get another key.
25850
+ */
25851
+ key: string;
25852
+ /** The label bb's tab strip shows. */
25853
+ title: string;
25854
+ /** The strip's secondary label, such as a terminal's exit status. */
25855
+ status: string | null;
25856
+ /** False for tabs without a close button, such as Info and fixed tabs. */
25857
+ closable: boolean;
25858
+ detail: ExperimentalPanelTabDetail;
25859
+ }
25860
+ /** The tabs of one surface's side panel, in the order bb's tab strip shows them. */
25861
+ interface ExperimentalPanelTabs {
25862
+ /** Whether the side panel is showing. */
25863
+ open: boolean;
25864
+ /** The selected tab's key, or null when none is selected. */
25865
+ selectedKey: string | null;
25866
+ tabs: readonly ExperimentalPanelTab[];
25867
+ }
25868
+ /** Props of `experimental_PanelTabIcon`. */
25869
+ interface ExperimentalPanelTabIconProps {
25870
+ /** An {@link ExperimentalPanelTab.key}; renders nothing for a closed tab. */
25871
+ tabKey: string;
25872
+ }
25611
25873
  /** Current app selection, derived from the route. */
25612
25874
  interface BbContext {
25613
25875
  projectId: string | null;
@@ -25836,6 +26098,15 @@ interface PluginSdkApp {
25836
26098
  * docs/api_to_audit.md.
25837
26099
  */
25838
26100
  experimental_useExperiment(key: string): boolean;
26101
+ /**
26102
+ * How the thread pane the calling component renders in shows its thread
26103
+ * context (see {@link ExperimentalThreadContextKind}); `banner` outside a
26104
+ * thread pane. A context segment whose content is also a thread context card
26105
+ * row or section hides itself in `useVisible` while this is `card`; other
26106
+ * segments keep showing above the composer.
26107
+ * Experimental: see docs/api_to_audit.md.
26108
+ */
26109
+ experimental_useThreadContextKind(): ExperimentalThreadContextKind;
25839
26110
  useBbContext(): BbContext;
25840
26111
  /**
25841
26112
  * The id of the plugin that owns the calling component: the same id
@@ -25881,6 +26152,14 @@ interface PluginSdkApp {
25881
26152
  * thread view, the plugin page, or the New thread screen.
25882
26153
  */
25883
26154
  experimental_useAppPanel(): ExperimentalPanelController;
26155
+ /**
26156
+ * The tabs open in the side panel of the surface the calling component
26157
+ * renders in, following live changes: the same list bb's tab strip shows.
26158
+ * Closed and empty on a surface without a side panel. Act on a tab with
26159
+ * `experimental_useAppPanel().selectTab` or `closeTab`. Experimental: see
26160
+ * docs/api_to_audit.md.
26161
+ */
26162
+ experimental_usePanelTabs(): ExperimentalPanelTabs;
25884
26163
  /** Read or clear the owning tab's validated, session-scoped target. */
25885
26164
  experimental_useFixedTabTarget<Target extends JsonValue>(tab: ExperimentalTabTargetReference<Target> | ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
25886
26165
  useComposer(): PluginComposerApi;
@@ -26249,6 +26528,19 @@ interface PluginSdkApp {
26249
26528
  * Experimental: see docs/api_to_audit.md.
26250
26529
  */
26251
26530
  experimental_DetailRow: ComponentType<ExperimentalDetailRowProps>;
26531
+ /**
26532
+ * The thread context card's row (see
26533
+ * {@link ExperimentalThreadContextCardRowProps}), the one bb's own entries
26534
+ * use.
26535
+ * Experimental: see docs/api_to_audit.md.
26536
+ */
26537
+ experimental_ThreadContextCardRow: ComponentType<ExperimentalThreadContextCardRowProps>;
26538
+ /**
26539
+ * The icon bb's tab strip draws for an open side panel tab (see
26540
+ * {@link ExperimentalPanelTabIconProps}). Experimental: see
26541
+ * docs/api_to_audit.md.
26542
+ */
26543
+ experimental_PanelTabIcon: ComponentType<ExperimentalPanelTabIconProps>;
26252
26544
  /**
26253
26545
  * The thread Info tab's list (see {@link ExperimentalInfoListProps}), the
26254
26546
  * one bb's own sections use. Experimental: see docs/api_to_audit.md.
@@ -26588,4 +26880,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
26588
26880
  };
26589
26881
 
26590
26882
  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 };
26883
+ 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 };