@elevasis/ui 2.78.0 → 2.80.0

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.
Files changed (95) hide show
  1. package/dist/{CoreAuthKitInner-PSTKG4B3.js → CoreAuthKitInner-5J7P7ZDL.js} +1 -1
  2. package/dist/api/index.js +6 -6
  3. package/dist/app/index.js +18 -18
  4. package/dist/auth/index.js +10 -10
  5. package/dist/charts/index.d.ts +4 -4
  6. package/dist/charts/index.js +10 -10
  7. package/dist/{chunk-BLXJEIQS.js → chunk-2HXDI4RY.js} +1 -1
  8. package/dist/{chunk-FI66TKYS.js → chunk-2KXSFLU2.js} +8 -2
  9. package/dist/{chunk-TVTSASST.js → chunk-34B3ACOZ.js} +9 -1
  10. package/dist/{chunk-KXNRTJAE.js → chunk-3HMRK3RC.js} +1 -1
  11. package/dist/{chunk-S3ETKY5C.js → chunk-3UO2CJTR.js} +1 -1
  12. package/dist/{chunk-YUWR4UX7.js → chunk-52G4B33T.js} +13 -7
  13. package/dist/{chunk-4A6S4WAT.js → chunk-6IWH757Q.js} +4 -3
  14. package/dist/{chunk-4TABB2PA.js → chunk-6MWTTBBT.js} +6 -6
  15. package/dist/{chunk-M3DWVFRT.js → chunk-7A25EJ4A.js} +148 -85
  16. package/dist/{chunk-SVZR4GYA.js → chunk-A32PJ2DO.js} +1 -1
  17. package/dist/{chunk-LMAYDNQL.js → chunk-BG7VCCFB.js} +1 -1
  18. package/dist/{chunk-WGSEITGL.js → chunk-BXFZ676L.js} +222 -191
  19. package/dist/{chunk-5ZK7K7YP.js → chunk-CIGWHY7C.js} +23 -21
  20. package/dist/{chunk-FFVZB25A.js → chunk-CSEADI37.js} +3 -3
  21. package/dist/{chunk-3RK2NNJX.js → chunk-DFGQG32T.js} +1 -1
  22. package/dist/{chunk-VM2OWOXL.js → chunk-GY7FXTC4.js} +2 -3
  23. package/dist/{chunk-P6HHXMLJ.js → chunk-HVNDBY42.js} +10 -9
  24. package/dist/{chunk-VBGXFKZ2.js → chunk-I5SYS6DT.js} +5 -5
  25. package/dist/{chunk-2GIJBHZT.js → chunk-IIMC4TRH.js} +3 -3
  26. package/dist/{chunk-JKNIXSJT.js → chunk-JDPPV2XI.js} +21 -14
  27. package/dist/{chunk-NBG3V52P.js → chunk-JZBMZLD3.js} +1 -1
  28. package/dist/{chunk-JZQNUQE4.js → chunk-KGUBFIMQ.js} +1 -1
  29. package/dist/{chunk-GFSOQH3N.js → chunk-MJIDC25O.js} +8 -11
  30. package/dist/{chunk-IWNVPPWF.js → chunk-MMOR2HQZ.js} +38 -78
  31. package/dist/{chunk-L42Z3VZM.js → chunk-NGRRAYMO.js} +22 -39
  32. package/dist/{chunk-TRACEZWZ.js → chunk-NKMBW7WE.js} +26 -21
  33. package/dist/{chunk-57QSONG5.js → chunk-Q6HRTWA6.js} +1 -1
  34. package/dist/{chunk-FD3XRRKM.js → chunk-QQKYBGBX.js} +22 -11
  35. package/dist/{chunk-B74K5EC2.js → chunk-QSN7BWI3.js} +1 -1
  36. package/dist/{chunk-MWWBHRFO.js → chunk-SPH5WW44.js} +5 -5
  37. package/dist/{chunk-WJWYTXGQ.js → chunk-T6AOVZAI.js} +14 -10
  38. package/dist/{chunk-AVGXLMSH.js → chunk-U3GB5PDF.js} +4 -4
  39. package/dist/{chunk-SU4T5DCZ.js → chunk-VHK5J55Q.js} +8 -8
  40. package/dist/{chunk-F3YFAATR.js → chunk-VKA4LQ7N.js} +1 -1
  41. package/dist/{chunk-IYLJ4CBC.js → chunk-W6QOWA3L.js} +11 -10
  42. package/dist/{chunk-N6K2Q5BM.js → chunk-WDABHUIL.js} +9 -21
  43. package/dist/{chunk-2LLCOS4V.js → chunk-WOYW24U7.js} +1 -1
  44. package/dist/{chunk-Y2IHJRHM.js → chunk-XEO2UG4J.js} +15 -9
  45. package/dist/{chunk-UD657ICS.js → chunk-YJ437RDY.js} +29 -16
  46. package/dist/{chunk-INCEZAM3.js → chunk-YSFLFD4U.js} +1 -1
  47. package/dist/{chunk-5OBIZIWW.js → chunk-ZU676PFP.js} +38 -14
  48. package/dist/components/index.d.ts +18 -6
  49. package/dist/components/index.js +48 -48
  50. package/dist/components/navigation/index.js +11 -11
  51. package/dist/execution/index.js +2 -2
  52. package/dist/features/auth/index.js +12 -12
  53. package/dist/features/clients/index.js +14 -15
  54. package/dist/features/content/index.js +13 -13
  55. package/dist/features/crm/index.js +16 -16
  56. package/dist/features/dashboard/index.d.ts +8 -8
  57. package/dist/features/dashboard/index.js +13 -13
  58. package/dist/features/delivery/index.js +25 -25
  59. package/dist/features/knowledge/index.js +10 -10
  60. package/dist/features/lead-gen/index.d.ts +49 -32
  61. package/dist/features/lead-gen/index.js +17 -17
  62. package/dist/features/monitoring/index.d.ts +10 -10
  63. package/dist/features/monitoring/index.js +15 -15
  64. package/dist/features/monitoring/requests/index.js +12 -12
  65. package/dist/features/notes/index.js +1 -1
  66. package/dist/features/operations/index.d.ts +12 -12
  67. package/dist/features/operations/index.js +18 -18
  68. package/dist/features/public-agent-chat/index.js +4 -4
  69. package/dist/features/seo/index.js +13 -13
  70. package/dist/features/settings/index.js +13 -13
  71. package/dist/hooks/access/index.d.ts +60 -1
  72. package/dist/hooks/access/index.js +10 -10
  73. package/dist/hooks/delivery/index.js +6 -6
  74. package/dist/hooks/published.d.ts +332 -99
  75. package/dist/hooks/published.js +23 -23
  76. package/dist/hooks/user-notes/index.js +1 -1
  77. package/dist/initialization/index.d.ts +12 -0
  78. package/dist/initialization/index.js +1 -1
  79. package/dist/knowledge/index.js +22 -20
  80. package/dist/{knowledge-search-index-6GQK55IQ.js → knowledge-search-index-YU6V3FTK.js} +4 -4
  81. package/dist/layout/index.js +14 -14
  82. package/dist/organization/index.d.ts +17 -1
  83. package/dist/organization/index.js +2 -2
  84. package/dist/profile/index.js +1 -1
  85. package/dist/provider/ElevasisServiceContext.js +1 -1
  86. package/dist/provider/index.js +10 -10
  87. package/dist/provider/published.js +10 -10
  88. package/dist/sse/index.js +14 -0
  89. package/dist/test-utils/index.js +6 -6
  90. package/dist/types/index.d.ts +12 -0
  91. package/dist/utils/index.d.ts +20 -2
  92. package/dist/utils/index.js +4 -4
  93. package/package.json +24 -14
  94. /package/dist/{chunk-Y6I3IC45.js → chunk-6XBZPKMI.js} +0 -0
  95. /package/dist/{chunk-6SSQGWK7.js → chunk-7ZUXA2NW.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import { mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-4WLAVUPS.js';
2
2
  import { PRESETS, getPreset, AppBackground, generateShades } from './chunk-RXZ3XDBM.js';
3
- import { HTTP_HEADERS, ApiClientProvider, useApiClient } from './chunk-JZQNUQE4.js';
4
- import { showApiErrorNotification, showSuccessNotification } from './chunk-KXNRTJAE.js';
3
+ import { HTTP_HEADERS, ApiClientProvider, useApiClient } from './chunk-KGUBFIMQ.js';
4
+ import { showApiErrorNotification, showSuccessNotification } from './chunk-3HMRK3RC.js';
5
5
  import { CardHeader } from './chunk-62GVNH5U.js';
6
6
  import { InitializationContext, useInitialization, InitializationProvider } from './chunk-P45GQ3ZW.js';
7
- import { SessionIdParamSchema, CreateSessionSchema } from './chunk-2GIJBHZT.js';
7
+ import { SessionIdParamSchema, CreateSessionSchema } from './chunk-IIMC4TRH.js';
8
8
  import { StyledMarkdown } from './chunk-3KMDHCAR.js';
9
- import { getStatusIcon } from './chunk-BLXJEIQS.js';
10
- import { invalidateOrgScopedQueries, OrganizationProvider } from './chunk-UD657ICS.js';
9
+ import { getStatusIcon } from './chunk-2HXDI4RY.js';
10
+ import { invalidateOrgScopedQueries, OrganizationProvider } from './chunk-YJ437RDY.js';
11
11
  import { OrganizationContext, useOrganization } from './chunk-DD3CCMCZ.js';
12
12
  import { ProfileProvider } from './chunk-RT4KRGZT.js';
13
- import { LabelSchema, DescriptionSchema, PathSchema, ModelIdSchema, IconNameSchema, SystemLifecycleSchema, OntologyIdSchema, SystemPathSchema, ActionInvocationSchema, SystemIdSchema, NodeIdStringSchema, JsonValueSchema, SystemInterfaceRefSchema, EntitiesDomainSchema, ActionsDomainSchema, DEFAULT_ORGANIZATION_MODEL_ACTIONS, OntologyScopeSchema, DEFAULT_ONTOLOGY_SCOPE, SystemsDomainSchema, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, formatOntologyId, isSystemLifecycleVisible, listResolvedOntologyRecords, getErrorInfo, getErrorTitle, formatErrorMessage, compileOrganizationOntology, listAllSystems, ontologyGraphNodeId, parseOntologyId, getSystem, STALE_TIME_DEFAULT, GC_TIME_SHORT, STALE_TIME_MONITORING, getResourceIcon, formatTimeAgo, resolveReadinessRemedy, getResourcesForSystem, formatRelativeTime, PAGE_SIZE_DEFAULT, devOnlyFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, systemLifecycleAllowsAccess, resolveSystemConfig, defaultPathFor } from './chunk-5ZK7K7YP.js';
14
- import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_DASHBOARD, debounce } from './chunk-Y6I3IC45.js';
15
- import { ResourceStatusColors } from './chunk-6SSQGWK7.js';
13
+ import { LabelSchema, DescriptionSchema, PathSchema, ModelIdSchema, IconNameSchema, SystemLifecycleSchema, OntologyIdSchema, SystemPathSchema, ActionInvocationSchema, SystemIdSchema, NodeIdStringSchema, JsonValueSchema, SystemInterfaceRefSchema, EntitiesDomainSchema, ActionsDomainSchema, DEFAULT_ORGANIZATION_MODEL_ACTIONS, OntologyScopeSchema, DEFAULT_ONTOLOGY_SCOPE, SystemsDomainSchema, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, formatOntologyId, isSystemLifecycleVisible, listResolvedOntologyRecords, getErrorInfo, getErrorTitle, formatErrorMessage, compileOrganizationOntology, listAllSystems, ontologyGraphNodeId, parseOntologyId, getSystem, STALE_TIME_DEFAULT, GC_TIME_SHORT, STALE_TIME_MONITORING, getResourceIcon, formatTimeAgo, resolveReadinessRemedy, getResourcesForSystem, buildQueryString, formatRelativeTime, devOnlyFor, topLevel, parentOf, ancestorsOf, childrenOf, findById, findByPath, systemLifecycleAllowsAccess, PAGE_SIZE_DEFAULT, resolveSystemConfig, defaultPathFor } from './chunk-CIGWHY7C.js';
14
+ import { getTimeRangeLabel, getTimeRangeDates, formatBucketTime, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_DASHBOARD, debounce } from './chunk-6XBZPKMI.js';
15
+ import { ResourceStatusColors } from './chunk-7ZUXA2NW.js';
16
16
  import { ElevasisServiceContext, useElevasisServices, ElevasisServiceProvider } from './chunk-BI5VDO2K.js';
17
17
  import { brandWorkOsOrgId, brandSupabaseOrgId } from './chunk-MQZE7SUI.js';
18
18
  import { useAuthContext } from './chunk-BRJ3QZ4E.js';
@@ -21,7 +21,7 @@ import { createContext, lazy, forwardRef, useContext, useRef, useState, useMemo,
21
21
  import { QueryClientProvider, useQuery, useQueryClient, useMutation, useQueries, QueryClient } from '@tanstack/react-query';
22
22
  import { z } from 'zod';
23
23
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
24
- import { IconListDetails, IconChecklist, IconShare, IconLayoutGrid, IconColumns, IconFileInvoice, IconList, IconBuilding, IconAddressBook, IconArticle, IconBriefcase, IconBrain, IconTarget, IconActivity, IconCode, IconSettings, IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconShieldLock, IconTopologyStar3, IconApps, IconBolt, IconSearch, IconChartBar, IconUsers, IconInfoCircle, IconMessagePlus, IconDatabase, IconGitBranch, IconDashboard, IconBuildingStore, IconUser, IconPlug, IconTargetArrow, IconBook, IconArchive, IconTool, IconCalendar, IconPencil, IconRoute, IconLock, IconMinus, IconTrendingUp, IconTrendingDown, IconChevronUp, IconChevronDown, IconChevronRight, IconAlertCircle, IconBan, IconInbox, IconHeartHandshake, IconUserOff, IconMailForward, IconBell, IconCalendarEvent, IconCalendarCancel, IconMessageReply, IconCircleCheck, IconCreditCard, IconArrowRight, IconPlus, IconDownload, IconChartLine, IconPlayerPlay, IconFilter, IconCategory, IconTrophy, IconClockExclamation, IconAdjustmentsHorizontal, IconCircleX, IconCircleDashed, IconMessage, IconTrash, IconExclamationMark, IconCheckbox, IconPhone, IconSitemap, IconFolder, IconHistory, IconCopy, IconStarFilled, IconStar, IconCircleCheckFilled } from '@tabler/icons-react';
24
+ import { IconListDetails, IconChecklist, IconShare, IconLayoutGrid, IconColumns, IconFileInvoice, IconList, IconBuilding, IconAddressBook, IconArticle, IconBriefcase, IconBrain, IconTarget, IconActivity, IconCode, IconSettings, IconMail, IconSend, IconFileText, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconShieldLock, IconTopologyStar3, IconApps, IconBolt, IconSearch, IconChartBar, IconUsers, IconInfoCircle, IconMessagePlus, IconDatabase, IconGitBranch, IconDashboard, IconBuildingStore, IconUser, IconPlug, IconTargetArrow, IconBook, IconArchive, IconTool, IconCalendar, IconPencil, IconRoute, IconLock, IconMinus, IconTrendingUp, IconTrendingDown, IconChevronUp, IconChevronDown, IconChevronRight, IconAlertCircle, IconBan, IconInbox, IconHeartHandshake, IconUserOff, IconMailForward, IconBell, IconCalendarEvent, IconCalendarCancel, IconMessageReply, IconCircleCheck, IconCreditCard, IconArrowRight, IconPlus, IconDownload, IconChartLine, IconPlayerPlay, IconFilter, IconCategory, IconTrophy, IconClockExclamation, IconAdjustmentsHorizontal, IconCircleX, IconCircleDashed, IconMessage, IconTrash, IconExclamationMark, IconCheckbox, IconPhone, IconSitemap, IconFolder, IconCopy, IconStarFilled, IconStar, IconHistory, IconCircleCheckFilled } from '@tabler/icons-react';
25
25
  import { UnstyledButton, Box, Group, ThemeIcon, Center, Stack, Title, Text, Modal, Button, Loader, Badge, Collapse, ScrollArea, Card, Select, Alert, Code, Popover, Tooltip, ActionIcon, Paper, Grid, Timeline, Divider, Space, TextInput, useComputedColorScheme, NumberFormatter, SimpleGrid, SegmentedControl, useMantineTheme, RangeSlider, Textarea, useTree, Tree, mergeThemeOverrides, MantineProvider, Checkbox, Tabs, Pagination } from '@mantine/core';
26
26
  import { useDisclosure, useClipboard } from '@mantine/hooks';
27
27
  import { Prism } from 'react-syntax-highlighter';
@@ -3135,7 +3135,7 @@ function findListActionByAction(registry, actionKey) {
3135
3135
  function getListActionWorkflowId(action) {
3136
3136
  return action.workflowId ?? action.resourceId;
3137
3137
  }
3138
- var LazyCoreAuthKitInner = lazy(() => import('./CoreAuthKitInner-PSTKG4B3.js').then((m) => ({ default: m.CoreAuthKitInner })));
3138
+ var LazyCoreAuthKitInner = lazy(() => import('./CoreAuthKitInner-5J7P7ZDL.js').then((m) => ({ default: m.CoreAuthKitInner })));
3139
3139
  var defaultQueryClient = null;
3140
3140
  function getDefaultQueryClient() {
3141
3141
  if (!defaultQueryClient) {
@@ -4171,6 +4171,14 @@ var ContentSidebarMiddle = ({ workspaceItems, items } = {}) => {
4171
4171
  var ContentSidebar = ({ workspaceItems, children } = {}) => {
4172
4172
  return /* @__PURE__ */ jsx(Stack, { gap: 0, style: { height: "100%", display: "flex", flexDirection: "column" }, children: children ?? /* @__PURE__ */ jsx(ContentSidebarMiddle, { workspaceItems }) });
4173
4173
  };
4174
+
4175
+ // src/hooks/access/queryKeys.ts
4176
+ var accessKeys = {
4177
+ all: ["access-permissions"],
4178
+ permissions: (organizationId) => [...accessKeys.all, organizationId]
4179
+ };
4180
+
4181
+ // src/hooks/access/useAccess.ts
4174
4182
  var MISSING_CONTEXT_ANSWER = {
4175
4183
  allowed: false,
4176
4184
  restrictedBy: "membership",
@@ -4211,7 +4219,7 @@ function useAccess(key) {
4211
4219
  const shouldFetchPermissions = Boolean(services?.isReady && organizationId && !isPlatformAdmin2);
4212
4220
  const permissionsQuery = useQuery({
4213
4221
  // eslint-disable-next-line @tanstack/query/exhaustive-deps -- services.apiRequest is a stable context fn, not cache-relevant; query is keyed by organizationId
4214
- queryKey: ["access-permissions", organizationId],
4222
+ queryKey: accessKeys.permissions(organizationId),
4215
4223
  queryFn: () => services.apiRequest(`/memberships/my-permissions/${organizationId}`),
4216
4224
  enabled: shouldFetchPermissions,
4217
4225
  staleTime: STALE_TIME_DEFAULT
@@ -4248,6 +4256,12 @@ function useAccess(key) {
4248
4256
  };
4249
4257
  }
4250
4258
 
4259
+ // src/hooks/useResolvedTimeRange.ts
4260
+ var DEFAULT_TIME_RANGE = "30d";
4261
+ function useResolvedTimeRange(timeRange) {
4262
+ return timeRange ?? DEFAULT_TIME_RANGE;
4263
+ }
4264
+
4251
4265
  // src/hooks/executions/queryKeys.ts
4252
4266
  var executionsKeys = {
4253
4267
  all: ["executions"],
@@ -4265,8 +4279,9 @@ var executionsKeys = {
4265
4279
 
4266
4280
  // src/hooks/executions/executionStatus.ts
4267
4281
  var TERMINAL_EXECUTION_STATUSES = ["completed", "failed", "warning"];
4282
+ var IN_FLIGHT_EXECUTION_STATUSES = ["pending", "running"];
4268
4283
  function isExecutionInFlight(status) {
4269
- return status !== void 0 && status !== null && !TERMINAL_EXECUTION_STATUSES.includes(status);
4284
+ return status !== void 0 && status !== null && IN_FLIGHT_EXECUTION_STATUSES.includes(status);
4270
4285
  }
4271
4286
  function useExecutions(resourceId, resourceStatus, limit, offset) {
4272
4287
  const { apiRequest, workOSOrganizationId, isReady } = useElevasisServices();
@@ -4690,7 +4705,7 @@ function StatCard(props) {
4690
4705
  /* @__PURE__ */ jsx(ThemeIcon, { size: "lg", variant: "light", color, children: /* @__PURE__ */ jsx(IconComponent, { size: 18 }) }),
4691
4706
  /* @__PURE__ */ jsxs("div", { children: [
4692
4707
  /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: label }),
4693
- /* @__PURE__ */ jsx(Text, { size: "lg", fw: 600, style: { fontFamily: "var(--elevasis-font-family-subtitle)" }, children: value })
4708
+ /* @__PURE__ */ jsx(Text, { component: "div", size: "lg", fw: 600, style: { fontFamily: "var(--elevasis-font-family-subtitle)" }, children: value })
4694
4709
  ] })
4695
4710
  ] }) });
4696
4711
  }
@@ -5168,6 +5183,7 @@ function ResourceCard({
5168
5183
  style,
5169
5184
  ...rest
5170
5185
  }) {
5186
+ const [hovered, setHovered] = useState(false);
5171
5187
  const Icon = getResourceIcon(resource.type);
5172
5188
  if (!Icon) {
5173
5189
  return /* @__PURE__ */ jsx(Card, { shadow: "sm", withBorder: true, children: /* @__PURE__ */ jsxs(Text, { children: [
@@ -5243,7 +5259,6 @@ function ResourceCard({
5243
5259
  );
5244
5260
  }
5245
5261
  if (layout === "row") {
5246
- const [hovered, setHovered] = useState(false);
5247
5262
  return /* @__PURE__ */ jsx(
5248
5263
  Card,
5249
5264
  {
@@ -5380,7 +5395,12 @@ var STATUS_COLORS = {
5380
5395
  status_update: "green",
5381
5396
  issue: "yellow",
5382
5397
  blocker: "red",
5383
- agent_learning: "grape"
5398
+ agent_learning: "grape",
5399
+ // Organization lifecycle (organizations.status)
5400
+ suspended: "orange",
5401
+ archived: "grape",
5402
+ deleting: "yellow",
5403
+ delete_failed: "red"
5384
5404
  };
5385
5405
  function StatusBadge({ status, ...props }) {
5386
5406
  const label = status.split("_").map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join(" ");
@@ -5581,7 +5601,7 @@ var ConfirmationInputModal = ({
5581
5601
  /* @__PURE__ */ jsx(Center, { children: /* @__PURE__ */ jsx(Title, { order: 3, children: title }) }),
5582
5602
  /* @__PURE__ */ jsx(Space, { h: 16 }),
5583
5603
  text && /* @__PURE__ */ jsxs(Fragment, { children: [
5584
- /* @__PURE__ */ jsx(Text, { size: "sm", c: "var(--color-text-dimmed)", children: text }),
5604
+ /* @__PURE__ */ jsx(Text, { component: "div", size: "sm", c: "var(--color-text-dimmed)", children: text }),
5585
5605
  /* @__PURE__ */ jsx(Space, { h: 8 })
5586
5606
  ] }),
5587
5607
  /* @__PURE__ */ jsx(
@@ -6209,7 +6229,13 @@ function groupTimestampsByTime(timestamps, timeRange) {
6209
6229
  "Activity Count": count
6210
6230
  }));
6211
6231
  }
6212
- function ActivityTrendChart({ timestamps, total, isLoading, timeRange }) {
6232
+ function ActivityTrendChart({
6233
+ timestamps,
6234
+ total,
6235
+ isLoading,
6236
+ timeRange: timeRangeProp
6237
+ }) {
6238
+ const timeRange = useResolvedTimeRange(timeRangeProp);
6213
6239
  const chartData = useMemo(() => {
6214
6240
  return groupTimestampsByTime(timestamps, timeRange);
6215
6241
  }, [timestamps, timeRange]);
@@ -6501,10 +6527,11 @@ function CombinedTrendChart({
6501
6527
  errorData: _errorData,
6502
6528
  isLoading,
6503
6529
  error,
6504
- timeRange,
6530
+ timeRange: timeRangeProp,
6505
6531
  navigationAction,
6506
6532
  compact = false
6507
6533
  }) {
6534
+ const timeRange = useResolvedTimeRange(timeRangeProp);
6508
6535
  const [activeTab, setActiveTab] = useState("success");
6509
6536
  const colors = useCyberColors();
6510
6537
  const { startDate: start, endDate: end } = useMemo(() => getTimeRangeDates(timeRange), [timeRange]);
@@ -6975,6 +7002,35 @@ function CheckpointGroup({ name, count, isActive, onClick }) {
6975
7002
  }
6976
7003
  );
6977
7004
  }
7005
+
7006
+ // src/hooks/command-queue/queryKeys.ts
7007
+ var commandQueueKeys = {
7008
+ all: ["command-queue"],
7009
+ lists: () => [...commandQueueKeys.all, "list"],
7010
+ list: (organizationId, filters) => [
7011
+ ...commandQueueKeys.lists(),
7012
+ organizationId,
7013
+ filters.status,
7014
+ filters.humanCheckpoint,
7015
+ filters.timeRange,
7016
+ filters.priorityMin,
7017
+ filters.priorityMax,
7018
+ filters.limit,
7019
+ filters.offset
7020
+ ],
7021
+ // `taskId` is optional because `useCommandQueueTask` builds the key before it knows the
7022
+ // id and gates the fetch on `enabled` instead -- the key still has to be stable.
7023
+ detail: (organizationId, taskId) => [...commandQueueKeys.all, "detail", organizationId, taskId],
7024
+ checkpoints: (organizationId, filters) => [
7025
+ ...commandQueueKeys.all,
7026
+ "checkpoints",
7027
+ organizationId,
7028
+ filters.timeRange,
7029
+ filters.priorityMin,
7030
+ filters.priorityMax,
7031
+ filters.status
7032
+ ]
7033
+ };
6978
7034
  function useCommandQueue({
6979
7035
  status,
6980
7036
  limit,
@@ -6986,10 +7042,7 @@ function useCommandQueue({
6986
7042
  } = {}) {
6987
7043
  const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
6988
7044
  return useQuery({
6989
- queryKey: [
6990
- "command-queue",
6991
- "list",
6992
- workOSOrganizationId,
7045
+ queryKey: commandQueueKeys.list(workOSOrganizationId, {
6993
7046
  status,
6994
7047
  humanCheckpoint,
6995
7048
  timeRange,
@@ -6997,7 +7050,7 @@ function useCommandQueue({
6997
7050
  priorityMax,
6998
7051
  limit,
6999
7052
  offset
7000
- ],
7053
+ }),
7001
7054
  queryFn: async () => {
7002
7055
  const params = new URLSearchParams();
7003
7056
  if (status) params.set("status", status);
@@ -7024,7 +7077,7 @@ function useCommandQueue({
7024
7077
  function useCommandQueueTask(taskId) {
7025
7078
  const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
7026
7079
  return useQuery({
7027
- queryKey: ["command-queue", "detail", workOSOrganizationId, taskId],
7080
+ queryKey: commandQueueKeys.detail(workOSOrganizationId, taskId),
7028
7081
  queryFn: async () => {
7029
7082
  const response = await apiRequest(`/command-queue/${taskId}`);
7030
7083
  return {
@@ -7037,9 +7090,11 @@ function useCommandQueueTask(taskId) {
7037
7090
  enabled: isReady && !!taskId
7038
7091
  });
7039
7092
  }
7040
- function useSubmitAction() {
7093
+ function useSubmitAction(options = {}) {
7094
+ const { notifyOnError = true } = options;
7041
7095
  const { apiRequest } = useElevasisServices();
7042
7096
  const queryClient = useQueryClient();
7097
+ const notify = useNotificationAdapter();
7043
7098
  return useMutation({
7044
7099
  mutationFn: async ({ taskId, actionId, payload, notes }) => {
7045
7100
  const response = await apiRequest(`/command-queue/${taskId}/action`, {
@@ -7053,9 +7108,9 @@ function useSubmitAction() {
7053
7108
  return response;
7054
7109
  },
7055
7110
  onMutate: async ({ taskId }) => {
7056
- await queryClient.cancelQueries({ queryKey: ["command-queue", "list"] });
7111
+ await queryClient.cancelQueries({ queryKey: commandQueueKeys.lists() });
7057
7112
  const previousData = /* @__PURE__ */ new Map();
7058
- const queries = queryClient.getQueriesData({ queryKey: ["command-queue", "list"] });
7113
+ const queries = queryClient.getQueriesData({ queryKey: commandQueueKeys.lists() });
7059
7114
  for (const [queryKey, data] of queries) {
7060
7115
  previousData.set(queryKey, data);
7061
7116
  if (data) {
@@ -7063,7 +7118,9 @@ function useSubmitAction() {
7063
7118
  queryKey,
7064
7119
  (old) => old ? {
7065
7120
  ...old,
7066
- tasks: old.tasks.map((task) => task.id === taskId ? { ...task, status: "processing" } : task)
7121
+ tasks: old.tasks.map(
7122
+ (task) => task.id === taskId ? { ...task, status: "processing" } : task
7123
+ )
7067
7124
  } : old
7068
7125
  );
7069
7126
  }
@@ -7071,14 +7128,17 @@ function useSubmitAction() {
7071
7128
  return { previousData };
7072
7129
  },
7073
7130
  onSuccess: () => {
7074
- queryClient.invalidateQueries({ queryKey: ["command-queue"] });
7131
+ queryClient.invalidateQueries({ queryKey: commandQueueKeys.all });
7075
7132
  },
7076
- onError: (_error, _variables, context) => {
7133
+ onError: (error, _variables, context) => {
7077
7134
  if (context?.previousData) {
7078
7135
  for (const [queryKey, data] of context.previousData) {
7079
7136
  queryClient.setQueryData(queryKey, data);
7080
7137
  }
7081
7138
  }
7139
+ if (notifyOnError) {
7140
+ notify.apiError(error);
7141
+ }
7082
7142
  }
7083
7143
  });
7084
7144
  }
@@ -7093,9 +7153,9 @@ function useDeleteTask() {
7093
7153
  });
7094
7154
  },
7095
7155
  onMutate: async (taskId) => {
7096
- await queryClient.cancelQueries({ queryKey: ["command-queue", "list"] });
7156
+ await queryClient.cancelQueries({ queryKey: commandQueueKeys.lists() });
7097
7157
  const previousData = /* @__PURE__ */ new Map();
7098
- const queries = queryClient.getQueriesData({ queryKey: ["command-queue", "list"] });
7158
+ const queries = queryClient.getQueriesData({ queryKey: commandQueueKeys.lists() });
7099
7159
  for (const [queryKey, data] of queries) {
7100
7160
  previousData.set(queryKey, data);
7101
7161
  if (data) {
@@ -7117,7 +7177,7 @@ function useDeleteTask() {
7117
7177
  },
7118
7178
  onSuccess: () => {
7119
7179
  notify.success("Task Deleted", "Task has been removed");
7120
- queryClient.invalidateQueries({ queryKey: ["command-queue"] });
7180
+ queryClient.invalidateQueries({ queryKey: commandQueueKeys.all });
7121
7181
  },
7122
7182
  onError: (error, _taskId, context) => {
7123
7183
  if (context?.previousData) {
@@ -7137,7 +7197,7 @@ function useCommandQueueTotals({
7137
7197
  } = {}) {
7138
7198
  const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
7139
7199
  return useQuery({
7140
- queryKey: ["command-queue", "checkpoints", workOSOrganizationId, timeRange, priorityMin, priorityMax, status],
7200
+ queryKey: commandQueueKeys.checkpoints(workOSOrganizationId, { timeRange, priorityMin, priorityMax, status }),
7141
7201
  queryFn: async () => {
7142
7202
  const params = new URLSearchParams();
7143
7203
  params.set("timeRange", timeRange);
@@ -7172,7 +7232,7 @@ function usePatchTask() {
7172
7232
  expiresAt: updatedTask.expiresAt ? new Date(updatedTask.expiresAt) : void 0
7173
7233
  };
7174
7234
  queryClient.setQueriesData(
7175
- { queryKey: ["command-queue", "list"] },
7235
+ { queryKey: commandQueueKeys.lists() },
7176
7236
  (old) => old ? {
7177
7237
  ...old,
7178
7238
  tasks: old.tasks.map((t) => t.id === deserialized.id ? { ...t, ...deserialized } : t)
@@ -7238,8 +7298,9 @@ function CommandQueueSidebarMiddle({
7238
7298
  onSelectCheckpoint,
7239
7299
  priorityRange,
7240
7300
  status,
7241
- timeRange
7301
+ timeRange: timeRangeProp
7242
7302
  }) {
7303
+ const timeRange = useResolvedTimeRange(timeRangeProp);
7243
7304
  const { data, isLoading } = useCommandQueueTotals({
7244
7305
  timeRange,
7245
7306
  priorityMin: priorityRange[0],
@@ -7967,7 +8028,8 @@ var FILTER_STATE_LABELS = {
7967
8028
  include: "Include only",
7968
8029
  exclude: "Exclude"
7969
8030
  };
7970
- function ResourcesSidebar({ timeRange }) {
8031
+ function ResourcesSidebar({ timeRange: timeRangeProp }) {
8032
+ const timeRange = useResolvedTimeRange(timeRangeProp);
7971
8033
  const searchQuery = useResourceSearch((s) => s.query);
7972
8034
  const setSearchQuery = useResourceSearch((s) => s.set);
7973
8035
  const statusFilter = useStatusFilter((s) => s.value);
@@ -8867,12 +8929,6 @@ var OperationsSidebarTop = () => {
8867
8929
  var ExecutionLogsSidebar = () => {
8868
8930
  const { currentPath } = useRouterContext();
8869
8931
  const { operationsApiUrl, operationsSSEManager } = useElevasisSystems();
8870
- const activeResource = getActiveResource(currentPath);
8871
- const resourceId = activeResource?.id ?? "";
8872
- const [filter, setFilter] = useState("all");
8873
- const [deleteModalOpen, setDeleteModalOpen] = useState(false);
8874
- const bulkDelete = useBulkDeleteExecutions();
8875
- const { page, setPage, offset, totalPages } = usePaginationState(PAGE_SIZE_DEFAULT, [resourceId, filter]);
8876
8932
  if (!operationsApiUrl || !operationsSSEManager) {
8877
8933
  return /* @__PURE__ */ jsx(Box, { p: "sm", style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ jsx(
8878
8934
  APIErrorAlert,
@@ -8881,10 +8937,19 @@ var ExecutionLogsSidebar = () => {
8881
8937
  }
8882
8938
  ) });
8883
8939
  }
8940
+ return /* @__PURE__ */ jsx(ExecutionLogsSidebarContent, { currentPath, apiUrl: operationsApiUrl, manager: operationsSSEManager });
8941
+ };
8942
+ var ExecutionLogsSidebarContent = ({ currentPath, apiUrl, manager }) => {
8943
+ const activeResource = getActiveResource(currentPath);
8944
+ const resourceId = activeResource?.id ?? "";
8945
+ const [filter, setFilter] = useState("all");
8946
+ const [deleteModalOpen, setDeleteModalOpen] = useState(false);
8947
+ const bulkDelete = useBulkDeleteExecutions();
8948
+ const { page, setPage, offset, totalPages } = usePaginationState(PAGE_SIZE_DEFAULT, [resourceId, filter]);
8884
8949
  const { executions, total, isLoading, isFetched, selectedId, setSelectedId, setResourceStatusFilter, runningCount } = useExecutionPanelState({
8885
8950
  resourceId,
8886
- apiUrl: operationsApiUrl,
8887
- manager: operationsSSEManager,
8951
+ apiUrl,
8952
+ manager,
8888
8953
  limit: PAGE_SIZE_DEFAULT,
8889
8954
  offset
8890
8955
  });
@@ -9589,25 +9654,22 @@ function useInFlightExecutions(resourceId, options = {}) {
9589
9654
  const { apiRequest, workOSOrganizationId, isReady } = useElevasisServices();
9590
9655
  const limit = options.limit ?? 20;
9591
9656
  const offset = options.offset ?? 0;
9657
+ const listId = options.listId;
9592
9658
  return useQuery({
9593
9659
  // eslint-disable-next-line @tanstack/query/exhaustive-deps -- resourceId/limit/offset/listId are already folded into the executions key builders; the rule can't trace through them
9594
- queryKey: options.listId ? [
9595
- ...acquisitionListKeys.executions(workOSOrganizationId, options.listId, { resourceId, limit }),
9596
- "in-flight"
9597
- ] : [...executionsKeys.executions(workOSOrganizationId, resourceId, "all", limit, offset), "in-flight"],
9660
+ queryKey: listId ? [...acquisitionListKeys.executions(workOSOrganizationId, listId, { limit }), "in-flight"] : [...executionsKeys.executions(workOSOrganizationId, resourceId, "all", limit, offset), "in-flight"],
9598
9661
  queryFn: async () => {
9599
- if (options.listId) {
9600
- const executions2 = await apiRequest(
9601
- `/acquisition/lists/${options.listId}/executions`
9602
- );
9603
- const runningExecutions = executions2.filter((execution) => execution.resourceId === resourceId && execution.status === "running").slice(0, limit);
9662
+ if (listId) {
9663
+ const executions2 = await apiRequest(`/acquisition/lists/${listId}/executions`);
9664
+ const inFlight = executions2.filter((execution) => isExecutionInFlight(execution.status));
9604
9665
  return {
9605
- executions: runningExecutions.map((execution) => ({
9666
+ executions: inFlight.map((execution) => ({
9606
9667
  id: execution.executionId,
9607
- status: "running",
9668
+ resourceId: execution.resourceId,
9669
+ status: execution.status,
9608
9670
  startTime: new Date(execution.createdAt).getTime()
9609
9671
  })),
9610
- total: runningExecutions.length,
9672
+ total: inFlight.length,
9611
9673
  limit,
9612
9674
  offset,
9613
9675
  hasMore: false
@@ -9620,13 +9682,18 @@ function useInFlightExecutions(resourceId, options = {}) {
9620
9682
  const response = await apiRequest(
9621
9683
  `/execution-engine/executions/${resourceId}?${params.toString()}`
9622
9684
  );
9623
- const executions = response.executions.filter((execution) => execution.status === "running");
9685
+ const executions = response.executions.filter((execution) => isExecutionInFlight(execution.status)).map((execution) => ({ ...execution, resourceId }));
9624
9686
  return {
9625
9687
  ...response,
9626
9688
  executions,
9627
9689
  total: executions.length
9628
9690
  };
9629
9691
  },
9692
+ select: (data) => {
9693
+ if (!listId) return data;
9694
+ const executions = data.executions.filter((execution) => execution.resourceId === resourceId).slice(0, limit);
9695
+ return { ...data, executions, total: executions.length };
9696
+ },
9630
9697
  enabled: isReady && !!resourceId && (options.enabled ?? true),
9631
9698
  refetchInterval: options.refetchInterval
9632
9699
  });
@@ -10285,17 +10352,17 @@ function useContentItems(filters = {}) {
10285
10352
  queryKey: contentKeys.itemsList(workOSOrganizationId ?? void 0, filters),
10286
10353
  queryFn: async () => {
10287
10354
  const { status, pillar, pipelineId, clientId, reviewedBy, search, limit, offset } = filters;
10288
- const params = new URLSearchParams();
10289
- if (status) params.set("status", status);
10290
- if (pillar) params.set("pillar", pillar);
10291
- if (pipelineId) params.set("pipelineId", pipelineId);
10292
- if (clientId) params.set("clientId", clientId);
10293
- if (reviewedBy) params.set("reviewedBy", reviewedBy);
10294
- if (search) params.set("search", search);
10295
- if (limit !== void 0) params.set("limit", String(limit));
10296
- if (offset !== void 0) params.set("offset", String(offset));
10297
- const query = params.toString();
10298
- return apiRequest(`/content/items${query ? "?" + query : ""}`);
10355
+ const query = buildQueryString({
10356
+ status: status || void 0,
10357
+ pillar: pillar || void 0,
10358
+ pipelineId: pipelineId || void 0,
10359
+ clientId: clientId || void 0,
10360
+ reviewedBy: reviewedBy || void 0,
10361
+ search: search || void 0,
10362
+ limit,
10363
+ offset
10364
+ });
10365
+ return apiRequest(`/content/items${query}`);
10299
10366
  },
10300
10367
  enabled: isReady
10301
10368
  });
@@ -10326,14 +10393,14 @@ function useContentDistributions(filters = {}) {
10326
10393
  queryKey: contentKeys.distributionsList(workOSOrganizationId ?? void 0, filters),
10327
10394
  queryFn: async () => {
10328
10395
  const { contentItemId, platform, status, limit, offset } = filters;
10329
- const params = new URLSearchParams();
10330
- if (contentItemId) params.set("contentItemId", contentItemId);
10331
- if (platform) params.set("platform", platform);
10332
- if (status) params.set("status", status);
10333
- if (limit !== void 0) params.set("limit", String(limit));
10334
- if (offset !== void 0) params.set("offset", String(offset));
10335
- const query = params.toString();
10336
- return apiRequest(`/content/distributions${query ? "?" + query : ""}`);
10396
+ const query = buildQueryString({
10397
+ contentItemId: contentItemId || void 0,
10398
+ platform: platform || void 0,
10399
+ status: status || void 0,
10400
+ limit,
10401
+ offset
10402
+ });
10403
+ return apiRequest(`/content/distributions${query}`);
10337
10404
  },
10338
10405
  enabled: isReady
10339
10406
  });
@@ -10456,12 +10523,8 @@ function useContentSourceAssets(filters = {}) {
10456
10523
  queryKey: contentKeys.sourceAssetsList(workOSOrganizationId ?? void 0, filters),
10457
10524
  queryFn: async () => {
10458
10525
  const { kind, limit, offset } = filters;
10459
- const params = new URLSearchParams();
10460
- if (kind) params.set("kind", kind);
10461
- if (limit !== void 0) params.set("limit", String(limit));
10462
- if (offset !== void 0) params.set("offset", String(offset));
10463
- const query = params.toString();
10464
- return apiRequest(`/content/source-assets${query ? "?" + query : ""}`);
10526
+ const query = buildQueryString({ kind: kind || void 0, limit, offset });
10527
+ return apiRequest(`/content/source-assets${query}`);
10465
10528
  },
10466
10529
  enabled: isReady
10467
10530
  });
@@ -13472,7 +13535,7 @@ function ConceptInfoControl({ description }) {
13472
13535
  var indexPromise = null;
13473
13536
  function loadSearchIndex() {
13474
13537
  if (!indexPromise) {
13475
- indexPromise = import('./knowledge-search-index-6GQK55IQ.js').then(
13538
+ indexPromise = import('./knowledge-search-index-YU6V3FTK.js').then(
13476
13539
  (mod) => buildSearchIndex(mod.default ?? mod)
13477
13540
  );
13478
13541
  }
@@ -14307,4 +14370,4 @@ function createTestSystemsProvider({ organizationModel, systems = [] } = {}) {
14307
14370
  };
14308
14371
  }
14309
14372
 
14310
- export { APIErrorAlert, AccessGuard, AccessKeys, ActivityTimeline, ActivityTrendChart, AgentResourceEntrySchema, AppearanceContext, AppearanceProvider, CONTENT_ITEMS, CRM_ITEMS, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleSection, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, ConfirmationInputModal, ConfirmationModal, ContentSidebar, ContentSidebarMiddle, ContextViewer, CostTrendChart, CrmActionsProvider, CrmSidebarMiddle, CustomModal, CustomSelector, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, DEFAULT_CONTENT_VOCABULARY, DEFAULT_ORGANIZATION_GRAPH_FILTERS, DEFAULT_WAIT_FOR_ORGANIZATION, DetailCardSkeleton, EMPTY_LIST_ACTIONS, ElevasisCoreProvider, ElevasisLoader, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, FILTERABLE_DOMAIN_KEYS, FeatureUnavailableState, GlowDot, HeroStatsRow, IdentityDomainSchema, IntegrationResourceEntrySchema, JsonViewer, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, LEAD_GEN_ITEMS, LeadGenSidebarMiddle, ListActionsProvider, ListSkeleton, MyReviewQueuePanel, MyTasksPanel, NavigationButton, NoAccessState, NotificationProvider, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_ORDER, ORGANIZATION_NODE_ID, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationModelDriftActionIcon, OverviewList, OverviewListRow, PageNotFound, PageTitleCaption, ProtectedRoute, QuickCreateActions, RequestActionIcon, RequestModal, ResourceCard, ResourcesSidebar, RoleSchema, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SYSTEM_RESOURCE_KINDS, SavedViewsPanel, ScriptResourceEntrySchema, SemanticIcon, SessionListItem, SessionsSidebar, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, SubshellContainer, SubshellContentContainer, SubshellNavItem, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SurfaceDefinitionSchema, SystemReadinessAlert, SystemShell, SystemUnavailableState, TERMINAL_EXECUTION_STATUSES, TabCountBadge, TimeRangeSelector, TrendIndicator, WorkflowResourceEntrySchema, acquisitionListKeys, aggregateSystemMetrics, buildKnowledgeOmTreeData, buildOrganizationGraph, clientsManifest, collectResourceFilterFacets, computeProtectedRouteGate, contentKeys, contentManifest, createTestSystemsProvider, crmManifest, dealKeys, dealTaskKeys, deliveryManifest, deriveContentBoard, executionsKeys, extendSemanticIconRegistry, filterByDomainFilters, findKnowledgeTreeNodeByValue, findListActionByAction, findOmTreeGroup, formatResourceAttribution, getAllBuildTemplates, getConceptDefinition, getContentItemIdentity, getCrmPipelineCatalog, getKnowledgeDomainFolderCommand, getKnowledgeGraphNodeCommand, getKnowledgeIconToken, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getKnowledgeTreeFolderCommand, getLeadGenStageCatalog, getListActionWorkflowId, getOntologyDomainLabel, getPrimaryOntologyItemsForDomain, getResourceFilterFacetIds, getSemanticIconComponent, getSeriesColor, getSessionView, getSharedOrganizationGraph, isAwaitingReview, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, knowledgeManifest, labelResourceFilterFacet, leadGenManifest, monitoringManifest, normaliseConceptKey, observabilityKeys, operationsKeys, operationsManifest, pickCoverSourceAsset, pickLatestRunAt, projectNavigationGroups, projectNavigationSurfaces, readItemSourceAssets, requestTopbarActionManifest, requestsKeys, resolveContentStepResource, resolveContentVocabulary, resolveContentWorkspaceRoute, resolveCurrentContentStep, resolveReviewTarget, resolveSemanticIconComponent, selectDeclaredSystems, seoManifest, sessionsKeys, settingsManifest, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, submittedRequestsManifest, subshellNavItemIconSize, sumStatusCounts, topbarHeight, useAccess, useAddContentItemSourceAsset, useAppearance, useArchiveSession, useArchivedLogs, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewDomainFilters, useCompleteDealTask, useContentConfig, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostTrends, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateDealTask, useCreateList, useCreateSession, useCrmActions, useCyberColors, useDashboardMetrics, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteSession, useDeleteTask, useElevasisSystems, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionLogSSE, useExecutionPanelState, useExecutionSSE, useExecutions, useInFlightExecutions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenHeaderActions, useLeadGenRowActions, useList, useListActions, useListExecutions, useListProgress, useListRecords, useLists, useListsTelemetry, useNotificationAdapter, useOptionalElevasisSystems, useOrganizationModelDrift, usePaginationState, usePatchTask, useRecentExecutionsByResource, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResourceDefinition, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useRetryExecution, useReviewContentItem, useSSEConnection, useSession, useSessionCheck, useSessions, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSystemHealth, useSystemsViewState, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateList, useUpdateListConfig, useWorkflowExecution };
14373
+ export { APIErrorAlert, AccessGuard, AccessKeys, ActivityTimeline, ActivityTrendChart, AgentResourceEntrySchema, AppearanceContext, AppearanceProvider, CONTENT_ITEMS, CRM_ITEMS, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleSection, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, ConfirmationInputModal, ConfirmationModal, ContentSidebar, ContentSidebarMiddle, ContextViewer, CostTrendChart, CrmActionsProvider, CrmSidebarMiddle, CustomModal, CustomSelector, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, DEFAULT_CONTENT_VOCABULARY, DEFAULT_ORGANIZATION_GRAPH_FILTERS, DEFAULT_TIME_RANGE, DEFAULT_WAIT_FOR_ORGANIZATION, DetailCardSkeleton, EMPTY_LIST_ACTIONS, ElevasisCoreProvider, ElevasisLoader, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, FILTERABLE_DOMAIN_KEYS, FeatureUnavailableState, GlowDot, HeroStatsRow, IN_FLIGHT_EXECUTION_STATUSES, IdentityDomainSchema, IntegrationResourceEntrySchema, JsonViewer, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, LEAD_GEN_ITEMS, LeadGenSidebarMiddle, ListActionsProvider, ListSkeleton, MyReviewQueuePanel, MyTasksPanel, NavigationButton, NoAccessState, NotificationProvider, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, ORGANIZATION_GRAPH_EDGE_KIND_LABELS, ORGANIZATION_GRAPH_EDGE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_DETAIL_LABELS, ORGANIZATION_GRAPH_NODE_KIND_LABELS, ORGANIZATION_GRAPH_NODE_KIND_MEANINGS, ORGANIZATION_GRAPH_NODE_KIND_ORDER, ORGANIZATION_NODE_ID, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationModelDriftActionIcon, OverviewList, OverviewListRow, PageNotFound, PageTitleCaption, ProtectedRoute, QuickCreateActions, RequestActionIcon, RequestModal, ResourceCard, ResourcesSidebar, RoleSchema, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SYSTEM_RESOURCE_KINDS, SavedViewsPanel, ScriptResourceEntrySchema, SemanticIcon, SessionListItem, SessionsSidebar, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, SubshellContainer, SubshellContentContainer, SubshellNavItem, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SurfaceDefinitionSchema, SystemReadinessAlert, SystemShell, SystemUnavailableState, TERMINAL_EXECUTION_STATUSES, TabCountBadge, TimeRangeSelector, TrendIndicator, WorkflowResourceEntrySchema, accessKeys, acquisitionListKeys, aggregateSystemMetrics, buildKnowledgeOmTreeData, buildOrganizationGraph, clientsManifest, collectResourceFilterFacets, commandQueueKeys, computeProtectedRouteGate, contentKeys, contentManifest, createTestSystemsProvider, crmManifest, dealKeys, dealTaskKeys, deliveryManifest, deriveContentBoard, executionsKeys, extendSemanticIconRegistry, filterByDomainFilters, findKnowledgeTreeNodeByValue, findListActionByAction, findOmTreeGroup, formatResourceAttribution, getAllBuildTemplates, getConceptDefinition, getContentItemIdentity, getCrmPipelineCatalog, getKnowledgeDomainFolderCommand, getKnowledgeGraphNodeCommand, getKnowledgeIconToken, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getKnowledgeTreeFolderCommand, getLeadGenStageCatalog, getListActionWorkflowId, getOntologyDomainLabel, getPrimaryOntologyItemsForDomain, getResourceFilterFacetIds, getSemanticIconComponent, getSeriesColor, getSessionView, getSharedOrganizationGraph, isAwaitingReview, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, knowledgeManifest, labelResourceFilterFacet, leadGenManifest, monitoringManifest, normaliseConceptKey, observabilityKeys, operationsKeys, operationsManifest, pickCoverSourceAsset, pickLatestRunAt, projectNavigationGroups, projectNavigationSurfaces, readItemSourceAssets, requestTopbarActionManifest, requestsKeys, resolveContentStepResource, resolveContentVocabulary, resolveContentWorkspaceRoute, resolveCurrentContentStep, resolveReviewTarget, resolveSemanticIconComponent, selectDeclaredSystems, seoManifest, sessionsKeys, settingsManifest, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, submittedRequestsManifest, subshellNavItemIconSize, sumStatusCounts, topbarHeight, useAccess, useAddContentItemSourceAsset, useAppearance, useArchiveSession, useArchivedLogs, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewDomainFilters, useCompleteDealTask, useContentConfig, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostTrends, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateDealTask, useCreateList, useCreateSession, useCrmActions, useCyberColors, useDashboardMetrics, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteSession, useDeleteTask, useElevasisSystems, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionLogSSE, useExecutionPanelState, useExecutionSSE, useExecutions, useInFlightExecutions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenHeaderActions, useLeadGenRowActions, useList, useListActions, useListExecutions, useListProgress, useListRecords, useLists, useListsTelemetry, useNotificationAdapter, useOptionalElevasisSystems, useOrganizationModelDrift, usePaginationState, usePatchTask, useRecentExecutionsByResource, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResolvedTimeRange, useResourceDefinition, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useRetryExecution, useReviewContentItem, useSSEConnection, useSession, useSessionCheck, useSessions, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSystemHealth, useSystemsViewState, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateList, useUpdateListConfig, useWorkflowExecution };
@@ -1,4 +1,4 @@
1
- import { GC_TIME_LONG, STALE_TIME_DEFAULT } from './chunk-5ZK7K7YP.js';
1
+ import { GC_TIME_LONG, STALE_TIME_DEFAULT } from './chunk-CIGWHY7C.js';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
3
 
4
4
  function createElevasisQueryClient(options = {}) {
@@ -1,5 +1,5 @@
1
1
  import { PageContainer } from './chunk-BZZCNLT6.js';
2
- import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, useAppearance, sidebarGroupChevronSize, sidebarIconInnerSize, SubshellNavItem, useElevasisSystems } from './chunk-M3DWVFRT.js';
2
+ import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, useAppearance, sidebarGroupChevronSize, sidebarIconInnerSize, SubshellNavItem, useElevasisSystems } from './chunk-7A25EJ4A.js';
3
3
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import { createContext, memo, useEffect, useRef, createElement, useContext, useLayoutEffect, useState, Fragment as Fragment$1 } from 'react';