@get-bb/plugin-sdk 0.6.90 → 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.
@@ -47,7 +47,6 @@ declare const appSettingsSchema: z$1.ZodObject<{
47
47
  }>>;
48
48
  providerOrder: z$1.ZodArray<z$1.ZodString>;
49
49
  showDiagnosticEvents: z$1.ZodBoolean;
50
- showGitChanges: z$1.ZodBoolean;
51
50
  showKeyboardHints: z$1.ZodBoolean;
52
51
  steerActiveThreadOnEnter: z$1.ZodBoolean;
53
52
  streamerMode: z$1.ZodBoolean;
@@ -74,7 +73,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
74
73
  }>>;
75
74
  providerOrder: z$1.ZodArray<z$1.ZodString>;
76
75
  showDiagnosticEvents: z$1.ZodBoolean;
77
- showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
78
76
  showKeyboardHints: z$1.ZodBoolean;
79
77
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
80
78
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -99,7 +97,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
99
97
  flat: "flat";
100
98
  }>>;
101
99
  providerOrder: z$1.ZodArray<z$1.ZodString>;
102
- showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
103
100
  showKeyboardHints: z$1.ZodBoolean;
104
101
  showUnhandledProviderEvents: z$1.ZodBoolean;
105
102
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -218,6 +215,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
218
215
  "settings.open": "settings.open";
219
216
  "settings.openServers": "settings.openServers";
220
217
  "sidebar.toggle": "sidebar.toggle";
218
+ "terminal.find": "terminal.find";
221
219
  "terminal.open": "terminal.open";
222
220
  "thread.archive": "thread.archive";
223
221
  "thread.jump.1": "thread.jump.1";
@@ -508,6 +506,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
508
506
  performanceDiagnostics: "performanceDiagnostics";
509
507
  serverMove: "serverMove";
510
508
  sidebarMultiSelect: "sidebarMultiSelect";
509
+ threadRowMetadata: "threadRowMetadata";
511
510
  timelinePush: "timelinePush";
512
511
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
513
512
  websocketCompression: "websocketCompression";
@@ -520,6 +519,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
520
519
  performanceDiagnostics: "performanceDiagnostics";
521
520
  serverMove: "serverMove";
522
521
  sidebarMultiSelect: "sidebarMultiSelect";
522
+ threadRowMetadata: "threadRowMetadata";
523
523
  timelinePush: "timelinePush";
524
524
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
525
525
  websocketCompression: "websocketCompression";
@@ -10176,6 +10176,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10176
10176
  "settings.open": "settings.open";
10177
10177
  "settings.openServers": "settings.openServers";
10178
10178
  "sidebar.toggle": "sidebar.toggle";
10179
+ "terminal.find": "terminal.find";
10179
10180
  "terminal.open": "terminal.open";
10180
10181
  "thread.archive": "thread.archive";
10181
10182
  "thread.jump.1": "thread.jump.1";
@@ -10248,6 +10249,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10248
10249
  performanceDiagnostics: "performanceDiagnostics";
10249
10250
  serverMove: "serverMove";
10250
10251
  sidebarMultiSelect: "sidebarMultiSelect";
10252
+ threadRowMetadata: "threadRowMetadata";
10251
10253
  timelinePush: "timelinePush";
10252
10254
  unreadDividerAtAnswer: "unreadDividerAtAnswer";
10253
10255
  websocketCompression: "websocketCompression";
@@ -10275,7 +10277,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10275
10277
  }>>;
10276
10278
  providerOrder: z$1.ZodArray<z$1.ZodString>;
10277
10279
  showDiagnosticEvents: z$1.ZodBoolean;
10278
- showGitChanges: z$1.ZodBoolean;
10279
10280
  showKeyboardHints: z$1.ZodBoolean;
10280
10281
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
10281
10282
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -10346,6 +10347,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10346
10347
  "settings.open": "settings.open";
10347
10348
  "settings.openServers": "settings.openServers";
10348
10349
  "sidebar.toggle": "sidebar.toggle";
10350
+ "terminal.find": "terminal.find";
10349
10351
  "terminal.open": "terminal.open";
10350
10352
  "thread.archive": "thread.archive";
