@inf-monkeys-tech/monkeys-design 1.0.74 → 1.0.75

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.
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { AgentWorkbenchNavigationViewModel, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
3
- import { ReactNode, ReactEventHandler } from 'react';
3
+ import { ReactNode, ReactEventHandler, HTMLAttributes } from 'react';
4
4
  type AgentWorkbenchSidebarIntent = {
5
5
  type: 'change-search';
6
6
  query: string;
@@ -97,6 +97,9 @@ type AgentWorkbenchExploreSidebarIntent = {
97
97
  query: string;
98
98
  } | {
99
99
  type: "create-session";
100
+ } | {
101
+ type: "delete-session";
102
+ sessionId: string;
100
103
  } | {
101
104
  type: "retry-sessions";
102
105
  } | {
@@ -116,13 +119,14 @@ interface AgentWorkbenchExploreSidebarProps {
116
119
  loading?: boolean;
117
120
  error?: string;
118
121
  showDraftSession?: boolean;
122
+ deleteSessions?: boolean;
119
123
  defaultGroupId?: string;
120
124
  className?: string;
121
125
  renderItemMedia?: (item: AgentWorkbenchExploreItem, group: AgentWorkbenchExploreGroup) => ReactNode;
122
126
  onIntent?: (intent: AgentWorkbenchExploreSidebarIntent) => void;
123
127
  }
124
128
  declare function AgentWorkbenchExploreCardMedia({ item, src, className, onError, }: AgentWorkbenchExploreCardMediaProps): null | react_jsx_runtime.JSX.Element;
125
- declare function AgentWorkbenchExploreSidebar({ sessions, groups, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, defaultGroupId, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
129
+ declare function AgentWorkbenchExploreSidebar({ sessions, groups, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, deleteSessions, defaultGroupId, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
126
130
  type SessionEventType = AgentSessionEvent['eventType'];
127
131
  type AgentWorkbenchEventOf<Type extends SessionEventType> = Extract<AgentSessionEvent, {
128
132
  eventType: Type;
@@ -240,6 +244,34 @@ interface AgentWorkbenchToolProps {
240
244
  onExpandedChange?: (expanded: boolean) => void;
241
245
  }
242
246
  declare function AgentWorkbenchTool({ event, expanded, defaultExpanded, className, classNames, onExpandedChange, }: AgentWorkbenchToolProps): react_jsx_runtime.JSX.Element;
247
+ interface AgentWorkbenchShellClassNames {
248
+ root?: string;
249
+ sidebar?: string;
250
+ main?: string;
251
+ details?: string;
252
+ }
253
+ interface AgentWorkbenchShellProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
254
+ /** Left navigation content. The shell only owns its layout and overflow boundary. */
255
+ sidebar?: ReactNode;
256
+ /** Primary conversation content. */
257
+ children: ReactNode;
258
+ /** Optional right-side task details or artifact workspace. */
259
+ details?: ReactNode;
260
+ /** Whether the left navigation participates in the layout. */
261
+ sidebarOpen?: boolean;
262
+ /** Whether the right-side details participate in the layout. */
263
+ detailsOpen?: boolean;
264
+ /** Width of the left navigation column in CSS pixels or any valid CSS size. */
265
+ sidebarWidth?: number | string;
266
+ /** Width of the right details column in CSS pixels or any valid CSS size. */
267
+ detailsWidth?: number | string;
268
+ classNames?: AgentWorkbenchShellClassNames;
269
+ }
270
+ /**
271
+ * Layout-only shell for Agent workbenches. Each region owns its internal
272
+ * scrolling, while the shell prevents the three-column frame from growing.
273
+ */
274
+ declare function AgentWorkbenchShell({ sidebar, children, details, sidebarOpen, detailsOpen, sidebarWidth, detailsWidth, className, classNames, style, ...rootProps }: AgentWorkbenchShellProps): react_jsx_runtime.JSX.Element;
243
275
  interface AgentWorkbenchTerminalModel {
244
276
  terminalId: string;
245
277
  stdin: string;
@@ -270,4 +302,4 @@ interface AgentWorkbenchDetailsModel {
270
302
  };
271
303
  }
272
304
  declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
273
- export { AgentWorkbenchActivity as A, type AgentWorkbenchToolProps as B, createAgentWorkbenchActivityModel as C, createAgentWorkbenchDetailsModel as D, AgentWorkbenchApproval as E, type AgentWorkbenchApprovalData as F, type AgentWorkbenchApprovalProps as G, AgentWorkbenchExploreCardMedia as H, type AgentWorkbenchExploreCardMediaProps as I, type AgentWorkbenchExploreMediaTreatment as J, type AgentWorkbenchExploreMediaVariant as K, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchSidebar as q, type AgentWorkbenchSidebarClassNames as r, type AgentWorkbenchSidebarIntent as s, type AgentWorkbenchSidebarProps as t, AgentWorkbenchTaskDetails as u, type AgentWorkbenchTaskDetailsClassNames as v, type AgentWorkbenchTaskDetailsProps as w, type AgentWorkbenchTerminalModel as x, AgentWorkbenchTool as y, type AgentWorkbenchToolClassNames as z };
305
+ export { AgentWorkbenchActivity as A, type AgentWorkbenchTerminalModel as B, AgentWorkbenchTool as C, type AgentWorkbenchToolClassNames as D, type AgentWorkbenchToolProps as E, createAgentWorkbenchActivityModel as F, createAgentWorkbenchDetailsModel as G, AgentWorkbenchApproval as H, type AgentWorkbenchApprovalData as I, type AgentWorkbenchApprovalProps as J, AgentWorkbenchExploreCardMedia as K, type AgentWorkbenchExploreCardMediaProps as L, type AgentWorkbenchExploreMediaTreatment as M, type AgentWorkbenchExploreMediaVariant as N, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchShell as q, type AgentWorkbenchShellClassNames as r, type AgentWorkbenchShellProps as s, AgentWorkbenchSidebar as t, type AgentWorkbenchSidebarClassNames as u, type AgentWorkbenchSidebarIntent as v, type AgentWorkbenchSidebarProps as w, AgentWorkbenchTaskDetails as x, type AgentWorkbenchTaskDetailsClassNames as y, type AgentWorkbenchTaskDetailsProps as z };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { AgentWorkbenchNavigationViewModel, AgentWorkbenchSessionItem, AgentSessionViewModel, AgentSessionEvent, AgentSessionCapabilities } from '@inf-monkeys-tech/monkeys';
3
- import { ReactNode, ReactEventHandler } from 'react';
3
+ import { ReactNode, ReactEventHandler, HTMLAttributes } from 'react';
4
4
  type AgentWorkbenchSidebarIntent = {
5
5
  type: 'change-search';
6
6
  query: string;
@@ -97,6 +97,9 @@ type AgentWorkbenchExploreSidebarIntent = {
97
97
  query: string;
98
98
  } | {
99
99
  type: "create-session";
100
+ } | {
101
+ type: "delete-session";
102
+ sessionId: string;
100
103
  } | {
101
104
  type: "retry-sessions";
102
105
  } | {
@@ -116,13 +119,14 @@ interface AgentWorkbenchExploreSidebarProps {
116
119
  loading?: boolean;
117
120
  error?: string;
118
121
  showDraftSession?: boolean;
122
+ deleteSessions?: boolean;
119
123
  defaultGroupId?: string;
120
124
  className?: string;
121
125
  renderItemMedia?: (item: AgentWorkbenchExploreItem, group: AgentWorkbenchExploreGroup) => ReactNode;
122
126
  onIntent?: (intent: AgentWorkbenchExploreSidebarIntent) => void;
123
127
  }
124
128
  declare function AgentWorkbenchExploreCardMedia({ item, src, className, onError, }: AgentWorkbenchExploreCardMediaProps): null | react_jsx_runtime.JSX.Element;
125
- declare function AgentWorkbenchExploreSidebar({ sessions, groups, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, defaultGroupId, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
129
+ declare function AgentWorkbenchExploreSidebar({ sessions, groups, labels, selectedSessionId, searchQuery, loading, error, showDraftSession, deleteSessions, defaultGroupId, className, renderItemMedia, onIntent, }: AgentWorkbenchExploreSidebarProps): react_jsx_runtime.JSX.Element;
126
130
  type SessionEventType = AgentSessionEvent['eventType'];
127
131
  type AgentWorkbenchEventOf<Type extends SessionEventType> = Extract<AgentSessionEvent, {
128
132
  eventType: Type;
@@ -240,6 +244,34 @@ interface AgentWorkbenchToolProps {
240
244
  onExpandedChange?: (expanded: boolean) => void;
241
245
  }
242
246
  declare function AgentWorkbenchTool({ event, expanded, defaultExpanded, className, classNames, onExpandedChange, }: AgentWorkbenchToolProps): react_jsx_runtime.JSX.Element;
247
+ interface AgentWorkbenchShellClassNames {
248
+ root?: string;
249
+ sidebar?: string;
250
+ main?: string;
251
+ details?: string;
252
+ }
253
+ interface AgentWorkbenchShellProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
254
+ /** Left navigation content. The shell only owns its layout and overflow boundary. */
255
+ sidebar?: ReactNode;
256
+ /** Primary conversation content. */
257
+ children: ReactNode;
258
+ /** Optional right-side task details or artifact workspace. */
259
+ details?: ReactNode;
260
+ /** Whether the left navigation participates in the layout. */
261
+ sidebarOpen?: boolean;
262
+ /** Whether the right-side details participate in the layout. */
263
+ detailsOpen?: boolean;
264
+ /** Width of the left navigation column in CSS pixels or any valid CSS size. */
265
+ sidebarWidth?: number | string;
266
+ /** Width of the right details column in CSS pixels or any valid CSS size. */
267
+ detailsWidth?: number | string;
268
+ classNames?: AgentWorkbenchShellClassNames;
269
+ }
270
+ /**
271
+ * Layout-only shell for Agent workbenches. Each region owns its internal
272
+ * scrolling, while the shell prevents the three-column frame from growing.
273
+ */
274
+ declare function AgentWorkbenchShell({ sidebar, children, details, sidebarOpen, detailsOpen, sidebarWidth, detailsWidth, className, classNames, style, ...rootProps }: AgentWorkbenchShellProps): react_jsx_runtime.JSX.Element;
243
275
  interface AgentWorkbenchTerminalModel {
244
276
  terminalId: string;
245
277
  stdin: string;
@@ -270,4 +302,4 @@ interface AgentWorkbenchDetailsModel {
270
302
  };
271
303
  }
272
304
  declare function createAgentWorkbenchDetailsModel(viewModel: AgentSessionViewModel): AgentWorkbenchDetailsModel;
273
- export { AgentWorkbenchActivity as A, type AgentWorkbenchToolProps as B, createAgentWorkbenchActivityModel as C, createAgentWorkbenchDetailsModel as D, AgentWorkbenchApproval as E, type AgentWorkbenchApprovalData as F, type AgentWorkbenchApprovalProps as G, AgentWorkbenchExploreCardMedia as H, type AgentWorkbenchExploreCardMediaProps as I, type AgentWorkbenchExploreMediaTreatment as J, type AgentWorkbenchExploreMediaVariant as K, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchSidebar as q, type AgentWorkbenchSidebarClassNames as r, type AgentWorkbenchSidebarIntent as s, type AgentWorkbenchSidebarProps as t, AgentWorkbenchTaskDetails as u, type AgentWorkbenchTaskDetailsClassNames as v, type AgentWorkbenchTaskDetailsProps as w, type AgentWorkbenchTerminalModel as x, AgentWorkbenchTool as y, type AgentWorkbenchToolClassNames as z };
305
+ export { AgentWorkbenchActivity as A, type AgentWorkbenchTerminalModel as B, AgentWorkbenchTool as C, type AgentWorkbenchToolClassNames as D, type AgentWorkbenchToolProps as E, createAgentWorkbenchActivityModel as F, createAgentWorkbenchDetailsModel as G, AgentWorkbenchApproval as H, type AgentWorkbenchApprovalData as I, type AgentWorkbenchApprovalProps as J, AgentWorkbenchExploreCardMedia as K, type AgentWorkbenchExploreCardMediaProps as L, type AgentWorkbenchExploreMediaTreatment as M, type AgentWorkbenchExploreMediaVariant as N, type AgentWorkbenchActivityClassNames as a, type AgentWorkbenchActivityModel as b, type AgentWorkbenchActivityProps as c, type AgentWorkbenchApprovalIntent as d, type AgentWorkbenchArtifactIntent as e, type AgentWorkbenchDetailsIntent as f, type AgentWorkbenchDetailsModel as g, type AgentWorkbenchDetailsState as h, type AgentWorkbenchDetailsTab as i, type AgentWorkbenchEventOf as j, type AgentWorkbenchExploreGroup as k, type AgentWorkbenchExploreItem as l, AgentWorkbenchExploreSidebar as m, type AgentWorkbenchExploreSidebarIntent as n, type AgentWorkbenchExploreSidebarLabels as o, type AgentWorkbenchExploreSidebarProps as p, AgentWorkbenchShell as q, type AgentWorkbenchShellClassNames as r, type AgentWorkbenchShellProps as s, AgentWorkbenchSidebar as t, type AgentWorkbenchSidebarClassNames as u, type AgentWorkbenchSidebarIntent as v, type AgentWorkbenchSidebarProps as w, AgentWorkbenchTaskDetails as x, type AgentWorkbenchTaskDetailsClassNames as y, type AgentWorkbenchTaskDetailsProps as z };
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 AgentWorkbenchSidebar, r as AgentWorkbenchSidebarClassNames, s as AgentWorkbenchSidebarIntent, t as AgentWorkbenchSidebarProps, u as AgentWorkbenchTaskDetails, v as AgentWorkbenchTaskDetailsClassNames, w as AgentWorkbenchTaskDetailsProps, x as AgentWorkbenchTerminalModel, y as AgentWorkbenchTool, z as AgentWorkbenchToolClassNames, B as AgentWorkbenchToolProps, C as createAgentWorkbenchActivityModel, D as createAgentWorkbenchDetailsModel } from './details-model-49d05d8a4e6d.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 AgentWorkbenchSidebarIntent, w as AgentWorkbenchSidebarProps, x as AgentWorkbenchTaskDetails, y as AgentWorkbenchTaskDetailsClassNames, z as AgentWorkbenchTaskDetailsProps, B as AgentWorkbenchTerminalModel, C as AgentWorkbenchTool, D as AgentWorkbenchToolClassNames, E as AgentWorkbenchToolProps, F as createAgentWorkbenchActivityModel, G as createAgentWorkbenchDetailsModel } from './details-model-eb8fafc32d00.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 AgentWorkbenchSidebar, r as AgentWorkbenchSidebarClassNames, s as AgentWorkbenchSidebarIntent, t as AgentWorkbenchSidebarProps, u as AgentWorkbenchTaskDetails, v as AgentWorkbenchTaskDetailsClassNames, w as AgentWorkbenchTaskDetailsProps, x as AgentWorkbenchTerminalModel, y as AgentWorkbenchTool, z as AgentWorkbenchToolClassNames, B as AgentWorkbenchToolProps, C as createAgentWorkbenchActivityModel, D as createAgentWorkbenchDetailsModel } from './details-model-49d05d8a4e6d.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 AgentWorkbenchSidebarIntent, w as AgentWorkbenchSidebarProps, x as AgentWorkbenchTaskDetails, y as AgentWorkbenchTaskDetailsClassNames, z as AgentWorkbenchTaskDetailsProps, B as AgentWorkbenchTerminalModel, C as AgentWorkbenchTool, D as AgentWorkbenchToolClassNames, E as AgentWorkbenchToolProps, F as createAgentWorkbenchActivityModel, G as createAgentWorkbenchDetailsModel } from './details-model-eb8fafc32d00.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
@@ -18717,11 +18717,13 @@ function AgentWorkbenchExploreSidebar({
18717
18717
  loading = false,
18718
18718
  error,
18719
18719
  showDraftSession = !selectedSessionId,
18720
+ deleteSessions = false,
18720
18721
  defaultGroupId,
18721
18722
  className,
18722
18723
  renderItemMedia,
18723
18724
  onIntent
18724
18725
  }) {
18726
+ const navigationMessages = useMonkeysLocaleMessages().agentWorkbench.navigation;
18725
18727
  const searchRef = React4.useRef(null);
18726
18728
  const [activeGroupId, setActiveGroupId] = React4.useState(
18727
18729
  defaultGroupId ?? groups[0]?.id ?? ""
@@ -18827,15 +18829,50 @@ function AgentWorkbenchExploreSidebar({
18827
18829
  children: labels.draftSession
18828
18830
  }
18829
18831
  ) : null,
18830
- filteredSessions.map((session) => /* @__PURE__ */ jsxRuntime.jsx(
18831
- "button",
18832
+ filteredSessions.map((session) => /* @__PURE__ */ jsxRuntime.jsxs(
18833
+ "div",
18832
18834
  {
18833
- type: "button",
18834
- title: session.title,
18835
18835
  "aria-current": session.id === selectedSessionId ? "page" : void 0,
18836
- className: "block h-10 w-full min-w-0 truncate rounded-[var(--radius)] border border-transparent bg-muted/60 px-3 text-left text-sm font-semibold text-foreground transition hover:bg-muted aria-[current=page]:border-primary aria-[current=page]:bg-primary/10",
18837
- onClick: () => onIntent?.({ type: "select-session", sessionId: session.id }),
18838
- children: session.title
18836
+ 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",
18837
+ children: [
18838
+ /* @__PURE__ */ jsxRuntime.jsx(
18839
+ "button",
18840
+ {
18841
+ type: "button",
18842
+ title: session.title,
18843
+ className: "h-full min-w-0 flex-1 truncate px-3 text-left text-sm font-semibold",
18844
+ onClick: () => onIntent?.({ type: "select-session", sessionId: session.id }),
18845
+ children: session.title
18846
+ }
18847
+ ),
18848
+ deleteSessions ? /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenu4, { children: [
18849
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
18850
+ Button,
18851
+ {
18852
+ type: "button",
18853
+ variant: "ghost",
18854
+ size: "icon",
18855
+ "aria-label": navigationMessages.actions,
18856
+ className: "mr-1 size-8 shrink-0 text-muted-foreground opacity-0 transition-opacity group-aria-[current=page]:opacity-100 group-focus-within:opacity-100 group-hover:opacity-100 data-[state=open]:opacity-100",
18857
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Ellipsis, { className: "size-4", "aria-hidden": "true" })
18858
+ }
18859
+ ) }),
18860
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuContent, { align: "end", children: /* @__PURE__ */ jsxRuntime.jsxs(
18861
+ DropdownMenuItem,
18862
+ {
18863
+ className: "text-destructive-text",
18864
+ onSelect: () => onIntent?.({
18865
+ type: "delete-session",
18866
+ sessionId: session.id
18867
+ }),
18868
+ children: [
18869
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Trash2, { className: "mr-2 size-4", "aria-hidden": "true" }),
18870
+ navigationMessages.delete
18871
+ ]
18872
+ }
18873
+ ) })
18874
+ ] }) : null
18875
+ ]
18839
18876
  },
18840
18877
  session.id
18841
18878
  ))
@@ -19949,6 +19986,78 @@ function AgentWorkbenchTaskDetails({
19949
19986
  }
19950
19987
  );
19951
19988
  }
19989
+ function cssSize(value) {
19990
+ return typeof value === "number" ? `${value}px` : value;
19991
+ }
19992
+ function AgentWorkbenchShell({
19993
+ sidebar,
19994
+ children,
19995
+ details,
19996
+ sidebarOpen = true,
19997
+ detailsOpen = true,
19998
+ sidebarWidth = 280,
19999
+ detailsWidth = 360,
20000
+ className,
20001
+ classNames,
20002
+ style,
20003
+ ...rootProps
20004
+ }) {
20005
+ const hasSidebar = sidebar !== void 0 && sidebarOpen;
20006
+ const hasDetails = details !== void 0 && detailsOpen;
20007
+ const shellStyle = {
20008
+ "--agent-workbench-sidebar-width": hasSidebar ? cssSize(sidebarWidth) : "0px",
20009
+ "--agent-workbench-details-width": hasDetails ? cssSize(detailsWidth) : "0px",
20010
+ gridTemplateColumns: hasSidebar && hasDetails ? "var(--agent-workbench-sidebar-width) minmax(0, 1fr) var(--agent-workbench-details-width)" : hasSidebar ? "var(--agent-workbench-sidebar-width) minmax(0, 1fr)" : hasDetails ? "minmax(0, 1fr) var(--agent-workbench-details-width)" : "minmax(0, 1fr)",
20011
+ ...style
20012
+ };
20013
+ return /* @__PURE__ */ jsxRuntime.jsxs(
20014
+ "div",
20015
+ {
20016
+ ...rootProps,
20017
+ "data-agent-workbench-shell": "true",
20018
+ "data-sidebar-open": hasSidebar ? "true" : "false",
20019
+ "data-details-open": hasDetails ? "true" : "false",
20020
+ className: cn2(
20021
+ "grid size-full min-h-0 min-w-0 overflow-hidden bg-background text-foreground",
20022
+ classNames?.root,
20023
+ className
20024
+ ),
20025
+ style: shellStyle,
20026
+ children: [
20027
+ hasSidebar ? /* @__PURE__ */ jsxRuntime.jsx(
20028
+ "aside",
20029
+ {
20030
+ "data-agent-workbench-region": "sidebar",
20031
+ className: cn2(
20032
+ "min-h-0 min-w-0 overflow-hidden border-r border-border bg-background",
20033
+ classNames?.sidebar
20034
+ ),
20035
+ children: sidebar
20036
+ }
20037
+ ) : null,
20038
+ /* @__PURE__ */ jsxRuntime.jsx(
20039
+ "main",
20040
+ {
20041
+ "data-agent-workbench-region": "main",
20042
+ className: cn2("min-h-0 min-w-0 overflow-hidden", classNames?.main),
20043
+ children
20044
+ }
20045
+ ),
20046
+ hasDetails ? /* @__PURE__ */ jsxRuntime.jsx(
20047
+ "aside",
20048
+ {
20049
+ "data-agent-workbench-region": "details",
20050
+ className: cn2(
20051
+ "min-h-0 min-w-0 overflow-hidden border-l border-border bg-background",
20052
+ classNames?.details
20053
+ ),
20054
+ children: details
20055
+ }
20056
+ ) : null
20057
+ ]
20058
+ }
20059
+ );
20060
+ }
19952
20061
  var FEISHU_ICON_URL = "https://p1-hera.feishucdn.com/tos-cn-i-jbbdkfciu3/84a9f036fe2b44f99b899fff4beeb963~tplv-jbbdkfciu3-image:0:0.image";
19953
20062
  var FeishuIcon = ({
19954
20063
  alt = "feishu",
@@ -32760,6 +32869,7 @@ function useDarkMode() {
32760
32869
 
32761
32870
  exports.AgentWorkbenchActivity = AgentWorkbenchActivity;
32762
32871
  exports.AgentWorkbenchExploreSidebar = AgentWorkbenchExploreSidebar;
32872
+ exports.AgentWorkbenchShell = AgentWorkbenchShell;
32763
32873
  exports.AgentWorkbenchSidebar = AgentWorkbenchSidebar;
32764
32874
  exports.AgentWorkbenchTaskDetails = AgentWorkbenchTaskDetails;
32765
32875
  exports.AgentWorkbenchTool = AgentWorkbenchTool;