@aintela/chat 0.3.4 → 0.3.7

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/index.js CHANGED
@@ -1,26 +1,26 @@
1
1
  import "reflect-metadata";
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 u, i as E, R as P, j as T, S as v, 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 _, s as k, t as B, u as U, v as V, w as b } from "./serializer-D2W42bdT.js";
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 _, s as k, t as B, u as U, v as V, w as b } from "./serializer-D2W42bdT.js";
3
3
  import { C as H, C as N } from "./ClientMessage-DUby3KyC.js";
4
4
  import { A as O, a as w, 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-qcYDyDh_.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-DXlT2vxT.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 ue, AiChatFloating as Ee, AiChatPane as Pe, AiChatProvider as Te, AiChatServiceContext as ve, 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 _e, AskUserSheet as ke, BoxedPart as Be, BrainIcon as Ue, ChartIcon as Ve, ChatIcon as be, ChatPane as Fe, ChatsHistory as He, ChatsHistory as Ne, CheckIcon as Ge, ChevronIcon as Oe, ChevronRightIcon as we, CloseIcon as We, CodeIcon as ze, ComposerIcon as Je, CurrentMessage as Ke, DEFAULT_PART_RENDERERS as je, DashboardIcon as qe, DataExplorerIcon as Xe, DelayTextComponent as Ze, EnvironmentProvider as Ye, FileIcon as Qe, FunctionPart as $e, GlobeIcon as ea, HistoryIcon as aa, IDLE_TIMEOUT as ta, InertEnvironmentProvider as sa, JsxErrorBoundary as na, LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL as oa, LastPrompts as ra, LastPrompts as ia, LinearBackgroundProgress as ca, LinearProgressBarWithMarkers as la, ListCheckIcon as Aa, LiveJsxBlock as pa, LiveTsxConfigProvider as ga, LlmResponseRender as Sa, LoadingDots as Ca, LockClosedIcon as Ia, LockOpenIcon as ha, MOBILE_NAV_DEFAULT as da, MarkdownExtended as ua, MentionPickerPanel as Ea, MenuIcon as Pa, Message as Ta, MobileDrawer as va, MobileDrawer as ma, PanelIcon as La, PaperclipIcon as Ra, PauseIcon as xa, PenIcon as Ma, PinIcon as ya, PlusIcon as fa, Prompt as Da, PromptDateMarkers as _a, PromptGhostHint as ka, Prompt as Ba, RotateIcon as Ua, RunProgressPanel as Va, RunProgressPanel as ba, RunProgressStrip as Fa, RunProgressStrip as Ha, SearchIcon as Na, SendIcon as Ga, SessionStateManagerService as Oa, SparkleIcon as wa, Sparkline as Wa, StopIcon as za, Stopwatch as Ja, SubAgentBox as Ka, SubAgentBox as ja, SuspendedPart as qa, TableIcon as Xa, TaskList as Za, TaskList as Ya, TerminalIcon as Qa, TextPart as $a, ThoughtPart as et, ToolIcon as at, TrashIcon as tt, TriggerDropdown as st, TurnAwareButton as nt, UiToolDispatcher as ot, UndoIcon as rt, UsersIcon as it, V2_CHART_PALETTE as ct, WARNING_THRESHOLD as lt, WaitingPart as At, ZoomInIcon as pt, ZoomOutIcon as gt, classifyPart as St, configureFriendlyMapping as Ct, createAiChatEngine as It, createAiChatSessionStore as ht, createAiChatSessionStore as dt, createUiToolRegistry as ut, disposeSharedAiChatEngine as Et, engineKeyFor as Pt, extendDefaultScope as Tt, extendModuleRegistry as vt, getDefaultJsxScope as mt, getFriendlyLabel as Lt, getSharedAiChatEngine as Rt, parseClientOutput as xt, parseContentBlocks as Mt, parseUiArgs as yt, useAgentEngine as ft, useAiChatServices as Dt, useAiChatSessionStore as _t, useCoarsePointer as kt, useEnvironment as Bt, useEnvironmentOptional as Ut, useLiveTsxMaxCharsForFull as Vt, useParkedAskUser as bt, useResponsiveLayout as Ft, useTurnOpen as Ht, useVisualViewport as Nt, v2Card as Gt, v2Chip as Ot, v2IconBtn as wt, v2MonoMeta as Wt, v2SectionLabel as zt, v2Theme as Jt } from "./components.js";