10351
10353
  "thread.jump.1": "thread.jump.1";
@@ -10444,6 +10446,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10444
10446
  "settings.open": "settings.open";
10445
10447
  "settings.openServers": "settings.openServers";
10446
10448
  "sidebar.toggle": "sidebar.toggle";
10449
+ "terminal.find": "terminal.find";
10447
10450
  "terminal.open": "terminal.open";
10448
10451
  "thread.archive": "thread.archive";
10449
10452
  "thread.jump.1": "thread.jump.1";
@@ -19091,26 +19094,6 @@ interface PluginThreadListProps {
19091
19094
  */
19092
19095
  searchQuery: string;
19093
19096
  }
19094
- /**
19095
- * Props passed to an `experimental_threadHeaderAction` component, rendered in
19096
- * the thread header's action row.
19097
- */
19098
- interface PluginThreadHeaderActionProps {
19099
- /**
19100
- * The thread this header belongs to. Never null: the slot is not rendered
19101
- * on the compose screen or other non-thread routes. A split layout renders
19102
- * one header per pane, so the component mounts once per visible thread,
19103
- * each with its own id — keep per-thread state in the component, never in a
19104
- * module-level singleton.
19105
- */
19106
- threadId: string;
19107
- projectId: string;
19108
- /**
19109
- * True on phone-width viewports and coarse pointers. Collapse to an
19110
- * icon-sized control when it is true — the row is short.
19111
- */
19112
- isCompactViewport: boolean;
19113
- }
19114
19097
  /** JavaScript world a Browser page expression runs in. */
19115
19098
  type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
