@elevasis/ui 1.28.2 → 2.0.1

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,19 +1,19 @@
1
1
  import { ChatHeader, ChatSidebar } from './chunk-ROSMICXG.js';
2
2
  import { SubshellSidebarSection, SubshellLoader, PageContainer, CollapsibleSidebarGroup, SidebarListItem } from './chunk-2IJCM3VQ.js';
3
- import { ResourceHealthPanel } from './chunk-KP6LNTMH.js';
3
+ import { ResourceHealthPanel } from './chunk-YVDYRV4Q.js';
4
4
  import { CustomModal, ConfirmationModal } from './chunk-GBMNCNHX.js';
5
- import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphFitViewHandler } from './chunk-F2J7675J.js';
6
- import { useCyberColors, CyberDonut } from './chunk-JHVKGZ2P.js';
5
+ import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphFitViewHandler } from './chunk-N5BS2VIA.js';
6
+ import { useCyberColors, CyberDonut } from './chunk-YUAE4IVA.js';
7
7
  import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountBadge, ResourceCard, ContextViewer, APIErrorAlert, EmptyState } from './chunk-MCA6LOGM.js';
8
8
  import { StyledMarkdown } from './chunk-3KMDHCAR.js';
9
9
  import { NavigationButton } from './chunk-NNKKBSJN.js';
10
10
  import { AppShellLoader } from './chunk-YYBM5LNJ.js';
11
- import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from './chunk-BYZ7VTSH.js';
12
- import { useCommandViewLayout, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, calibrationKeys, useDeleteProject, useCreateProject, useBulkDeleteExecutions } from './chunk-EINVPEHK.js';
11
+ import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from './chunk-7QNDXJQW.js';
12
+ import { useCommandViewLayout, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, showApiErrorNotification, showSuccessNotification, calibrationKeys, useDeleteProject, useCreateProject, useBulkDeleteExecutions } from './chunk-P6EELWRV.js';
13
13
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, GRAPH_CONSTANTS, useGraphHighlighting, calculateGraphHeight } from './chunk-F6RBK7NJ.js';
14
14
  import { getResourceStatusColor, useMergedExecution, useTimelineData, useAgentIterationData, getStatusIcon } from './chunk-XA34RETF.js';
15
15
  import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-ELJIFLCB.js';
16
- import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-45MS3IAW.js';
16
+ import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-VB4MVOPL.js';
17
17
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from './chunk-5COLSYBE.js';
18
18
  import { useAppearance } from './chunk-QJ2KCHKX.js';
19
19
  import { topbarHeight } from './chunk-QJ2S46NI.js';
