@agno-hq/chat-react 0.3.1 → 0.3.2
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/chat/index.cjs +82 -82
- package/dist/chat/index.d.cts +5 -2
- package/dist/chat/index.d.ts +5 -2
- package/dist/chat/index.js +1 -1
- package/dist/{chunk-JEPFGKHH.cjs → chunk-Q73XHL35.cjs} +19 -17
- package/dist/chunk-Q73XHL35.cjs.map +1 -0
- package/dist/{chunk-BZC2674Z.js → chunk-XTP3TMEZ.js} +20 -18
- package/dist/chunk-XTP3TMEZ.js.map +1 -0
- package/dist/index.cjs +83 -83
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-BZC2674Z.js.map +0 -1
- package/dist/chunk-JEPFGKHH.cjs.map +0 -1
package/dist/chat/index.cjs
CHANGED
|
@@ -1,334 +1,334 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkQ73XHL35_cjs = require('../chunk-Q73XHL35.cjs');
|
|
5
5
|
require('../chunk-55HQJGLP.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "AgnoChat", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkQ73XHL35_cjs.AgnoChat; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "AgnoMark", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkQ73XHL35_cjs.AgnoMark; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ArrowUp", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkQ73XHL35_cjs.ArrowUp; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "BehindTheScenes", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkQ73XHL35_cjs.BehindTheScenes; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "BookOpen", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkQ73XHL35_cjs.BookOpen; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Box", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkQ73XHL35_cjs.Box; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "Brain", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkQ73XHL35_cjs.Brain; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "ChatBubble", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkQ73XHL35_cjs.ChatBubble; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "ChatInput", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkQ73XHL35_cjs.ChatInput; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "ChatLauncher", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkQ73XHL35_cjs.ChatLauncher; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "ChatProvider", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkQ73XHL35_cjs.ChatProvider; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "ChatWindow", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkQ73XHL35_cjs.ChatWindow; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "Check", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkQ73XHL35_cjs.Check; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "ChevronDown", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkQ73XHL35_cjs.ChevronDown; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "Citations", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkQ73XHL35_cjs.Citations; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "Close", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkQ73XHL35_cjs.Close; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "Copy", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkQ73XHL35_cjs.Copy; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "EntityBadge", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkQ73XHL35_cjs.EntityBadge; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "EntitySelector", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkQ73XHL35_cjs.EntitySelector; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "EventLog", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkQ73XHL35_cjs.EventLog; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "Favicon", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkQ73XHL35_cjs.Favicon; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "FileAudio", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkQ73XHL35_cjs.FileAudio; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "FileIcon", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkQ73XHL35_cjs.FileIcon; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "FilePreview", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkQ73XHL35_cjs.FilePreview; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "FileType", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkQ73XHL35_cjs.FileType; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "FileVideo", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkQ73XHL35_cjs.FileVideo; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "Followups", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkQ73XHL35_cjs.Followups; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "Globe", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkQ73XHL35_cjs.Globe; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "GridLoader", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkQ73XHL35_cjs.GridLoader; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "HoverPreview", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkQ73XHL35_cjs.HoverPreview; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "HumanInput", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkQ73XHL35_cjs.HumanInput; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "LinkIcon", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkQ73XHL35_cjs.LinkIcon; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "LinkPreviewCard", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkQ73XHL35_cjs.LinkPreviewCard; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "Markdown", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkQ73XHL35_cjs.Markdown; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "MemberResponses", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkQ73XHL35_cjs.MemberResponses; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "Memory", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkQ73XHL35_cjs.Memory; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "Message", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkQ73XHL35_cjs.Message; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "MessageList", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkQ73XHL35_cjs.MessageList; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "Multimedia", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkQ73XHL35_cjs.Multimedia; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "Paperclip", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkQ73XHL35_cjs.Paperclip; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "Plus", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkQ73XHL35_cjs.Plus; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "Pulse", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkQ73XHL35_cjs.Pulse; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "QuickPrompts", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkQ73XHL35_cjs.QuickPrompts; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "Reasoning", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkQ73XHL35_cjs.Reasoning; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "Rerun", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkQ73XHL35_cjs.Rerun; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "SessionList", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkQ73XHL35_cjs.SessionList; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "SourceCard", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkQ73XHL35_cjs.SourceCard; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "SourcesProvider", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkQ73XHL35_cjs.SourcesProvider; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "Spinner", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkQ73XHL35_cjs.Spinner; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "StatusIndicator", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkQ73XHL35_cjs.StatusIndicator; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "Stop", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkQ73XHL35_cjs.Stop; }
|
|
212
212
|
});
|
|
213
213
|
Object.defineProperty(exports, "TeamGlyph", {
|
|
214
214
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkQ73XHL35_cjs.TeamGlyph; }
|
|
216
216
|
});
|
|
217
217
|
Object.defineProperty(exports, "ToolCalls", {
|
|
218
218
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkQ73XHL35_cjs.ToolCalls; }
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(exports, "Trash", {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkQ73XHL35_cjs.Trash; }
|
|
224
224
|
});
|
|
225
225
|
Object.defineProperty(exports, "WorkflowSteps", {
|
|
226
226
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkQ73XHL35_cjs.WorkflowSteps; }
|
|
228
228
|
});
|
|
229
229
|
Object.defineProperty(exports, "Wrench", {
|
|
230
230
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkQ73XHL35_cjs.Wrench; }
|
|
232
232
|
});
|
|
233
233
|
Object.defineProperty(exports, "admitFiles", {
|
|
234
234
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkQ73XHL35_cjs.admitFiles; }
|
|
236
236
|
});
|
|
237
237
|
Object.defineProperty(exports, "behindTheScenesItems", {
|
|
238
238
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkQ73XHL35_cjs.behindTheScenesItems; }
|
|
240
240
|
});
|
|
241
241
|
Object.defineProperty(exports, "behindTheScenesLabel", {
|
|
242
242
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkQ73XHL35_cjs.behindTheScenesLabel; }
|
|
244
244
|
});
|
|
245
245
|
Object.defineProperty(exports, "collectSources", {
|
|
246
246
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkQ73XHL35_cjs.collectSources; }
|
|
248
248
|
});
|
|
249
249
|
Object.defineProperty(exports, "displayUrl", {
|
|
250
250
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
251
|
+
get: function () { return chunkQ73XHL35_cjs.displayUrl; }
|
|
252
252
|
});
|
|
253
253
|
Object.defineProperty(exports, "faviconUrl", {
|
|
254
254
|
enumerable: true,
|
|
255
|
-
get: function () { return
|
|
255
|
+
get: function () { return chunkQ73XHL35_cjs.faviconUrl; }
|
|
256
256
|
});
|
|
257
257
|
Object.defineProperty(exports, "fileAccepted", {
|
|
258
258
|
enumerable: true,
|
|
259
|
-
get: function () { return
|
|
259
|
+
get: function () { return chunkQ73XHL35_cjs.fileAccepted; }
|
|
260
260
|
});
|
|
261
261
|
Object.defineProperty(exports, "getProviderIcon", {
|
|
262
262
|
enumerable: true,
|
|
263
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkQ73XHL35_cjs.getProviderIcon; }
|
|
264
264
|
});
|
|
265
265
|
Object.defineProperty(exports, "hasBehindTheScenes", {
|
|
266
266
|
enumerable: true,
|
|
267
|
-
get: function () { return
|
|
267
|
+
get: function () { return chunkQ73XHL35_cjs.hasBehindTheScenes; }
|
|
268
268
|
});
|
|
269
269
|
Object.defineProperty(exports, "linkCitations", {
|
|
270
270
|
enumerable: true,
|
|
271
|
-
get: function () { return
|
|
271
|
+
get: function () { return chunkQ73XHL35_cjs.linkCitations; }
|
|
272
272
|
});
|
|
273
273
|
Object.defineProperty(exports, "normalizeFollowups", {
|
|
274
274
|
enumerable: true,
|
|
275
|
-
get: function () { return
|
|
275
|
+
get: function () { return chunkQ73XHL35_cjs.normalizeFollowups; }
|
|
276
276
|
});
|
|
277
277
|
Object.defineProperty(exports, "quickPromptLabel", {
|
|
278
278
|
enumerable: true,
|
|
279
|
-
get: function () { return
|
|
279
|
+
get: function () { return chunkQ73XHL35_cjs.quickPromptLabel; }
|
|
280
280
|
});
|
|
281
281
|
Object.defineProperty(exports, "quickPromptText", {
|
|
282
282
|
enumerable: true,
|
|
283
|
-
get: function () { return
|
|
283
|
+
get: function () { return chunkQ73XHL35_cjs.quickPromptText; }
|
|
284
284
|
});
|
|
285
285
|
Object.defineProperty(exports, "sourceHost", {
|
|
286
286
|
enumerable: true,
|
|
287
|
-
get: function () { return
|
|
287
|
+
get: function () { return chunkQ73XHL35_cjs.sourceHost; }
|
|
288
288
|
});
|
|
289
289
|
Object.defineProperty(exports, "sourcesFromMarkdown", {
|
|
290
290
|
enumerable: true,
|
|
291
|
-
get: function () { return
|
|
291
|
+
get: function () { return chunkQ73XHL35_cjs.sourcesFromMarkdown; }
|
|
292
292
|
});
|
|
293
293
|
Object.defineProperty(exports, "useAgnoChat", {
|
|
294
294
|
enumerable: true,
|
|
295
|
-
get: function () { return
|
|
295
|
+
get: function () { return chunkQ73XHL35_cjs.useAgnoChat; }
|
|
296
296
|
});
|
|
297
297
|
Object.defineProperty(exports, "useChatContext", {
|
|
298
298
|
enumerable: true,
|
|
299
|
-
get: function () { return
|
|
299
|
+
get: function () { return chunkQ73XHL35_cjs.useChatContext; }
|
|
300
300
|
});
|
|
301
301
|
Object.defineProperty(exports, "useLinkComponent", {
|
|
302
302
|
enumerable: true,
|
|
303
|
-
get: function () { return
|
|
303
|
+
get: function () { return chunkQ73XHL35_cjs.useLinkComponent; }
|
|
304
304
|
});
|
|
305
305
|
Object.defineProperty(exports, "useLinkPreview", {
|
|
306
306
|
enumerable: true,
|
|
307
|
-
get: function () { return
|
|
307
|
+
get: function () { return chunkQ73XHL35_cjs.useLinkPreview; }
|
|
308
308
|
});
|
|
309
309
|
Object.defineProperty(exports, "useOptionalChatContext", {
|
|
310
310
|
enumerable: true,
|
|
311
|
-
get: function () { return
|
|
311
|
+
get: function () { return chunkQ73XHL35_cjs.useOptionalChatContext; }
|
|
312
312
|
});
|
|
313
313
|
Object.defineProperty(exports, "useResolvedChat", {
|
|
314
314
|
enumerable: true,
|
|
315
|
-
get: function () { return
|
|
315
|
+
get: function () { return chunkQ73XHL35_cjs.useResolvedChat; }
|
|
316
316
|
});
|
|
317
317
|
Object.defineProperty(exports, "useResolvedClassNames", {
|
|
318
318
|
enumerable: true,
|
|
319
|
-
get: function () { return
|
|
319
|
+
get: function () { return chunkQ73XHL35_cjs.useResolvedClassNames; }
|
|
320
320
|
});
|
|
321
321
|
Object.defineProperty(exports, "useSources", {
|
|
322
322
|
enumerable: true,
|
|
323
|
-
get: function () { return
|
|
323
|
+
get: function () { return chunkQ73XHL35_cjs.useSources; }
|
|
324
324
|
});
|
|
325
325
|
Object.defineProperty(exports, "withoutSourcesLine", {
|
|
326
326
|
enumerable: true,
|
|
327
|
-
get: function () { return
|
|
327
|
+
get: function () { return chunkQ73XHL35_cjs.withoutSourcesLine; }
|
|
328
328
|
});
|
|
329
329
|
Object.defineProperty(exports, "writeClipboard", {
|
|
330
330
|
enumerable: true,
|
|
331
|
-
get: function () { return
|
|
331
|
+
get: function () { return chunkQ73XHL35_cjs.writeClipboard; }
|
|
332
332
|
});
|
|
333
333
|
//# sourceMappingURL=index.cjs.map
|
|
334
334
|
//# sourceMappingURL=index.cjs.map
|
package/dist/chat/index.d.cts
CHANGED
|
@@ -1321,8 +1321,11 @@ declare const Pulse: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
|
1321
1321
|
declare const Trash: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1322
1322
|
declare const ChatBubble: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1323
1323
|
declare const Spinner: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1324
|
-
/**
|
|
1325
|
-
|
|
1324
|
+
/**
|
|
1325
|
+
* The stop control: AgentOS's `square-stop`, a small outlined square in the
|
|
1326
|
+
* same button the arrow sends from — 10.67px in a 32px or 24px button.
|
|
1327
|
+
*/
|
|
1328
|
+
declare const Stop: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1326
1329
|
/** The Agno mark — used as the agent avatar, exactly as in AgentOS. */
|
|
1327
1330
|
declare function AgnoMark({ size, className }: IconProps): React$1.ReactElement;
|
|
1328
1331
|
/** The AgentOS `team` glyph, drawn in the current colour. */
|
package/dist/chat/index.d.ts
CHANGED
|
@@ -1321,8 +1321,11 @@ declare const Pulse: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
|
1321
1321
|
declare const Trash: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1322
1322
|
declare const ChatBubble: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1323
1323
|
declare const Spinner: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1324
|
-
/**
|
|
1325
|
-
|
|
1324
|
+
/**
|
|
1325
|
+
* The stop control: AgentOS's `square-stop`, a small outlined square in the
|
|
1326
|
+
* same button the arrow sends from — 10.67px in a 32px or 24px button.
|
|
1327
|
+
*/
|
|
1328
|
+
declare const Stop: ({ size, className }: IconProps) => React$1.ReactElement;
|
|
1326
1329
|
/** The Agno mark — used as the agent avatar, exactly as in AgentOS. */
|
|
1327
1330
|
declare function AgnoMark({ size, className }: IconProps): React$1.ReactElement;
|
|
1328
1331
|
/** The AgentOS `team` glyph, drawn in the current colour. */
|
package/dist/chat/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AgnoChat, AgnoMark, ArrowUp, BehindTheScenes, BookOpen, Box, Brain, ChatBubble, ChatInput, ChatLauncher, ChatProvider, ChatWindow, Check, ChevronDown, Citations, Close, Copy, EntityBadge, EntitySelector, EventLog, Favicon, FileAudio, FileIcon, FilePreview, FileType, FileVideo, Followups, Globe, GridLoader, HoverPreview, HumanInput, LinkIcon, LinkPreviewCard, Markdown, MemberResponses, Memory, Message, MessageList, Multimedia, Paperclip, Plus, Pulse, QuickPrompts, Reasoning, Rerun, SessionList, SourceCard, SourcesProvider, Spinner, StatusIndicator, Stop, TeamGlyph, ToolCalls, Trash, WorkflowSteps, Wrench, admitFiles, behindTheScenesItems, behindTheScenesLabel, collectSources, displayUrl, faviconUrl, fileAccepted, getProviderIcon, hasBehindTheScenes, linkCitations, normalizeFollowups, quickPromptLabel, quickPromptText, sourceHost, sourcesFromMarkdown, useAgnoChat, useChatContext, useLinkComponent, useLinkPreview, useOptionalChatContext, useResolvedChat, useResolvedClassNames, useSources, withoutSourcesLine, writeClipboard } from '../chunk-
|
|
2
|
+
export { AgnoChat, AgnoMark, ArrowUp, BehindTheScenes, BookOpen, Box, Brain, ChatBubble, ChatInput, ChatLauncher, ChatProvider, ChatWindow, Check, ChevronDown, Citations, Close, Copy, EntityBadge, EntitySelector, EventLog, Favicon, FileAudio, FileIcon, FilePreview, FileType, FileVideo, Followups, Globe, GridLoader, HoverPreview, HumanInput, LinkIcon, LinkPreviewCard, Markdown, MemberResponses, Memory, Message, MessageList, Multimedia, Paperclip, Plus, Pulse, QuickPrompts, Reasoning, Rerun, SessionList, SourceCard, SourcesProvider, Spinner, StatusIndicator, Stop, TeamGlyph, ToolCalls, Trash, WorkflowSteps, Wrench, admitFiles, behindTheScenesItems, behindTheScenesLabel, collectSources, displayUrl, faviconUrl, fileAccepted, getProviderIcon, hasBehindTheScenes, linkCitations, normalizeFollowups, quickPromptLabel, quickPromptText, sourceHost, sourcesFromMarkdown, useAgnoChat, useChatContext, useLinkComponent, useLinkPreview, useOptionalChatContext, useResolvedChat, useResolvedClassNames, useSources, withoutSourcesLine, writeClipboard } from '../chunk-XTP3TMEZ.js';
|
|
3
3
|
import '../chunk-6V2YIPHF.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -662,9 +662,7 @@ var Pulse = icon(lucideReact.Activity);
|
|
|
662
662
|
var Trash = icon(lucideReact.Trash2);
|
|
663
663
|
var ChatBubble = icon(lucideReact.MessageSquare);
|
|
664
664
|
var Spinner = icon(lucideReact.LoaderCircle, 12);
|
|
665
|
-
|
|
666
|
-
return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { size, className, fill: "currentColor", strokeWidth: 0 });
|
|
667
|
-
}
|
|
665
|
+
var Stop = icon(lucideReact.Square, 10.67);
|
|
668
666
|
function AgnoMark({ size = 24, className }) {
|
|
669
667
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
670
668
|
"svg",
|
|
@@ -1100,15 +1098,18 @@ function ChatInput({
|
|
|
1100
1098
|
}
|
|
1101
1099
|
)
|
|
1102
1100
|
] });
|
|
1103
|
-
const primary = isBusy && stop ?
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1101
|
+
const primary = isBusy && stop ? (
|
|
1102
|
+
// The same button the arrow sends from, with AgentOS's square-stop in it.
|
|
1103
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1104
|
+
"button",
|
|
1105
|
+
{
|
|
1106
|
+
type: "button",
|
|
1107
|
+
className: cx("agno-btn", "agno-btn--icon", cn.stopButton),
|
|
1108
|
+
onClick: stop,
|
|
1109
|
+
"aria-label": "Stop",
|
|
1110
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Stop, {})
|
|
1111
|
+
}
|
|
1112
|
+
)
|
|
1112
1113
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1113
1114
|
"button",
|
|
1114
1115
|
{
|
|
@@ -2630,10 +2631,11 @@ function Message({
|
|
|
2630
2631
|
}, [message.references, message.citations, message.content, uid]);
|
|
2631
2632
|
const isUser = message.role === "user";
|
|
2632
2633
|
const isAgent = message.role === "agent";
|
|
2633
|
-
const
|
|
2634
|
+
const hasSources = isAgent && !hideSources && sources.length > 0;
|
|
2635
|
+
const showSources = hasSources && !message.streaming;
|
|
2634
2636
|
const content = React7.useMemo(
|
|
2635
|
-
() =>
|
|
2636
|
-
[message.content,
|
|
2637
|
+
() => hasSources && message.content ? withoutSourcesLine(message.content) : message.content,
|
|
2638
|
+
[message.content, hasSources]
|
|
2637
2639
|
);
|
|
2638
2640
|
const hasActivity = !message.content && !hasBehindTheScenes(message, { hideReasoning, hideTools });
|
|
2639
2641
|
const kind = isUser ? "user" : isAgent ? entityType : "system";
|
|
@@ -3584,5 +3586,5 @@ exports.useResolvedClassNames = useResolvedClassNames;
|
|
|
3584
3586
|
exports.useSources = useSources;
|
|
3585
3587
|
exports.withoutSourcesLine = withoutSourcesLine;
|
|
3586
3588
|
exports.writeClipboard = writeClipboard;
|
|
3587
|
-
//# sourceMappingURL=chunk-
|
|
3588
|
-
//# sourceMappingURL=chunk-
|
|
3589
|
+
//# sourceMappingURL=chunk-Q73XHL35.cjs.map
|
|
3590
|
+
//# sourceMappingURL=chunk-Q73XHL35.cjs.map
|