@get-bb/plugin-sdk 0.6.73 → 0.6.79

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.
@@ -504,6 +504,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
504
504
  compactExpiredCache: "compactExpiredCache";
505
505
  performanceDiagnostics: "performanceDiagnostics";
506
506
  serverMove: "serverMove";
507
+ sidebarMultiSelect: "sidebarMultiSelect";
507
508
  timelinePush: "timelinePush";
508
509
  }>, z$1.ZodBoolean>;
509
510
  type Experiments = z$1.infer<typeof experimentsSchema>;
@@ -512,6 +513,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
512
513
  compactExpiredCache: "compactExpiredCache";
513
514
  performanceDiagnostics: "performanceDiagnostics";
514
515
  serverMove: "serverMove";
516
+ sidebarMultiSelect: "sidebarMultiSelect";
515
517
  timelinePush: "timelinePush";
516
518
  }> & z$1.core.$partial, z$1.ZodBoolean>;
517
519
  type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
@@ -4107,11 +4109,13 @@ declare const providerInfoSchema: z$1.ZodObject<{
4107
4109
  pluginId: z$1.ZodString;
4108
4110
  reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4109
4111
  description: z$1.ZodOptional<z$1.ZodString>;
4112
+ icon: z$1.ZodOptional<z$1.ZodString>;
4110
4113
  id: z$1.ZodString;
4111
4114
  label: z$1.ZodString;
4112
4115
  }, z$1.core.$strip>>>;
4113
4116
  serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4114
4117
  description: z$1.ZodOptional<z$1.ZodString>;
4118
+ icon: z$1.ZodOptional<z$1.ZodString>;
4115
4119
  id: z$1.ZodString;
4116
4120
  label: z$1.ZodString;
4117
4121
  }, z$1.core.$strip>>>;
@@ -4461,6 +4465,13 @@ type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<S
4461
4465
  type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
4462
4466
  interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
4463
4467
  readonly experimental_description?: string;
4468
+ /**
4469
+ * Host contracts only. When true and the daemon's response has not arrived
4470
+ * within half of the call's transport timeout, bb cancels the call and sends
4471
+ * it once more, the retry core uses for its own read-only daemon commands.
4472
+ * Declare it only for reads that are safe to run twice.
4473
+ */
4474
+ readonly experimental_retryable?: boolean;
4464
4475
  readonly input: InputSchema;
4465
4476
  readonly output: OutputSchema;
4466
4477
  }
