@fencyai/react 0.1.175 → 0.1.177
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/agent-task/AgentTaskEventDataSchemas.d.ts +258 -0
- package/dist/agent-task/AgentTaskEventDataSchemas.d.ts.map +1 -0
- package/dist/agent-task/AgentTaskProgressVerbose.d.ts.map +1 -1
- package/dist/agent-task/ProgressItemErrorBoundary.d.ts +19 -0
- package/dist/agent-task/ProgressItemErrorBoundary.d.ts.map +1 -0
- package/dist/agent-task/data-types/MemoryChatGoogleSearch.d.ts +6 -4
- package/dist/agent-task/data-types/MemoryChatGoogleSearch.d.ts.map +1 -1
- package/dist/agent-task/data-types/MemoryChatScrapeWebsites.d.ts +16 -0
- package/dist/agent-task/data-types/MemoryChatScrapeWebsites.d.ts.map +1 -0
- package/dist/agent-task/data-types/{MemoryChatScrape.d.ts → MemoryChatThinking.d.ts} +4 -4
- package/dist/agent-task/data-types/MemoryChatThinking.d.ts.map +1 -0
- package/dist/agent-task/data-types/StructuredChatCompletionJson.d.ts.map +1 -1
- package/dist/agent-task/translations.d.ts +5 -0
- package/dist/agent-task/translations.d.ts.map +1 -1
- package/dist/hooks/useStream/toStreamData.d.ts.map +1 -1
- package/dist/index.js +1803 -1205
- package/package.json +4 -4
- package/dist/agent-task/data-types/MemoryChatGoogleSearchResult.d.ts +0 -14
- package/dist/agent-task/data-types/MemoryChatGoogleSearchResult.d.ts.map +0 -1
- package/dist/agent-task/data-types/MemoryChatScrape.d.ts.map +0 -1
- package/dist/agent-task/data-types/MemoryChatScrapeResult.d.ts +0 -14
- package/dist/agent-task/data-types/MemoryChatScrapeResult.d.ts.map +0 -1
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { AgentTaskEventData } from '@fencyai/js';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
/** Zod schema matching {@link AgentTaskEventData}; objects use `.passthrough()` for forward-compatible extra fields. */
|
|
4
|
+
export declare const AgentTaskEventDataSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
5
|
+
taskType: z.ZodLiteral<"StreamingChatCompletion">;
|
|
6
|
+
eventType: z.ZodLiteral<"Text">;
|
|
7
|
+
text: z.ZodString;
|
|
8
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
9
|
+
taskType: z.ZodLiteral<"StreamingChatCompletion">;
|
|
10
|
+
eventType: z.ZodLiteral<"Completed">;
|
|
11
|
+
response: z.ZodObject<{
|
|
12
|
+
textResponse: z.ZodString;
|
|
13
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
14
|
+
role: z.ZodEnum<{
|
|
15
|
+
USER: "USER";
|
|
16
|
+
ASSISTANT: "ASSISTANT";
|
|
17
|
+
SYSTEM: "SYSTEM";
|
|
18
|
+
}>;
|
|
19
|
+
content: z.ZodString;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
23
|
+
taskType: z.ZodLiteral<"StreamingChatCompletion">;
|
|
24
|
+
eventType: z.ZodLiteral<"Error">;
|
|
25
|
+
message: z.ZodString;
|
|
26
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
27
|
+
taskType: z.ZodLiteral<"StructuredChatCompletion">;
|
|
28
|
+
eventType: z.ZodLiteral<"Completed">;
|
|
29
|
+
response: z.ZodObject<{
|
|
30
|
+
jsonResponse: z.ZodString;
|
|
31
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
32
|
+
role: z.ZodEnum<{
|
|
33
|
+
USER: "USER";
|
|
34
|
+
ASSISTANT: "ASSISTANT";
|
|
35
|
+
SYSTEM: "SYSTEM";
|
|
36
|
+
}>;
|
|
37
|
+
content: z.ZodString;
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
41
|
+
taskType: z.ZodLiteral<"StructuredChatCompletion">;
|
|
42
|
+
eventType: z.ZodLiteral<"Error">;
|
|
43
|
+
message: z.ZodString;
|
|
44
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
45
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
46
|
+
eventType: z.ZodLiteral<"Text">;
|
|
47
|
+
text: z.ZodString;
|
|
48
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
49
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
50
|
+
eventType: z.ZodLiteral<"Thinking">;
|
|
51
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
52
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
53
|
+
eventType: z.ZodLiteral<"Search">;
|
|
54
|
+
queryDescription: z.ZodString;
|
|
55
|
+
memories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
|
+
memoryId: z.ZodString;
|
|
57
|
+
memoryTitle: z.ZodString;
|
|
58
|
+
}, z.core.$loose>>>;
|
|
59
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
60
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
61
|
+
eventType: z.ZodLiteral<"FindMemories">;
|
|
62
|
+
titles: z.ZodArray<z.ZodString>;
|
|
63
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
64
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
65
|
+
eventType: z.ZodLiteral<"FindMemoriesResult">;
|
|
66
|
+
memories: z.ZodArray<z.ZodObject<{
|
|
67
|
+
memoryId: z.ZodString;
|
|
68
|
+
memoryTitle: z.ZodString;
|
|
69
|
+
}, z.core.$loose>>;
|
|
70
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
71
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
72
|
+
eventType: z.ZodLiteral<"ScrapeWebsites">;
|
|
73
|
+
input: z.ZodObject<{
|
|
74
|
+
query: z.ZodString;
|
|
75
|
+
urls: z.ZodArray<z.ZodString>;
|
|
76
|
+
}, z.core.$loose>;
|
|
77
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
78
|
+
url: z.ZodString;
|
|
79
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
80
|
+
downloading: "downloading";
|
|
81
|
+
downloaded: "downloaded";
|
|
82
|
+
analyzing: "analyzing";
|
|
83
|
+
summarizing: "summarizing";
|
|
84
|
+
}>>;
|
|
85
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
86
|
+
error: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$loose>>>;
|
|
88
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
89
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
90
|
+
eventType: z.ZodLiteral<"GoogleSearch">;
|
|
91
|
+
input: z.ZodObject<{
|
|
92
|
+
query: z.ZodString;
|
|
93
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, z.core.$loose>;
|
|
95
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
96
|
+
rank: z.ZodNumber;
|
|
97
|
+
title: z.ZodString;
|
|
98
|
+
link: z.ZodString;
|
|
99
|
+
description: z.ZodString;
|
|
100
|
+
}, z.core.$loose>>>;
|
|
101
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
102
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
103
|
+
eventType: z.ZodLiteral<"FindSources">;
|
|
104
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
105
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
106
|
+
eventType: z.ZodLiteral<"ExploreMemories">;
|
|
107
|
+
memories: z.ZodArray<z.ZodObject<{
|
|
108
|
+
memoryId: z.ZodString;
|
|
109
|
+
memoryTitle: z.ZodString;
|
|
110
|
+
result: z.ZodOptional<z.ZodString>;
|
|
111
|
+
error: z.ZodOptional<z.ZodString>;
|
|
112
|
+
}, z.core.$loose>>;
|
|
113
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
114
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
115
|
+
eventType: z.ZodLiteral<"ChunkResults">;
|
|
116
|
+
items: z.ZodArray<z.ZodObject<{
|
|
117
|
+
memoryId: z.ZodString;
|
|
118
|
+
memoryTitle: z.ZodString;
|
|
119
|
+
memoryTypeId: z.ZodString;
|
|
120
|
+
memoryTypeName: z.ZodString;
|
|
121
|
+
matchingChunkScore: z.ZodNumber;
|
|
122
|
+
matchingChunk: z.ZodObject<{
|
|
123
|
+
chunkNumber: z.ZodNumber;
|
|
124
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
125
|
+
content: z.ZodString;
|
|
126
|
+
}, z.core.$loose>;
|
|
127
|
+
chunks: z.ZodArray<z.ZodObject<{
|
|
128
|
+
chunkNumber: z.ZodNumber;
|
|
129
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
130
|
+
content: z.ZodString;
|
|
131
|
+
relation: z.ZodEnum<{
|
|
132
|
+
MATCH: "MATCH";
|
|
133
|
+
CONTEXT_BEFORE: "CONTEXT_BEFORE";
|
|
134
|
+
CONTEXT_AFTER: "CONTEXT_AFTER";
|
|
135
|
+
}>;
|
|
136
|
+
}, z.core.$loose>>;
|
|
137
|
+
}, z.core.$loose>>;
|
|
138
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
139
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
140
|
+
eventType: z.ZodLiteral<"SourcesResult">;
|
|
141
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
142
|
+
memoryId: z.ZodString;
|
|
143
|
+
memoryTitle: z.ZodString;
|
|
144
|
+
memoryTypeId: z.ZodString;
|
|
145
|
+
memoryTypeName: z.ZodString;
|
|
146
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
147
|
+
}, z.core.$loose>>;
|
|
148
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
149
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
150
|
+
eventType: z.ZodLiteral<"Completed">;
|
|
151
|
+
response: z.ZodObject<{
|
|
152
|
+
textResponse: z.ZodString;
|
|
153
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
154
|
+
memoryId: z.ZodString;
|
|
155
|
+
memoryTitle: z.ZodString;
|
|
156
|
+
memoryTypeId: z.ZodString;
|
|
157
|
+
memoryTypeName: z.ZodString;
|
|
158
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
159
|
+
}, z.core.$loose>>;
|
|
160
|
+
}, z.core.$loose>;
|
|
161
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
162
|
+
taskType: z.ZodLiteral<"MemoryChat">;
|
|
163
|
+
eventType: z.ZodLiteral<"Error">;
|
|
164
|
+
message: z.ZodString;
|
|
165
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
166
|
+
taskType: z.ZodLiteral<"MemorySearch">;
|
|
167
|
+
eventType: z.ZodLiteral<"GeneratingQueries">;
|
|
168
|
+
memoryTypes: z.ZodArray<z.ZodObject<{
|
|
169
|
+
memoryTypeId: z.ZodString;
|
|
170
|
+
memoryTypeName: z.ZodString;
|
|
171
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
172
|
+
reasoningCompleted: z.ZodOptional<z.ZodBoolean>;
|
|
173
|
+
queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
174
|
+
query: z.ZodString;
|
|
175
|
+
}, z.core.$loose>>>;
|
|
176
|
+
}, z.core.$loose>>;
|
|
177
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
178
|
+
taskType: z.ZodLiteral<"MemorySearch">;
|
|
179
|
+
eventType: z.ZodLiteral<"ExploreQueries">;
|
|
180
|
+
queries: z.ZodArray<z.ZodObject<{
|
|
181
|
+
query: z.ZodString;
|
|
182
|
+
memoryTypeId: z.ZodString;
|
|
183
|
+
memoryTypeName: z.ZodString;
|
|
184
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
185
|
+
numberOfChunks: z.ZodNumber;
|
|
186
|
+
highestChunkScore: z.ZodNumber;
|
|
187
|
+
items: z.ZodArray<z.ZodObject<{
|
|
188
|
+
memoryId: z.ZodString;
|
|
189
|
+
memoryTitle: z.ZodString;
|
|
190
|
+
memoryTypeId: z.ZodString;
|
|
191
|
+
memoryTypeName: z.ZodString;
|
|
192
|
+
matchingChunkScore: z.ZodNumber;
|
|
193
|
+
matchingChunk: z.ZodObject<{
|
|
194
|
+
chunkNumber: z.ZodNumber;
|
|
195
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
196
|
+
content: z.ZodString;
|
|
197
|
+
}, z.core.$loose>;
|
|
198
|
+
chunks: z.ZodArray<z.ZodObject<{
|
|
199
|
+
chunkNumber: z.ZodNumber;
|
|
200
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
201
|
+
content: z.ZodString;
|
|
202
|
+
relation: z.ZodEnum<{
|
|
203
|
+
MATCH: "MATCH";
|
|
204
|
+
CONTEXT_BEFORE: "CONTEXT_BEFORE";
|
|
205
|
+
CONTEXT_AFTER: "CONTEXT_AFTER";
|
|
206
|
+
}>;
|
|
207
|
+
}, z.core.$loose>>;
|
|
208
|
+
}, z.core.$loose>>;
|
|
209
|
+
}, z.core.$loose>>;
|
|
210
|
+
error: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, z.core.$loose>>;
|
|
212
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
213
|
+
taskType: z.ZodLiteral<"MemorySearch">;
|
|
214
|
+
eventType: z.ZodLiteral<"SearchMemoryTypes">;
|
|
215
|
+
memoryTypes: z.ZodArray<z.ZodObject<{
|
|
216
|
+
memoryTypeId: z.ZodString;
|
|
217
|
+
memoryTypeName: z.ZodString;
|
|
218
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
numberOfChunks: z.ZodNumber;
|
|
220
|
+
highestChunkScore: z.ZodNumber;
|
|
221
|
+
}, z.core.$loose>>;
|
|
222
|
+
error: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$loose>>;
|
|
224
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
225
|
+
taskType: z.ZodLiteral<"MemorySearch">;
|
|
226
|
+
eventType: z.ZodLiteral<"Completed">;
|
|
227
|
+
response: z.ZodObject<{
|
|
228
|
+
query: z.ZodString;
|
|
229
|
+
items: z.ZodArray<z.ZodObject<{
|
|
230
|
+
memoryId: z.ZodString;
|
|
231
|
+
memoryTitle: z.ZodString;
|
|
232
|
+
memoryTypeId: z.ZodString;
|
|
233
|
+
memoryTypeName: z.ZodString;
|
|
234
|
+
matchingChunkScore: z.ZodNumber;
|
|
235
|
+
matchingChunk: z.ZodObject<{
|
|
236
|
+
chunkNumber: z.ZodNumber;
|
|
237
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
238
|
+
content: z.ZodString;
|
|
239
|
+
}, z.core.$loose>;
|
|
240
|
+
chunks: z.ZodArray<z.ZodObject<{
|
|
241
|
+
chunkNumber: z.ZodNumber;
|
|
242
|
+
pageNumbers: z.ZodArray<z.ZodNumber>;
|
|
243
|
+
content: z.ZodString;
|
|
244
|
+
relation: z.ZodEnum<{
|
|
245
|
+
MATCH: "MATCH";
|
|
246
|
+
CONTEXT_BEFORE: "CONTEXT_BEFORE";
|
|
247
|
+
CONTEXT_AFTER: "CONTEXT_AFTER";
|
|
248
|
+
}>;
|
|
249
|
+
}, z.core.$loose>>;
|
|
250
|
+
}, z.core.$loose>>;
|
|
251
|
+
}, z.core.$loose>;
|
|
252
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
253
|
+
taskType: z.ZodLiteral<"MemorySearch">;
|
|
254
|
+
eventType: z.ZodLiteral<"Error">;
|
|
255
|
+
message: z.ZodString;
|
|
256
|
+
}, z.core.$loose>]>;
|
|
257
|
+
export declare function parseAgentTaskEventData(raw: unknown): AgentTaskEventData | null;
|
|
258
|
+
//# sourceMappingURL=AgentTaskEventDataSchemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentTaskEventDataSchemas.d.ts","sourceRoot":"","sources":["../../src/agent-task/AgentTaskEventDataSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4WvB,wHAAwH;AACxH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAwBnC,CAAA;AAEF,wBAAgB,uBAAuB,CACnC,GAAG,EAAE,OAAO,GACb,kBAAkB,GAAG,IAAI,CAW3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentTaskProgressVerbose.d.ts","sourceRoot":"","sources":["../../src/agent-task/AgentTaskProgressVerbose.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"AgentTaskProgressVerbose.d.ts","sourceRoot":"","sources":["../../src/agent-task/AgentTaskProgressVerbose.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,QAAQ,EAAE,MAAM,aAAa,CAAA;AAG/D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAiBrD,OAAO,KAAK,EACR,uCAAuC,EACvC,2BAA2B,EAC9B,MAAM,+BAA+B,CAAA;AAKtC,MAAM,WAAW,6BAA6B;IAC1C,iBAAiB,EAAE,gBAAgB,EAAE,CAAA;IACrC,0FAA0F;IAC1F,OAAO,EAAE,OAAO,CAAA;IAChB,oEAAoE;IACpE,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,CAAC,EAAE,6BAA6B,CAAA;IAChC,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACvE,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7E,yBAAyB,CAAC,EAAE,CACxB,OAAO,EAAE,uCAAuC,KAC/C,OAAO,CAAC,IAAI,CAAC,CAAA;CACrB;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC3C,6BAA6B,CA4VhC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React, ErrorInfo, ReactNode } from 'react';
|
|
2
|
+
type ProgressItemErrorBoundaryProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
progressItemId: string;
|
|
5
|
+
};
|
|
6
|
+
type ProgressItemErrorBoundaryState = {
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Isolates render failures for a single progress row so one bad item does not crash the whole timeline.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ProgressItemErrorBoundary extends React.Component<ProgressItemErrorBoundaryProps, ProgressItemErrorBoundaryState> {
|
|
13
|
+
constructor(props: ProgressItemErrorBoundaryProps);
|
|
14
|
+
static getDerivedStateFromError(): ProgressItemErrorBoundaryState;
|
|
15
|
+
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
16
|
+
render(): ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=ProgressItemErrorBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressItemErrorBoundary.d.ts","sourceRoot":"","sources":["../../src/agent-task/ProgressItemErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE7D,KAAK,8BAA8B,GAAG;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,KAAK,8BAA8B,GAAG;IAClC,QAAQ,EAAE,OAAO,CAAA;CACpB,CAAA;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,KAAK,CAAC,SAAS,CAC1D,8BAA8B,EAC9B,8BAA8B,CACjC;gBACe,KAAK,EAAE,8BAA8B;IAKjD,MAAM,CAAC,wBAAwB,IAAI,8BAA8B;IAIxD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI;IAStD,MAAM,IAAI,SAAS;CAM/B"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { AgentTaskEventData } from '@fencyai/js';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { AgentTaskProgressTranslations } from '../translations';
|
|
4
|
+
type GoogleSearchData = Extract<AgentTaskEventData, {
|
|
5
|
+
taskType: 'MemoryChat';
|
|
6
|
+
eventType: 'GoogleSearch';
|
|
7
|
+
}>;
|
|
4
8
|
export interface MemoryChatGoogleSearchProps {
|
|
5
|
-
data:
|
|
6
|
-
taskType: 'MemoryChat';
|
|
7
|
-
eventType: 'GoogleSearch';
|
|
8
|
-
}>;
|
|
9
|
+
data: GoogleSearchData;
|
|
9
10
|
isLatest?: boolean;
|
|
10
11
|
durationSeconds?: number;
|
|
11
12
|
t: AgentTaskProgressTranslations;
|
|
12
13
|
}
|
|
13
14
|
export declare const MemoryChatGoogleSearch: React.FC<MemoryChatGoogleSearchProps>;
|
|
15
|
+
export {};
|
|
14
16
|
//# sourceMappingURL=MemoryChatGoogleSearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemoryChatGoogleSearch.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/MemoryChatGoogleSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,
|
|
1
|
+
{"version":3,"file":"MemoryChatGoogleSearch.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/MemoryChatGoogleSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAA;AAGpE,OAAO,0BAA0B,CAAA;AAEjC,KAAK,gBAAgB,GAAG,OAAO,CAC3B,kBAAkB,EAClB;IAAE,QAAQ,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,cAAc,CAAA;CAAE,CACxD,CAAA;AA2GD,MAAM,WAAW,2BAA2B;IACxC,IAAI,EAAE,gBAAgB,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,CAAC,EAAE,6BAA6B,CAAA;CACnC;AA0KD,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAiBxE,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AgentTaskEventData } from '@fencyai/js';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { AgentTaskProgressTranslations } from '../translations';
|
|
4
|
+
type ScrapeWebsitesData = Extract<AgentTaskEventData, {
|
|
5
|
+
taskType: 'MemoryChat';
|
|
6
|
+
eventType: 'ScrapeWebsites';
|
|
7
|
+
}>;
|
|
8
|
+
export interface MemoryChatScrapeWebsitesProps {
|
|
9
|
+
data: ScrapeWebsitesData;
|
|
10
|
+
isLatest?: boolean;
|
|
11
|
+
durationSeconds?: number;
|
|
12
|
+
t: AgentTaskProgressTranslations;
|
|
13
|
+
}
|
|
14
|
+
export declare const MemoryChatScrapeWebsites: React.FC<MemoryChatScrapeWebsitesProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=MemoryChatScrapeWebsites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MemoryChatScrapeWebsites.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/MemoryChatScrapeWebsites.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,KAA+C,MAAM,OAAO,CAAA;AAGnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAA;AAGpE,OAAO,0BAA0B,CAAA;AAEjC,KAAK,kBAAkB,GAAG,OAAO,CAC7B,kBAAkB,EAClB;IAAE,QAAQ,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,gBAAgB,CAAA;CAAE,CAC1D,CAAA;AA6XD,MAAM,WAAW,6BAA6B;IAC1C,IAAI,EAAE,kBAAkB,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,CAAC,EAAE,6BAA6B,CAAA;CACnC;AA+MD,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC3C,6BAA6B,CAmBhC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AgentTaskEventData } from '@fencyai/js';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
import { AgentTaskProgressTranslations } from '../translations';
|
|
4
|
-
export interface
|
|
4
|
+
export interface MemoryChatThinkingProps {
|
|
5
5
|
data: Extract<AgentTaskEventData, {
|
|
6
6
|
taskType: 'MemoryChat';
|
|
7
|
-
eventType: '
|
|
7
|
+
eventType: 'Thinking';
|
|
8
8
|
}>;
|
|
9
9
|
isLatest?: boolean;
|
|
10
10
|
durationSeconds?: number;
|
|
11
11
|
t: AgentTaskProgressTranslations;
|
|
12
12
|
}
|
|
13
|
-
export declare const
|
|
14
|
-
//# sourceMappingURL=
|
|
13
|
+
export declare const MemoryChatThinking: React.FC<MemoryChatThinkingProps>;
|
|
14
|
+
//# sourceMappingURL=MemoryChatThinking.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MemoryChatThinking.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/MemoryChatThinking.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAA;AAGpE,OAAO,0BAA0B,CAAA;AAEjC,MAAM,WAAW,uBAAuB;IACpC,IAAI,EAAE,OAAO,CAAC,kBAAkB,EAAE;QAAE,QAAQ,EAAE,YAAY,CAAC;QAAC,SAAS,EAAE,UAAU,CAAA;KAAE,CAAC,CAAA;IACpF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,CAAC,EAAE,6BAA6B,CAAA;CACnC;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6ChE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructuredChatCompletionJson.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/StructuredChatCompletionJson.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,iCAAiC;IAC9C,IAAI,EAAE,OAAO,CACT,kBAAkB,EAClB;QAAE,QAAQ,EAAE,0BAA0B,CAAC;QAAC,SAAS,EAAE,WAAW,CAAA;KAAE,CACnE,CAAA;CACJ;AAED,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAC/C,iCAAiC,
|
|
1
|
+
{"version":3,"file":"StructuredChatCompletionJson.d.ts","sourceRoot":"","sources":["../../../src/agent-task/data-types/StructuredChatCompletionJson.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,iCAAiC;IAC9C,IAAI,EAAE,OAAO,CACT,kBAAkB,EAClB;QAAE,QAAQ,EAAE,0BAA0B,CAAC;QAAC,SAAS,EAAE,WAAW,CAAA;KAAE,CACnE,CAAA;CACJ;AAED,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAC/C,iCAAiC,CA2BpC,CAAA"}
|
|
@@ -74,6 +74,11 @@ export interface AgentTaskProgressTranslations {
|
|
|
74
74
|
scrapeFailedSuffix: string;
|
|
75
75
|
scrapeOkCount: string;
|
|
76
76
|
scrapeFailedCount: string;
|
|
77
|
+
memoryChatThinking: string;
|
|
78
|
+
scrapeStatusDownloading: string;
|
|
79
|
+
scrapeStatusDownloaded: string;
|
|
80
|
+
scrapeStatusAnalyzing: string;
|
|
81
|
+
scrapeStatusSummarizing: string;
|
|
77
82
|
}
|
|
78
83
|
export declare const agentTaskProgressTranslations: Record<AgentTaskLanguage, AgentTaskProgressTranslations>;
|
|
79
84
|
export declare function getAgentTaskProgressTranslations(language: AgentTaskLanguage): AgentTaskProgressTranslations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../src/agent-task/translations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,WAAW,6BAA6B;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACj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CAC/B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACxC,MAAM,CAKR;AAED,wBAAgB,kBAAkB,CAC9B,MAAM,EAAE,MAAM,EAAE,EAChB,OAAO,CAAC,EAAE,MAAM,GACjB,MAAM,CASR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toStreamData.d.ts","sourceRoot":"","sources":["../../../src/hooks/useStream/toStreamData.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toStreamData.d.ts","sourceRoot":"","sources":["../../../src/hooks/useStream/toStreamData.ts"],"names":[],"mappings":"AASA,OAAO,EAEH,UAAU,EAGb,MAAM,wBAAwB,CAAA;AAE/B,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,KAAG,UAAU,GAAG,IAQxD,CAAA"}
|