@aintela/chat 0.4.14 → 0.4.16
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/components.js +6430 -6291
- package/dist/components.js.map +1 -1
- package/dist/hooks.js +1 -1
- package/dist/index.js +24 -23
- package/dist/{atMentions-DbE21rGt.js → predictionRows-CkZdmdsi.js} +257 -235
- package/dist/predictionRows-CkZdmdsi.js.map +1 -0
- package/dist/src/components/v2/MentionPickerPanel.d.ts +2 -1
- package/dist/src/components/v2/PromptGhostHint.d.ts +4 -3
- package/dist/src/components/v2/PromptV2.d.ts +2 -0
- package/dist/src/components/v2/TriggerDropdown.d.ts +23 -5
- package/dist/src/components/v2/TriggerDropdown.test.d.ts +1 -0
- package/dist/src/components/v2/index.d.ts +1 -1
- package/dist/src/hooks/usePromptAssist.d.ts +16 -6
- package/dist/src/services/httpPromptAssistService.d.ts +11 -0
- package/dist/src/utils/atMentions.d.ts +11 -2
- package/dist/src/utils/index.d.ts +3 -1
- package/dist/src/utils/predictionRows.d.ts +11 -0
- package/dist/src/utils/promptTriggers.d.ts +12 -0
- package/dist/useContainerWidth-35EL99CW.js +324 -0
- package/dist/useContainerWidth-35EL99CW.js.map +1 -0
- package/dist/utils.js +3 -2
- package/package.json +1 -1
- package/dist/atMentions-DbE21rGt.js.map +0 -1
- package/dist/useContainerWidth-BGY88fRY.js +0 -308
- package/dist/useContainerWidth-BGY88fRY.js.map +0 -1
package/dist/hooks.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
2
|
import { A as s, a as n, b as o, c as r, d as i, C as c, e as l, f as A, E as p, g, F as S, h as C, G as I, I as h, L as d, M as P, i as u, R as E, j as v, S as T, k as m, l as L, m as R, n as x, o as M, T as y, p as f, q as D, r as U, s as _, t as k, u as B, v as V, w as b } from "./serializer-BB8Cz7YD.js";
|
|
3
3
|
import { C as H, C as N } from "./ClientMessage-DUby3KyC.js";
|
|
4
|
-
import { A as
|
|
4
|
+
import { A as G, a as O, M as W, b as z, S as J, i as K } from "./Memory-CjrYSkzB.js";
|
|
5
5
|
import { C as q, P as X } from "./Prompt-DZb7OaPp.js";
|
|
6
6
|
import { A as Y, a as Q, E as $, H as ee, I as ae, L as te, W as se } from "./httpArtifactService-ogJ9kOTq.js";
|
|
7
7
|
import { A as oe } from "./artifactHtmlHandler-CMQJf1cX.js";
|
|
8
8
|
import { H as ie, d as ce, r as le } from "./httpSessionService-B3CxFtl1.js";
|
|
9
|
-
import { APPBAR_HEIGHT as pe, APPBAR_HEIGHT as ge, ASK_USER_CANCELLED as Se, AgentActivity as Ce, AgentActivity as Ie, AiChat as he, AiChatDrawer as de, AiChatFloating as Pe, AiChatFloating as ue, AiChatPane as Ee, AiChatProvider as ve, AiChatServiceContext as Te, AiChatPane as me, AppBar as Le, AppBar as Re, AppRail as xe, AppRail as Me, AppShell as ye, AppShell as fe, ArtifactRender as De, AskUserDialog as Ue, AskUserSheet as _e, AttachmentPreviewModal as ke, BoxedPart as Be, BrainIcon as Ve, ChartIcon as be, ChatIcon as Fe, ChatPane as He, ChatsHistory as Ne, ChatsHistory as
|
|
10
|
-
import { u as Zt, a as Yt, b as Qt } from "./useContainerWidth-
|
|
9
|
+
import { APPBAR_HEIGHT as pe, APPBAR_HEIGHT as ge, ASK_USER_CANCELLED as Se, AgentActivity as Ce, AgentActivity as Ie, AiChat as he, AiChatDrawer as de, AiChatFloating as Pe, AiChatFloating as ue, AiChatPane as Ee, AiChatProvider as ve, AiChatServiceContext as Te, AiChatPane as me, AppBar as Le, AppBar as Re, AppRail as xe, AppRail as Me, AppShell as ye, AppShell as fe, ArtifactRender as De, AskUserDialog as Ue, AskUserSheet as _e, AttachmentPreviewModal as ke, BoxedPart as Be, BrainIcon as Ve, ChartIcon as be, ChatIcon as Fe, ChatPane as He, ChatsHistory as Ne, ChatsHistory as we, CheckIcon as Ge, ChevronIcon as Oe, ChevronRightIcon as We, CloseIcon as ze, CodeIcon as Je, ComposerIcon as Ke, CurrentMessage as je, DEFAULT_PART_RENDERERS as qe, DashboardIcon as Xe, DataExplorerIcon as Ze, DelayTextComponent as Ye, EnvironmentProvider as Qe, FileIcon as $e, FunctionPart as ea, GlobeIcon as aa, HistoryIcon as ta, IDLE_TIMEOUT as sa, InertEnvironmentProvider as na, JsxErrorBoundary as oa, LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL as ra, LastPrompts as ia, LastPrompts as ca, LinearBackgroundProgress as la, LinearProgressBarWithMarkers as Aa, ListCheckIcon as pa, LiveJsxBlock as ga, LiveTsxConfigProvider as Sa, LlmResponseRender as Ca, LoadingDots as Ia, LockClosedIcon as ha, LockOpenIcon as da, MOBILE_NAV_DEFAULT as Pa, MarkdownExtended as ua, MentionPickerPanel as Ea, MenuIcon as va, Message as Ta, MobileDrawer as ma, MobileDrawer as La, PanelIcon as Ra, PaperclipIcon as xa, PauseIcon as Ma, PenIcon as ya, PinIcon as fa, PlusIcon as Da, Prompt as Ua, PromptDateMarkers as _a, PromptGhostHint as ka, Prompt as Ba, RotateIcon as Va, RunProgressPanel as ba, RunProgressPanel as Fa, RunProgressStrip as Ha, RunProgressStrip as Na, SearchIcon as wa, SendIcon as Ga, SessionStateManagerService as Oa, SessionUsage as Wa, SessionUsage as za, SparkleIcon as Ja, Sparkline as Ka, StopIcon as ja, Stopwatch as qa, SubAgentBox as Xa, SubAgentBox as Za, SuspendedPart as Ya, TableIcon as Qa, TaskList as $a, TaskList as et, TerminalIcon as at, TextPart as tt, ThoughtPart as st, ToolIcon as nt, TrashIcon as ot, TriggerDropdown as rt, TurnAwareButton as it, UiToolDispatcher as ct, UndoIcon as lt, UsersIcon as At, V2_CHART_PALETTE as pt, WARNING_THRESHOLD as gt, WaitingPart as St, ZoomInIcon as Ct, ZoomOutIcon as It, classifyPart as ht, configureFriendlyMapping as dt, createAiChatEngine as Pt, createAiChatSessionStore as ut, createAiChatSessionStore as Et, createUiToolRegistry as vt, disposeSharedAiChatEngine as Tt, engineKeyFor as mt, extendDefaultScope as Lt, extendModuleRegistry as Rt, getDefaultJsxScope as xt, getFriendlyLabel as Mt, getSharedAiChatEngine as yt, parseClientOutput as ft, parseContentBlocks as Dt, parseUiArgs as Ut, useAgentEngine as _t, useAiChatServices as kt, useAiChatSessionStore as Bt, useCoarsePointer as Vt, useEnvironment as bt, useEnvironmentOptional as Ft, useLiveTsxMaxCharsForFull as Ht, useParkedAskUser as Nt, useResponsiveLayout as wt, useTurnOpen as Gt, useVisualViewport as Ot, v2Card as Wt, v2Chip as zt, v2IconBtn as Jt, v2MonoMeta as Kt, v2SectionLabel as jt, v2Theme as qt } from "./components.js";
|
|
10
|
+
import { u as Zt, a as Yt, b as Qt } from "./useContainerWidth-35EL99CW.js";
|
|
11
11
|
import { A as es, D as as, g as ts, b as ss, c as ns, d as os, e as rs, f as is, i as cs, r as ls } from "./environmentUtils-VZNTCzEE.js";
|
|
12
12
|
import { ALLOWED_DOMAINS as ps, ALLOWED_EMAILS as gs, AUTH_CONFIG as Ss, GOOGLE_CLIENT_ID as Cs, getAgentBaseUrl as Is, getArtifactsBaseUrl as hs, getDotNetBaseUrl as ds, getIconByName as Ps, iconCategories as us, materialIcons as Es, searchIcons as vs, setEbiContextData as Ts, setEbiContextSessionId as ms } from "./utils.js";
|
|
13
|
-
import { S as Rs, a as xs, b as Ms, c as ys, d as fs, e as Ds, f as Us, g as _s, h as ks, i as Bs, j as Vs, k as bs, l as Fs, p as Hs, m as Ns, s as
|
|
14
|
-
import { u as
|
|
15
|
-
import { Score as
|
|
13
|
+
import { S as Rs, a as xs, b as Ms, c as ys, d as fs, e as Ds, f as Us, g as _s, h as ks, i as Bs, j as Vs, k as bs, l as Fs, p as Hs, m as Ns, s as ws, o as Gs, q as Os, t as Ws, r as zs } from "./predictionRows-CkZdmdsi.js";
|
|
14
|
+
import { u as Ks } from "./useChatSessions-BzgPYfyj.js";
|
|
15
|
+
import { Score as qs } from "./interfaces.js";
|
|
16
16
|
export {
|
|
17
17
|
ps as ALLOWED_DOMAINS,
|
|
18
18
|
gs as ALLOWED_EMAILS,
|
|
@@ -21,13 +21,13 @@ export {
|
|
|
21
21
|
ge as APPBAR_V2_HEIGHT,
|
|
22
22
|
Se as ASK_USER_CANCELLED,
|
|
23
23
|
Ss as AUTH_CONFIG,
|
|
24
|
-
|
|
24
|
+
G as Account,
|
|
25
25
|
Ce as AgentActivity,
|
|
26
26
|
Ie as AgentActivityV2,
|
|
27
27
|
s as AgentConfig,
|
|
28
28
|
Y as AgentGatewayService,
|
|
29
29
|
Q as AgentGatewayWSAsync,
|
|
30
|
-
|
|
30
|
+
O as AgentKind,
|
|
31
31
|
n as AgentMode,
|
|
32
32
|
o as AgentType,
|
|
33
33
|
he as AiChat,
|
|
@@ -60,9 +60,9 @@ export {
|
|
|
60
60
|
A as ChatMessageContent,
|
|
61
61
|
He as ChatPane,
|
|
62
62
|
Ne as ChatsHistory,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
we as ChatsHistoryV2,
|
|
64
|
+
Ge as CheckIcon,
|
|
65
|
+
Oe as ChevronIcon,
|
|
66
66
|
We as ChevronRightIcon,
|
|
67
67
|
H as ClientMessage,
|
|
68
68
|
N as ClientMessageClass,
|
|
@@ -139,11 +139,11 @@ export {
|
|
|
139
139
|
Ha as RunProgressStrip,
|
|
140
140
|
Na as RunProgressStripV2,
|
|
141
141
|
J as SUB_AGENT_TERMINAL_STATUSES,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
qs as Score,
|
|
143
|
+
wa as SearchIcon,
|
|
144
|
+
Ga as SendIcon,
|
|
145
145
|
T as ServerEvent,
|
|
146
|
-
|
|
146
|
+
Oa as SessionStateManagerService,
|
|
147
147
|
Wa as SessionUsage,
|
|
148
148
|
za as SessionUsagePanel,
|
|
149
149
|
m as SkillLevel,
|
|
@@ -237,14 +237,15 @@ export {
|
|
|
237
237
|
b as serializeEvent,
|
|
238
238
|
Ts as setEbiContextData,
|
|
239
239
|
ms as setEbiContextSessionId,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
Ws as
|
|
240
|
+
ws as splitBigLinesWithSpaces,
|
|
241
|
+
Gs as startsWithInteractionId,
|
|
242
|
+
Os as swallowNextClick,
|
|
243
|
+
Ws as toPredictionRows,
|
|
244
|
+
zs as tokenizeForHighlight,
|
|
244
245
|
_t as useAgentEngine,
|
|
245
246
|
kt as useAiChatServices,
|
|
246
247
|
Bt as useAiChatSessionStore,
|
|
247
|
-
|
|
248
|
+
Ks as useChatSessions,
|
|
248
249
|
Vt as useCoarsePointer,
|
|
249
250
|
Zt as useContainerRectangle,
|
|
250
251
|
bt as useEnvironment,
|
|
@@ -253,9 +254,9 @@ export {
|
|
|
253
254
|
Ht as useLiveTsxMaxCharsForFull,
|
|
254
255
|
Nt as useParkedAskUser,
|
|
255
256
|
Qt as usePromptAssist,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
wt as useResponsiveLayout,
|
|
258
|
+
Gt as useTurnOpen,
|
|
259
|
+
Ot as useVisualViewport,
|
|
259
260
|
Wt as v2Card,
|
|
260
261
|
zt as v2Chip,
|
|
261
262
|
Jt as v2IconBtn,
|