10
- import { u as jt, a as qt, b as Xt } from "./useContainerWidth-B40_i-NW.js";
11
- import { A as Yt, D as Qt, g as $t, b as es, c as as, d as ts, e as ss, f as ns, i as os, r as rs } from "./environmentUtils-VZNTCzEE.js";
12
- import { ALLOWED_DOMAINS as cs, ALLOWED_EMAILS as ls, AUTH_CONFIG as As, GOOGLE_CLIENT_ID as ps, getAgentBaseUrl as gs, getArtifactsBaseUrl as Ss, getDotNetBaseUrl as Cs, getIconByName as Is, iconCategories as hs, materialIcons as ds, searchIcons as us, setEbiContextData as Es, setEbiContextSessionId as Ps } from "./utils.js";
13
- import { S as vs, a as ms, b as Ls, c as Rs, d as xs, e as Ms, f as ys, g as fs, h as Ds, i as _s, j as ks, k as Bs, l as Us, p as Vs, m as bs, s as Fs, o as Hs, q as Ns, t as Gs } from "./atMentions-BhAwZTm1.js";
14
- import { u as ws } from "./useChatSessions-1AAvAdPW.js";
15
- import { Score as zs } from "./interfaces.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 _e, AskUserSheet as ke, AttachmentPreviewModal as Be, BoxedPart as Ue, BrainIcon as Ve, ChartIcon as be, ChatIcon as Fe, ChatPane as He, ChatsHistory as Ne, ChatsHistory as Ge, CheckIcon as Oe, ChevronIcon as we, 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 _a, PromptDateMarkers as ka, PromptGhostHint as Ba, Prompt as Ua, RotateIcon as Va, RunProgressPanel as ba, RunProgressPanel as Fa, RunProgressStrip as Ha, RunProgressStrip as Na, SearchIcon as Ga, SendIcon as Oa, SessionStateManagerService as wa, SparkleIcon as Wa, Sparkline as za, StopIcon as Ja, Stopwatch as Ka, SubAgentBox as ja, SubAgentBox as qa, SuspendedPart as Xa, TableIcon as Za, TaskList as Ya, TaskList as Qa, TerminalIcon as $a, TextPart as et, ThoughtPart as at, ToolIcon as tt, TrashIcon as st, TriggerDropdown as nt, TurnAwareButton as ot, UiToolDispatcher as rt, UndoIcon as it, UsersIcon as ct, V2_CHART_PALETTE as lt, WARNING_THRESHOLD as At, WaitingPart as pt, ZoomInIcon as gt, ZoomOutIcon as St, classifyPart as Ct, configureFriendlyMapping as It, createAiChatEngine as ht, createAiChatSessionStore as dt, createAiChatSessionStore as Pt, createUiToolRegistry as ut, disposeSharedAiChatEngine as Et, engineKeyFor as vt, extendDefaultScope as Tt, extendModuleRegistry as mt, getDefaultJsxScope as Lt, getFriendlyLabel as Rt, getSharedAiChatEngine as xt, parseClientOutput as Mt, parseContentBlocks as yt, parseUiArgs as ft, useAgentEngine as Dt, useAiChatServices as _t, useAiChatSessionStore as kt, useCoarsePointer as Bt, useEnvironment as Ut, useEnvironmentOptional as Vt, useLiveTsxMaxCharsForFull as bt, useParkedAskUser as Ft, useResponsiveLayout as Ht, useTurnOpen as Nt, useVisualViewport as Gt, v2Card as Ot, v2Chip as wt, v2IconBtn as Wt, v2MonoMeta as zt, v2SectionLabel as Jt, v2Theme as Kt } from "./components.js";
10
+ import { u as qt, a as Xt, b as Zt } from "./useContainerWidth-B40_i-NW.js";
11
+ import { A as Qt, D as $t, g as es, b as as, c as ts, d as ss, e as ns, f as os, i as rs, r as is } from "./environmentUtils-VZNTCzEE.js";
12
+ import { ALLOWED_DOMAINS as ls, ALLOWED_EMAILS as As, AUTH_CONFIG as ps, GOOGLE_CLIENT_ID as gs, getAgentBaseUrl as Ss, getArtifactsBaseUrl as Cs, getDotNetBaseUrl as Is, getIconByName as hs, iconCategories as ds, materialIcons as Ps, searchIcons as us, setEbiContextData as Es, setEbiContextSessionId as vs } from "./utils.js";
13
+ import { S as ms, a as Ls, b as Rs, c as xs, d as Ms, e as ys, f as fs, g as Ds, h as _s, i as ks, j as Bs, k as Us, l as Vs, p as bs, m as Fs, s as Hs, o as Ns, q as Gs, t as Os } from "./atMentions-BhAwZTm1.js";
14
+ import { u as Ws } from "./useChatSessions-1AAvAdPW.js";
15
+ import { Score as Js } from "./interfaces.js";
16
16
  export {
17
- cs as ALLOWED_DOMAINS,
18
- ls as ALLOWED_EMAILS,
19
- Yt as ANALYTICS_AGENT_NAME,
17
+ ls as ALLOWED_DOMAINS,
18
+ As as ALLOWED_EMAILS,
19
+ Qt as ANALYTICS_AGENT_NAME,
20
20
  pe as APPBAR_HEIGHT,
21
21
  ge as APPBAR_V2_HEIGHT,
22
22
  Se as ASK_USER_CANCELLED,
23
- As as AUTH_CONFIG,
23
+ ps as AUTH_CONFIG,
24
24
  O as Account,
25
25
  Ce as AgentActivity,
26
26
  Ie as AgentActivityV2,
@@ -32,11 +32,11 @@ export {
32
32
  o as AgentType,
33
33
  he as AiChat,
34
34
  de as AiChatDrawer,
35
- ue as AiChatFloating,
36
- Ee as AiChatFloatingV2,
37
- Pe as AiChatPane,
38
- Te as AiChatProvider,
39
- ve as AiChatServiceContext,
35
+ Pe as AiChatFloating,
36
+ ue as AiChatFloatingV2,
37
+ Ee as AiChatPane,
38
+ ve as AiChatProvider,
39
+ Te as AiChatServiceContext,
40
40
  me as AiChatV2Pane,
41
41
  Le as AppBar,
42
42
  Re as AppBarV2,
@@ -49,215 +49,216 @@ export {
49
49
  r as ArtifactType,
50
50
  _e as AskUserDialog,
51
51
  ke as AskUserSheet,
52
+ Be as AttachmentPreviewModal,
52
53
  i as AuthorType,
53
- Be as BoxedPart,
54
- Ue as BrainIcon,
55
- Ve as ChartIcon,
54
+ Ue as BoxedPart,
55
+ Ve as BrainIcon,
56
+ be as ChartIcon,
56
57
  c as ChatAction,
57
58
  l as ChatEventType,
58
- be as ChatIcon,
59
+ Fe as ChatIcon,
59
60
  A as ChatMessageContent,
60
- Fe as ChatPane,
61
- He as ChatsHistory,
62
- Ne as ChatsHistoryV2,
63
- Ge as CheckIcon,
64
- Oe as ChevronIcon,
65
- we as ChevronRightIcon,
61
+ He as ChatPane,
62
+ Ne as ChatsHistory,
63
+ Ge as ChatsHistoryV2,
64
+ Oe as CheckIcon,
65
+ we as ChevronIcon,
66
+ We as ChevronRightIcon,
66
67
  H as ClientMessage,
67
68
  N as ClientMessageClass,
68
- We as CloseIcon,
69
- ze as CodeIcon,
70
- Je as ComposerIcon,
69
+ ze as CloseIcon,
70
+ Je as CodeIcon,
71
+ Ke as ComposerIcon,
71
72
  q as ConnectionState,
72
- Ke as CurrentMessage,
73
- je as DEFAULT_PART_RENDERERS,
74
- Qt as DEV_SERVER_CONFIG,
75
- qe as DashboardIcon,
76
- Xe as DataExplorerIcon,
77
- Ze as DelayTextComponent,
78
- Ye as EnvironmentProvider,
73
+ je as CurrentMessage,
74
+ qe as DEFAULT_PART_RENDERERS,
75
+ $t as DEV_SERVER_CONFIG,
76
+ Xe as DashboardIcon,
77
+ Ze as DataExplorerIcon,
78
+ Ye as DelayTextComponent,
79
+ Qe as EnvironmentProvider,
79
80
  $ as EventBusService,
80
81
  p as EventType,
81
82
  g as EventTypeDescriptions,
82
- Qe as FileIcon,
83
+ $e as FileIcon,
83
84
  S as FunctionCallContent,
84
- $e as FunctionPart,
85
+ ea as FunctionPart,
85
86
  C as FunctionResultContent,
86
- ps as GOOGLE_CLIENT_ID,
87
+ gs as GOOGLE_CLIENT_ID,
87
88
  I as GetEventTypeFromDotNetName,
88
- ea as GlobeIcon,
89
- aa as HistoryIcon,
89
+ aa as GlobeIcon,
90
+ ta as HistoryIcon,
90
91
  ee as HttpArtifactService,
91
92
  ie as HttpSessionService,
92
- ta as IDLE_TIMEOUT,
93
- sa as InertEnvironmentProvider,
93
+ sa as IDLE_TIMEOUT,
94
+ na as InertEnvironmentProvider,
94
95
  h as InteractionPartUtils,
95
96
  ae as InteractionService,
96
- na as JsxErrorBoundary,
97
- oa as LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL,
98
- ra as LastPrompts,
99
- ia as LastPromptsV2,
100
- ca as LinearBackgroundProgress,
101
- la as LinearProgressBarWithMarkers,
102
- Aa as ListCheckIcon,
103
- pa as LiveJsxBlock,
104
- ga as LiveTsxConfigProvider,
97
+ oa as JsxErrorBoundary,
98
+ ra as LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL,
99
+ ia as LastPrompts,
100
+ ca as LastPromptsV2,
101
+ la as LinearBackgroundProgress,
102
+ Aa as LinearProgressBarWithMarkers,
103
+ pa as ListCheckIcon,
104
+ ga as LiveJsxBlock,
105
+ Sa as LiveTsxConfigProvider,
105
106
  d as LlmEvent,
106
- Sa as LlmResponseRender,
107
- Ca as LoadingDots,
107
+ Ca as LlmResponseRender,
108
+ Ia as LoadingDots,
108
109
  te as LocalStorageService,
109
- Ia as LockClosedIcon,
110
- ha as LockOpenIcon,
111
- da as MOBILE_NAV_DEFAULT,
110
+ ha as LockClosedIcon,
111
+ da as LockOpenIcon,
112
+ Pa as MOBILE_NAV_DEFAULT,
112
113
  ua as MarkdownExtended,
113
114
  W as MemoryContextLabels,
114
115
  z as MemoryContexts,
115
116
  Ea as MentionPickerPanel,
116
- Pa as MenuIcon,
117
+ va as MenuIcon,
117
118
  Ta as Message,
118
- va as MobileDrawer,
119
- ma as MobileDrawerV2,
120
- u as ModelConfig,
121
- E as ModelType,
122
- La as PanelIcon,
123
- Ra as PaperclipIcon,
124
- xa as PauseIcon,
125
- Ma as PenIcon,
126
- ya as PinIcon,
127
- fa as PlusIcon,
128
- Da as Prompt,
129
- _a as PromptDateMarkers,
130
- ka as PromptGhostHint,
119
+ ma as MobileDrawer,
120
+ La as MobileDrawerV2,
121
+ P as ModelConfig,
122
+ u as ModelType,
123
+ Ra as PanelIcon,
124
+ xa as PaperclipIcon,
125
+ Ma as PauseIcon,
126
+ ya as PenIcon,
127
+ fa as PinIcon,
128
+ Da as PlusIcon,
129
+ _a as Prompt,
130
+ ka as PromptDateMarkers,
131
+ Ba as PromptGhostHint,
131
132
  X as PromptUtils,
132
- Ba as PromptV2,
133
- P as ResponseType,
134
- Ua as RotateIcon,
135
- T as RunMode,
136
- Va as RunProgressPanel,
137
- ba as RunProgressPanelV2,
138
- Fa as RunProgressStrip,
139
- Ha as RunProgressStripV2,
133
+ Ua as PromptV2,
134
+ E as ResponseType,
135
+ Va as RotateIcon,
136
+ v as RunMode,
137
+ ba as RunProgressPanel,
138
+ Fa as RunProgressPanelV2,
139
+ Ha as RunProgressStrip,
140
+ Na as RunProgressStripV2,
140
141
  J as SUB_AGENT_TERMINAL_STATUSES,
141
- zs as Score,
142
- Na as SearchIcon,
143
- Ga as SendIcon,
144
- v as ServerEvent,
145
- Oa as SessionStateManagerService,
142
+ Js as Score,
143
+ Ga as SearchIcon,
144
+ Oa as SendIcon,
145
+ T as ServerEvent,
146
+ wa as SessionStateManagerService,
146
147
  m as SkillLevel,
147
- vs as SortableTable,
148
- wa as SparkleIcon,
149
- Wa as Sparkline,
150
- za as StopIcon,
151
- Ja as Stopwatch,
148
+ ms as SortableTable,
149
+ Wa as SparkleIcon,
150
+ za as Sparkline,
151
+ Ja as StopIcon,
152
+ Ka as Stopwatch,
152
153
  L as StreamingFunctionCallUpdateContent,
153
154
  R as StreamingReasoningContent,
154
155
  x as StreamingResponse,
155
156
  M as StreamingTextContent,
156
- Ka as SubAgentBox,
157
- ja as SubAgentBoxV2,
158
- qa as SuspendedPart,
159
- Xa as TableIcon,
160
- Za as TaskList,
161
- Ya as TaskListV2,
162
- Qa as TerminalIcon,
157
+ ja as SubAgentBox,
158
+ qa as SubAgentBoxV2,
159
+ Xa as SuspendedPart,
160
+ Za as TableIcon,
161
+ Ya as TaskList,
162
+ Qa as TaskListV2,
163
+ $a as TerminalIcon,
163
164
  y as TextContent,
164
- $a as TextPart,
165
- et as ThoughtPart,
166
- at as ToolIcon,
167
- tt as TrashIcon,
168
- st as TriggerDropdown,
169
- nt as TurnAwareButton,
170
- ot as UiToolDispatcher,
171
- rt as UndoIcon,
172
- it as UsersIcon,
173
- ct as V2_CHART_PALETTE,
174
- lt as WARNING_THRESHOLD,
175
- At as WaitingPart,
165
+ et as TextPart,
166
+ at as ThoughtPart,
167
+ tt as ToolIcon,
168
+ st as TrashIcon,
169
+ nt as TriggerDropdown,
170
+ ot as TurnAwareButton,
171
+ rt as UiToolDispatcher,
172
+ it as UndoIcon,
173
+ ct as UsersIcon,
174
+ lt as V2_CHART_PALETTE,
175
+ At as WARNING_THRESHOLD,
176
+ pt as WaitingPart,
176
177
  se as WebSocketConnecionV2,
177
- pt as ZoomInIcon,
178
- gt as ZoomOutIcon,
179
- ms as activatePlaceholder,
180
- Ls as advanceToPlaceholder,
181
- Rs as applyTriggerInsertion,
182
- xs as chipLocations,
183
- Ms as chunkArray,
184
- St as classifyPart,
185
- Ct as configureFriendlyMapping,
186
- It as createAiChatEngine,
187
- ht as createAiChatSessionStore,
188
- dt as createAiChatStore,
178
+ gt as ZoomInIcon,
179
+ St as ZoomOutIcon,
180
+ Ls as activatePlaceholder,
181
+ Rs as advanceToPlaceholder,
182
+ xs as applyTriggerInsertion,
183
+ Ms as chipLocations,
184
+ ys as chunkArray,
185
+ Ct as classifyPart,
186
+ It as configureFriendlyMapping,
187
+ ht as createAiChatEngine,
188
+ dt as createAiChatSessionStore,
189
+ Pt as createAiChatStore,
189
190
  f as createEventSerializer,
190
191
  D as createStreamingResponseSerializer,
191
192
  ut as createUiToolRegistry,
192
193
  ce as decodeSessionEvents,
193
194
  _ as deserializeEvent,
194
195
  k as deserializePayload,
195
- ys as detectTrigger,
196
+ fs as detectTrigger,
196
197
  Et as disposeSharedAiChatEngine,
197
- Pt as engineKeyFor,
198
+ vt as engineKeyFor,
198
199
  Tt as extendDefaultScope,
199
- vt as extendModuleRegistry,
200
- fs as extractInteractionId,
201
- Ds as extractLinkAction,
202
- _s as fetchAtMentions,
203
- ks as findPlaceholder,
204
- gs as getAgentBaseUrl,
205
- $t as getAgentServerBaseUrl,
206
- Ss as getArtifactsBaseUrl,
200
+ mt as extendModuleRegistry,
201
+ Ds as extractInteractionId,
202
+ _s as extractLinkAction,
203
+ ks as fetchAtMentions,
204
+ Bs as findPlaceholder,
205
+ Ss as getAgentBaseUrl,
206
+ es as getAgentServerBaseUrl,
207
+ Cs as getArtifactsBaseUrl,
207
208
  B as getConnectionStateColor,
208
- mt as getDefaultJsxScope,
209
- Cs as getDotNetBaseUrl,
210
- es as getEnvVar,
211
- as as getEnvironmentInfo,
212
- Lt as getFriendlyLabel,
213
- Is as getIconByName,
209
+ Lt as getDefaultJsxScope,
210
+ Is as getDotNetBaseUrl,
211
+ as as getEnvVar,
212
+ ts as getEnvironmentInfo,
213
+ Rt as getFriendlyLabel,
214
+ hs as getIconByName,
214
215
  U as getModelVendor,
215
- ts as getRandomUUID,
216
- ss as getServerBaseUrl,
217
- ns as getServerClientBaseUrl,
218
- Rt as getSharedAiChatEngine,
219
- hs as iconCategories,
220
- Bs as isSectionStart,
221
- os as isServer,
216
+ ss as getRandomUUID,
217
+ ns as getServerBaseUrl,
218
+ os as getServerClientBaseUrl,
219
+ xt as getSharedAiChatEngine,
220
+ ds as iconCategories,
221
+ Us as isSectionStart,
222
+ rs as isServer,
222
223
  K as isSubAgentTerminalStatus,
223
- Us as isValidInteractionId,
224
- ds as materialIcons,
225
- xt as parseClientOutput,
226
- Mt as parseContentBlocks,
227
- yt as parseUiArgs,
228
- Vs as placeCaret,
229
- bs as placeholderAt,
224
+ Vs as isValidInteractionId,
225
+ Ps as materialIcons,
226
+ Mt as parseClientOutput,
227
+ yt as parseContentBlocks,
228
+ ft as parseUiArgs,
229
+ bs as placeCaret,
230
+ Fs as placeholderAt,
230
231
  le as resolveAccessToken,
231
- rs as resolveApiUrl,
232
+ is as resolveApiUrl,
232
233
  V as sanitizeJsonString,
233
234
  us as searchIcons,
234
235
  b as serializeEvent,
235
236
  Es as setEbiContextData,
236
- Ps as setEbiContextSessionId,
237
- Fs as splitBigLinesWithSpaces,
238
- Hs as startsWithInteractionId,
239
- Ns as swallowNextClick,
240
- Gs as tokenizeForHighlight,
241
- ft as useAgentEngine,
242
- Dt as useAiChatServices,
243
- _t as useAiChatSessionStore,
244
- ws as useChatSessions,
245
- kt as useCoarsePointer,
246
- jt as useContainerRectangle,
247
- Bt as useEnvironment,
248
- Ut as useEnvironmentOptional,
249
- qt as useInterval,
250
- Vt as useLiveTsxMaxCharsForFull,
251
- bt as useParkedAskUser,
252
- Xt as usePromptAssist,
253
- Ft as useResponsiveLayout,
254
- Ht as useTurnOpen,
255
- Nt as useVisualViewport,
256
- Gt as v2Card,
257
- Ot as v2Chip,
258
- wt as v2IconBtn,
259
- Wt as v2MonoMeta,
260
- zt as v2SectionLabel,
261
- Jt as v2Theme
237
+ vs as setEbiContextSessionId,
238
+ Hs as splitBigLinesWithSpaces,
239
+ Ns as startsWithInteractionId,
240
+ Gs as swallowNextClick,
241
+ Os as tokenizeForHighlight,
242
+ Dt as useAgentEngine,
243
+ _t as useAiChatServices,
244
+ kt as useAiChatSessionStore,
245
+ Ws as useChatSessions,
246
+ Bt as useCoarsePointer,
247
+ qt as useContainerRectangle,
248
+ Ut as useEnvironment,
249
+ Vt as useEnvironmentOptional,
250
+ Xt as useInterval,
251
+ bt as useLiveTsxMaxCharsForFull,
252
+ Ft as useParkedAskUser,
253
+ Zt as usePromptAssist,
254
+ Ht as useResponsiveLayout,
255
+ Nt as useTurnOpen,
256
+ Gt as useVisualViewport,
257
+ Ot as v2Card,
258
+ wt as v2Chip,
259
+ Wt as v2IconBtn,
260
+ zt as v2MonoMeta,
261
+ Jt as v2SectionLabel,
262
+ Kt as v2Theme
262
263
  };
263
264
  //# sourceMappingURL=index.js.map
@@ -30,6 +30,8 @@ export { useVisualViewport } from './useVisualViewport';
30
30
  export type { VisualViewportRect } from './useVisualViewport';
31
31
  export { PromptDateMarkers } from './PromptDateMarkers';
32
32
  export type { PromptDateMarker } from './PromptDateMarkers';
33
+ export { AttachmentPreviewModal } from './AttachmentPreviewModal';
34
+ export type { PromptAttachment } from './AttachmentPreviewModal';
33
35
  export { LastPromptsV2 as LastPrompts, LastPromptsV2 } from './LastPromptsV2';
34
36
  export type { LastPromptsV2Props as LastPromptsProps, LastPromptsV2Props } from './LastPromptsV2';
35
37
  export { ChatsHistoryV2 as ChatsHistory, ChatsHistoryV2 } from './ChatsHistoryV2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aintela/chat",
3
- "version": "0.3.4",
3
+ "version": "0.3.7",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"