@@ -7745,11 +7756,13 @@ declare const hostDaemonCommandRegistry: {
7745
7756
  type: z$1.ZodLiteral<"host.list_skills">;
7746
7757
  }, z$1.core.$strict>, z$1.ZodObject<{
7747
7758
  skills: z$1.ZodArray<z$1.ZodObject<{
7759
+ contentSha256: z$1.ZodString;
7748
7760
  description: z$1.ZodNullable<z$1.ZodString>;
7749
7761
  filePath: z$1.ZodString;
7750
7762
  id: z$1.ZodString;
7751
7763
  linked: z$1.ZodBoolean;
7752
7764
  name: z$1.ZodString;
7765
+ realPath: z$1.ZodString;
7753
7766
  rootKind: z$1.ZodEnum<{
7754
7767
  "bb-builtin": "bb-builtin";
7755
7768
  "bb-data-dir": "bb-data-dir";
@@ -7804,11 +7817,13 @@ declare const hostDaemonCommandRegistry: {
7804
7817
  }, z$1.core.$strict>], "kind">>;
7805
7818
  projectSkillsTruncated: z$1.ZodBoolean;
7806
7819
  sharedSkills: z$1.ZodArray<z$1.ZodObject<{
7820
+ contentSha256: z$1.ZodString;
7807
7821
  description: z$1.ZodNullable<z$1.ZodString>;
7808
7822
  filePath: z$1.ZodString;
7809
7823
  id: z$1.ZodString;
7810
7824
  linked: z$1.ZodBoolean;
7811
7825
  name: z$1.ZodString;
7826
+ realPath: z$1.ZodString;
7812
7827
  rootKind: z$1.ZodEnum<{
7813
7828
  "bb-builtin": "bb-builtin";
7814
7829
  "bb-data-dir": "bb-data-dir";
@@ -10351,11 +10366,13 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
10351
10366
  pluginId: z$1.ZodString;
10352
10367
  reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10353
10368
  description: z$1.ZodOptional<z$1.ZodString>;
10369
+ icon: z$1.ZodOptional<z$1.ZodString>;
10354
10370
  id: z$1.ZodString;
10355
10371
  label: z$1.ZodString;
10356
10372
  }, z$1.core.$strip>>>;
10357
10373
  serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10358
10374
  description: z$1.ZodOptional<z$1.ZodString>;
10375
+ icon: z$1.ZodOptional<z$1.ZodString>;
10359
10376
  id: z$1.ZodString;
10360
10377
  label: z$1.ZodString;
10361
10378
  }, z$1.core.$strip>>>;
@@ -10804,6 +10821,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10804
10821
  compactExpiredCache: "compactExpiredCache";
10805
10822
  performanceDiagnostics: "performanceDiagnostics";
10806
10823
  serverMove: "serverMove";
10824
+ sidebarMultiSelect: "sidebarMultiSelect";
10807
10825
  timelinePush: "timelinePush";
10808
10826
  }>, z$1.ZodBoolean>;
10809
10827
  featureFlags: z$1.ZodObject<{
@@ -11396,11 +11414,13 @@ declare const systemProviderCatalogEntrySchema: z$1.ZodObject<{
11396
11414
  pluginId: z$1.ZodString;
11397
11415
  reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
11398
11416
  description: z$1.ZodOptional<z$1.ZodString>;
11417
+ icon: z$1.ZodOptional<z$1.ZodString>;
11399
11418
  id: z$1.ZodString;
11400
11419
  label: z$1.ZodString;
11401
11420
  }, z$1.core.$strip>>>;
11402
11421
  serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
11403
11422
  description: z$1.ZodOptional<z$1.ZodString>;
11423
+ icon: z$1.ZodOptional<z$1.ZodString>;
11404
11424
  id: z$1.ZodString;
11405
11425
  label: z$1.ZodString;
11406
11426
  }, z$1.core.$strip>>>;
@@ -20051,6 +20071,73 @@ interface ExperimentalThreadInfoProps {
20051
20071
  */
20052
20072
  threadId: string;
20053
20073
  projectId: string;
20074
+ /**
20075
+ * The thread's environment, or null when the thread has no environment,
20076
+ * its host is not active, or the environment is not a usable checkout.
20077
+ */
20078
+ environment: ExperimentalThreadEnvironment | null;
20079
+ }
20080
+ /** An environment a thread surface hands to plugin components. */
20081
+ interface ExperimentalThreadEnvironment {
20082
+ id: string;
20083
+ }
20084
+ /**
20085
+ * A visible thread context segment. `key` is `<pluginId>/<id>`, where bb's own
20086
+ * segments use `bb--core`, as thread action keys do.
20087
+ */
20088
+ interface ExperimentalThreadContextSegmentReference {
20089
+ key: string;
20090
+ pluginId: string;
20091
+ }
20092
+ /** What a thread context segment knows about its thread. */
20093
+ interface ExperimentalThreadContextSegmentInput {
20094
+ threadId: string;
20095
+ projectId: string;
20096
+ /**
20097
+ * The thread's environment, or null when the thread has no environment,
20098
+ * its host is not active, the environment is not a usable checkout, or the
20099
+ * user turned off "Show Git changes and Commit button".
20100
+ */
20101
+ environment: ExperimentalThreadEnvironment | null;
20102
+ }
20103
+ /** Props of a thread context segment's `summary`, `action` and `details`. */
20104
+ interface ExperimentalThreadContextSegmentProps extends ExperimentalThreadContextSegmentInput {
20105
+ /** The visible segments in row order, this one included. */
20106
+ segments: readonly ExperimentalThreadContextSegmentReference[];
20107
+ /** One segment of a thread's context row is expanded at a time. */
20108
+ isExpanded: boolean;
20109
+ onToggle(): void;
20110
+ }
20111
+ /**
20112
+ * A segment of the context row above an existing thread's composer. bb's
20113
+ * parent thread and changed files register through this slot too. The host
20114
+ * mounts each component in its own crash boundary.
20115
+ */
20116
+ interface ExperimentalThreadContextSegmentRegistration {
20117
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
20118
+ id: string;
20119
+ /** Accessible name of the group the host wraps around `summary`. */
20120
+ title: string;
20121
+ /**
20122
+ * Segments sort by `group` (string compare), then by `order` within a group
20123
+ * (unset sorts last), then by registration order, with bb's own first on a
20124
+ * tie. bb's groups are
20125
+ * {@link PluginSdkApp.experimental_THREAD_CONTEXT_SEGMENT_GROUPS}; any other
20126
+ * string is a group of its own, placed where it sorts.
20127
+ */
20128
+ group: string;
20129
+ order?: number;
20130
+ /** Renders in the context row. */
20131
+ summary: ComponentType<ExperimentalThreadContextSegmentProps>;
20132
+ /** Renders at the row's end, after every segment's summary. */
20133
+ action?: ComponentType<ExperimentalThreadContextSegmentProps>;
20134
+ /** Renders below the row; show content only while `isExpanded`. */
20135
+ details?: ComponentType<ExperimentalThreadContextSegmentProps>;
20136
+ /**
20137
+ * Runs in plugin scope for each thread; false hides the segment and leaves
20138
+ * it out of `segments`. Omit to always show.
20139
+ */
20140
+ useVisible?(input: ExperimentalThreadContextSegmentInput): boolean;
20054
20141
  }
20055
20142
  /**
20056
20143
  * A row in the thread Info tab's details block, beside bb's own rows. Render
@@ -20413,6 +20500,16 @@ interface PluginSidebarSplitLayout {
20413
20500
  isFocused: boolean;
20414
20501
  }[];
20415
20502
  }
20503
+ /** Options for {@link PluginSdkApp.experimental_useSidebarThreadSplit}. */
20504
+ interface PluginSidebarThreadSplitOptions {
20505
+ /**
20506
+ * Every thread a drag from this row carries, in list order, when the row is
20507
+ * part of a multi-row selection; include the row's own thread. With more
20508
+ * than one thread the drag offers no split or replace targets and drops
20509
+ * onto a composer as one mention per thread. Omit for a single-row drag.
20510
+ */
20511
+ dragThreadIds?: readonly string[];
20512
+ }
20416
20513
  /**
20417
20514
  * Drag-to-split support for one row, plus where that thread currently sits in
20418
20515
  * the split layout.
@@ -20936,10 +21033,13 @@ interface ExperimentalComposerEditor {
20936
21033
  focus(): boolean;
20937
21034
  /** Focus the editor with the caret at the end of the draft. */
20938
21035
  focusEnd(): void;
20939
- /** Whether a thread dragged from the sidebar can be dropped now. */
21036
+ /** Whether threads dragged from the sidebar can be dropped now. */
20940
21037
  acceptsThreadDrop(): boolean;
20941
- /** Insert a dropped thread at the viewport point `x`, `y`. */
20942
- insertDroppedThread(thread: ExperimentalDroppedThreadMention, x: number, y: number): void;
21038
+ /**
21039
+ * Insert one mention per dropped thread, in order, starting at the viewport
21040
+ * point `x`, `y`. A drag from a multi-row sidebar selection drops several.
21041
+ */
21042
+ insertDroppedThreads(threads: readonly ExperimentalDroppedThreadMention[], x: number, y: number): void;
20943
21043
  openPopup(pluginId: string, popupId: string): boolean;
20944
21044
  closePopup(pluginId: string): boolean;
20945
21045
  isPopupOpen(): boolean;
@@ -20976,7 +21076,7 @@ interface ExperimentalComposerThreadLinkTarget {
20976
21076
  interface ExperimentalComposerThreadLink extends ExperimentalComposerThreadLinkTarget {
20977
21077
  label: string;
20978
21078
  }
20979
- /** The thread an app drag dropped onto the composer. */
21079
+ /** A thread an app drag dropped onto the composer. */
20980
21080
  interface ExperimentalDroppedThreadMention {
20981
21081
  threadId: string;
20982
21082
  label: string;
@@ -21592,6 +21692,12 @@ interface PluginAppSlots {
21592
21692
  * docs/api_to_audit.md.
21593
21693
  */
21594
21694
  experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
21695
+ /**
21696
+ * Add context beside an existing thread's composer (see
21697
+ * {@link ExperimentalThreadContextSegmentRegistration}). Experimental: see
21698
+ * docs/api_to_audit.md.
21699
+ */
21700
+ experimental_threadContextSegment(registration: ExperimentalThreadContextSegmentRegistration): void;
21595
21701
  /**
21596
21702
  * Add a row to the thread Info tab's details block (see
21597
21703
  * {@link ExperimentalThreadInfoRowRegistration}). Experimental: see
@@ -22936,6 +23042,13 @@ interface PluginSdkApp {
22936
23042
  */
22937
23043
  useRealtimeConnectionState(): PluginRealtimeConnectionState;
22938
23044
  useSettings(): PluginSettingsState;
23045
+ /**
23046
+ * Whether the bb experiment `key` is on (Settings → Experiments,
23047
+ * `bb settings experiment <key>`), following live changes. False while the
23048
+ * app config loads and for keys this bb does not know. Experimental: see
23049
+ * docs/api_to_audit.md.
23050
+ */
23051
+ experimental_useExperiment(key: string): boolean;
22939
23052
  useBbContext(): BbContext;
22940
23053
  /**
22941
23054
  * The id of the plugin that owns the calling component: the same id
@@ -23041,6 +23154,17 @@ interface PluginSdkApp {
23041
23154
  readonly settings: "3_settings";
23042
23155
  readonly lifecycle: "4_lifecycle";
23043
23156
  };
23157
+ /**
23158
+ * bb's thread context segment groups, for an
23159
+ * `experimental_threadContextSegment` that joins one: `thread` (Parent
23160
+ * thread) and `git` (Changed files). A plugin names its own
23161
+ * group to sort between them, such as `"2_pullRequest"`. Experimental: see
23162
+ * docs/api_to_audit.md.
23163
+ */
23164
+ experimental_THREAD_CONTEXT_SEGMENT_GROUPS: {
23165
+ readonly thread: "1_thread";
23166
+ readonly git: "3_git";
23167
+ };
23044
23168
  /**
23045
23169
  * bb's thread Info row groups, for an `experimental_threadInfoRow` that
23046
23170
  * joins one: `thread` (Parent, Notify parent, Project), `environment`
@@ -23071,7 +23195,7 @@ interface PluginSdkApp {
23071
23195
  * Call it once per rendered row, like the built-in sidebar does.
23072
23196
  * Experimental: see docs/api_to_audit.md.
23073
23197
  */
23074
- experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
23198
+ experimental_useSidebarThreadSplit(threadId: string, options?: PluginSidebarThreadSplitOptions): PluginSidebarThreadSplit;
23075
23199
  /**
23076
23200
  * The sidebar navigation items in the user's saved order, the active item,
23077
23201
  * and the host actions that activate, hide, reorder, and customize them
@@ -23392,6 +23516,10 @@ declare const experimental_THREAD_ACTION_GROUPS: {
23392
23516
  readonly lifecycle: "4_lifecycle";
23393
23517
  };
23394
23518
 
23519
+ declare const experimental_THREAD_CONTEXT_SEGMENT_GROUPS: {
23520
+ readonly thread: "1_thread";
23521
+ readonly git: "3_git";
23522
+ };
23395
23523
  declare const experimental_THREAD_INFO_ROW_GROUPS: {
23396
23524
  readonly thread: "1_thread";
23397
23525
  readonly environment: "2_environment";
@@ -23477,7 +23605,8 @@ declare const experimental_useThreadActionRegistrations: () => readonly PluginTh
23477
23605
  declare const experimental_ThreadActionsMenu: react.ComponentType<PluginThreadActionsMenuProps>;
23478
23606
  declare const experimental_ThreadActionsContextMenu: react.ComponentType<PluginThreadActionsContextMenuProps>;
23479
23607
 
23480
- declare const experimental_useSidebarThreadSplit: (threadId: string) => PluginSidebarThreadSplit;
23608
+ declare const experimental_useExperiment: (key: string) => boolean;
23609
+ declare const experimental_useSidebarThreadSplit: (threadId: string, options?: PluginSidebarThreadSplitOptions) => PluginSidebarThreadSplit;
23481
23610
  declare const experimental_useSidebarNavigation: () => ExperimentalSidebarNavigationState;
23482
23611
  declare const experimental_useSidebarNavigationSplit: (itemId: string, options?: ExperimentalSidebarNavigationSplitOptions) => ExperimentalSidebarNavigationSplit;
23483
23612
  declare const experimental_SidebarNavigationIcon: react.ComponentType<ExperimentalSidebarNavigationIconProps>;
@@ -23496,5 +23625,5 @@ declare const experimental_useCodeTheme: () => PluginCodeThemeState;
23496
23625
  declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
23497
23626
  declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => Promise<ExperimentalSaveFileOutcome>;
23498
23627
 
23499
- 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_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_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, 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_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23500
- 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, ExperimentalAppPanel, ExperimentalAppPanelSurface, 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, ExperimentalOpenFixedTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, 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, ExperimentalTabOpenOptions, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, 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, PluginPanelActionOpenOptions, 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, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, 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 };
23628
+ 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_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, 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_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
23629
+ 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, ExperimentalAppPanel, ExperimentalAppPanelSurface, 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, ExperimentalOpenFixedTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, 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, ExperimentalTabOpenOptions, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadTabActionContext, 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, PluginPanelActionOpenOptions, 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, PluginTargetedPanelActionOpenOptions, PluginThreadAction, 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 };
@@ -118,6 +118,13 @@ type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<S
118
118
  type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
119
119
  interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
120
120
  readonly experimental_description?: string;
121
+ /**
122
+ * Host contracts only. When true and the daemon's response has not arrived
123
+ * within half of the call's transport timeout, bb cancels the call and sends
124
+ * it once more, the retry core uses for its own read-only daemon commands.
125
+ * Declare it only for reads that are safe to run twice.
126
+ */
127
+ readonly experimental_retryable?: boolean;
121
128
  readonly input: InputSchema;
122
129
  readonly output: OutputSchema;
123
130
  }
@@ -807,6 +807,13 @@ interface StandardSchemaV1Issue {
807
807
  type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
808
808
  interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
809
809
  readonly experimental_description?: string;
810
+ /**
811
+ * Host contracts only. When true and the daemon's response has not arrived
812
+ * within half of the call's transport timeout, bb cancels the call and sends
813
+ * it once more, the retry core uses for its own read-only daemon commands.
814
+ * Declare it only for reads that are safe to run twice.
815
+ */
816
+ readonly experimental_retryable?: boolean;
810
817
  readonly input: InputSchema;
811
818
  readonly output: OutputSchema;
812
819
  }
@@ -1399,6 +1406,12 @@ interface PluginProviderOptionDescriptor {
1399
1406
  id: string;
1400
1407
  label: string;
1401
1408
  description?: string;
1409
+ /** Host glyph name (`"Zap"`) or declared icon (`"<pluginId>/<name>"`, an
1410
+ * entry of this plugin's `bb.branding.experimental_icons`; any other plugin
1411
+ * id or an undeclared name fails the load) shown beside a selected service
1412
+ * tier. Host glyphs draw filled. Ignored for reasoning levels. Defaults to
1413
+ * `"Zap"`. */
1414
+ experimental_icon?: string;
1402
1415
  }
1403
1416
  /**
1404
1417
  * Payload schemas for one extension kind this provider emits, keyed by the
@@ -1950,6 +1963,12 @@ declare function adoptHttpRouteResponse(value: unknown): Response;
1950
1963
  declare function undeclaredIconProblem(pluginId: string, declaredIconNames: ReadonlySet<string>, glyph: string): string | null;
1951
1964
  /** `bb.providers.register` refusal for an icon {@link undeclaredIconProblem} rejects. */
1952
1965
  declare function providerIconRefusalMessage(providerId: string, problem: string): string;
1966
+ /**
1967
+ * `bb.providers.register` refusal for the provider icon or a service tier
1968
+ * icon {@link undeclaredIconProblem} rejects, or null when every icon is
1969
+ * acceptable.
1970
+ */
1971
+ declare function providerDeclarationIconRefusal(pluginId: string, declaredIconNames: ReadonlySet<string>, declaration: NormalizedPluginProviderDeclaration): string | null;
1953
1972
  /**
1954
1973
  * `bb.providers.register` refusal for a plugin whose manifest declares no
1955
1974
  * `bb.host` entry: a declaration is metadata, and the bridge it runs on is
@@ -2139,5 +2158,5 @@ declare function readPluginRpcRefusal(error: unknown): PluginRpcError | null;
2139
2158
  declare function validateRpcValue(schema: StandardSchemaV1, value: unknown, phase: "input" | "output", fail: (error: PluginRpcError) => never): Promise<unknown>;
2140
2159
  declare function normalizeRpcJsonResult(value: unknown, fail: (error: PluginRpcError) => never): JsonValue;
2141
2160
 
2142
- export { ENVIRONMENT_PROVIDER_DESCRIPTION_MAX_CHARS, ENVIRONMENT_PROVIDER_DISPLAY_NAME_MAX_CHARS, ENVIRONMENT_PROVIDER_ID_PATTERN, ENVIRONMENT_PROVIDER_REQUIREMENT_NAMES, KV_VALUE_MAX_BYTES, MACHINE_PROVIDER_DESCRIPTION_MAX_CHARS, PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS, PLUGIN_MENTION_TRIGGER_VALUES, PLUGIN_PROVIDER_BRIDGE_OPTIONS_MAX_BYTES, PLUGIN_PROVIDER_COMPOSER_ACTION_VALUES, PLUGIN_PROVIDER_DISPLAY_NAME_MAX_CHARS, PLUGIN_PROVIDER_ENV_MAX_ENTRIES, PLUGIN_PROVIDER_ENV_NAME_PATTERN, PLUGIN_PROVIDER_PERMISSION_MODE_VALUES, PLUGIN_PROVIDER_REASONING_LEVEL_VALUES, PROVIDER_ID_PATTERN, RESERVED_AGENT_TOOL_NAMES, RESERVED_BB_CLI_COMMANDS, SETTING_KEY_PATTERN, adoptHttpRouteResponse, aiServiceAlreadyRegisteredMessage, coerceStoredPluginSettingValue, deriveValidatedProviderOptions, enforcePluginCliOutputLimit, environmentCompositionSchema, isPluginMentionTrigger, isStandardSchema, normalizeAgentToolRegistration, normalizeCliRegistration, normalizeHttpRouteRegistration, normalizeInteractionRequest, normalizeMentionProviderRegistration, normalizePluginAgentConfiguration, normalizeRealtimePayload, normalizeRpcJsonResult, normalizeRpcRegistration, normalizeWebSocketRouteRegistration, parsePluginRowPresentation, pluginCliCollisionWarning, pluginHookAlreadyRegisteredMessage, providerAlreadyRegisteredMessage, providerIconRefusalMessage, providerWithoutBridgeMessage, publishRpcMethod, readPluginRpcRefusal, readRpcPublicationOptions, registerSettingDescriptors, runPluginStorageMigrations, storePluginHook, summarizeStandardIssues, undeclaredIconProblem, validateBackgroundServiceRegistration, validatePluginAiServiceDeclaration, validatePluginEnvironmentProviderDeclaration, validatePluginMachineProviderDeclaration, validatePluginProviderDeclaration, validatePluginProviderEnvEntries, validateProviderEnvContribution, validateRpcValue, validateScheduleRegistration, validateServerAccessProviderDeclaration, validateSettingsUpdate };
2161
+ export { ENVIRONMENT_PROVIDER_DESCRIPTION_MAX_CHARS, ENVIRONMENT_PROVIDER_DISPLAY_NAME_MAX_CHARS, ENVIRONMENT_PROVIDER_ID_PATTERN, ENVIRONMENT_PROVIDER_REQUIREMENT_NAMES, KV_VALUE_MAX_BYTES, MACHINE_PROVIDER_DESCRIPTION_MAX_CHARS, PLUGIN_AGENT_STATUS_LABEL_MAX_CHARS, PLUGIN_MENTION_TRIGGER_VALUES, PLUGIN_PROVIDER_BRIDGE_OPTIONS_MAX_BYTES, PLUGIN_PROVIDER_COMPOSER_ACTION_VALUES, PLUGIN_PROVIDER_DISPLAY_NAME_MAX_CHARS, PLUGIN_PROVIDER_ENV_MAX_ENTRIES, PLUGIN_PROVIDER_ENV_NAME_PATTERN, PLUGIN_PROVIDER_PERMISSION_MODE_VALUES, PLUGIN_PROVIDER_REASONING_LEVEL_VALUES, PROVIDER_ID_PATTERN, RESERVED_AGENT_TOOL_NAMES, RESERVED_BB_CLI_COMMANDS, SETTING_KEY_PATTERN, adoptHttpRouteResponse, aiServiceAlreadyRegisteredMessage, coerceStoredPluginSettingValue, deriveValidatedProviderOptions, enforcePluginCliOutputLimit, environmentCompositionSchema, isPluginMentionTrigger, isStandardSchema, normalizeAgentToolRegistration, normalizeCliRegistration, normalizeHttpRouteRegistration, normalizeInteractionRequest, normalizeMentionProviderRegistration, normalizePluginAgentConfiguration, normalizeRealtimePayload, normalizeRpcJsonResult, normalizeRpcRegistration, normalizeWebSocketRouteRegistration, parsePluginRowPresentation, pluginCliCollisionWarning, pluginHookAlreadyRegisteredMessage, providerAlreadyRegisteredMessage, providerDeclarationIconRefusal, providerIconRefusalMessage, providerWithoutBridgeMessage, publishRpcMethod, readPluginRpcRefusal, readRpcPublicationOptions, registerSettingDescriptors, runPluginStorageMigrations, storePluginHook, summarizeStandardIssues, undeclaredIconProblem, validateBackgroundServiceRegistration, validatePluginAiServiceDeclaration, validatePluginEnvironmentProviderDeclaration, validatePluginMachineProviderDeclaration, validatePluginProviderDeclaration, validatePluginProviderEnvEntries, validateProviderEnvContribution, validateRpcValue, validateScheduleRegistration, validateServerAccessProviderDeclaration, validateSettingsUpdate };
2143
2162
  export type { NormalizedPluginAiService, NormalizedPluginEnvironmentComposition, NormalizedPluginEnvironmentProvider, NormalizedPluginEnvironmentProviderRequirements, NormalizedPluginInteractionRequest, NormalizedPluginMachineProvider, NormalizedPluginProviderDeclaration };
@@ -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, 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, 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';
10
10
  import { ComponentType } from 'react';
11
11
  import { z } from 'zod';
12
12
 
@@ -95,6 +95,7 @@ interface CollectedPluginAppRegistrations {
95
95
  threadLists: PluginThreadListRegistration[];
96
96
  experimentalSidebarNavigations: CollectedSidebarNavigationRegistration[];
97
97
  threadHeaderActions: PluginThreadHeaderActionRegistration[];
98
+ threadContextSegments: ExperimentalThreadContextSegmentRegistration[];
98
99
  threadInfoRows: ExperimentalThreadInfoRowRegistration[];
99
100
  threadInfoSections: ExperimentalThreadInfoSectionRegistration[];
100
101
  threadActions: PluginThreadActionRegistration<unknown>[];
@@ -89,6 +89,13 @@ type StandardSchemaV1InferInput<Schema extends StandardSchemaV1> = NonNullable<S
89
89
  type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
90
90
  interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
91
91
  readonly experimental_description?: string;
92
+ /**
93
+ * Host contracts only. When true and the daemon's response has not arrived
94
+ * within half of the call's transport timeout, bb cancels the call and sends
95
+ * it once more, the retry core uses for its own read-only daemon commands.
96
+ * Declare it only for reads that are safe to run twice.
97
+ */
98
+ readonly experimental_retryable?: boolean;
92
99
  readonly input: InputSchema;
93
100
  readonly output: OutputSchema;
94
101
  }
@@ -440,6 +440,7 @@ interface AcpDialect {
440
440
  readonly clientRequestMethods?: readonly string[];
441
441
  handleClientRequest?(method: string, params: unknown): AcpClientRequestOutcome | undefined;
442
442
  maintenance?: AcpMaintenanceDialect;
443
+ presentModel?(model: AvailableModel): AvailableModel;
443
444
  }
444
445
  interface AcpClientRequestOutcome {
445
446
  result: Record<string, unknown>;
@@ -440,6 +440,7 @@ interface AcpDialect {
440
440
  readonly clientRequestMethods?: readonly string[];
441
441
  handleClientRequest?(method: string, params: unknown): AcpClientRequestOutcome | undefined;
442
442
  maintenance?: AcpMaintenanceDialect;
443
+ presentModel?(model: AvailableModel): AvailableModel;
443
444
  }
444
445
  interface AcpClientRequestOutcome {
445
446
  result: Record<string, unknown>;
@@ -5235,5 +5235,46 @@ declare const claudeTaskToolOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
5235
5235
  }, z.core.$loose>]>;
5236
5236
  type ClaudeTaskToolOutput = z.infer<typeof claudeTaskToolOutputSchema>;
5237
5237
 
5238
- export { BRIDGE_INBOUND_REQUEST_METHODS, BRIDGE_JSON_RPC_ERRORS, BRIDGE_NOTIFICATION_METHODS, BRIDGE_REQUEST_METHODS, HIGH_REASONING_EFFORT, LOCAL_BASH_TASK_TYPE, LOCAL_WORKFLOW_TASK_TYPE, LOW_REASONING_EFFORT, MAX_REASONING_EFFORT, MEDIUM_REASONING_EFFORT, PLUGIN_INTERACTION_MAX_TITLE_LENGTH, PROVIDER_BRIDGE_EXPORT_NAME, PROVIDER_BRIDGE_PROTOCOL_VERSION, ProviderRequestDecodeError, ProviderResponseEncodeError, THREAD_DELTA_GRAMMAR_V2, THREAD_DELTA_GRAMMAR_V3, THREAD_DELTA_NOTIFICATION_METHOD, ULTRACODE_REASONING_EFFORT, USER_QUESTION_MAX_OPTIONS, USER_QUESTION_MAX_QUESTIONS, XHIGH_REASONING_EFFORT, ZERO_TOKEN_USAGE, acpNativeReasoningSchema, acpPermissionCliSchema, acpReasoningCliSchema, addTokenUsage, approvalInteractionOutcomeSchema, backgroundTaskItemStatus, bashArgsSchema, bridgeCapabilitiesSchema, bridgeErrorDataSchema, bridgeGrammarVersionsSchema, bridgeRequestEnvelopeSchema, bridgeSteerModeSchema, buildShellEnvOverrides, claudeTaskToolNameSchema, claudeTaskToolOutputSchema, commandListParamsSchema, commandListResultSchema, contextSnapshotSchema, createBridgeIo, createBridgeLineHandler, createPendingToolCallTracker, createProviderVisibilityMetadata, decodeBridgeJsonRpcResponse, decodeToolCallResponsePayload, deltaBackgroundTaskShapeSchema, deltaDelegationShapeSchema, deltaExtensionShapeSchema, deltaFileChangeSchema, deltaFileReadShapeSchema, deltaItemKeySchema, deltaItemShapeSchema, deltaNoTurnFallbackSchema, deltaOutputChannelSchema, deltaPlanStepsShapeSchema, deltaPresentationSchema, deltaProgressSnapshotSchema, deltaSearchShapeSchema, deltaTextChannelSchema, dynamicToolSchema, errorEnvelopeSchema, BridgeRecoveryError as experimental_BridgeRecoveryError, COMPACTION_PRESENTATION as experimental_COMPACTION_PRESENTATION, REASONING_PRESENTATION as experimental_REASONING_PRESENTATION, buildBridgeToolCallContent as experimental_buildBridgeToolCallContent, clampPercent as experimental_clampPercent, commandOutput as experimental_commandOutput, compareVersions as experimental_compareVersions, experimental_defineProviderBridge, downloadedInstallerCommand as experimental_downloadedInstallerCommand, fileReadPresentation as experimental_fileReadPresentation, formatCommand as experimental_formatCommand, installationVerification as experimental_installationVerification, experimental_isProviderBridgeRecording, killPortableProcess as experimental_killPortableProcess, npmCommand as experimental_npmCommand, npmGlobalInstallCommand as experimental_npmGlobalInstallCommand, npmGlobalInstallSource as experimental_npmGlobalInstallSource, npmLatestVersion as experimental_npmLatestVersion, planStepsPresentation as experimental_planStepsPresentation, presentationDetail as experimental_presentationDetail, presentationFileName as experimental_presentationFileName, presentationTitle as experimental_presentationTitle, probeNpmGlobalPackage as experimental_probeNpmGlobalPackage, readBoundedLines as experimental_readBoundedLines, readCliVersion as experimental_readCliVersion, experimental_recordProviderChildIo, resolveExecutablePath as experimental_resolveExecutablePath, searchPresentation as experimental_searchPresentation, spawnPortableProcess as experimental_spawnPortableProcess, toolPresentation as experimental_toolPresentation, versionFrom as experimental_versionFrom, webFetchPresentation as experimental_webFetchPresentation, webSearchPresentation as experimental_webSearchPresentation, withTitle as experimental_withTitle, extensionKindSchema, extractResultText, getRawSdkMessage, getRecordProperty, getStringProperty, acpLaunchSpecSchema as hostDaemonAcpLaunchSpecSchema, initializeParamsSchema, instructionModeValues, interactionRequestPayloadSchema, isApprovalInteractionOutcome, isApprovalPendingInteractionPayload, isApprovalPendingInteractionResolution, isBackgroundAgentTaskType, isExtensionKind, isRecord, isSettledBackgroundTaskStatus, isStandaloneBuiltinCompactCommand, isUserQuestionPendingInteractionPayload, isUserQuestionPendingInteractionResolution, jsonRpcEnvelopeSchema, jsonValueSchema, mimeTypeFromExtension, modelListParamsSchema, normalizeAcpLaunchSpec as normalizeHostDaemonAcpLaunchSpec, normalizeProviderCommandOutput, pendingInteractionCommandActionSchema, pendingInteractionFileSystemPermissionsSchema, pendingInteractionMacOsPermissionsSchema, pendingInteractionNetworkPermissionsSchema, pendingInteractionRequestedPermissionProfileSchema, pendingInteractionResolutionSchema, permissionEscalationValues, providerHealthResultSchema, providerHealthSchema, providerInstallationActionKindSchema, providerInstallationActionSchema, providerInstallationCommandSchema, providerInstallationRequirementSchema, providerInstallationRunParamsSchema, providerInstallationRunResultSchema, providerInstallationSourceSchema, providerInstallationStatusParamsSchema, providerInstallationStatusSchema, providerInstallationVerificationSchema, providerInteractionOutcomeSchema, providerMaintenanceParamsSchema, providerRawEventSchema, providerRecoveryHintSchema, providerRecoveryKindSchema, providerRecoveryKindValues, providerRecoveryNotificationSchema, providerUsageResultSchema, providerUsageSchema, providerUsageWindowSchema, reasoningEffortsForLevels, reasoningLevelSchema, reasoningLevelValues, removeCommandMentionsFromPromptInput, runBridgeRequest, runtimePermissionScopeValues, sanitizeInheritedChildProcessEnv, sdkMessageEnvelopeSchema, shouldAutoDenyInteractiveRequest, skillsConfigureParamsSchema, textBlockSchema, threadArchiveParamsSchema, threadContextWindowUsageEnvelopeSchema, threadDeltaNotificationParamsSchema, threadDeltaSchema, threadDiscardParamsSchema, threadEventItemPresentationSchema, threadEventSearchModeSchema, threadForkParamsSchema, threadGoalClearParamsSchema, threadIdentityEnvelopeSchema, threadNameSetParamsSchema, threadResumeParamsSchema, threadStartParamsSchema, threadStopParamsSchema, threadUnarchiveParamsSchema, toNonNegativeNumber, toOptionalRecord, toOptionalString, toPositiveNumber, turnStartParamsSchema, turnSteerParamsSchema, userQuestionInteractionOutcomeSchema, withoutBridgeRuntimeEnv };
5239
- export type { ApprovalInteractionOutcome, ApprovalPendingInteractionPayload, AvailableModel, BackgroundTaskStatus, BackgroundTaskUsage, BoundedLineReaderArgs, BridgeCapabilities, BridgeErrorData, BridgeExecutionOptions, BridgeGrammarVersions, BridgeJsonRpcResponse, BridgeSendError, BridgeSteerMode, BridgeToolCallRequest, BuildInteractiveResponseArgs, ClaudeTaskToolOutput, ClientTurnRequestId, ContextCategory, ContextEntry, ContextSnapshot, DecodedInteractiveRequest, DeltaBackgroundTaskShape, DeltaDelegationShape, DeltaExtensionShape, DeltaFileChange, DeltaFileReadShape, DeltaItemKey, DeltaItemShape, DeltaItemShapeType, DeltaNoTurnFallback, DeltaOutputChannel, DeltaPlanStepsShape, DeltaPresentation, DeltaProgressSnapshot, DeltaSearchShape, DeltaTextChannel, DynamicTool, ExtensionKind, AcpLaunchSpec as HostDaemonAcpLaunchSpec, InitializeResult, InstructionMode, InteractionRequestPayload, JsonObject, JsonRpcMessage, JsonValue, ModelReasoningEffort, ModelServiceTier, NpmGlobalPackageProbe, PendingInteractionApprovalDecision, PendingInteractionApprovalSubject, PendingInteractionCommandAction, PendingInteractionGrantablePermissionProfile, PendingInteractionGrantedPermissionProfile, PendingInteractionPayload, PendingInteractionRequestedPermissionProfile, PendingInteractionResolution, PendingInteractionUserQuestionQuestion, PermissionEscalation, PermissionMode, PreparedProviderCommandDispatch, PromptInput, ProviderBridgeContext, ProviderBridgeDefinition, ProviderBridgeEntry, ProviderErrorCategory, ProviderErrorInfo, ProviderHealth, ProviderHealthResult, ProviderInboundRequest, ProviderInstallationAction, ProviderInstallationActionKind, ProviderInstallationCommand, ProviderInstallationRequirement, ProviderInstallationRunParams, ProviderInstallationRunResult, ProviderInstallationSource, ProviderInstallationStatus, ProviderInstallationStatusParams, ProviderInstallationVerification, ProviderInteractionOutcome, ProviderMaintenanceParams, ProviderPostInitializeRequest, ProviderRateLimitState, ProviderRateLimitStatus, ProviderRateLimitWindow, ProviderRawEvent, ProviderRawEventCoverage, ProviderRawEventDescription, ProviderRecoveryHint, ProviderRecoveryKind, ProviderRecoveryNotification, ProviderRuntimeEvent, ProviderUsage, ProviderUsageResult, ProviderUsageWindow, ProviderVisibilityMetadata, ReasoningLevel, RuntimePermissionPolicy, RuntimePermissionScope, ServiceTier, ThreadDelta, ThreadDeltaKind, ThreadDeltaNotificationParams, ThreadEventContextWindowUsage, ThreadEventItemPresentation, ThreadEventItemStatus, ThreadEventPlanStep, ThreadEventSearchMode, ThreadEventTokenUsageBreakdown, ThreadEventTurnStatus, ThreadEventUserContent, UserQuestionInteractionOutcome, UserQuestionPendingInteractionPayload, UserQuestionPendingInteractionResolution, WorkflowAgentSnapshot, WorkflowAgentState, WorkflowPhaseSnapshot, WorkflowProgressSnapshot };
5238
+ interface SkillScanRoot {
5239
+ path: string;
5240
+ shape: "command" | "command-file" | "skill" | "skill-directory" | "skill-file" | "skill-recursive";
5241
+ boundaryPath: string | null;
5242
+ skipIfManifest?: string;
5243
+ fallbackName?: string;
5244
+ }
5245
+ interface SkillFile {
5246
+ filePath: string;
5247
+ realPath: string;
5248
+ name: string;
5249
+ linked: boolean;
5250
+ }
5251
+ interface IndexedSkillFile extends SkillFile {
5252
+ contentSha256: string;
5253
+ content: string;
5254
+ }
5255
+ declare function scanSkillFiles(root: SkillScanRoot): Promise<IndexedSkillFile[]>;
5256
+ interface SkillMentionCandidate {
5257
+ start: number;
5258
+ end: number;
5259
+ resource: {
5260
+ kind: string;
5261
+ source?: unknown;
5262
+ trigger?: unknown;
5263
+ name?: unknown;
5264
+ };
5265
+ }
5266
+ interface SelectedSkillMention extends SkillMentionCandidate {
5267
+ resource: {
5268
+ kind: "command";
5269
+ source: "skill";
5270
+ trigger: "$" | "/";
5271
+ name: string;
5272
+ };
5273
+ }
5274
+ declare function selectedSkillMentions(input: {
5275
+ text: string;
5276
+ mentions: readonly SkillMentionCandidate[];
5277
+ }): SelectedSkillMention[];
5278
+
5279
+ export { BRIDGE_INBOUND_REQUEST_METHODS, BRIDGE_JSON_RPC_ERRORS, BRIDGE_NOTIFICATION_METHODS, BRIDGE_REQUEST_METHODS, HIGH_REASONING_EFFORT, LOCAL_BASH_TASK_TYPE, LOCAL_WORKFLOW_TASK_TYPE, LOW_REASONING_EFFORT, MAX_REASONING_EFFORT, MEDIUM_REASONING_EFFORT, PLUGIN_INTERACTION_MAX_TITLE_LENGTH, PROVIDER_BRIDGE_EXPORT_NAME, PROVIDER_BRIDGE_PROTOCOL_VERSION, ProviderRequestDecodeError, ProviderResponseEncodeError, THREAD_DELTA_GRAMMAR_V2, THREAD_DELTA_GRAMMAR_V3, THREAD_DELTA_NOTIFICATION_METHOD, ULTRACODE_REASONING_EFFORT, USER_QUESTION_MAX_OPTIONS, USER_QUESTION_MAX_QUESTIONS, XHIGH_REASONING_EFFORT, ZERO_TOKEN_USAGE, acpNativeReasoningSchema, acpPermissionCliSchema, acpReasoningCliSchema, addTokenUsage, approvalInteractionOutcomeSchema, backgroundTaskItemStatus, bashArgsSchema, bridgeCapabilitiesSchema, bridgeErrorDataSchema, bridgeGrammarVersionsSchema, bridgeRequestEnvelopeSchema, bridgeSteerModeSchema, buildShellEnvOverrides, claudeTaskToolNameSchema, claudeTaskToolOutputSchema, commandListParamsSchema, commandListResultSchema, contextSnapshotSchema, createBridgeIo, createBridgeLineHandler, createPendingToolCallTracker, createProviderVisibilityMetadata, decodeBridgeJsonRpcResponse, decodeToolCallResponsePayload, deltaBackgroundTaskShapeSchema, deltaDelegationShapeSchema, deltaExtensionShapeSchema, deltaFileChangeSchema, deltaFileReadShapeSchema, deltaItemKeySchema, deltaItemShapeSchema, deltaNoTurnFallbackSchema, deltaOutputChannelSchema, deltaPlanStepsShapeSchema, deltaPresentationSchema, deltaProgressSnapshotSchema, deltaSearchShapeSchema, deltaTextChannelSchema, dynamicToolSchema, errorEnvelopeSchema, BridgeRecoveryError as experimental_BridgeRecoveryError, COMPACTION_PRESENTATION as experimental_COMPACTION_PRESENTATION, REASONING_PRESENTATION as experimental_REASONING_PRESENTATION, buildBridgeToolCallContent as experimental_buildBridgeToolCallContent, clampPercent as experimental_clampPercent, commandOutput as experimental_commandOutput, compareVersions as experimental_compareVersions, experimental_defineProviderBridge, downloadedInstallerCommand as experimental_downloadedInstallerCommand, fileReadPresentation as experimental_fileReadPresentation, formatCommand as experimental_formatCommand, installationVerification as experimental_installationVerification, experimental_isProviderBridgeRecording, killPortableProcess as experimental_killPortableProcess, npmCommand as experimental_npmCommand, npmGlobalInstallCommand as experimental_npmGlobalInstallCommand, npmGlobalInstallSource as experimental_npmGlobalInstallSource, npmLatestVersion as experimental_npmLatestVersion, planStepsPresentation as experimental_planStepsPresentation, presentationDetail as experimental_presentationDetail, presentationFileName as experimental_presentationFileName, presentationTitle as experimental_presentationTitle, probeNpmGlobalPackage as experimental_probeNpmGlobalPackage, readBoundedLines as experimental_readBoundedLines, readCliVersion as experimental_readCliVersion, experimental_recordProviderChildIo, resolveExecutablePath as experimental_resolveExecutablePath, scanSkillFiles as experimental_scanSkillFiles, searchPresentation as experimental_searchPresentation, selectedSkillMentions as experimental_selectedSkillMentions, spawnPortableProcess as experimental_spawnPortableProcess, toolPresentation as experimental_toolPresentation, versionFrom as experimental_versionFrom, webFetchPresentation as experimental_webFetchPresentation, webSearchPresentation as experimental_webSearchPresentation, withTitle as experimental_withTitle, extensionKindSchema, extractResultText, getRawSdkMessage, getRecordProperty, getStringProperty, acpLaunchSpecSchema as hostDaemonAcpLaunchSpecSchema, initializeParamsSchema, instructionModeValues, interactionRequestPayloadSchema, isApprovalInteractionOutcome, isApprovalPendingInteractionPayload, isApprovalPendingInteractionResolution, isBackgroundAgentTaskType, isExtensionKind, isRecord, isSettledBackgroundTaskStatus, isStandaloneBuiltinCompactCommand, isUserQuestionPendingInteractionPayload, isUserQuestionPendingInteractionResolution, jsonRpcEnvelopeSchema, jsonValueSchema, mimeTypeFromExtension, modelListParamsSchema, normalizeAcpLaunchSpec as normalizeHostDaemonAcpLaunchSpec, normalizeProviderCommandOutput, pendingInteractionCommandActionSchema, pendingInteractionFileSystemPermissionsSchema, pendingInteractionMacOsPermissionsSchema, pendingInteractionNetworkPermissionsSchema, pendingInteractionRequestedPermissionProfileSchema, pendingInteractionResolutionSchema, permissionEscalationValues, providerHealthResultSchema, providerHealthSchema, providerInstallationActionKindSchema, providerInstallationActionSchema, providerInstallationCommandSchema, providerInstallationRequirementSchema, providerInstallationRunParamsSchema, providerInstallationRunResultSchema, providerInstallationSourceSchema, providerInstallationStatusParamsSchema, providerInstallationStatusSchema, providerInstallationVerificationSchema, providerInteractionOutcomeSchema, providerMaintenanceParamsSchema, providerRawEventSchema, providerRecoveryHintSchema, providerRecoveryKindSchema, providerRecoveryKindValues, providerRecoveryNotificationSchema, providerUsageResultSchema, providerUsageSchema, providerUsageWindowSchema, reasoningEffortsForLevels, reasoningLevelSchema, reasoningLevelValues, removeCommandMentionsFromPromptInput, runBridgeRequest, runtimePermissionScopeValues, sanitizeInheritedChildProcessEnv, sdkMessageEnvelopeSchema, shouldAutoDenyInteractiveRequest, skillsConfigureParamsSchema, textBlockSchema, threadArchiveParamsSchema, threadContextWindowUsageEnvelopeSchema, threadDeltaNotificationParamsSchema, threadDeltaSchema, threadDiscardParamsSchema, threadEventItemPresentationSchema, threadEventSearchModeSchema, threadForkParamsSchema, threadGoalClearParamsSchema, threadIdentityEnvelopeSchema, threadNameSetParamsSchema, threadResumeParamsSchema, threadStartParamsSchema, threadStopParamsSchema, threadUnarchiveParamsSchema, toNonNegativeNumber, toOptionalRecord, toOptionalString, toPositiveNumber, turnStartParamsSchema, turnSteerParamsSchema, userQuestionInteractionOutcomeSchema, withoutBridgeRuntimeEnv };
5280
+ export type { ApprovalInteractionOutcome, ApprovalPendingInteractionPayload, AvailableModel, BackgroundTaskStatus, BackgroundTaskUsage, BoundedLineReaderArgs, BridgeCapabilities, BridgeErrorData, BridgeExecutionOptions, BridgeGrammarVersions, BridgeJsonRpcResponse, BridgeSendError, BridgeSteerMode, BridgeToolCallRequest, BuildInteractiveResponseArgs, ClaudeTaskToolOutput, ClientTurnRequestId, ContextCategory, ContextEntry, ContextSnapshot, DecodedInteractiveRequest, DeltaBackgroundTaskShape, DeltaDelegationShape, DeltaExtensionShape, DeltaFileChange, DeltaFileReadShape, DeltaItemKey, DeltaItemShape, DeltaItemShapeType, DeltaNoTurnFallback, DeltaOutputChannel, DeltaPlanStepsShape, DeltaPresentation, DeltaProgressSnapshot, DeltaSearchShape, DeltaTextChannel, DynamicTool, IndexedSkillFile as ExperimentalIndexedSkillFile, SkillScanRoot as ExperimentalSkillScanRoot, ExtensionKind, AcpLaunchSpec as HostDaemonAcpLaunchSpec, InitializeResult, InstructionMode, InteractionRequestPayload, JsonObject, JsonRpcMessage, JsonValue, ModelReasoningEffort, ModelServiceTier, NpmGlobalPackageProbe, PendingInteractionApprovalDecision, PendingInteractionApprovalSubject, PendingInteractionCommandAction, PendingInteractionGrantablePermissionProfile, PendingInteractionGrantedPermissionProfile, PendingInteractionPayload, PendingInteractionRequestedPermissionProfile, PendingInteractionResolution, PendingInteractionUserQuestionQuestion, PermissionEscalation, PermissionMode, PreparedProviderCommandDispatch, PromptInput, ProviderBridgeContext, ProviderBridgeDefinition, ProviderBridgeEntry, ProviderErrorCategory, ProviderErrorInfo, ProviderHealth, ProviderHealthResult, ProviderInboundRequest, ProviderInstallationAction, ProviderInstallationActionKind, ProviderInstallationCommand, ProviderInstallationRequirement, ProviderInstallationRunParams, ProviderInstallationRunResult, ProviderInstallationSource, ProviderInstallationStatus, ProviderInstallationStatusParams, ProviderInstallationVerification, ProviderInteractionOutcome, ProviderMaintenanceParams, ProviderPostInitializeRequest, ProviderRateLimitState, ProviderRateLimitStatus, ProviderRateLimitWindow, ProviderRawEvent, ProviderRawEventCoverage, ProviderRawEventDescription, ProviderRecoveryHint, ProviderRecoveryKind, ProviderRecoveryNotification, ProviderRuntimeEvent, ProviderUsage, ProviderUsageResult, ProviderUsageWindow, ProviderVisibilityMetadata, ReasoningLevel, RuntimePermissionPolicy, RuntimePermissionScope, ServiceTier, ThreadDelta, ThreadDeltaKind, ThreadDeltaNotificationParams, ThreadEventContextWindowUsage, ThreadEventItemPresentation, ThreadEventItemStatus, ThreadEventPlanStep, ThreadEventSearchMode, ThreadEventTokenUsageBreakdown, ThreadEventTurnStatus, ThreadEventUserContent, UserQuestionInteractionOutcome, UserQuestionPendingInteractionPayload, UserQuestionPendingInteractionResolution, WorkflowAgentSnapshot, WorkflowAgentState, WorkflowPhaseSnapshot, WorkflowProgressSnapshot };
@@ -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, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, ComposerDraftSnapshot, PluginComposerScope, ComposerSelection, PluginComposerTextEffect, PluginComposerMention, ComposerSubmitOptions, ExperimentalClipboardContent, PluginComposerThreadRowStatus, ExperimentalOpenFixedTabOptions, JsonValue, BbNavigate, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, ExperimentalComposerRendererApi, ExperimentalSidebarNavigationItem, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState, ExperimentalPageTitle, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationTarget } 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, ExperimentalOpenFixedTabOptions, JsonValue, BbNavigate, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, ExperimentalComposerRendererApi, ExperimentalSidebarNavigationItem, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState, ExperimentalPageTitle, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationTarget } from '@get-bb/plugin-sdk';
10
10
  import { ComponentType, ReactNode } from 'react';