19116
19099
  interface ExperimentalPluginBrowserPageEvaluateOptions {
@@ -20139,27 +20122,61 @@ interface PluginSidebarThreadShortcut {
20139
20122
  ariaKeyshortcuts: string;
20140
20123
  }
20141
20124
  /**
20142
- * Render a plugin component in the thread header's action row.
20143
- *
20144
- * The frontend sibling of the backend `bb.ui.registerThreadAction`, which
20145
- * renders a host-owned button and runs server-side. Use that one for "do a
20146
- * thing"; use this one when the control must draw live state.
20147
- *
20148
- * The host places it at the left end of the action row, before the workspace
20149
- * button, git actions, the panel toggle, maximize, and close. That row is a
20150
- * 48px chrome row with 28px controls: render one inline control that fits, and
20151
- * put anything taller in a portalled popover.
20125
+ * Props passed to an `experimental_threadRowMetadata` component, rendered on a
20126
+ * thread's row in a thread list: bb's sidebar and any list that draws
20127
+ * {@link PluginSdkApp.experimental_ThreadRowMetadata}.
20152
20128
  */
20153
- interface PluginThreadHeaderActionRegistration {
20129
+ interface ExperimentalThreadRowMetadataProps<Data = undefined> {
20130
+ /** The row's thread, the same value the list renders. */
20131
+ thread: PluginSidebarThread;
20132
+ /** What `useData` last returned; undefined when the registration has none. */
20133
+ data: Data;
20134
+ }
20135
+ /** What a row metadata registration's `useData` receives. */
20136
+ interface ExperimentalThreadRowMetadataDataInput {
20137
+ /**
20138
+ * Every thread a list may draw a metadata line for: bb's active sidebar
20139
+ * threads in sidebar order, then any other thread whose line is mounted
20140
+ * (such as an archived row), deduplicated. Threads whose rows are not
20141
+ * rendered, like a windowed list's rows off screen, are included: load
20142
+ * them all in one batch so a row has its data, and its final height, when
20143
+ * it renders.
20144
+ */
20145
+ threads: readonly PluginSidebarThread[];
20146
+ }
20147
+ /**
20148
+ * A small item on a thread row's metadata line, under the title: a badge, not
20149
+ * a control. Items share one line, left to right, and the line clips at the
20150
+ * row's edge. bb's sidebar draws the line only while the `threadRowMetadata`
20151
+ * experiment is on and the user turns on Organize → Rows → Metadata, and only
20152
+ * on rows where an item shows something.
20153
+ * Load the line's data in `useData`, a React hook bb calls once for the
20154
+ * whole app while any list draws a metadata line, never per row; it
20155
+ * receives every thread a list may show, so read them in one batch (for
20156
+ * example one `experimental_useRpcKeyedQuery` over their keys). The
20157
+ * component is then a pure render of its thread and `data`; with `useData`
20158
+ * it first renders once `useData` has returned. A row that renders already
20159
+ * has its data, so rows keep their height as they scroll into view.
20160
+ * It hides the line while the row is renamed or customized and keeps it
20161
+ * visible on hover. Render null to show nothing for a thread. Keep
20162
+ * it to an icon and a few characters with a tooltip; clicks on it open the
20163
+ * thread like the rest of the row. A crash removes only this item for that
20164
+ * row.
20165
+ */
20166
+ interface ExperimentalThreadRowMetadataRegistration<Data = undefined> {
20154
20167
  /** Unique within the plugin; letters, digits, `-`, `_`. */
20155
20168
  id: string;
20156
20169
  /**
20157
- * Names the region the host wraps around your component (a labelled group).
20158
- * It does NOT label your control: an icon-only button still needs its own
20159
- * accessible name.
20170
+ * Items sort by `order` (unset sorts last), then registration order. The
20171
+ * first item starts the line.
20160
20172
  */
20161
- title: string;
20162
- component: ComponentType<PluginThreadHeaderActionProps>;
20173
+ order?: number;
20174
+ useData?(input: ExperimentalThreadRowMetadataDataInput): Data;
20175
+ component: ComponentType<ExperimentalThreadRowMetadataProps<Data>>;
20176
+ }
20177
+ /** Props for {@link PluginSdkApp.experimental_ThreadRowMetadata}. */
20178
+ interface ExperimentalThreadRowMetadataLineProps {
20179
+ thread: PluginSidebarThread;
20163
20180
  }
20164
20181
  /**
20165
20182
  * Props passed to an `experimental_threadInfoRow` or
@@ -20197,8 +20214,7 @@ interface ExperimentalThreadContextSegmentInput {
20197
20214
  projectId: string;
20198
20215
  /**
20199
20216
  * The thread's environment, or null when the thread has no environment,
20200
- * its host is not active, the environment is not a usable checkout, or the
20201
- * user turned off "Show Git changes and Commit button".
20217
+ * its host is not active, or the environment is not a usable checkout.
20202
20218
  */
20203
20219
  environment: ExperimentalThreadEnvironment | null;
20204
20220
  }
@@ -20426,7 +20442,8 @@ interface PluginThreadActionDataInput {
20426
20442
  /**
20427
20443
  * Every thread a visible surface currently shows actions for (sidebar rows
20428
20444
  * on screen, the open thread's header, open menus); a hidden sidebar
20429
- * contributes none. Sorted, deduplicated, and published once the set has
20445
+ * contributes none. A `"header"` action receives only the threads whose
20446
+ * header is on screen. Sorted, deduplicated, and published once the set has
20430
20447
  * been quiet for 32 ms (at most 100 ms after the first change), so rows
20431
20448
  * that mount a frame apart arrive together. Load per-thread state for these
20432
20449
  * ids, fetching only ids not loaded yet.
@@ -20479,6 +20496,9 @@ interface PluginThreadActionBulkItemInput<Data> {
20479
20496
  * derives the action for one thread from that thread and `data`, closing over
20480
20497
  * everything `run` needs, or returns null to hide it. A throw from either
20481
20498
  * drops only this registration.
20499
+ *
20500
+ * With `placement: "header"` the action is a button in the open thread's
20501
+ * header instead (see {@link PluginThreadActionPlacement}).
20482
20502
  */
20483
20503
  interface PluginThreadActionRegistration<Data = undefined> {
20484
20504
  /** Unique within the plugin; letters, digits, `-`, `_`. */
@@ -20496,6 +20516,8 @@ interface PluginThreadActionRegistration<Data = undefined> {
20496
20516
  */
20497
20517
  group: string;
20498
20518
  order?: number;
20519
+ /** Where the action shows; defaults to `"menu"`. */
20520
+ placement?: PluginThreadActionPlacement;
20499
20521
  useData?(input: PluginThreadActionDataInput): Data;
20500
20522
  item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
20501
20523
  /**
@@ -20508,6 +20530,21 @@ interface PluginThreadActionRegistration<Data = undefined> {
20508
20530
  */
20509
20531
  experimental_bulkItem?(input: PluginThreadActionBulkItemInput<Data>): PluginThreadAction | null;
20510
20532
  }
20533
+ /**
20534
+ * Where a thread action shows.
20535
+ *
20536
+ * - `"menu"`: every thread actions menu and the quick-action picker.
20537
+ * - `"header"`: only the open thread's header, as an outline button labelled
20538
+ * with the action's `label`, after the workspace's Open button. Several
20539
+ * header actions share one split button, the first as its main action. At
20540
+ * compact width and in narrow split panes the buttons fold into the
20541
+ * header's thread menu as rows at its top, after Open. `group` and `order`
20542
+ * sort header actions among themselves. Header actions never appear in
20543
+ * other menus, selection menus, `experimental_useThreadActions`, or the
20544
+ * quick-action picker, and an action that returns `choices` is left out
20545
+ * of the header.
20546
+ */
20547
+ type PluginThreadActionPlacement = "header" | "menu";
20511
20548
  /**
20512
20549
  * A thread action as {@link PluginSdkApp.experimental_useThreadActions}
20513
20550
  * returns it: `run` is bound to the caller's `requestRename` (or bb's rename
@@ -21805,18 +21842,19 @@ interface PluginAppSlots {
21805
21842
  * docs/api_to_audit.md.
21806
21843
  */
21807
21844
  experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
21808
- /**
21809
- * Render a component in the thread header's action row (see
21810
- * {@link PluginThreadHeaderActionRegistration}). Experimental: see
21811
- * docs/api_to_audit.md.
21812
- */
21813
- experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
21814
21845
  /**
21815
21846
  * Add context beside an existing thread's composer (see
21816
21847
  * {@link ExperimentalThreadContextSegmentRegistration}). Experimental: see
21817
21848
  * docs/api_to_audit.md.
21818
21849
  */
21819
21850
  experimental_threadContextSegment(registration: ExperimentalThreadContextSegmentRegistration): void;
21851
+ /**
21852
+ * Add a small item to the metadata line of every thread row in thread
21853
+ * lists (see
21854
+ * {@link ExperimentalThreadRowMetadataRegistration}). Experimental: see
21855
+ * docs/api_to_audit.md.
21856
+ */
21857
+ experimental_threadRowMetadata<Data = undefined>(registration: ExperimentalThreadRowMetadataRegistration<Data>): void;
21820
21858
  /**
21821
21859
  * Add a row to the thread Info tab's details block (see
21822
21860
  * {@link ExperimentalThreadInfoRowRegistration}). Experimental: see
@@ -23054,7 +23092,7 @@ interface ExperimentalRpcQueryState<T> {
23054
23092
  isLoading: boolean;
23055
23093
  /** A read attempt is active, including background refreshes. Keyed consumers share this activity for their method; offline-paused reads are not fetching. */
23056
23094
  isFetching: boolean;
23057
- /** 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. */
23095
+ /** 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. */
23058
23096
  refetch(): Promise<void>;
23059
23097
  }
23060
23098
  interface ExperimentalRpcKeyedQueryState<T, Selection = Record<string, T>> extends ExperimentalRpcQueryState<Selection> {
@@ -23126,7 +23164,7 @@ interface PluginSdkApp {
23126
23164
  experimental_useRpcQuery<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcQueryOptions<Contract, Method>): ExperimentalRpcQueryState<PluginRpcResult<Contract[Method]>>;
23127
23165
  /** Call a mutating RPC through BB's query client; pending until the server acknowledges the write; matched reads refresh in the background. */
23128
23166
  experimental_useRpcMutation<Contract extends PluginRpcContract, Method extends keyof Contract & string>(options: ExperimentalRpcMutationOptions<Contract, Method>): ExperimentalRpcMutationState<Contract[Method]>;
23129
- /** Cache each key independently and batch missing or invalidated keys in the same render. */
23167
+ /** 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. */
23130
23168
  experimental_useRpcKeyedQuery<Contract extends PluginRpcContract, Method extends ExperimentalRpcKeyedMethod<Contract>, Selection = Record<string, ExperimentalRpcKeyedValue<Contract[Method]>>>(options: {
23131
23169
  contract: Contract;
23132
23170
  pluginId?: string;
@@ -23248,7 +23286,7 @@ interface PluginSdkApp {
23248
23286
  */
23249
23287
  experimental_useArchiveEnvironmentThreads(): (environmentId: string) => Promise<void>;
23250
23288
  /**
23251
- * Every thread action for one thread, in menu order (see
23289
+ * Every `"menu"` thread action for one thread, in menu order (see
23252
23290
  * {@link PluginThreadAction} for grouping): bb's own registrations first,
23253
23291
  * then plugins' in registration order. Registrations' `useData` hooks run
23254
23292
  * once for the app, so calling this per sidebar row costs one store
@@ -23257,8 +23295,9 @@ interface PluginSdkApp {
23257
23295
  */
23258
23296
  experimental_useThreadActions(thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions): readonly PluginThreadActionEntry[];
23259
23297
  /**
23260
- * Every registered thread action with its static title and icon, in menu
23261
- * order and independent of any thread: what a quick-action picker lists.
23298
+ * Every registered `"menu"` thread action with its static title and icon,
23299
+ * in menu order and independent of any thread: what a quick-action picker
23300
+ * lists.
23262
23301
  * Experimental: see docs/api_to_audit.md.
23263
23302
  */
23264
23303
  experimental_useThreadActionRegistrations(): readonly PluginThreadActionRegistrationInfo[];
@@ -23402,6 +23441,15 @@ interface PluginSdkApp {
23402
23441
  * Experimental: see docs/api_to_audit.md.
23403
23442
  */
23404
23443
  experimental_ThreadStatusGlyph: ComponentType<PluginThreadStatusGlyphProps>;
23444
+ /**
23445
+ * Every `experimental_threadRowMetadata` contribution for one thread row (see
23446
+ * {@link ExperimentalThreadRowMetadataRegistration}), the items bb's sidebar
23447
+ * draws on its rows' metadata line. Render it under your row's title, in
23448
+ * 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
23449
+ * bb's. It renders nothing when no plugin contributes an item.
23450
+ * Experimental: see docs/api_to_audit.md.
23451
+ */
23452
+ experimental_ThreadRowMetadata: ComponentType<ExperimentalThreadRowMetadataLineProps>;
23405
23453
  /**
23406
23454
  * bb's environment provider catalog (see
23407
23455
  * {@link PluginEnvironmentProvidersState}), the directory a thread's
@@ -23754,6 +23802,7 @@ declare const useSidebarSplitLayout: () => PluginSidebarSplitLayout | null;
23754
23802
  declare const useSidebarThreadShortcut: (threadId: string) => PluginSidebarThreadShortcut | null;
23755
23803
  declare const ThreadTitle: react.ComponentType<PluginThreadTitleProps>;
23756
23804
  declare const experimental_ThreadStatusGlyph: react.ComponentType<PluginThreadStatusGlyphProps>;
23805
+ declare const experimental_ThreadRowMetadata: react.ComponentType<ExperimentalThreadRowMetadataLineProps>;
23757
23806
  declare const useEnvironmentProviders: () => PluginEnvironmentProvidersState;
23758
23807
  declare const useSdk: () => PluginBrowserBbSdk;
23759
23808
  declare const experimental_useProviders: () => PluginProvidersState;
@@ -23763,5 +23812,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
23763
23812
  declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
23764
23813
  declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
23765
23814
 
23766
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23767
- export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, 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, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
23815
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23816
+ export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerView, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
@@ -6,7 +6,7 @@
6
6
  // and read the real source: https://github.com/get-bb/bb
7
7
 
8
8
  import * as _get_bb_plugin_sdk from '@get-bb/plugin-sdk';
9
- import { ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterItemRegistration, PluginSidebarFooterActionRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, PluginNavPanelRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationPlacement, PluginThreadHeaderActionRegistration, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, PluginCommandRegistration, ExperimentalComposerCommandRegistration, PluginProviderIconRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, PluginAppDefinition } from '@get-bb/plugin-sdk';
9
+ import { ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterItemRegistration, PluginSidebarFooterActionRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, PluginNavPanelRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationPlacement, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadInfoSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, PluginCommandRegistration, ExperimentalComposerCommandRegistration, PluginProviderIconRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, PluginAppDefinition } from '@get-bb/plugin-sdk';
10
10
  import { ComponentType } from 'react';
11
11
  import { z } from 'zod';
12
12
 
@@ -49,6 +49,16 @@ interface LegacyThreadPanelActionRegistration {
49
49
  layout?: "flush" | "padded";
50
50
  run?(context: _get_bb_plugin_sdk.ExperimentalThreadTabActionContext): void | Promise<void>;
51
51
  }
52
+ interface LegacyThreadHeaderActionProps {
53
+ threadId: string;
54
+ projectId: string;
55
+ isCompactViewport: boolean;
56
+ }
57
+ interface LegacyThreadHeaderActionRegistration {
58
+ id: string;
59
+ title: string;
60
+ component: ComponentType<LegacyThreadHeaderActionProps>;
61
+ }
52
62
  type LegacyNavPanelRegistration = PluginNavPanelRegistration & {
53
63
  fixedTabs?: readonly PluginNavPanelFixedTabRegistration[];
54
64
  };
@@ -94,9 +104,10 @@ interface CollectedPluginAppRegistrations {
94
104
  experimentalSidebarFooterItems: CollectedExperimentalSidebarFooterItem[];
95
105
  threadLists: PluginThreadListRegistration[];
96
106
  experimentalSidebarNavigations: CollectedSidebarNavigationRegistration[];
97
- threadHeaderActions: PluginThreadHeaderActionRegistration[];
107
+ threadHeaderActions: LegacyThreadHeaderActionRegistration[];
98
108
  threadContextSegments: ExperimentalThreadContextSegmentRegistration[];
99
109
  threadInfoRows: ExperimentalThreadInfoRowRegistration[];
110
+ threadRowMetadata: ExperimentalThreadRowMetadataRegistration<unknown>[];
100
111
  threadInfoSections: ExperimentalThreadInfoSectionRegistration[];
101
112
  threadActions: PluginThreadActionRegistration<unknown>[];
102
113
  browserToolbarActions: ExperimentalPluginBrowserToolbarActionRegistration[];
@@ -121,4 +132,4 @@ interface CollectedSidebarNavigationRegistration extends ExperimentalSidebarNavi
121
132
  declare function collectPluginAppRegistrations(definition: PluginAppDefinition, onWarning?: (message: string) => void): CollectedPluginAppRegistrations;
122
133
 
123
134
  export { adaptSidebarFooterAction, collectPluginAppRegistrations, getCollectedSidebarFooterItems };
124
- export type { CollectedCompatibilitySidebarFooterItem, CollectedExperimentalSidebarFooterItem, CollectedManagedSidebarFooterItem, CollectedPluginAppRegistrations, CollectedPluginCommandRegistration, CollectedPluginProviderIconRegistration, CollectedSidebarFooterItem, CollectedSidebarNavigationRegistration, ExperimentalSidebarFooterCommandKind, ExperimentalSidebarFooterItemRuntime, ExperimentalSidebarFooterRuntimeSnapshot, LegacyNavPanelRegistration, LegacyThreadPanelActionRegistration };
135
+ export type { CollectedCompatibilitySidebarFooterItem, CollectedExperimentalSidebarFooterItem, CollectedManagedSidebarFooterItem, CollectedPluginAppRegistrations, CollectedPluginCommandRegistration, CollectedPluginProviderIconRegistration, CollectedSidebarFooterItem, CollectedSidebarNavigationRegistration, ExperimentalSidebarFooterCommandKind, ExperimentalSidebarFooterItemRuntime, ExperimentalSidebarFooterRuntimeSnapshot, LegacyNavPanelRegistration, LegacyThreadHeaderActionRegistration, LegacyThreadPanelActionRegistration };
@@ -133,7 +133,7 @@ interface ExperimentalRpcQueryState<T> {
133
133
  isLoading: boolean;
134
134
  /** A read attempt is active, including background refreshes. Keyed consumers share this activity for their method; offline-paused reads are not fetching. */
135
135
  isFetching: boolean;
136
- /** 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. */
136
+ /** 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. */
137
137
  refetch(): Promise<void>;
138
138
  }
139
139
  interface ExperimentalRpcKeyedQueryState<T, Selection = Record<string, T>> extends ExperimentalRpcQueryState<Selection> {
@@ -6,7 +6,7 @@
6
6
  // and read the real source: https://github.com/get-bb/bb
7
7
 
8
8
  import * as _get_bb_plugin_sdk from '@get-bb/plugin-sdk';
9
- import { ExperimentalSidebarFooterItemRegistration, PluginNavPanelRegistration, PluginProviderIconRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, PluginThreadHeaderActionRegistration, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, ComposerDraftSnapshot, PluginComposerScope, ComposerSelection, PluginComposerTextEffect, PluginComposerMention, ComposerSubmitOptions, ExperimentalClipboardContent, PluginComposerThreadRowStatus, BbNavigate, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, ExperimentalComposerRendererApi, ExperimentalSidebarNavigationItem, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState, ExperimentalLiveFileTarget, ExperimentalPanelController, JsonValue, ExperimentalPageTitle, ExperimentalOpenTabOptions, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationTarget } from '@get-bb/plugin-sdk';
9
+ import { ExperimentalSidebarFooterItemRegistration, PluginNavPanelRegistration, PluginProviderIconRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadInfoSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, ComposerDraftSnapshot, PluginComposerScope, ComposerSelection, PluginComposerTextEffect, PluginComposerMention, ComposerSubmitOptions, ExperimentalClipboardContent, PluginComposerThreadRowStatus, BbNavigate, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, ExperimentalComposerRendererApi, ExperimentalSidebarNavigationItem, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState, ExperimentalLiveFileTarget, ExperimentalPanelController, JsonValue, ExperimentalPageTitle, ExperimentalOpenTabOptions, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationTarget } from '@get-bb/plugin-sdk';
10
10
  import { ComponentType, ReactNode } from 'react';
11
11
  import { RenderResult } from '@testing-library/react';
12
12
 
@@ -34,6 +34,16 @@ interface LegacyThreadPanelActionRegistration {
34
34
  layout?: "flush" | "padded";
35
35
  run?(context: _get_bb_plugin_sdk.ExperimentalThreadTabActionContext): void | Promise<void>;
36
36
  }
37
+ interface LegacyThreadHeaderActionProps {
38
+ threadId: string;
39
+ projectId: string;
40
+ isCompactViewport: boolean;
41
+ }
42
+ interface LegacyThreadHeaderActionRegistration {
43
+ id: string;
44
+ title: string;
45
+ component: ComponentType<LegacyThreadHeaderActionProps>;
46
+ }
37
47
  type LegacyNavPanelRegistration = PluginNavPanelRegistration & {
38
48
  fixedTabs?: readonly PluginNavPanelFixedTabRegistration[];
39
49
  };
@@ -225,9 +235,10 @@ interface CapturedPluginApp {
225
235
  experimentalSidebarFooterItems: CollectedExperimentalSidebarFooterItem[];
226
236
  threadLists: PluginThreadListRegistration[];
227
237
  experimentalSidebarNavigations: ExperimentalSidebarNavigationRegistration[];
228
- threadHeaderActions: PluginThreadHeaderActionRegistration[];
238
+ threadHeaderActions: LegacyThreadHeaderActionRegistration[];
229
239
  threadContextSegments: ExperimentalThreadContextSegmentRegistration[];
230
240
  threadInfoRows: ExperimentalThreadInfoRowRegistration[];
241
+ threadRowMetadata: ExperimentalThreadRowMetadataRegistration<unknown>[];
231
242
  threadInfoSections: ExperimentalThreadInfoSectionRegistration[];
232
243
  threadActions: PluginThreadActionRegistration<unknown>[];
233
244
  browserToolbarActions: ExperimentalPluginBrowserToolbarActionRegistration[];