@get-bb/plugin-sdk 0.6.89 → 0.6.94

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.
@@ -62,7 +62,6 @@ declare const appSettingsSchema: z$1.ZodObject<{
62
62
  }>>;
63
63
  providerOrder: z$1.ZodArray<z$1.ZodString>;
64
64
  showDiagnosticEvents: z$1.ZodBoolean;
65
- showGitChanges: z$1.ZodBoolean;
66
65
  showKeyboardHints: z$1.ZodBoolean;
67
66
  steerActiveThreadOnEnter: z$1.ZodBoolean;
68
67
  streamerMode: z$1.ZodBoolean;
@@ -89,7 +88,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
89
88
  }>>;
90
89
  providerOrder: z$1.ZodArray<z$1.ZodString>;
91
90
  showDiagnosticEvents: z$1.ZodBoolean;
92
- showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
93
91
  showKeyboardHints: z$1.ZodBoolean;
94
92
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
95
93
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -114,7 +112,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
114
112
  flat: "flat";
115
113
  }>>;
116
114
  providerOrder: z$1.ZodArray<z$1.ZodString>;
117
- showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
118
115
  showKeyboardHints: z$1.ZodBoolean;
119
116
  showUnhandledProviderEvents: z$1.ZodBoolean;
120
117
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -161,7 +158,7 @@ declare const uiPreferenceDefinitions: {
161
158
  readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
162
159
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
163
160
  readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
164
- readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
161
+ readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
165
162
  };
166
163
  type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
167
164
  interface UiPreferenceEntry<Key extends UiPreferenceKey = UiPreferenceKey> {
@@ -180,7 +177,6 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
180
177
  "browser.reload": "browser.reload";
181
178
  "composer.focus": "composer.focus";
182
179
  "dataDirectory.open": "dataDirectory.open";
183
- "diff.toggle": "diff.toggle";
184
180
  "file.quickOpen": "file.quickOpen";
185
181
  "history.back": "history.back";
186
182
  "history.forward": "history.forward";
@@ -234,6 +230,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
234
230
  "settings.open": "settings.open";
235
231
  "settings.openServers": "settings.openServers";
236
232
  "sidebar.toggle": "sidebar.toggle";
233
+ "terminal.find": "terminal.find";
237
234
  "terminal.open": "terminal.open";
238
235
  "thread.archive": "thread.archive";
239
236
  "thread.jump.1": "thread.jump.1";
@@ -524,23 +521,29 @@ declare const environmentSchema: z$1.ZodObject<{
524
521
  type Environment = z$1.infer<typeof environmentSchema>;
525
522
 
526
523
  declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
524
+ applicationLinks: "applicationLinks";
527
525
  changelogPreview: "changelogPreview";
528
526
  compactExpiredCache: "compactExpiredCache";
529
527
  performanceDiagnostics: "performanceDiagnostics";
530
528
  serverMove: "serverMove";
531
529
  sidebarMultiSelect: "sidebarMultiSelect";
530
+ threadRowMetadata: "threadRowMetadata";
532
531
  timelinePush: "timelinePush";
533
532
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
533
+ websocketCompression: "websocketCompression";
534
534
  }>, z$1.ZodBoolean>;
535
535
  type Experiments = z$1.infer<typeof experimentsSchema>;
536
536
  declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
537
+ applicationLinks: "applicationLinks";
537
538
  changelogPreview: "changelogPreview";
538
539
  compactExpiredCache: "compactExpiredCache";
539
540
  performanceDiagnostics: "performanceDiagnostics";
540
541
  serverMove: "serverMove";
541
542
  sidebarMultiSelect: "sidebarMultiSelect";
543
+ threadRowMetadata: "threadRowMetadata";
542
544
  timelinePush: "timelinePush";
543
545
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
546
+ websocketCompression: "websocketCompression";
544
547
  }> & z$1.core.$partial, z$1.ZodBoolean>;
545
548
  type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
546
549
 
@@ -10306,7 +10309,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10306
10309
  "browser.reload": "browser.reload";
10307
10310
  "composer.focus": "composer.focus";
10308
10311
  "dataDirectory.open": "dataDirectory.open";
