@aintela/chat 0.6.0 → 0.7.0
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 +43 -0
- package/dist/components.js +7528 -7182
- package/dist/components.js.map +1 -1
- package/dist/{httpArtifactService-DYQDPVVH.js → detachedRunActivity-CjyFTKSw.js} +769 -324
- package/dist/detachedRunActivity-CjyFTKSw.js.map +1 -0
- package/dist/detachedRunModel-X59Pb5V-.js +67 -0
- package/dist/{detachedRunModel-1ii9qGTW.js.map → detachedRunModel-X59Pb5V-.js.map} +1 -1
- package/dist/hooks.js +1 -1
- package/dist/httpSessionService-Ckb9Cxia.js +320 -0
- package/dist/httpSessionService-Ckb9Cxia.js.map +1 -0
- package/dist/index.js +296 -274
- package/dist/models.js +47 -41
- package/dist/{serializer-BNsp8xs2.js → serializer-DNUH6kgE.js} +567 -507
- package/dist/serializer-DNUH6kgE.js.map +1 -0
- package/dist/services.js +22 -15
- package/dist/src/components/AiChat/AiChatContext.d.ts +3 -1
- package/dist/src/components/AiChat/AiChatTypes.d.ts +7 -1
- package/dist/src/components/AiChat/ChatPane/InteractionOriginBadge.d.ts +15 -0
- package/dist/src/components/AiChat/ChatPane/messageUserOrigin.test.d.ts +1 -0
- package/dist/src/components/AiChat/aiChatEngine.d.ts +13 -1
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/v2/DetachedRunTaskBox.d.ts +30 -5
- package/dist/src/components/v2/DetachedRunTaskBox.live.test.d.ts +1 -0
- package/dist/src/components/v2/DetachedRunTranscript.d.ts +89 -0
- package/dist/src/components/v2/DetachedRunTranscript.test.d.ts +1 -0
- package/dist/src/components/v2/index.d.ts +5 -0
- package/dist/src/components/v2/useDetachedRunLiveActivity.d.ts +30 -0
- package/dist/src/components/v2/useDetachedRunResumeKey.d.ts +15 -0
- package/dist/src/components/v2/useDetachedRunResumeKey.test.d.ts +1 -0
- package/dist/src/models/Interaction.d.ts +15 -0
- package/dist/src/models/detachedRunModel.d.ts +11 -0
- package/dist/src/models/enums.d.ts +3 -1
- package/dist/src/models/index.d.ts +4 -3
- package/dist/src/models/semanticKernelModel/models.d.ts +22 -1
- package/dist/src/services/WebSocketConnection/WebSocketConnectionV2.d.ts +2 -1
- package/dist/src/services/WebSocketConnection/webSocketConnection.d.ts +15 -2
- package/dist/src/services/detachedRun/DetachedRunFramesTransport.d.ts +68 -0
- package/dist/src/services/detachedRun/DetachedRunFramesTransport.test.d.ts +1 -0
- package/dist/src/services/detachedRun/detachedRunActivity.d.ts +25 -0
- package/dist/src/services/detachedRun/streamDetachedRunFrames.d.ts +110 -0
- package/dist/src/services/detachedRun/streamDetachedRunFrames.test.d.ts +1 -0
- package/dist/src/services/index.d.ts +7 -0
- package/dist/src/services/servers/AgentGatewayService.d.ts +1 -1
- package/dist/src/services/servers/AgentGatewayWSAsync.d.ts +67 -1
- package/dist/src/services/servers/gatewayAnnounceDetachedRun.test.d.ts +1 -0
- package/dist/src/services/servers/gatewayInteractionStarted.test.d.ts +1 -0
- package/dist/src/services/wire/decodeFrame.d.ts +6 -1
- package/dist/tests/fakes/fakeWebSocket.d.ts +8 -2
- package/dist/tests/fakes/makeGateway.d.ts +3 -1
- package/dist/{useChatSessions-Q41Jmr6P.js → useChatSessions-aTjNcj8q.js} +2 -2
- package/dist/{useChatSessions-Q41Jmr6P.js.map → useChatSessions-aTjNcj8q.js.map} +1 -1
- package/package.json +1 -1
- package/dist/detachedRunModel-1ii9qGTW.js +0 -50
- package/dist/httpArtifactService-DYQDPVVH.js.map +0 -1
- package/dist/httpSessionService-BY7JeW8d.js +0 -309
- package/dist/httpSessionService-BY7JeW8d.js.map +0 -1
- package/dist/serializer-BNsp8xs2.js.map +0 -1
package/dist/models.js
CHANGED
|
@@ -1,52 +1,58 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { C as
|
|
3
|
-
import { A as
|
|
4
|
-
import { C as
|
|
1
|
+
import { A as a, a as s, b as n, c as o, d as i, C as r, e as C, f as l, E as S, g as c, F as g, h as T, G as p, I as E, i as d, j as m, L as u, M as A, k as R, R as v, l as y, S as M, m as D, n as h, o as x, p as f, q as z, T as I, r as U, s as F, t as L, u as _, v as N, w as b, x as P, y as k, z as G } from "./serializer-DNUH6kgE.js";
|
|
2
|
+
import { C as O, C as j, D as q, a as w, i as J, b as K, c as V, d as W } from "./detachedRunModel-X59Pb5V-.js";
|
|
3
|
+
import { A as Q, a as X, M as Y, b as Z } from "./Memory-BUnmYGNv.js";
|
|
4
|
+
import { C as ee, P as te } from "./Prompt-DZb7OaPp.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
Q as Account,
|
|
7
|
+
a as AgentConfig,
|
|
8
|
+
X as AgentKind,
|
|
9
9
|
s as AgentMode,
|
|
10
10
|
n as AgentType,
|
|
11
11
|
o as ArtifactType,
|
|
12
12
|
i as AuthorType,
|
|
13
13
|
r as ChatAction,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
T as
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
h as
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
C as ChatEventType,
|
|
15
|
+
l as ChatMessageContent,
|
|
16
|
+
O as ClientMessage,
|
|
17
|
+
j as ClientMessageClass,
|
|
18
|
+
ee as ConnectionState,
|
|
19
|
+
q as DETACHED_RUN_SETTLED_STATUSES,
|
|
20
|
+
w as DETACHED_RUN_TERMINAL_STATUSES,
|
|
21
|
+
S as EventType,
|
|
22
|
+
c as EventTypeDescriptions,
|
|
23
|
+
g as FunctionCallContent,
|
|
24
|
+
T as FunctionResultContent,
|
|
25
|
+
p as GetEventTypeFromDotNetName,
|
|
26
|
+
E as InteractionOriginContent,
|
|
27
|
+
d as InteractionPartUtils,
|
|
28
|
+
m as InteractionStart,
|
|
29
|
+
u as LlmEvent,
|
|
30
|
+
Y as MemoryContextLabels,
|
|
31
|
+
Z as MemoryContexts,
|
|
32
|
+
A as ModelConfig,
|
|
33
|
+
R as ModelType,
|
|
34
|
+
te as PromptUtils,
|
|
35
|
+
v as ResponseType,
|
|
36
|
+
y as RunMode,
|
|
37
|
+
M as ServerEvent,
|
|
38
|
+
D as SkillLevel,
|
|
39
|
+
h as StreamingFunctionCallUpdateContent,
|
|
40
|
+
x as StreamingReasoningContent,
|
|
41
|
+
f as StreamingResponse,
|
|
42
|
+
z as StreamingTextContent,
|
|
43
|
+
I as TextContent,
|
|
44
|
+
U as createEventSerializer,
|
|
42
45
|
F as createStreamingResponseSerializer,
|
|
43
46
|
L as deserializeEvent,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
_ as deserializePayload,
|
|
48
|
+
N as getConnectionStateColor,
|
|
49
|
+
b as getModelVendor,
|
|
50
|
+
J as isDetachedRunActiveStatus,
|
|
51
|
+
K as isDetachedRunSettledStatus,
|
|
52
|
+
V as isDetachedRunTerminalStatus,
|
|
53
|
+
W as isDetachedRunWaitingForInput,
|
|
49
54
|
P as sanitizeJsonString,
|
|
50
|
-
|
|
55
|
+
k as serializeEvent,
|
|
56
|
+
G as toInteractionOrigin
|
|
51
57
|
};
|
|
52
58
|
//# sourceMappingURL=models.js.map
|