@@ -6652,20 +6652,14 @@ var operationsManifest = {
6652
6652
  key: "operations",
6653
6653
  label: "Operations",
6654
6654
  sidebar: OperationsSidebar,
6655
- subshellRoutes: [
6656
- "/operations/resources",
6657
- "/operations/sessions",
6658
- "/operations/calibration",
6659
- "/operations/settings",
6660
- "/operations/documentation",
6661
- "/operations/command-view"
6662
- ],
6655
+ subshellRoutes: ["/operations/resources"],
6663
6656
  navEntry: {
6664
6657
  label: "Operations",
6665
6658
  icon: IconCode,
6666
6659
  featureKey: "operations",
6667
6660
  dataOnboardingTourId: "sidebar-operations",
6668
6661
  links: [
6662
+ { label: "Overview", link: "/operations" },
6669
6663
  { label: "Resources", link: "/operations/resources" },
6670
6664
  { label: "Command View", link: "/operations/command-view" },
6671
6665
  { label: "Command Queue", link: "/operations/command-queue" },
@@ -1,6 +1,6 @@
1
1
  import { getTimeRangeDates, observabilityKeys } from './chunk-LXHZYSMQ.js';
2
2
  import { GRAPH_CONSTANTS } from './chunk-F6RBK7NJ.js';
3
- import { useNotificationAdapter } from './chunk-45MS3IAW.js';
3
+ import { useNotificationAdapter } from './chunk-VB4MVOPL.js';
4
4
  import { HTTP_HEADERS } from './chunk-NVOCKXUQ.js';
5
5
  import { STALE_TIME_MONITORING, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, getErrorInfo, formatErrorMessage, getErrorTitle, STALE_TIME_DEFAULT, STALE_TIME_ADMIN, APIClientError } from './chunk-IOKL7BKE.js';
6
6
  import { useStableAccessToken } from './chunk-ALA56RGZ.js';
@@ -124,6 +124,10 @@ function OrgServiceBridge({
124
124
  const isReady = !!currentWorkOSOrganizationId && !isInitializing && !isOrgRefreshing;
125
125
  return /* @__PURE__ */ jsx(ElevasisServiceProvider, { apiRequest, organizationId: currentWorkOSOrganizationId, isReady, children: /* @__PURE__ */ jsx(NotificationProvider, { adapter: notifications, children: /* @__PURE__ */ jsx(InitializationProvider, { children }) }) });
126
126
  }
127
+ var FEATURE_KEY_ALIASES = {
128
+ crm: "acquisition",
129
+ "lead-gen": "acquisition"
130
+ };
127
131
  function createUseFeatureAccess({
128
132
  useInitialization: useInitialization2,
129
133
  useOrganization: useOrganization2
@@ -139,7 +143,8 @@ function createUseFeatureAccess({
139
143
  const userConfig = profile?.config;
140
144
  const checkFeature = useCallback(
141
145
  (featureKey) => {
142
- const key = featureKey;
146
+ const normalizedFeatureKey = FEATURE_KEY_ALIASES[featureKey] ?? featureKey;
147
+ const key = normalizedFeatureKey;
143
148
  if (profile?.is_platform_admin) {
144
149
  return { allowed: true, restrictedBy: null };
145
150
  }
@@ -804,10 +804,9 @@ function HeroStatsRow({
804
804
  {
805
805
  variant: "hero",
806
806
  icon: IconAlertTriangle,
807
- value: unresolvedErrorCount ?? EM_DASH,
807
+ value: errorsLoading ? EM_DASH : unresolvedErrorCount ?? EM_DASH,
808
808
  label: "Errors",
809
- valueColor: unresolvedErrorCount != null ? getErrorCountColor(unresolvedErrorCount) : void 0,
810
- isLoading: errorsLoading
809
+ valueColor: unresolvedErrorCount != null ? getErrorCountColor(unresolvedErrorCount) : void 0
811
810
  }
812
811
  ),
813
812
  /* @__PURE__ */ jsx(
@@ -1,6 +1,6 @@
1
- import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-JHVKGZ2P.js';
1
+ import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-YUAE4IVA.js';
2
2
  import { CardHeader, EmptyState } from './chunk-MCA6LOGM.js';
3
- import { useResourcesHealth } from './chunk-EINVPEHK.js';
3
+ import { useResourcesHealth } from './chunk-P6EELWRV.js';
4
4
  import { getTimeRangeDates, formatBucketTime } from './chunk-LXHZYSMQ.js';
5
5
  import { Paper, Center, Loader, Group } from '@mantine/core';
6
6
  import { IconActivity, IconChartBar } from '@tabler/icons-react';
@@ -1,10 +1,10 @@
1
1
  import { FilterBar } from './chunk-PDHTXPSF.js';
2
2
  import { CustomModal } from './chunk-GBMNCNHX.js';
3
- import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-JHVKGZ2P.js';
3
+ import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-YUAE4IVA.js';
4
4
  import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-MCA6LOGM.js';
5
5
  import { AppShellLoader } from './chunk-YYBM5LNJ.js';
6
- import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from './chunk-BYZ7VTSH.js';
7
- import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-EINVPEHK.js';
6
+ import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from './chunk-7QNDXJQW.js';
7
+ import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-P6EELWRV.js';
8
8
  import { formatBucketTime, getTimeRangeDates } from './chunk-LXHZYSMQ.js';
9
9
  import { formatDuration } from './chunk-XA34RETF.js';
10
10
  import { PAGE_SIZE_DEFAULT } from './chunk-IOKL7BKE.js';
@@ -1,7 +1,7 @@
1
1
  import { ElevasisLoader } from './chunk-SZHARWKU.js';
2
2
  import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-TXPUIHX2.js';
3
3
  import { AppBackground } from './chunk-CYXZHBP4.js';
4
- import { ElevasisCoreProvider } from './chunk-45MS3IAW.js';
4
+ import { ElevasisCoreProvider } from './chunk-VB4MVOPL.js';
5
5
  import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
6
6
  import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-IOKL7BKE.js';
7
7
  import { useMemo, useEffect } from 'react';
@@ -8744,17 +8744,16 @@ interface TaskCardProps {
8744
8744
  }
8745
8745
  declare function TaskCard({ task }: TaskCardProps): react_jsx_runtime.JSX.Element;
8746
8746
 
8747
- interface ProjectsSidebarMiddleProps {
8748
- currentPath: string;
8749
- onNavigate: (to: string) => void;
8750
- }
8751
- declare const ProjectsSidebarMiddle: ({ currentPath, onNavigate }: ProjectsSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
8752
-
8753
- type ProjectsSidebarProps = Partial<ProjectsSidebarMiddleProps>;
8754
- declare const ProjectsSidebar: ({ currentPath, onNavigate }?: ProjectsSidebarProps) => react_jsx_runtime.JSX.Element;
8747
+ declare const ProjectsSidebar: () => react_jsx_runtime.JSX.Element;
8755
8748
 
8756
8749
  declare const ProjectsSidebarTop: () => react_jsx_runtime.JSX.Element;
8757
8750
 
8751
+ interface ProjectsSidebarMiddleProps {
8752
+ currentPath?: string;
8753
+ onNavigate?: (to: string) => void;
8754
+ }
8755
+ declare const ProjectsSidebarMiddle: ({ currentPath, onNavigate }?: ProjectsSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
8756
+
8758
8757
  declare function AllTasksPage(): react_jsx_runtime.JSX.Element;
8759
8758
 
8760
8759
  declare function UpcomingMilestonesPage(): react_jsx_runtime.JSX.Element;
@@ -8769,10 +8768,14 @@ declare const noteTypeColors: Record<string, string>;
8769
8768
  declare function formatStatusLabel(status: string): string;
8770
8769
  declare function calculateProgress(completed: number, total: number): number;
8771
8770
 
8772
- declare const monitoringManifest: FeatureModule;
8773
-
8771
+ /**
8772
+ * Compatibility manifest for existing consumers that still register a
8773
+ * top-level dashboard nav entry. Host apps should eventually own this nav item.
8774
+ */
8774
8775
  declare const dashboardManifest: FeatureModule;
8775
8776
 
8777
+ declare const monitoringManifest: FeatureModule;
8778
+
8776
8779
  declare const settingsManifest: FeatureModule;
8777
8780
 
8778
8781
  declare const OperationsSidebar: () => react_jsx_runtime.JSX.Element;
@@ -8784,4 +8787,4 @@ declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
8784
8787
  declare const operationsManifest: FeatureModule;
8785
8788
 
8786
8789
  export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDrawer, DealKanbanCard, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, DocTreeNav, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FilterBar, FormFieldRenderer, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, KnowledgeBasePage, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PipelineFunnelWidget, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StyledMarkdown, TabCountBadge, TableSelectionToolbar, TaskCard, TaskScheduler, TasksDueWidget, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, buildErrorReport, calculateProgress, catalogItemToResourceDefinition, crmManifest, dashboardManifest, deliveryManifest, formatStatusLabel, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useGraphBackgroundStyles, useGraphTheme, useNewKnowledgeMapLayout, useRecentCrmActivity };
8787
- export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CrmOverviewProps, DealDrawerProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, ProjectsSidebarMiddleProps, ProjectsSidebarProps, ResourceHealthPanelProps, RichTextEditorProps, SavedViewPreset, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps };
8790
+ export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CommandViewGraphRef, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CrmOverviewProps, DealDrawerProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FitViewButtonVariant, FormFieldRendererProps, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LogLevel, MdxRendererProps, NavigationButtonProps, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, SavedViewPreset, ScheduleType, SerializedKnowledgeMap, SerializedKnowledgeNode, StatCardProps, StyledMarkdownProps, TaskFilterStatus, TrendIndicatorProps };
@@ -1,38 +1,37 @@
1
1
  import { useBreadcrumbs } from '../chunk-MG3NF7QL.js';
2
2
  import '../chunk-C27LLJM6.js';
3
- import { NotificationList } from '../chunk-T2X3WHQS.js';
4
- export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-T2X3WHQS.js';
5
- export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-R2BQITMQ.js';
3
+ import { NotificationList } from '../chunk-ZNG35YAN.js';
4
+ export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-ZNG35YAN.js';
5
+ export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-CD6UPIXK.js';
6
6
  import { FilterBar } from '../chunk-PDHTXPSF.js';
7
7
  export { FilterBar } from '../chunk-PDHTXPSF.js';
8
- export { dashboardManifest } from '../chunk-JQ4AKYUD.js';
9
- export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
10
- export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-ZWY3A6ZU.js';
8
+ export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-NEST7NA4.js';
11
9
  import '../chunk-ROSMICXG.js';
12
10
  import { SubshellLoader, PageContainer, SubshellSidebarSection, SidebarListItem, CollapsibleSidebarGroup } from '../chunk-2IJCM3VQ.js';
13
- export { ResourceHealthPanel } from '../chunk-KP6LNTMH.js';
11
+ export { ResourceHealthPanel } from '../chunk-YVDYRV4Q.js';
14
12
  import { CustomModal } from '../chunk-GBMNCNHX.js';
15
13
  export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-GBMNCNHX.js';
16
- export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-F2J7675J.js';
17
- import '../chunk-JHVKGZ2P.js';
14
+ export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, dashboardManifest, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-N5BS2VIA.js';
15
+ export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
16
+ import '../chunk-YUAE4IVA.js';
18
17
  import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader, ActivityTimeline, StatusBadge } from '../chunk-MCA6LOGM.js';
19
18
  export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-MCA6LOGM.js';
20
19
  export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
21
20
  export { NavigationButton } from '../chunk-NNKKBSJN.js';
22
21
  import { AppShellLoader } from '../chunk-YYBM5LNJ.js';
23
22
  import '../chunk-QTD5HPKD.js';
24
- import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useTasks, useProjects, useMilestones } from '../chunk-BYZ7VTSH.js';
25
- import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useDealTasksDue, useCreateDealTask, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-EINVPEHK.js';
26
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-EINVPEHK.js';
23
+ import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useTasks, useProjects, useMilestones } from '../chunk-7QNDXJQW.js';
24
+ import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useDealTasksDue, useCreateDealTask, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-P6EELWRV.js';
25
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-P6EELWRV.js';
27
26
  import '../chunk-LXHZYSMQ.js';
28
27
  export { Graph_module_css_default as graphStyles } from '../chunk-F6RBK7NJ.js';
29
28
  export { CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS } from '../chunk-XA34RETF.js';
30
29
  import '../chunk-ELJIFLCB.js';
31
- import '../chunk-FW4S3Z5I.js';
30
+ import '../chunk-ZT754TNZ.js';
32
31
  export { ElevasisLoader } from '../chunk-SZHARWKU.js';
33
32
  import '../chunk-TXPUIHX2.js';
34
33
  import '../chunk-CYXZHBP4.js';
35
- import '../chunk-45MS3IAW.js';
34
+ import '../chunk-VB4MVOPL.js';
36
35
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from '../chunk-5COLSYBE.js';
37
36
  import '../chunk-NVOCKXUQ.js';
38
37
  import '../chunk-2IFYDILW.js';
@@ -50,7 +49,7 @@ import { useElevasisServices } from '../chunk-QEPXAWE2.js';
50
49
  import '../chunk-BRJ3QZ4E.js';
51
50
  import { useRouterContext } from '../chunk-Q7DJKLEN.js';
52
51
  import { Table, Group, Text, Button, Stack, Title, TextInput, Alert, Tooltip, ActionIcon, Paper, Code, CopyButton, SimpleGrid, Badge, Loader, Pagination, useMantineTheme, Box, ScrollArea, Select, Center, Card, SegmentedControl, Switch, Textarea, Divider, Menu, Timeline, ThemeIcon, Tabs, Anchor, Breadcrumbs as Breadcrumbs$1, Drawer, UnstyledButton, Modal, RingProgress, Collapse, Popover, Indicator } from '@mantine/core';
53
- import { IconBriefcase, IconChevronUp, IconChevronDown, IconSelector, IconTrash, IconPencil, IconAlertCircle, IconKey, IconCalendar, IconClock, IconAlertTriangle, IconExclamationMark, IconShieldLock, IconCheck, IconCopy, IconPlus, IconRocket, IconRefresh, IconPower, IconPlayerPlay, IconCircleCheck, IconTag, IconBook2, IconFileOff, IconList, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconRobot, IconGitBranch, IconSettings, IconExternalLink, IconDotsVertical, IconPlayerPause, IconPlayerStop, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck, IconAddressBook, IconTrophy, IconClockExclamation, IconUser, IconLayoutGrid, IconColumns, IconFileInvoice, IconChecklist, IconHistory, IconTarget, IconListDetails, IconBuilding, IconMailCheck, IconSearch, IconChartBar, IconTrendingUp, IconHeartbeat, IconFlag, IconFileText, IconInbox, IconLock, IconChevronRight, IconDownload, IconMessageCircle, IconBell, IconNotes, IconFolderOpen, IconFolder, IconCheckbox, IconMail, IconPhone, IconArrowRight, IconNote } from '@tabler/icons-react';
52
+ import { IconAddressBook, IconBriefcase, IconTarget, IconChevronUp, IconChevronDown, IconSelector, IconTrash, IconPencil, IconAlertCircle, IconKey, IconCalendar, IconClock, IconAlertTriangle, IconExclamationMark, IconShieldLock, IconCheck, IconCopy, IconPlus, IconRocket, IconRefresh, IconPower, IconPlayerPlay, IconCircleCheck, IconTag, IconBook2, IconFileOff, IconList, IconCalendarRepeat, IconCalendarEvent, IconCalendarTime, IconRobot, IconGitBranch, IconSettings, IconExternalLink, IconDotsVertical, IconPlayerPause, IconPlayerStop, IconCalendarDue, IconCalendarStats, IconCalendarOff, IconListCheck, IconTrophy, IconClockExclamation, IconUser, IconLayoutGrid, IconColumns, IconFileInvoice, IconChecklist, IconHistory, IconListDetails, IconBuilding, IconMailCheck, IconSearch, IconChartBar, IconTrendingUp, IconHeartbeat, IconFlag, IconFileText, IconInbox, IconLock, IconChevronRight, IconDownload, IconMessageCircle, IconBell, IconNotes, IconFolderOpen, IconFolder, IconCheckbox, IconMail, IconPhone, IconArrowRight, IconNote } from '@tabler/icons-react';
54
53
  import * as runtime from 'react/jsx-runtime';
55
54
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
56
55
  import { useDisclosure } from '@mantine/hooks';
@@ -4097,20 +4096,24 @@ function CrmOverview({
4097
4096
  ] })
4098
4097
  ] });
4099
4098
  }
4100
-
4101
- // src/features/crm/manifest.ts
4102
4099
  var crmManifest = {
4103
4100
  key: "crm",
4104
4101
  label: "CRM",
4105
4102
  sidebar: CrmSidebar,
4106
- subshellRoutes: ["/crm"]
4103
+ subshellRoutes: ["/crm"],
4104
+ navEntry: {
4105
+ label: "CRM",
4106
+ icon: IconAddressBook,
4107
+ link: "/crm",
4108
+ featureKey: "acquisition"
4109
+ }
4107
4110
  };
4108
4111
  var LeadGenSidebarTop = () => {
4109
4112
  return /* @__PURE__ */ jsx(SubshellSidebarSection, { icon: IconTarget, label: "Lead Gen" });
4110
4113
  };
4111
4114
  var LEAD_GEN_ITEMS = [
4112
4115
  { label: "Overview", to: "/lead-gen", icon: IconLayoutGrid, exact: true },
4113
- { label: "Batches", to: "/lead-gen/batches", icon: IconListDetails, exact: false },
4116
+ { label: "Legacy Redirect", to: "/lead-gen/batches", icon: IconListDetails, exact: false },
4114
4117
  { label: "Lists", to: "/lead-gen/lists", icon: IconList, exact: false },
4115
4118
  { label: "Companies", to: "/lead-gen/companies", icon: IconBuilding, exact: false },
4116
4119
  { label: "Contacts", to: "/lead-gen/contacts", icon: IconAddressBook, exact: false },
@@ -4138,13 +4141,17 @@ var LeadGenSidebar = () => {
4138
4141
  /* @__PURE__ */ jsx(LeadGenSidebarMiddle, {})
4139
4142
  ] });
4140
4143
  };
4141
-
4142
- // src/features/lead-gen/manifest.ts
4143
4144
  var leadGenManifest = {
4144
4145
  key: "lead-gen",
4145
4146
  label: "Lead Gen",
4146
4147
  sidebar: LeadGenSidebar,
4147
- subshellRoutes: ["/lead-gen"]
4148
+ subshellRoutes: ["/lead-gen"],
4149
+ navEntry: {
4150
+ label: "Lead Gen",
4151
+ icon: IconTarget,
4152
+ link: "/lead-gen",
4153
+ featureKey: "acquisition"
4154
+ }
4148
4155
  };
4149
4156
  var SEOSidebarTop = () => {
4150
4157
  return /* @__PURE__ */ jsx(SubshellSidebarSection, { icon: IconSearch, label: "SEO" });
@@ -4456,16 +4463,19 @@ var WORK_ITEMS = [
4456
4463
  { label: "Milestones", to: "/projects/milestones", icon: IconFlag, exact: false }
4457
4464
  ];
4458
4465
  var COMMUNICATION_ITEMS = [{ label: "Notes", to: "/projects/notes", icon: IconNotes, exact: false }];
4459
- var ProjectsSidebarMiddle = ({ currentPath, onNavigate }) => {
4466
+ var ProjectsSidebarMiddle = ({ currentPath, onNavigate } = {}) => {
4467
+ const { currentPath: routerCurrentPath, navigate } = useRouterContext();
4468
+ const resolvedCurrentPath = currentPath ?? routerCurrentPath;
4469
+ const resolvedNavigate = onNavigate ?? navigate;
4460
4470
  const renderItems = (items) => items.map((item) => {
4461
- const isActive = item.exact ? currentPath === item.to || currentPath === `${item.to}/` : currentPath.startsWith(item.to);
4471
+ const isActive = item.exact ? resolvedCurrentPath === item.to || resolvedCurrentPath === `${item.to}/` : resolvedCurrentPath.startsWith(item.to);
4462
4472
  return /* @__PURE__ */ jsx(
4463
4473
  SidebarListItem,
4464
4474
  {
4465
4475
  icon: item.icon,
4466
4476
  label: item.label,
4467
4477
  isActive,
4468
- onClick: () => onNavigate(item.to)
4478
+ onClick: () => resolvedNavigate(item.to)
4469
4479
  },
4470
4480
  item.to
4471
4481
  );
@@ -4482,13 +4492,10 @@ var ProjectsSidebarMiddle = ({ currentPath, onNavigate }) => {
4482
4492
  ] })
4483
4493
  ] });
4484
4494
  };
