@elevasis/ui 2.79.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-NCPNKI3V.js → chunk-2HXDI4RY.js} +1 -1
  8. package/dist/{chunk-7ICEQPBU.js → chunk-2KXSFLU2.js} +1 -1
  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-6AJUWYKS.js → chunk-3UO2CJTR.js} +1 -1
  12. package/dist/{chunk-SJRIO26Q.js → chunk-52G4B33T.js} +2 -2
  13. package/dist/{chunk-G3WOMHVI.js → chunk-6IWH757Q.js} +4 -3
  14. package/dist/{chunk-3ONNZ4SO.js → chunk-6MWTTBBT.js} +6 -6
  15. package/dist/{chunk-4VGPEDQF.js → chunk-7A25EJ4A.js} +121 -68
  16. package/dist/{chunk-SVZR4GYA.js → chunk-A32PJ2DO.js} +1 -1
  17. package/dist/{chunk-R42OYAQ2.js → chunk-BG7VCCFB.js} +1 -1
  18. package/dist/{chunk-QMOBXKW3.js → chunk-BXFZ676L.js} +222 -191
  19. package/dist/{chunk-5ZK7K7YP.js → chunk-CIGWHY7C.js} +23 -21
  20. package/dist/{chunk-M77G2MGW.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-G4IEH7NX.js → chunk-I5SYS6DT.js} +5 -5
  25. package/dist/{chunk-2GIJBHZT.js → chunk-IIMC4TRH.js} +3 -3
  26. package/dist/{chunk-QMAIUPXK.js → chunk-JDPPV2XI.js} +15 -13
  27. package/dist/{chunk-QLEY6Q7K.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-WJO6QEI7.js → chunk-MMOR2HQZ.js} +33 -78
  31. package/dist/{chunk-GWCLI2RX.js → chunk-NGRRAYMO.js} +22 -39
  32. package/dist/{chunk-A37T4NIZ.js → chunk-NKMBW7WE.js} +10 -10
  33. package/dist/{chunk-ODXLZZFR.js → chunk-Q6HRTWA6.js} +1 -1
  34. package/dist/{chunk-3KCLWJDC.js → chunk-QQKYBGBX.js} +22 -11
  35. package/dist/{chunk-ASI3FDPC.js → chunk-QSN7BWI3.js} +1 -1
  36. package/dist/{chunk-AZCDL2SS.js → chunk-SPH5WW44.js} +5 -5
  37. package/dist/{chunk-4IYWLUXA.js → chunk-T6AOVZAI.js} +14 -10
  38. package/dist/{chunk-SXZMHLH6.js → chunk-U3GB5PDF.js} +4 -4
  39. package/dist/{chunk-22TWX4XG.js → chunk-VHK5J55Q.js} +8 -8
  40. package/dist/{chunk-RMLWK3IR.js → chunk-VKA4LQ7N.js} +1 -1
  41. package/dist/{chunk-2IU6BP6F.js → chunk-W6QOWA3L.js} +11 -10
  42. package/dist/{chunk-N6K2Q5BM.js → chunk-WDABHUIL.js} +9 -21
  43. package/dist/{chunk-4ZHX5KOT.js → chunk-WOYW24U7.js} +1 -1
  44. package/dist/{chunk-MGCXAAX4.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-LDQSTEFW.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 +286 -93
  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-5F3QGBEI.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-NCPNKI3V.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-5F3QGBEI.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"],
@@ -4691,7 +4705,7 @@ function StatCard(props) {
4691
4705
  /* @__PURE__ */ jsx(ThemeIcon, { size: "lg", variant: "light", color, children: /* @__PURE__ */ jsx(IconComponent, { size: 18 }) }),
4692
4706
  /* @__PURE__ */ jsxs("div", { children: [
4693
4707
  /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: label }),
4694
- /* @__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 })
4695
4709
  ] })
4696
4710
  ] }) });
4697
4711
  }
@@ -5169,6 +5183,7 @@ function ResourceCard({
5169
5183
  style,
5170
5184
  ...rest
5171
5185
  }) {
5186
+ const [hovered, setHovered] = useState(false);
5172
5187
  const Icon = getResourceIcon(resource.type);
5173
5188
  if (!Icon) {
5174
5189
  return /* @__PURE__ */ jsx(Card, { shadow: "sm", withBorder: true, children: /* @__PURE__ */ jsxs(Text, { children: [
@@ -5244,7 +5259,6 @@ function ResourceCard({
5244
5259
  );
5245
5260
  }
5246
5261
  if (layout === "row") {
5247
- const [hovered, setHovered] = useState(false);
5248
5262
  return /* @__PURE__ */ jsx(
5249
5263
  Card,
5250
5264
  {
@@ -5381,7 +5395,12 @@ var STATUS_COLORS = {
5381
5395
  status_update: "green",
5382
5396
  issue: "yellow",
5383
5397
  blocker: "red",
5384
- 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"
5385
5404
  };
5386
5405
  function StatusBadge({ status, ...props }) {
5387
5406
  const label = status.split("_").map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join(" ");
@@ -5582,7 +5601,7 @@ var ConfirmationInputModal = ({
5582
5601
  /* @__PURE__ */ jsx(Center, { children: /* @__PURE__ */ jsx(Title, { order: 3, children: title }) }),
5583
5602
  /* @__PURE__ */ jsx(Space, { h: 16 }),
5584
5603
  text && /* @__PURE__ */ jsxs(Fragment, { children: [
5585
- /* @__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 }),
5586
5605
  /* @__PURE__ */ jsx(Space, { h: 8 })
5587
5606
  ] }),
5588
5607
  /* @__PURE__ */ jsx(
@@ -6210,7 +6229,13 @@ function groupTimestampsByTime(timestamps, timeRange) {
6210
6229
  "Activity Count": count
6211
6230
  }));
6212
6231
  }
6213
- function ActivityTrendChart({ timestamps, total, isLoading, timeRange }) {
6232
+ function ActivityTrendChart({
6233
+ timestamps,
6234
+ total,
6235
+ isLoading,
6236
+ timeRange: timeRangeProp
6237
+ }) {
6238
+ const timeRange = useResolvedTimeRange(timeRangeProp);
6214
6239
  const chartData = useMemo(() => {
6215
6240
  return groupTimestampsByTime(timestamps, timeRange);
6216
6241
  }, [timestamps, timeRange]);
@@ -6502,10 +6527,11 @@ function CombinedTrendChart({
6502
6527
  errorData: _errorData,
6503
6528
  isLoading,
6504
6529
  error,
6505
- timeRange,
6530
+ timeRange: timeRangeProp,
6506
6531
  navigationAction,
6507
6532
  compact = false
6508
6533
  }) {
6534
+ const timeRange = useResolvedTimeRange(timeRangeProp);
6509
6535
  const [activeTab, setActiveTab] = useState("success");
6510
6536
  const colors = useCyberColors();
6511
6537
  const { startDate: start, endDate: end } = useMemo(() => getTimeRangeDates(timeRange), [timeRange]);
@@ -6976,6 +7002,35 @@ function CheckpointGroup({ name, count, isActive, onClick }) {
6976
7002
  }
6977
7003
  );
6978
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
+ };
6979
7034
  function useCommandQueue({
6980
7035
  status,
6981
7036
  limit,
@@ -6987,10 +7042,7 @@ function useCommandQueue({
6987
7042
  } = {}) {
6988
7043
  const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
6989
7044
  return useQuery({
6990
- queryKey: [
6991
- "command-queue",
6992
- "list",
6993
- workOSOrganizationId,
7045
+ queryKey: commandQueueKeys.list(workOSOrganizationId, {
6994
7046
  status,
6995
7047
  humanCheckpoint,
6996
7048
  timeRange,
@@ -6998,7 +7050,7 @@ function useCommandQueue({
6998
7050
  priorityMax,
6999
7051
  limit,
7000
7052
  offset
7001
- ],
7053
+ }),
7002
7054
  queryFn: async () => {
7003
7055
  const params = new URLSearchParams();
7004
7056
  if (status) params.set("status", status);
@@ -7025,7 +7077,7 @@ function useCommandQueue({
7025
7077
  function useCommandQueueTask(taskId) {
7026
7078
  const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
7027
7079
  return useQuery({
7028
- queryKey: ["command-queue", "detail", workOSOrganizationId, taskId],
7080
+ queryKey: commandQueueKeys.detail(workOSOrganizationId, taskId),
7029
7081
  queryFn: async () => {
7030
7082
  const response = await apiRequest(`/command-queue/${taskId}`);
7031
7083
  return {
@@ -7056,9 +7108,9 @@ function useSubmitAction(options = {}) {
7056
7108
  return response;
7057
7109
  },
7058
7110
  onMutate: async ({ taskId }) => {
7059
- await queryClient.cancelQueries({ queryKey: ["command-queue", "list"] });
7111
+ await queryClient.cancelQueries({ queryKey: commandQueueKeys.lists() });
7060
7112
  const previousData = /* @__PURE__ */ new Map();
7061
- const queries = queryClient.getQueriesData({ queryKey: ["command-queue", "list"] });
7113
+ const queries = queryClient.getQueriesData({ queryKey: commandQueueKeys.lists() });
7062
7114
  for (const [queryKey, data] of queries) {
7063
7115
  previousData.set(queryKey, data);
7064
7116
  if (data) {
@@ -7076,7 +7128,7 @@ function useSubmitAction(options = {}) {
7076
7128
  return { previousData };
7077
7129
  },
7078
7130
  onSuccess: () => {
7079
- queryClient.invalidateQueries({ queryKey: ["command-queue"] });
7131
+ queryClient.invalidateQueries({ queryKey: commandQueueKeys.all });
7080
7132
  },
7081
7133
  onError: (error, _variables, context) => {
7082
7134
  if (context?.previousData) {
@@ -7101,9 +7153,9 @@ function useDeleteTask() {
7101
7153
  });
7102
7154
  },
7103
7155
  onMutate: async (taskId) => {
7104
- await queryClient.cancelQueries({ queryKey: ["command-queue", "list"] });
7156
+ await queryClient.cancelQueries({ queryKey: commandQueueKeys.lists() });
7105
7157
  const previousData = /* @__PURE__ */ new Map();
7106
- const queries = queryClient.getQueriesData({ queryKey: ["command-queue", "list"] });
7158
+ const queries = queryClient.getQueriesData({ queryKey: commandQueueKeys.lists() });
7107
7159
  for (const [queryKey, data] of queries) {
7108
7160
  previousData.set(queryKey, data);
7109
7161
  if (data) {
@@ -7125,7 +7177,7 @@ function useDeleteTask() {
7125
7177
  },
7126
7178
  onSuccess: () => {
7127
7179
  notify.success("Task Deleted", "Task has been removed");
7128
- queryClient.invalidateQueries({ queryKey: ["command-queue"] });
7180
+ queryClient.invalidateQueries({ queryKey: commandQueueKeys.all });
7129
7181
  },
7130
7182
  onError: (error, _taskId, context) => {
7131
7183
  if (context?.previousData) {
@@ -7145,7 +7197,7 @@ function useCommandQueueTotals({
7145
7197
  } = {}) {
7146
7198
  const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
7147
7199
  return useQuery({
7148
- queryKey: ["command-queue", "checkpoints", workOSOrganizationId, timeRange, priorityMin, priorityMax, status],
7200
+ queryKey: commandQueueKeys.checkpoints(workOSOrganizationId, { timeRange, priorityMin, priorityMax, status }),
7149
7201
  queryFn: async () => {
7150
7202
  const params = new URLSearchParams();
7151
7203
  params.set("timeRange", timeRange);
@@ -7180,7 +7232,7 @@ function usePatchTask() {
7180
7232
  expiresAt: updatedTask.expiresAt ? new Date(updatedTask.expiresAt) : void 0
7181
7233
  };
7182
7234
  queryClient.setQueriesData(
7183
- { queryKey: ["command-queue", "list"] },
7235
+ { queryKey: commandQueueKeys.lists() },
7184
7236
  (old) => old ? {
7185
7237
  ...old,
7186
7238
  tasks: old.tasks.map((t) => t.id === deserialized.id ? { ...t, ...deserialized } : t)
@@ -7246,8 +7298,9 @@ function CommandQueueSidebarMiddle({
7246
7298
  onSelectCheckpoint,
7247
7299
  priorityRange,
7248
7300
  status,
7249
- timeRange
7301
+ timeRange: timeRangeProp
7250
7302
  }) {
7303
+ const timeRange = useResolvedTimeRange(timeRangeProp);
7251
7304
  const { data, isLoading } = useCommandQueueTotals({
7252
7305
  timeRange,
7253
7306
  priorityMin: priorityRange[0],
@@ -7975,7 +8028,8 @@ var FILTER_STATE_LABELS = {
7975
8028
  include: "Include only",
7976
8029
  exclude: "Exclude"
7977
8030
  };
7978
- function ResourcesSidebar({ timeRange }) {
8031
+ function ResourcesSidebar({ timeRange: timeRangeProp }) {
8032
+ const timeRange = useResolvedTimeRange(timeRangeProp);
7979
8033
  const searchQuery = useResourceSearch((s) => s.query);
7980
8034
  const setSearchQuery = useResourceSearch((s) => s.set);
7981
8035
  const statusFilter = useStatusFilter((s) => s.value);
@@ -8875,12 +8929,6 @@ var OperationsSidebarTop = () => {
8875
8929
  var ExecutionLogsSidebar = () => {
8876
8930
  const { currentPath } = useRouterContext();
8877
8931
  const { operationsApiUrl, operationsSSEManager } = useElevasisSystems();
8878
- const activeResource = getActiveResource(currentPath);
8879
- const resourceId = activeResource?.id ?? "";
8880
- const [filter, setFilter] = useState("all");
8881
- const [deleteModalOpen, setDeleteModalOpen] = useState(false);
8882
- const bulkDelete = useBulkDeleteExecutions();
8883
- const { page, setPage, offset, totalPages } = usePaginationState(PAGE_SIZE_DEFAULT, [resourceId, filter]);
8884
8932
  if (!operationsApiUrl || !operationsSSEManager) {
8885
8933
  return /* @__PURE__ */ jsx(Box, { p: "sm", style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ jsx(
8886
8934
  APIErrorAlert,
@@ -8889,10 +8937,19 @@ var ExecutionLogsSidebar = () => {
8889
8937
  }
8890
8938
  ) });
8891
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]);
8892
8949
  const { executions, total, isLoading, isFetched, selectedId, setSelectedId, setResourceStatusFilter, runningCount } = useExecutionPanelState({
8893
8950
  resourceId,
8894
- apiUrl: operationsApiUrl,
8895
- manager: operationsSSEManager,
8951
+ apiUrl,
8952
+ manager,
8896
8953
  limit: PAGE_SIZE_DEFAULT,
8897
8954
  offset
8898
8955
  });
@@ -10295,17 +10352,17 @@ function useContentItems(filters = {}) {
10295
10352
  queryKey: contentKeys.itemsList(workOSOrganizationId ?? void 0, filters),
10296
10353
  queryFn: async () => {
10297
10354
  const { status, pillar, pipelineId, clientId, reviewedBy, search, limit, offset } = filters;
10298
- const params = new URLSearchParams();
10299
- if (status) params.set("status", status);
10300
- if (pillar) params.set("pillar", pillar);
10301
- if (pipelineId) params.set("pipelineId", pipelineId);
10302
- if (clientId) params.set("clientId", clientId);
10303
- if (reviewedBy) params.set("reviewedBy", reviewedBy);
10304
- if (search) params.set("search", search);
10305
- if (limit !== void 0) params.set("limit", String(limit));
10306
- if (offset !== void 0) params.set("offset", String(offset));
10307
- const query = params.toString();
10308
- 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}`);
10309
10366
  },
10310
10367
  enabled: isReady
10311
10368
  });
@@ -10336,14 +10393,14 @@ function useContentDistributions(filters = {}) {
10336
10393
  queryKey: contentKeys.distributionsList(workOSOrganizationId ?? void 0, filters),
10337
10394
  queryFn: async () => {
10338
10395
  const { contentItemId, platform, status, limit, offset } = filters;
10339
- const params = new URLSearchParams();
10340
- if (contentItemId) params.set("contentItemId", contentItemId);
10341
- if (platform) params.set("platform", platform);
10342
- if (status) params.set("status", status);
10343
- if (limit !== void 0) params.set("limit", String(limit));
10344
- if (offset !== void 0) params.set("offset", String(offset));
10345
- const query = params.toString();
10346
- 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}`);
10347
10404
  },
10348
10405
  enabled: isReady
10349
10406
  });
@@ -10466,12 +10523,8 @@ function useContentSourceAssets(filters = {}) {
10466
10523
  queryKey: contentKeys.sourceAssetsList(workOSOrganizationId ?? void 0, filters),
10467
10524
  queryFn: async () => {
10468
10525
  const { kind, limit, offset } = filters;
10469
- const params = new URLSearchParams();
10470
- if (kind) params.set("kind", kind);
10471
- if (limit !== void 0) params.set("limit", String(limit));
10472
- if (offset !== void 0) params.set("offset", String(offset));
10473
- const query = params.toString();
10474
- return apiRequest(`/content/source-assets${query ? "?" + query : ""}`);
10526
+ const query = buildQueryString({ kind: kind || void 0, limit, offset });
10527
+ return apiRequest(`/content/source-assets${query}`);
10475
10528
  },
10476
10529
  enabled: isReady
10477
10530
  });
@@ -13482,7 +13535,7 @@ function ConceptInfoControl({ description }) {
13482
13535
  var indexPromise = null;
13483
13536
  function loadSearchIndex() {
13484
13537
  if (!indexPromise) {
13485
- indexPromise = import('./knowledge-search-index-6GQK55IQ.js').then(
13538
+ indexPromise = import('./knowledge-search-index-YU6V3FTK.js').then(
13486
13539
  (mod) => buildSearchIndex(mod.default ?? mod)
13487
13540
  );
13488
13541
  }
@@ -14317,4 +14370,4 @@ function createTestSystemsProvider({ organizationModel, systems = [] } = {}) {
14317
14370
  };
14318
14371
  }
14319
14372
 
14320
- 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, 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, 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-4VGPEDQF.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';