@frontera-sdk/chat-ui 1.53.19 → 1.53.20

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 CHANGED
@@ -1,20 +1,20 @@
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-RYGIU5JT.js';
5
- import { NewSessionPrompt, keepCaretOnTap } from './chunk-QZTVHYO6.js';
4
+ import { ArtifactSkeleton, resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb } from './chunk-EF3QWX54.js';
5
+ import { NewSessionPrompt, keepCaretOnTap } from './chunk-WMUHFW5U.js';
6
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-EGEPD4YN.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-H2457A76.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-K273VCVE.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-ME2IQL3U.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-Y6VTFNSS.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-JC3SZMLM.js';
15
15
  import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
16
16
  import { Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle, SheetDescription } from './chunk-RQSMCGBR.js';
17
- import { MOBILE_BREAKPOINT, useIsMobile, I18nProvider, useTranslation } from './chunk-JNQ4BMHZ.js';
17
+ import { MOBILE_BREAKPOINT, useIsMobile, I18nProvider, useTranslation } from './chunk-MLGZ5T24.js';
18
18
  import './chunk-G4EXD5F3.js';
19
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';
@@ -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-VMTUGLNQ.js'),
42400
+ () => import('./pdf-document-view-inner-NO2VAIIH.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-ZLQSEJ63.js'), {
43219
+ var Inner = dynamic(() => import('./pdf-deck-view-inner-VCPJO4XM.js'), {
43220
43220
  ssr: false,
43221
43221
  loading: () => /* @__PURE__ */ jsx(ArtifactSkeleton, { format: "htmldeck" })
43222
43222
  });
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useTranslation } from './chunk-JNQ4BMHZ.js';
2
+ import { useTranslation } from './chunk-MLGZ5T24.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,7 +1,7 @@
1
1
  'use client';
2
2
  import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
3
3
  import { MagnifyingGlassIcon, Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger } from './chunk-RQSMCGBR.js';
4
- import { useIsMobile, useTranslation } from './chunk-JNQ4BMHZ.js';
4
+ import { useIsMobile, useTranslation } from './chunk-MLGZ5T24.js';
5
5
  import { ToolCallItem, ProcessorIcon } from './chunk-G4EXD5F3.js';
6
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';
@@ -1,7 +1,7 @@
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-K273VCVE.js';
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-JC3SZMLM.js';
3
3
  import { MagnifyingGlassIcon, Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle } from './chunk-RQSMCGBR.js';
4
- import { useTranslation, useIsMobile } from './chunk-JNQ4BMHZ.js';
4
+ import { useTranslation, useIsMobile } from './chunk-MLGZ5T24.js';
5
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
7
  import { Dialog, DialogContent, DialogHeader, DialogTitle, CrossMediumIcon } from './chunk-37WYG6VG.js';
