@frontera-sdk/chat-ui 1.53.13 → 1.53.14
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/chat.js +13 -13
- package/dist/{chunk-I5W4JDGD.js → chunk-2SX4XLQI.js} +3 -3
- package/dist/{chunk-2P4IEVOQ.js → chunk-37WYG6VG.js} +31 -1
- package/dist/{chunk-F4TRGX2E.js → chunk-67IW6PE4.js} +5 -5
- package/dist/{chunk-3B4U5NXP.js → chunk-F66BHU7S.js} +1 -1
- package/dist/{chunk-DJ2Q5U3E.js → chunk-G4EXD5F3.js} +1 -1
- package/dist/{chunk-OZDMNQBT.js → chunk-GCPPMKGT.js} +5 -5
- package/dist/{chunk-RQPL7ZTX.js → chunk-OBAC3B64.js} +1 -1
- package/dist/{chunk-KJXAKHUL.js → chunk-OYDGSDQX.js} +17 -8
- package/dist/{chunk-FZ3VSITY.js → chunk-RQSMCGBR.js} +5 -1
- package/dist/{chunk-GRRSYZQZ.js → chunk-SNLXL6Q5.js} +1 -1
- package/dist/{chunk-H7GLWFB2.js → chunk-ZNCZ7QWY.js} +64 -22
- package/dist/header.js +7 -7
- package/dist/message.js +7 -7
- package/dist/new-session.js +4 -4
- package/dist/parts.js +3 -3
- package/dist/{pdf-deck-view-inner-5G3LBY5A.js → pdf-deck-view-inner-B3GZ4OW5.js} +2 -2
- package/dist/{pdf-document-view-inner-LWOSELHK.js → pdf-document-view-inner-WM23E6IG.js} +2 -2
- package/dist/pending-cards.js +3 -3
- package/package.json +3 -3
package/dist/chat.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { offset, flip, autoUpdate, computePosition } from './chunk-I7SXWUAN.js';
|
|
3
3
|
import { isFullscreenHotkey, DeckNotesCard, deckOwnsArrowKeys } from './chunk-4FRTPVJT.js';
|
|
4
|
-
import { ArtifactSkeleton, resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb } from './chunk-
|
|
5
|
-
import { NewSessionPrompt, keepCaretOnTap } from './chunk-
|
|
6
|
-
import { PendingCards } from './chunk-
|
|
4
|
+
import { ArtifactSkeleton, resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb } from './chunk-F66BHU7S.js';
|
|
5
|
+
import { NewSessionPrompt, keepCaretOnTap } from './chunk-2SX4XLQI.js';
|
|
6
|
+
import { PendingCards } from './chunk-SNLXL6Q5.js';
|
|
7
7
|
import { themeToStyle } from './chunk-6HYPVNVA.js';
|
|
8
8
|
import { useChatAgents } from './chunk-NDU6ERVT.js';
|
|
9
9
|
import { subjectOfChatToken, capabilitiesOfChatToken } from './chunk-CCVPZVFK.js';
|
|
10
10
|
import { useChatCredential } from './chunk-6BCUAPW3.js';
|
|
11
11
|
import './chunk-WDYCLC4F.js';
|
|
12
|
-
import { chatSidePanelSessionKey, Chart1Icon, useTemplatePreviewStore, useHasTemplatePreviewHost, useChatSidePanelStore, ChatHeader, ChatHeaderActions, useRightPane, getChatOverviewAgentStatus, useChatOverviewVisible, useConversationArtifacts, PENDING_CHART_TAB_PREFIX, CHART_TAB_PREFIX, AGENT_WORK_TAB_ID, AGENT_ROUTINES_TAB_ID, SOURCES_TAB_ID, TEMPLATE_TAB_ID, OutputsSection, ChainLink1Icon, ChatOverviewContent, COMPUTER_TAB_PREFIX, SourceRow, motion, MAX_CHAT_SIDE_PANEL_SESSIONS, DEFAULT_CHAT_SIDE_PANEL_SIZE, TableIcon } from './chunk-
|
|
13
|
-
import { dynamic, useChatStreamStore, useComposerStore, Message, Thinking, setPendingFiles, usePersonConfirmations, unshownPendingConfirmations, ConversationConfirmationCard, useLivePreviewUrl, ArrowRotateClockwiseIcon, useComputerFiles, useUploadComputerFile, CanvasWidget, isPlainTextLanguage, useUploadFile, COMPOSER_ID_MAIN, useContextWindowInfo, useIsCompacting, useQueuedMessages, VolumeFullIcon, WarningSignIcon, useComputer, csvTextToWorkbookJson, CSV_PREVIEW_MAX_ROWS, CopyButton, COMPOSER_ID_COPILOT, ModelIcon, modeToBrandRow, useBackDismiss, PdfViewer, brandLabel, Spinner } from './chunk-
|
|
14
|
-
import { Textarea, resolveChatHost, artifactFormatIcon, BookIcon, useAgentRoster, ShieldCheckIcon, useArtifactStore, useCanvasStore, useChatOverviewStore, setSdkConversationPath, setSdkDarkMode, AgentsProvider, PluginProvider, WorkspaceProvider, TooltipProvider, ChatHostProvider, getPersonConfirmation, isToolPart, getToolState, getToolName, getToolInput, sourceKind, extractDomain, CitationViewerContext, MarkdownRenderer, ConnectRunnerContext, usePathname, useChatSurfaceProvider, usePaneFocusStore, useAgentPanelStore, Tooltip, TooltipTrigger, TooltipContent, StudioDisplayIcon, WorldIcon, SlidesWideIcon, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, ArrowsShowIcon, useKeyboardInset, ExclamationCircleIcon, getToolOutput, useArtifact, useUpdateArtifact, useArtifactFileObjectUrl, resolveArtifactIconFormat, useSourcesEnrichment, LoaderIcon, FileDownloadIcon, Label, Input, renderPluginBlock, useArtifactVersion, useChatCapabilities, useChatCapabilityEnabled, useChatOptInEnabled, useChatHost, useSessionPendingApprovals, tableToCsv, tableToXlsx, tableToMarkdown, DropdownMenu, DropdownMenuTrigger, StyledDropdownMenuContent, StyledDropdownMenuItem, useArtifactVersions, useClient, unwrapData, authFetch, getBearerHeadersForApi, EyeOpenIcon, EyeSlashIcon, useRestoreArtifactVersion, ZoomableImage, ChatImageLightbox, useDownloadArtifact, useArtifactFileBytes, useArtifactPreviewFileObjectUrl, useArtifactVersionPreviewFileObjectUrl, errorText, SpreadsheetIcon, FilePdfIcon, useOptionalWorkspaceContext, useAgentConnectionStatus, useArtifacts, useSession, useWorkspaceContext, useConversationDesktopStatus, isRequestHumanTool, appsKeys, unwrapDataDeep, useRouter, Images1Icon, ArrowUpIcon, VideoIcon, AudioIcon, useBrand, resolveBearerHeaders, subscribeSdkDarkMode, getSdkDarkMode, unwrap, useConnectRunner, useStartUserConnect, useUpsertGrant, useRevokeGrant, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, LayoutGrid1Icon, useCatalog, useInstalls, useWorkspaceSlug, buildTenantUrlAbsolute } from './chunk-
|
|
12
|
+
import { chatSidePanelSessionKey, Chart1Icon, useTemplatePreviewStore, useHasTemplatePreviewHost, useChatSidePanelStore, ChatHeader, ChatHeaderActions, useRightPane, getChatOverviewAgentStatus, useChatOverviewVisible, useConversationArtifacts, PENDING_CHART_TAB_PREFIX, CHART_TAB_PREFIX, AGENT_WORK_TAB_ID, AGENT_ROUTINES_TAB_ID, SOURCES_TAB_ID, TEMPLATE_TAB_ID, OutputsSection, ChainLink1Icon, ChatOverviewContent, COMPUTER_TAB_PREFIX, SourceRow, motion, MAX_CHAT_SIDE_PANEL_SESSIONS, DEFAULT_CHAT_SIDE_PANEL_SIZE, TableIcon } from './chunk-67IW6PE4.js';
|
|
13
|
+
import { dynamic, useChatStreamStore, useComposerStore, Message, Thinking, setPendingFiles, usePersonConfirmations, unshownPendingConfirmations, ConversationConfirmationCard, useLivePreviewUrl, ArrowRotateClockwiseIcon, useComputerFiles, useUploadComputerFile, CanvasWidget, isPlainTextLanguage, useUploadFile, COMPOSER_ID_MAIN, useContextWindowInfo, useIsCompacting, useQueuedMessages, VolumeFullIcon, WarningSignIcon, useComputer, csvTextToWorkbookJson, CSV_PREVIEW_MAX_ROWS, CopyButton, COMPOSER_ID_COPILOT, ModelIcon, modeToBrandRow, useBackDismiss, PdfViewer, brandLabel, Spinner } from './chunk-GCPPMKGT.js';
|
|
14
|
+
import { Textarea, resolveChatHost, artifactFormatIcon, BookIcon, useAgentRoster, ShieldCheckIcon, useArtifactStore, useCanvasStore, useChatOverviewStore, setSdkConversationPath, setSdkDarkMode, AgentsProvider, PluginProvider, WorkspaceProvider, TooltipProvider, ChatHostProvider, getPersonConfirmation, isToolPart, getToolState, getToolName, getToolInput, sourceKind, extractDomain, CitationViewerContext, MarkdownRenderer, ConnectRunnerContext, usePathname, useChatSurfaceProvider, usePaneFocusStore, useAgentPanelStore, Tooltip, TooltipTrigger, TooltipContent, StudioDisplayIcon, WorldIcon, SlidesWideIcon, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, ArrowsShowIcon, useKeyboardInset, ExclamationCircleIcon, getToolOutput, useArtifact, useUpdateArtifact, useArtifactFileObjectUrl, resolveArtifactIconFormat, useSourcesEnrichment, LoaderIcon, FileDownloadIcon, Label, Input, renderPluginBlock, useArtifactVersion, useChatCapabilities, useChatCapabilityEnabled, useChatOptInEnabled, useChatHost, useSessionPendingApprovals, tableToCsv, tableToXlsx, tableToMarkdown, DropdownMenu, DropdownMenuTrigger, StyledDropdownMenuContent, StyledDropdownMenuItem, useArtifactVersions, useClient, unwrapData, authFetch, getBearerHeadersForApi, EyeOpenIcon, EyeSlashIcon, useRestoreArtifactVersion, ZoomableImage, ChatImageLightbox, useDownloadArtifact, useArtifactFileBytes, useArtifactPreviewFileObjectUrl, useArtifactVersionPreviewFileObjectUrl, errorText, SpreadsheetIcon, FilePdfIcon, useOptionalWorkspaceContext, useAgentConnectionStatus, useArtifacts, useSession, useWorkspaceContext, useConversationDesktopStatus, isRequestHumanTool, appsKeys, unwrapDataDeep, useRouter, Images1Icon, ArrowUpIcon, VideoIcon, AudioIcon, useBrand, resolveBearerHeaders, subscribeSdkDarkMode, getSdkDarkMode, unwrap, useConnectRunner, useStartUserConnect, useUpsertGrant, useRevokeGrant, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, LayoutGrid1Icon, useCatalog, useInstalls, useWorkspaceSlug, buildTenantUrlAbsolute } from './chunk-OYDGSDQX.js';
|
|
15
15
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
16
|
-
import { Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-
|
|
17
|
-
import { MOBILE_BREAKPOINT, useIsMobile, I18nProvider, useTranslation } from './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import { AppIcon, frontera_icon_default, PhotoIcon, Folder1Icon, FileTextIcon, describeToolRow, SquareArrowTopRightIcon, ClipboardIcon, getToolMeta, useStreamdownPlugins, AppIconFrame, MessageResponse } from './chunk-
|
|
16
|
+
import { Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-RQSMCGBR.js';
|
|
17
|
+
import { MOBILE_BREAKPOINT, useIsMobile, I18nProvider, useTranslation } from './chunk-ZNCZ7QWY.js';
|
|
18
|
+
import './chunk-G4EXD5F3.js';
|
|
19
|
+
import { AppIcon, frontera_icon_default, PhotoIcon, Folder1Icon, FileTextIcon, describeToolRow, SquareArrowTopRightIcon, ClipboardIcon, getToolMeta, useStreamdownPlugins, AppIconFrame, MessageResponse } from './chunk-OBAC3B64.js';
|
|
20
20
|
import { Skeleton, Button, ScrollArea, ChevronDownMediumIcon, buttonVariants } from './chunk-UWKO24VT.js';
|
|
21
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, CrossMediumIcon, DialogFooter } from './chunk-
|
|
21
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, CrossMediumIcon, DialogFooter } from './chunk-37WYG6VG.js';
|
|
22
22
|
import './chunk-CDTES65T.js';
|
|
23
23
|
import { DropdownMenu as DropdownMenu$1, DropdownMenuTrigger as DropdownMenuTrigger$1, DropdownMenuContent, DropdownMenuItem, ChevronRightIcon, DropdownMenuSeparator, DropdownMenuLabel } from './chunk-C3HW5S2Z.js';
|
|
24
24
|
import { AgentAvatar } from './chunk-RCWVJD7G.js';
|
|
@@ -42397,7 +42397,7 @@ function SheetEditor({ content, onSave, readOnly = false }) {
|
|
|
42397
42397
|
);
|
|
42398
42398
|
}
|
|
42399
42399
|
var PdfDocumentViewInner = dynamic(
|
|
42400
|
-
() => import('./pdf-document-view-inner-
|
|
42400
|
+
() => import('./pdf-document-view-inner-WM23E6IG.js'),
|
|
42401
42401
|
{
|
|
42402
42402
|
ssr: false,
|
|
42403
42403
|
loading: () => /* @__PURE__ */ jsx(ArtifactSkeleton, { format: "pdf" })
|
|
@@ -43216,7 +43216,7 @@ function HtmlDeckView({ content, inChat = false, versionSlot }) {
|
|
|
43216
43216
|
!present && inChat && /* @__PURE__ */ jsx(DeckEditPanel, { currentIndex: sel, currentHtml: slides[sel]?.html ?? "" })
|
|
43217
43217
|
] });
|
|
43218
43218
|
}
|
|
43219
|
-
var Inner = dynamic(() => import('./pdf-deck-view-inner-
|
|
43219
|
+
var Inner = dynamic(() => import('./pdf-deck-view-inner-B3GZ4OW5.js'), {
|
|
43220
43220
|
ssr: false,
|
|
43221
43221
|
loading: () => /* @__PURE__ */ jsx(ArtifactSkeleton, { format: "htmldeck" })
|
|
43222
43222
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { Sheet, SheetContent, SheetHeader, SheetTitle, Popover, PopoverTrigger, PopoverContent, MagnifyingGlassIcon } from './chunk-
|
|
3
|
-
import { useIsMobile, useTranslation } from './chunk-
|
|
4
|
-
import { CrossMediumIcon } from './chunk-
|
|
2
|
+
import { Sheet, SheetContent, SheetHeader, SheetTitle, Popover, PopoverTrigger, PopoverContent, MagnifyingGlassIcon } from './chunk-RQSMCGBR.js';
|
|
3
|
+
import { useIsMobile, useTranslation } from './chunk-ZNCZ7QWY.js';
|
|
4
|
+
import { CrossMediumIcon } from './chunk-37WYG6VG.js';
|
|
5
5
|
import { AgentAvatar } from './chunk-RCWVJD7G.js';
|
|
6
6
|
import { cn, Checkmark1Icon } from './chunk-LGVMMBL3.js';
|
|
7
7
|
import * as t from 'react';
|
|
@@ -29,6 +29,32 @@ function CrossMediumIcon(props) {
|
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
|
+
function focusedElement() {
|
|
33
|
+
if (typeof document === "undefined") return null;
|
|
34
|
+
const active = document.activeElement;
|
|
35
|
+
return active instanceof HTMLElement && active !== document.body ? active : null;
|
|
36
|
+
}
|
|
37
|
+
function RecordOpener({ into }) {
|
|
38
|
+
const [focused] = React.useState(focusedElement);
|
|
39
|
+
React.useLayoutEffect(() => {
|
|
40
|
+
into.current = focused;
|
|
41
|
+
}, [into, focused]);
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
function useReturnFocus(onCloseAutoFocus) {
|
|
45
|
+
const opener = React.useRef(null);
|
|
46
|
+
return {
|
|
47
|
+
recorder: /* @__PURE__ */ jsx(RecordOpener, { into: opener }),
|
|
48
|
+
onCloseAutoFocus: (event) => {
|
|
49
|
+
onCloseAutoFocus?.(event);
|
|
50
|
+
const target = opener.current;
|
|
51
|
+
opener.current = null;
|
|
52
|
+
if (event.defaultPrevented || !target?.isConnected || focusedElement()) return;
|
|
53
|
+
event.preventDefault();
|
|
54
|
+
target.focus({ preventScroll: true });
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
32
58
|
function Dialog({
|
|
33
59
|
...props
|
|
34
60
|
}) {
|
|
@@ -96,6 +122,7 @@ function DialogContent({
|
|
|
96
122
|
onPointerDownOutside,
|
|
97
123
|
onInteractOutside,
|
|
98
124
|
onEscapeKeyDown,
|
|
125
|
+
onCloseAutoFocus,
|
|
99
126
|
ref,
|
|
100
127
|
...props
|
|
101
128
|
}) {
|
|
@@ -108,6 +135,7 @@ function DialogContent({
|
|
|
108
135
|
},
|
|
109
136
|
[ref]
|
|
110
137
|
);
|
|
138
|
+
const returnFocus = useReturnFocus(onCloseAutoFocus);
|
|
111
139
|
return /* @__PURE__ */ jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
112
140
|
/* @__PURE__ */ jsx(DialogOverlay, { className: overlayClassName }),
|
|
113
141
|
/* @__PURE__ */ jsxs(
|
|
@@ -144,7 +172,9 @@ function DialogContent({
|
|
|
144
172
|
onEscapeKeyDown?.(e);
|
|
145
173
|
},
|
|
146
174
|
...props,
|
|
175
|
+
onCloseAutoFocus: returnFocus.onCloseAutoFocus,
|
|
147
176
|
children: [
|
|
177
|
+
returnFocus.recorder,
|
|
148
178
|
children,
|
|
149
179
|
showCloseButton && /* @__PURE__ */ jsxs(
|
|
150
180
|
DialogPrimitive.Close,
|
|
@@ -216,4 +246,4 @@ function DialogDescription({
|
|
|
216
246
|
);
|
|
217
247
|
}
|
|
218
248
|
|
|
219
|
-
export { CrossMediumIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle };
|
|
249
|
+
export { CrossMediumIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, useReturnFocus };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { requestPaneFocus, useArtifacts, usePlugins, useCanvasStore, useArtifactStore, useChatOverviewStore, useSourcesEnrichment, sourceKind, useCitationViewer, resolveSourceDisplay, extractDomain, useCitedDocument, canvasId, StudioDisplayIcon, LayoutDashboardIcon, useAgentPanelStore, SourceFavicon, dedup, useArtifactFileObjectUrl, resolveArtifactIconFormat, artifactFormatIcon, avatarMotionForStream, AGENT_AVATAR_SIZE, getFileCategory, FileThumbnail, formatFileSize, usePathname, artifactFormatSubtitle, artifactCategory, Input, MobileScreenSheet, TooltipTrigger, Tooltip, useChatCapabilities, TooltipContent, processMessageParts, GridSpinner, PanelEdgeRing, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, extractCitationsFromSteps, resolvePluginLanguage, getMessageDisplayTimestampValue } from './chunk-
|
|
3
|
-
import { MagnifyingGlassIcon, Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle } from './chunk-
|
|
4
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
5
|
-
import { Collapsible, CollapsibleTrigger, CollapsibleContent, Shimmer, HoverCard, HoverCardTrigger, HoverCardContent } from './chunk-
|
|
2
|
+
import { requestPaneFocus, useArtifacts, usePlugins, useCanvasStore, useArtifactStore, useChatOverviewStore, useSourcesEnrichment, sourceKind, useCitationViewer, resolveSourceDisplay, extractDomain, useCitedDocument, canvasId, StudioDisplayIcon, LayoutDashboardIcon, useAgentPanelStore, SourceFavicon, dedup, useArtifactFileObjectUrl, resolveArtifactIconFormat, artifactFormatIcon, avatarMotionForStream, AGENT_AVATAR_SIZE, getFileCategory, FileThumbnail, formatFileSize, usePathname, artifactFormatSubtitle, artifactCategory, Input, MobileScreenSheet, TooltipTrigger, Tooltip, useChatCapabilities, TooltipContent, processMessageParts, GridSpinner, PanelEdgeRing, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, extractCitationsFromSteps, resolvePluginLanguage, getMessageDisplayTimestampValue } from './chunk-OYDGSDQX.js';
|
|
3
|
+
import { MagnifyingGlassIcon, Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle } from './chunk-RQSMCGBR.js';
|
|
4
|
+
import { useTranslation, useIsMobile } from './chunk-ZNCZ7QWY.js';
|
|
5
|
+
import { Collapsible, CollapsibleTrigger, CollapsibleContent, Shimmer, HoverCard, HoverCardTrigger, HoverCardContent } from './chunk-OBAC3B64.js';
|
|
6
6
|
import { ChevronDownMediumIcon, ScrollArea, Skeleton, Button } from './chunk-UWKO24VT.js';
|
|
7
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, CrossMediumIcon } from './chunk-
|
|
7
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, CrossMediumIcon } from './chunk-37WYG6VG.js';
|
|
8
8
|
import { ChevronRightIcon } from './chunk-C3HW5S2Z.js';
|
|
9
9
|
import { AgentAvatar } from './chunk-RCWVJD7G.js';
|
|
10
10
|
import { BulletListIcon, FilesIcon } from './chunk-EZX3E3BB.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useTranslation } from './chunk-
|
|
2
|
+
import { useTranslation } from './chunk-ZNCZ7QWY.js';
|
|
3
3
|
import { Skeleton } from './chunk-UWKO24VT.js';
|
|
4
4
|
import { useRef, useState, useEffect } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { describeToolRow, Code2Icon, getToolMeta, Shimmer, Collapse } from './chunk-
|
|
2
|
+
import { describeToolRow, Code2Icon, getToolMeta, Shimmer, Collapse } from './chunk-OBAC3B64.js';
|
|
3
3
|
import { ChevronDownMediumIcon } from './chunk-UWKO24VT.js';
|
|
4
4
|
import { cn } from './chunk-LGVMMBL3.js';
|
|
5
5
|
import { memo, useState, useMemo } from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { usePlugins, useChatCapabilityEnabled, resolvePluginLanguage, renderPluginBlock, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, ActionMenu, useArtifactStore, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, useArtifact, resolveArtifactIconFormat, artifactFormatIcon, useArtifactFileObjectUrl, artifactFormatSubtitle, ChatImageLightbox, ArrowsShowIcon, FileDownloadIcon, useClient, processMessageParts, getMessageDisplayTimestampValue, getMessageCreatedAtMs, isApprovalRequested, extractCitationsFromSteps, useSourcesEnrichment, extractImagesFromSteps, dedupeImageResults, getDocumentStreamArtifacts, getToolOutput, useCanvasStore, ImageResultsGallery, MessageDecisionCards, useChatCapabilities, useOptionalWorkspaceContext, useCitationViewer, useCitedDocument, useChatOverviewStore, dedup, extractDomain, sourceKind, SourceFavicon, Input, exportDocumentPdf, FilePdfIcon, StudioDisplayIcon, WorldIcon, MessageStepsGroup, getToolState, getToolInput, getToolErrorText, useChatOptInEnabled, ArrowRightIcon, formatFileSize, FileThumbnail, attachmentFileOf, MobileScreenSheet, useAgentHistorySource, treatyErrorMessage, useRouter, useBasePath, useAgentPanelStore, AgentRoutineForm, getFileCategory, unwrap, unwrapData, unwrapDataDeep, formatDecisionTime, DecisionCard, LoaderIcon, formatRelativeTime, CircleCheckIcon, agentRoutineKeys, useOptionalAgentsContext, avatarMotionForStream, AGENT_AVATAR_SIZE } from './chunk-
|
|
3
|
-
import { Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, Popover, PopoverTrigger, PopoverContent } from './chunk-
|
|
4
|
-
import { useIsMobile, useTranslation } from './chunk-
|
|
5
|
-
import { MessageToolbar, MessageResponse, SquareArrowTopRightIcon, FileTextIcon, Shimmer, ClipboardIcon, Message, MessageContent, PencilIcon, deferDuringLayoutMotion, HoverCard, HoverCardTrigger, HoverCardContent, Collapse, Icon, CircleXIcon, ClockIcon } from './chunk-
|
|
2
|
+
import { usePlugins, useChatCapabilityEnabled, resolvePluginLanguage, renderPluginBlock, AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, ActionMenu, useArtifactStore, ArtifactActionsMenu, DotGrid1x3HorizontalTightIcon, useArtifact, resolveArtifactIconFormat, artifactFormatIcon, useArtifactFileObjectUrl, artifactFormatSubtitle, ChatImageLightbox, ArrowsShowIcon, FileDownloadIcon, useClient, processMessageParts, getMessageDisplayTimestampValue, getMessageCreatedAtMs, isApprovalRequested, extractCitationsFromSteps, useSourcesEnrichment, extractImagesFromSteps, dedupeImageResults, getDocumentStreamArtifacts, getToolOutput, useCanvasStore, ImageResultsGallery, MessageDecisionCards, useChatCapabilities, useOptionalWorkspaceContext, useCitationViewer, useCitedDocument, useChatOverviewStore, dedup, extractDomain, sourceKind, SourceFavicon, Input, exportDocumentPdf, FilePdfIcon, StudioDisplayIcon, WorldIcon, MessageStepsGroup, getToolState, getToolInput, getToolErrorText, useChatOptInEnabled, ArrowRightIcon, formatFileSize, FileThumbnail, attachmentFileOf, MobileScreenSheet, useAgentHistorySource, treatyErrorMessage, useRouter, useBasePath, useAgentPanelStore, AgentRoutineForm, getFileCategory, unwrap, unwrapData, unwrapDataDeep, formatDecisionTime, DecisionCard, LoaderIcon, formatRelativeTime, CircleCheckIcon, agentRoutineKeys, useOptionalAgentsContext, avatarMotionForStream, AGENT_AVATAR_SIZE } from './chunk-OYDGSDQX.js';
|
|
3
|
+
import { Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, Popover, PopoverTrigger, PopoverContent } from './chunk-RQSMCGBR.js';
|
|
4
|
+
import { useIsMobile, useTranslation } from './chunk-ZNCZ7QWY.js';
|
|
5
|
+
import { MessageToolbar, MessageResponse, SquareArrowTopRightIcon, FileTextIcon, Shimmer, ClipboardIcon, Message, MessageContent, PencilIcon, deferDuringLayoutMotion, HoverCard, HoverCardTrigger, HoverCardContent, Collapse, Icon, CircleXIcon, ClockIcon } from './chunk-OBAC3B64.js';
|
|
6
6
|
import { ChevronDownMediumIcon, Button, ScrollArea, Skeleton } from './chunk-UWKO24VT.js';
|
|
7
|
-
import { CrossMediumIcon } from './chunk-
|
|
7
|
+
import { CrossMediumIcon } from './chunk-37WYG6VG.js';
|
|
8
8
|
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent } from './chunk-C3HW5S2Z.js';
|
|
9
9
|
import { HISTORY_CITATION_PREFIX, canonicalCitationUrl, encodeKnowledgeCitationLinks, historyCitationReference, AgentAvatar } from './chunk-RCWVJD7G.js';
|
|
10
10
|
import { cn, Checkmark1Icon } from './chunk-LGVMMBL3.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Button, Skeleton, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
|
|
3
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from './chunk-
|
|
3
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from './chunk-37WYG6VG.js';
|
|
4
4
|
import { icons_exports } from './chunk-EZX3E3BB.js';
|
|
5
5
|
import { cn, Checkmark1Icon, usePortalContainer } from './chunk-LGVMMBL3.js';
|
|
6
6
|
import '@radix-ui/react-slot';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
3
|
-
import { MagnifyingGlassIcon, Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger } from './chunk-
|
|
4
|
-
import { useIsMobile, useTranslation } from './chunk-
|
|
5
|
-
import { ToolCallItem, ProcessorIcon } from './chunk-
|
|
6
|
-
import { describeToolRow, toolKindLabel, getToolMeta, Shimmer, Collapse, ToolGroupReasoningItem, SkillToolItem, DeviceDesktopIcon, WorldSearchIcon, FileTextIcon, useStreamdownPlugins, CircleXIcon, STREAMDOWN_LINK_SAFETY, Folder1Icon, AppIconFrame, AppIcon, Collapsible, CollapsibleTrigger, CollapsibleContent, SquareArrowTopRightIcon, Icon } from './chunk-
|
|
3
|
+
import { MagnifyingGlassIcon, Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger } from './chunk-RQSMCGBR.js';
|
|
4
|
+
import { useIsMobile, useTranslation } from './chunk-ZNCZ7QWY.js';
|
|
5
|
+
import { ToolCallItem, ProcessorIcon } from './chunk-G4EXD5F3.js';
|
|
6
|
+
import { describeToolRow, toolKindLabel, getToolMeta, Shimmer, Collapse, ToolGroupReasoningItem, SkillToolItem, DeviceDesktopIcon, WorldSearchIcon, FileTextIcon, useStreamdownPlugins, CircleXIcon, STREAMDOWN_LINK_SAFETY, Folder1Icon, AppIconFrame, AppIcon, Collapsible, CollapsibleTrigger, CollapsibleContent, SquareArrowTopRightIcon, Icon } from './chunk-OBAC3B64.js';
|
|
7
7
|
import { ChevronDownMediumIcon, Button, Skeleton, buttonVariants } from './chunk-UWKO24VT.js';
|
|
8
|
-
import { Dialog, DialogContent, DialogTitle, DialogDescription, DialogClose, CrossMediumIcon, DialogHeader, DialogFooter } from './chunk-
|
|
8
|
+
import { Dialog, DialogContent, DialogTitle, DialogDescription, DialogClose, CrossMediumIcon, DialogHeader, DialogFooter, useReturnFocus } from './chunk-37WYG6VG.js';
|
|
9
9
|
import { zipSync } from './chunk-CDTES65T.js';
|
|
10
10
|
import { ChevronRightIcon, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent } from './chunk-C3HW5S2Z.js';
|
|
11
11
|
import { FORMAT_EXT, AgentAvatar, parseKnowledgeAppCitation } from './chunk-RCWVJD7G.js';
|
|
@@ -11871,11 +11871,14 @@ function AlertDialogOverlay({
|
|
|
11871
11871
|
}
|
|
11872
11872
|
function AlertDialogContent({
|
|
11873
11873
|
className,
|
|
11874
|
+
children,
|
|
11875
|
+
onCloseAutoFocus,
|
|
11874
11876
|
...props
|
|
11875
11877
|
}) {
|
|
11878
|
+
const returnFocus = useReturnFocus(onCloseAutoFocus);
|
|
11876
11879
|
return /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
|
|
11877
11880
|
/* @__PURE__ */ jsx(AlertDialogOverlay, {}),
|
|
11878
|
-
/* @__PURE__ */
|
|
11881
|
+
/* @__PURE__ */ jsxs(
|
|
11879
11882
|
AlertDialogPrimitive.Content,
|
|
11880
11883
|
{
|
|
11881
11884
|
"data-slot": "alert-dialog-content",
|
|
@@ -11883,7 +11886,12 @@ function AlertDialogContent({
|
|
|
11883
11886
|
"bg-surface-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
11884
11887
|
className
|
|
11885
11888
|
),
|
|
11886
|
-
...props
|
|
11889
|
+
...props,
|
|
11890
|
+
onCloseAutoFocus: returnFocus.onCloseAutoFocus,
|
|
11891
|
+
children: [
|
|
11892
|
+
returnFocus.recorder,
|
|
11893
|
+
children
|
|
11894
|
+
]
|
|
11887
11895
|
}
|
|
11888
11896
|
)
|
|
11889
11897
|
] });
|
|
@@ -13259,10 +13267,11 @@ function useCatalog() {
|
|
|
13259
13267
|
}
|
|
13260
13268
|
});
|
|
13261
13269
|
}
|
|
13262
|
-
function useInstalls() {
|
|
13270
|
+
function useInstalls(options = {}) {
|
|
13263
13271
|
const client = useClient();
|
|
13264
13272
|
return useQuery({
|
|
13265
13273
|
queryKey: appsKeys.installs(),
|
|
13274
|
+
enabled: options.enabled ?? true,
|
|
13266
13275
|
queryFn: async () => {
|
|
13267
13276
|
const { data, error } = await appsApi(client).get();
|
|
13268
13277
|
if (error) throw error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { CrossMediumIcon } from './chunk-
|
|
2
|
+
import { useReturnFocus, CrossMediumIcon } from './chunk-37WYG6VG.js';
|
|
3
3
|
import { usePortalContainer, cn } from './chunk-LGVMMBL3.js';
|
|
4
4
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -120,8 +120,10 @@ function SheetContent({
|
|
|
120
120
|
side = "right",
|
|
121
121
|
showCloseButton = true,
|
|
122
122
|
showGrabber = true,
|
|
123
|
+
onCloseAutoFocus,
|
|
123
124
|
...props
|
|
124
125
|
}) {
|
|
126
|
+
const returnFocus = useReturnFocus(onCloseAutoFocus);
|
|
125
127
|
return /* @__PURE__ */ jsxs(SheetPortal, { children: [
|
|
126
128
|
/* @__PURE__ */ jsx(SheetOverlay, { className: overlayClassName }),
|
|
127
129
|
/* @__PURE__ */ jsxs(
|
|
@@ -142,7 +144,9 @@ function SheetContent({
|
|
|
142
144
|
className
|
|
143
145
|
),
|
|
144
146
|
...props,
|
|
147
|
+
onCloseAutoFocus: returnFocus.onCloseAutoFocus,
|
|
145
148
|
children: [
|
|
149
|
+
returnFocus.recorder,
|
|
146
150
|
side === "bottom" && showGrabber && /* @__PURE__ */ jsx(
|
|
147
151
|
"div",
|
|
148
152
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getToolMeta } from './chunk-
|
|
2
|
+
import { getToolMeta } from './chunk-OBAC3B64.js';
|
|
3
3
|
import { Button } from './chunk-UWKO24VT.js';
|
|
4
4
|
import { ChevronDownMediumIcon, CrossMediumIcon } from './chunk-EZX3E3BB.js';
|
|
5
5
|
import { useChatClientOptional } from './chunk-6JLWE7M3.js';
|
|
@@ -5256,6 +5256,15 @@ var en_default = {
|
|
|
5256
5256
|
"omnichannel.reports.metric.csat_responses": "Ratings",
|
|
5257
5257
|
"omnichannel.reports.metric.repeat_contact_rate": "Repeat contact",
|
|
5258
5258
|
"omnichannel.reports.metric.resolve_rate": "Resolve rate",
|
|
5259
|
+
"omnichannel.reports.metric.online_minutes": "Online",
|
|
5260
|
+
"omnichannel.reports.metric.away_minutes": "Away",
|
|
5261
|
+
"omnichannel.reports.metric.handling_minutes": "Handling",
|
|
5262
|
+
"omnichannel.reports.metric.occupancy": "Occupancy",
|
|
5263
|
+
"omnichannel.reports.metric.chats": "Chats",
|
|
5264
|
+
"omnichannel.reports.metric.chats_at_once": "At once",
|
|
5265
|
+
"omnichannel.reports.occupancy.title": "Occupancy",
|
|
5266
|
+
"omnichannel.reports.occupancy.intro": "Time each person spent Online and Away, and handling chats: with at least one chat assigned to them, chats at the same time counted once. Occupancy is the handling time while Online, out of the Online time. Chats is how many different chats each person held, and At once how many on average while handling: 100% with 1.0 at once is one chat held all along.",
|
|
5267
|
+
"omnichannel.reports.occupancy.empty": "Nobody was Online or handled a chat in this period.",
|
|
5259
5268
|
"omnichannel.reports.how.csat_score": "Ratings of 4 or 5 stars out of all ratings customers gave after a person resolved their chat.",
|
|
5260
5269
|
"omnichannel.reports.how.sla_attainment": "Handovers whose first reply came by the channel's target, out of those met or missed. Chats closed before the target without a reply are not counted.",
|
|
5261
5270
|
"omnichannel.reports.how.first_reply_p50_minutes": "Half of the handovers got a person's first reply within this time; the second line is the time 90% got one within.",
|
|
@@ -5580,6 +5589,10 @@ var en_default = {
|
|
|
5580
5589
|
"omnichannel.inbox.refused.kataLogin": "Kata refused this number's login. Ask a Supervisor to check it in Channels.",
|
|
5581
5590
|
"omnichannel.inbox.refused.teamEmpty": "Nobody is in this team yet.",
|
|
5582
5591
|
"omnichannel.inbox.refused.teamGone": "This team no longer exists.",
|
|
5592
|
+
"omnichannel.inbox.refused.escalateReason": "Write why you escalate this chat.",
|
|
5593
|
+
"omnichannel.inbox.refused.escalateReasonLong": "Keep the reason to 500 characters.",
|
|
5594
|
+
"omnichannel.inbox.refused.escalateSelf": "Escalate the chat to someone else.",
|
|
5595
|
+
"omnichannel.inbox.refused.supervisorOnly": "Only a Supervisor can do this.",
|
|
5583
5596
|
"omnichannel.inbox.action.takeOver": "Take over",
|
|
5584
5597
|
"omnichannel.inbox.action.transfer": "Transfer",
|
|
5585
5598
|
"omnichannel.inbox.action.resolve": "Resolve",
|
|
@@ -5596,6 +5609,16 @@ var en_default = {
|
|
|
5596
5609
|
"omnichannel.inbox.action.transferLoading": "Loading people\u2026",
|
|
5597
5610
|
"omnichannel.inbox.action.takeOverFailed": "The chat could not be taken over",
|
|
5598
5611
|
"omnichannel.inbox.action.transferFailed": "The chat could not be transferred",
|
|
5612
|
+
"omnichannel.inbox.action.escalate": "Escalate",
|
|
5613
|
+
"omnichannel.inbox.action.escalateTitle": "Escalate this chat",
|
|
5614
|
+
"omnichannel.inbox.action.escalateBody": "The chat goes to the person you choose straight away, in the same case. They see your reason, and it stays in the chat as an internal note.",
|
|
5615
|
+
"omnichannel.inbox.action.escalateTo": "Escalate to",
|
|
5616
|
+
"omnichannel.inbox.action.escalatePick": "Choose a person",
|
|
5617
|
+
"omnichannel.inbox.action.escalateAway": "They're Away: the chat goes to them now and shows as unread in their Inbox, but they get no alert for it.",
|
|
5618
|
+
"omnichannel.inbox.action.escalateReason": "Reason",
|
|
5619
|
+
"omnichannel.inbox.action.escalateReasonPlaceholder": "For example: the customer asks for a refund above my limit",
|
|
5620
|
+
"omnichannel.inbox.action.escalateReasonHint": "Required, up to {count} characters.",
|
|
5621
|
+
"omnichannel.inbox.action.escalateFailed": "The chat could not be escalated",
|
|
5599
5622
|
"omnichannel.inbox.action.resolveFailed": "The chat could not be resolved",
|
|
5600
5623
|
"omnichannel.inbox.contact.title": "Customer",
|
|
5601
5624
|
"omnichannel.inbox.contact.open": "Customer details",
|
|
@@ -5650,6 +5673,8 @@ var en_default = {
|
|
|
5650
5673
|
"omnichannel.inbox.cases.hoursMinutes": "{hours} h {minutes} min",
|
|
5651
5674
|
"omnichannel.inbox.cases.earlier": "Earlier cases",
|
|
5652
5675
|
"omnichannel.inbox.cases.handledBy": "Handled by",
|
|
5676
|
+
"omnichannel.inbox.cases.escalated": "Escalated",
|
|
5677
|
+
"omnichannel.inbox.cases.escalatedBy": "By {name}: {reason}",
|
|
5653
5678
|
"omnichannel.inbox.cases.firstReplyLabel": "First reply",
|
|
5654
5679
|
"omnichannel.inbox.cases.firstReplyIn": "In {delay}",
|
|
5655
5680
|
"omnichannel.inbox.cases.firstReplyByIn": "{name}, in {delay}",
|
|
@@ -5679,6 +5704,8 @@ var en_default = {
|
|
|
5679
5704
|
"omnichannel.offerAlerts.soundOnlyHint": "This browser cannot show notifications, so only the sound plays when a chat is offered to you.",
|
|
5680
5705
|
"omnichannel.offerAlerts.title": "A chat is offered to you",
|
|
5681
5706
|
"omnichannel.offerAlerts.bodyTeam": "{customer} \xB7 {team} team",
|
|
5707
|
+
"omnichannel.escalation.title": "{person} escalated a chat to you",
|
|
5708
|
+
"omnichannel.escalation.open": "Open chat",
|
|
5682
5709
|
"omnichannel.presence.online": "Online",
|
|
5683
5710
|
"omnichannel.presence.away": "Away",
|
|
5684
5711
|
"omnichannel.presence.goOnline": "Click to go Online",
|
|
@@ -7136,13 +7163,9 @@ Use Add a rule to build them from lists.`,
|
|
|
7136
7163
|
"studio.overview.attention.approvals.many": "{count} approvals are waiting for your review",
|
|
7137
7164
|
"studio.overview.attention.approvalsMeta": "Agents asked before taking these actions",
|
|
7138
7165
|
"studio.overview.attention.reauth.one": "A Plugin account needs you to sign in again",
|
|
7139
|
-
"studio.overview.attention.reauth.many": "{count} Plugin accounts need you to sign in again",
|
|
7140
7166
|
"studio.overview.attention.reauthMeta": "Plugin \xB7 {accounts}",
|
|
7141
7167
|
"studio.overview.attention.reauthMetaNoEmail": "Plugin \xB7 Agents and workflows that use it can\u2019t reach it",
|
|
7142
7168
|
"studio.overview.attention.failingPlugins.one": "A Plugin is failing",
|
|
7143
|
-
"studio.overview.attention.failingPlugins.many": "{count} Plugins are failing",
|
|
7144
|
-
"studio.overview.attention.failingPluginsMeta": "Plugin \xB7 {error}",
|
|
7145
|
-
"studio.overview.attention.failingPluginsMetaNoError": "Plugin \xB7 open Plugins to see what went wrong",
|
|
7146
7169
|
"studio.overview.attention.agentQuality": "{name} is passing fewer checks",
|
|
7147
7170
|
"studio.overview.attention.agentQualityMeta": "Evaluations \xB7 {rate} passed in the last 7 days, of {total} graded",
|
|
7148
7171
|
"studio.overview.attention.reviews.one": "1 conversation is waiting for review",
|
|
@@ -7153,7 +7176,6 @@ Use Add a rule to build them from lists.`,
|
|
|
7153
7176
|
"studio.overview.action.openFunction": "Open function",
|
|
7154
7177
|
"studio.overview.action.review": "Review",
|
|
7155
7178
|
"studio.overview.action.reconnect": "Reconnect",
|
|
7156
|
-
"studio.overview.action.openPlugins": "Open Plugins",
|
|
7157
7179
|
"studio.overview.action.openEvaluations": "Open evaluations",
|
|
7158
7180
|
"studio.overview.health.title": "Last 24 hours",
|
|
7159
7181
|
"studio.overview.health.openMetrics": "Open Metrics",
|
|
@@ -7179,17 +7201,16 @@ Use Add a rule to build them from lists.`,
|
|
|
7179
7201
|
"studio.overview.recent.loadError": "Couldn\u2019t load what changed recently.",
|
|
7180
7202
|
"studio.overview.recent.fewNote": "What you and your team build here will appear in this list too.",
|
|
7181
7203
|
"studio.overview.recent.changed": "Changed {when}",
|
|
7182
|
-
"studio.overview.status.notLive": "Not live yet",
|
|
7183
7204
|
"studio.overview.status.draftAhead": "Draft ahead of live v{version}",
|
|
7184
|
-
"studio.overview.status.live": "Live \xB7 v{version}",
|
|
7185
|
-
"studio.overview.status.notDeployed": "Not deployed",
|
|
7186
|
-
"studio.overview.status.notPublished": "Not published",
|
|
7187
|
-
"studio.overview.status.published": "Published",
|
|
7188
7205
|
"studio.overview.start.title": "Start something new",
|
|
7189
7206
|
"studio.overview.start.agent": "Answers and acts in conversation, with your knowledge and tools.",
|
|
7190
7207
|
"studio.overview.start.workflow": "Steps that run on a trigger, a schedule or a request.",
|
|
7191
7208
|
"studio.overview.start.function": "A small piece of code an Agent or workflow can call.",
|
|
7192
|
-
"studio.overview.start.app": "A screen your team uses, built on your Agents and data."
|
|
7209
|
+
"studio.overview.start.app": "A screen your team uses, built on your Agents and data.",
|
|
7210
|
+
"studio.overview.attention.reauthNamed": "{name} needs you to sign in again",
|
|
7211
|
+
"studio.overview.attention.failingNamed": "{name} is failing",
|
|
7212
|
+
"studio.overview.attention.failingMeta": "Plugin \xB7 its connection keeps failing; open it to see why",
|
|
7213
|
+
"studio.overview.action.openPlugin": "Open Plugin"
|
|
7193
7214
|
};
|
|
7194
7215
|
|
|
7195
7216
|
// ../platform-kit/src/ui/i18n/locales/id.json
|
|
@@ -12408,6 +12429,15 @@ var id_default = {
|
|
|
12408
12429
|
"omnichannel.reports.metric.csat_responses": "Penilaian",
|
|
12409
12430
|
"omnichannel.reports.metric.repeat_contact_rate": "Kontak berulang",
|
|
12410
12431
|
"omnichannel.reports.metric.resolve_rate": "Tingkat penyelesaian",
|
|
12432
|
+
"omnichannel.reports.metric.online_minutes": "Online",
|
|
12433
|
+
"omnichannel.reports.metric.away_minutes": "Away",
|
|
12434
|
+
"omnichannel.reports.metric.handling_minutes": "Menangani",
|
|
12435
|
+
"omnichannel.reports.metric.occupancy": "Okupansi",
|
|
12436
|
+
"omnichannel.reports.metric.chats": "Chat",
|
|
12437
|
+
"omnichannel.reports.metric.chats_at_once": "Sekaligus",
|
|
12438
|
+
"omnichannel.reports.occupancy.title": "Okupansi",
|
|
12439
|
+
"omnichannel.reports.occupancy.intro": "Waktu setiap orang Online dan Away, serta waktu menangani chat: saat ada setidaknya satu chat yang ditugaskan kepadanya, chat pada waktu yang sama dihitung sekali. Okupansi adalah waktu menangani selama Online, dibagi waktu Online. Chat adalah jumlah chat berbeda yang ditangani setiap orang, dan Sekaligus rata-rata jumlah chat yang ditangani bersamaan: 100% dengan 1,0 sekaligus berarti satu chat dipegang sepanjang waktu.",
|
|
12440
|
+
"omnichannel.reports.occupancy.empty": "Tidak ada yang Online atau menangani chat dalam periode ini.",
|
|
12411
12441
|
"omnichannel.reports.how.csat_score": "Nilai 4 atau 5 bintang dari semua nilai yang diberikan pelanggan setelah chat diselesaikan oleh tim.",
|
|
12412
12442
|
"omnichannel.reports.how.sla_attainment": "Penerusan yang balasan pertamanya tiba sebelum target kanal, dari yang tercapai atau terlewat. Chat yang ditutup sebelum target tanpa balasan tidak dihitung.",
|
|
12413
12443
|
"omnichannel.reports.how.first_reply_p50_minutes": "Separuh penerusan mendapat balasan pertama dalam waktu ini; baris kedua adalah waktu 90% mendapatkannya.",
|
|
@@ -12732,6 +12762,10 @@ var id_default = {
|
|
|
12732
12762
|
"omnichannel.inbox.refused.kataLogin": "Kata menolak login nomor ini. Minta Supervisor memeriksanya di Channels.",
|
|
12733
12763
|
"omnichannel.inbox.refused.teamEmpty": "Belum ada anggota di tim ini.",
|
|
12734
12764
|
"omnichannel.inbox.refused.teamGone": "Tim ini sudah tidak ada.",
|
|
12765
|
+
"omnichannel.inbox.refused.escalateReason": "Tulis alasan Anda mengeskalasi chat ini.",
|
|
12766
|
+
"omnichannel.inbox.refused.escalateReasonLong": "Alasan paling banyak 500 karakter.",
|
|
12767
|
+
"omnichannel.inbox.refused.escalateSelf": "Eskalasikan chat ke orang lain.",
|
|
12768
|
+
"omnichannel.inbox.refused.supervisorOnly": "Hanya Supervisor yang dapat melakukan ini.",
|
|
12735
12769
|
"omnichannel.inbox.action.takeOver": "Ambil alih",
|
|
12736
12770
|
"omnichannel.inbox.action.transfer": "Alihkan",
|
|
12737
12771
|
"omnichannel.inbox.action.resolve": "Selesaikan",
|
|
@@ -12748,6 +12782,16 @@ var id_default = {
|
|
|
12748
12782
|
"omnichannel.inbox.action.transferLoading": "Memuat daftar orang\u2026",
|
|
12749
12783
|
"omnichannel.inbox.action.takeOverFailed": "Chat tidak dapat diambil alih",
|
|
12750
12784
|
"omnichannel.inbox.action.transferFailed": "Chat tidak dapat dialihkan",
|
|
12785
|
+
"omnichannel.inbox.action.escalate": "Eskalasi",
|
|
12786
|
+
"omnichannel.inbox.action.escalateTitle": "Eskalasikan chat ini",
|
|
12787
|
+
"omnichannel.inbox.action.escalateBody": "Chat langsung beralih ke orang yang Anda pilih, dalam kasus yang sama. Mereka melihat alasan Anda, dan alasan itu tetap ada di chat sebagai catatan internal.",
|
|
12788
|
+
"omnichannel.inbox.action.escalateTo": "Eskalasikan ke",
|
|
12789
|
+
"omnichannel.inbox.action.escalatePick": "Pilih orang",
|
|
12790
|
+
"omnichannel.inbox.action.escalateAway": "Orang ini sedang Away: chat langsung diberikan dan tampil belum dibaca di Inbox mereka, tetapi mereka tidak mendapat notifikasi untuk chat ini.",
|
|
12791
|
+
"omnichannel.inbox.action.escalateReason": "Alasan",
|
|
12792
|
+
"omnichannel.inbox.action.escalateReasonPlaceholder": "Misalnya: pelanggan meminta refund di atas batas saya",
|
|
12793
|
+
"omnichannel.inbox.action.escalateReasonHint": "Wajib, paling banyak {count} karakter.",
|
|
12794
|
+
"omnichannel.inbox.action.escalateFailed": "Chat tidak dapat dieskalasi",
|
|
12751
12795
|
"omnichannel.inbox.action.resolveFailed": "Chat tidak dapat diselesaikan",
|
|
12752
12796
|
"omnichannel.inbox.contact.title": "Pelanggan",
|
|
12753
12797
|
"omnichannel.inbox.contact.open": "Detail pelanggan",
|
|
@@ -12802,6 +12846,8 @@ var id_default = {
|
|
|
12802
12846
|
"omnichannel.inbox.cases.hoursMinutes": "{hours} jam {minutes} menit",
|
|
12803
12847
|
"omnichannel.inbox.cases.earlier": "Kasus sebelumnya",
|
|
12804
12848
|
"omnichannel.inbox.cases.handledBy": "Ditangani oleh",
|
|
12849
|
+
"omnichannel.inbox.cases.escalated": "Dieskalasi",
|
|
12850
|
+
"omnichannel.inbox.cases.escalatedBy": "Oleh {name}: {reason}",
|
|
12805
12851
|
"omnichannel.inbox.cases.firstReplyLabel": "Balasan pertama",
|
|
12806
12852
|
"omnichannel.inbox.cases.firstReplyIn": "Dalam {delay}",
|
|
12807
12853
|
"omnichannel.inbox.cases.firstReplyByIn": "{name}, dalam {delay}",
|
|
@@ -12831,6 +12877,8 @@ var id_default = {
|
|
|
12831
12877
|
"omnichannel.offerAlerts.soundOnlyHint": "Browser ini tidak dapat menampilkan notifikasi, jadi hanya suara yang berbunyi saat chat ditawarkan kepada Anda.",
|
|
12832
12878
|
"omnichannel.offerAlerts.title": "Ada chat yang ditawarkan kepada Anda",
|
|
12833
12879
|
"omnichannel.offerAlerts.bodyTeam": "{customer} \xB7 Tim {team}",
|
|
12880
|
+
"omnichannel.escalation.title": "{person} mengeskalasi chat kepada Anda",
|
|
12881
|
+
"omnichannel.escalation.open": "Buka chat",
|
|
12834
12882
|
"omnichannel.presence.online": "Online",
|
|
12835
12883
|
"omnichannel.presence.away": "Away",
|
|
12836
12884
|
"omnichannel.presence.goOnline": "Klik untuk menjadi Online",
|
|
@@ -14283,13 +14331,9 @@ var id_default = {
|
|
|
14283
14331
|
"studio.overview.attention.approvals.many": "{count} persetujuan menunggu tinjauan Anda",
|
|
14284
14332
|
"studio.overview.attention.approvalsMeta": "Agen meminta izin sebelum menjalankan tindakan ini",
|
|
14285
14333
|
"studio.overview.attention.reauth.one": "Satu akun Plugin perlu Anda masuk lagi",
|
|
14286
|
-
"studio.overview.attention.reauth.many": "{count} akun Plugin perlu Anda masuk lagi",
|
|
14287
14334
|
"studio.overview.attention.reauthMeta": "Plugin \xB7 {accounts}",
|
|
14288
14335
|
"studio.overview.attention.reauthMetaNoEmail": "Plugin \xB7 Agen dan alur kerja yang memakainya tidak dapat mengaksesnya",
|
|
14289
14336
|
"studio.overview.attention.failingPlugins.one": "Satu Plugin gagal",
|
|
14290
|
-
"studio.overview.attention.failingPlugins.many": "{count} Plugin gagal",
|
|
14291
|
-
"studio.overview.attention.failingPluginsMeta": "Plugin \xB7 {error}",
|
|
14292
|
-
"studio.overview.attention.failingPluginsMetaNoError": "Plugin \xB7 buka Plugin untuk melihat penyebabnya",
|
|
14293
14337
|
"studio.overview.attention.agentQuality": "{name} lolos lebih sedikit pemeriksaan",
|
|
14294
14338
|
"studio.overview.attention.agentQualityMeta": "Evaluasi \xB7 {rate} lolos dalam 7 hari terakhir, dari {total} yang dinilai",
|
|
14295
14339
|
"studio.overview.attention.reviews.one": "1 percakapan menunggu ditinjau",
|
|
@@ -14300,7 +14344,6 @@ var id_default = {
|
|
|
14300
14344
|
"studio.overview.action.openFunction": "Buka fungsi",
|
|
14301
14345
|
"studio.overview.action.review": "Tinjau",
|
|
14302
14346
|
"studio.overview.action.reconnect": "Hubungkan ulang",
|
|
14303
|
-
"studio.overview.action.openPlugins": "Buka Plugin",
|
|
14304
14347
|
"studio.overview.action.openEvaluations": "Buka evaluasi",
|
|
14305
14348
|
"studio.overview.health.title": "24 jam terakhir",
|
|
14306
14349
|
"studio.overview.health.openMetrics": "Buka Metrik",
|
|
@@ -14326,17 +14369,16 @@ var id_default = {
|
|
|
14326
14369
|
"studio.overview.recent.loadError": "Tidak dapat memuat perubahan terbaru.",
|
|
14327
14370
|
"studio.overview.recent.fewNote": "Apa yang Anda dan tim bangun di sini juga akan muncul di daftar ini.",
|
|
14328
14371
|
"studio.overview.recent.changed": "Diubah {when}",
|
|
14329
|
-
"studio.overview.status.notLive": "Belum live",
|
|
14330
14372
|
"studio.overview.status.draftAhead": "Draf lebih baru dari live v{version}",
|
|
14331
|
-
"studio.overview.status.live": "Live \xB7 v{version}",
|
|
14332
|
-
"studio.overview.status.notDeployed": "Belum di-deploy",
|
|
14333
|
-
"studio.overview.status.notPublished": "Belum dipublikasikan",
|
|
14334
|
-
"studio.overview.status.published": "Dipublikasikan",
|
|
14335
14373
|
"studio.overview.start.title": "Mulai sesuatu yang baru",
|
|
14336
14374
|
"studio.overview.start.agent": "Menjawab dan bertindak dalam percakapan, dengan pengetahuan dan alat Anda.",
|
|
14337
14375
|
"studio.overview.start.workflow": "Langkah-langkah yang berjalan karena pemicu, jadwal, atau permintaan.",
|
|
14338
14376
|
"studio.overview.start.function": "Potongan kode kecil yang dapat dipanggil Agen atau alur kerja.",
|
|
14339
|
-
"studio.overview.start.app": "Layar yang dipakai tim Anda, dibangun di atas Agen dan data Anda."
|
|
14377
|
+
"studio.overview.start.app": "Layar yang dipakai tim Anda, dibangun di atas Agen dan data Anda.",
|
|
14378
|
+
"studio.overview.attention.reauthNamed": "{name} perlu Anda masuk lagi",
|
|
14379
|
+
"studio.overview.attention.failingNamed": "{name} gagal",
|
|
14380
|
+
"studio.overview.attention.failingMeta": "Plugin \xB7 koneksinya terus gagal; buka untuk melihat penyebabnya",
|
|
14381
|
+
"studio.overview.action.openPlugin": "Buka Plugin"
|
|
14340
14382
|
};
|
|
14341
14383
|
var STORAGE_KEY = "sebati-agents-locale";
|
|
14342
14384
|
var locales = { en: en_default, id: id_default };
|
package/dist/header.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ChatHeader, ChatHeaderActions } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { ChatHeader, ChatHeaderActions } from './chunk-67IW6PE4.js';
|
|
3
|
+
import './chunk-OYDGSDQX.js';
|
|
4
4
|
import './chunk-CWAOLMFS.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-RQSMCGBR.js';
|
|
6
|
+
import './chunk-ZNCZ7QWY.js';
|
|
7
|
+
import './chunk-G4EXD5F3.js';
|
|
8
|
+
import './chunk-OBAC3B64.js';
|
|
9
9
|
import './chunk-UWKO24VT.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-37WYG6VG.js';
|
|
11
11
|
import './chunk-CDTES65T.js';
|
|
12
12
|
import './chunk-C3HW5S2Z.js';
|
|
13
13
|
import './chunk-RCWVJD7G.js';
|
package/dist/message.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { Message, Thinking } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { Message, Thinking } from './chunk-GCPPMKGT.js';
|
|
3
|
+
import './chunk-OYDGSDQX.js';
|
|
4
4
|
import './chunk-CWAOLMFS.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-RQSMCGBR.js';
|
|
6
|
+
import './chunk-ZNCZ7QWY.js';
|
|
7
|
+
import './chunk-G4EXD5F3.js';
|
|
8
|
+
import './chunk-OBAC3B64.js';
|
|
9
9
|
import './chunk-UWKO24VT.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-37WYG6VG.js';
|
|
11
11
|
import './chunk-CDTES65T.js';
|
|
12
12
|
import './chunk-C3HW5S2Z.js';
|
|
13
13
|
import './chunk-RCWVJD7G.js';
|
package/dist/new-session.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
2
|
+
export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-2SX4XLQI.js';
|
|
3
|
+
import './chunk-RQSMCGBR.js';
|
|
4
|
+
import './chunk-ZNCZ7QWY.js';
|
|
5
|
+
import './chunk-37WYG6VG.js';
|
|
6
6
|
import './chunk-RCWVJD7G.js';
|
|
7
7
|
import './chunk-LGVMMBL3.js';
|
|
8
8
|
import './chunk-PR4QN5HX.js';
|
package/dist/parts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { ToolCallItem } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
import { ToolCallItem } from './chunk-G4EXD5F3.js';
|
|
3
|
+
import './chunk-OBAC3B64.js';
|
|
4
4
|
import './chunk-UWKO24VT.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-37WYG6VG.js';
|
|
6
6
|
import './chunk-EZX3E3BB.js';
|
|
7
7
|
import './chunk-LGVMMBL3.js';
|
|
8
8
|
import './chunk-PR4QN5HX.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { DeckNotesCard, deckOwnsArrowKeys } from './chunk-4FRTPVJT.js';
|
|
3
|
-
import { resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb, ArtifactSkeleton } from './chunk-
|
|
3
|
+
import { resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb, ArtifactSkeleton } from './chunk-F66BHU7S.js';
|
|
4
4
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
5
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
5
|
+
import { useTranslation, useIsMobile } from './chunk-ZNCZ7QWY.js';
|
|
6
6
|
import { Button, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
|
|
7
7
|
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, ChevronRightIcon } from './chunk-C3HW5S2Z.js';
|
|
8
8
|
import { cn } from './chunk-LGVMMBL3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { zoomPercent, DECK_ZOOM_LEVELS, ArtifactSkeleton, LazyThumb } from './chunk-
|
|
2
|
+
import { zoomPercent, DECK_ZOOM_LEVELS, ArtifactSkeleton, LazyThumb } from './chunk-F66BHU7S.js';
|
|
3
3
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
4
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
4
|
+
import { useTranslation, useIsMobile } from './chunk-ZNCZ7QWY.js';
|
|
5
5
|
import { Button, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
|
|
6
6
|
import { ChevronRightIcon, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem } from './chunk-C3HW5S2Z.js';
|
|
7
7
|
import { cn } from './chunk-LGVMMBL3.js';
|
package/dist/pending-cards.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { PendingCards } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { PendingCards } from './chunk-SNLXL6Q5.js';
|
|
3
|
+
import './chunk-OBAC3B64.js';
|
|
4
4
|
import './chunk-UWKO24VT.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-37WYG6VG.js';
|
|
6
6
|
import './chunk-EZX3E3BB.js';
|
|
7
7
|
import './chunk-LGVMMBL3.js';
|
|
8
8
|
import './chunk-6JLWE7M3.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/chat-ui",
|
|
3
|
-
"version": "1.53.
|
|
3
|
+
"version": "1.53.14",
|
|
4
4
|
"description": "Ready-made React components for embedding a Frontera agent conversation — message rendering, tool calls, artifacts and composer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"frontera",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@elysiajs/eden": "^1.4.9",
|
|
92
|
-
"@frontera-sdk/chat": "1.53.
|
|
93
|
-
"@frontera-sdk/core": "1.53.
|
|
92
|
+
"@frontera-sdk/chat": "1.53.14",
|
|
93
|
+
"@frontera-sdk/core": "1.53.14",
|
|
94
94
|
"@radix-ui/react-alert-dialog": "^1.1.23",
|
|
95
95
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
96
96
|
"@radix-ui/react-compose-refs": "^1.1.5",
|