@frontera-sdk/chat-ui 1.52.45 → 1.52.47
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 +35 -22
- package/dist/{chunk-5FR2R2Q5.js → chunk-42PKM4PU.js} +1 -1
- package/dist/{chunk-X33KXNO3.js → chunk-4GXQI4E4.js} +4 -1
- package/dist/{chunk-QGGYWRGV.js → chunk-6BCUAPW3.js} +3 -1
- package/dist/{chunk-TY6QQSAF.js → chunk-6ROTTPLW.js} +31 -7
- package/dist/{chunk-2G3EHYNS.js → chunk-C5SCW5HO.js} +3 -3
- package/dist/{chunk-3ED4DPTV.js → chunk-IY27XSPQ.js} +786 -38
- package/dist/{chunk-N3I3MZTY.js → chunk-KVJ4JRMC.js} +1 -1
- package/dist/{chunk-BRCS2NHC.js → chunk-LAELBWN2.js} +1 -1
- package/dist/{chunk-4DDOGZVM.js → chunk-M7JCQQ3Z.js} +1 -1
- package/dist/{chunk-5SGSD4HS.js → chunk-YZ6MZLEZ.js} +3 -3
- package/dist/client.js +2 -2
- package/dist/credential.d.ts +2 -0
- package/dist/credential.js +1 -1
- package/dist/header.js +5 -5
- package/dist/message.js +5 -5
- package/dist/new-session.js +2 -2
- package/dist/parts.js +2 -2
- package/dist/{pdf-deck-view-inner-ZE7DECMZ.js → pdf-deck-view-inner-GSTIUZNL.js} +2 -2
- package/dist/{pdf-document-view-inner-V7FGCXYR.js → pdf-document-view-inner-UXGEBOW5.js} +2 -2
- package/dist/pending-cards.js +2 -2
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getToolMeta } from './chunk-
|
|
2
|
+
import { getToolMeta } from './chunk-4GXQI4E4.js';
|
|
3
3
|
import { Button } from './chunk-UWKO24VT.js';
|
|
4
4
|
import { ChevronDownMediumIcon, CrossMediumIcon } from './chunk-TUDJ35AB.js';
|
|
5
5
|
import { useChatClientOptional } from './chunk-6JLWE7M3.js';
|
|
@@ -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-4GXQI4E4.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,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useTranslation } from './chunk-
|
|
2
|
+
import { useTranslation } from './chunk-IY27XSPQ.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,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { MagnifyingGlassIcon } from './chunk-X3QVICX7.js';
|
|
3
|
-
import { requestPaneFocus, useArtifacts, usePlugins, useCanvasStore, useArtifactStore, useChatOverviewStore, useSourcesEnrichment, sourceKind, useCitationViewer, resolveSourceDisplay, extractDomain, 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 { requestPaneFocus, useArtifacts, usePlugins, useCanvasStore, useArtifactStore, useChatOverviewStore, useSourcesEnrichment, sourceKind, useCitationViewer, resolveSourceDisplay, extractDomain, 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-6ROTTPLW.js';
|
|
4
4
|
import { Popover, PopoverTrigger, PopoverContent, Sheet, SheetContent, SheetHeader, SheetTitle } from './chunk-T5SANYSX.js';
|
|
5
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
6
|
-
import { Collapsible, CollapsibleTrigger, CollapsibleContent, Shimmer, HoverCard, HoverCardTrigger, HoverCardContent } from './chunk-
|
|
5
|
+
import { useTranslation, useIsMobile } from './chunk-IY27XSPQ.js';
|
|
6
|
+
import { Collapsible, CollapsibleTrigger, CollapsibleContent, Shimmer, HoverCard, HoverCardTrigger, HoverCardContent } from './chunk-4GXQI4E4.js';
|
|
7
7
|
import { ChevronDownMediumIcon, ScrollArea, Skeleton, Button } from './chunk-UWKO24VT.js';
|
|
8
8
|
import { Dialog, DialogContent, DialogHeader, DialogTitle, CrossMediumIcon } from './chunk-2P4IEVOQ.js';
|
|
9
9
|
import { ChevronRightIcon } from './chunk-C3HW5S2Z.js';
|
package/dist/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
export { capabilitiesOfChatToken, subjectOfChatToken } from './chunk-CCVPZVFK.js';
|
|
3
|
-
import { useChatCredential } from './chunk-
|
|
4
|
-
export { useChatCredential } from './chunk-
|
|
3
|
+
import { useChatCredential } from './chunk-6BCUAPW3.js';
|
|
4
|
+
export { useChatCredential } from './chunk-6BCUAPW3.js';
|
|
5
5
|
import './chunk-WDYCLC4F.js';
|
|
6
6
|
export { ChatClientContext, useChatClientOptional } from './chunk-6JLWE7M3.js';
|
|
7
7
|
import './chunk-PR4QN5HX.js';
|
package/dist/credential.d.ts
CHANGED
|
@@ -86,6 +86,8 @@ interface ResolvedCredential {
|
|
|
86
86
|
* failure.
|
|
87
87
|
*/
|
|
88
88
|
refresh: () => Promise<unknown>;
|
|
89
|
+
/** The Agent's opening message for this visitor, when the website key's token names one (L4); null otherwise. */
|
|
90
|
+
openingMessage: string | null;
|
|
89
91
|
}
|
|
90
92
|
declare function useChatCredential(props: ChatCredentialProps): ResolvedCredential;
|
|
91
93
|
|
package/dist/credential.js
CHANGED
package/dist/header.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ChatHeader, ChatHeaderActions } from './chunk-
|
|
2
|
+
export { ChatHeader, ChatHeaderActions } from './chunk-YZ6MZLEZ.js';
|
|
3
3
|
import './chunk-X3QVICX7.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-6ROTTPLW.js';
|
|
5
5
|
import './chunk-CWAOLMFS.js';
|
|
6
6
|
import './chunk-T5SANYSX.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-IY27XSPQ.js';
|
|
8
|
+
import './chunk-LAELBWN2.js';
|
|
9
|
+
import './chunk-4GXQI4E4.js';
|
|
10
10
|
import './chunk-UWKO24VT.js';
|
|
11
11
|
import './chunk-2P4IEVOQ.js';
|
|
12
12
|
import './chunk-CDTES65T.js';
|
package/dist/message.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { Message, Thinking } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { Message, Thinking } from './chunk-C5SCW5HO.js';
|
|
3
|
+
import './chunk-6ROTTPLW.js';
|
|
4
4
|
import './chunk-CWAOLMFS.js';
|
|
5
5
|
import './chunk-T5SANYSX.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
6
|
+
import './chunk-IY27XSPQ.js';
|
|
7
|
+
import './chunk-LAELBWN2.js';
|
|
8
|
+
import './chunk-4GXQI4E4.js';
|
|
9
9
|
import './chunk-UWKO24VT.js';
|
|
10
10
|
import './chunk-2P4IEVOQ.js';
|
|
11
11
|
import './chunk-CDTES65T.js';
|
package/dist/new-session.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-
|
|
2
|
+
export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-42PKM4PU.js';
|
|
3
3
|
import './chunk-X3QVICX7.js';
|
|
4
4
|
import './chunk-T5SANYSX.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-IY27XSPQ.js';
|
|
6
6
|
import './chunk-2P4IEVOQ.js';
|
|
7
7
|
import './chunk-RVJEI4ZY.js';
|
|
8
8
|
import './chunk-LGVMMBL3.js';
|
package/dist/parts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { ToolCallItem } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
import { ToolCallItem } from './chunk-LAELBWN2.js';
|
|
3
|
+
import './chunk-4GXQI4E4.js';
|
|
4
4
|
import './chunk-UWKO24VT.js';
|
|
5
5
|
import './chunk-2P4IEVOQ.js';
|
|
6
6
|
import './chunk-TUDJ35AB.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-M7JCQQ3Z.js';
|
|
4
4
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
5
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
5
|
+
import { useTranslation, useIsMobile } from './chunk-IY27XSPQ.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-M7JCQQ3Z.js';
|
|
3
3
|
import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
|
|
4
|
-
import { useTranslation, useIsMobile } from './chunk-
|
|
4
|
+
import { useTranslation, useIsMobile } from './chunk-IY27XSPQ.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,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { PendingCards } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { PendingCards } from './chunk-KVJ4JRMC.js';
|
|
3
|
+
import './chunk-4GXQI4E4.js';
|
|
4
4
|
import './chunk-UWKO24VT.js';
|
|
5
5
|
import './chunk-2P4IEVOQ.js';
|
|
6
6
|
import './chunk-TUDJ35AB.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontera-sdk/chat-ui",
|
|
3
|
-
"version": "1.52.
|
|
3
|
+
"version": "1.52.47",
|
|
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.52.
|
|
93
|
-
"@frontera-sdk/core": "1.52.
|
|
92
|
+
"@frontera-sdk/chat": "1.52.47",
|
|
93
|
+
"@frontera-sdk/core": "1.52.47",
|
|
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",
|