@inf-monkeys-tech/monkeys-design 1.0.78 → 1.0.80
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/dist/components/agent-workbench/index.d.mts +2 -2
- package/dist/components/agent-workbench/index.d.ts +2 -2
- package/dist/components/agent-workbench/index.js +104 -32
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +104 -32
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/{details-model-0c582b2c95a2.d.mts → details-model-0a4d9b50c99d.d.mts} +3 -1
- package/dist/{details-model-0c582b2c95a2.d.ts → details-model-0a4d9b50c99d.d.ts} +3 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +104 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +105 -33
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -157,6 +157,8 @@ interface AgentWorkbenchExploreSidebarProps {
|
|
|
157
157
|
error?: string;
|
|
158
158
|
showDraftSession?: boolean;
|
|
159
159
|
deleteSessions?: boolean;
|
|
160
|
+
/** Uses the compact session list treatment for trend workbenches. */
|
|
161
|
+
variant?: 'default' | 'trend';
|
|
160
162
|
defaultGroupId?: string;
|
|
161
163
|
header?: ReactNode;
|
|
162
164
|
footer?: ReactNode;
|
|
@@ -165,7 +167,7 @@ interface AgentWorkbenchExploreSidebarProps {
|
|
|
165
167
|
onIntent?: (intent: AgentWorkbenchExploreSidebarIntent) => void;
|
|
166
168
|
}
|
|
167
169
|
declare function AgentWorkbenchExploreCardMedia({ item, src, className, onError, }: AgentWorkbenchExploreCardMediaProps): null | react_jsx_runtime.JSX.Element;
|
|
168
|
-
declare function AgentWorkbenchExploreSidebar({ sessions, groups: configuredGroups, config, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, deleteSessions, defaultGroupId, header, footer, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
|
|
170
|
+
declare function AgentWorkbenchExploreSidebar({ sessions, groups: configuredGroups, config, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, deleteSessions, variant, defaultGroupId, header, footer, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
|
|
169
171
|
type SessionEventType = AgentSessionEvent['eventType'];
|
|
170
172
|
type AgentWorkbenchEventOf<Type extends SessionEventType> = Extract<AgentSessionEvent, {
|
|
171
173
|
eventType: Type;
|
|
@@ -157,6 +157,8 @@ interface AgentWorkbenchExploreSidebarProps {
|
|
|
157
157
|
error?: string;
|
|
158
158
|
showDraftSession?: boolean;
|
|
159
159
|
deleteSessions?: boolean;
|
|
160
|
+
/** Uses the compact session list treatment for trend workbenches. */
|
|
161
|
+
variant?: 'default' | 'trend';
|
|
160
162
|
defaultGroupId?: string;
|
|
161
163
|
header?: ReactNode;
|
|
162
164
|
footer?: ReactNode;
|
|
@@ -165,7 +167,7 @@ interface AgentWorkbenchExploreSidebarProps {
|
|
|
165
167
|
onIntent?: (intent: AgentWorkbenchExploreSidebarIntent) => void;
|
|
166
168
|
}
|
|
167
169
|
declare function AgentWorkbenchExploreCardMedia({ item, src, className, onError, }: AgentWorkbenchExploreCardMediaProps): null | react_jsx_runtime.JSX.Element;
|
|
168
|
-
declare function AgentWorkbenchExploreSidebar({ sessions, groups: configuredGroups, config, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, deleteSessions, defaultGroupId, header, footer, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
|
|
170
|
+
declare function AgentWorkbenchExploreSidebar({ sessions, groups: configuredGroups, config, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, deleteSessions, variant, defaultGroupId, header, footer, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
|
|
169
171
|
type SessionEventType = AgentSessionEvent['eventType'];
|
|
170
172
|
type AgentWorkbenchEventOf<Type extends SessionEventType> = Extract<AgentSessionEvent, {
|
|
171
173
|
eventType: Type;
|
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant,
|
|
|
5
5
|
export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.mjs';
|
|
6
6
|
export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-340390798922.mjs';
|
|
7
7
|
export { UnifiedDropdown, UnifiedDropdownClassNames, UnifiedDropdownGroup, UnifiedDropdownMode, UnifiedDropdownOption, UnifiedDropdownPlacement, UnifiedDropdownProps, UnifiedDropdownSlotContext, UnifiedDropdownSlots, UnifiedDropdownValue } from './components/dropdown/index.mjs';
|
|
8
|
-
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel } from './details-model-
|
|
8
|
+
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel } from './details-model-0a4d9b50c99d.mjs';
|
|
9
9
|
export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.mjs';
|
|
10
10
|
export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.mjs';
|
|
11
11
|
export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarFilterChipProps, aX as WorkbenchRadarFilterRow, aY as WorkbenchRadarFilterRowDisclosureBase, aZ as WorkbenchRadarFilterRowIntegratedDisclosure, a_ as WorkbenchRadarFilterRowProps, a$ as WorkbenchRadarFilterRowSeparateDisclosure, b0 as WorkbenchRadarInspectorSection, b1 as WorkbenchRadarLegendItem, b2 as WorkbenchRadarMatrix, b3 as WorkbenchRadarMatrixProps, b4 as WorkbenchRadarNavigation, b5 as WorkbenchRadarNavigationChild, b6 as WorkbenchRadarNavigationItem, b7 as WorkbenchRadarNavigationProps, b8 as WorkbenchRadarQuadrant, b9 as WorkbenchRadarWorkspace, ba as WorkbenchRadarWorkspaceProps, bb as WorkbenchRankedList, bc as WorkbenchRankedListItem, bd as WorkbenchRankedListMetric, be as WorkbenchRankedListProps, bf as WorkbenchRelationshipEdge, bg as WorkbenchRelationshipGraph, bh as WorkbenchRelationshipGraphProps, bi as WorkbenchRelationshipNode, bj as WorkbenchResizableSidebar, bk as WorkbenchResizableSidebarClassNames, bl as WorkbenchResizableSidebarItem, bm as WorkbenchResizableSidebarProps, bn as WorkbenchResizableSidebarSection, bo as WorkbenchScatterAxis, bp as WorkbenchScatterPlot, bq as WorkbenchScatterPlotProps, br as WorkbenchScatterPoint, bs as WorkbenchScatterThresholds, bt as WorkbenchSelectionTray, bu as WorkbenchSelectionTrayItem, bv as WorkbenchSelectionTrayProps, bw as WorkbenchTableView, bx as WorkbenchTableViewClassNames, by as WorkbenchTableViewColumn, bz as WorkbenchTableViewHeaderContext, bA as WorkbenchTableViewProps, bB as WorkbenchTableViewRenderContext, bC as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-b50483af5a5d.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { MonkeysComponentAttributes, MonkeysDirection, MonkeysEmptyStateVariant,
|
|
|
5
5
|
export { defaultMonkeysLocale, enUS, mergeMonkeysLocaleMessages, resolveMonkeysLocale, zhCN } from './locale/index.js';
|
|
6
6
|
export { M as MonkeysAgentWorkbenchMessages, a as MonkeysBuiltInLocaleId, b as MonkeysDataExplorerMessages, c as MonkeysDialogMessages, d as MonkeysDropdownMenuMessages, e as MonkeysLayoutMessages, f as MonkeysLoadingMessages, g as MonkeysLocale, h as MonkeysLocaleInput, i as MonkeysLocaleMessages, j as MonkeysLocaleMessagesOverride, k as MonkeysMultiSelectMessages, l as MonkeysNumberInputMessages, m as MonkeysPaginationMessages, n as MonkeysPasswordInputMessages, o as MonkeysResolvedLocale, p as MonkeysStepsMessages, q as MonkeysTableMessages, r as MonkeysToastMessages, s as MonkeysToolbarMessages, t as MonkeysWorkbenchMessages } from './types-340390798922.js';
|
|
7
7
|
export { UnifiedDropdown, UnifiedDropdownClassNames, UnifiedDropdownGroup, UnifiedDropdownMode, UnifiedDropdownOption, UnifiedDropdownPlacement, UnifiedDropdownProps, UnifiedDropdownSlotContext, UnifiedDropdownSlots, UnifiedDropdownValue } from './components/dropdown/index.js';
|
|
8
|
-
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel } from './details-model-
|
|
8
|
+
export { A as AgentWorkbenchActivity, a as AgentWorkbenchActivityClassNames, b as AgentWorkbenchActivityModel, c as AgentWorkbenchActivityProps, d as AgentWorkbenchApprovalIntent, e as AgentWorkbenchArtifactIntent, f as AgentWorkbenchDetailsIntent, g as AgentWorkbenchDetailsModel, h as AgentWorkbenchDetailsState, i as AgentWorkbenchDetailsTab, j as AgentWorkbenchEventOf, k as AgentWorkbenchExploreGroup, l as AgentWorkbenchExploreItem, m as AgentWorkbenchExploreSidebar, n as AgentWorkbenchExploreSidebarIntent, o as AgentWorkbenchExploreSidebarLabels, p as AgentWorkbenchExploreSidebarProps, q as AgentWorkbenchShell, r as AgentWorkbenchShellClassNames, s as AgentWorkbenchShellProps, t as AgentWorkbenchSidebar, u as AgentWorkbenchSidebarClassNames, v as AgentWorkbenchSidebarContainer, w as AgentWorkbenchSidebarContainerBodyProps, x as AgentWorkbenchSidebarContainerClassNames, y as AgentWorkbenchSidebarContainerProps, z as AgentWorkbenchSidebarIntent, B as AgentWorkbenchSidebarProps, C as AgentWorkbenchTaskDetails, D as AgentWorkbenchTaskDetailsClassNames, E as AgentWorkbenchTaskDetailsProps, F as AgentWorkbenchTerminalModel, G as AgentWorkbenchTool, H as AgentWorkbenchToolClassNames, I as AgentWorkbenchToolProps, J as createAgentWorkbenchActivityModel, K as createAgentWorkbenchDetailsModel } from './details-model-0a4d9b50c99d.js';
|
|
9
9
|
export { LoginPage, LoginPageBackgroundConfig, LoginPageCalloutConfig, LoginPageCheckboxConfig, LoginPageExternalMethodConfig, LoginPageExternalPanelConfig, LoginPageFieldConfig, LoginPageLogoConfig, LoginPageLogoLocation, LoginPageMethodConfig, LoginPageProps } from './components/login/index.js';
|
|
10
10
|
export { AppHeader, AppHeaderLogo, AppHeaderProps, AppHeaderUser, AppLayout, AppLayoutProps, AppShellSidebar, AppShellSidebarClassNames, AppShellSidebarProps, AppSidebar, AppSidebarProps, HeadbarLayout, HeadbarLayoutMode, HeadbarMenuRadius, HeadbarNavPosition, HeaderTab, LayoutNavItem, NavButton, NavButtonProps, NavigationLayout, NavigationLayoutProps, NavigationMode, SidebarAccount, SidebarNavItem, UserAccountMenu, UserAccountMenuClassNames, UserAccountMenuItem, UserAccountMenuProps, UserAccountMenuRadius, UserAccountMenuSelectorConfig, UserAccountMenuSelectorOption, UserAccountMenuSide, UserAccountMenuTriggerVariant, UserAccountMenuUser, cn } from './components/layout/index.js';
|
|
11
11
|
export { I as InteractiveTable, a as InteractiveTableClassNames, b as InteractiveTableColumn, c as InteractiveTableColumnMenuLabels, d as InteractiveTableEditableTextCell, e as InteractiveTableEditableTextCellProps, f as InteractiveTableHeaderContext, g as InteractiveTableHeaderProps, h as InteractiveTableProps, i as InteractiveTableReadonlyCell, j as InteractiveTableReadonlyCellProps, k as InteractiveTableRenderContext, l as InteractiveTableRowState, m as InteractiveTableSelectCell, n as InteractiveTableSelectCellProps, o as InteractiveTableSelectOption, W as WorkbenchAssetGallery, p as WorkbenchAssetGalleryItem, q as WorkbenchAssetGalleryProps, r as WorkbenchCollection, s as WorkbenchCollectionActivationEvent, t as WorkbenchCollectionAppearanceConfig, u as WorkbenchCollectionCallbacks, v as WorkbenchCollectionClassNames, w as WorkbenchCollectionConfig, x as WorkbenchCollectionGroupContext, y as WorkbenchCollectionGroupingConfig, z as WorkbenchCollectionHoverEffect, A as WorkbenchCollectionItemConfig, B as WorkbenchCollectionItemContext, C as WorkbenchCollectionItemSize, D as WorkbenchCollectionItemSlotName, E as WorkbenchCollectionItemSlots, F as WorkbenchCollectionItemStatus, G as WorkbenchCollectionItemTitleConfig, H as WorkbenchCollectionKey, J as WorkbenchCollectionLabels, K as WorkbenchCollectionLayoutConfig, L as WorkbenchCollectionLayoutContext, M as WorkbenchCollectionLayoutMode, N as WorkbenchCollectionLayoutSnapshot, O as WorkbenchCollectionLoadingConfig, P as WorkbenchCollectionLoadingVariant, Q as WorkbenchCollectionProps, R as WorkbenchCollectionResponsive, S as WorkbenchCollectionSelectionBehavior, T as WorkbenchCollectionSelectionConfig, U as WorkbenchCollectionSelectionMode, V as WorkbenchCollectionSkeletonConfig, X as WorkbenchCollectionSlotContext, Y as WorkbenchCollectionSlots, Z as WorkbenchCollectionStateConfig, _ as WorkbenchCollectionTitlePlacement, $ as WorkbenchCollectionTitleVisibility, a0 as WorkbenchCollectionVirtualizationAdapter, a1 as WorkbenchCollectionVirtualizationConfig, a2 as WorkbenchCollectionVirtualizationRenderOptions, a3 as WorkbenchContentPane, a4 as WorkbenchContentPaneBodyProps, a5 as WorkbenchContentPaneClassNames, a6 as WorkbenchContentPaneProps, a7 as WorkbenchContentToolbar, a8 as WorkbenchContentToolbarClassNames, a9 as WorkbenchContentToolbarProps, aa as WorkbenchContentToolbarViewModeOption, ab as WorkbenchDetailSidebar, ac as WorkbenchDetailSidebarBodyProps, ad as WorkbenchDetailSidebarClassNames, ae as WorkbenchDetailSidebarField, af as WorkbenchDetailSidebarProps, ag as WorkbenchDetailSidebarRenderContext, ah as WorkbenchDetailSidebarSection, ai as WorkbenchEvidenceItem, aj as WorkbenchEvidenceList, ak as WorkbenchEvidenceListProps, al as WorkbenchGalleryCard, am as WorkbenchGalleryCardMetaContext, an as WorkbenchGalleryCardProps, ao as WorkbenchGalleryCardRenderContext, ap as WorkbenchGalleryColumn, aq as WorkbenchGalleryLabels, ar as WorkbenchGalleryRecordVisual, as as WorkbenchGallerySettingsButton, at as WorkbenchGallerySettingsButtonClassNames, au as WorkbenchGallerySettingsButtonProps, av as WorkbenchGallerySettingsLabels, aw as WorkbenchGallerySettingsOption, ax as WorkbenchGallerySettingsPanel, ay as WorkbenchGallerySettingsPanelClassNames, az as WorkbenchGallerySettingsPanelProps, aA as WorkbenchGallerySettingsValue, aB as WorkbenchGalleryView, aC as WorkbenchGalleryViewProps, aD as WorkbenchJourneyItem, aE as WorkbenchJourneyItemState, aF as WorkbenchJourneyNavigation, aG as WorkbenchJourneyNavigationProps, aH as WorkbenchLaneClassNames, aI as WorkbenchLaneColumn, aJ as WorkbenchLaneRenderCardContext, aK as WorkbenchLaneView, aL as WorkbenchLaneViewProps, aM as WorkbenchMasonryItemSize, aN as WorkbenchMasonryLayout, aO as WorkbenchMasonryLayoutContext, aP as WorkbenchMasonryLayoutProps, aQ as WorkbenchMetricGrid, aR as WorkbenchMetricGridDensity, aS as WorkbenchMetricGridProps, aT as WorkbenchMetricGridVariant, aU as WorkbenchMetricItem, aV as WorkbenchRadarFilterChip, aW as WorkbenchRadarFilterChipProps, aX as WorkbenchRadarFilterRow, aY as WorkbenchRadarFilterRowDisclosureBase, aZ as WorkbenchRadarFilterRowIntegratedDisclosure, a_ as WorkbenchRadarFilterRowProps, a$ as WorkbenchRadarFilterRowSeparateDisclosure, b0 as WorkbenchRadarInspectorSection, b1 as WorkbenchRadarLegendItem, b2 as WorkbenchRadarMatrix, b3 as WorkbenchRadarMatrixProps, b4 as WorkbenchRadarNavigation, b5 as WorkbenchRadarNavigationChild, b6 as WorkbenchRadarNavigationItem, b7 as WorkbenchRadarNavigationProps, b8 as WorkbenchRadarQuadrant, b9 as WorkbenchRadarWorkspace, ba as WorkbenchRadarWorkspaceProps, bb as WorkbenchRankedList, bc as WorkbenchRankedListItem, bd as WorkbenchRankedListMetric, be as WorkbenchRankedListProps, bf as WorkbenchRelationshipEdge, bg as WorkbenchRelationshipGraph, bh as WorkbenchRelationshipGraphProps, bi as WorkbenchRelationshipNode, bj as WorkbenchResizableSidebar, bk as WorkbenchResizableSidebarClassNames, bl as WorkbenchResizableSidebarItem, bm as WorkbenchResizableSidebarProps, bn as WorkbenchResizableSidebarSection, bo as WorkbenchScatterAxis, bp as WorkbenchScatterPlot, bq as WorkbenchScatterPlotProps, br as WorkbenchScatterPoint, bs as WorkbenchScatterThresholds, bt as WorkbenchSelectionTray, bu as WorkbenchSelectionTrayItem, bv as WorkbenchSelectionTrayProps, bw as WorkbenchTableView, bx as WorkbenchTableViewClassNames, by as WorkbenchTableViewColumn, bz as WorkbenchTableViewHeaderContext, bA as WorkbenchTableViewProps, bB as WorkbenchTableViewRenderContext, bC as WorkbenchVisualizationTone } from './WorkbenchRadarMatrix-2ec5e4970f24.js';
|
package/dist/index.js
CHANGED
|
@@ -18404,6 +18404,7 @@ function AgentWorkbenchSidebarSearch({
|
|
|
18404
18404
|
label,
|
|
18405
18405
|
placeholder = label,
|
|
18406
18406
|
className,
|
|
18407
|
+
variant = "default",
|
|
18407
18408
|
onChange
|
|
18408
18409
|
}) {
|
|
18409
18410
|
const messages = useMonkeysLocaleMessages().agentWorkbench.navigation;
|
|
@@ -18419,47 +18420,60 @@ function AgentWorkbenchSidebarSearch({
|
|
|
18419
18420
|
window.addEventListener("keydown", handleShortcut);
|
|
18420
18421
|
return () => window.removeEventListener("keydown", handleShortcut);
|
|
18421
18422
|
}, []);
|
|
18422
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18423
|
-
|
|
18424
|
-
|
|
18425
|
-
|
|
18426
|
-
|
|
18427
|
-
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
"aria-
|
|
18431
|
-
|
|
18432
|
-
|
|
18433
|
-
|
|
18434
|
-
|
|
18435
|
-
|
|
18436
|
-
|
|
18437
|
-
|
|
18438
|
-
|
|
18439
|
-
|
|
18440
|
-
|
|
18441
|
-
|
|
18442
|
-
|
|
18443
|
-
|
|
18444
|
-
|
|
18445
|
-
|
|
18446
|
-
|
|
18447
|
-
|
|
18448
|
-
|
|
18449
|
-
|
|
18450
|
-
|
|
18423
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18424
|
+
InputGroup,
|
|
18425
|
+
{
|
|
18426
|
+
className: cn2(
|
|
18427
|
+
variant === "trend" ? "h-12 rounded-[var(--radius)] border-border bg-card text-foreground" : "h-10 rounded-lg bg-card",
|
|
18428
|
+
className
|
|
18429
|
+
),
|
|
18430
|
+
children: [
|
|
18431
|
+
/* @__PURE__ */ jsxRuntime.jsx(InputGroupAddon, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "size-4", "aria-hidden": "true" }) }),
|
|
18432
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18433
|
+
InputGroupInput,
|
|
18434
|
+
{
|
|
18435
|
+
ref: searchRef,
|
|
18436
|
+
type: "search",
|
|
18437
|
+
value,
|
|
18438
|
+
"aria-label": label,
|
|
18439
|
+
placeholder,
|
|
18440
|
+
className: "min-w-0 [&::-webkit-search-cancel-button]:hidden",
|
|
18441
|
+
onChange: (event) => onChange(event.target.value),
|
|
18442
|
+
onKeyDown: (event) => {
|
|
18443
|
+
if (event.key !== "Escape") return;
|
|
18444
|
+
onChange("");
|
|
18445
|
+
event.currentTarget.blur();
|
|
18446
|
+
}
|
|
18447
|
+
}
|
|
18448
|
+
),
|
|
18449
|
+
value ? /* @__PURE__ */ jsxRuntime.jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18450
|
+
InputGroupButton,
|
|
18451
|
+
{
|
|
18452
|
+
size: "icon-xs",
|
|
18453
|
+
"aria-label": messages.clearSearch,
|
|
18454
|
+
onClick: () => onChange(""),
|
|
18455
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-3.5", "aria-hidden": "true" })
|
|
18456
|
+
}
|
|
18457
|
+
) }) : /* @__PURE__ */ jsxRuntime.jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "border border-border px-1.5 py-0.5 text-[10px]", children: "Ctrl K" }) })
|
|
18458
|
+
]
|
|
18459
|
+
}
|
|
18460
|
+
);
|
|
18451
18461
|
}
|
|
18452
18462
|
function AgentWorkbenchSidebarNewSessionButton({
|
|
18453
18463
|
label,
|
|
18454
18464
|
className,
|
|
18465
|
+
variant = "default",
|
|
18455
18466
|
onClick
|
|
18456
18467
|
}) {
|
|
18457
18468
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18458
18469
|
Button,
|
|
18459
18470
|
{
|
|
18460
18471
|
type: "button",
|
|
18461
|
-
variant: "ghost",
|
|
18462
|
-
className: cn2(
|
|
18472
|
+
variant: variant === "trend" ? "default" : "ghost",
|
|
18473
|
+
className: cn2(
|
|
18474
|
+
variant === "trend" ? "h-11 w-full justify-center gap-2 rounded-[var(--radius)] border border-primary/60 bg-primary px-3 font-semibold text-primary-foreground hover:bg-primary/90" : "h-9 w-full justify-start gap-2 px-3 text-sm",
|
|
18475
|
+
className
|
|
18476
|
+
),
|
|
18463
18477
|
onClick,
|
|
18464
18478
|
children: [
|
|
18465
18479
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
@@ -18548,6 +18562,7 @@ function AgentWorkbenchSessionList({
|
|
|
18548
18562
|
retryLabel,
|
|
18549
18563
|
groupByMode = false,
|
|
18550
18564
|
showHeading = false,
|
|
18565
|
+
variant = "default",
|
|
18551
18566
|
className,
|
|
18552
18567
|
itemClassName,
|
|
18553
18568
|
capabilities,
|
|
@@ -18607,6 +18622,59 @@ function AgentWorkbenchSessionList({
|
|
|
18607
18622
|
if (sessions.length === 0) {
|
|
18608
18623
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-8 text-center text-sm text-muted-foreground", children: query ? noResultsLabel : emptyLabel });
|
|
18609
18624
|
}
|
|
18625
|
+
const renderTrendItems = (items) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18626
|
+
"div",
|
|
18627
|
+
{
|
|
18628
|
+
"aria-current": item.id === selectedSessionId ? "page" : void 0,
|
|
18629
|
+
className: "group flex h-10 w-full min-w-0 items-center rounded-[var(--radius)] border border-transparent bg-muted/60 text-foreground transition hover:bg-muted aria-[current=page]:border-primary aria-[current=page]:bg-primary/10",
|
|
18630
|
+
children: [
|
|
18631
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18632
|
+
"button",
|
|
18633
|
+
{
|
|
18634
|
+
type: "button",
|
|
18635
|
+
title: item.title,
|
|
18636
|
+
className: "h-full min-w-0 flex-1 truncate px-3 text-left text-sm font-semibold",
|
|
18637
|
+
onClick: () => onSelect(item.id),
|
|
18638
|
+
children: item.title
|
|
18639
|
+
}
|
|
18640
|
+
),
|
|
18641
|
+
capabilities?.delete ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18642
|
+
"span",
|
|
18643
|
+
{
|
|
18644
|
+
"data-agent-workbench-item-actions": true,
|
|
18645
|
+
className: "mr-1 shrink-0 opacity-0 transition-opacity group-aria-[current=page]:opacity-100 group-focus-within:opacity-100 group-hover:opacity-100",
|
|
18646
|
+
onClick: (event) => event.stopPropagation(),
|
|
18647
|
+
onKeyDown: (event) => event.stopPropagation(),
|
|
18648
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu4, { children: [
|
|
18649
|
+
/* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18650
|
+
Button,
|
|
18651
|
+
{
|
|
18652
|
+
type: "button",
|
|
18653
|
+
variant: "ghost",
|
|
18654
|
+
size: "icon",
|
|
18655
|
+
"aria-label": messages.actions,
|
|
18656
|
+
className: "size-8 text-muted-foreground",
|
|
18657
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Ellipsis, { className: "size-4", "aria-hidden": "true" })
|
|
18658
|
+
}
|
|
18659
|
+
) }),
|
|
18660
|
+
/* @__PURE__ */ jsxRuntime.jsx(DropdownMenuContent, { align: "end", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18661
|
+
DropdownMenuItem,
|
|
18662
|
+
{
|
|
18663
|
+
className: "text-destructive-text",
|
|
18664
|
+
onSelect: () => onDelete?.(item.id),
|
|
18665
|
+
children: [
|
|
18666
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Trash2, { className: "mr-2 size-4", "aria-hidden": "true" }),
|
|
18667
|
+
messages.delete
|
|
18668
|
+
]
|
|
18669
|
+
}
|
|
18670
|
+
) })
|
|
18671
|
+
] })
|
|
18672
|
+
}
|
|
18673
|
+
) : null
|
|
18674
|
+
]
|
|
18675
|
+
},
|
|
18676
|
+
item.id
|
|
18677
|
+
)) });
|
|
18610
18678
|
const renderItems = (items) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1", children: items.map((item) => {
|
|
18611
18679
|
const percent = item.contextUsage && item.contextUsage.maxTokens > 0 ? Math.min(
|
|
18612
18680
|
100,
|
|
@@ -18763,7 +18831,7 @@ function AgentWorkbenchSessionList({
|
|
|
18763
18831
|
}) });
|
|
18764
18832
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn2("space-y-2", className), children: [
|
|
18765
18833
|
showHeading && !groupByMode ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 px-3 text-xs font-medium text-muted-foreground", children: messages.recentSessions }) : null,
|
|
18766
|
-
groupByMode ? [
|
|
18834
|
+
variant === "trend" ? renderTrendItems(sessions) : groupByMode ? [
|
|
18767
18835
|
{
|
|
18768
18836
|
id: "chatbot",
|
|
18769
18837
|
label: messages.chats,
|
|
@@ -19192,6 +19260,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
19192
19260
|
error,
|
|
19193
19261
|
showDraftSession = !selectedSessionId,
|
|
19194
19262
|
deleteSessions = false,
|
|
19263
|
+
variant = "default",
|
|
19195
19264
|
defaultGroupId,
|
|
19196
19265
|
header,
|
|
19197
19266
|
footer,
|
|
@@ -19277,6 +19346,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
19277
19346
|
{
|
|
19278
19347
|
value: searchQuery,
|
|
19279
19348
|
label: labels.search,
|
|
19349
|
+
variant,
|
|
19280
19350
|
onChange: (query) => onIntent?.({ type: "change-search", query })
|
|
19281
19351
|
}
|
|
19282
19352
|
) : void 0,
|
|
@@ -19284,6 +19354,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
19284
19354
|
AgentWorkbenchSidebarNewSessionButton,
|
|
19285
19355
|
{
|
|
19286
19356
|
label: labels.newSession,
|
|
19357
|
+
variant,
|
|
19287
19358
|
onClick: () => onIntent?.({ type: "create-session" })
|
|
19288
19359
|
}
|
|
19289
19360
|
) : void 0,
|
|
@@ -19315,6 +19386,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
19315
19386
|
noResultsLabel: labels.noResults,
|
|
19316
19387
|
retryLabel: labels.retry,
|
|
19317
19388
|
groupByMode: resolvedConfig.navigationMode !== "default",
|
|
19389
|
+
variant,
|
|
19318
19390
|
capabilities: { delete: deleteSessions },
|
|
19319
19391
|
onSelect: (sessionId) => onIntent?.({ type: "select-session", sessionId }),
|
|
19320
19392
|
onDelete: (sessionId) => onIntent?.({ type: "delete-session", sessionId }),
|