10309
- "diff.toggle": "diff.toggle";
10310
10312
  "file.quickOpen": "file.quickOpen";
10311
10313
  "history.back": "history.back";
10312
10314
  "history.forward": "history.forward";
@@ -10360,6 +10362,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10360
10362
  "settings.open": "settings.open";
10361
10363
  "settings.openServers": "settings.openServers";
10362
10364
  "sidebar.toggle": "sidebar.toggle";
10365
+ "terminal.find": "terminal.find";
10363
10366
  "terminal.open": "terminal.open";
10364
10367
  "thread.archive": "thread.archive";
10365
10368
  "thread.jump.1": "thread.jump.1";
@@ -10426,13 +10429,16 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10426
10429
  }, z$1.core.$strict>;
10427
10430
  }, z$1.core.$strict>>;
10428
10431
  experiments: z$1.ZodRecord<z$1.ZodEnum<{
10432
+ applicationLinks: "applicationLinks";
10429
10433
  changelogPreview: "changelogPreview";
10430
10434
  compactExpiredCache: "compactExpiredCache";
10431
10435
  performanceDiagnostics: "performanceDiagnostics";
10432
10436
  serverMove: "serverMove";
10433
10437
  sidebarMultiSelect: "sidebarMultiSelect";
10438
+ threadRowMetadata: "threadRowMetadata";
10434
10439
  timelinePush: "timelinePush";
10435
10440
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
10441
+ websocketCompression: "websocketCompression";
10436
10442
  }>, z$1.ZodBoolean>;
10437
10443
  featureFlags: z$1.ZodObject<{
10438
10444
  initiatorTelemetry: z$1.ZodDefault<z$1.ZodBoolean>;
@@ -10457,7 +10463,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10457
10463
  }>>;
10458
10464
  providerOrder: z$1.ZodArray<z$1.ZodString>;
10459
10465
  showDiagnosticEvents: z$1.ZodBoolean;
10460
- showGitChanges: z$1.ZodBoolean;
10461
10466
  showKeyboardHints: z$1.ZodBoolean;
10462
10467
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
10463
10468
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -10475,7 +10480,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10475
10480
  "browser.reload": "browser.reload";
10476
10481
  "composer.focus": "composer.focus";
10477
10482
  "dataDirectory.open": "dataDirectory.open";
10478
- "diff.toggle": "diff.toggle";
10479
10483
  "file.quickOpen": "file.quickOpen";
10480
10484
  "history.back": "history.back";
10481
10485
  "history.forward": "history.forward";
@@ -10529,6 +10533,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10529
10533
  "settings.open": "settings.open";
10530
10534
  "settings.openServers": "settings.openServers";
10531
10535
  "sidebar.toggle": "sidebar.toggle";
10536
+ "terminal.find": "terminal.find";
10532
10537
  "terminal.open": "terminal.open";
10533
10538
  "thread.archive": "thread.archive";
10534
10539
  "thread.jump.1": "thread.jump.1";
@@ -10574,7 +10579,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10574
10579
  "browser.reload": "browser.reload";
10575
10580
  "composer.focus": "composer.focus";
10576
10581
  "dataDirectory.open": "dataDirectory.open";
10577
- "diff.toggle": "diff.toggle";
10578
10582
  "file.quickOpen": "file.quickOpen";
10579
10583
  "history.back": "history.back";
10580
10584
  "history.forward": "history.forward";
@@ -10628,6 +10632,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10628
10632
  "settings.open": "settings.open";
10629
10633
  "settings.openServers": "settings.openServers";
10630
10634
  "sidebar.toggle": "sidebar.toggle";
10635
+ "terminal.find": "terminal.find";
10631
10636
  "terminal.open": "terminal.open";
10632
10637
  "thread.archive": "thread.archive";
10633
10638
  "thread.jump.1": "thread.jump.1";
