@aintela/chat 0.3.0 → 0.3.1
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/README.md +14 -0
- package/dist/{atMentions-CCNBOf5W.js → atMentions-CnHuJKhX.js} +92 -87
- package/dist/atMentions-CnHuJKhX.js.map +1 -0
- package/dist/components.js +9274 -10531
- package/dist/components.js.map +1 -1
- package/dist/hooks.js +1 -1
- package/dist/{httpArtifactService-kXjuQtGa.js → httpArtifactService-Ba9xFy1E.js} +43 -27
- package/dist/httpArtifactService-Ba9xFy1E.js.map +1 -0
- package/dist/{httpSessionService-CMT6k-Nu.js → httpSessionService-DXlT2vxT.js} +33 -22
- package/dist/httpSessionService-DXlT2vxT.js.map +1 -0
- package/dist/index.js +231 -217
- package/dist/services.js +2 -2
- package/dist/src/components/AiChat/AiChatContext.d.ts +0 -3
- package/dist/src/components/AiChat/AiChatTypes.d.ts +0 -11
- package/dist/src/components/AiChat/ChatPane/ChatPane.test.d.ts +1 -0
- package/dist/src/components/AiChat/ChatPane/MessageAgent.d.ts +0 -1
- package/dist/src/components/AiChat/ChatPane/MessagePart.d.ts +5 -3
- package/dist/src/components/AiChat/ChatPane/MessagePart.test.d.ts +1 -0
- package/dist/src/components/AiChat/ChatPane/friendlyToolConfig.test.d.ts +1 -0
- package/dist/src/components/AiChat/ChatPane/messageAgentThoughts.test.d.ts +1 -0
- package/dist/src/components/AiChat/ChatPane/parts/uiToolDispatcher.test.d.ts +1 -0
- package/dist/src/components/AiChat/ChatPane/parts/uiToolRegistry.test.d.ts +1 -0
- package/dist/src/components/AiChat/index.d.ts +1 -3
- package/dist/src/components/index.d.ts +0 -3
- package/dist/src/components/v2/AiChatFloating.d.ts +3 -0
- package/dist/src/components/v2/PromptV2.d.ts +21 -6
- package/dist/src/components/v2/PromptV2.test.d.ts +1 -0
- package/dist/src/components/v2/icons.d.ts +1 -0
- package/dist/src/components/v2/index.d.ts +25 -25
- package/dist/src/services/storageService.d.ts +18 -0
- package/dist/src/utils/urlParser.test.d.ts +1 -0
- package/dist/tests/fakes/fakeChatServices.d.ts +42 -0
- package/dist/{useChatSessions-CpHq0e1n.js → useChatSessions-1AAvAdPW.js} +2 -2
- package/dist/{useChatSessions-CpHq0e1n.js.map → useChatSessions-1AAvAdPW.js.map} +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/atMentions-CCNBOf5W.js.map +0 -1
- package/dist/httpArtifactService-kXjuQtGa.js.map +0 -1
- package/dist/httpSessionService-CMT6k-Nu.js.map +0 -1
- package/dist/src/components/AiChat/AiChatFloating.d.ts +0 -3
- package/dist/src/components/AiChat/ChatPane/LastPrompts.d.ts +0 -9
- package/dist/src/components/AiChat/ChatPane/Prompt.d.ts +0 -9
- package/dist/src/components/AiChat/ChatPane/SubAgentBox.d.ts +0 -9
- package/dist/src/components/AiChat/ChatPane/TaskList.d.ts +0 -6
- package/dist/src/components/v2/AiChatFloatingV2.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -1,247 +1,261 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
|
-
import { A as
|
|
3
|
-
import { C as
|
|
4
|
-
import { A as
|
|
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 E, i as P, R as u, 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 B, t as U, u as k, v as V, w as b } from "./serializer-D2W42bdT.js";
|
|
3
|
+
import { C as H, C as N } from "./ClientMessage-DUby3KyC.js";
|
|
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 X, P as Z } from "./Prompt-DZb7OaPp.js";
|
|
6
|
-
import { A as Y, a as Q, E as $, H as ee, I as
|
|
7
|
-
import { A as
|
|
8
|
-
import { H as ie, d as ce, r as le } from "./httpSessionService-
|
|
9
|
-
import {
|
|
10
|
-
import { u as
|
|
11
|
-
import { A as
|
|
12
|
-
import { ALLOWED_DOMAINS as
|
|
13
|
-
import { S as
|
|
14
|
-
import { u as
|
|
15
|
-
import { Score as
|
|
6
|
+
import { A as Y, a as Q, E as $, H as ee, I as ae, L as te, W as se } from "./httpArtifactService-Ba9xFy1E.js";
|
|
7
|
+
import { A as oe } from "./artifactHtmlHandler-CMQJf1cX.js";
|
|
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 Ee, AiChatFloating as Pe, AiChatPane as ue, 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 Be, BoxedPart as Ue, BrainIcon as ke, 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 Xe, DataExplorerIcon as Ze, DelayTextComponent as qe, 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 Ea, MentionPickerPanel as Pa, MenuIcon as ua, 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 Ba, Prompt as Ua, RotateIcon as ka, 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 Xa, TableIcon as Za, TaskList as qa, 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 Et, disposeSharedAiChatEngine as Pt, engineKeyFor as ut, 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 Bt, useEnvironment as Ut, useEnvironmentOptional as kt, useLiveTsxMaxCharsForFull as Vt, useParkedAskUser as bt, useResponsiveLayout as Ft, useTurnOpen as Ht, v2Card as Nt, v2Chip as Gt, v2IconBtn as Ot, v2MonoMeta as wt, v2SectionLabel as Wt, v2Theme as zt } from "./components.js";
|
|
10
|
+
import { u as Kt, a as jt, b as Xt } from "./useContainerWidth-B40_i-NW.js";
|
|
11
|
+
import { A as qt, D as Yt, g as Qt, b as $t, c as es, d as as, e as ts, f as ss, i as ns, r as os } from "./environmentUtils-VZNTCzEE.js";
|
|
12
|
+
import { ALLOWED_DOMAINS as is, ALLOWED_EMAILS as cs, AUTH_CONFIG as ls, GOOGLE_CLIENT_ID as As, getAgentBaseUrl as ps, getArtifactsBaseUrl as gs, getDotNetBaseUrl as Ss, getIconByName as Cs, iconCategories as Is, materialIcons as hs, searchIcons as ds, setEbiContextData as Es, setEbiContextSessionId as Ps } from "./utils.js";
|
|
13
|
+
import { S as Ts, a as vs, b as ms, c as Ls, d as Rs, e as xs, f as Ms, g as ys, h as fs, i as Ds, j as _s, k as Bs, l as Us, p as ks, m as Vs, s as bs, o as Fs, t as Hs } from "./atMentions-CnHuJKhX.js";
|
|
14
|
+
import { u as Gs } from "./useChatSessions-1AAvAdPW.js";
|
|
15
|
+
import { Score as ws } from "./interfaces.js";
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
ge as
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
is as ALLOWED_DOMAINS,
|
|
18
|
+
cs as ALLOWED_EMAILS,
|
|
19
|
+
qt as ANALYTICS_AGENT_NAME,
|
|
20
|
+
pe as APPBAR_HEIGHT,
|
|
21
|
+
ge as APPBAR_V2_HEIGHT,
|
|
22
|
+
Se as ASK_USER_CANCELLED,
|
|
23
|
+
ls as AUTH_CONFIG,
|
|
24
|
+
O as Account,
|
|
25
|
+
Ce as AgentActivity,
|
|
26
|
+
Ie as AgentActivityV2,
|
|
27
|
+
s as AgentConfig,
|
|
26
28
|
Y as AgentGatewayService,
|
|
27
29
|
Q as AgentGatewayWSAsync,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
w as AgentKind,
|
|
31
|
+
n as AgentMode,
|
|
32
|
+
o as AgentType,
|
|
33
|
+
he as AiChat,
|
|
34
|
+
de as AiChatDrawer,
|
|
35
|
+
Ee as AiChatFloating,
|
|
36
|
+
Pe as AiChatFloatingV2,
|
|
37
|
+
ue as AiChatPane,
|
|
38
|
+
Te as AiChatProvider,
|
|
36
39
|
ve as AiChatServiceContext,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
me as AiChatV2Pane,
|
|
41
|
+
Le as AppBar,
|
|
42
|
+
Re as AppBarV2,
|
|
43
|
+
xe as AppRail,
|
|
44
|
+
Me as AppRailV2,
|
|
45
|
+
ye as AppShell,
|
|
46
|
+
fe as AppShellV2,
|
|
47
|
+
oe as ArtifactHtmlHandler,
|
|
48
|
+
De as ArtifactRender,
|
|
43
49
|
r as ArtifactType,
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
_e as AskUserDialog,
|
|
51
|
+
Be as AskUserSheet,
|
|
46
52
|
i as AuthorType,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
Ue as BoxedPart,
|
|
54
|
+
ke as BrainIcon,
|
|
55
|
+
Ve as ChartIcon,
|
|
50
56
|
c as ChatAction,
|
|
51
57
|
l as ChatEventType,
|
|
52
|
-
|
|
58
|
+
be as ChatIcon,
|
|
53
59
|
A as ChatMessageContent,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
H as
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
Fe as ChatPane,
|
|
61
|
+
He as ChatsHistory,
|
|
62
|
+
Ne as ChatsHistoryV2,
|
|
63
|
+
Ge as CheckIcon,
|
|
64
|
+
Oe as ChevronIcon,
|
|
65
|
+
we as ChevronRightIcon,
|
|
66
|
+
H as ClientMessage,
|
|
67
|
+
N as ClientMessageClass,
|
|
68
|
+
We as CloseIcon,
|
|
69
|
+
ze as CodeIcon,
|
|
70
|
+
Je as ComposerIcon,
|
|
64
71
|
X as ConnectionState,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
Ke as CurrentMessage,
|
|
73
|
+
je as DEFAULT_PART_RENDERERS,
|
|
74
|
+
Yt as DEV_SERVER_CONFIG,
|
|
75
|
+
Xe as DashboardIcon,
|
|
76
|
+
Ze as DataExplorerIcon,
|
|
77
|
+
qe as DelayTextComponent,
|
|
78
|
+
Ye as EnvironmentProvider,
|
|
72
79
|
$ as EventBusService,
|
|
73
|
-
|
|
80
|
+
p as EventType,
|
|
74
81
|
g as EventTypeDescriptions,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
82
|
+
Qe as FileIcon,
|
|
83
|
+
S as FunctionCallContent,
|
|
84
|
+
$e as FunctionPart,
|
|
78
85
|
C as FunctionResultContent,
|
|
79
|
-
|
|
86
|
+
As as GOOGLE_CLIENT_ID,
|
|
80
87
|
I as GetEventTypeFromDotNetName,
|
|
81
|
-
|
|
82
|
-
|
|
88
|
+
ea as GlobeIcon,
|
|
89
|
+
aa as HistoryIcon,
|
|
83
90
|
ee as HttpArtifactService,
|
|
84
91
|
ie as HttpSessionService,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
92
|
+
ta as IDLE_TIMEOUT,
|
|
93
|
+
sa as InertEnvironmentProvider,
|
|
94
|
+
h as InteractionPartUtils,
|
|
95
|
+
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,
|
|
105
|
+
d as LlmEvent,
|
|
106
|
+
Sa as LlmResponseRender,
|
|
107
|
+
Ca as LoadingDots,
|
|
108
|
+
te as LocalStorageService,
|
|
109
|
+
Ia as LockClosedIcon,
|
|
110
|
+
ha as LockOpenIcon,
|
|
111
|
+
da as MOBILE_NAV_DEFAULT,
|
|
112
|
+
Ea as MarkdownExtended,
|
|
113
|
+
W as MemoryContextLabels,
|
|
106
114
|
z as MemoryContexts,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
115
|
+
Pa as MentionPickerPanel,
|
|
116
|
+
ua as MenuIcon,
|
|
117
|
+
Ta as Message,
|
|
118
|
+
va as MobileDrawer,
|
|
119
|
+
ma as MobileDrawerV2,
|
|
111
120
|
E as ModelConfig,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
121
|
+
P 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
|
+
Ba as PromptGhostHint,
|
|
120
131
|
Z as PromptUtils,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
132
|
+
Ua as PromptV2,
|
|
133
|
+
u as ResponseType,
|
|
134
|
+
ka as RotateIcon,
|
|
135
|
+
T as RunMode,
|
|
136
|
+
Va as RunProgressPanel,
|
|
137
|
+
ba as RunProgressPanelV2,
|
|
138
|
+
Fa as RunProgressStrip,
|
|
139
|
+
Ha as RunProgressStripV2,
|
|
127
140
|
J as SUB_AGENT_TERMINAL_STATUSES,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
141
|
+
ws as Score,
|
|
142
|
+
Na as SearchIcon,
|
|
143
|
+
Ga as SendIcon,
|
|
144
|
+
v as ServerEvent,
|
|
145
|
+
Oa as SessionStateManagerService,
|
|
146
|
+
m as SkillLevel,
|
|
147
|
+
Ts as SortableTable,
|
|
148
|
+
wa as SparkleIcon,
|
|
149
|
+
Wa as Sparkline,
|
|
150
|
+
za as StopIcon,
|
|
151
|
+
Ja as Stopwatch,
|
|
152
|
+
L as StreamingFunctionCallUpdateContent,
|
|
153
|
+
R as StreamingReasoningContent,
|
|
154
|
+
x as StreamingResponse,
|
|
155
|
+
M as StreamingTextContent,
|
|
156
|
+
Ka as SubAgentBox,
|
|
157
|
+
ja as SubAgentBoxV2,
|
|
158
|
+
Xa as SuspendedPart,
|
|
159
|
+
Za as TableIcon,
|
|
160
|
+
qa as TaskList,
|
|
161
|
+
Ya as TaskListV2,
|
|
162
|
+
Qa as TerminalIcon,
|
|
163
|
+
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,
|
|
176
|
+
se as WebSocketConnecionV2,
|
|
177
|
+
pt as ZoomInIcon,
|
|
178
|
+
gt as ZoomOutIcon,
|
|
179
|
+
vs as activatePlaceholder,
|
|
180
|
+
ms as advanceToPlaceholder,
|
|
181
|
+
Ls as applyTriggerInsertion,
|
|
182
|
+
Rs as chipLocations,
|
|
183
|
+
xs as chunkArray,
|
|
184
|
+
St as classifyPart,
|
|
185
|
+
Ct as configureFriendlyMapping,
|
|
186
|
+
It as createAiChatEngine,
|
|
187
|
+
ht as createAiChatSessionStore,
|
|
188
|
+
dt as createAiChatStore,
|
|
189
|
+
f as createEventSerializer,
|
|
176
190
|
D as createStreamingResponseSerializer,
|
|
177
|
-
|
|
191
|
+
Et as createUiToolRegistry,
|
|
178
192
|
ce as decodeSessionEvents,
|
|
179
193
|
_ as deserializeEvent,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
194
|
+
B as deserializePayload,
|
|
195
|
+
Ms as detectTrigger,
|
|
196
|
+
Pt as disposeSharedAiChatEngine,
|
|
197
|
+
ut as engineKeyFor,
|
|
198
|
+
Tt as extendDefaultScope,
|
|
199
|
+
vt as extendModuleRegistry,
|
|
200
|
+
ys as extractInteractionId,
|
|
201
|
+
fs as extractLinkAction,
|
|
202
|
+
Ds as fetchAtMentions,
|
|
203
|
+
_s as findPlaceholder,
|
|
204
|
+
ps as getAgentBaseUrl,
|
|
205
|
+
Qt as getAgentServerBaseUrl,
|
|
206
|
+
gs as getArtifactsBaseUrl,
|
|
207
|
+
U as getConnectionStateColor,
|
|
208
|
+
mt as getDefaultJsxScope,
|
|
209
|
+
Ss as getDotNetBaseUrl,
|
|
210
|
+
$t as getEnvVar,
|
|
211
|
+
es as getEnvironmentInfo,
|
|
212
|
+
Lt as getFriendlyLabel,
|
|
213
|
+
Cs as getIconByName,
|
|
214
|
+
k as getModelVendor,
|
|
215
|
+
as as getRandomUUID,
|
|
216
|
+
ts as getServerBaseUrl,
|
|
217
|
+
ss as getServerClientBaseUrl,
|
|
218
|
+
Rt as getSharedAiChatEngine,
|
|
219
|
+
Is as iconCategories,
|
|
220
|
+
Bs as isSectionStart,
|
|
221
|
+
ns as isServer,
|
|
208
222
|
K as isSubAgentTerminalStatus,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
223
|
+
Us as isValidInteractionId,
|
|
224
|
+
hs as materialIcons,
|
|
225
|
+
xt as parseClientOutput,
|
|
226
|
+
Mt as parseContentBlocks,
|
|
227
|
+
yt as parseUiArgs,
|
|
228
|
+
ks as placeCaret,
|
|
229
|
+
Vs as placeholderAt,
|
|
216
230
|
le as resolveAccessToken,
|
|
217
|
-
|
|
231
|
+
os as resolveApiUrl,
|
|
218
232
|
V as sanitizeJsonString,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
233
|
+
ds as searchIcons,
|
|
234
|
+
b as serializeEvent,
|
|
235
|
+
Es as setEbiContextData,
|
|
236
|
+
Ps as setEbiContextSessionId,
|
|
237
|
+
bs as splitBigLinesWithSpaces,
|
|
238
|
+
Fs as startsWithInteractionId,
|
|
239
|
+
Hs as tokenizeForHighlight,
|
|
240
|
+
ft as useAgentEngine,
|
|
241
|
+
Dt as useAiChatServices,
|
|
242
|
+
_t as useAiChatSessionStore,
|
|
243
|
+
Gs as useChatSessions,
|
|
244
|
+
Bt as useCoarsePointer,
|
|
245
|
+
Kt as useContainerRectangle,
|
|
246
|
+
Ut as useEnvironment,
|
|
247
|
+
kt as useEnvironmentOptional,
|
|
248
|
+
jt as useInterval,
|
|
249
|
+
Vt as useLiveTsxMaxCharsForFull,
|
|
250
|
+
bt as useParkedAskUser,
|
|
251
|
+
Xt as usePromptAssist,
|
|
252
|
+
Ft as useResponsiveLayout,
|
|
253
|
+
Ht as useTurnOpen,
|
|
254
|
+
Nt as v2Card,
|
|
255
|
+
Gt as v2Chip,
|
|
256
|
+
Ot as v2IconBtn,
|
|
257
|
+
wt as v2MonoMeta,
|
|
258
|
+
Wt as v2SectionLabel,
|
|
259
|
+
zt as v2Theme
|
|
246
260
|
};
|
|
247
261
|
//# sourceMappingURL=index.js.map
|
package/dist/services.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as t, a as s, E as r, H as o, I as c, L as n, W as i } from "./httpArtifactService-
|
|
1
|
+
import { A as t, a as s, E as r, H as o, I as c, L as n, W as i } from "./httpArtifactService-Ba9xFy1E.js";
|
|
2
2
|
import { A as v } from "./artifactHtmlHandler-CMQJf1cX.js";
|
|
3
|
-
import { H, d as f, r as p } from "./httpSessionService-
|
|
3
|
+
import { H, d as f, r as p } from "./httpSessionService-DXlT2vxT.js";
|
|
4
4
|
export {
|
|
5
5
|
t as AgentGatewayService,
|
|
6
6
|
s as AgentGatewayWSAsync,
|
|
@@ -27,9 +27,6 @@ export interface AiChatContextState {
|
|
|
27
27
|
showToolCalls: boolean;
|
|
28
28
|
showModelSelector: boolean;
|
|
29
29
|
showSessionInfo: boolean;
|
|
30
|
-
showTaskList: boolean;
|
|
31
|
-
showSubAgents: boolean;
|
|
32
|
-
compactPrompt: boolean;
|
|
33
30
|
showConnectionState: boolean;
|
|
34
31
|
hidePromptInput: boolean;
|
|
35
32
|
/**
|
|
@@ -155,17 +155,6 @@ export interface AiChatBaseProps extends AiChatStyleProps {
|
|
|
155
155
|
showStickyHeader?: boolean;
|
|
156
156
|
showModelSelector?: boolean;
|
|
157
157
|
showSessionInfo?: boolean;
|
|
158
|
-
/** Show the live TodoList ("tasks for this turn") above the input. Defaults to true. */
|
|
159
|
-
showTaskList?: boolean;
|
|
160
|
-
/** Show sub-agent sub-conversations inside agent messages. Defaults to true. */
|
|
161
|
-
showSubAgents?: boolean;
|
|
162
|
-
/**
|
|
163
|
-
* Use the minimal v2 prompt (`PromptV2`) — single sparkle/options
|
|
164
|
-
* icon on the left, autosize input, rotated send. Defaults to
|
|
165
|
-
* `true` (v2 surface). Legacy v1 chat surfaces opt back into the
|
|
166
|
-
* full Prompt component by passing `compactPrompt={false}`.
|
|
167
|
-
*/
|
|
168
|
-
compactPrompt?: boolean;
|
|
169
158
|
/**
|
|
170
159
|
* Show the v1 ConnectionState chip in the chat header. Defaults to
|
|
171
160
|
* `false` because the v2 RunProgressPanel owns the connection-state
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -7,9 +7,11 @@ import { PartRendererProps } from './parts';
|
|
|
7
7
|
* The consumer override hook reads `partRenderers` off the AiChat services
|
|
8
8
|
* context (set via `<AiChat partRenderers={...} />`). When no override is
|
|
9
9
|
* provided for a given kind, the built-in `DEFAULT_PART_RENDERERS[kind]`
|
|
10
|
-
* renders. Used outside an AiChatProvider, the dispatcher silently
|
|
11
|
-
* back to the built-ins — `useContext` returns undefined rather than
|
|
12
|
-
* throwing
|
|
10
|
+
* renders. Used outside an AiChatProvider, the dispatcher itself silently
|
|
11
|
+
* falls back to the built-ins — `useContext` returns undefined rather than
|
|
12
|
+
* throwing. Note that several BUILT-INS do require the services (TextPart's
|
|
13
|
+
* markdown renderer among them), so "usable standalone" holds for this
|
|
14
|
+
* dispatcher, not for every kind it can resolve.
|
|
13
15
|
*/
|
|
14
16
|
declare const MessagePart: React.FC<PartRendererProps>;
|
|
15
17
|
export default MessagePart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,12 +2,10 @@ export { default as AiChat } from './AiChat';
|
|
|
2
2
|
export { default as ChatPane } from './ChatPane/ChatPane';
|
|
3
3
|
export { AiChatProvider } from './AiChatProvider';
|
|
4
4
|
export { AiChatDrawer } from './AiChatDrawer';
|
|
5
|
-
export { AiChatFloating } from '
|
|
5
|
+
export { AiChatFloating } from '../v2/AiChatFloating';
|
|
6
6
|
export type { AiChatProps, AiChatHandle, AiChatStyleProps, AiChatDrawerProps, AiChatFloatingProps, SendMessageOptions, SendMessageUi, UserMessageRendererProps } from './AiChatTypes';
|
|
7
7
|
export { useAiChatServices, useAiChatSessionStore } from './AiChatContext';
|
|
8
8
|
export { createAiChatSessionStore } from './AiChatSessionStore';
|
|
9
9
|
export type { SubAgentState } from './stateConfiguration';
|
|
10
|
-
export type { SubAgentBoxProps } from './ChatPane/SubAgentBox';
|
|
11
|
-
export { default as SubAgentBox } from './ChatPane/SubAgentBox';
|
|
12
10
|
export type { FriendlyToolEntry } from './ChatPane/friendlyToolConfig';
|
|
13
11
|
export { configureFriendlyMapping } from './ChatPane/friendlyToolConfig';
|
|
@@ -3,7 +3,6 @@ export { default as ChatPane } from './AiChat/ChatPane/ChatPane';
|
|
|
3
3
|
export { default as CurrentMessage } from './AiChat/ChatPane/CurrentMessage';
|
|
4
4
|
export { AiChatProvider } from './AiChat/AiChatProvider';
|
|
5
5
|
export { AiChatDrawer } from './AiChat/AiChatDrawer';
|
|
6
|
-
export { AiChatFloating } from './AiChat/AiChatFloating';
|
|
7
6
|
export { AiChatServiceContext, useAiChatServices, useAiChatSessionStore, } from './AiChat/AiChatContext';
|
|
8
7
|
export { useTurnOpen } from './AiChat/useTurnOpen';
|
|
9
8
|
export type { AiChatContextState as AiChatServices } from './AiChat/AiChatContext';
|
|
@@ -17,8 +16,6 @@ export type { AiChatEngine, AiChatEngineConfig } from './AiChat/aiChatEngine';
|
|
|
17
16
|
export { useAgentEngine, engineKeyFor, getSharedAiChatEngine, disposeSharedAiChatEngine, } from './AiChat/useAgentEngine';
|
|
18
17
|
export type { LiveSession, UseAgentEngineOptions } from './AiChat/useAgentEngine';
|
|
19
18
|
export { default as Message } from './AiChat/ChatPane/Message';
|
|
20
|
-
export { default as SubAgentBox } from './AiChat/ChatPane/SubAgentBox';
|
|
21
|
-
export type { SubAgentBoxProps } from './AiChat/ChatPane/SubAgentBox';
|
|
22
19
|
export { default as AskUserSheet } from './AiChat/ChatPane/AskUserSheet';
|
|
23
20
|
export type { AskUserSheetProps } from './AiChat/ChatPane/AskUserSheet';
|
|
24
21
|
export { default as AskUserDialog } from './AiChat/ChatPane/AskUserDialog';
|