@get-bb/plugin-sdk 0.6.31 → 0.6.33
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 +43 -276
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +1 -3
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +2 -30
- package/bundled-types/bb-plugin-sdk.d.ts +42 -272
- package/dist/app.js +0 -12
- package/dist/internal/plugin-app-collector.js +0 -22
- package/dist/testing/app.js +0 -98
- package/package.json +1 -1
|
@@ -116,7 +116,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
116
116
|
}, z$1.core.$strict>]>;
|
|
117
117
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
118
118
|
|
|
119
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.
|
|
119
|
+
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
|
|
120
120
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
121
121
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
122
122
|
schema: Schema;
|
|
@@ -158,8 +158,6 @@ declare const uiPreferenceDefinitions: {
|
|
|
158
158
|
readonly "sidebar.hiddenFooterItems": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
159
159
|
readonly "sidebar.pluginPanelOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
160
160
|
readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
161
|
-
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
162
|
-
readonly "sidebar.headerProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
163
161
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
164
162
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
165
163
|
};
|
|
@@ -252,6 +250,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
252
250
|
"thread.search": "thread.search";
|
|
253
251
|
"window.find": "window.find";
|
|
254
252
|
"window.new": "window.new";
|
|
253
|
+
"window.reload": "window.reload";
|
|
255
254
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
256
255
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
257
256
|
platform: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -512,14 +511,12 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
512
511
|
|
|
513
512
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
514
513
|
changelogPreview: "changelogPreview";
|
|
515
|
-
navigationRail: "navigationRail";
|
|
516
514
|
performanceDiagnostics: "performanceDiagnostics";
|
|
517
515
|
serverMove: "serverMove";
|
|
518
516
|
}>, z$1.ZodBoolean>;
|
|
519
517
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
520
518
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
521
519
|
changelogPreview: "changelogPreview";
|
|
522
|
-
navigationRail: "navigationRail";
|
|
523
520
|
performanceDiagnostics: "performanceDiagnostics";
|
|
524
521
|
serverMove: "serverMove";
|
|
525
522
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
@@ -5370,6 +5367,10 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5370
5367
|
}>>;
|
|
5371
5368
|
}, z$1.core.$strip>], "type">>;
|
|
5372
5369
|
projectId: z$1.ZodString;
|
|
5370
|
+
scope: z$1.ZodEnum<{
|
|
5371
|
+
project: "project";
|
|
5372
|
+
thread: "thread";
|
|
5373
|
+
}>;
|
|
5373
5374
|
threadId: z$1.ZodString;
|
|
5374
5375
|
}, z$1.core.$strip>>;
|
|
5375
5376
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10608,6 +10609,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10608
10609
|
"thread.search": "thread.search";
|
|
10609
10610
|
"window.find": "window.find";
|
|
10610
10611
|
"window.new": "window.new";
|
|
10612
|
+
"window.reload": "window.reload";
|
|
10611
10613
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10612
10614
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10613
10615
|
desktopOnly: z$1.ZodBoolean;
|
|
@@ -10654,7 +10656,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10654
10656
|
}, z$1.core.$strict>>;
|
|
10655
10657
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10656
10658
|
changelogPreview: "changelogPreview";
|
|
10657
|
-
navigationRail: "navigationRail";
|
|
10658
10659
|
performanceDiagnostics: "performanceDiagnostics";
|
|
10659
10660
|
serverMove: "serverMove";
|
|
10660
10661
|
}>, z$1.ZodBoolean>;
|
|
@@ -10767,6 +10768,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10767
10768
|
"thread.search": "thread.search";
|
|
10768
10769
|
"window.find": "window.find";
|
|
10769
10770
|
"window.new": "window.new";
|
|
10771
|
+
"window.reload": "window.reload";
|
|
10770
10772
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10771
10773
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10772
10774
|
platform: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -10863,6 +10865,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10863
10865
|
"thread.search": "thread.search";
|
|
10864
10866
|
"window.find": "window.find";
|
|
10865
10867
|
"window.new": "window.new";
|
|
10868
|
+
"window.reload": "window.reload";
|
|
10866
10869
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10867
10870
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10868
10871
|
desktopOnly: z$1.ZodBoolean;
|
|
@@ -11648,6 +11651,7 @@ declare const timelineSystemRowSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
11648
11651
|
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
11649
11652
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11650
11653
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11654
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11651
11655
|
createdAt: z$1.ZodNumber;
|
|
11652
11656
|
detail: z$1.ZodNullable<z$1.ZodString>;
|
|
11653
11657
|
id: z$1.ZodString;
|
|
@@ -11741,6 +11745,7 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
|
|
|
11741
11745
|
callId: z$1.ZodString;
|
|
11742
11746
|
command: z$1.ZodString;
|
|
11743
11747
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11748
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11744
11749
|
createdAt: z$1.ZodNumber;
|
|
11745
11750
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
11746
11751
|
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -11802,6 +11807,7 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
|
|
|
11802
11807
|
}>>;
|
|
11803
11808
|
callId: z$1.ZodString;
|
|
11804
11809
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11810
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11805
11811
|
createdAt: z$1.ZodNumber;
|
|
11806
11812
|
id: z$1.ZodString;
|
|
11807
11813
|
kind: z$1.ZodLiteral<"work">;
|
|
@@ -11871,6 +11877,7 @@ declare const timelineFileChangeWorkRowSchema: z$1.ZodObject<{
|
|
|
11871
11877
|
movePath: z$1.ZodNullable<z$1.ZodString>;
|
|
11872
11878
|
path: z$1.ZodString;
|
|
11873
11879
|
}, z$1.core.$strip>;
|
|
11880
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11874
11881
|
createdAt: z$1.ZodNumber;
|
|
11875
11882
|
id: z$1.ZodString;
|
|
11876
11883
|
kind: z$1.ZodLiteral<"work">;
|
|
@@ -12474,7 +12481,7 @@ interface TimelineDelegationWorkRow extends TimelineWorkRowBase {
|
|
|
12474
12481
|
description: string | null;
|
|
12475
12482
|
output: string;
|
|
12476
12483
|
completedAt: number | null;
|
|
12477
|
-
childRows: TimelineRow[];
|
|
12484
|
+
childRows: TimelineRow[] | null;
|
|
12478
12485
|
presentation?: TimelineRowPresentation;
|
|
12479
12486
|
}
|
|
12480
12487
|
declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
|
|
@@ -15009,6 +15016,10 @@ declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
|
15009
15016
|
afterSequence: z$1.ZodOptional<z$1.ZodString>;
|
|
15010
15017
|
beforeAnchorId: z$1.ZodOptional<z$1.ZodString>;
|
|
15011
15018
|
beforeAnchorSeq: z$1.ZodOptional<z$1.ZodString>;
|
|
15019
|
+
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15020
|
+
false: "false";
|
|
15021
|
+
true: "true";
|
|
15022
|
+
}>>;
|
|
15012
15023
|
includeNestedRows: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15013
15024
|
false: "false";
|
|
15014
15025
|
true: "true";
|
|
@@ -15022,6 +15033,11 @@ declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
|
15022
15033
|
type ThreadTimelineQuery = z$1.infer<typeof threadTimelineQuerySchema>;
|
|
15023
15034
|
declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
15024
15035
|
beforeCursor: z$1.ZodOptional<z$1.ZodString>;
|
|
15036
|
+
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15037
|
+
false: "false";
|
|
15038
|
+
true: "true";
|
|
15039
|
+
}>>;
|
|
15040
|
+
itemId: z$1.ZodOptional<z$1.ZodString>;
|
|
15025
15041
|
sourceSeqEnd: z$1.ZodString;
|
|
15026
15042
|
sourceSeqStart: z$1.ZodString;
|
|
15027
15043
|
turnId: z$1.ZodString;
|
|
@@ -15888,6 +15904,13 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
15888
15904
|
}, z$1.core.$strict>;
|
|
15889
15905
|
}, z$1.core.$strip>;
|
|
15890
15906
|
type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
|
|
15907
|
+
declare const threadConversationOutlineQuerySchema: z$1.ZodObject<{
|
|
15908
|
+
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15909
|
+
assistant: "assistant";
|
|
15910
|
+
user: "user";
|
|
15911
|
+
}>>;
|
|
15912
|
+
}, z$1.core.$strip>;
|
|
15913
|
+
type ThreadConversationOutlineQuery = z$1.infer<typeof threadConversationOutlineQuerySchema>;
|
|
15891
15914
|
declare const threadConversationOutlineResponseSchema: z$1.ZodObject<{
|
|
15892
15915
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
15893
15916
|
attachmentSummary: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -17878,6 +17901,10 @@ interface ThreadStoragePathsArgs extends ThreadStoragePathsQuery {
|
|
|
17878
17901
|
signal?: AbortSignal;
|
|
17879
17902
|
threadId: string;
|
|
17880
17903
|
}
|
|
17904
|
+
interface ThreadConversationOutlineArgs extends ThreadConversationOutlineQuery {
|
|
17905
|
+
signal?: AbortSignal;
|
|
17906
|
+
threadId: string;
|
|
17907
|
+
}
|
|
17881
17908
|
interface ThreadTimelineTurnSummaryDetailsArgs extends TimelineTurnSummaryDetailsQuery {
|
|
17882
17909
|
signal?: AbortSignal;
|
|
17883
17910
|
threadId: string;
|
|
@@ -18018,7 +18045,7 @@ interface ThreadsArea {
|
|
|
18018
18045
|
cancelPlan(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
18019
18046
|
clearContext(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
18020
18047
|
clearGoal(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
18021
|
-
conversationOutline(args:
|
|
18048
|
+
conversationOutline(args: ThreadConversationOutlineArgs): Promise<ThreadConversationOutlineResult>;
|
|
18022
18049
|
count(args?: ThreadCountArgs): Promise<ThreadCountResult>;
|
|
18023
18050
|
defaultExecutionOptions(args: ThreadStatusArgs): Promise<ThreadDefaultExecutionOptionsResult>;
|
|
18024
18051
|
delete(args: ThreadDeleteArgs): Promise<ThreadDeleteResult>;
|
|
@@ -18364,198 +18391,6 @@ interface ExperimentalSidebarFooterDisclosureProps {
|
|
|
18364
18391
|
/** Hide this disclosure without affecting another plugin's open disclosure. */
|
|
18365
18392
|
dismiss(): void;
|
|
18366
18393
|
}
|
|
18367
|
-
/** Display and accessibility metadata for a host-owned sidebar shortcut. */
|
|
18368
|
-
interface ExperimentalSidebarNavigationShortcut {
|
|
18369
|
-
label: string;
|
|
18370
|
-
ariaKeyShortcuts: string;
|
|
18371
|
-
}
|
|
18372
|
-
/** Host-owned behavior represented by one sidebar navigation item. */
|
|
18373
|
-
type ExperimentalSidebarNavigationAction = {
|
|
18374
|
-
kind: "new-thread";
|
|
18375
|
-
} | {
|
|
18376
|
-
kind: "search-threads";
|
|
18377
|
-
} | {
|
|
18378
|
-
kind: "open-extensions";
|
|
18379
|
-
} | {
|
|
18380
|
-
kind: "open-skills";
|
|
18381
|
-
} | {
|
|
18382
|
-
kind: "open-plugin-panel";
|
|
18383
|
-
pluginId: string;
|
|
18384
|
-
panelId: string;
|
|
18385
|
-
};
|
|
18386
|
-
/**
|
|
18387
|
-
* Semantic icon identity for one sidebar navigation item. Render it with
|
|
18388
|
-
* {@link PluginSdkApp.experimental_SidebarNavigationIcon} to match bb's
|
|
18389
|
-
* artwork, including panel icons with plugin branding as their fallback.
|
|
18390
|
-
*/
|
|
18391
|
-
type ExperimentalSidebarNavigationIcon = {
|
|
18392
|
-
kind: "host";
|
|
18393
|
-
name: "extensions" | "new-thread" | "search" | "skills";
|
|
18394
|
-
} | {
|
|
18395
|
-
kind: "plugin";
|
|
18396
|
-
pluginId: string;
|
|
18397
|
-
icon: string | null;
|
|
18398
|
-
};
|
|
18399
|
-
/** One host-owned destination or action a plugin may arrange. */
|
|
18400
|
-
interface ExperimentalSidebarNavigationItem {
|
|
18401
|
-
/**
|
|
18402
|
-
* Arrangement key, stable across reloads: `__bb__/new-thread`,
|
|
18403
|
-
* `__bb__/search-threads`, `__bb__/extensions`, `__bb__/skills`,
|
|
18404
|
-
* `__bb__/automations`, or `<pluginId>/<panelId>`. The same keys appear in
|
|
18405
|
-
* the `sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`
|
|
18406
|
-
* settings.
|
|
18407
|
-
*/
|
|
18408
|
-
id: string;
|
|
18409
|
-
label: string;
|
|
18410
|
-
icon: ExperimentalSidebarNavigationIcon;
|
|
18411
|
-
action: ExperimentalSidebarNavigationAction;
|
|
18412
|
-
isDisabled: boolean;
|
|
18413
|
-
/**
|
|
18414
|
-
* False when the user hid the item from the sidebar. Draw hidden items in an
|
|
18415
|
-
* overflow menu rather than dropping them, so they stay reachable.
|
|
18416
|
-
*/
|
|
18417
|
-
isVisible: boolean;
|
|
18418
|
-
/**
|
|
18419
|
-
* A plugin panel remembered from the last session whose bundle has not
|
|
18420
|
-
* registered yet. Activating it does nothing until it loads.
|
|
18421
|
-
*/
|
|
18422
|
-
isLoading: boolean;
|
|
18423
|
-
/**
|
|
18424
|
-
* The plugin that contributed this panel; null for bb's own items. Gates
|
|
18425
|
-
* `openDetails` and `disablePlugin`.
|
|
18426
|
-
*/
|
|
18427
|
-
pluginId: string | null;
|
|
18428
|
-
shortcut: ExperimentalSidebarNavigationShortcut | null;
|
|
18429
|
-
/**
|
|
18430
|
-
* The panel's `experimental_sidebarAccessory`, already wrapped in the host's
|
|
18431
|
-
* crash boundary. Null for bb's items, panels without an accessory, and on
|
|
18432
|
-
* compact viewports. Keep it within one line, about 4rem by 1.25rem.
|
|
18433
|
-
*/
|
|
18434
|
-
experimental_Accessory: ComponentType | null;
|
|
18435
|
-
}
|
|
18436
|
-
/** How the host should activate a sidebar navigation item. */
|
|
18437
|
-
interface ExperimentalSidebarNavigationActivationOptions {
|
|
18438
|
-
openInSplit: boolean;
|
|
18439
|
-
}
|
|
18440
|
-
/**
|
|
18441
|
-
* Host behavior for sidebar navigation items (see
|
|
18442
|
-
* {@link ExperimentalSidebarNavigationState}). Unknown item ids are ignored.
|
|
18443
|
-
* Calls made after the calling component unmounts do nothing.
|
|
18444
|
-
*/
|
|
18445
|
-
interface ExperimentalSidebarNavigationActions {
|
|
18446
|
-
/**
|
|
18447
|
-
* Run the item's host behavior and close the mobile sidebar drawer.
|
|
18448
|
-
* `openInSplit` is ignored where splits are unavailable, and disabled or
|
|
18449
|
-
* loading items do nothing.
|
|
18450
|
-
*/
|
|
18451
|
-
activate(itemId: string, options: ExperimentalSidebarNavigationActivationOptions): void;
|
|
18452
|
-
/** Hide or show one item. Persists to `sidebar.visiblePluginPanels`. */
|
|
18453
|
-
setVisible(itemId: string, isVisible: boolean): void;
|
|
18454
|
-
/**
|
|
18455
|
-
* Save a new order. Pass item ids in the order you want; unknown ids are
|
|
18456
|
-
* dropped and ids you leave out keep their relative order after the ones
|
|
18457
|
-
* you pass. Persists to `sidebar.pluginPanelOrder`.
|
|
18458
|
-
*/
|
|
18459
|
-
setOrder(itemIds: readonly string[]): void;
|
|
18460
|
-
/** Open bb's customize editor, which reorders and hides items. */
|
|
18461
|
-
openCustomize(): void;
|
|
18462
|
-
/** Open the owning plugin's details. Does nothing when `pluginId` is null. */
|
|
18463
|
-
openDetails(itemId: string): void;
|
|
18464
|
-
/**
|
|
18465
|
-
* Disable the owning plugin, leave its panel if it is open, and show a
|
|
18466
|
-
* toast. Rejects after the host's error toast when disabling fails. Does
|
|
18467
|
-
* nothing when `pluginId` is null.
|
|
18468
|
-
*/
|
|
18469
|
-
disablePlugin(itemId: string): Promise<void>;
|
|
18470
|
-
}
|
|
18471
|
-
/** What {@link PluginSdkApp.experimental_useSidebarNavigation} returns. */
|
|
18472
|
-
interface ExperimentalSidebarNavigationState {
|
|
18473
|
-
/** Every item in the user's saved order, visible and hidden. */
|
|
18474
|
-
items: readonly ExperimentalSidebarNavigationItem[];
|
|
18475
|
-
/** The item whose destination the route currently shows, or null. */
|
|
18476
|
-
activeItemId: string | null;
|
|
18477
|
-
/**
|
|
18478
|
-
* True while the user holds the app command modifier, when bb's own rows
|
|
18479
|
-
* reveal their `shortcut` labels. Show yours at the same time.
|
|
18480
|
-
*/
|
|
18481
|
-
isShortcutModifierHeld: boolean;
|
|
18482
|
-
actions: ExperimentalSidebarNavigationActions;
|
|
18483
|
-
}
|
|
18484
|
-
/**
|
|
18485
|
-
* Per-item drag-to-split support (see
|
|
18486
|
-
* {@link PluginSdkApp.experimental_useSidebarNavigationSplit}). Same contract
|
|
18487
|
-
* as {@link PluginSidebarThreadSplit}.
|
|
18488
|
-
*/
|
|
18489
|
-
interface ExperimentalSidebarNavigationSplit {
|
|
18490
|
-
/**
|
|
18491
|
-
* Spread onto the item's interactive element. Empty when the item cannot
|
|
18492
|
-
* open in a pane, so spreading it is always safe.
|
|
18493
|
-
*/
|
|
18494
|
-
splitProps: {
|
|
18495
|
-
onPointerDown?: (event: react.PointerEvent<HTMLElement>) => void;
|
|
18496
|
-
};
|
|
18497
|
-
/**
|
|
18498
|
-
* False for items that cannot open in a pane (Search, Plugins, Skills), on
|
|
18499
|
-
* compact viewports, and when splits are unavailable.
|
|
18500
|
-
*/
|
|
18501
|
-
isAvailable: boolean;
|
|
18502
|
-
/** Where this item's destination sits in the split layout, or null. */
|
|
18503
|
-
layout: {
|
|
18504
|
-
panes: readonly PluginSidebarSplitPane[];
|
|
18505
|
-
} | null;
|
|
18506
|
-
}
|
|
18507
|
-
/** Options for {@link PluginSdkApp.experimental_useSidebarNavigationSplit}. */
|
|
18508
|
-
interface ExperimentalSidebarNavigationSplitOptions {
|
|
18509
|
-
/**
|
|
18510
|
-
* `sidebar` (the default) engages the drag once the pointer leaves the
|
|
18511
|
-
* sidebar, so a row list with its own drag-to-reorder keeps working.
|
|
18512
|
-
* `distance` engages after a short movement in any direction; use it for
|
|
18513
|
-
* rows inside a menu or popover that covers the main area.
|
|
18514
|
-
*/
|
|
18515
|
-
activation?: "distance" | "sidebar";
|
|
18516
|
-
/** Called when the drag engages, for example to close the menu the row is in. */
|
|
18517
|
-
onDragStart?: () => void;
|
|
18518
|
-
}
|
|
18519
|
-
/** Props for {@link PluginSdkApp.experimental_SidebarNavigationIcon}. */
|
|
18520
|
-
interface ExperimentalSidebarNavigationIconProps {
|
|
18521
|
-
icon: ExperimentalSidebarNavigationIcon;
|
|
18522
|
-
className?: string;
|
|
18523
|
-
}
|
|
18524
|
-
/**
|
|
18525
|
-
* Props passed to an `experimental_sidebarNavigation` component. Read the
|
|
18526
|
-
* items and their actions with
|
|
18527
|
-
* {@link PluginSdkApp.experimental_useSidebarNavigation}.
|
|
18528
|
-
*/
|
|
18529
|
-
interface ExperimentalSidebarNavigationProps {
|
|
18530
|
-
isCompactViewport: boolean;
|
|
18531
|
-
/**
|
|
18532
|
-
* Renders bb's bundled Navigation plugin, or nothing while it is disabled.
|
|
18533
|
-
* Kept for plugins written before `experimental_useSidebarNavigation`;
|
|
18534
|
-
* render items from that hook instead. Scheduled for removal.
|
|
18535
|
-
*
|
|
18536
|
-
* @deprecated
|
|
18537
|
-
*/
|
|
18538
|
-
experimental_Original: ComponentType;
|
|
18539
|
-
}
|
|
18540
|
-
/**
|
|
18541
|
-
* Props passed to an `experimental_sidebarHeader` component, rendered in the
|
|
18542
|
-
* sidebar's header row between the sidebar toggle (and the macOS window
|
|
18543
|
-
* controls) and bb's back and forward buttons.
|
|
18544
|
-
*/
|
|
18545
|
-
interface ExperimentalSidebarHeaderProps {
|
|
18546
|
-
/**
|
|
18547
|
-
* Width in px of the space the component may use, updated when the sidebar
|
|
18548
|
-
* resizes or the window chrome changes. It can be smaller than
|
|
18549
|
-
* `controlSize` in a narrow sidebar.
|
|
18550
|
-
*/
|
|
18551
|
-
width: number;
|
|
18552
|
-
/**
|
|
18553
|
-
* Width and height in px of the header's own buttons, equal to the
|
|
18554
|
-
* `--bb-sidebar-control-size` CSS variable. Size your controls to match.
|
|
18555
|
-
*/
|
|
18556
|
-
controlSize: number;
|
|
18557
|
-
isCompactViewport: boolean;
|
|
18558
|
-
}
|
|
18559
18394
|
/**
|
|
18560
18395
|
* Props passed to an `experimental_threadList` component — the sidebar's
|
|
18561
18396
|
* scrolling thread area, replaced wholesale by one plugin.
|
|
@@ -18937,13 +18772,12 @@ interface PluginNavPanelRegistration {
|
|
|
18937
18772
|
*/
|
|
18938
18773
|
fixedTabs?: readonly PluginFixedTabDeclaration[];
|
|
18939
18774
|
/**
|
|
18940
|
-
* Optional presentational component
|
|
18941
|
-
* panel's sidebar
|
|
18942
|
-
* value through the ordinary SDK hooks without coupling
|
|
18943
|
-
* host sidebar. The host
|
|
18944
|
-
* to a small, single-line box
|
|
18945
|
-
*
|
|
18946
|
-
* do not render controls or rely on unbounded content here.
|
|
18775
|
+
* Optional presentational component for a narrow live value next to this
|
|
18776
|
+
* panel's entry in the sidebar. It receives no props so it can own that
|
|
18777
|
+
* value through the ordinary SDK hooks without coupling its state to the
|
|
18778
|
+
* host sidebar. The host still validates it, but no host surface currently
|
|
18779
|
+
* mounts it. Keep it to a small, single-line box; do not render controls or
|
|
18780
|
+
* rely on unbounded content here.
|
|
18947
18781
|
*
|
|
18948
18782
|
* Experimental: see docs/api_to_audit.md.
|
|
18949
18783
|
*/
|
|
@@ -19694,41 +19528,6 @@ interface PluginThreadListRegistration {
|
|
|
19694
19528
|
description?: string;
|
|
19695
19529
|
component: ComponentType<PluginThreadListProps>;
|
|
19696
19530
|
}
|
|
19697
|
-
/**
|
|
19698
|
-
* Replace the navigation controls above the sidebar thread list. Exclusive:
|
|
19699
|
-
* bb ships its own rows as the bundled Navigation plugin
|
|
19700
|
-
* (`navigation/navigation`). By default the first registered provider other
|
|
19701
|
-
* than Navigation is active, falling back to Navigation; the user can pin one
|
|
19702
|
-
* provider under Settings → Appearance → Navigation. A pinned provider that is
|
|
19703
|
-
* disabled or removed falls back to Navigation; a crashing provider is
|
|
19704
|
-
* replaced by a placeholder with a Reload button.
|
|
19705
|
-
*/
|
|
19706
|
-
interface ExperimentalSidebarNavigationRegistration {
|
|
19707
|
-
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19708
|
-
id: string;
|
|
19709
|
-
/** Label shown in Settings → Appearance and capability details. */
|
|
19710
|
-
title: string;
|
|
19711
|
-
/** Optional one-line description shown with the provider choice. */
|
|
19712
|
-
description?: string;
|
|
19713
|
-
component: ComponentType<ExperimentalSidebarNavigationProps>;
|
|
19714
|
-
}
|
|
19715
|
-
/**
|
|
19716
|
-
* Render a component in the sidebar's header row, between the sidebar toggle
|
|
19717
|
-
* and bb's back and forward buttons. Exclusive: the user picks at most one
|
|
19718
|
-
* header under Settings → Appearance, and by default the header shows only
|
|
19719
|
-
* bb's own controls. Content is clipped to the row, so it cannot move the
|
|
19720
|
-
* thread list or bb's controls. On macOS the empty space keeps dragging the
|
|
19721
|
-
* window; buttons, links, and inputs do not.
|
|
19722
|
-
*/
|
|
19723
|
-
interface ExperimentalSidebarHeaderRegistration {
|
|
19724
|
-
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19725
|
-
id: string;
|
|
19726
|
-
/** Label shown in Settings → Appearance and capability details. */
|
|
19727
|
-
title: string;
|
|
19728
|
-
/** Optional one-line description shown with the provider choice. */
|
|
19729
|
-
description?: string;
|
|
19730
|
-
component: ComponentType<ExperimentalSidebarHeaderProps>;
|
|
19731
|
-
}
|
|
19732
19531
|
/**
|
|
19733
19532
|
* Register this plugin as a viewer/editor for file extensions. By default,
|
|
19734
19533
|
* matching files render the first applicable opener in deterministic slot
|
|
@@ -20170,14 +19969,6 @@ interface PluginAppSlots {
|
|
|
20170
19969
|
experimental_newThreadPanelAction(registration: PluginNewThreadPanelActionRegistration): void;
|
|
20171
19970
|
pendingInteraction(registration: PluginPendingInteractionRegistration): void;
|
|
20172
19971
|
sidebarFooterAction(registration: PluginSidebarFooterActionRegistration): void;
|
|
20173
|
-
/** Replace the bounded sidebar navigation controls. */
|
|
20174
|
-
experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
|
|
20175
|
-
/**
|
|
20176
|
-
* Render a component in the sidebar header row (see
|
|
20177
|
-
* {@link ExperimentalSidebarHeaderRegistration}). Experimental: see
|
|
20178
|
-
* docs/api_to_audit.md.
|
|
20179
|
-
*/
|
|
20180
|
-
experimental_sidebarHeader(registration: ExperimentalSidebarHeaderRegistration): void;
|
|
20181
19972
|
/**
|
|
20182
19973
|
* Replace the sidebar's thread list (see
|
|
20183
19974
|
* {@link PluginThreadListRegistration}). Experimental: see
|
|
@@ -21405,27 +21196,6 @@ interface PluginSdkApp {
|
|
|
21405
21196
|
* Experimental: see docs/api_to_audit.md.
|
|
21406
21197
|
*/
|
|
21407
21198
|
experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
|
|
21408
|
-
/**
|
|
21409
|
-
* The sidebar navigation items in the user's saved order, the active item,
|
|
21410
|
-
* and the host actions that activate, hide, reorder, and customize them
|
|
21411
|
-
* (see {@link ExperimentalSidebarNavigationState}). One model shared by
|
|
21412
|
-
* every caller in the sidebar. Items keep their identity while unchanged.
|
|
21413
|
-
* Outside the sidebar it returns no items and actions that do nothing.
|
|
21414
|
-
* Experimental: see docs/api_to_audit.md.
|
|
21415
|
-
*/
|
|
21416
|
-
experimental_useSidebarNavigation(): ExperimentalSidebarNavigationState;
|
|
21417
|
-
/**
|
|
21418
|
-
* Per-item drag-to-split support for navigation items (see
|
|
21419
|
-
* {@link ExperimentalSidebarNavigationSplit}). Call it once per rendered
|
|
21420
|
-
* item. Experimental: see docs/api_to_audit.md.
|
|
21421
|
-
*/
|
|
21422
|
-
experimental_useSidebarNavigationSplit(itemId: string, options?: ExperimentalSidebarNavigationSplitOptions): ExperimentalSidebarNavigationSplit;
|
|
21423
|
-
/**
|
|
21424
|
-
* bb's artwork for a navigation item's icon: bb's glyphs for its own items,
|
|
21425
|
-
* and the panel's explicit icon, falling back to plugin branding, for plugin panels. Experimental:
|
|
21426
|
-
* see docs/api_to_audit.md.
|
|
21427
|
-
*/
|
|
21428
|
-
experimental_SidebarNavigationIcon: ComponentType<ExperimentalSidebarNavigationIconProps>;
|
|
21429
21199
|
/**
|
|
21430
21200
|
* Whether the composer holds an unsent draft for one thread (see
|
|
21431
21201
|
* {@link PluginSidebarThreadDraftState}). Per row, because a draft is
|
|
@@ -24023,4 +23793,4 @@ declare function cliCommand<const TOptions extends CliOptions = Record<string, n
|
|
|
24023
23793
|
declare function defineCli(spec: PluginCliSpec): PluginCliRegistration;
|
|
24024
23794
|
|
|
24025
23795
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_defineHostEntry };
|
|
24026
|
-
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, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration,
|
|
23796
|
+
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, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalVoiceInputTextareaProps, 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, 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, PluginFixedTabDeclaration, PluginFixedTabRegistration, 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, PluginPanelActionOpenOptions, 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, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
package/dist/app.js
CHANGED
|
@@ -107,15 +107,6 @@ var experimental_useSidebarThreadPullRequest = runtimeFunction(
|
|
|
107
107
|
var experimental_useSidebarThreadSplit = runtimeFunction(
|
|
108
108
|
"experimental_useSidebarThreadSplit"
|
|
109
109
|
);
|
|
110
|
-
var experimental_useSidebarNavigation = runtimeFunction(
|
|
111
|
-
"experimental_useSidebarNavigation"
|
|
112
|
-
);
|
|
113
|
-
var experimental_useSidebarNavigationSplit = runtimeFunction(
|
|
114
|
-
"experimental_useSidebarNavigationSplit"
|
|
115
|
-
);
|
|
116
|
-
var experimental_SidebarNavigationIcon = runtimeComponent(
|
|
117
|
-
"experimental_SidebarNavigationIcon"
|
|
118
|
-
);
|
|
119
110
|
var useSidebarThreadDraft = runtimeFunction("useSidebarThreadDraft");
|
|
120
111
|
var useSidebarThreadDraftIds = runtimeFunction(
|
|
121
112
|
"useSidebarThreadDraftIds"
|
|
@@ -158,7 +149,6 @@ export {
|
|
|
158
149
|
experimental_PermissionModePicker,
|
|
159
150
|
experimental_ProviderIcon,
|
|
160
151
|
experimental_ProviderModelPicker,
|
|
161
|
-
experimental_SidebarNavigationIcon,
|
|
162
152
|
experimental_SourceCode,
|
|
163
153
|
experimental_VoiceInputTextarea,
|
|
164
154
|
experimental_copyToClipboard,
|
|
@@ -170,8 +160,6 @@ export {
|
|
|
170
160
|
experimental_usePluginId,
|
|
171
161
|
experimental_useProviders,
|
|
172
162
|
experimental_useQuestionFormHost,
|
|
173
|
-
experimental_useSidebarNavigation,
|
|
174
|
-
experimental_useSidebarNavigationSplit,
|
|
175
163
|
experimental_useSidebarThreadActions,
|
|
176
164
|
experimental_useSidebarThreadPullRequest,
|
|
177
165
|
experimental_useSidebarThreadSplit,
|
|
@@ -469,8 +469,6 @@ function collectPluginAppRegistrations(definition, onComposerCustomizationReject
|
|
|
469
469
|
pendingInteractions: [],
|
|
470
470
|
sidebarFooterActions: [],
|
|
471
471
|
experimentalSidebarFooterItems: [],
|
|
472
|
-
experimentalSidebarNavigations: [],
|
|
473
|
-
experimentalSidebarHeaders: [],
|
|
474
472
|
threadLists: [],
|
|
475
473
|
threadHeaderActions: [],
|
|
476
474
|
browserToolbarActions: [],
|
|
@@ -499,8 +497,6 @@ function collectPluginAppRegistrations(definition, onComposerCustomizationReject
|
|
|
499
497
|
composerPopup: /* @__PURE__ */ new Set(),
|
|
500
498
|
pendingInteraction: /* @__PURE__ */ new Set(),
|
|
501
499
|
sidebarFooterItem: /* @__PURE__ */ new Set(),
|
|
502
|
-
sidebarNavigation: /* @__PURE__ */ new Set(),
|
|
503
|
-
sidebarHeader: /* @__PURE__ */ new Set(),
|
|
504
500
|
threadList: /* @__PURE__ */ new Set(),
|
|
505
501
|
threadHeaderAction: /* @__PURE__ */ new Set(),
|
|
506
502
|
browserToolbarAction: /* @__PURE__ */ new Set(),
|
|
@@ -720,24 +716,6 @@ function collectPluginAppRegistrations(definition, onComposerCustomizationReject
|
|
|
720
716
|
collected.sidebarFooterActions.push(legacyRegistration);
|
|
721
717
|
sidebarFooterItems.push(adaptSidebarFooterAction(legacyRegistration));
|
|
722
718
|
},
|
|
723
|
-
experimental_sidebarNavigation(registration) {
|
|
724
|
-
collected.experimentalSidebarNavigations.push(
|
|
725
|
-
collectTitledComponent(
|
|
726
|
-
"slots.experimental_sidebarNavigation",
|
|
727
|
-
seenIds.sidebarNavigation,
|
|
728
|
-
registration
|
|
729
|
-
)
|
|
730
|
-
);
|
|
731
|
-
},
|
|
732
|
-
experimental_sidebarHeader(registration) {
|
|
733
|
-
collected.experimentalSidebarHeaders.push(
|
|
734
|
-
collectTitledComponent(
|
|
735
|
-
"slots.experimental_sidebarHeader",
|
|
736
|
-
seenIds.sidebarHeader,
|
|
737
|
-
registration
|
|
738
|
-
)
|
|
739
|
-
);
|
|
740
|
-
},
|
|
741
719
|
experimental_threadList(registration) {
|
|
742
720
|
collected.threadLists.push(
|
|
743
721
|
collectTitledComponent(
|