@get-bb/plugin-sdk 0.6.140 → 0.6.142
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 +89 -2
- 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 +89 -2
- package/dist/internal/plugin-app-collector.js +41 -2
- package/dist/testing/app.js +41 -2
- package/package.json +1 -1
|
@@ -10090,6 +10090,15 @@ declare const systemProvidersQuerySchema: z$1.ZodObject<{
|
|
|
10090
10090
|
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
10091
10091
|
}, z$1.core.$strip>;
|
|
10092
10092
|
type SystemProvidersQuery = z$1.infer<typeof systemProvidersQuerySchema>;
|
|
10093
|
+
declare const systemProviderStatesQuerySchema: z$1.ZodObject<{
|
|
10094
|
+
capability: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10095
|
+
usage: "usage";
|
|
10096
|
+
}>>;
|
|
10097
|
+
environmentId: z$1.ZodOptional<z$1.ZodString>;
|
|
10098
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
10099
|
+
providerId: z$1.ZodOptional<z$1.ZodString>;
|
|
10100
|
+
}, z$1.core.$strip>;
|
|
10101
|
+
type SystemProviderStatesQuery = z$1.infer<typeof systemProviderStatesQuerySchema>;
|
|
10093
10102
|
declare const systemExecutionOptionsQuerySchema: z$1.ZodObject<{
|
|
10094
10103
|
environmentId: z$1.ZodOptional<z$1.ZodString>;
|
|
10095
10104
|
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10248,6 +10257,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
|
|
|
10248
10257
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10249
10258
|
name: z$1.ZodLiteral<"onboarding_operation">;
|
|
10250
10259
|
properties: z$1.ZodObject<{
|
|
10260
|
+
duration_ms: z$1.ZodOptional<z$1.ZodNumber>;
|
|
10251
10261
|
entry: z$1.ZodEnum<{
|
|
10252
10262
|
first_run: "first_run";
|
|
10253
10263
|
replay: "replay";
|
|
@@ -18740,7 +18750,7 @@ type SystemUpdateGeneralSettingsResult = AppSettings & {
|
|
|
18740
18750
|
};
|
|
18741
18751
|
type SystemUpdateKeyboardSettingsResult = AppKeybindingOverrides;
|
|
18742
18752
|
type SystemUsageLimitsResult = ProviderUsageResponse;
|
|
18743
|
-
interface SystemProviderStatesArgs extends
|
|
18753
|
+
interface SystemProviderStatesArgs extends SystemProviderStatesQuery {
|
|
18744
18754
|
signal?: AbortSignal;
|
|
18745
18755
|
}
|
|
18746
18756
|
type SystemProviderStatesResult = SystemProviderStatesResponse;
|
|
@@ -20406,6 +20416,22 @@ interface PluginNavPanelRegistration {
|
|
|
20406
20416
|
* throwing headerContent is hidden without breaking the title bar.
|
|
20407
20417
|
*/
|
|
20408
20418
|
headerContent?: ComponentType<PluginNavPanelProps>;
|
|
20419
|
+
/**
|
|
20420
|
+
* Component rendered in the shared title bar instead of the panel icon,
|
|
20421
|
+
* title and `experimental_usePageTitle` text, such as a breadcrumb. The
|
|
20422
|
+
* window title still comes from `experimental_usePageTitle` or the panel
|
|
20423
|
+
* title. A crash restores the default title without breaking the page.
|
|
20424
|
+
* Experimental: see docs/api_to_audit.md.
|
|
20425
|
+
*/
|
|
20426
|
+
experimental_headerTitle?: ComponentType<PluginNavPanelProps>;
|
|
20427
|
+
/**
|
|
20428
|
+
* When true, the panel gets no navigation entry (sidebar, rail, More and
|
|
20429
|
+
* the navigation arrangement) and no command palette entry. Its route
|
|
20430
|
+
* `/plugins/<pluginId>/<path>/*` still renders with its title bar, right
|
|
20431
|
+
* panel and splits; open it with `useBbNavigate().toPluginPanel(path)`.
|
|
20432
|
+
* Experimental: see docs/api_to_audit.md.
|
|
20433
|
+
*/
|
|
20434
|
+
experimental_hideFromNavigation?: boolean;
|
|
20409
20435
|
}
|
|
20410
20436
|
/**
|
|
20411
20437
|
* Context handed to a thread action tab's `run`.
|
|
@@ -21263,6 +21289,55 @@ interface ExperimentalThreadInfoSectionRegistration {
|
|
|
21263
21289
|
order?: number;
|
|
21264
21290
|
component: ComponentType<ExperimentalThreadInfoProps>;
|
|
21265
21291
|
}
|
|
21292
|
+
/**
|
|
21293
|
+
* Props passed to an `experimental_threadHeaderRow` component, rendered
|
|
21294
|
+
* between a thread's header and its timeline.
|
|
21295
|
+
*/
|
|
21296
|
+
interface ExperimentalThreadHeaderRowProps {
|
|
21297
|
+
/**
|
|
21298
|
+
* The thread shown in the pane. A split layout renders a header row per
|
|
21299
|
+
* pane, so the component mounts once per visible thread; keep per-thread
|
|
21300
|
+
* state in the component, never in a module-level singleton.
|
|
21301
|
+
*/
|
|
21302
|
+
threadId: string;
|
|
21303
|
+
projectId: string;
|
|
21304
|
+
/** The thread's environment, null when it has none. */
|
|
21305
|
+
environment: ExperimentalThreadEnvironment | null;
|
|
21306
|
+
}
|
|
21307
|
+
/**
|
|
21308
|
+
* A full-width row directly under the header of every thread pane, above the
|
|
21309
|
+
* timeline, such as a tab strip of the threads that share an environment.
|
|
21310
|
+
* Rows stack in order. Return null to take no space for this thread. A crash
|
|
21311
|
+
* removes only this row for that thread.
|
|
21312
|
+
*/
|
|
21313
|
+
interface ExperimentalThreadHeaderRowRegistration {
|
|
21314
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
21315
|
+
id: string;
|
|
21316
|
+
/** Ascending; unset sorts last; ties keep registration order. */
|
|
21317
|
+
order?: number;
|
|
21318
|
+
component: ComponentType<ExperimentalThreadHeaderRowProps>;
|
|
21319
|
+
}
|
|
21320
|
+
/**
|
|
21321
|
+
* Props passed to an `experimental_threadHeaderTitle` component, the same
|
|
21322
|
+
* props a header row receives.
|
|
21323
|
+
*/
|
|
21324
|
+
type ExperimentalThreadHeaderTitleProps = ExperimentalThreadHeaderRowProps;
|
|
21325
|
+
/**
|
|
21326
|
+
* Replaces the thread title text in the header of every thread pane, such as
|
|
21327
|
+
* a `project › workspace` breadcrumb. bb keeps the rest of the header: the
|
|
21328
|
+
* Thread actions menu after the title, header actions, pane controls, the
|
|
21329
|
+
* right-panel toggle and the window drag region. While the user renames the
|
|
21330
|
+
* thread, bb shows its rename field instead. Double-click does not start a
|
|
21331
|
+
* rename on a plugin title, and dragging a split pane starts only from parts
|
|
21332
|
+
* that are not links, buttons or inputs. When several plugins register one,
|
|
21333
|
+
* the first in plugin order wins. A crash shows bb's title for that thread.
|
|
21334
|
+
* The window title stays the thread title.
|
|
21335
|
+
*/
|
|
21336
|
+
interface ExperimentalThreadHeaderTitleRegistration {
|
|
21337
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
21338
|
+
id: string;
|
|
21339
|
+
component: ComponentType<ExperimentalThreadHeaderTitleProps>;
|
|
21340
|
+
}
|
|
21266
21341
|
/**
|
|
21267
21342
|
* Props passed to an `experimental_threadContextCardRow` or
|
|
21268
21343
|
* `experimental_threadContextCardSection` component.
|
|
@@ -22954,6 +23029,18 @@ interface PluginAppSlots {
|
|
|
22954
23029
|
* docs/api_to_audit.md.
|
|
22955
23030
|
*/
|
|
22956
23031
|
experimental_threadInfoSection(registration: ExperimentalThreadInfoSectionRegistration): void;
|
|
23032
|
+
/**
|
|
23033
|
+
* Add a full-width row under the header of every thread pane, above the
|
|
23034
|
+
* timeline (see {@link ExperimentalThreadHeaderRowRegistration}).
|
|
23035
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23036
|
+
*/
|
|
23037
|
+
experimental_threadHeaderRow(registration: ExperimentalThreadHeaderRowRegistration): void;
|
|
23038
|
+
/**
|
|
23039
|
+
* Replace the thread title text in the header of every thread pane (see
|
|
23040
|
+
* {@link ExperimentalThreadHeaderTitleRegistration}). Experimental: see
|
|
23041
|
+
* docs/api_to_audit.md.
|
|
23042
|
+
*/
|
|
23043
|
+
experimental_threadHeaderTitle(registration: ExperimentalThreadHeaderTitleRegistration): void;
|
|
22957
23044
|
/**
|
|
22958
23045
|
* Add a row to the thread context card of every thread pane (see
|
|
22959
23046
|
* {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
|
|
@@ -25094,4 +25181,4 @@ declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
|
|
|
25094
25181
|
declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
|
|
25095
25182
|
|
|
25096
25183
|
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 };
|
|
25184
|
+
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>[];
|
|
@@ -10305,6 +10305,15 @@ declare const systemProvidersQuerySchema: z$1.ZodObject<{
|
|
|
10305
10305
|
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
10306
10306
|
}, z$1.core.$strip>;
|
|
10307
10307
|
type SystemProvidersQuery = z$1.infer<typeof systemProvidersQuerySchema>;
|
|
10308
|
+
declare const systemProviderStatesQuerySchema: z$1.ZodObject<{
|
|
10309
|
+
capability: z$1.ZodOptional<z$1.ZodEnum<{
|
|
10310
|
+
usage: "usage";
|
|
10311
|
+
}>>;
|
|
10312
|
+
environmentId: z$1.ZodOptional<z$1.ZodString>;
|
|
10313
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
10314
|
+
providerId: z$1.ZodOptional<z$1.ZodString>;
|
|
10315
|
+
}, z$1.core.$strip>;
|
|
10316
|
+
type SystemProviderStatesQuery = z$1.infer<typeof systemProviderStatesQuerySchema>;
|
|
10308
10317
|
declare const systemExecutionOptionsQuerySchema: z$1.ZodObject<{
|
|
10309
10318
|
environmentId: z$1.ZodOptional<z$1.ZodString>;
|
|
10310
10319
|
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -10463,6 +10472,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
|
|
|
10463
10472
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10464
10473
|
name: z$1.ZodLiteral<"onboarding_operation">;
|
|
10465
10474
|
properties: z$1.ZodObject<{
|
|
10475
|
+
duration_ms: z$1.ZodOptional<z$1.ZodNumber>;
|
|
10466
10476
|
entry: z$1.ZodEnum<{
|
|
10467
10477
|
first_run: "first_run";
|
|
10468
10478
|
replay: "replay";
|
|
@@ -18967,7 +18977,7 @@ type SystemUpdateGeneralSettingsResult = AppSettings & {
|
|
|
18967
18977
|
};
|
|
18968
18978
|
type SystemUpdateKeyboardSettingsResult = AppKeybindingOverrides;
|
|
18969
18979
|
type SystemUsageLimitsResult = ProviderUsageResponse;
|
|
18970
|
-
interface SystemProviderStatesArgs extends
|
|
18980
|
+
interface SystemProviderStatesArgs extends SystemProviderStatesQuery {
|
|
18971
18981
|
signal?: AbortSignal;
|
|
18972
18982
|
}
|
|
18973
18983
|
type SystemProviderStatesResult = SystemProviderStatesResponse;
|
|
@@ -23009,6 +23019,22 @@ interface PluginNavPanelRegistration {
|
|
|
23009
23019
|
* throwing headerContent is hidden without breaking the title bar.
|
|
23010
23020
|
*/
|
|
23011
23021
|
headerContent?: ComponentType<PluginNavPanelProps>;
|
|
23022
|
+
/**
|
|
23023
|
+
* Component rendered in the shared title bar instead of the panel icon,
|
|
23024
|
+
* title and `experimental_usePageTitle` text, such as a breadcrumb. The
|
|
23025
|
+
* window title still comes from `experimental_usePageTitle` or the panel
|
|
23026
|
+
* title. A crash restores the default title without breaking the page.
|
|
23027
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23028
|
+
*/
|
|
23029
|
+
experimental_headerTitle?: ComponentType<PluginNavPanelProps>;
|
|
23030
|
+
/**
|
|
23031
|
+
* When true, the panel gets no navigation entry (sidebar, rail, More and
|
|
23032
|
+
* the navigation arrangement) and no command palette entry. Its route
|
|
23033
|
+
* `/plugins/<pluginId>/<path>/*` still renders with its title bar, right
|
|
23034
|
+
* panel and splits; open it with `useBbNavigate().toPluginPanel(path)`.
|
|
23035
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23036
|
+
*/
|
|
23037
|
+
experimental_hideFromNavigation?: boolean;
|
|
23012
23038
|
}
|
|
23013
23039
|
/**
|
|
23014
23040
|
* Context handed to a thread action tab's `run`.
|
|
@@ -23866,6 +23892,55 @@ interface ExperimentalThreadInfoSectionRegistration {
|
|
|
23866
23892
|
order?: number;
|
|
23867
23893
|
component: ComponentType<ExperimentalThreadInfoProps>;
|
|
23868
23894
|
}
|
|
23895
|
+
/**
|
|
23896
|
+
* Props passed to an `experimental_threadHeaderRow` component, rendered
|
|
23897
|
+
* between a thread's header and its timeline.
|
|
23898
|
+
*/
|
|
23899
|
+
interface ExperimentalThreadHeaderRowProps {
|
|
23900
|
+
/**
|
|
23901
|
+
* The thread shown in the pane. A split layout renders a header row per
|
|
23902
|
+
* pane, so the component mounts once per visible thread; keep per-thread
|
|
23903
|
+
* state in the component, never in a module-level singleton.
|
|
23904
|
+
*/
|
|
23905
|
+
threadId: string;
|
|
23906
|
+
projectId: string;
|
|
23907
|
+
/** The thread's environment, null when it has none. */
|
|
23908
|
+
environment: ExperimentalThreadEnvironment | null;
|
|
23909
|
+
}
|
|
23910
|
+
/**
|
|
23911
|
+
* A full-width row directly under the header of every thread pane, above the
|
|
23912
|
+
* timeline, such as a tab strip of the threads that share an environment.
|
|
23913
|
+
* Rows stack in order. Return null to take no space for this thread. A crash
|
|
23914
|
+
* removes only this row for that thread.
|
|
23915
|
+
*/
|
|
23916
|
+
interface ExperimentalThreadHeaderRowRegistration {
|
|
23917
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
23918
|
+
id: string;
|
|
23919
|
+
/** Ascending; unset sorts last; ties keep registration order. */
|
|
23920
|
+
order?: number;
|
|
23921
|
+
component: ComponentType<ExperimentalThreadHeaderRowProps>;
|
|
23922
|
+
}
|
|
23923
|
+
/**
|
|
23924
|
+
* Props passed to an `experimental_threadHeaderTitle` component, the same
|
|
23925
|
+
* props a header row receives.
|
|
23926
|
+
*/
|
|
23927
|
+
type ExperimentalThreadHeaderTitleProps = ExperimentalThreadHeaderRowProps;
|
|
23928
|
+
/**
|
|
23929
|
+
* Replaces the thread title text in the header of every thread pane, such as
|
|
23930
|
+
* a `project › workspace` breadcrumb. bb keeps the rest of the header: the
|
|
23931
|
+
* Thread actions menu after the title, header actions, pane controls, the
|
|
23932
|
+
* right-panel toggle and the window drag region. While the user renames the
|
|
23933
|
+
* thread, bb shows its rename field instead. Double-click does not start a
|
|
23934
|
+
* rename on a plugin title, and dragging a split pane starts only from parts
|
|
23935
|
+
* that are not links, buttons or inputs. When several plugins register one,
|
|
23936
|
+
* the first in plugin order wins. A crash shows bb's title for that thread.
|
|
23937
|
+
* The window title stays the thread title.
|
|
23938
|
+
*/
|
|
23939
|
+
interface ExperimentalThreadHeaderTitleRegistration {
|
|
23940
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
23941
|
+
id: string;
|
|
23942
|
+
component: ComponentType<ExperimentalThreadHeaderTitleProps>;
|
|
23943
|
+
}
|
|
23869
23944
|
/**
|
|
23870
23945
|
* Props passed to an `experimental_threadContextCardRow` or
|
|
23871
23946
|
* `experimental_threadContextCardSection` component.
|
|
@@ -25557,6 +25632,18 @@ interface PluginAppSlots {
|
|
|
25557
25632
|
* docs/api_to_audit.md.
|
|
25558
25633
|
*/
|
|
25559
25634
|
experimental_threadInfoSection(registration: ExperimentalThreadInfoSectionRegistration): void;
|
|
25635
|
+
/**
|
|
25636
|
+
* Add a full-width row under the header of every thread pane, above the
|
|
25637
|
+
* timeline (see {@link ExperimentalThreadHeaderRowRegistration}).
|
|
25638
|
+
* Experimental: see docs/api_to_audit.md.
|
|
25639
|
+
*/
|
|
25640
|
+
experimental_threadHeaderRow(registration: ExperimentalThreadHeaderRowRegistration): void;
|
|
25641
|
+
/**
|
|
25642
|
+
* Replace the thread title text in the header of every thread pane (see
|
|
25643
|
+
* {@link ExperimentalThreadHeaderTitleRegistration}). Experimental: see
|
|
25644
|
+
* docs/api_to_audit.md.
|
|
25645
|
+
*/
|
|
25646
|
+
experimental_threadHeaderTitle(registration: ExperimentalThreadHeaderTitleRegistration): void;
|
|
25560
25647
|
/**
|
|
25561
25648
|
* Add a row to the thread context card of every thread pane (see
|
|
25562
25649
|
* {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
|
|
@@ -27821,4 +27908,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
|
|
|
27821
27908
|
};
|
|
27822
27909
|
|
|
27823
27910
|
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 };
|
|
27911
|
+
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);
|