4485
- var ProjectsSidebar = ({ currentPath, onNavigate } = {}) => {
4486
- const { currentPath: routerCurrentPath, navigate } = useRouterContext();
4487
- const resolvedCurrentPath = currentPath ?? routerCurrentPath;
4488
- const resolvedNavigate = onNavigate ?? navigate;
4495
+ var ProjectsSidebar = () => {
4489
4496
  return /* @__PURE__ */ jsxs(Stack, { gap: 0, style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
4490
4497
  /* @__PURE__ */ jsx(ProjectsSidebarTop, {}),
4491
- /* @__PURE__ */ jsx(ProjectsSidebarMiddle, { currentPath: resolvedCurrentPath, onNavigate: resolvedNavigate })
4498
+ /* @__PURE__ */ jsx(ProjectsSidebarMiddle, {})
4492
4499
  ] });
4493
4500
  };
4494
4501
  var taskStatusOptions = [
@@ -150,7 +150,7 @@ declare const DOMAINS: {
150
150
  */
151
151
  type ResourceDomain = (typeof DOMAINS)[keyof typeof DOMAINS];
152
152
 
153
- interface DashboardProps {
153
+ interface OperationsOverviewProps {
154
154
  /**
155
155
  * Active time range for all metrics queries.
156
156
  */
@@ -202,7 +202,13 @@ interface DashboardProps {
202
202
  */
203
203
  renderTrendChart?: (data: DashboardMetrics['executionHealth'] | undefined, isLoading: boolean, error?: Error) => ReactNode;
204
204
  }
205
- declare function Dashboard({ timeRange, onResourceClick, onErrorsNavigate, onCommandQueueNavigate, onScheduledTasksNavigate, renderTrendChart }: DashboardProps): react_jsx_runtime.JSX.Element;
205
+ declare function OperationsOverview({ timeRange, onResourceClick, onErrorsNavigate, onCommandQueueNavigate, onScheduledTasksNavigate, renderTrendChart }: OperationsOverviewProps): react_jsx_runtime.JSX.Element;
206
+ type DashboardProps = OperationsOverviewProps;
207
+ /**
208
+ * @deprecated Use `OperationsOverview` instead. `Dashboard` remains as a
209
+ * compatibility export while consumer apps migrate route ownership.
210
+ */
211
+ declare const Dashboard: typeof OperationsOverview;
206
212
 
207
213
  interface DisplayResource {
208
214
  resourceId: string;
@@ -264,7 +270,11 @@ interface FeatureModule {
264
270
  subshellRoutes?: string[];
265
271
  }
266
272
 
273
+ /**
274
+ * Compatibility manifest for existing consumers that still register a
275
+ * top-level dashboard nav entry. Host apps should eventually own this nav item.
276
+ */
267
277
  declare const dashboardManifest: FeatureModule;
268
278
 
269
- export { Dashboard, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest };
270
- export type { DashboardProps, DisplayResource, RecentExecutionsByResourceProps, ResourceOverviewProps, UnresolvedErrorsTeaserProps };
279
+ export { Dashboard, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest };
280
+ export type { DashboardProps, DisplayResource, OperationsOverviewProps, RecentExecutionsByResourceProps, ResourceOverviewProps, UnresolvedErrorsTeaserProps };
@@ -1,22 +1,21 @@
1
- export { Dashboard, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest } from '../../chunk-JQ4AKYUD.js';
1
+ export { Dashboard, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser, dashboardManifest } from '../../chunk-N5BS2VIA.js';
2
2
  import '../../chunk-LGKLC5MG.js';
3
- import '../../chunk-F2J7675J.js';
4
- import '../../chunk-JHVKGZ2P.js';
3
+ import '../../chunk-YUAE4IVA.js';
5
4
  import '../../chunk-MCA6LOGM.js';
6
5
  import '../../chunk-3KMDHCAR.js';
7
6
  import '../../chunk-NNKKBSJN.js';
8
7
  import '../../chunk-YYBM5LNJ.js';
9
- import '../../chunk-BYZ7VTSH.js';
10
- import '../../chunk-EINVPEHK.js';
8
+ import '../../chunk-7QNDXJQW.js';
9
+ import '../../chunk-P6EELWRV.js';
11
10
  import '../../chunk-LXHZYSMQ.js';
12
11
  import '../../chunk-F6RBK7NJ.js';
13
12
  import '../../chunk-XA34RETF.js';
14
13
  import '../../chunk-ELJIFLCB.js';
15
- import '../../chunk-FW4S3Z5I.js';
14
+ import '../../chunk-ZT754TNZ.js';
16
15
  import '../../chunk-SZHARWKU.js';
17
16
  import '../../chunk-TXPUIHX2.js';
18
17
  import '../../chunk-CYXZHBP4.js';
19
- import '../../chunk-45MS3IAW.js';
18
+ import '../../chunk-VB4MVOPL.js';
20
19
  import '../../chunk-5COLSYBE.js';
21
20
  import '../../chunk-NVOCKXUQ.js';
22
21
  import '../../chunk-2IFYDILW.js';
@@ -1,24 +1,24 @@
1
- export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-T2X3WHQS.js';
1
+ export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-ZNG35YAN.js';
2
2
  import '../../chunk-PDHTXPSF.js';
3
- import '../../chunk-LGKLC5MG.js';
4
- import '../../chunk-KP6LNTMH.js';
3
+ import '../../chunk-YVDYRV4Q.js';
5
4
  import '../../chunk-GBMNCNHX.js';
6
- import '../../chunk-JHVKGZ2P.js';
5
+ import '../../chunk-LGKLC5MG.js';
6
+ import '../../chunk-YUAE4IVA.js';
7
7
  import '../../chunk-MCA6LOGM.js';
8
8
  import '../../chunk-3KMDHCAR.js';
9
9
  import '../../chunk-NNKKBSJN.js';
10
10
  import '../../chunk-YYBM5LNJ.js';
11
- import '../../chunk-BYZ7VTSH.js';
12
- import '../../chunk-EINVPEHK.js';
11
+ import '../../chunk-7QNDXJQW.js';
12
+ import '../../chunk-P6EELWRV.js';
13
13
  import '../../chunk-LXHZYSMQ.js';
14
14
  import '../../chunk-F6RBK7NJ.js';
15
15
  import '../../chunk-XA34RETF.js';
16
16
  import '../../chunk-ELJIFLCB.js';
17
- import '../../chunk-FW4S3Z5I.js';
17
+ import '../../chunk-ZT754TNZ.js';
18
18
  import '../../chunk-SZHARWKU.js';
19
19
  import '../../chunk-TXPUIHX2.js';
20
20
  import '../../chunk-CYXZHBP4.js';
21
- import '../../chunk-45MS3IAW.js';
21
+ import '../../chunk-VB4MVOPL.js';
22
22
  import '../../chunk-5COLSYBE.js';
23
23
  import '../../chunk-NVOCKXUQ.js';
24
24
  import '../../chunk-2IFYDILW.js';