@get-bb/plugin-sdk 0.6.140 → 0.6.141
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.
- package/bundled-types/bb-plugin-sdk-app.d.ts +78 -1
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +3 -1
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +3 -1
- package/bundled-types/bb-plugin-sdk.d.ts +78 -1
- package/dist/internal/plugin-app-collector.js +41 -2
- package/dist/testing/app.js +41 -2
- package/package.json +1 -1
|
@@ -20406,6 +20406,22 @@ interface PluginNavPanelRegistration {
|
|
|
20406
20406
|
* throwing headerContent is hidden without breaking the title bar.
|
|
20407
20407
|
*/
|
|
20408
20408
|
headerContent?: ComponentType<PluginNavPanelProps>;
|
|
20409
|
+
/**
|
|
20410
|
+
* Component rendered in the shared title bar instead of the panel icon,
|
|
20411
|
+
* title and `experimental_usePageTitle` text, such as a breadcrumb. The
|
|
20412
|
+
* window title still comes from `experimental_usePageTitle` or the panel
|
|
20413
|
+
* title. A crash restores the default title without breaking the page.
|
|
20414
|
+
* Experimental: see docs/api_to_audit.md.
|
|
20415
|
+
*/
|
|
20416
|
+
experimental_headerTitle?: ComponentType<PluginNavPanelProps>;
|
|
20417
|
+
/**
|
|
20418
|
+
* When true, the panel gets no navigation entry (sidebar, rail, More and
|
|
20419
|
+
* the navigation arrangement) and no command palette entry. Its route
|
|
20420
|
+
* `/plugins/<pluginId>/<path>/*` still renders with its title bar, right
|
|
20421
|
+
* panel and splits; open it with `useBbNavigate().toPluginPanel(path)`.
|
|
20422
|
+
* Experimental: see docs/api_to_audit.md.
|
|
20423
|
+
*/
|
|
20424
|
+
experimental_hideFromNavigation?: boolean;
|
|
20409
20425
|
}
|
|
20410
20426
|
/**
|
|
20411
20427
|
* Context handed to a thread action tab's `run`.
|
|
@@ -21263,6 +21279,55 @@ interface ExperimentalThreadInfoSectionRegistration {
|
|
|
21263
21279
|
order?: number;
|
|
21264
21280
|
component: ComponentType<ExperimentalThreadInfoProps>;
|
|
21265
21281
|
}
|
|
21282
|
+
/**
|
|
21283
|
+
* Props passed to an `experimental_threadHeaderRow` component, rendered
|
|
21284
|
+
* between a thread's header and its timeline.
|
|
21285
|
+
*/
|
|
21286
|
+
interface ExperimentalThreadHeaderRowProps {
|
|
21287
|
+
/**
|
|
21288
|
+
* The thread shown in the pane. A split layout renders a header row per
|
|
21289
|
+
* pane, so the component mounts once per visible thread; keep per-thread
|
|
21290
|
+
* state in the component, never in a module-level singleton.
|
|
21291
|
+
*/
|
|
21292
|
+
threadId: string;
|
|
21293
|
+
projectId: string;
|
|
21294
|
+
/** The thread's environment, null when it has none. */
|
|
21295
|
+
environment: ExperimentalThreadEnvironment | null;
|
|
21296
|
+
}
|
|
21297
|
+
/**
|
|
21298
|
+
* A full-width row directly under the header of every thread pane, above the
|
|
21299
|
+
* timeline, such as a tab strip of the threads that share an environment.
|
|
21300
|
+
* Rows stack in order. Return null to take no space for this thread. A crash
|
|
21301
|
+
* removes only this row for that thread.
|
|
21302
|
+
*/
|
|
21303
|
+
interface ExperimentalThreadHeaderRowRegistration {
|
|
21304
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
21305
|
+
id: string;
|
|
21306
|
+
/** Ascending; unset sorts last; ties keep registration order. */
|
|
21307
|
+
order?: number;
|
|
21308
|
+
component: ComponentType<ExperimentalThreadHeaderRowProps>;
|
|
21309
|
+
}
|
|
21310
|
+
/**
|
|
21311
|
+
* Props passed to an `experimental_threadHeaderTitle` component, the same
|
|
21312
|
+
* props a header row receives.
|
|
21313
|
+
*/
|
|
21314
|
+
type ExperimentalThreadHeaderTitleProps = ExperimentalThreadHeaderRowProps;
|
|
21315
|
+
/**
|
|
21316
|
+
* Replaces the thread title text in the header of every thread pane, such as
|
|
21317
|
+
* a `project › workspace` breadcrumb. bb keeps the rest of the header: the
|
|
21318
|
+
* Thread actions menu after the title, header actions, pane controls, the
|
|
21319
|
+
* right-panel toggle and the window drag region. While the user renames the
|
|
21320
|
+
* thread, bb shows its rename field instead. Double-click does not start a
|
|
21321
|
+
* rename on a plugin title, and dragging a split pane starts only from parts
|
|
21322
|
+
* that are not links, buttons or inputs. When several plugins register one,
|
|
21323
|
+
* the first in plugin order wins. A crash shows bb's title for that thread.
|
|
21324
|
+
* The window title stays the thread title.
|
|
21325
|
+
*/
|
|
21326
|
+
interface ExperimentalThreadHeaderTitleRegistration {
|
|
21327
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
21328
|
+
id: string;
|
|
21329
|
+
component: ComponentType<ExperimentalThreadHeaderTitleProps>;
|
|
21330
|
+
}
|
|
21266
21331
|
/**
|
|
21267
21332
|
* Props passed to an `experimental_threadContextCardRow` or
|
|
21268
21333
|
* `experimental_threadContextCardSection` component.
|
|
@@ -22954,6 +23019,18 @@ interface PluginAppSlots {
|
|
|
22954
23019
|
* docs/api_to_audit.md.
|
|
22955
23020
|
*/
|
|
22956
23021
|
experimental_threadInfoSection(registration: ExperimentalThreadInfoSectionRegistration): void;
|
|
23022
|
+
/**
|
|
23023
|
+
* Add a full-width row under the header of every thread pane, above the
|
|
23024
|
+
* timeline (see {@link ExperimentalThreadHeaderRowRegistration}).
|
|
23025
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23026
|
+
*/
|
|
23027
|
+
experimental_threadHeaderRow(registration: ExperimentalThreadHeaderRowRegistration): void;
|
|
23028
|
+
/**
|
|
23029
|
+
* Replace the thread title text in the header of every thread pane (see
|
|
23030
|
+
* {@link ExperimentalThreadHeaderTitleRegistration}). Experimental: see
|
|
23031
|
+
* docs/api_to_audit.md.
|
|
23032
|
+
*/
|
|
23033
|
+
experimental_threadHeaderTitle(registration: ExperimentalThreadHeaderTitleRegistration): void;
|
|
22957
23034
|
/**
|
|
22958
23035
|
* Add a row to the thread context card of every thread pane (see
|
|
22959
23036
|
* {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
|
|
@@ -25094,4 +25171,4 @@ declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
|
|
|
25094
25171
|
declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
|
|
25095
25172
|
|
|
25096
25173
|
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, 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_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, 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_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
25097
|
-
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, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, 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, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, 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, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
25174
|
+
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, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, 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, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, 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, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, 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, InternalDoNotUseSetupGuideSectionRegistration, PluginNavPanelRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationPlacement, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalMessageMetadataRegistration, PluginCommandRegistration, ExperimentalComposerCommandRegistration, PluginProviderIconRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, PluginAppDefinition } from '@get-bb/plugin-sdk';
|
|
9
|
+
import { ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterItemRegistration, PluginSidebarFooterActionRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, InternalDoNotUseSetupGuideSectionRegistration, PluginNavPanelRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationPlacement, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalMessageMetadataRegistration, 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
|
|
|
@@ -110,6 +110,8 @@ interface CollectedPluginAppRegistrations {
|
|
|
110
110
|
threadInfoRows: ExperimentalThreadInfoRowRegistration[];
|
|
111
111
|
threadRowMetadata: ExperimentalThreadRowMetadataRegistration<unknown>[];
|
|
112
112
|
threadInfoSections: ExperimentalThreadInfoSectionRegistration[];
|
|
113
|
+
threadHeaderRows: ExperimentalThreadHeaderRowRegistration[];
|
|
114
|
+
threadHeaderTitles: ExperimentalThreadHeaderTitleRegistration[];
|
|
113
115
|
threadContextCardRows: ExperimentalThreadContextCardRowRegistration[];
|
|
114
116
|
threadContextCardSections: ExperimentalThreadContextCardSectionRegistration[];
|
|
115
117
|
threadActions: PluginThreadActionRegistration<unknown>[];
|
|
@@ -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, InternalDoNotUseSetupGuideSectionRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalMessageMetadataRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, ComposerDraftSnapshot, PluginComposerScope, ComposerSelection, PluginComposerTextEffect, PluginComposerMention, ComposerSubmitOptions, ExperimentalClipboardContent, PluginComposerThreadRowStatus, BbNavigate, ExperimentalFilePreviewOptions, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, ExperimentalThreadContextKind, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, ExperimentalComposerRendererApi, ExperimentalSidebarNavigationItem, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState, ExperimentalLiveFileTarget, ExperimentalFilePreviewFile, ExperimentalServers, ExperimentalPanelController, ExperimentalPanelTabs, JsonValue, ExperimentalPageTitle, ExperimentalOpenTabOptions, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationTarget } from '@get-bb/plugin-sdk';
|
|
9
|
+
import { ExperimentalSidebarFooterItemRegistration, PluginNavPanelRegistration, PluginProviderIconRegistration, PluginHomepageSectionRegistration, PluginSettingsSectionRegistration, ExperimentalAppOverlayRegistration, InternalDoNotUseSetupGuideSectionRegistration, ExperimentalTabRegistration, PluginNewThreadPanelActionRegistration, ComposerCustomization, PluginPendingInteractionRegistration, PluginSidebarFooterActionRegistration, PluginThreadListRegistration, ExperimentalSidebarNavigationRegistration, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadInfoRowRegistration, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, PluginThreadActionRegistration, ExperimentalPluginBrowserToolbarActionRegistration, PluginFileOpenerRegistration, PluginSourceCodeRendererRegistration, PluginDiffRendererRegistration, ExperimentalComposerRegistration, PluginMessageDirectiveRegistration, ExperimentalCodeFenceRendererRegistration, PluginMessageActionRegistration, ExperimentalMessageMetadataRegistration, ExperimentalIconRegistration, PluginTimelineRendererRegistration, PluginEnvironmentProviderInputsRegistration, PluginMachineProviderInputsRegistration, PluginContentScriptRegistration, ComposerDraftSnapshot, PluginComposerScope, ComposerSelection, PluginComposerTextEffect, PluginComposerMention, ComposerSubmitOptions, ExperimentalClipboardContent, PluginComposerThreadRowStatus, BbNavigate, ExperimentalFilePreviewOptions, ExperimentalFileOpenOptions, PluginAppDefinition, PluginRpcContract, StandardSchemaV1InferInput, PluginRpcResult, PluginBrowserBbSdk, PluginRealtimeConnectionState, ComposerMention, ComposerAttachment, PluginSidebarThreadsState, PluginProvidersState, PluginCodeThemeState, BranchesState, CheckoutState, ExperimentalThreadContextKind, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarSplitLayout, ExperimentalComposerRendererApi, ExperimentalSidebarNavigationItem, PluginThreadActionTarget, PluginThreadActionEntry, PluginThreadActionRegistrationInfo, PluginEnvironmentProvidersState, ExperimentalLiveFileTarget, ExperimentalFilePreviewFile, ExperimentalServers, ExperimentalPanelController, ExperimentalPanelTabs, 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
|
|
|
@@ -244,6 +244,8 @@ interface CapturedPluginApp {
|
|
|
244
244
|
threadInfoRows: ExperimentalThreadInfoRowRegistration[];
|
|
245
245
|
threadRowMetadata: ExperimentalThreadRowMetadataRegistration<unknown>[];
|
|
246
246
|
threadInfoSections: ExperimentalThreadInfoSectionRegistration[];
|
|
247
|
+
threadHeaderRows: ExperimentalThreadHeaderRowRegistration[];
|
|
248
|
+
threadHeaderTitles: ExperimentalThreadHeaderTitleRegistration[];
|
|
247
249
|
threadContextCardRows: ExperimentalThreadContextCardRowRegistration[];
|
|
248
250
|
threadContextCardSections: ExperimentalThreadContextCardSectionRegistration[];
|
|
249
251
|
threadActions: PluginThreadActionRegistration<unknown>[];
|
|
@@ -23009,6 +23009,22 @@ interface PluginNavPanelRegistration {
|
|
|
23009
23009
|
* throwing headerContent is hidden without breaking the title bar.
|
|
23010
23010
|
*/
|
|
23011
23011
|
headerContent?: ComponentType<PluginNavPanelProps>;
|
|
23012
|
+
/**
|
|
23013
|
+
* Component rendered in the shared title bar instead of the panel icon,
|
|
23014
|
+
* title and `experimental_usePageTitle` text, such as a breadcrumb. The
|
|
23015
|
+
* window title still comes from `experimental_usePageTitle` or the panel
|
|
23016
|
+
* title. A crash restores the default title without breaking the page.
|
|
23017
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23018
|
+
*/
|
|
23019
|
+
experimental_headerTitle?: ComponentType<PluginNavPanelProps>;
|
|
23020
|
+
/**
|
|
23021
|
+
* When true, the panel gets no navigation entry (sidebar, rail, More and
|
|
23022
|
+
* the navigation arrangement) and no command palette entry. Its route
|
|
23023
|
+
* `/plugins/<pluginId>/<path>/*` still renders with its title bar, right
|
|
23024
|
+
* panel and splits; open it with `useBbNavigate().toPluginPanel(path)`.
|
|
23025
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23026
|
+
*/
|
|
23027
|
+
experimental_hideFromNavigation?: boolean;
|
|
23012
23028
|
}
|
|
23013
23029
|
/**
|
|
23014
23030
|
* Context handed to a thread action tab's `run`.
|
|
@@ -23866,6 +23882,55 @@ interface ExperimentalThreadInfoSectionRegistration {
|
|
|
23866
23882
|
order?: number;
|
|
23867
23883
|
component: ComponentType<ExperimentalThreadInfoProps>;
|
|
23868
23884
|
}
|
|
23885
|
+
/**
|
|
23886
|
+
* Props passed to an `experimental_threadHeaderRow` component, rendered
|
|
23887
|
+
* between a thread's header and its timeline.
|
|
23888
|
+
*/
|
|
23889
|
+
interface ExperimentalThreadHeaderRowProps {
|
|
23890
|
+
/**
|
|
23891
|
+
* The thread shown in the pane. A split layout renders a header row per
|
|
23892
|
+
* pane, so the component mounts once per visible thread; keep per-thread
|
|
23893
|
+
* state in the component, never in a module-level singleton.
|
|
23894
|
+
*/
|
|
23895
|
+
threadId: string;
|
|
23896
|
+
projectId: string;
|
|
23897
|
+
/** The thread's environment, null when it has none. */
|
|
23898
|
+
environment: ExperimentalThreadEnvironment | null;
|
|
23899
|
+
}
|
|
23900
|
+
/**
|
|
23901
|
+
* A full-width row directly under the header of every thread pane, above the
|
|
23902
|
+
* timeline, such as a tab strip of the threads that share an environment.
|
|
23903
|
+
* Rows stack in order. Return null to take no space for this thread. A crash
|
|
23904
|
+
* removes only this row for that thread.
|
|
23905
|
+
*/
|
|
23906
|
+
interface ExperimentalThreadHeaderRowRegistration {
|
|
23907
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
23908
|
+
id: string;
|
|
23909
|
+
/** Ascending; unset sorts last; ties keep registration order. */
|
|
23910
|
+
order?: number;
|
|
23911
|
+
component: ComponentType<ExperimentalThreadHeaderRowProps>;
|
|
23912
|
+
}
|
|
23913
|
+
/**
|
|
23914
|
+
* Props passed to an `experimental_threadHeaderTitle` component, the same
|
|
23915
|
+
* props a header row receives.
|
|
23916
|
+
*/
|
|
23917
|
+
type ExperimentalThreadHeaderTitleProps = ExperimentalThreadHeaderRowProps;
|
|
23918
|
+
/**
|
|
23919
|
+
* Replaces the thread title text in the header of every thread pane, such as
|
|
23920
|
+
* a `project › workspace` breadcrumb. bb keeps the rest of the header: the
|
|
23921
|
+
* Thread actions menu after the title, header actions, pane controls, the
|
|
23922
|
+
* right-panel toggle and the window drag region. While the user renames the
|
|
23923
|
+
* thread, bb shows its rename field instead. Double-click does not start a
|
|
23924
|
+
* rename on a plugin title, and dragging a split pane starts only from parts
|
|
23925
|
+
* that are not links, buttons or inputs. When several plugins register one,
|
|
23926
|
+
* the first in plugin order wins. A crash shows bb's title for that thread.
|
|
23927
|
+
* The window title stays the thread title.
|
|
23928
|
+
*/
|
|
23929
|
+
interface ExperimentalThreadHeaderTitleRegistration {
|
|
23930
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
23931
|
+
id: string;
|
|
23932
|
+
component: ComponentType<ExperimentalThreadHeaderTitleProps>;
|
|
23933
|
+
}
|
|
23869
23934
|
/**
|
|
23870
23935
|
* Props passed to an `experimental_threadContextCardRow` or
|
|
23871
23936
|
* `experimental_threadContextCardSection` component.
|
|
@@ -25557,6 +25622,18 @@ interface PluginAppSlots {
|
|
|
25557
25622
|
* docs/api_to_audit.md.
|
|
25558
25623
|
*/
|
|
25559
25624
|
experimental_threadInfoSection(registration: ExperimentalThreadInfoSectionRegistration): void;
|
|
25625
|
+
/**
|
|
25626
|
+
* Add a full-width row under the header of every thread pane, above the
|
|
25627
|
+
* timeline (see {@link ExperimentalThreadHeaderRowRegistration}).
|
|
25628
|
+
* Experimental: see docs/api_to_audit.md.
|
|
25629
|
+
*/
|
|
25630
|
+
experimental_threadHeaderRow(registration: ExperimentalThreadHeaderRowRegistration): void;
|
|
25631
|
+
/**
|
|
25632
|
+
* Replace the thread title text in the header of every thread pane (see
|
|
25633
|
+
* {@link ExperimentalThreadHeaderTitleRegistration}). Experimental: see
|
|
25634
|
+
* docs/api_to_audit.md.
|
|
25635
|
+
*/
|
|
25636
|
+
experimental_threadHeaderTitle(registration: ExperimentalThreadHeaderTitleRegistration): void;
|
|
25560
25637
|
/**
|
|
25561
25638
|
* Add a row to the thread context card of every thread pane (see
|
|
25562
25639
|
* {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
|
|
@@ -27821,4 +27898,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
|
|
|
27821
27898
|
};
|
|
27822
27899
|
|
|
27823
27900
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry, getHostPathBasename as experimental_getHostPathBasename, getHostPathComparisonKey as experimental_getHostPathComparisonKey, getHostPathDirname as experimental_getHostPathDirname, getRelativeHostPath as experimental_getRelativeHostPath, isHostPathWithin as experimental_isHostPathWithin, joinHostPath as experimental_joinHostPath, normalizeHostPath as experimental_normalizeHostPath, resolveHostPath as experimental_resolveHostPath };
|
|
27824
|
-
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, 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, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
27901
|
+
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, 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, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
@@ -386,7 +386,9 @@ var NAV_PANEL_REGISTRATION_KEYS = {
|
|
|
386
386
|
experimental_useBadge: true,
|
|
387
387
|
experimental_usePageTitle: true,
|
|
388
388
|
experimental_sidebar: true,
|
|
389
|
-
headerContent: true
|
|
389
|
+
headerContent: true,
|
|
390
|
+
experimental_headerTitle: true,
|
|
391
|
+
experimental_hideFromNavigation: true
|
|
390
392
|
};
|
|
391
393
|
var RENAMED_NAV_PANEL_KEYS = /* @__PURE__ */ new Map([
|
|
392
394
|
["experimental_fixedTabs", 'was renamed to "fixedTabs" in SDK 0.4.16']
|
|
@@ -504,6 +506,8 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
504
506
|
threadInfoRows: [],
|
|
505
507
|
threadRowMetadata: [],
|
|
506
508
|
threadInfoSections: [],
|
|
509
|
+
threadHeaderRows: [],
|
|
510
|
+
threadHeaderTitles: [],
|
|
507
511
|
threadContextCardRows: [],
|
|
508
512
|
threadContextCardSections: [],
|
|
509
513
|
threadActions: [],
|
|
@@ -545,6 +549,8 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
545
549
|
threadInfoRow: /* @__PURE__ */ new Set(),
|
|
546
550
|
threadRowMetadata: /* @__PURE__ */ new Set(),
|
|
547
551
|
threadInfoSection: /* @__PURE__ */ new Set(),
|
|
552
|
+
threadHeaderRow: /* @__PURE__ */ new Set(),
|
|
553
|
+
threadHeaderTitle: /* @__PURE__ */ new Set(),
|
|
548
554
|
threadContextCardRow: /* @__PURE__ */ new Set(),
|
|
549
555
|
threadContextCardSection: /* @__PURE__ */ new Set(),
|
|
550
556
|
threadAction: /* @__PURE__ */ new Set(),
|
|
@@ -768,6 +774,16 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
768
774
|
`${kind}: "experimental_sidebar" must be a React component function when set`
|
|
769
775
|
);
|
|
770
776
|
}
|
|
777
|
+
if (registration.experimental_headerTitle !== void 0 && typeof registration.experimental_headerTitle !== "function") {
|
|
778
|
+
throw new Error(
|
|
779
|
+
`${kind}: "experimental_headerTitle" must be a React component function when set`
|
|
780
|
+
);
|
|
781
|
+
}
|
|
782
|
+
if (registration.experimental_hideFromNavigation !== void 0 && typeof registration.experimental_hideFromNavigation !== "boolean") {
|
|
783
|
+
throw new Error(
|
|
784
|
+
`${kind}: "experimental_hideFromNavigation" must be a boolean when set`
|
|
785
|
+
);
|
|
786
|
+
}
|
|
771
787
|
if (registration.experimental_usePageTitle !== void 0 && typeof registration.experimental_usePageTitle !== "function") {
|
|
772
788
|
throw new Error(
|
|
773
789
|
`${kind}: "experimental_usePageTitle" must be a React hook function when set`
|
|
@@ -819,7 +835,11 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
819
835
|
experimental_usePageTitle: registration.experimental_usePageTitle
|
|
820
836
|
} : {},
|
|
821
837
|
...registration.experimental_sidebar !== void 0 ? { experimental_sidebar: registration.experimental_sidebar } : {},
|
|
822
|
-
...registration.headerContent !== void 0 ? { headerContent: registration.headerContent } : {}
|
|
838
|
+
...registration.headerContent !== void 0 ? { headerContent: registration.headerContent } : {},
|
|
839
|
+
...registration.experimental_headerTitle !== void 0 ? {
|
|
840
|
+
experimental_headerTitle: registration.experimental_headerTitle
|
|
841
|
+
} : {},
|
|
842
|
+
...registration.experimental_hideFromNavigation === true ? { experimental_hideFromNavigation: true } : {}
|
|
823
843
|
});
|
|
824
844
|
},
|
|
825
845
|
experimental_tab(registration) {
|
|
@@ -959,6 +979,25 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
959
979
|
component: requireComponent(kind, registration.component)
|
|
960
980
|
});
|
|
961
981
|
},
|
|
982
|
+
experimental_threadHeaderRow(registration) {
|
|
983
|
+
const kind = "slots.experimental_threadHeaderRow";
|
|
984
|
+
const id = requireSlotId(kind, registration?.id);
|
|
985
|
+
requireUniqueId(kind, seenIds.threadHeaderRow, id);
|
|
986
|
+
collected.threadHeaderRows.push({
|
|
987
|
+
id,
|
|
988
|
+
...requireOptionalOrder(kind, registration.order),
|
|
989
|
+
component: requireComponent(kind, registration.component)
|
|
990
|
+
});
|
|
991
|
+
},
|
|
992
|
+
experimental_threadHeaderTitle(registration) {
|
|
993
|
+
const kind = "slots.experimental_threadHeaderTitle";
|
|
994
|
+
const id = requireSlotId(kind, registration?.id);
|
|
995
|
+
requireUniqueId(kind, seenIds.threadHeaderTitle, id);
|
|
996
|
+
collected.threadHeaderTitles.push({
|
|
997
|
+
id,
|
|
998
|
+
component: requireComponent(kind, registration.component)
|
|
999
|
+
});
|
|
1000
|
+
},
|
|
962
1001
|
experimental_threadContextCardRow(registration) {
|
|
963
1002
|
const kind = "slots.experimental_threadContextCardRow";
|
|
964
1003
|
const id = requireSlotId(kind, registration?.id);
|
package/dist/testing/app.js
CHANGED
|
@@ -3847,7 +3847,9 @@ var NAV_PANEL_REGISTRATION_KEYS = {
|
|
|
3847
3847
|
experimental_useBadge: true,
|
|
3848
3848
|
experimental_usePageTitle: true,
|
|
3849
3849
|
experimental_sidebar: true,
|
|
3850
|
-
headerContent: true
|
|
3850
|
+
headerContent: true,
|
|
3851
|
+
experimental_headerTitle: true,
|
|
3852
|
+
experimental_hideFromNavigation: true
|
|
3851
3853
|
};
|
|
3852
3854
|
var RENAMED_NAV_PANEL_KEYS = /* @__PURE__ */ new Map([
|
|
3853
3855
|
["experimental_fixedTabs", 'was renamed to "fixedTabs" in SDK 0.4.16']
|
|
@@ -3965,6 +3967,8 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
3965
3967
|
threadInfoRows: [],
|
|
3966
3968
|
threadRowMetadata: [],
|
|
3967
3969
|
threadInfoSections: [],
|
|
3970
|
+
threadHeaderRows: [],
|
|
3971
|
+
threadHeaderTitles: [],
|
|
3968
3972
|
threadContextCardRows: [],
|
|
3969
3973
|
threadContextCardSections: [],
|
|
3970
3974
|
threadActions: [],
|
|
@@ -4006,6 +4010,8 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
4006
4010
|
threadInfoRow: /* @__PURE__ */ new Set(),
|
|
4007
4011
|
threadRowMetadata: /* @__PURE__ */ new Set(),
|
|
4008
4012
|
threadInfoSection: /* @__PURE__ */ new Set(),
|
|
4013
|
+
threadHeaderRow: /* @__PURE__ */ new Set(),
|
|
4014
|
+
threadHeaderTitle: /* @__PURE__ */ new Set(),
|
|
4009
4015
|
threadContextCardRow: /* @__PURE__ */ new Set(),
|
|
4010
4016
|
threadContextCardSection: /* @__PURE__ */ new Set(),
|
|
4011
4017
|
threadAction: /* @__PURE__ */ new Set(),
|
|
@@ -4229,6 +4235,16 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
4229
4235
|
`${kind}: "experimental_sidebar" must be a React component function when set`
|
|
4230
4236
|
);
|
|
4231
4237
|
}
|
|
4238
|
+
if (registration.experimental_headerTitle !== void 0 && typeof registration.experimental_headerTitle !== "function") {
|
|
4239
|
+
throw new Error(
|
|
4240
|
+
`${kind}: "experimental_headerTitle" must be a React component function when set`
|
|
4241
|
+
);
|
|
4242
|
+
}
|
|
4243
|
+
if (registration.experimental_hideFromNavigation !== void 0 && typeof registration.experimental_hideFromNavigation !== "boolean") {
|
|
4244
|
+
throw new Error(
|
|
4245
|
+
`${kind}: "experimental_hideFromNavigation" must be a boolean when set`
|
|
4246
|
+
);
|
|
4247
|
+
}
|
|
4232
4248
|
if (registration.experimental_usePageTitle !== void 0 && typeof registration.experimental_usePageTitle !== "function") {
|
|
4233
4249
|
throw new Error(
|
|
4234
4250
|
`${kind}: "experimental_usePageTitle" must be a React hook function when set`
|
|
@@ -4280,7 +4296,11 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
4280
4296
|
experimental_usePageTitle: registration.experimental_usePageTitle
|
|
4281
4297
|
} : {},
|
|
4282
4298
|
...registration.experimental_sidebar !== void 0 ? { experimental_sidebar: registration.experimental_sidebar } : {},
|
|
4283
|
-
...registration.headerContent !== void 0 ? { headerContent: registration.headerContent } : {}
|
|
4299
|
+
...registration.headerContent !== void 0 ? { headerContent: registration.headerContent } : {},
|
|
4300
|
+
...registration.experimental_headerTitle !== void 0 ? {
|
|
4301
|
+
experimental_headerTitle: registration.experimental_headerTitle
|
|
4302
|
+
} : {},
|
|
4303
|
+
...registration.experimental_hideFromNavigation === true ? { experimental_hideFromNavigation: true } : {}
|
|
4284
4304
|
});
|
|
4285
4305
|
},
|
|
4286
4306
|
experimental_tab(registration) {
|
|
@@ -4420,6 +4440,25 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
|
|
|
4420
4440
|
component: requireComponent(kind, registration.component)
|
|
4421
4441
|
});
|
|
4422
4442
|
},
|
|
4443
|
+
experimental_threadHeaderRow(registration) {
|
|
4444
|
+
const kind = "slots.experimental_threadHeaderRow";
|
|
4445
|
+
const id = requireSlotId(kind, registration?.id);
|
|
4446
|
+
requireUniqueId(kind, seenIds.threadHeaderRow, id);
|
|
4447
|
+
collected.threadHeaderRows.push({
|
|
4448
|
+
id,
|
|
4449
|
+
...requireOptionalOrder(kind, registration.order),
|
|
4450
|
+
component: requireComponent(kind, registration.component)
|
|
4451
|
+
});
|
|
4452
|
+
},
|
|
4453
|
+
experimental_threadHeaderTitle(registration) {
|
|
4454
|
+
const kind = "slots.experimental_threadHeaderTitle";
|
|
4455
|
+
const id = requireSlotId(kind, registration?.id);
|
|
4456
|
+
requireUniqueId(kind, seenIds.threadHeaderTitle, id);
|
|
4457
|
+
collected.threadHeaderTitles.push({
|
|
4458
|
+
id,
|
|
4459
|
+
component: requireComponent(kind, registration.component)
|
|
4460
|
+
});
|
|
4461
|
+
},
|
|
4423
4462
|
experimental_threadContextCardRow(registration) {
|
|
4424
4463
|
const kind = "slots.experimental_threadContextCardRow";
|
|
4425
4464
|
const id = requireSlotId(kind, registration?.id);
|