@get-bb/plugin-sdk 0.6.52 → 0.6.54
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 +350 -12
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +7 -3
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +9 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +9 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +30 -2
- package/bundled-types/bb-plugin-sdk.d.ts +346 -11
- package/dist/app.js +12 -0
- package/dist/internal/plugin-app-collector.js +89 -15
- package/dist/provider-bridge-acp-next.js +24 -12
- package/dist/provider-bridge-acp.js +24 -12
- package/dist/provider-bridge-testing.js +3 -0
- package/dist/provider-bridge.js +2 -0
- package/dist/testing/app.js +169 -15
- package/package.json +1 -1
|
@@ -119,7 +119,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
119
119
|
}, z$1.core.$strict>]>;
|
|
120
120
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
121
121
|
|
|
122
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
|
|
122
|
+
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
|
|
123
123
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
124
124
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
125
125
|
schema: Schema;
|
|
@@ -152,6 +152,7 @@ declare const uiPreferenceDefinitions: {
|
|
|
152
152
|
readonly "sidebar.hiddenFooterItems": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
153
153
|
readonly "sidebar.pluginPanelOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
154
154
|
readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
155
|
+
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
155
156
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
156
157
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
157
158
|
};
|
|
@@ -1344,6 +1345,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1344
1345
|
description: z$1.ZodString;
|
|
1345
1346
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1346
1347
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
1348
|
+
foreground: z$1.ZodBoolean;
|
|
1347
1349
|
id: z$1.ZodString;
|
|
1348
1350
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
1349
1351
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2109,6 +2111,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2109
2111
|
description: z$1.ZodString;
|
|
2110
2112
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
2111
2113
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
2114
|
+
foreground: z$1.ZodBoolean;
|
|
2112
2115
|
id: z$1.ZodString;
|
|
2113
2116
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
2114
2117
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2340,6 +2343,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2340
2343
|
description: z$1.ZodString;
|
|
2341
2344
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
2342
2345
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
2346
|
+
foreground: z$1.ZodBoolean;
|
|
2343
2347
|
id: z$1.ZodString;
|
|
2344
2348
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
2345
2349
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2438,6 +2442,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2438
2442
|
description: z$1.ZodString;
|
|
2439
2443
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
2440
2444
|
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
2445
|
+
foreground: z$1.ZodBoolean;
|
|
2441
2446
|
id: z$1.ZodString;
|
|
2442
2447
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
2443
2448
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -7447,6 +7452,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7447
7452
|
}, z$1.core.$strict>], "operation">, z$1.ZodObject<{}, z$1.core.$strict>, "settled", false>;
|
|
7448
7453
|
"host.list_files": HostDaemonCommandDescriptor<"host.list_files", z$1.ZodObject<{
|
|
7449
7454
|
excludeNames: z$1.ZodArray<z$1.ZodString>;
|
|
7455
|
+
followRootSymlink: z$1.ZodBoolean;
|
|
7450
7456
|
includeHidden: z$1.ZodBoolean;
|
|
7451
7457
|
limit: z$1.ZodNumber;
|
|
7452
7458
|
path: z$1.ZodString;
|
|
@@ -7521,6 +7527,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7521
7527
|
path: z$1.ZodString;
|
|
7522
7528
|
}, z$1.core.$strip>>;
|
|
7523
7529
|
parent: z$1.ZodNullable<z$1.ZodString>;
|
|
7530
|
+
roots: z$1.ZodArray<z$1.ZodString>;
|
|
7524
7531
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7525
7532
|
"host.paths_exist": HostDaemonCommandDescriptor<"host.paths_exist", z$1.ZodObject<{
|
|
7526
7533
|
paths: z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>;
|
|
@@ -8070,6 +8077,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8070
8077
|
allow: "allow";
|
|
8071
8078
|
deny: "deny";
|
|
8072
8079
|
}>;
|
|
8080
|
+
followRootSymlink: z$1.ZodBoolean;
|
|
8073
8081
|
path: z$1.ZodString;
|
|
8074
8082
|
rootPath: z$1.ZodString;
|
|
8075
8083
|
type: z$1.ZodLiteral<"host.read_file_relative">;
|
|
@@ -9216,6 +9224,7 @@ declare const hostDirectoryListingSchema: z$1.ZodObject<{
|
|
|
9216
9224
|
path: z$1.ZodString;
|
|
9217
9225
|
}, z$1.core.$strip>>;
|
|
9218
9226
|
parent: z$1.ZodNullable<z$1.ZodString>;
|
|
9227
|
+
roots: z$1.ZodArray<z$1.ZodString>;
|
|
9219
9228
|
}, z$1.core.$strip>;
|
|
9220
9229
|
type HostDirectoryListing = z$1.infer<typeof hostDirectoryListingSchema>;
|
|
9221
9230
|
declare const hostDiscoveredReposResponseSchema: z$1.ZodObject<{
|
|
@@ -18813,6 +18822,222 @@ interface ExperimentalSidebarFooterDisclosureProps {
|
|
|
18813
18822
|
/** Hide this disclosure without affecting another plugin's open disclosure. */
|
|
18814
18823
|
dismiss(): void;
|
|
18815
18824
|
}
|
|
18825
|
+
/** Display and accessibility metadata for a host-owned sidebar shortcut. */
|
|
18826
|
+
interface ExperimentalSidebarNavigationShortcut {
|
|
18827
|
+
label: string;
|
|
18828
|
+
ariaKeyShortcuts: string;
|
|
18829
|
+
}
|
|
18830
|
+
/** Host-owned behavior represented by one sidebar navigation item. */
|
|
18831
|
+
type ExperimentalSidebarNavigationAction = {
|
|
18832
|
+
kind: "new-thread";
|
|
18833
|
+
} | {
|
|
18834
|
+
kind: "search-threads";
|
|
18835
|
+
} | {
|
|
18836
|
+
kind: "open-extensions";
|
|
18837
|
+
} | {
|
|
18838
|
+
kind: "open-skills";
|
|
18839
|
+
} | {
|
|
18840
|
+
kind: "open-plugin-panel";
|
|
18841
|
+
pluginId: string;
|
|
18842
|
+
panelId: string;
|
|
18843
|
+
};
|
|
18844
|
+
/**
|
|
18845
|
+
* Semantic icon identity for one sidebar navigation item. Render it with
|
|
18846
|
+
* {@link PluginSdkApp.experimental_SidebarNavigationIcon} to match bb's
|
|
18847
|
+
* artwork, including panel icons with plugin branding as their fallback.
|
|
18848
|
+
*/
|
|
18849
|
+
type ExperimentalSidebarNavigationIcon = {
|
|
18850
|
+
kind: "host";
|
|
18851
|
+
name: "extensions" | "new-thread" | "search" | "skills";
|
|
18852
|
+
} | {
|
|
18853
|
+
kind: "plugin";
|
|
18854
|
+
pluginId: string;
|
|
18855
|
+
icon: string | null;
|
|
18856
|
+
};
|
|
18857
|
+
/** One host-owned destination or action a navigation provider arranges. */
|
|
18858
|
+
interface ExperimentalSidebarNavigationItem {
|
|
18859
|
+
/**
|
|
18860
|
+
* Arrangement key, stable across reloads: `__bb__/new-thread`,
|
|
18861
|
+
* `__bb__/search-threads`, `__bb__/extensions`, `__bb__/skills`,
|
|
18862
|
+
* `__bb__/automations`, or `<pluginId>/<panelId>`. The same keys appear in
|
|
18863
|
+
* the `sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`
|
|
18864
|
+
* settings.
|
|
18865
|
+
*/
|
|
18866
|
+
id: string;
|
|
18867
|
+
label: string;
|
|
18868
|
+
icon: ExperimentalSidebarNavigationIcon;
|
|
18869
|
+
action: ExperimentalSidebarNavigationAction;
|
|
18870
|
+
isDisabled: boolean;
|
|
18871
|
+
/**
|
|
18872
|
+
* False when the user hid the item. Draw hidden items in an overflow menu
|
|
18873
|
+
* rather than dropping them, so they stay reachable. New thread is always
|
|
18874
|
+
* visible.
|
|
18875
|
+
*/
|
|
18876
|
+
isVisible: boolean;
|
|
18877
|
+
/**
|
|
18878
|
+
* A plugin panel remembered from the last session whose bundle has not
|
|
18879
|
+
* registered yet. Activating it does nothing until it loads.
|
|
18880
|
+
*/
|
|
18881
|
+
isLoading: boolean;
|
|
18882
|
+
/**
|
|
18883
|
+
* The plugin that contributed this panel; null for bb's own items. Gates
|
|
18884
|
+
* `openDetails` and `disablePlugin`.
|
|
18885
|
+
*/
|
|
18886
|
+
pluginId: string | null;
|
|
18887
|
+
shortcut: ExperimentalSidebarNavigationShortcut | null;
|
|
18888
|
+
/**
|
|
18889
|
+
* The panel's current {@link PluginNavPanelRegistration.experimental_useBadge}
|
|
18890
|
+
* value, or null. Add `label` to the item's accessible name when you draw
|
|
18891
|
+
* it.
|
|
18892
|
+
*/
|
|
18893
|
+
badge: ExperimentalBadge | null;
|
|
18894
|
+
}
|
|
18895
|
+
/** How the host should activate a sidebar navigation item. */
|
|
18896
|
+
interface ExperimentalSidebarNavigationActivationOptions {
|
|
18897
|
+
openInSplit: boolean;
|
|
18898
|
+
}
|
|
18899
|
+
/**
|
|
18900
|
+
* Host behavior for sidebar navigation items (see
|
|
18901
|
+
* {@link ExperimentalSidebarNavigationState}). Unknown item ids are ignored.
|
|
18902
|
+
* Calls made after the calling component unmounts do nothing.
|
|
18903
|
+
*/
|
|
18904
|
+
interface ExperimentalSidebarNavigationActions {
|
|
18905
|
+
/**
|
|
18906
|
+
* Run the item's host behavior. Plugin panels close the mobile sidebar
|
|
18907
|
+
* drawer; Plugins and Skills swap the list beside the navigation.
|
|
18908
|
+
* `openInSplit` is ignored where splits are unavailable, and disabled or
|
|
18909
|
+
* loading items do nothing.
|
|
18910
|
+
*/
|
|
18911
|
+
activate(itemId: string, options: ExperimentalSidebarNavigationActivationOptions): void;
|
|
18912
|
+
/**
|
|
18913
|
+
* Return to the thread list and the last thread or new thread screen the
|
|
18914
|
+
* user had open before visiting Settings, Plugins, Skills, or a plugin
|
|
18915
|
+
* panel.
|
|
18916
|
+
*/
|
|
18917
|
+
goHome(): void;
|
|
18918
|
+
/** Hide or show one item. Persists to `sidebar.visiblePluginPanels`. */
|
|
18919
|
+
setVisible(itemId: string, isVisible: boolean): void;
|
|
18920
|
+
/**
|
|
18921
|
+
* Save a new order. Pass item ids in the order you want; unknown ids are
|
|
18922
|
+
* dropped and ids you leave out keep their relative order after the ones
|
|
18923
|
+
* you pass. Persists to `sidebar.pluginPanelOrder`.
|
|
18924
|
+
*/
|
|
18925
|
+
setOrder(itemIds: readonly string[]): void;
|
|
18926
|
+
/**
|
|
18927
|
+
* Open bb's customize editor, which reorders and hides items, beside the
|
|
18928
|
+
* navigation. It waits for an open menu to close and returns focus to the
|
|
18929
|
+
* control that opened it.
|
|
18930
|
+
*/
|
|
18931
|
+
openCustomize(): void;
|
|
18932
|
+
/** Open the owning plugin's details. Does nothing when `pluginId` is null. */
|
|
18933
|
+
openDetails(itemId: string): void;
|
|
18934
|
+
/**
|
|
18935
|
+
* Disable the owning plugin, leave its panel if it is open, and show a
|
|
18936
|
+
* toast. Rejects after the host's error toast when disabling fails. Does
|
|
18937
|
+
* nothing when `pluginId` is null.
|
|
18938
|
+
*/
|
|
18939
|
+
disablePlugin(itemId: string): Promise<void>;
|
|
18940
|
+
}
|
|
18941
|
+
/** What {@link PluginSdkApp.experimental_useSidebarNavigation} returns. */
|
|
18942
|
+
interface ExperimentalSidebarNavigationState {
|
|
18943
|
+
/** Every item in the user's saved order, visible and hidden. */
|
|
18944
|
+
items: readonly ExperimentalSidebarNavigationItem[];
|
|
18945
|
+
/** The item whose destination the route currently shows, or null. */
|
|
18946
|
+
activeItemId: string | null;
|
|
18947
|
+
/**
|
|
18948
|
+
* True on the thread list's routes: a thread, the new thread screen, or a
|
|
18949
|
+
* project page. Settings, Plugins, Skills, and plugin panels are not home.
|
|
18950
|
+
*/
|
|
18951
|
+
isHomeActive: boolean;
|
|
18952
|
+
/**
|
|
18953
|
+
* True while the user holds the app command modifier, when bb's own
|
|
18954
|
+
* navigation reveals its `shortcut` labels. Show yours at the same time.
|
|
18955
|
+
*/
|
|
18956
|
+
isShortcutModifierHeld: boolean;
|
|
18957
|
+
actions: ExperimentalSidebarNavigationActions;
|
|
18958
|
+
}
|
|
18959
|
+
/**
|
|
18960
|
+
* Per-item drag-to-split support (see
|
|
18961
|
+
* {@link PluginSdkApp.experimental_useSidebarNavigationSplit}). Same contract
|
|
18962
|
+
* as {@link PluginSidebarThreadSplit}.
|
|
18963
|
+
*/
|
|
18964
|
+
interface ExperimentalSidebarNavigationSplit {
|
|
18965
|
+
/**
|
|
18966
|
+
* Spread onto the item's interactive element. Empty when the item cannot
|
|
18967
|
+
* open in a pane, so spreading it is always safe.
|
|
18968
|
+
*/
|
|
18969
|
+
splitProps: {
|
|
18970
|
+
onPointerDown?: (event: react.PointerEvent<HTMLElement>) => void;
|
|
18971
|
+
};
|
|
18972
|
+
/**
|
|
18973
|
+
* False for items that cannot open in a pane (Search, Plugins, Skills), on
|
|
18974
|
+
* compact viewports, and when splits are unavailable.
|
|
18975
|
+
*/
|
|
18976
|
+
isAvailable: boolean;
|
|
18977
|
+
/** Where this item's destination sits in the split layout, or null. */
|
|
18978
|
+
layout: {
|
|
18979
|
+
panes: readonly PluginSidebarSplitPane[];
|
|
18980
|
+
} | null;
|
|
18981
|
+
}
|
|
18982
|
+
/** Options for {@link PluginSdkApp.experimental_useSidebarNavigationSplit}. */
|
|
18983
|
+
interface ExperimentalSidebarNavigationSplitOptions {
|
|
18984
|
+
/**
|
|
18985
|
+
* `sidebar` (the default) engages the drag once the pointer leaves the
|
|
18986
|
+
* sidebar, so a row list with its own drag-to-reorder keeps working.
|
|
18987
|
+
* `distance` engages after a short movement in any direction; use it for
|
|
18988
|
+
* rows inside a menu or popover that covers the main area.
|
|
18989
|
+
*/
|
|
18990
|
+
activation?: "distance" | "sidebar";
|
|
18991
|
+
/** Called when the drag engages, for example to close the menu the row is in. */
|
|
18992
|
+
onDragStart?: () => void;
|
|
18993
|
+
}
|
|
18994
|
+
/** Props for {@link PluginSdkApp.experimental_SidebarNavigationIcon}. */
|
|
18995
|
+
interface ExperimentalSidebarNavigationIconProps {
|
|
18996
|
+
icon: ExperimentalSidebarNavigationIcon;
|
|
18997
|
+
className?: string;
|
|
18998
|
+
}
|
|
18999
|
+
/**
|
|
19000
|
+
* Where a sidebar navigation provider draws (see
|
|
19001
|
+
* {@link ExperimentalSidebarNavigationRegistration.placement}).
|
|
19002
|
+
*/
|
|
19003
|
+
type ExperimentalSidebarNavigationPlacement = "list" | "rail";
|
|
19004
|
+
/**
|
|
19005
|
+
* Props passed to an `experimental_sidebarNavigation` component. Read the
|
|
19006
|
+
* items and their actions with
|
|
19007
|
+
* {@link PluginSdkApp.experimental_useSidebarNavigation}.
|
|
19008
|
+
*/
|
|
19009
|
+
interface ExperimentalSidebarNavigationProps {
|
|
19010
|
+
isCompactViewport: boolean;
|
|
19011
|
+
placement: ExperimentalSidebarNavigationPlacement;
|
|
19012
|
+
/**
|
|
19013
|
+
* Renders the bundled Navigation plugin's provider for the same placement,
|
|
19014
|
+
* Rail or Top list, or nothing when that plugin is disabled. Kept for
|
|
19015
|
+
* plugins written before `experimental_useSidebarNavigation`; render items
|
|
19016
|
+
* from that hook instead. Scheduled for removal.
|
|
19017
|
+
*
|
|
19018
|
+
* @deprecated
|
|
19019
|
+
*/
|
|
19020
|
+
experimental_Original: ComponentType;
|
|
19021
|
+
}
|
|
19022
|
+
/**
|
|
19023
|
+
* Props passed to a navigation's `headerComponent`, rendered in the sidebar's
|
|
19024
|
+
* header row between the sidebar toggle (and the macOS window controls) and
|
|
19025
|
+
* bb's back and forward buttons.
|
|
19026
|
+
*/
|
|
19027
|
+
interface ExperimentalSidebarHeaderProps {
|
|
19028
|
+
/**
|
|
19029
|
+
* Width in px of the space the component may use, updated when the sidebar
|
|
19030
|
+
* resizes or the window chrome changes. It can be smaller than
|
|
19031
|
+
* `controlSize` in a narrow sidebar.
|
|
19032
|
+
*/
|
|
19033
|
+
width: number;
|
|
19034
|
+
/**
|
|
19035
|
+
* Width and height in px of the header's own buttons, equal to the
|
|
19036
|
+
* `--bb-sidebar-control-size` CSS variable. Size your controls to match.
|
|
19037
|
+
*/
|
|
19038
|
+
controlSize: number;
|
|
19039
|
+
isCompactViewport: boolean;
|
|
19040
|
+
}
|
|
18816
19041
|
/**
|
|
18817
19042
|
* Props passed to an `experimental_threadList` component — the sidebar's
|
|
18818
19043
|
* scrolling thread area, replaced wholesale by one plugin.
|
|
@@ -19216,6 +19441,41 @@ type PluginFixedTabRegistration<Target extends JsonValue = never> = Experimental
|
|
|
19216
19441
|
};
|
|
19217
19442
|
/** A fixed tab with either no target or an owner-validated JSON target. */
|
|
19218
19443
|
type PluginFixedTabDeclaration = PluginFixedTabRegistration | PluginFixedTabRegistration<JsonValue>;
|
|
19444
|
+
/**
|
|
19445
|
+
* How urgent an {@link ExperimentalBadge} is. bb picks the colors: `neutral`
|
|
19446
|
+
* (the default) for counts and new items, `warning` for something due or
|
|
19447
|
+
* degraded, and `critical` for something failing or waiting on the user.
|
|
19448
|
+
*
|
|
19449
|
+
* Experimental: see docs/api_to_audit.md.
|
|
19450
|
+
*/
|
|
19451
|
+
type ExperimentalBadgeTone = "critical" | "neutral" | "warning";
|
|
19452
|
+
/**
|
|
19453
|
+
* A live value the host draws on a nav panel's navigation entry. Set at most
|
|
19454
|
+
* one of `count` and `text`; with neither, bb draws a dot.
|
|
19455
|
+
*
|
|
19456
|
+
* Experimental: see docs/api_to_audit.md.
|
|
19457
|
+
*/
|
|
19458
|
+
interface ExperimentalBadge {
|
|
19459
|
+
/**
|
|
19460
|
+
* Positive integer drawn on the entry, shown as `9+` above 9 on the rail and
|
|
19461
|
+
* `99+` above 99 in lists.
|
|
19462
|
+
*/
|
|
19463
|
+
count?: number;
|
|
19464
|
+
/**
|
|
19465
|
+
* A short visible value, at most 8 characters, such as "NEW", "73%", or
|
|
19466
|
+
* "3/5". Lists draw it; the icon-only rail draws a dot and puts `label` in
|
|
19467
|
+
* the tooltip.
|
|
19468
|
+
*/
|
|
19469
|
+
text?: string;
|
|
19470
|
+
/** Defaults to `neutral`. */
|
|
19471
|
+
tone?: ExperimentalBadgeTone;
|
|
19472
|
+
/**
|
|
19473
|
+
* Text for the destination's tooltip and accessible name, such as
|
|
19474
|
+
* "3 open tasks". Required because the drawn badge is hidden from assistive
|
|
19475
|
+
* technology.
|
|
19476
|
+
*/
|
|
19477
|
+
label: string;
|
|
19478
|
+
}
|
|
19219
19479
|
interface PluginNavPanelRegistration {
|
|
19220
19480
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19221
19481
|
id: string;
|
|
@@ -19237,16 +19497,19 @@ interface PluginNavPanelRegistration {
|
|
|
19237
19497
|
*/
|
|
19238
19498
|
fixedTabs?: readonly PluginFixedTabDeclaration[];
|
|
19239
19499
|
/**
|
|
19240
|
-
* Optional
|
|
19241
|
-
*
|
|
19242
|
-
*
|
|
19243
|
-
*
|
|
19244
|
-
*
|
|
19245
|
-
*
|
|
19500
|
+
* Optional React hook that returns this panel's navigation badge, or `null`
|
|
19501
|
+
* for none. The host calls it once in your plugin's scope for every
|
|
19502
|
+
* registered panel, including ones hidden under More, so it can own an RPC
|
|
19503
|
+
* query and realtime subscription through the ordinary SDK hooks. The value
|
|
19504
|
+
* reaches every navigation provider as the item's `badge`; bb's draw a
|
|
19505
|
+
* count or a dot on the entry, a dot on More while the panel is hidden
|
|
19506
|
+
* there, and `label` in the tooltip and accessible name. A hook that throws
|
|
19507
|
+
* or returns an invalid badge is treated as a crashed slot and shows no
|
|
19508
|
+
* badge.
|
|
19246
19509
|
*
|
|
19247
19510
|
* Experimental: see docs/api_to_audit.md.
|
|
19248
19511
|
*/
|
|
19249
|
-
|
|
19512
|
+
experimental_useBadge?: () => ExperimentalBadge | null;
|
|
19250
19513
|
/**
|
|
19251
19514
|
* Optional component rendered on the right side of the shared title bar
|
|
19252
19515
|
* (e.g. a sync button or a count). Contained separately from the body: a
|
|
@@ -20202,6 +20465,50 @@ interface PluginThreadListRegistration {
|
|
|
20202
20465
|
description?: string;
|
|
20203
20466
|
component: ComponentType<PluginThreadListProps>;
|
|
20204
20467
|
}
|
|
20468
|
+
/**
|
|
20469
|
+
* Draw the sidebar's navigation: New thread, Plugins, Skills, Automations,
|
|
20470
|
+
* plugin panels, and More, plus optional controls in the sidebar header.
|
|
20471
|
+
* Exclusive: bb's bundled Navigation plugin registers Rail
|
|
20472
|
+
* (`navigation/rail`, the default) and Top list (`navigation/top-list`)
|
|
20473
|
+
* through this slot. By default the first provider from another plugin is
|
|
20474
|
+
* active, falling back to Rail; the user can pin one provider under Settings →
|
|
20475
|
+
* Appearance → Navigation. A pinned provider that is disabled or removed falls
|
|
20476
|
+
* back the same way, and a crashing provider is replaced by the Navigation
|
|
20477
|
+
* plugin's provider for the same placement.
|
|
20478
|
+
*
|
|
20479
|
+
* `placement` decides the layout around the component, so bb can lay out the
|
|
20480
|
+
* sidebar before the plugin loads:
|
|
20481
|
+
*
|
|
20482
|
+
* - `rail`: a fixed-width column on the sidebar's left edge that stays when
|
|
20483
|
+
* the sidebar collapses. bb draws Settings at the bottom of the column;
|
|
20484
|
+
* draw Home with `actions.goHome()`. On macOS, wide windows frame the
|
|
20485
|
+
* sidebar and page below a title bar.
|
|
20486
|
+
* - `list` (the default): the area above the thread list. Settings is a
|
|
20487
|
+
* footer action, the Settings, Plugins, and Skills lists start with a Back
|
|
20488
|
+
* to app row, and collapsing hides the whole sidebar.
|
|
20489
|
+
*
|
|
20490
|
+
* Draw New thread yourself, in `component` or `headerComponent`. bb's Rail
|
|
20491
|
+
* puts it in its header; Top list draws it as a row.
|
|
20492
|
+
*/
|
|
20493
|
+
interface ExperimentalSidebarNavigationRegistration {
|
|
20494
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
20495
|
+
id: string;
|
|
20496
|
+
/** Label shown in Settings → Appearance and capability details. */
|
|
20497
|
+
title: string;
|
|
20498
|
+
/** Optional one-line description shown with the provider choice. */
|
|
20499
|
+
description?: string;
|
|
20500
|
+
placement?: ExperimentalSidebarNavigationPlacement;
|
|
20501
|
+
component: ComponentType<ExperimentalSidebarNavigationProps>;
|
|
20502
|
+
/**
|
|
20503
|
+
* Rendered in the sidebar's header row while this navigation is active,
|
|
20504
|
+
* between the sidebar toggle and bb's back and forward buttons. Content is
|
|
20505
|
+
* clipped to the row, so it cannot move the thread list or bb's controls.
|
|
20506
|
+
* On macOS the empty space keeps dragging the window; buttons, links, and
|
|
20507
|
+
* inputs do not. A crashing header is replaced by the header of the
|
|
20508
|
+
* bundled Navigation plugin's provider for the same placement.
|
|
20509
|
+
*/
|
|
20510
|
+
headerComponent?: ComponentType<ExperimentalSidebarHeaderProps>;
|
|
20511
|
+
}
|
|
20205
20512
|
/**
|
|
20206
20513
|
* Register this plugin as a viewer/editor for file extensions. By default,
|
|
20207
20514
|
* matching files render the first applicable opener in deterministic slot
|
|
@@ -20226,8 +20533,9 @@ interface PluginFileOpenerRegistration {
|
|
|
20226
20533
|
* text — the native file preview and every plugin that calls
|
|
20227
20534
|
* `experimental_SourceCode`. Like `experimental_threadList` this slot is
|
|
20228
20535
|
* **exclusive**: one renderer at a time. Registering activates it while the
|
|
20229
|
-
* plugin is enabled; if several are registered
|
|
20230
|
-
*
|
|
20536
|
+
* plugin is enabled; if several are registered, one from a plugin the user
|
|
20537
|
+
* installed wins over one bundled with bb, then the first in deterministic
|
|
20538
|
+
* slot order. A missing, disabled, or crashing replacement falls back to BB's
|
|
20231
20539
|
* renderer, and a replacement can render `Original` to delegate
|
|
20232
20540
|
* per call (behind its own setting, by language, by size — whatever it needs).
|
|
20233
20541
|
*/
|
|
@@ -20673,6 +20981,12 @@ interface PluginAppSlots {
|
|
|
20673
20981
|
* docs/api_to_audit.md for what to audit before the prefix drops.
|
|
20674
20982
|
*/
|
|
20675
20983
|
experimental_threadList(registration: PluginThreadListRegistration): void;
|
|
20984
|
+
/**
|
|
20985
|
+
* Draw the sidebar navigation and its header controls (see
|
|
20986
|
+
* {@link ExperimentalSidebarNavigationRegistration}). Experimental: see
|
|
20987
|
+
* docs/api_to_audit.md.
|
|
20988
|
+
*/
|
|
20989
|
+
experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
|
|
20676
20990
|
/**
|
|
20677
20991
|
* Render a component in the thread header's action row (see
|
|
20678
20992
|
* {@link PluginThreadHeaderActionRegistration}). Experimental: see
|
|
@@ -21978,6 +22292,27 @@ interface PluginSdkApp {
|
|
|
21978
22292
|
* Experimental: see docs/api_to_audit.md.
|
|
21979
22293
|
*/
|
|
21980
22294
|
experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
|
|
22295
|
+
/**
|
|
22296
|
+
* The sidebar navigation items in the user's saved order, the active item,
|
|
22297
|
+
* and the host actions that activate, hide, reorder, and customize them
|
|
22298
|
+
* (see {@link ExperimentalSidebarNavigationState}). One model shared by
|
|
22299
|
+
* every navigation provider, bb's included. Items keep their identity while
|
|
22300
|
+
* unchanged. Outside the sidebar it returns no items and actions that do
|
|
22301
|
+
* nothing. Experimental: see docs/api_to_audit.md.
|
|
22302
|
+
*/
|
|
22303
|
+
experimental_useSidebarNavigation(): ExperimentalSidebarNavigationState;
|
|
22304
|
+
/**
|
|
22305
|
+
* Per-item drag-to-split support for navigation items (see
|
|
22306
|
+
* {@link ExperimentalSidebarNavigationSplit}). Call it once per rendered
|
|
22307
|
+
* item. Experimental: see docs/api_to_audit.md.
|
|
22308
|
+
*/
|
|
22309
|
+
experimental_useSidebarNavigationSplit(itemId: string, options?: ExperimentalSidebarNavigationSplitOptions): ExperimentalSidebarNavigationSplit;
|
|
22310
|
+
/**
|
|
22311
|
+
* bb's artwork for a navigation item's icon: bb's glyphs for its own items,
|
|
22312
|
+
* and the panel's explicit icon, falling back to plugin branding, for
|
|
22313
|
+
* plugin panels. Experimental: see docs/api_to_audit.md.
|
|
22314
|
+
*/
|
|
22315
|
+
experimental_SidebarNavigationIcon: ComponentType<ExperimentalSidebarNavigationIconProps>;
|
|
21981
22316
|
/**
|
|
21982
22317
|
* Whether the composer holds an unsent draft for one thread (see
|
|
21983
22318
|
* {@link PluginSidebarThreadDraftState}). Per row, because a draft is
|
|
@@ -24623,4 +24958,4 @@ declare const experimental_THREAD_ACTION_GROUPS: {
|
|
|
24623
24958
|
};
|
|
24624
24959
|
|
|
24625
24960
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_THREAD_ACTION_GROUPS, experimental_defineHostEntry };
|
|
24626
|
-
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, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, 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, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, 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, 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, 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, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
24961
|
+
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, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, 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, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, 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, 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, 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, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, 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
|
@@ -131,6 +131,15 @@ var experimental_useSidebarThreadPullRequest = runtimeFunction(
|
|
|
131
131
|
var experimental_useSidebarThreadSplit = runtimeFunction(
|
|
132
132
|
"experimental_useSidebarThreadSplit"
|
|
133
133
|
);
|
|
134
|
+
var experimental_useSidebarNavigation = runtimeFunction(
|
|
135
|
+
"experimental_useSidebarNavigation"
|
|
136
|
+
);
|
|
137
|
+
var experimental_useSidebarNavigationSplit = runtimeFunction(
|
|
138
|
+
"experimental_useSidebarNavigationSplit"
|
|
139
|
+
);
|
|
140
|
+
var experimental_SidebarNavigationIcon = runtimeComponent(
|
|
141
|
+
"experimental_SidebarNavigationIcon"
|
|
142
|
+
);
|
|
134
143
|
var useSidebarThreadDraft = runtimeFunction("useSidebarThreadDraft");
|
|
135
144
|
var useSidebarThreadDraftIds = runtimeFunction(
|
|
136
145
|
"useSidebarThreadDraftIds"
|
|
@@ -177,6 +186,7 @@ export {
|
|
|
177
186
|
experimental_PermissionModePicker,
|
|
178
187
|
experimental_ProviderIcon,
|
|
179
188
|
experimental_ProviderModelPicker,
|
|
189
|
+
experimental_SidebarNavigationIcon,
|
|
180
190
|
experimental_SourceCode,
|
|
181
191
|
experimental_THREAD_ACTION_GROUPS,
|
|
182
192
|
experimental_ThreadActionsContextMenu,
|
|
@@ -194,6 +204,8 @@ export {
|
|
|
194
204
|
experimental_usePluginId,
|
|
195
205
|
experimental_useProviders,
|
|
196
206
|
experimental_useQuestionFormHost,
|
|
207
|
+
experimental_useSidebarNavigation,
|
|
208
|
+
experimental_useSidebarNavigationSplit,
|
|
197
209
|
experimental_useSidebarThreadActions,
|
|
198
210
|
experimental_useSidebarThreadPullRequest,
|
|
199
211
|
experimental_useSidebarThreadSplit,
|