@@ -5794,6 +5794,7 @@ var en_default = {
5794
5794
  "omnichannel.inbox.pill.mine": "Mine",
5795
5795
  "omnichannel.inbox.pill.waiting": "Waiting",
5796
5796
  "omnichannel.inbox.pill.soon": "Reply soon",
5797
+ "omnichannel.inbox.pill.escalations": "Escalations",
5797
5798
  "omnichannel.inbox.pill.followUp": "Follow-up",
5798
5799
  "omnichannel.inbox.pill.agent": "Agent",
5799
5800
  "omnichannel.inbox.pill.all": "All",
@@ -6026,6 +6027,13 @@ var en_default = {
6026
6027
  "omnichannel.inbox.refused.escalateReason": "Write why you escalate this chat.",
6027
6028
  "omnichannel.inbox.refused.escalateReasonLong": "Keep the reason to 500 characters.",
6028
6029
  "omnichannel.inbox.refused.escalateSelf": "Escalate the chat to someone else.",
6030
+ "omnichannel.inbox.refused.escalationWaiting": "An escalation of this chat is already waiting for a Supervisor.",
6031
+ "omnichannel.inbox.refused.escalationDecided": "Someone already decided this escalation.",
6032
+ "omnichannel.inbox.refused.escalationGone": "This escalation is no longer waiting.",
6033
+ "omnichannel.inbox.refused.declineReason": "Write why you decline the escalation.",
6034
+ "omnichannel.inbox.refused.escalateNotYours": "You can only escalate a chat that is yours.",
6035
+ "omnichannel.inbox.refused.escalateBackToRequester": "The chat is already theirs. Decline the escalation instead.",
6036
+ "omnichannel.inbox.refused.withdrawNotYours": "Only the person who asked can withdraw the escalation.",
6029
6037
  "omnichannel.inbox.refused.supervisorOnly": "Only a Supervisor can do this.",
6030
6038
  "omnichannel.inbox.action.takeOver": "Take over",
6031
6039
  "omnichannel.inbox.action.transfer": "Transfer",
@@ -6044,15 +6052,14 @@ var en_default = {
6044
6052
  "omnichannel.inbox.action.takeOverFailed": "The chat could not be taken over",
6045
6053
  "omnichannel.inbox.action.transferFailed": "The chat could not be transferred",
6046
6054
  "omnichannel.inbox.action.escalate": "Escalate",
6047
- "omnichannel.inbox.action.escalateTitle": "Escalate this chat",
6048
- "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.",
6049
- "omnichannel.inbox.action.escalateTo": "Escalate to",
6050
- "omnichannel.inbox.action.escalatePick": "Choose a person",
6051
- "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.",
6055
+ "omnichannel.inbox.action.escalateTitle": "Request escalation",
6056
+ "omnichannel.inbox.action.escalateBody": "A Supervisor approves it, or sends the chat elsewhere. The chat stays with you until then, and you can keep replying.",
6057
+ "omnichannel.inbox.action.escalateTo": "Suggest a person (optional)",
6058
+ "omnichannel.inbox.action.escalatePick": "No suggestion",
6052
6059
  "omnichannel.inbox.action.escalateReason": "Reason",
6053
6060
  "omnichannel.inbox.action.escalateReasonPlaceholder": "For example: the customer asks for a refund above my limit",
6054
6061
  "omnichannel.inbox.action.escalateReasonHint": "Required, up to {count} characters.",
6055
- "omnichannel.inbox.action.escalateFailed": "The chat could not be escalated",
6062
+ "omnichannel.inbox.action.escalateFailed": "The request could not be sent",
6056
6063
  "omnichannel.inbox.action.resolveFailed": "The chat could not be resolved",
6057
6064
  "omnichannel.inbox.contact.title": "Customer",
6058
6065
  "omnichannel.inbox.contact.open": "Customer details",
@@ -6140,6 +6147,50 @@ var en_default = {
6140
6147
  "omnichannel.offerAlerts.bodyTeam": "{customer} \xB7 {team} team",
6141
6148
  "omnichannel.escalation.title": "{person} escalated a chat to you",
6142
6149
  "omnichannel.escalation.fromTeam": "{name} ({team})",
6150
+ "omnichannel.inbox.action.escalateSend": "Send request",
6151
+ "omnichannel.inbox.action.escalateSent": "Escalation requested. A Supervisor will decide.",
6152
+ "omnichannel.escalation.cardLabel": "Escalation request",
6153
+ "omnichannel.escalation.asks": "{person} asks to escalate this chat",
6154
+ "omnichannel.escalation.waited": "waiting {time}",
6155
+ "omnichannel.escalation.suggested": "Suggested: {name}",
6156
+ "omnichannel.escalation.suggestedAway": "Away now",
6157
+ "omnichannel.escalation.approveTo": "Approve to {name}",
6158
+ "omnichannel.escalation.approveFailed": "The escalation could not be approved",
6159
+ "omnichannel.escalation.reassign": "Reassign",
6160
+ "omnichannel.escalation.decline": "Decline",
6161
+ "omnichannel.escalation.declineTitle": "Decline this escalation",
6162
+ "omnichannel.escalation.declineBody": "The chat stays with the person who asked. They see your reason.",
6163
+ "omnichannel.escalation.declinePlaceholder": "For example: the refund is within your limit",
6164
+ "omnichannel.escalation.declineFailed": "The escalation could not be declined",
6165
+ "omnichannel.escalation.requested": "Escalation requested \xB7 {time}",
6166
+ "omnichannel.escalation.withdraw": "Withdraw",
6167
+ "omnichannel.escalation.withdrawFailed": "The request could not be withdrawn",
6168
+ "omnichannel.escalation.askedTitle": "{person} asks to escalate a chat",
6169
+ "omnichannel.escalation.review": "Review",
6170
+ "omnichannel.escalation.approvedTitle": "{person} approved your escalation",
6171
+ "omnichannel.escalation.declinedTitle": "{person} declined your escalation",
6172
+ "omnichannel.escalation.wentTo": "The chat went to {name}.",
6173
+ "omnichannel.escalation.wentToTeam": "The chat went to {team}.",
6174
+ "omnichannel.inbox.cases.escalationApprovedBy": "Approved by {name}",
6175
+ "omnichannel.inbox.cases.escalationRequested": "Escalation requested",
6176
+ "omnichannel.inbox.cases.escalationWaitsForSupervisor": "Waiting for a Supervisor",
6177
+ "omnichannel.inbox.view.escalations": "Escalations",
6178
+ "omnichannel.inbox.viewEmpty.escalations": "No escalations wait for a decision.",
6179
+ "omnichannel.overview.workload.escalations": "Escalations waiting",
6180
+ "omnichannel.overview.workload.escalationsCaption": "Waiting for a Supervisor's decision",
6181
+ "omnichannel.overview.workload.escalationsLongest": "Longest waiting {time}",
6182
+ "omnichannel.reports.escalations.title": "Escalations",
6183
+ "omnichannel.reports.escalations.intro": "Requests to escalate a chat in the period, by the Human Agents who asked, and how Supervisors decided them.",
6184
+ "omnichannel.reports.metric.escalations": "Escalations",
6185
+ "omnichannel.reports.metric.escalations_approved": "Approved",
6186
+ "omnichannel.reports.metric.escalations_declined": "Declined",
6187
+ "omnichannel.reports.metric.escalations_withdrawn": "Withdrawn",
6188
+ "omnichannel.reports.metric.escalation_decision_p50_minutes": "Time to decide",
6189
+ "omnichannel.reports.how.escalations": "Requests to escalate a chat made in the period.",
6190
+ "omnichannel.reports.how.escalations_approved": "Requests a Supervisor approved, to the person suggested or to another person or a team.",
6191
+ "omnichannel.reports.how.escalations_declined": "Requests a Supervisor declined.",
6192
+ "omnichannel.reports.how.escalations_withdrawn": "Requests the Human Agent withdrew, or that ended because the chat was transferred, resolved or closed first.",
6193
+ "omnichannel.reports.how.escalation_decision_p50_minutes": "Half of the requests a Supervisor decided were decided within this time.",
6143
6194
  "omnichannel.escalation.open": "Open chat",
6144
6195
  "omnichannel.presence.online": "Online",
6145
6196
  "omnichannel.presence.away": "Away",
@@ -13402,6 +13453,7 @@ var id_default = {
13402
13453
  "omnichannel.inbox.pill.mine": "Milik saya",
13403
13454
  "omnichannel.inbox.pill.waiting": "Menunggu",
13404
13455
  "omnichannel.inbox.pill.soon": "Segera balas",
13456
+ "omnichannel.inbox.pill.escalations": "Eskalasi",
13405
13457
  "omnichannel.inbox.pill.followUp": "Tindak lanjut",
13406
13458
  "omnichannel.inbox.pill.agent": "Agent",
13407
13459
  "omnichannel.inbox.pill.all": "Semua",
@@ -13634,6 +13686,13 @@ var id_default = {
13634
13686
  "omnichannel.inbox.refused.escalateReason": "Tulis alasan Anda mengeskalasi chat ini.",
13635
13687
  "omnichannel.inbox.refused.escalateReasonLong": "Alasan paling banyak 500 karakter.",
13636
13688
  "omnichannel.inbox.refused.escalateSelf": "Eskalasikan chat ke orang lain.",
13689
+ "omnichannel.inbox.refused.escalationWaiting": "Eskalasi chat ini sudah menunggu Supervisor.",
13690
+ "omnichannel.inbox.refused.escalationDecided": "Seseorang sudah memutuskan eskalasi ini.",
13691
+ "omnichannel.inbox.refused.escalationGone": "Eskalasi ini sudah tidak menunggu.",
13692
+ "omnichannel.inbox.refused.declineReason": "Tulis alasan Anda menolak eskalasi.",
13693
+ "omnichannel.inbox.refused.escalateNotYours": "Anda hanya dapat mengeskalasi chat milik Anda.",
13694
+ "omnichannel.inbox.refused.escalateBackToRequester": "Chat ini sudah milik mereka. Tolak eskalasinya saja.",
13695
+ "omnichannel.inbox.refused.withdrawNotYours": "Hanya orang yang meminta yang dapat menarik eskalasi.",
13637
13696
  "omnichannel.inbox.refused.supervisorOnly": "Hanya Supervisor yang dapat melakukan ini.",
13638
13697
  "omnichannel.inbox.action.takeOver": "Ambil alih",
13639
13698
  "omnichannel.inbox.action.transfer": "Alihkan",
@@ -13652,15 +13711,14 @@ var id_default = {
13652
13711
  "omnichannel.inbox.action.takeOverFailed": "Chat tidak dapat diambil alih",
13653
13712
  "omnichannel.inbox.action.transferFailed": "Chat tidak dapat dialihkan",
13654
13713
  "omnichannel.inbox.action.escalate": "Eskalasi",
13655
- "omnichannel.inbox.action.escalateTitle": "Eskalasikan chat ini",
13656
- "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.",
13657
- "omnichannel.inbox.action.escalateTo": "Eskalasikan ke",
13658
- "omnichannel.inbox.action.escalatePick": "Pilih orang",
13659
- "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.",
13714
+ "omnichannel.inbox.action.escalateTitle": "Ajukan eskalasi",
13715
+ "omnichannel.inbox.action.escalateBody": "Supervisor menyetujuinya, atau mengirim chat ke tempat lain. Chat tetap bersama Anda sampai saat itu, dan Anda tetap bisa membalas.",
13716
+ "omnichannel.inbox.action.escalateTo": "Sarankan orang (opsional)",
13717
+ "omnichannel.inbox.action.escalatePick": "Tanpa saran",
13660
13718
  "omnichannel.inbox.action.escalateReason": "Alasan",
13661
13719
  "omnichannel.inbox.action.escalateReasonPlaceholder": "Misalnya: pelanggan meminta refund di atas batas saya",
13662
13720
  "omnichannel.inbox.action.escalateReasonHint": "Wajib, paling banyak {count} karakter.",
13663
- "omnichannel.inbox.action.escalateFailed": "Chat tidak dapat dieskalasi",
13721
+ "omnichannel.inbox.action.escalateFailed": "Permintaan tidak dapat dikirim",
13664
13722
  "omnichannel.inbox.action.resolveFailed": "Chat tidak dapat diselesaikan",
13665
13723
  "omnichannel.inbox.contact.title": "Pelanggan",
13666
13724
  "omnichannel.inbox.contact.open": "Detail pelanggan",
@@ -13748,6 +13806,50 @@ var id_default = {
13748
13806
  "omnichannel.offerAlerts.bodyTeam": "{customer} \xB7 Tim {team}",
13749
13807
  "omnichannel.escalation.title": "{person} mengeskalasi chat kepada Anda",
13750
13808
  "omnichannel.escalation.fromTeam": "{name} ({team})",
13809
+ "omnichannel.inbox.action.escalateSend": "Kirim permintaan",
13810
+ "omnichannel.inbox.action.escalateSent": "Eskalasi diajukan. Supervisor akan memutuskan.",
13811
+ "omnichannel.escalation.cardLabel": "Permintaan eskalasi",
13812
+ "omnichannel.escalation.asks": "{person} meminta eskalasi chat ini",
13813
+ "omnichannel.escalation.waited": "menunggu {time}",
13814
+ "omnichannel.escalation.suggested": "Disarankan: {name}",
13815
+ "omnichannel.escalation.suggestedAway": "Sedang Away",
13816
+ "omnichannel.escalation.approveTo": "Setujui ke {name}",
13817
+ "omnichannel.escalation.approveFailed": "Eskalasi tidak dapat disetujui",
13818
+ "omnichannel.escalation.reassign": "Alihkan",
13819
+ "omnichannel.escalation.decline": "Tolak",
13820
+ "omnichannel.escalation.declineTitle": "Tolak eskalasi ini",
13821
+ "omnichannel.escalation.declineBody": "Chat tetap bersama orang yang meminta. Mereka melihat alasan Anda.",
13822
+ "omnichannel.escalation.declinePlaceholder": "Misalnya: refund masih dalam batas Anda",
13823
+ "omnichannel.escalation.declineFailed": "Eskalasi tidak dapat ditolak",
13824
+ "omnichannel.escalation.requested": "Eskalasi diajukan \xB7 {time}",
13825
+ "omnichannel.escalation.withdraw": "Tarik",
13826
+ "omnichannel.escalation.withdrawFailed": "Permintaan tidak dapat ditarik",
13827
+ "omnichannel.escalation.askedTitle": "{person} meminta eskalasi chat",
13828
+ "omnichannel.escalation.review": "Tinjau",
13829
+ "omnichannel.escalation.approvedTitle": "{person} menyetujui eskalasi Anda",
13830
+ "omnichannel.escalation.declinedTitle": "{person} menolak eskalasi Anda",
13831
+ "omnichannel.escalation.wentTo": "Chat dialihkan ke {name}.",
13832
+ "omnichannel.escalation.wentToTeam": "Chat dialihkan ke {team}.",
13833
+ "omnichannel.inbox.cases.escalationApprovedBy": "Disetujui oleh {name}",
13834
+ "omnichannel.inbox.cases.escalationRequested": "Eskalasi diajukan",
13835
+ "omnichannel.inbox.cases.escalationWaitsForSupervisor": "Menunggu Supervisor",
13836
+ "omnichannel.inbox.view.escalations": "Eskalasi",
13837
+ "omnichannel.inbox.viewEmpty.escalations": "Tidak ada eskalasi yang menunggu keputusan.",
13838
+ "omnichannel.overview.workload.escalations": "Eskalasi menunggu",
13839
+ "omnichannel.overview.workload.escalationsCaption": "Menunggu keputusan Supervisor",
13840
+ "omnichannel.overview.workload.escalationsLongest": "Terlama menunggu {time}",
13841
+ "omnichannel.reports.escalations.title": "Eskalasi",
13842
+ "omnichannel.reports.escalations.intro": "Permintaan eskalasi chat dalam periode ini, per Human Agent yang meminta, dan cara Supervisor memutuskannya.",
13843
+ "omnichannel.reports.metric.escalations": "Eskalasi",
13844
+ "omnichannel.reports.metric.escalations_approved": "Disetujui",
13845
+ "omnichannel.reports.metric.escalations_declined": "Ditolak",
13846
+ "omnichannel.reports.metric.escalations_withdrawn": "Ditarik",
13847
+ "omnichannel.reports.metric.escalation_decision_p50_minutes": "Waktu memutuskan",
13848
+ "omnichannel.reports.how.escalations": "Permintaan eskalasi chat yang dibuat dalam periode ini.",
13849
+ "omnichannel.reports.how.escalations_approved": "Permintaan yang disetujui Supervisor, ke orang yang disarankan atau ke orang atau tim lain.",
13850
+ "omnichannel.reports.how.escalations_declined": "Permintaan yang ditolak Supervisor.",
13851
+ "omnichannel.reports.how.escalations_withdrawn": "Permintaan yang ditarik Human Agent, atau berakhir karena chat lebih dulu dialihkan, diselesaikan, atau ditutup.",
13852
+ "omnichannel.reports.how.escalation_decision_p50_minutes": "Separuh permintaan yang diputuskan Supervisor diputuskan dalam waktu ini.",
13751
13853
  "omnichannel.escalation.open": "Buka chat",
13752
13854
  "omnichannel.presence.online": "Online",
13753
13855
  "omnichannel.presence.away": "Away",
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { Sheet, SheetContent, SheetHeader, SheetTitle, Popover, PopoverTrigger, PopoverContent, MagnifyingGlassIcon } from './chunk-RQSMCGBR.js';
3
- import { useIsMobile, useTranslation } from './chunk-JNQ4BMHZ.js';
3
+ import { useIsMobile, useTranslation } from './chunk-MLGZ5T24.js';
4
4
  import { CrossMediumIcon } from './chunk-37WYG6VG.js';
5
5
  import { AgentAvatar } from './chunk-RCWVJD7G.js';
6
6
  import { cn, Checkmark1Icon } from './chunk-LGVMMBL3.js';
@@ -1,7 +1,7 @@
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-K273VCVE.js';
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-JC3SZMLM.js';
3
3
  import { Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, Popover, PopoverTrigger, PopoverContent } from './chunk-RQSMCGBR.js';
4
- import { useIsMobile, useTranslation } from './chunk-JNQ4BMHZ.js';
4
+ import { useIsMobile, useTranslation } from './chunk-MLGZ5T24.js';
5
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
7
  import { CrossMediumIcon } from './chunk-37WYG6VG.js';
package/dist/header.js CHANGED
@@ -1,9 +1,9 @@
1
1
  'use client';
2
- export { ChatHeader, ChatHeaderActions } from './chunk-EGEPD4YN.js';
3
- import './chunk-K273VCVE.js';
2
+ export { ChatHeader, ChatHeaderActions } from './chunk-ME2IQL3U.js';
3
+ import './chunk-JC3SZMLM.js';
4
4
  import './chunk-CWAOLMFS.js';
5
5
  import './chunk-RQSMCGBR.js';
6
- import './chunk-JNQ4BMHZ.js';
6
+ import './chunk-MLGZ5T24.js';
7
7
  import './chunk-G4EXD5F3.js';
8
8
  import './chunk-OBAC3B64.js';
9
9
  import './chunk-UWKO24VT.js';
package/dist/message.js CHANGED
@@ -1,9 +1,9 @@
1
1
  'use client';
2
- export { Message, Thinking } from './chunk-H2457A76.js';
3
- import './chunk-K273VCVE.js';
2
+ export { Message, Thinking } from './chunk-Y6VTFNSS.js';
3
+ import './chunk-JC3SZMLM.js';
4
4
  import './chunk-CWAOLMFS.js';
5
5
  import './chunk-RQSMCGBR.js';
6
- import './chunk-JNQ4BMHZ.js';
6
+ import './chunk-MLGZ5T24.js';
7
7
  import './chunk-G4EXD5F3.js';
8
8
  import './chunk-OBAC3B64.js';
9
9
  import './chunk-UWKO24VT.js';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-QZTVHYO6.js';
2
+ export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-WMUHFW5U.js';
3
3
  import './chunk-RQSMCGBR.js';
4
- import './chunk-JNQ4BMHZ.js';
4
+ import './chunk-MLGZ5T24.js';
5
5
  import './chunk-37WYG6VG.js';
6
6
  import './chunk-RCWVJD7G.js';
7
7
  import './chunk-LGVMMBL3.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-RYGIU5JT.js';
3
+ import { resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb, ArtifactSkeleton } from './chunk-EF3QWX54.js';
4
4
  import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
5
- import { useTranslation, useIsMobile } from './chunk-JNQ4BMHZ.js';
5
+ import { useTranslation, useIsMobile } from './chunk-MLGZ5T24.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-RYGIU5JT.js';
2
+ import { zoomPercent, DECK_ZOOM_LEVELS, ArtifactSkeleton, LazyThumb } from './chunk-EF3QWX54.js';
3
3
  import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
4
- import { useTranslation, useIsMobile } from './chunk-JNQ4BMHZ.js';
4
+ import { useTranslation, useIsMobile } from './chunk-MLGZ5T24.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontera-sdk/chat-ui",
3
- "version": "1.53.19",
3
+ "version": "1.53.20",
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.19",
93
- "@frontera-sdk/core": "1.53.19",
92
+ "@frontera-sdk/chat": "1.53.20",
93
+ "@frontera-sdk/core": "1.53.20",
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",