@@ -21274,8 +21279,7 @@ interface PluginNavPanelProps {
21274
21279
  * This slot is rendered only for an existing thread. Use
21275
21280
  * `experimental_newThreadPanelAction` for the root New thread screen.
21276
21281
  */
21277
- interface ExperimentalThreadActionTabProps {
21278
- threadId: string;
21282
+ interface ExperimentalThreadActionTabProps extends ExperimentalThreadTabProps {
21279
21283
  /**
21280
21284
  * The JSON `params` the tab was opened with (round-tripped through
21281
21285
  * persistence, so the tab restores across reloads); null when it was
@@ -21283,6 +21287,17 @@ interface ExperimentalThreadActionTabProps {
21283
21287
  */
21284
21288
  params: JsonValue | null;
21285
21289
  }
21290
+ /** Props every thread tab receives, fixed or action. */
21291
+ interface ExperimentalThreadTabProps {
21292
+ threadId: string;
21293
+ /**
21294
+ * The thread's environment, taken from the thread so it is present on the
21295
+ * first render; null only when the thread has no environment. The tab reads
21296
+ * whatever it needs about the environment itself and handles loading and
21297
+ * failure there.
21298
+ */
21299
+ environment: ExperimentalThreadEnvironment | null;
21300
+ }
21286
21301
  /** Props passed to a panel tab opened by `experimental_newThreadPanelAction`. */
21287
21302
  interface PluginNewThreadPanelProps {
21288
21303
  /** Project selected in the root composer; null in projectless compose. */
@@ -21616,26 +21631,6 @@ interface PluginThreadListProps {
21616
21631
  */
21617
21632
  searchQuery: string;
21618
21633
  }
21619
- /**
21620
- * Props passed to an `experimental_threadHeaderAction` component, rendered in
21621
- * the thread header's action row.
21622
- */
21623
- interface PluginThreadHeaderActionProps {
21624
- /**
21625
- * The thread this header belongs to. Never null: the slot is not rendered
21626
- * on the compose screen or other non-thread routes. A split layout renders
21627
- * one header per pane, so the component mounts once per visible thread,
21628
- * each with its own id — keep per-thread state in the component, never in a
21629
- * module-level singleton.
21630
- */
21631
- threadId: string;
21632
- projectId: string;
21633
- /**
21634
- * True on phone-width viewports and coarse pointers. Collapse to an
21635
- * icon-sized control when it is true — the row is short.
21636
- */
21637
- isCompactViewport: boolean;
21638
- }
21639
21634
  /** JavaScript world a Browser page expression runs in. */
21640
21635
  type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
21641
21636
  interface ExperimentalPluginBrowserPageEvaluateOptions {
@@ -22119,9 +22114,7 @@ type ExperimentalTabLifecycle<Props, Context> = {
22119
22114
  };
22120
22115
  type ExperimentalTabContextProps<C extends ExperimentalTabContext> = C extends {
22121
22116
  kind: "thread";
22122
- } ? {
22123
- threadId: string;
22124
- } : PluginNavPanelProps;
22117
+ } ? ExperimentalThreadTabProps : PluginNavPanelProps;
22125
22118
  type ExperimentalTabInput<C extends ExperimentalTabContext, A extends "action" | "fixed"> = {
22126
22119
  id: string;
22127
22120
  title: string;
@@ -22151,21 +22144,11 @@ type ExperimentalTabRegistration = ExperimentalTabCommon & (({
22151
22144
  context: {
22152
22145
  kind: "thread";
22153
22146
  };
22154
- useVisible?(props: {
22155
- threadId: string;
22156
- }): boolean;
22157
- } & ((ExperimentalTabLifecycle<{
22158
- threadId: string;
22159
- }, {
22160
- threadId: string;
22161
- }> & {
22147
+ useVisible?(props: ExperimentalThreadTabProps): boolean;
22148
+ } & ((ExperimentalTabLifecycle<ExperimentalThreadTabProps, ExperimentalThreadTabProps> & {
22162
22149
  availability: "action";
22163
22150
  experimental_target?: never;
22164
- }) | (ExperimentalTabLifecycle<{
22165
- threadId: string;
22166
- }, {
22167
- threadId: string;
22168
- }> & {
22151
+ }) | (ExperimentalTabLifecycle<ExperimentalThreadTabProps, ExperimentalThreadTabProps> & {
22169
22152
  availability: "fixed";
22170
22153
  experimental_target?: ExperimentalFixedTabTargetContract<JsonValue>;
22171
22154
  }))) | ({
@@ -22676,27 +22659,61 @@ interface PluginSidebarThreadShortcut {
22676
22659
  ariaKeyshortcuts: string;
22677
22660
  }
22678
22661
  /**
22679
- * Render a plugin component in the thread header's action row.
22680
- *
22681
- * The frontend sibling of the backend `bb.ui.registerThreadAction`, which
22682
- * renders a host-owned button and runs server-side. Use that one for "do a
22683
- * thing"; use this one when the control must draw live state.
22684
- *
22685
- * The host places it at the left end of the action row, before the workspace
22686
- * button, git actions, the panel toggle, maximize, and close. That row is a
22687
- * 48px chrome row with 28px controls: render one inline control that fits, and
22688
- * put anything taller in a portalled popover.
22662
+ * Props passed to an `experimental_threadRowMetadata` component, rendered on a
22663
+ * thread's row in a thread list: bb's sidebar and any list that draws
22664
+ * {@link PluginSdkApp.experimental_ThreadRowMetadata}.
22689
22665
  */
22690
- interface PluginThreadHeaderActionRegistration {
22666
+ interface ExperimentalThreadRowMetadataProps<Data = undefined> {
22667
+ /** The row's thread, the same value the list renders. */
22668
+ thread: PluginSidebarThread;
22669
+ /** What `useData` last returned; undefined when the registration has none. */
22670
+ data: Data;
22671
+ }
22672
+ /** What a row metadata registration's `useData` receives. */
22673
+ interface ExperimentalThreadRowMetadataDataInput {
22674
+ /**
22675
+ * Every thread a list may draw a metadata line for: bb's active sidebar
22676
+ * threads in sidebar order, then any other thread whose line is mounted
22677
+ * (such as an archived row), deduplicated. Threads whose rows are not
22678
+ * rendered, like a windowed list's rows off screen, are included: load
22679
+ * them all in one batch so a row has its data, and its final height, when
22680
+ * it renders.
22681
+ */
22682
+ threads: readonly PluginSidebarThread[];
22683
+ }
22684
+ /**
22685
+ * A small item on a thread row's metadata line, under the title: a badge, not
22686
+ * a control. Items share one line, left to right, and the line clips at the
22687
+ * row's edge. bb's sidebar draws the line only while the `threadRowMetadata`
22688
+ * experiment is on and the user turns on Organize → Rows → Metadata, and only
22689
+ * on rows where an item shows something.
22690
+ * Load the line's data in `useData`, a React hook bb calls once for the
22691
+ * whole app while any list draws a metadata line, never per row; it
22692
+ * receives every thread a list may show, so read them in one batch (for
22693
+ * example one `experimental_useRpcKeyedQuery` over their keys). The
22694
+ * component is then a pure render of its thread and `data`; with `useData`
22695
+ * it first renders once `useData` has returned. A row that renders already
22696
+ * has its data, so rows keep their height as they scroll into view.
22697
+ * It hides the line while the row is renamed or customized and keeps it
22698
+ * visible on hover. Render null to show nothing for a thread. Keep
22699
+ * it to an icon and a few characters with a tooltip; clicks on it open the
22700
+ * thread like the rest of the row. A crash removes only this item for that
22701
+ * row.
22702
+ */
22703
+ interface ExperimentalThreadRowMetadataRegistration<Data = undefined> {
22691
22704
  /** Unique within the plugin; letters, digits, `-`, `_`. */
22692
22705
  id: string;
22693
22706
  /**
22694
- * Names the region the host wraps around your component (a labelled group).
22695
- * It does NOT label your control: an icon-only button still needs its own
22696
- * accessible name.
22707
+ * Items sort by `order` (unset sorts last), then registration order. The
22708
+ * first item starts the line.
22697
22709
  */
22698
- title: string;
22699
- component: ComponentType<PluginThreadHeaderActionProps>;
22710
+ order?: number;
22711
+ useData?(input: ExperimentalThreadRowMetadataDataInput): Data;
22712
+ component: ComponentType<ExperimentalThreadRowMetadataProps<Data>>;
22713
+ }
22714
+ /** Props for {@link PluginSdkApp.experimental_ThreadRowMetadata}. */
22715
+ interface ExperimentalThreadRowMetadataLineProps {
22716
+ thread: PluginSidebarThread;
22700
22717
  }
22701
22718
  /**
22702
22719
  * Props passed to an `experimental_threadInfoRow` or
@@ -22711,8 +22728,8 @@ interface ExperimentalThreadInfoProps {
22711
22728
  threadId: string;
22712
22729
  projectId: string;
22713
22730
  /**
22714
- * The thread's environment, or null when the thread has no environment,
22715
- * its host is not active, or the environment is not a usable checkout.
22731
+ * The thread's environment, taken from the thread; null only when the
22732
+ * thread has no environment. Read its state (host, checkout, git) yourself.
22716
22733
  */
22717
22734
  environment: ExperimentalThreadEnvironment | null;
22718
22735
  }
@@ -22734,8 +22751,7 @@ interface ExperimentalThreadContextSegmentInput {
22734
22751
  projectId: string;
22735
22752
  /**
22736
22753
  * The thread's environment, or null when the thread has no environment,
22737
- * its host is not active, the environment is not a usable checkout, or the
22738
- * user turned off "Show Git changes and Commit button".
22754
+ * its host is not active, or the environment is not a usable checkout.
22739
22755
  */
22740
22756
  environment: ExperimentalThreadEnvironment | null;
22741
22757
  }
@@ -22963,7 +22979,8 @@ interface PluginThreadActionDataInput {
22963
22979
  /**
22964
22980
  * Every thread a visible surface currently shows actions for (sidebar rows
22965
22981
  * on screen, the open thread's header, open menus); a hidden sidebar
22966
- * contributes none. Sorted, deduplicated, and published once the set has
22982
+ * contributes none. A `"header"` action receives only the threads whose
22983
+ * header is on screen. Sorted, deduplicated, and published once the set has
22967
22984
  * been quiet for 32 ms (at most 100 ms after the first change), so rows
22968
22985
  * that mount a frame apart arrive together. Load per-thread state for these
22969
22986
  * ids, fetching only ids not loaded yet.
@@ -23016,6 +23033,9 @@ interface PluginThreadActionBulkItemInput<Data> {
23016
23033
  * derives the action for one thread from that thread and `data`, closing over
23017
23034
  * everything `run` needs, or returns null to hide it. A throw from either
23018
23035
  * drops only this registration.
23036
+ *
23037
+ * With `placement: "header"` the action is a button in the open thread's
23038
+ * header instead (see {@link PluginThreadActionPlacement}).
23019
23039
  */
23020
23040
  interface PluginThreadActionRegistration<Data = undefined> {
23021
23041
  /** Unique within the plugin; letters, digits, `-`, `_`. */
@@ -23033,6 +23053,8 @@ interface PluginThreadActionRegistration<Data = undefined> {
23033
23053
  */
23034
23054
  group: string;
23035
23055
  order?: number;
23056
+ /** Where the action shows; defaults to `"menu"`. */
23057
+ placement?: PluginThreadActionPlacement;
23036
23058
  useData?(input: PluginThreadActionDataInput): Data;
23037
23059
  item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
23038
23060
  /**
@@ -23045,6 +23067,21 @@ interface PluginThreadActionRegistration<Data = undefined> {
23045
23067
  */
23046
23068
  experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
23047
23069
  }
23070
+ /**
23071
+ * Where a thread action shows.
23072
+ *
23073
+ * - `"menu"`: every thread actions menu and the quick-action picker.
23074
+ * - `"header"`: only the open thread's header, as an outline button labelled
23075
+ * with the action's `label`, after the workspace's Open button. Several
23076
+ * header actions share one split button, the first as its main action. At
23077
+ * compact width and in narrow split panes the buttons fold into the
23078
+ * header's thread menu as rows at its top, after Open. `group` and `order`
23079
+ * sort header actions among themselves. Header actions never appear in
23080
+ * other menus, selection menus, `experimental_useThreadActions`, or the
23081
+ * quick-action picker, and an action that returns `choices` is left out
23082
+ * of the header.
23083
+ */
23084
+ type PluginThreadActionPlacement = "header" | "menu";
23048
23085
  /**
23049
23086
  * A thread action as {@link PluginSdkApp.experimental_useThreadActions}
23050
23087
  * returns it: `run` is bound to the caller's `requestRename` (or bb's rename
@@ -24342,18 +24379,19 @@ interface PluginAppSlots {
24342
24379
  * docs/api_to_audit.md.
24343
24380
  */
24344
24381
  experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
24345
- /**
24346
- * Render a component in the thread header's action row (see
24347
- * {@link PluginThreadHeaderActionRegistration}). Experimental: see
24348
- * docs/api_to_audit.md.
24349
- */
24350
- experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
24351
24382
  /**
24352
24383
  * Add context beside an existing thread's composer (see
24353
24384
  * {@link ExperimentalThreadContextSegmentRegistration}). Experimental: see
24354
24385
  * docs/api_to_audit.md.
24355
24386
  */
24356
24387
  experimental_threadContextSegment(registration: ExperimentalThreadContextSegmentRegistration): void;
24388
+ /**
24389
+ * Add a small item to the metadata line of every thread row in thread
24390
+ * lists (see
24391
+ * {@link ExperimentalThreadRowMetadataRegistration}). Experimental: see
24392
+ * docs/api_to_audit.md.
24393
+ */
24394
+ experimental_threadRowMetadata<Data = undefined>(registration: ExperimentalThreadRowMetadataRegistration<Data>): void;
24357
24395
  /**
24358
24396
  * Add a row to the thread Info tab's details block (see
24359
24397
  * {@link ExperimentalThreadInfoRowRegistration}). Experimental: see
@@ -25546,8 +25584,10 @@ interface BbNavigate {
25546
25584
  hostId?: string;
25547
25585
  }): void;
25548
25586
  /**
25549
- * Open an HTTP(S) URL using this client's BB browser preference. Returns
25550
- * false for schemes the host does not own. Experimental: see
25587
+ * Open an HTTP(S) URL using this client's BB browser preference, or request
25588
+ * an application link on this device with confirmation unless its scheme is approved when
25589
+ * the applicationLinks experiment is enabled. Returns false
25590
+ * for blocked or unsupported schemes. True means handled, not launched. See
25551
25591
  * docs/api_to_audit.md.
25552
25592
  */
25553
25593
  openUrl(url: string): boolean;
@@ -25589,10 +25629,17 @@ interface ExperimentalRpcQueryState<T> {
25589
25629
  isLoading: boolean;
25590
25630
  /** A read attempt is active, including background refreshes. Keyed consumers share this activity for their method; offline-paused reads are not fetching. */
25591
25631
  isFetching: boolean;
25592
- /** Force a read regardless of freshness and wait for its attempt/retries. Keyed reads refresh the method's subscribed keys. Failures update error and retain data; this promise resolves rather than rejecting. */
25632
+ /** Force a read regardless of freshness and wait for its attempt/retries. Keyed reads refresh only this hook's keys, batched with other hooks refreshing in the same render. Failures update error and retain data; this promise resolves rather than rejecting. */
25593
25633
  refetch(): Promise<void>;
25594
25634
  }
25595
25635
  interface ExperimentalRpcKeyedQueryState<T, Selection = Record<string, T>> extends ExperimentalRpcQueryState<Selection> {
25636
+ /**
25637
+ * Read these keys again and keep every other loaded row, for retrying one
25638
+ * failed row without refreshing the rest. Keys must be among this query's
25639
+ * keys; others are ignored. Resolves once the read settles; failures update
25640
+ * `error` and retain data.
25641
+ */
25642
+ refetchKeys(keys: readonly string[]): Promise<void>;
25596
25643
  }
25597
25644
  interface ExperimentalRpcQueryOptions<Contract extends PluginRpcContract, Method extends keyof Contract & string> {
25598
25645
  contract: Contract;
@@ -25641,6 +25688,10 @@ interface ExperimentalRpcMutationState<Method extends PluginRpcMethodContract> {
25641
25688
  * shims the specifier to that object on `globalThis.__bbPluginRuntime`.
25642
25689
  */
25643
25690
  interface PluginSdkApp {
25691
+ /** List URL schemes approved for this BB site in the viewing client's localStorage. Core Settings uses the same implementation. */
25692
+ experimental_getApplicationLinkApprovals(): Promise<string[]>;
25693
+ /** Revoke one scheme, or all with null, for this BB site on this client. Does not grant permission. */
25694
+ experimental_revokeApplicationLinkApproval(scheme: string | null): Promise<string[]>;
25644
25695
  experimental_PluginRpcCallError: typeof experimental_PluginRpcCallError;
25645
25696
  experimental_useRpcRefresh(): {
25646
25697
  refresh(): void;
@@ -25650,7 +25701,7 @@ interface PluginSdkApp {
25650
25701
  experimental_useRpcQuery<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcQueryOptions<Contract, Method>): ExperimentalRpcQueryState<PluginRpcResult<Contract[Method]>>;
25651
25702
  /** Call a mutating RPC through BB's query client; pending until the server acknowledges the write; matched reads refresh in the background. */
25652
25703
  experimental_useRpcMutation<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcMutationOptions<Contract, Method>): ExperimentalRpcMutationState<Contract[Method]>;
25653
- /** Cache each key independently and batch missing or invalidated keys in the same render. */
25704
+ /** Cache each key independently and batch missing or invalidated keys in the same render. Each key is watched once while the hook holds it, so a changing key list subscribes only added keys and releases only removed ones. */
25654
25705
  experimental_useRpcKeyedQuery<Contract extends PluginRpcContract, Method extends ExperimentalRpcKeyedMethod<Contract>, Selection = Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>>(options: {
25655
25706
  contract: Contract;
25656
25707
  pluginId?: string;
@@ -25713,6 +25764,15 @@ interface PluginSdkApp {
25713
25764
  * the answer changes. Experimental: see docs/api_to_audit.md.
25714
25765
  */
25715
25766
  experimental_useCanOpenFileExternally(target: ExperimentalLiveFileTarget): boolean;
25767
+ /**
25768
+ * Whether the panel tab this component renders in is showing: it is the
25769
+ * selected tab of its pane and the side panel is open. False while the panel
25770
+ * is closed or suppressed, while another tab is selected, and outside a
25771
+ * panel tab. bb keeps a closed panel's tab mounted, so pause reads that only
25772
+ * feed what the tab draws while this is false. Works in fixed and action
25773
+ * tabs. Experimental: see docs/api_to_audit.md.
25774
+ */
25775
+ experimental_useTabVisible(): boolean;
25716
25776
  /**
25717
25777
  * The side panel of the surface the calling component renders in: the
25718
25778
  * thread view, the plugin page, or the New thread screen.
@@ -25763,7 +25823,7 @@ interface PluginSdkApp {
25763
25823
  */
25764
25824
  experimental_useArchiveEnvironmentThreads(): (environmentId: string) => Promise<void>;
25765
25825
  /**
25766
- * Every thread action for one thread, in menu order (see
25826
+ * Every `"menu"` thread action for one thread, in menu order (see
25767
25827
  * {@link PluginThreadAction} for grouping): bb's own registrations first,
25768
25828
  * then plugins' in registration order. Registrations' `useData` hooks run
25769
25829
  * once for the app, so calling this per sidebar row costs one store
@@ -25772,8 +25832,9 @@ interface PluginSdkApp {
25772
25832
  */
25773
25833
  experimental_useThreadActions(thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions): readonly PluginThreadActionEntry[];
25774
25834
  /**
25775
- * Every registered thread action with its static title and icon, in menu
25776
- * order and independent of any thread: what a quick-action picker lists.
25835
+ * Every registered `"menu"` thread action with its static title and icon,
25836
+ * in menu order and independent of any thread: what a quick-action picker
25837
+ * lists.
25777
25838
  * Experimental: see docs/api_to_audit.md.
25778
25839
  */
25779
25840
  experimental_useThreadActionRegistrations(): readonly PluginThreadActionRegistrationInfo[];
@@ -25917,6 +25978,15 @@ interface PluginSdkApp {
25917
25978
  * Experimental: see docs/api_to_audit.md.
25918
25979
  */
25919
25980
  experimental_ThreadStatusGlyph: ComponentType<PluginThreadStatusGlyphProps>;
25981
+ /**
25982
+ * Every `experimental_threadRowMetadata` contribution for one thread row (see
25983
+ * {@link ExperimentalThreadRowMetadataRegistration}), the items bb's sidebar
25984
+ * draws on its rows' metadata line. Render it under your row's title, in
25985
+ * a flex parent as wide as the line. Badges such as a pull request's status then appear on your rows as they do on
25986
+ * bb's. It renders nothing when no plugin contributes an item.
25987
+ * Experimental: see docs/api_to_audit.md.
25988
+ */
25989
+ experimental_ThreadRowMetadata: ComponentType<ExperimentalThreadRowMetadataLineProps>;
25920
25990
  /**
25921
25991
  * bb's environment provider catalog (see
25922
25992
  * {@link PluginEnvironmentProvidersState}), the directory a thread's
@@ -26415,4 +26485,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
26415
26485
  };
26416
26486
 
26417
26487
  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 };
26418
- 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, 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, 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, ExperimentalThreadTabActionContext, 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, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, 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 };
26488
+ 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, 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, 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 };
package/dist/app.js CHANGED
@@ -219,6 +219,9 @@ var useBbNavigate = runtimeFunction("useBbNavigate");
219
219
  var experimental_useCanOpenFileExternally = runtimeFunction(
220
220
  "experimental_useCanOpenFileExternally"
221
221
  );
222
+ var experimental_useTabVisible = runtimeFunction(
223
+ "experimental_useTabVisible"
224
+ );
222
225
  var experimental_useAppPanel = runtimeFunction(
223
226
  "experimental_useAppPanel"
224
227
  );
@@ -333,6 +336,9 @@ var ThreadTitle = runtimeComponent("ThreadTitle");
333
336
  var experimental_ThreadStatusGlyph = runtimeComponent(
334
337
  "experimental_ThreadStatusGlyph"
335
338
  );
339
+ var experimental_ThreadRowMetadata = runtimeComponent(
340
+ "experimental_ThreadRowMetadata"
341
+ );
336
342
  var useEnvironmentProviders = runtimeFunction(
337
343
  "useEnvironmentProviders"
338
344
  );
@@ -347,6 +353,12 @@ var experimental_copyToClipboard = runtimeFunction(
347
353
  "experimental_copyToClipboard"
348
354
  );
349
355
  var experimental_saveFile = runtimeFunction("experimental_saveFile");
356
+ var experimental_getApplicationLinkApprovals = runtimeFunction(
357
+ "experimental_getApplicationLinkApprovals"
358
+ );
359
+ var experimental_revokeApplicationLinkApproval = runtimeFunction(
360
+ "experimental_revokeApplicationLinkApproval"
361
+ );
350
362
  export {
351
363
  Markdown,
352
364
  ThreadChat,
@@ -380,6 +392,7 @@ export {
380
392
  experimental_THREAD_INFO_SECTION_GROUPS,
381
393
  experimental_ThreadActionsContextMenu,
382
394
  experimental_ThreadActionsMenu,
395
+ experimental_ThreadRowMetadata,
383
396
  experimental_ThreadStatusGlyph,
384
397
  experimental_ThreadTitleText,
385
398
  experimental_VoiceInputButton,
@@ -387,8 +400,10 @@ export {
387
400
  experimental_VoiceRecordingBar,
388
401
  experimental_copyToClipboard,
389
402
  experimental_describePromptMention,
403
+ experimental_getApplicationLinkApprovals,
390
404
  experimental_promptMentionClipboardAttributes,
391
405
  experimental_readPromptMentionClipboard,
406
+ experimental_revokeApplicationLinkApproval,
392
407
  experimental_saveFile,
393
408
  experimental_useAppPanel,
394
409
  experimental_useArchiveEnvironmentThreads,
@@ -414,6 +429,7 @@ export {
414
429
  experimental_useSidebarThreadActions,
415
430
  experimental_useSidebarThreadSplit,
416
431
  experimental_useSidebarThreads,
432
+ experimental_useTabVisible,
417
433
  experimental_useThreadActionRegistrations,
418
434
  experimental_useThreadActions,
419
435
  experimental_useThreadTitleDisplayText,