@elevasis/ui 2.28.1 → 2.30.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.
- package/dist/api/index.js +2 -2
- package/dist/app/index.d.ts +54 -0
- package/dist/app/index.js +10 -10
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.d.ts +2 -1
- package/dist/charts/index.js +8 -8
- package/dist/{chunk-HNN3QALL.js → chunk-2DIYILF7.js} +9 -8
- package/dist/{chunk-XTVZFT7U.js → chunk-2Q2JQSQO.js} +1 -1
- package/dist/{chunk-UOHOKDKL.js → chunk-3GV5NHSS.js} +1052 -209
- package/dist/{chunk-PBNIW7KV.js → chunk-3MDNBHVB.js} +140 -9
- package/dist/{chunk-K4Q5QUHZ.js → chunk-4FZYEEPK.js} +6 -6
- package/dist/{chunk-MJMFIWEB.js → chunk-4SY6BTVZ.js} +2 -2
- package/dist/{chunk-HLFFKKT3.js → chunk-4VQ2PXMI.js} +14 -14
- package/dist/{chunk-WKJ47GIW.js → chunk-533DUEQY.js} +1 -1
- package/dist/{chunk-N63RKL3L.js → chunk-6EFVZV6X.js} +394 -311
- package/dist/{chunk-V3HUIZJX.js → chunk-6IXOKUBC.js} +1 -1
- package/dist/{chunk-GJXAAYZ3.js → chunk-6WXDE5LZ.js} +1 -1
- package/dist/{chunk-VKMNWHTL.js → chunk-6YT4IKJ7.js} +3 -3
- package/dist/{chunk-ZPXV5KI3.js → chunk-7E3FUTND.js} +1 -1
- package/dist/{chunk-YNYGUVGW.js → chunk-A7B7HLDF.js} +11 -10
- package/dist/{chunk-NU5FNTOB.js → chunk-AKOD52HS.js} +84 -15
- package/dist/{chunk-CT5IR4ZA.js → chunk-CLUP5H3C.js} +6 -9
- package/dist/{chunk-MYEOTM7D.js → chunk-CN2HC4D4.js} +5 -1
- package/dist/{chunk-ROSMICXG.js → chunk-CXY7FMUM.js} +35 -20
- package/dist/{chunk-HOIT677G.js → chunk-HUJCU55S.js} +1 -1
- package/dist/{chunk-SRNIHB7Y.js → chunk-HXZQWMKE.js} +1 -2
- package/dist/{chunk-M6OJ43NL.js → chunk-HYLERWRO.js} +99 -30
- package/dist/{chunk-XBMCDGHA.js → chunk-IKQ42WHU.js} +1 -1
- package/dist/{chunk-GESXCQWY.js → chunk-JA5ECJJB.js} +1 -1
- package/dist/{chunk-KU7ZDWQ7.js → chunk-JBWJ6WHZ.js} +1 -1
- package/dist/{chunk-MCRKFDKB.js → chunk-JKTPRYGV.js} +5 -5
- package/dist/{chunk-5WWZXCS5.js → chunk-KJ3QUBNU.js} +9 -2
- package/dist/{chunk-3HCTCMAS.js → chunk-LRZFLK2F.js} +3 -3
- package/dist/chunk-NITGGYH2.js +476 -0
- package/dist/{chunk-VMJVQAFZ.js → chunk-OAVTMITG.js} +1 -1
- package/dist/{chunk-TVJROM2V.js → chunk-P5WYW2GI.js} +58 -37
- package/dist/{chunk-5R27NFOI.js → chunk-SBCIB5TZ.js} +6 -27
- package/dist/{chunk-AYSO5A3R.js → chunk-SKXXT3E2.js} +4 -4
- package/dist/{chunk-MZCDRBSI.js → chunk-T2PAD63Y.js} +12 -12
- package/dist/{chunk-LH4GPYDX.js → chunk-T5Z7G2J2.js} +19 -3
- package/dist/{chunk-WFTNY755.js → chunk-VKIZUUPM.js} +1 -1
- package/dist/{chunk-S66IQSSR.js → chunk-WF227UBV.js} +1 -1
- package/dist/components/chat/index.d.ts +2 -1
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.js +42 -42
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.js +5 -5
- package/dist/features/crm/index.js +21 -21
- package/dist/features/dashboard/index.js +22 -22
- package/dist/features/delivery/index.js +21 -21
- package/dist/features/knowledge/index.js +45 -31
- package/dist/features/lead-gen/index.d.ts +116 -2
- package/dist/features/lead-gen/index.js +22 -22
- package/dist/features/monitoring/index.js +23 -23
- package/dist/features/monitoring/requests/index.js +20 -20
- package/dist/features/operations/index.js +27 -27
- package/dist/features/settings/index.js +22 -22
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.d.ts +263 -4
- package/dist/hooks/index.js +20 -20
- package/dist/hooks/published.d.ts +263 -4
- package/dist/hooks/published.js +20 -20
- package/dist/index.d.ts +378 -10
- package/dist/index.js +21 -21
- package/dist/initialization/index.js +4 -4
- package/dist/knowledge/index.d.ts +55 -1
- package/dist/knowledge/index.js +102 -2
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +11 -5
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.d.ts +119 -5
- package/dist/provider/index.js +17 -17
- package/dist/provider/published.d.ts +119 -5
- package/dist/provider/published.js +13 -13
- package/dist/test-utils/index.d.ts +3 -0
- package/dist/test-utils/index.js +30 -6
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/utils/index.d.ts +1 -3
- package/dist/utils/index.js +1 -1
- package/dist/vite/index.js +2 -2
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-JS7VBTC4.js +0 -250
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useInitialization } from './chunk-
|
|
1
|
+
import { useInitialization } from './chunk-533DUEQY.js';
|
|
2
2
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
3
3
|
import { createContext, useMemo, useCallback, useContext } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StyledMarkdown } from './chunk-3KMDHCAR.js';
|
|
2
2
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
3
|
-
import { getErrorInfo, getErrorTitle, getResourceIcon, formatTimeAgo } from './chunk-
|
|
3
|
+
import { getErrorInfo, getErrorTitle, getResourceIcon, formatTimeAgo } from './chunk-HXZQWMKE.js';
|
|
4
4
|
import { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
5
5
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
6
6
|
import { Center, Stack, Title, Text, Button, Box, Loader, Badge, Group, Collapse, ScrollArea, Card, Select, Alert, Code, ThemeIcon, Paper, Grid, Timeline, Space } from '@mantine/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useElevasisServices } from './chunk-
|
|
1
|
+
import { useElevasisServices } from './chunk-KJ3QUBNU.js';
|
|
2
2
|
import { useQuery } from '@tanstack/react-query';
|
|
3
3
|
|
|
4
4
|
// src/hooks/observability/queryKeys.ts
|
|
@@ -34,9 +34,9 @@ var observabilityKeys = {
|
|
|
34
34
|
recentExecutionsByResource: (organizationId, timeRange, limit) => [...observabilityKeys.all, "recent-executions-by-resource", organizationId, timeRange, limit]
|
|
35
35
|
};
|
|
36
36
|
function useErrorTrends({ startDate, endDate, granularity }) {
|
|
37
|
-
const { apiRequest, isReady,
|
|
37
|
+
const { apiRequest, isReady, workOSOrganizationId } = useElevasisServices();
|
|
38
38
|
return useQuery({
|
|
39
|
-
queryKey: observabilityKeys.errorTrends(
|
|
39
|
+
queryKey: observabilityKeys.errorTrends(workOSOrganizationId, startDate, endDate, granularity),
|
|
40
40
|
queryFn: async () => {
|
|
41
41
|
const params = new URLSearchParams({ startDate, endDate, granularity });
|
|
42
42
|
return apiRequest(`/observability/error-analytics/trends?${params.toString()}`);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIClientError } from './chunk-
|
|
1
|
+
import { APIClientError } from './chunk-HXZQWMKE.js';
|
|
2
2
|
import { OrganizationContext } from './chunk-DD3CCMCZ.js';
|
|
3
3
|
import { createContext, useContext, useMemo, useCallback } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChatHeader, ChatSidebar } from './chunk-
|
|
2
|
-
import { getOrganizationGraphLensConfig, useOrganizationGraphFilters, createOrganizationGraphFilters, buildOrganizationGraph, filterOrganizationGraph, getCommandViewVisibilityProjection, resolveOrganizationGraphPathTrace, getCommandViewOperationalOverview, getCommandViewSelectionOperationalSummary, buildCommandViewDrillDownSections, expandAroundGraph, getConnectedHiddenResourceIds, FilterPanel, OrganizationGraphDetailPanel, ExpandAroundPanel, CommandViewSidebarContent, getOrganizationGraphTraceNodeOptions, formatOrganizationGraphTraceNodeOptionLabel } from './chunk-
|
|
1
|
+
import { ChatHeader, ChatSidebar } from './chunk-CXY7FMUM.js';
|
|
2
|
+
import { getOrganizationGraphLensConfig, useOrganizationGraphFilters, createOrganizationGraphFilters, buildOrganizationGraph, filterOrganizationGraph, getCommandViewVisibilityProjection, resolveOrganizationGraphPathTrace, getCommandViewOperationalOverview, getCommandViewSelectionOperationalSummary, buildCommandViewDrillDownSections, expandAroundGraph, getConnectedHiddenResourceIds, FilterPanel, OrganizationGraphDetailPanel, ExpandAroundPanel, CommandViewSidebarContent, getOrganizationGraphTraceNodeOptions, formatOrganizationGraphTraceNodeOptionLabel } from './chunk-3MDNBHVB.js';
|
|
3
3
|
import { SubshellLoader } from './chunk-JDNEWB5F.js';
|
|
4
4
|
import { resolveSemanticIconComponent } from './chunk-JCGD4GM6.js';
|
|
5
5
|
import { SubshellSidebarLoader } from './chunk-XQQEKWTL.js';
|
|
6
|
-
import { BaseNode, useGraphTheme, BaseEdge, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-
|
|
6
|
+
import { BaseNode, useGraphTheme, BaseEdge, ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline, GraphBackground, GraphFitViewButton, GraphFitViewHandler } from './chunk-4FZYEEPK.js';
|
|
7
7
|
import { FormFieldRenderer } from './chunk-3MEXPLWT.js';
|
|
8
|
-
import { ResourceHealthPanel } from './chunk-
|
|
8
|
+
import { ResourceHealthPanel } from './chunk-LRZFLK2F.js';
|
|
9
9
|
import { useCyberColors, CyberDonut } from './chunk-CW3UNAF2.js';
|
|
10
10
|
import { AppShellLoader } from './chunk-RYTEQBAO.js';
|
|
11
11
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
@@ -13,20 +13,20 @@ import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
|
|
|
13
13
|
import { CustomModal, ConfirmationModal } from './chunk-KVJ3LFH2.js';
|
|
14
14
|
import { useGraphHighlighting, calculateGraphHeight, Graph_module_css_default, GRAPH_CONSTANTS } from './chunk-22UVE3RA.js';
|
|
15
15
|
import { getResourceStatusColor, useTimelineData, useAgentIterationData, getStatusIcon } from './chunk-E4WQGJNS.js';
|
|
16
|
-
import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, collectResourceFilterFacets, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, COMMAND_VIEW_VISUALIZATION_MODES, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, useBulkDeleteExecutions, getCommandViewGraphPositions } from './chunk-
|
|
17
|
-
import { showApiErrorNotification, showSuccessNotification } from './chunk-
|
|
16
|
+
import { useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useCommandQueueTotals, useStatusFilter, useResourceSearch, useResourcesDomainFilters, usePaginationState, useResources, useRecentExecutionsByResource, filterByDomainFilters, collectResourceFilterFacets, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useCheckpointTasks, COMMAND_VIEW_VISUALIZATION_MODES, useExecutionPanelState, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, useBulkDeleteExecutions, getCommandViewGraphPositions } from './chunk-6EFVZV6X.js';
|
|
17
|
+
import { showApiErrorNotification, showSuccessNotification } from './chunk-T2PAD63Y.js';
|
|
18
18
|
import { useMergedExecution } from './chunk-3ZMAGTWF.js';
|
|
19
|
-
import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountBadge, ResourceCard, ContextViewer, EmptyState, APIErrorAlert } from './chunk-
|
|
19
|
+
import { JsonViewer, CardHeader, PageTitleCaption, CollapsibleSection, TabCountBadge, ResourceCard, ContextViewer, EmptyState, APIErrorAlert } from './chunk-6WXDE5LZ.js';
|
|
20
20
|
import { StyledMarkdown } from './chunk-3KMDHCAR.js';
|
|
21
|
-
import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-
|
|
21
|
+
import { useOptionalElevasisFeatures, useElevasisFeatures } from './chunk-6IXOKUBC.js';
|
|
22
22
|
import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
|
|
23
23
|
import { NavigationButton } from './chunk-NYBEU5TE.js';
|
|
24
24
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
25
25
|
import { useAppearance } from './chunk-E565XMTQ.js';
|
|
26
26
|
import { topbarHeight } from './chunk-DT3QYZVU.js';
|
|
27
|
-
import { getErrorInfo, formatErrorMessage, getResourceIcon, formatRelativeTime, PAGE_SIZE_DEFAULT, debounce } from './chunk-
|
|
27
|
+
import { getErrorInfo, formatErrorMessage, getResourceIcon, formatRelativeTime, PAGE_SIZE_DEFAULT, debounce } from './chunk-HXZQWMKE.js';
|
|
28
28
|
import { ResourceStatusColors, toWorkflowLogMessages } from './chunk-KRWALB24.js';
|
|
29
|
-
import { useInitialization } from './chunk-
|
|
29
|
+
import { useInitialization } from './chunk-533DUEQY.js';
|
|
30
30
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
31
31
|
import { Stack, Group, Text, Badge, Title, Textarea, Alert, Button, ActionIcon, Collapse, Card, ThemeIcon, SimpleGrid, Divider, Paper, Space, CopyButton, Center, Tooltip, Code, Menu, useMantineTheme, UnstyledButton, Select, RangeSlider, Box, Progress, Tabs, Pagination, TextInput, Loader, SegmentedControl, Modal, LoadingOverlay, ScrollArea } from '@mantine/core';
|
|
32
32
|
import { IconBrain, IconFileText, IconMail, IconSend, IconClock, IconArrowUp, IconMessageCircle, IconRocket, IconEye, IconEdit, IconAlertTriangle, IconRefresh, IconX, IconCheck, IconCode, IconAlertCircle, IconChevronRight, IconTool, IconSettings, IconCpu, IconClockHour4, IconVersions, IconNetwork, IconSitemap, IconCopy, IconPlayerStop, IconReload, IconTrash, IconTerminal2, IconBug, IconChevronDown, IconPlayerPlay, IconMessage, IconArrowLeft, IconRobot, IconGitBranch, IconDotsVertical, IconFilter, IconCircleCheck, IconCategory, IconDatabase, IconApps, IconRoute, IconAdjustmentsHorizontal, IconSearch, IconCircleX, IconCircleDashed, IconExternalLink, IconFolders, IconBraces, IconBolt, IconTopologyStar3, IconInfoCircle, IconPlus, IconLayoutSidebarRightExpand, IconNote, IconArchive, IconDownload, IconTimeline, IconActivityHeartbeat, IconClockPause, IconArrowsMaximize, IconHistory } from '@tabler/icons-react';
|
|
@@ -3826,6 +3826,7 @@ function getNodeThemeByKind(tokens) {
|
|
|
3826
3826
|
surface: mixColors(tokens.primary, tokens.success, 0.48),
|
|
3827
3827
|
entity: mixColors(tokens.primary, tokens.error, 0.4),
|
|
3828
3828
|
capability: mixColors(tokens.primary, tokens.success, 0.72),
|
|
3829
|
+
stage: mixColors(tokens.primary, tokens.warning, 0.32),
|
|
3829
3830
|
resource: mixColors(tokens.primary, tokens.warning, 0.58),
|
|
3830
3831
|
knowledge: mixColors(tokens.primary, tokens.text, 0.6)
|
|
3831
3832
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ApiClientProvider, useApiClient } from './chunk-
|
|
2
|
-
import { OrganizationProvider } from './chunk-
|
|
3
|
-
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-
|
|
4
|
-
import { InitializationProvider } from './chunk-
|
|
1
|
+
import { ApiClientProvider, useApiClient } from './chunk-7E3FUTND.js';
|
|
2
|
+
import { OrganizationProvider } from './chunk-HUJCU55S.js';
|
|
3
|
+
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-HXZQWMKE.js';
|
|
4
|
+
import { InitializationProvider } from './chunk-533DUEQY.js';
|
|
5
5
|
import { useOrganization } from './chunk-DD3CCMCZ.js';
|
|
6
|
-
import { ProfileProvider } from './chunk-
|
|
7
|
-
import { ElevasisServiceProvider } from './chunk-
|
|
6
|
+
import { ProfileProvider } from './chunk-2Q2JQSQO.js';
|
|
7
|
+
import { ElevasisServiceProvider } from './chunk-KJ3QUBNU.js';
|
|
8
8
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
9
9
|
import { createContext, lazy, useContext, Suspense, useRef } from 'react';
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -246,13 +246,64 @@ function findPipeline(definitions, pipelineKey) {
|
|
|
246
246
|
return definitions.find((def) => def.pipelineKey === pipelineKey);
|
|
247
247
|
}
|
|
248
248
|
var CRM_DISCOVERY_REPLIED_STATE = {
|
|
249
|
-
stateKey: "discovery_replied"
|
|
249
|
+
stateKey: "discovery_replied",
|
|
250
|
+
label: "Discovery Replied"
|
|
251
|
+
};
|
|
250
252
|
var CRM_DISCOVERY_LINK_SENT_STATE = {
|
|
251
|
-
stateKey: "discovery_link_sent"
|
|
253
|
+
stateKey: "discovery_link_sent",
|
|
254
|
+
label: "Discovery Link Sent"
|
|
255
|
+
};
|
|
252
256
|
var CRM_DISCOVERY_NUDGING_STATE = {
|
|
253
|
-
stateKey: "discovery_nudging"
|
|
257
|
+
stateKey: "discovery_nudging",
|
|
258
|
+
label: "Discovery Nudging"
|
|
259
|
+
};
|
|
254
260
|
var CRM_DISCOVERY_BOOKING_CANCELLED_STATE = {
|
|
255
|
-
stateKey: "discovery_booking_cancelled"
|
|
261
|
+
stateKey: "discovery_booking_cancelled",
|
|
262
|
+
label: "Discovery Booking Cancelled"
|
|
263
|
+
};
|
|
264
|
+
var CRM_REPLY_SENT_STATE = {
|
|
265
|
+
stateKey: "reply_sent",
|
|
266
|
+
label: "Reply Sent"
|
|
267
|
+
};
|
|
268
|
+
var CRM_FOLLOWUP_1_SENT_STATE = {
|
|
269
|
+
stateKey: "followup_1_sent",
|
|
270
|
+
label: "Follow-up 1 Sent"
|
|
271
|
+
};
|
|
272
|
+
var CRM_FOLLOWUP_2_SENT_STATE = {
|
|
273
|
+
stateKey: "followup_2_sent",
|
|
274
|
+
label: "Follow-up 2 Sent"
|
|
275
|
+
};
|
|
276
|
+
var CRM_FOLLOWUP_3_SENT_STATE = {
|
|
277
|
+
stateKey: "followup_3_sent",
|
|
278
|
+
label: "Follow-up 3 Sent"
|
|
279
|
+
};
|
|
280
|
+
var CRM_PIPELINE_DEFINITION = {
|
|
281
|
+
pipelineKey: "crm",
|
|
282
|
+
label: "CRM",
|
|
283
|
+
entityKey: "crm.deal",
|
|
284
|
+
stages: [
|
|
285
|
+
{
|
|
286
|
+
stageKey: "interested",
|
|
287
|
+
label: "Interested",
|
|
288
|
+
color: "blue",
|
|
289
|
+
states: [
|
|
290
|
+
CRM_DISCOVERY_REPLIED_STATE,
|
|
291
|
+
CRM_DISCOVERY_LINK_SENT_STATE,
|
|
292
|
+
CRM_DISCOVERY_NUDGING_STATE,
|
|
293
|
+
CRM_DISCOVERY_BOOKING_CANCELLED_STATE,
|
|
294
|
+
CRM_REPLY_SENT_STATE,
|
|
295
|
+
CRM_FOLLOWUP_1_SENT_STATE,
|
|
296
|
+
CRM_FOLLOWUP_2_SENT_STATE,
|
|
297
|
+
CRM_FOLLOWUP_3_SENT_STATE
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{ stageKey: "proposal", label: "Proposal", color: "yellow", states: [] },
|
|
301
|
+
{ stageKey: "closing", label: "Closing", color: "orange", states: [] },
|
|
302
|
+
{ stageKey: "closed_won", label: "Closed Won", color: "green", states: [] },
|
|
303
|
+
{ stageKey: "closed_lost", label: "Closed Lost", color: "red", states: [] },
|
|
304
|
+
{ stageKey: "nurturing", label: "Nurturing", color: "grape", states: [] }
|
|
305
|
+
]
|
|
306
|
+
};
|
|
256
307
|
var CRM_PRIORITY_BUCKETS = [
|
|
257
308
|
{ bucketKey: "needs_response", label: "Needs Response", rank: 10, color: "red" },
|
|
258
309
|
{ bucketKey: "follow_up_due", label: "Follow-up Due", rank: 20, color: "orange" },
|
|
@@ -313,7 +364,7 @@ var ACQ_LIST_COMPANIES_LEAD_GEN_PIPELINE = {
|
|
|
313
364
|
{
|
|
314
365
|
stageKey: "outreach",
|
|
315
366
|
label: "Outreach",
|
|
316
|
-
states: [PENDING_STATE]
|
|
367
|
+
states: [PENDING_STATE, { stateKey: "uploaded", label: "Uploaded" }]
|
|
317
368
|
},
|
|
318
369
|
{
|
|
319
370
|
stageKey: "prospecting",
|
|
@@ -351,6 +402,13 @@ var LEAD_GEN_STAGE_CATALOG = {
|
|
|
351
402
|
order: 2,
|
|
352
403
|
entity: "company"
|
|
353
404
|
},
|
|
405
|
+
crawled: {
|
|
406
|
+
key: "crawled",
|
|
407
|
+
label: "Websites crawled",
|
|
408
|
+
description: "Company websites have been crawled (e.g. via Apify) and raw page content stored for downstream LLM analysis.",
|
|
409
|
+
order: 2.5,
|
|
410
|
+
entity: "company"
|
|
411
|
+
},
|
|
354
412
|
extracted: {
|
|
355
413
|
key: "extracted",
|
|
356
414
|
label: "Websites analyzed",
|
|
@@ -370,7 +428,9 @@ var LEAD_GEN_STAGE_CATALOG = {
|
|
|
370
428
|
label: "Decision-makers found",
|
|
371
429
|
description: "Decision-maker contacts discovered and attached to a qualified company.",
|
|
372
430
|
order: 6,
|
|
373
|
-
entity: "company"
|
|
431
|
+
entity: "company",
|
|
432
|
+
recordEntity: "contact",
|
|
433
|
+
recordStageKey: "discovered"
|
|
374
434
|
},
|
|
375
435
|
// Prospecting — contact discovery
|
|
376
436
|
discovered: {
|
|
@@ -408,7 +468,8 @@ var LEAD_GEN_STAGE_CATALOG = {
|
|
|
408
468
|
label: "Reviewed and exported",
|
|
409
469
|
description: "Approved records have been reviewed and exported for handoff.",
|
|
410
470
|
order: 10,
|
|
411
|
-
entity: "
|
|
471
|
+
entity: "company",
|
|
472
|
+
additionalEntities: ["contact"]
|
|
412
473
|
},
|
|
413
474
|
interested: {
|
|
414
475
|
key: "interested",
|
|
@@ -664,7 +725,15 @@ function OrgServiceBridge({
|
|
|
664
725
|
const { currentWorkOSOrganizationId, isInitializing, isOrgRefreshing } = useOrganization();
|
|
665
726
|
orgIdRef.current = currentWorkOSOrganizationId;
|
|
666
727
|
const isReady = !!currentWorkOSOrganizationId && !isInitializing && !isOrgRefreshing;
|
|
667
|
-
return /* @__PURE__ */ jsx(
|
|
728
|
+
return /* @__PURE__ */ jsx(
|
|
729
|
+
ElevasisServiceProvider,
|
|
730
|
+
{
|
|
731
|
+
apiRequest,
|
|
732
|
+
workOSOrganizationId: currentWorkOSOrganizationId,
|
|
733
|
+
isReady,
|
|
734
|
+
children: /* @__PURE__ */ jsx(NotificationProvider, { adapter: notifications, children: /* @__PURE__ */ jsx(InitializationProvider, { children }) })
|
|
735
|
+
}
|
|
736
|
+
);
|
|
668
737
|
}
|
|
669
738
|
|
|
670
|
-
export { CRM_PRIORITY_BUCKETS, ColorTokenSchema, CrmActionsProvider, DEFAULT_CRM_PRIORITY_RULE_CONFIG, DEFAULT_ORGANIZATION_MODEL_SALES, DescriptionSchema, DisplayMetadataSchema, EMPTY_LIST_ACTIONS, ElevasisCoreProvider, IconNameSchema, LEAD_GEN_PIPELINE_DEFINITIONS, LEAD_GEN_STAGE_CATALOG, LabelSchema, ListActionsProvider, ModelIdSchema, NotificationProvider, OrganizationModelSalesSchema, PathSchema, ReferenceIdsSchema, deriveActions, findListActionByCapability, findPipeline, getListActionWorkflowId, useCrmActions, useListActions, useNotificationAdapter };
|
|
739
|
+
export { CRM_PIPELINE_DEFINITION, CRM_PRIORITY_BUCKETS, ColorTokenSchema, CrmActionsProvider, DEFAULT_CRM_PRIORITY_RULE_CONFIG, DEFAULT_ORGANIZATION_MODEL_SALES, DescriptionSchema, DisplayMetadataSchema, EMPTY_LIST_ACTIONS, ElevasisCoreProvider, IconNameSchema, LEAD_GEN_PIPELINE_DEFINITIONS, LEAD_GEN_STAGE_CATALOG, LabelSchema, ListActionsProvider, ModelIdSchema, NotificationProvider, OrganizationModelSalesSchema, PathSchema, ReferenceIdsSchema, deriveActions, findListActionByCapability, findPipeline, getListActionWorkflowId, useCrmActions, useListActions, useNotificationAdapter };
|
|
@@ -332,6 +332,7 @@ var FEATURE_PREFIX = "feat:";
|
|
|
332
332
|
var LEAF_PREFIX = "leaf:";
|
|
333
333
|
var FOLDER_PREFIX = "folder:";
|
|
334
334
|
var GROUP_THRESHOLD = 8;
|
|
335
|
+
var SIDEBAR_TREE_ACCENT_COLOR = "var(--color-primary)";
|
|
335
336
|
var FOLDER_ORDER = [
|
|
336
337
|
"campaigns",
|
|
337
338
|
"pipeline",
|
|
@@ -641,9 +642,7 @@ function KnowledgeLeafRow({ elementProps, knowledgeNode, isActive, onSelectNode
|
|
|
641
642
|
token: getKnowledgeIconToken(knowledgeNode),
|
|
642
643
|
fallbackKind: knowledgeNode.kind,
|
|
643
644
|
size: 15,
|
|
644
|
-
style: {
|
|
645
|
-
color: isActive ? "var(--color-primary)" : hovered ? "var(--color-text)" : "var(--color-text-subtle)"
|
|
646
|
-
}
|
|
645
|
+
style: { color: SIDEBAR_TREE_ACCENT_COLOR }
|
|
647
646
|
}
|
|
648
647
|
),
|
|
649
648
|
/* @__PURE__ */ jsx(
|
|
@@ -717,7 +716,7 @@ function DirectoryRow({
|
|
|
717
716
|
justifyContent: "center",
|
|
718
717
|
width: 12,
|
|
719
718
|
height: 12,
|
|
720
|
-
color:
|
|
719
|
+
color: SIDEBAR_TREE_ACCENT_COLOR,
|
|
721
720
|
flexShrink: 0
|
|
722
721
|
},
|
|
723
722
|
children: expanded ? /* @__PURE__ */ jsx(IconChevronDown, { size: 12, stroke: 2 }) : /* @__PURE__ */ jsx(IconChevronRight, { size: 12, stroke: 2 })
|
|
@@ -729,9 +728,7 @@ function DirectoryRow({
|
|
|
729
728
|
token: iconToken,
|
|
730
729
|
fallbackKind: "feature",
|
|
731
730
|
size: 14,
|
|
732
|
-
style: {
|
|
733
|
-
color: isActive ? "var(--color-primary)" : hovered ? "var(--color-text)" : "var(--color-text-subtle)"
|
|
734
|
-
}
|
|
731
|
+
style: { color: SIDEBAR_TREE_ACCENT_COLOR }
|
|
735
732
|
}
|
|
736
733
|
),
|
|
737
734
|
/* @__PURE__ */ jsx(
|
|
@@ -769,7 +766,7 @@ function TrailingCopySlot({ count, command, label, showCopy }) {
|
|
|
769
766
|
height: 22,
|
|
770
767
|
flexShrink: 0
|
|
771
768
|
},
|
|
772
|
-
children: showCopy && command ? /* @__PURE__ */ jsx(CopyCommandControl, { command, label, visible: true }) : count > 0 ? /* @__PURE__ */ jsx(KindChip, { kind: String(count), tone: "
|
|
769
|
+
children: showCopy && command ? /* @__PURE__ */ jsx(CopyCommandControl, { command, label, visible: true }) : count > 0 ? /* @__PURE__ */ jsx(KindChip, { kind: String(count), tone: "primary" }) : null
|
|
773
770
|
}
|
|
774
771
|
);
|
|
775
772
|
}
|
|
@@ -2001,4 +1998,4 @@ function KnowledgeSearchBar({
|
|
|
2001
1998
|
);
|
|
2002
1999
|
}
|
|
2003
2000
|
|
|
2004
|
-
export { EdgeRelationshipGroup, KNOWLEDGE_ICON_TOKEN_BY_KIND, KeyField, KindChip, KnowledgeSearchBar, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, RelatedKnowledgeSection, byKind, getKnowledgeIconToken };
|
|
2001
|
+
export { EdgeChip, EdgeGroup, EdgeRelationshipGroup, KNOWLEDGE_ICON_TOKEN_BY_KIND, KeyField, KindChip, KnowledgeSearchBar, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, RelatedKnowledgeSection, byKind, getKnowledgeIconToken };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { existsSync } from 'fs';
|
|
2
2
|
import { resolve } from 'path';
|
|
3
3
|
import { spawnSync } from 'child_process';
|
|
4
|
-
import { runKnowledgeCodegen } from '@elevasis/sdk/node';
|
|
5
4
|
|
|
6
5
|
// src/vite-plugin-knowledge/index.ts
|
|
7
6
|
function detectLayout(viteRoot) {
|
|
@@ -58,6 +57,11 @@ function knowledgePlugin() {
|
|
|
58
57
|
}
|
|
59
58
|
return;
|
|
60
59
|
}
|
|
60
|
+
const sdkNodeSpecifier = "@elevasis/sdk/node";
|
|
61
|
+
const { runKnowledgeCodegen } = await import(
|
|
62
|
+
/* @vite-ignore */
|
|
63
|
+
sdkNodeSpecifier
|
|
64
|
+
);
|
|
61
65
|
await runKnowledgeCodegen(layout);
|
|
62
66
|
}
|
|
63
67
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyledMarkdown } from './chunk-3KMDHCAR.js';
|
|
2
|
-
import { Stack, Textarea, Group, Text, Tooltip, ActionIcon, Paper, Box, Collapse, Title, Badge, Progress, Alert, Center, Loader } from '@mantine/core';
|
|
2
|
+
import { Stack, Textarea, Group, Text, Tooltip, ActionIcon, Paper, Card, Box, Collapse, Title, Badge, Progress, Alert, Center, Loader } from '@mantine/core';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import { memo, useState, useCallback, useMemo, useRef, useEffect } from 'react';
|
|
5
5
|
import { IconSend, IconCheck, IconCopy, IconChevronDown, IconAlertCircle, IconAlertTriangle } from '@tabler/icons-react';
|
|
@@ -231,14 +231,14 @@ function AgentActivityBubble({
|
|
|
231
231
|
children
|
|
232
232
|
}) {
|
|
233
233
|
return /* @__PURE__ */ jsx(Box, { style: { alignSelf: "flex-start", width: "100%", maxWidth: "75%", ...slideFromLeft }, children: /* @__PURE__ */ jsxs(
|
|
234
|
-
|
|
234
|
+
Card,
|
|
235
235
|
{
|
|
236
236
|
p: "xs",
|
|
237
|
-
withBorder:
|
|
237
|
+
withBorder: true,
|
|
238
238
|
style: {
|
|
239
|
-
backgroundColor: "var(--color-
|
|
240
|
-
|
|
241
|
-
boxShadow: "var(--
|
|
239
|
+
backgroundColor: "var(--color-elevated)",
|
|
240
|
+
borderColor: "var(--color-border)",
|
|
241
|
+
boxShadow: "var(--card-shadow)"
|
|
242
242
|
},
|
|
243
243
|
children: [
|
|
244
244
|
/* @__PURE__ */ jsxs(
|
|
@@ -370,18 +370,30 @@ function TextMessage({ message }) {
|
|
|
370
370
|
}
|
|
371
371
|
) })
|
|
372
372
|
] }),
|
|
373
|
-
/* @__PURE__ */ jsx(
|
|
373
|
+
isUser ? /* @__PURE__ */ jsx(
|
|
374
374
|
Paper,
|
|
375
375
|
{
|
|
376
376
|
p: "xs",
|
|
377
|
-
c:
|
|
377
|
+
c: "var(--color-primary-contrast)",
|
|
378
|
+
style: {
|
|
379
|
+
backgroundColor: "var(--color-primary)",
|
|
380
|
+
border: "none",
|
|
381
|
+
boxShadow: "0 2px 8px color-mix(in srgb, var(--color-primary) 30%, transparent)"
|
|
382
|
+
},
|
|
383
|
+
children: /* @__PURE__ */ jsx(Text, { size: "sm", style: { lineHeight: 1.55 }, children: message.text })
|
|
384
|
+
}
|
|
385
|
+
) : /* @__PURE__ */ jsx(
|
|
386
|
+
Card,
|
|
387
|
+
{
|
|
388
|
+
p: "sm",
|
|
389
|
+
withBorder: true,
|
|
390
|
+
c: "var(--color-text)",
|
|
378
391
|
style: {
|
|
379
|
-
backgroundColor:
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
boxShadow: isUser ? "0 2px 8px color-mix(in srgb, var(--color-primary) 30%, transparent)" : "var(--standard-box-shadow)"
|
|
392
|
+
backgroundColor: "var(--color-elevated)",
|
|
393
|
+
borderColor: "var(--color-border)",
|
|
394
|
+
boxShadow: "var(--card-shadow)"
|
|
383
395
|
},
|
|
384
|
-
children:
|
|
396
|
+
children: /* @__PURE__ */ jsx(
|
|
385
397
|
StyledMarkdown,
|
|
386
398
|
{
|
|
387
399
|
components: {
|
|
@@ -584,7 +596,8 @@ function ChatInterface({
|
|
|
584
596
|
onClearError,
|
|
585
597
|
emptyStateText = "No messages yet",
|
|
586
598
|
emptyStateSubtext = "Send a message to start the conversation",
|
|
587
|
-
placeholder = "Message the agent..."
|
|
599
|
+
placeholder = "Message the agent...",
|
|
600
|
+
messageAreaVariant = "grid"
|
|
588
601
|
}) {
|
|
589
602
|
const scrollRef = useRef(null);
|
|
590
603
|
const scrollContainerRef = useRef(null);
|
|
@@ -594,7 +607,7 @@ function ChatInterface({
|
|
|
594
607
|
}
|
|
595
608
|
}, [messages.length, isConnected, isProcessing]);
|
|
596
609
|
return /* @__PURE__ */ jsxs(Stack, { gap: 0, style: { height: "100%", overflow: "hidden" }, children: [
|
|
597
|
-
/* @__PURE__ */ jsx(ScrollableContainer, { containerRef: scrollContainerRef, children: /* @__PURE__ */ jsx(
|
|
610
|
+
/* @__PURE__ */ jsx(ScrollableContainer, { containerRef: scrollContainerRef, variant: messageAreaVariant, children: /* @__PURE__ */ jsx(
|
|
598
611
|
MessageAreaContent,
|
|
599
612
|
{
|
|
600
613
|
isConnected,
|
|
@@ -634,8 +647,10 @@ function ChatInterface({
|
|
|
634
647
|
}
|
|
635
648
|
function ScrollableContainer({
|
|
636
649
|
children,
|
|
637
|
-
containerRef
|
|
650
|
+
containerRef,
|
|
651
|
+
variant
|
|
638
652
|
}) {
|
|
653
|
+
const isGrid = variant === "grid";
|
|
639
654
|
return /* @__PURE__ */ jsx(
|
|
640
655
|
"div",
|
|
641
656
|
{
|
|
@@ -647,13 +662,13 @@ function ScrollableContainer({
|
|
|
647
662
|
overflowY: "auto",
|
|
648
663
|
overflowX: "hidden",
|
|
649
664
|
scrollBehavior: "smooth",
|
|
650
|
-
backgroundColor: "var(--color-background)",
|
|
651
|
-
backgroundImage: [
|
|
665
|
+
backgroundColor: isGrid ? "var(--color-background)" : "transparent",
|
|
666
|
+
backgroundImage: isGrid ? [
|
|
652
667
|
"linear-gradient(color-mix(in srgb, var(--color-primary) 5%, transparent) 1px, transparent 1px)",
|
|
653
668
|
"linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 5%, transparent) 1px, transparent 1px)",
|
|
654
669
|
"radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--color-primary) 5%, transparent) 0%, transparent 70%)"
|
|
655
|
-
].join(", "),
|
|
656
|
-
backgroundSize: "40px 40px, 40px 40px, 100% 100%",
|
|
670
|
+
].join(", ") : void 0,
|
|
671
|
+
backgroundSize: isGrid ? "40px 40px, 40px 40px, 100% 100%" : void 0,
|
|
657
672
|
borderRadius: "var(--mantine-radius-sm)",
|
|
658
673
|
padding: "8px",
|
|
659
674
|
// Custom scrollbar styling
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrganizationContext } from './chunk-DD3CCMCZ.js';
|
|
2
|
-
import { useProfile } from './chunk-
|
|
2
|
+
import { useProfile } from './chunk-2Q2JQSQO.js';
|
|
3
3
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
4
4
|
import { useState, useRef, useEffect, useCallback, createElement } from 'react';
|
|
5
5
|
import { useQueryClient } from '@tanstack/react-query';
|
|
@@ -313,7 +313,6 @@ var PAGE_SIZE_DEFAULT = 20;
|
|
|
313
313
|
var LIMIT_ACTIVITY_FEED = 50;
|
|
314
314
|
var DEBOUNCE_FILTER = 150;
|
|
315
315
|
var DEBOUNCE_SLIDER = 500;
|
|
316
|
-
var OAUTH_POPUP_CHECK_INTERVAL = 500;
|
|
317
316
|
var OAUTH_FLOW_TIMEOUT = 3e5;
|
|
318
317
|
|
|
319
318
|
// src/utils/suppress-warnings.ts
|
|
@@ -384,4 +383,4 @@ function setupBrowserMocks() {
|
|
|
384
383
|
setupResizeObserver();
|
|
385
384
|
}
|
|
386
385
|
|
|
387
|
-
export { APIClientError, API_URL, CredentialNameSchema, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, NonEmptyStringSchema, OAUTH_FLOW_TIMEOUT,
|
|
386
|
+
export { APIClientError, API_URL, CredentialNameSchema, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, NonEmptyStringSchema, OAUTH_FLOW_TIMEOUT, OriginResourceTypeSchema, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceTypeSchema, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, UuidSchema, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatBucketTime, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getNodeId, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail };
|