@aintela/chat 0.2.15 → 0.2.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 +881 -869
- package/dist/components.js.map +1 -1
- package/dist/index.js +100 -98
- package/dist/src/components/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
|
-
import { C as s, F as
|
|
3
|
-
import { A as T, a as u, C as L, M as x, b as P, S as R, i as
|
|
2
|
+
import { C as s, F as n, a as o, I as r, L as i, S as c, b as l, c as S, d as C, e as p, T as A, f as d, g, h as I, i as v, s as E, j as m } from "./serializer-DyHZxlAG.js";
|
|
3
|
+
import { A as T, a as u, C as L, M as x, b as P, S as R, i as f } from "./Memory-DjLZqgbF.js";
|
|
4
4
|
import { C as y, C as M } from "./ClientMessage-EKgfuTp8.js";
|
|
5
5
|
import { C as B, P as D } from "./Prompt-DZb7OaPp.js";
|
|
6
|
-
import { A as
|
|
7
|
-
import { A as Se, a as Ce, E as
|
|
6
|
+
import { A as F, a as b, b as N, c as k, d as G, e as H, C as O, f as W, D as w, E as z, g as J, G as j, h as q, M as K, i as X, R as Y, j as Q, S as Z, l as $, m as ee, n as ae, o as te, p as se, q as ne, r as oe, s as re, t as ie, u as ce } from "./environmentUtils-BaKw5_VD.js";
|
|
7
|
+
import { A as Se, a as Ce, E as pe, H as Ae, I as de, L as ge, W as Ie } from "./httpArtifactService-BAR60Gu1.js";
|
|
8
8
|
import { A as Ee } from "./artifactHtmlHandler-CMQJf1cX.js";
|
|
9
9
|
import { H as he, d as Te } from "./httpSessionService-5Kr__oQL.js";
|
|
10
|
-
import { APPBAR_V2_HEIGHT as Le, AgentActivityV2 as xe, AiChat as Pe, AiChatDrawer as Re, AiChatFloating as
|
|
11
|
-
import { u as
|
|
12
|
-
import { A as
|
|
13
|
-
import { S as
|
|
14
|
-
import { u as
|
|
15
|
-
import { Score as
|
|
10
|
+
import { APPBAR_V2_HEIGHT as Le, AgentActivityV2 as xe, AiChat as Pe, AiChatDrawer as Re, AiChatFloating as fe, AiChatFloatingV2 as Ue, AiChatProvider as ye, AiChatServiceContext as Me, AiChatV2Pane as _e, AppBarV2 as Be, AppRailV2 as De, AppShellV2 as Ve, ArtifactRender as Fe, BoxedPart as be, BrainIcon as Ne, ChartIcon as ke, ChatIcon as Ge, ChatPane as He, ChatsHistoryV2 as Oe, CheckIcon as We, ChevronIcon as we, ChevronRightIcon as ze, CloseIcon as Je, CodeIcon as je, ComposerIcon as qe, DEFAULT_PART_RENDERERS as Ke, DashboardIcon as Xe, DataExplorerIcon as Ye, DelayTextComponent as Qe, EnvironmentProvider as Ze, 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, LastPromptsV2 as ia, LinearBackgroundProgress as ca, LinearProgressBarWithMarkers as la, ListCheckIcon as Sa, LiveJsxBlock as Ca, LiveTsxConfigProvider as pa, LlmResponseRender as Aa, LoadingDots as da, LockClosedIcon as ga, LockOpenIcon as Ia, MOBILE_NAV_DEFAULT as va, MarkdownExtended as Ea, MenuIcon as ma, Message as ha, MobileDrawerV2 as Ta, PanelIcon as ua, PauseIcon as La, PinIcon as xa, PlusIcon as Pa, PromptV2 as Ra, RunProgressPanelV2 as fa, RunProgressStripV2 as Ua, SearchIcon as ya, SendIcon as Ma, SessionStateManagerService as _a, SparkleIcon as Ba, Sparkline as Da, StopIcon as Va, Stopwatch as Fa, SubAgentBox as ba, SubAgentBoxV2 as Na, SuspendedPart as ka, TableIcon as Ga, TaskListV2 as Ha, TerminalIcon as Oa, TextPart as Wa, ThoughtPart as wa, ToolIcon as za, TrashIcon as Ja, UiToolDispatcher as ja, UsersIcon as qa, V2_CHART_PALETTE as Ka, WARNING_THRESHOLD as Xa, WaitingPart as Ya, classifyPart as Qa, configureFriendlyMapping as Za, createAiChatSessionStore as $a, createAiChatSessionStore as et, createUiToolRegistry as at, extendDefaultScope as tt, extendModuleRegistry as st, getDefaultJsxScope as nt, getFriendlyLabel as ot, parseClientOutput as rt, parseContentBlocks as it, parseUiArgs as ct, useAiChatServices as lt, useAiChatSessionStore as St, useEnvironment as Ct, useEnvironmentOptional as pt, useLiveTsxMaxCharsForFull as At, useResponsiveLayout as dt, v2Card as gt, v2Chip as It, v2IconBtn as vt, v2MonoMeta as Et, v2SectionLabel as mt, v2Theme as ht } from "./components.js";
|
|
11
|
+
import { u as ut, a as Lt, b as xt } from "./useContainerWidth-Df2PmSoC.js";
|
|
12
|
+
import { A as Rt, a as ft, b as Ut, G as yt, d as Mt, c as _t, e as Bt, f as Dt, g as Vt, h as Ft, i as bt, j as Nt, k as kt, l as Gt, m as Ht, n as Ot, o as Wt, p as wt, q as zt, r as Jt, s as jt, t as qt, u as Kt, v as Xt } from "./auth-CcTgInbY.js";
|
|
13
|
+
import { S as Qt, c as Zt, e as $t, a as es, i as as, p as ts, b as ss, s as ns, g as os } from "./sortable-table-DgQHxWIh.js";
|
|
14
|
+
import { u as is } from "./useChatSessions-DttlifVk.js";
|
|
15
|
+
import { Score as ls } from "./interfaces.js";
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
Rt as ALLOWED_DOMAINS,
|
|
18
|
+
ft as ALLOWED_EMAILS,
|
|
19
|
+
F as ANALYTICS_AGENT_NAME,
|
|
20
20
|
Le as APPBAR_V2_HEIGHT,
|
|
21
|
-
|
|
21
|
+
Ut as AUTH_CONFIG,
|
|
22
22
|
T as Account,
|
|
23
23
|
xe as AgentActivityV2,
|
|
24
|
-
|
|
24
|
+
b as AgentConfig,
|
|
25
25
|
Se as AgentGatewayService,
|
|
26
26
|
Ce as AgentGatewayWSAsync,
|
|
27
27
|
u as AgentKind,
|
|
@@ -29,8 +29,8 @@ export {
|
|
|
29
29
|
k as AgentType,
|
|
30
30
|
Pe as AiChat,
|
|
31
31
|
Re as AiChatDrawer,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
fe as AiChatFloating,
|
|
33
|
+
Ue as AiChatFloatingV2,
|
|
34
34
|
ye as AiChatProvider,
|
|
35
35
|
Me as AiChatServiceContext,
|
|
36
36
|
_e as AiChatV2Pane,
|
|
@@ -38,10 +38,10 @@ export {
|
|
|
38
38
|
De as AppRailV2,
|
|
39
39
|
Ve as AppShellV2,
|
|
40
40
|
Ee as ArtifactHtmlHandler,
|
|
41
|
-
|
|
41
|
+
Fe as ArtifactRender,
|
|
42
42
|
G as ArtifactType,
|
|
43
43
|
H as AuthorType,
|
|
44
|
-
|
|
44
|
+
be as BoxedPart,
|
|
45
45
|
Ne as BrainIcon,
|
|
46
46
|
ke as ChartIcon,
|
|
47
47
|
O as ChatAction,
|
|
@@ -66,38 +66,38 @@ export {
|
|
|
66
66
|
Ye as DataExplorerIcon,
|
|
67
67
|
Qe as DelayTextComponent,
|
|
68
68
|
Ze as EnvironmentProvider,
|
|
69
|
-
|
|
69
|
+
pe as EventBusService,
|
|
70
70
|
z as EventType,
|
|
71
71
|
J as EventTypeDescriptions,
|
|
72
72
|
$e as FileIcon,
|
|
73
|
-
|
|
73
|
+
n as FunctionCallContent,
|
|
74
74
|
ea as FunctionPart,
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
o as FunctionResultContent,
|
|
76
|
+
yt as GOOGLE_CLIENT_ID,
|
|
77
77
|
j as GetEventTypeFromDotNetName,
|
|
78
78
|
q as GetEventTypeFromPythonName,
|
|
79
79
|
aa as GlobeIcon,
|
|
80
80
|
ta as HistoryIcon,
|
|
81
|
-
|
|
81
|
+
Ae as HttpArtifactService,
|
|
82
82
|
he as HttpSessionService,
|
|
83
83
|
sa as IDLE_TIMEOUT,
|
|
84
|
-
|
|
84
|
+
na as InertEnvironmentProvider,
|
|
85
85
|
r as InteractionPartUtils,
|
|
86
86
|
de as InteractionService,
|
|
87
|
-
|
|
87
|
+
oa as JsxErrorBoundary,
|
|
88
88
|
ra as LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL,
|
|
89
89
|
ia as LastPromptsV2,
|
|
90
90
|
ca as LinearBackgroundProgress,
|
|
91
91
|
la as LinearProgressBarWithMarkers,
|
|
92
92
|
Sa as ListCheckIcon,
|
|
93
93
|
Ca as LiveJsxBlock,
|
|
94
|
-
|
|
94
|
+
pa as LiveTsxConfigProvider,
|
|
95
95
|
i as LlmEvent,
|
|
96
|
-
|
|
96
|
+
Aa as LlmResponseRender,
|
|
97
97
|
da as LoadingDots,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
ge as LocalStorageService,
|
|
99
|
+
ga as LockClosedIcon,
|
|
100
|
+
Ia as LockOpenIcon,
|
|
101
101
|
va as MOBILE_NAV_DEFAULT,
|
|
102
102
|
Ea as MarkdownExtended,
|
|
103
103
|
x as MemoryContextLabels,
|
|
@@ -115,31 +115,31 @@ export {
|
|
|
115
115
|
Ra as PromptV2,
|
|
116
116
|
Y as ResponseType,
|
|
117
117
|
Q as RunMode,
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
fa as RunProgressPanelV2,
|
|
119
|
+
Ua as RunProgressStripV2,
|
|
120
120
|
R as SUB_AGENT_TERMINAL_STATUSES,
|
|
121
|
-
|
|
121
|
+
ls as Score,
|
|
122
122
|
ya as SearchIcon,
|
|
123
123
|
Ma as SendIcon,
|
|
124
124
|
c as ServerEvent,
|
|
125
125
|
_a as SessionStateManagerService,
|
|
126
126
|
Z as SkillLevel,
|
|
127
|
-
|
|
127
|
+
Qt as SortableTable,
|
|
128
128
|
Ba as SparkleIcon,
|
|
129
129
|
Da as Sparkline,
|
|
130
130
|
Va as StopIcon,
|
|
131
|
-
|
|
131
|
+
Fa as Stopwatch,
|
|
132
132
|
l as StreamingFunctionCallUpdateContent,
|
|
133
133
|
S as StreamingReasoningContent,
|
|
134
134
|
C as StreamingResponse,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
p as StreamingTextContent,
|
|
136
|
+
ba as SubAgentBox,
|
|
137
137
|
Na as SubAgentBoxV2,
|
|
138
138
|
ka as SuspendedPart,
|
|
139
139
|
Ga as TableIcon,
|
|
140
140
|
Ha as TaskListV2,
|
|
141
141
|
Oa as TerminalIcon,
|
|
142
|
-
|
|
142
|
+
A as TextContent,
|
|
143
143
|
Wa as TextPart,
|
|
144
144
|
wa as ThoughtPart,
|
|
145
145
|
za as ToolIcon,
|
|
@@ -149,78 +149,80 @@ export {
|
|
|
149
149
|
Ka as V2_CHART_PALETTE,
|
|
150
150
|
Xa as WARNING_THRESHOLD,
|
|
151
151
|
Ya as WaitingPart,
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
Ie as WebSocketConnecionV2,
|
|
153
|
+
Zt as chunkArray,
|
|
154
154
|
Qa as classifyPart,
|
|
155
|
-
Za as
|
|
156
|
-
$a as
|
|
155
|
+
Za as configureFriendlyMapping,
|
|
156
|
+
$a as createAiChatSessionStore,
|
|
157
|
+
et as createAiChatStore,
|
|
157
158
|
d as createEventSerializer,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
g as createStreamingResponseSerializer,
|
|
160
|
+
at as createUiToolRegistry,
|
|
161
|
+
Mt as dateReviver,
|
|
162
|
+
_t as decodeBase64,
|
|
162
163
|
Te as decodeSessionEvents,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
Bt as decodeUri,
|
|
165
|
+
Dt as decodeUriFromPython,
|
|
166
|
+
I as deserializeEvent,
|
|
166
167
|
v as deserializePayload,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
168
|
+
Vt as encodeBase64,
|
|
169
|
+
Ft as encodeUri,
|
|
170
|
+
tt as extendDefaultScope,
|
|
171
|
+
st as extendModuleRegistry,
|
|
172
|
+
$t as extractInteractionId,
|
|
173
|
+
es as extractLinkAction,
|
|
174
|
+
bt as getAgentBaseUrl,
|
|
174
175
|
$ as getAgentServerBaseUrl,
|
|
175
|
-
|
|
176
|
+
Nt as getArtifactsBaseUrl,
|
|
176
177
|
ee as getConnectionStateColor,
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
nt as getDefaultJsxScope,
|
|
179
|
+
kt as getDotNetBaseUrl,
|
|
179
180
|
ae as getEnvVar,
|
|
180
181
|
te as getEnvironmentInfo,
|
|
181
|
-
|
|
182
|
+
ot as getFriendlyLabel,
|
|
183
|
+
Gt as getIconByName,
|
|
182
184
|
se as getModelVendor,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
+
ne as getRandomUUID,
|
|
186
|
+
oe as getServerBaseUrl,
|
|
185
187
|
re as getServerClientBaseUrl,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
Ht as iconCategories,
|
|
189
|
+
Ot as isBase64Encoded,
|
|
188
190
|
ie as isServer,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
191
|
+
f as isSubAgentTerminalStatus,
|
|
192
|
+
Wt as isUriEncoded,
|
|
193
|
+
as as isValidInteractionId,
|
|
194
|
+
wt as isValidUri,
|
|
195
|
+
zt as materialIcons,
|
|
196
|
+
ts as parseAndValidateArtifactUrl,
|
|
197
|
+
Jt as parseArtifactFromJson,
|
|
198
|
+
rt as parseClientOutput,
|
|
199
|
+
it as parseContentBlocks,
|
|
200
|
+
ss as parseKnownNumbers,
|
|
201
|
+
ct as parseUiArgs,
|
|
202
|
+
jt as parseUriParams,
|
|
201
203
|
ce as resolveApiUrl,
|
|
202
204
|
E as sanitizeJsonString,
|
|
203
|
-
|
|
205
|
+
qt as searchIcons,
|
|
204
206
|
m as serializeEvent,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
207
|
+
Kt as setEbiContextData,
|
|
208
|
+
Xt as setEbiContextSessionId,
|
|
209
|
+
ns as splitBigLinesWithSpaces,
|
|
210
|
+
os as startsWithInteractionId,
|
|
211
|
+
lt as useAiChatServices,
|
|
212
|
+
St as useAiChatSessionStore,
|
|
213
|
+
is as useChatSessions,
|
|
214
|
+
ut as useContainerRectangle,
|
|
215
|
+
Lt as useContainerWidth,
|
|
216
|
+
Ct as useEnvironment,
|
|
217
|
+
pt as useEnvironmentOptional,
|
|
218
|
+
xt as useInterval,
|
|
219
|
+
At as useLiveTsxMaxCharsForFull,
|
|
220
|
+
dt as useResponsiveLayout,
|
|
221
|
+
gt as v2Card,
|
|
222
|
+
It as v2Chip,
|
|
223
|
+
vt as v2IconBtn,
|
|
224
|
+
Et as v2MonoMeta,
|
|
225
|
+
mt as v2SectionLabel,
|
|
226
|
+
ht as v2Theme
|
|
225
227
|
};
|
|
226
228
|
//# sourceMappingURL=index.js.map
|
|
@@ -13,6 +13,8 @@ export { SessionStateManagerService, IDLE_TIMEOUT, WARNING_THRESHOLD, } from './
|
|
|
13
13
|
export { default as Message } from './AiChat/ChatPane/Message';
|
|
14
14
|
export { default as SubAgentBox } from './AiChat/ChatPane/SubAgentBox';
|
|
15
15
|
export type { SubAgentBoxProps } from './AiChat/ChatPane/SubAgentBox';
|
|
16
|
+
export { configureFriendlyMapping, getFriendlyLabel } from './AiChat/ChatPane/friendlyToolConfig';
|
|
17
|
+
export type { FriendlyState, FriendlyToolEntry } from './AiChat/ChatPane/friendlyToolConfig';
|
|
16
18
|
export { classifyPart, DEFAULT_PART_RENDERERS, TextPart, ThoughtPart, FunctionPart, WaitingPart, SuspendedPart, BoxedPart, UiToolDispatcher, } from './AiChat/ChatPane/parts';
|
|
17
19
|
export type { PartKind, PartRendererProps, PartRenderer, PartRendererMap, } from './AiChat/ChatPane/parts';
|
|
18
20
|
export { createUiToolRegistry, parseUiArgs, parseClientOutput } from './AiChat/ChatPane/parts';
|