11
11
  import { RenderResult } from '@testing-library/react';
12
12
 
@@ -220,6 +220,7 @@ interface CapturedPluginApp {
220
220
  threadLists: PluginThreadListRegistration[];
221
221
  experimentalSidebarNavigations: ExperimentalSidebarNavigationRegistration[];
222
222
  threadHeaderActions: PluginThreadHeaderActionRegistration[];
223
+ threadContextSegments: ExperimentalThreadContextSegmentRegistration[];
223
224
  threadInfoRows: ExperimentalThreadInfoRowRegistration[];
224
225
  threadInfoSections: ExperimentalThreadInfoSectionRegistration[];
225
226
  threadActions: PluginThreadActionRegistration<unknown>[];
@@ -363,6 +364,8 @@ interface RenderSlotOptions<Contract extends PluginRpcContract = PluginRpcContra
363
364
  * report as holding an unsent draft. Omitted → none.
364
365
  */
365
366
  sidebarDraftThreadIds?: readonly string[];
367
+ /** Experiment keys `experimental_useExperiment()` reports as on. Omitted → none. */
368
+ experiments?: readonly string[];
366
369
  /**
367
370
  * Row statuses `useSidebarThreadRowStatus()` reports, keyed by thread id.
368
371
  * Omitted → every thread reports null.
@@ -530,6 +530,13 @@ interface StandardSchemaV1Issue {
530
530
  type StandardSchemaV1InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
531
531
  interface PluginRpcMethodContract<InputSchema extends StandardSchemaV1 = StandardSchemaV1, OutputSchema extends StandardSchemaV1 = StandardSchemaV1> extends ContractTagDeclarations<StandardSchemaV1InferOutput<InputSchema>, StandardSchemaV1InferOutput<OutputSchema>> {
532
532
  readonly experimental_description?: string;
533
+ /**
534
+ * Host contracts only. When true and the daemon's response has not arrived
535
+ * within half of the call's transport timeout, bb cancels the call and sends
536
+ * it once more, the retry core uses for its own read-only daemon commands.
537
+ * Declare it only for reads that are safe to run twice.
538
+ */
539
+ readonly experimental_retryable?: boolean;
533
540
  readonly input: InputSchema;
534
541
  readonly output: OutputSchema;
535
542
  }
@@ -692,6 +699,12 @@ interface PluginProviderOptionDescriptor {
692
699
  id: string;
693
700
  label: string;
694
701
  description?: string;
702
+ /** Host glyph name (`"Zap"`) or declared icon (`"<pluginId>/<name>"`, an
703
+ * entry of this plugin's `bb.branding.experimental_icons`; any other plugin
704
+ * id or an undeclared name fails the load) shown beside a selected service
705
+ * tier. Host glyphs draw filled. Ignored for reasoning levels. Defaults to
706
+ * `"Zap"`. */
707
+ experimental_icon?: string;
695
708
  }
696
709
  /**
697
710
  * Payload schemas for one extension kind this provider emits, keyed by the