agentic-ui-libs 0.2.0-beta.5 → 0.2.0-beta.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/data/executionEventsSample.d.ts +62 -238
- package/dist/data/executionEventsSample.d.ts.map +1 -1
- package/dist/features/debug-logs/DebugPanel.d.ts.map +1 -1
- package/dist/features/debug-logs/components/DataViewer.d.ts.map +1 -1
- package/dist/features/debug-logs/components/DebugCard.d.ts.map +1 -1
- package/dist/features/debug-logs/services/TreeBuilder.d.ts +4 -0
- package/dist/features/debug-logs/services/TreeBuilder.d.ts.map +1 -1
- package/dist/features/debug-logs/types.d.ts +3 -1
- package/dist/features/debug-logs/types.d.ts.map +1 -1
- package/dist/index.js +5591 -5461
- package/dist/shared/ui/IconPreview.d.ts.map +1 -1
- package/dist/ui-libs.umd.js +67 -67
- package/package.json +2 -3
|
@@ -15,7 +15,6 @@ export declare const executionEventsSample: ({
|
|
|
15
15
|
status: string;
|
|
16
16
|
input?: undefined;
|
|
17
17
|
output?: undefined;
|
|
18
|
-
metadata?: undefined;
|
|
19
18
|
};
|
|
20
19
|
sessionId: string;
|
|
21
20
|
runId: string;
|
|
@@ -34,7 +33,6 @@ export declare const executionEventsSample: ({
|
|
|
34
33
|
status: string;
|
|
35
34
|
icon?: undefined;
|
|
36
35
|
output?: undefined;
|
|
37
|
-
metadata?: undefined;
|
|
38
36
|
};
|
|
39
37
|
sessionId: string;
|
|
40
38
|
runId: string;
|
|
@@ -62,24 +60,10 @@ export declare const executionEventsSample: ({
|
|
|
62
60
|
total_tokens: number;
|
|
63
61
|
};
|
|
64
62
|
};
|
|
65
|
-
|
|
66
|
-
message?: undefined;
|
|
67
|
-
type?: undefined;
|
|
68
|
-
toolName?: undefined;
|
|
69
|
-
input?: undefined;
|
|
70
|
-
output?: undefined;
|
|
71
|
-
metadata?: undefined;
|
|
72
|
-
};
|
|
63
|
+
}[];
|
|
73
64
|
timestamp: string;
|
|
74
65
|
type: string;
|
|
75
66
|
status: string;
|
|
76
|
-
metadata: {
|
|
77
|
-
usage_metadata: {
|
|
78
|
-
input_tokens: number;
|
|
79
|
-
output_tokens: number;
|
|
80
|
-
total_tokens: number;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
67
|
icon?: undefined;
|
|
84
68
|
input?: undefined;
|
|
85
69
|
};
|
|
@@ -101,68 +85,16 @@ export declare const executionEventsSample: ({
|
|
|
101
85
|
reason: string;
|
|
102
86
|
message: string;
|
|
103
87
|
conversationState: string;
|
|
88
|
+
searchtext?: undefined;
|
|
104
89
|
};
|
|
105
90
|
additional_kwargs: {
|
|
106
91
|
llmUsageMetadata: {
|
|
107
92
|
input_tokens: number;
|
|
108
93
|
output_tokens: number;
|
|
109
94
|
total_tokens: number;
|
|
95
|
+
input_token_details?: undefined;
|
|
110
96
|
};
|
|
111
97
|
};
|
|
112
|
-
conversationState?: undefined;
|
|
113
|
-
message?: undefined;
|
|
114
|
-
};
|
|
115
|
-
timestamp: string;
|
|
116
|
-
type: string;
|
|
117
|
-
status: string;
|
|
118
|
-
icon?: undefined;
|
|
119
|
-
output?: undefined;
|
|
120
|
-
metadata?: undefined;
|
|
121
|
-
};
|
|
122
|
-
sessionId: string;
|
|
123
|
-
runId: string;
|
|
124
|
-
timestamp: string;
|
|
125
|
-
eventType: string;
|
|
126
|
-
} | {
|
|
127
|
-
type: string;
|
|
128
|
-
data: {
|
|
129
|
-
phase: string;
|
|
130
|
-
id: string;
|
|
131
|
-
parentId: string;
|
|
132
|
-
name: string;
|
|
133
|
-
input: {
|
|
134
|
-
conversationState: string;
|
|
135
|
-
message: string;
|
|
136
|
-
name?: undefined;
|
|
137
|
-
tool_call_id?: undefined;
|
|
138
|
-
args?: undefined;
|
|
139
|
-
additional_kwargs?: undefined;
|
|
140
|
-
};
|
|
141
|
-
timestamp: string;
|
|
142
|
-
type: string;
|
|
143
|
-
status: string;
|
|
144
|
-
icon?: undefined;
|
|
145
|
-
output?: undefined;
|
|
146
|
-
metadata?: undefined;
|
|
147
|
-
};
|
|
148
|
-
sessionId: string;
|
|
149
|
-
runId: string;
|
|
150
|
-
timestamp: string;
|
|
151
|
-
eventType: string;
|
|
152
|
-
} | {
|
|
153
|
-
type: string;
|
|
154
|
-
data: {
|
|
155
|
-
phase: string;
|
|
156
|
-
id: string;
|
|
157
|
-
parentId: string;
|
|
158
|
-
name: string;
|
|
159
|
-
output: {
|
|
160
|
-
conversationState: string;
|
|
161
|
-
message: string;
|
|
162
|
-
name?: undefined;
|
|
163
|
-
tool_call_id?: undefined;
|
|
164
|
-
args?: undefined;
|
|
165
|
-
additional_kwargs?: undefined;
|
|
166
98
|
type?: undefined;
|
|
167
99
|
toolName?: undefined;
|
|
168
100
|
input?: undefined;
|
|
@@ -173,8 +105,7 @@ export declare const executionEventsSample: ({
|
|
|
173
105
|
type: string;
|
|
174
106
|
status: string;
|
|
175
107
|
icon?: undefined;
|
|
176
|
-
|
|
177
|
-
metadata?: undefined;
|
|
108
|
+
output?: undefined;
|
|
178
109
|
};
|
|
179
110
|
sessionId: string;
|
|
180
111
|
runId: string;
|
|
@@ -213,79 +144,12 @@ export declare const executionEventsSample: ({
|
|
|
213
144
|
isToolEvent: boolean;
|
|
214
145
|
isOptionalParameter: boolean;
|
|
215
146
|
};
|
|
216
|
-
|
|
217
|
-
tool_call_id?: undefined;
|
|
218
|
-
args?: undefined;
|
|
219
|
-
additional_kwargs?: undefined;
|
|
220
|
-
conversationState?: undefined;
|
|
221
|
-
message?: undefined;
|
|
222
|
-
};
|
|
223
|
-
timestamp: string;
|
|
224
|
-
type: string;
|
|
225
|
-
status: string;
|
|
226
|
-
icon?: undefined;
|
|
227
|
-
input?: undefined;
|
|
228
|
-
metadata?: undefined;
|
|
229
|
-
};
|
|
230
|
-
sessionId: string;
|
|
231
|
-
runId: string;
|
|
232
|
-
timestamp: string;
|
|
233
|
-
eventType: string;
|
|
234
|
-
} | {
|
|
235
|
-
type: string;
|
|
236
|
-
data: {
|
|
237
|
-
phase: string;
|
|
238
|
-
id: string;
|
|
239
|
-
parentId: null;
|
|
240
|
-
name: string;
|
|
147
|
+
}[];
|
|
241
148
|
timestamp: string;
|
|
242
149
|
type: string;
|
|
243
150
|
status: string;
|
|
244
151
|
icon?: undefined;
|
|
245
152
|
input?: undefined;
|
|
246
|
-
output?: undefined;
|
|
247
|
-
metadata?: undefined;
|
|
248
|
-
};
|
|
249
|
-
sessionId: string;
|
|
250
|
-
runId: string;
|
|
251
|
-
timestamp: string;
|
|
252
|
-
eventType: string;
|
|
253
|
-
})[];
|
|
254
|
-
export declare const executionEventsSamples: ({
|
|
255
|
-
type: string;
|
|
256
|
-
data: {
|
|
257
|
-
phase: string;
|
|
258
|
-
id: string;
|
|
259
|
-
parentId: null;
|
|
260
|
-
name: string;
|
|
261
|
-
timestamp: string;
|
|
262
|
-
type: string;
|
|
263
|
-
icon: {
|
|
264
|
-
name: string;
|
|
265
|
-
color: string;
|
|
266
|
-
type: string;
|
|
267
|
-
};
|
|
268
|
-
status: string;
|
|
269
|
-
input?: undefined;
|
|
270
|
-
output?: undefined;
|
|
271
|
-
};
|
|
272
|
-
sessionId: string;
|
|
273
|
-
runId: string;
|
|
274
|
-
timestamp: string;
|
|
275
|
-
eventType: string;
|
|
276
|
-
} | {
|
|
277
|
-
type: string;
|
|
278
|
-
data: {
|
|
279
|
-
phase: string;
|
|
280
|
-
id: string;
|
|
281
|
-
parentId: string;
|
|
282
|
-
name: string;
|
|
283
|
-
input: string;
|
|
284
|
-
timestamp: string;
|
|
285
|
-
type: string;
|
|
286
|
-
status: string;
|
|
287
|
-
icon?: undefined;
|
|
288
|
-
output?: undefined;
|
|
289
153
|
};
|
|
290
154
|
sessionId: string;
|
|
291
155
|
runId: string;
|
|
@@ -302,49 +166,9 @@ export declare const executionEventsSamples: ({
|
|
|
302
166
|
name: string;
|
|
303
167
|
tool_call_id: string;
|
|
304
168
|
args: {
|
|
305
|
-
reason: string;
|
|
306
169
|
message: string;
|
|
307
170
|
conversationState: string;
|
|
308
|
-
searchtext?: undefined;
|
|
309
|
-
};
|
|
310
|
-
additional_kwargs: {
|
|
311
|
-
llmUsageMetadata: {
|
|
312
|
-
input_tokens: number;
|
|
313
|
-
output_tokens: number;
|
|
314
|
-
total_tokens: number;
|
|
315
|
-
input_token_details?: undefined;
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
type?: undefined;
|
|
319
|
-
toolName?: undefined;
|
|
320
|
-
input?: undefined;
|
|
321
|
-
output?: undefined;
|
|
322
|
-
metadata?: undefined;
|
|
323
|
-
};
|
|
324
|
-
timestamp: string;
|
|
325
|
-
type: string;
|
|
326
|
-
status: string;
|
|
327
|
-
icon?: undefined;
|
|
328
|
-
input?: undefined;
|
|
329
|
-
};
|
|
330
|
-
sessionId: string;
|
|
331
|
-
runId: string;
|
|
332
|
-
timestamp: string;
|
|
333
|
-
eventType: string;
|
|
334
|
-
} | {
|
|
335
|
-
type: string;
|
|
336
|
-
data: {
|
|
337
|
-
phase: string;
|
|
338
|
-
id: string;
|
|
339
|
-
parentId: string;
|
|
340
|
-
name: string;
|
|
341
|
-
input: {
|
|
342
|
-
name: string;
|
|
343
|
-
tool_call_id: string;
|
|
344
|
-
args: {
|
|
345
171
|
reason: string;
|
|
346
|
-
message: string;
|
|
347
|
-
conversationState: string;
|
|
348
172
|
searchtext?: undefined;
|
|
349
173
|
};
|
|
350
174
|
additional_kwargs: {
|
|
@@ -365,63 +189,6 @@ export declare const executionEventsSamples: ({
|
|
|
365
189
|
type: string;
|
|
366
190
|
status: string;
|
|
367
191
|
icon?: undefined;
|
|
368
|
-
output?: undefined;
|
|
369
|
-
};
|
|
370
|
-
sessionId: string;
|
|
371
|
-
runId: string;
|
|
372
|
-
timestamp: string;
|
|
373
|
-
eventType: string;
|
|
374
|
-
} | {
|
|
375
|
-
type: string;
|
|
376
|
-
data: {
|
|
377
|
-
phase: string;
|
|
378
|
-
id: string;
|
|
379
|
-
parentId: string;
|
|
380
|
-
name: string;
|
|
381
|
-
output: {
|
|
382
|
-
type: string;
|
|
383
|
-
toolName: string;
|
|
384
|
-
input: {
|
|
385
|
-
reason: string;
|
|
386
|
-
message: string;
|
|
387
|
-
conversationState: string;
|
|
388
|
-
searchtext?: undefined;
|
|
389
|
-
};
|
|
390
|
-
output: {
|
|
391
|
-
conversationState: string;
|
|
392
|
-
message: string;
|
|
393
|
-
kind?: undefined;
|
|
394
|
-
url?: undefined;
|
|
395
|
-
queries?: undefined;
|
|
396
|
-
context?: undefined;
|
|
397
|
-
searchInformation?: undefined;
|
|
398
|
-
items?: undefined;
|
|
399
|
-
};
|
|
400
|
-
metadata: {
|
|
401
|
-
type: string;
|
|
402
|
-
eventType: string;
|
|
403
|
-
eventData: {
|
|
404
|
-
name: string;
|
|
405
|
-
mode: string;
|
|
406
|
-
condition: string;
|
|
407
|
-
to: string;
|
|
408
|
-
type: string;
|
|
409
|
-
_id: string;
|
|
410
|
-
metadata?: undefined;
|
|
411
|
-
};
|
|
412
|
-
isToolEvent: boolean;
|
|
413
|
-
isOptionalParameter: boolean;
|
|
414
|
-
icon?: undefined;
|
|
415
|
-
};
|
|
416
|
-
name?: undefined;
|
|
417
|
-
tool_call_id?: undefined;
|
|
418
|
-
args?: undefined;
|
|
419
|
-
additional_kwargs?: undefined;
|
|
420
|
-
};
|
|
421
|
-
timestamp: string;
|
|
422
|
-
type: string;
|
|
423
|
-
status: string;
|
|
424
|
-
icon?: undefined;
|
|
425
192
|
input?: undefined;
|
|
426
193
|
};
|
|
427
194
|
sessionId: string;
|
|
@@ -1399,5 +1166,62 @@ export declare const executionEventsSamples: ({
|
|
|
1399
1166
|
runId: string;
|
|
1400
1167
|
timestamp: string;
|
|
1401
1168
|
eventType: string;
|
|
1169
|
+
} | {
|
|
1170
|
+
type: string;
|
|
1171
|
+
data: {
|
|
1172
|
+
phase: string;
|
|
1173
|
+
id: string;
|
|
1174
|
+
parentId: string;
|
|
1175
|
+
name: string;
|
|
1176
|
+
output: {
|
|
1177
|
+
type: string;
|
|
1178
|
+
toolName: string;
|
|
1179
|
+
input: {
|
|
1180
|
+
reason: string;
|
|
1181
|
+
conversationState: string;
|
|
1182
|
+
message: string;
|
|
1183
|
+
searchtext?: undefined;
|
|
1184
|
+
};
|
|
1185
|
+
output: {
|
|
1186
|
+
conversationState: string;
|
|
1187
|
+
message: string;
|
|
1188
|
+
kind?: undefined;
|
|
1189
|
+
url?: undefined;
|
|
1190
|
+
queries?: undefined;
|
|
1191
|
+
context?: undefined;
|
|
1192
|
+
searchInformation?: undefined;
|
|
1193
|
+
items?: undefined;
|
|
1194
|
+
};
|
|
1195
|
+
metadata: {
|
|
1196
|
+
type: string;
|
|
1197
|
+
eventType: string;
|
|
1198
|
+
eventData: {
|
|
1199
|
+
name: string;
|
|
1200
|
+
mode: string;
|
|
1201
|
+
condition: string;
|
|
1202
|
+
to: string;
|
|
1203
|
+
type: string;
|
|
1204
|
+
_id: string;
|
|
1205
|
+
metadata?: undefined;
|
|
1206
|
+
};
|
|
1207
|
+
isToolEvent: boolean;
|
|
1208
|
+
isOptionalParameter: boolean;
|
|
1209
|
+
icon?: undefined;
|
|
1210
|
+
};
|
|
1211
|
+
name?: undefined;
|
|
1212
|
+
tool_call_id?: undefined;
|
|
1213
|
+
args?: undefined;
|
|
1214
|
+
additional_kwargs?: undefined;
|
|
1215
|
+
};
|
|
1216
|
+
timestamp: string;
|
|
1217
|
+
type: string;
|
|
1218
|
+
status: string;
|
|
1219
|
+
icon?: undefined;
|
|
1220
|
+
input?: undefined;
|
|
1221
|
+
};
|
|
1222
|
+
sessionId: string;
|
|
1223
|
+
runId: string;
|
|
1224
|
+
timestamp: string;
|
|
1225
|
+
eventType: string;
|
|
1402
1226
|
})[];
|
|
1403
1227
|
//# sourceMappingURL=executionEventsSample.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executionEventsSample.d.ts","sourceRoot":"","sources":["../../src/data/executionEventsSample.ts"],"names":[],"mappings":"AAAA,eAAO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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0gDjC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugPanel.d.ts","sourceRoot":"","sources":["../../../src/features/debug-logs/DebugPanel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,aAAa,EAA4B,MAAM,SAAS,CAAC;AAKnF,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"DebugPanel.d.ts","sourceRoot":"","sources":["../../../src/features/debug-logs/DebugPanel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,aAAa,EAA4B,MAAM,SAAS,CAAC;AAKnF,eAAO,MAAM,UAAU,2GA+WrB,CAAC;AAIH,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataViewer.d.ts","sourceRoot":"","sources":["../../../../src/features/debug-logs/components/DataViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DataViewer.d.ts","sourceRoot":"","sources":["../../../../src/features/debug-logs/components/DataViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAYzE,KAAK,QAAQ,GAAG,aAAa,GAAG,OAAO,CAAC;AAExC,UAAU,eAAe;IACvB,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,QAAQ,CAAC;IAE3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAE5C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA+UD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0OhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugCard.d.ts","sourceRoot":"","sources":["../../../../src/features/debug-logs/components/DebugCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAWpC,UAAU,cAAc;IACtB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC/B;AAID,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,UAAkB,EAClB,WAAW,EACX,eAAe,EAChB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"DebugCard.d.ts","sourceRoot":"","sources":["../../../../src/features/debug-logs/components/DebugCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAWpC,UAAU,cAAc;IACtB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC/B;AAID,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,UAAkB,EAClB,WAAW,EACX,eAAe,EAChB,EAAE,cAAc,2CA8bhB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -27,6 +27,9 @@ export declare class TreeBuilder {
|
|
|
27
27
|
private static extractLLMUsage;
|
|
28
28
|
/**
|
|
29
29
|
* Extract tool invocations and detect if this is a response
|
|
30
|
+
* Handles both single object and array of objects formats:
|
|
31
|
+
* - Single: { "name": "route_to_user", "tool_call_id": "...", ... }
|
|
32
|
+
* - Array: [{ "name": "route_to_user", "tool_call_id": "...", ... }]
|
|
30
33
|
*/
|
|
31
34
|
private static extractToolInvocations;
|
|
32
35
|
/**
|
|
@@ -47,6 +50,7 @@ export declare class TreeBuilder {
|
|
|
47
50
|
private static extractUserInput;
|
|
48
51
|
/**
|
|
49
52
|
* Extract final output from route_to_user tool's message
|
|
53
|
+
* Handles both single object and array formats in output
|
|
50
54
|
*/
|
|
51
55
|
private static extractFinalOutput;
|
|
52
56
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeBuilder.d.ts","sourceRoot":"","sources":["../../../../src/features/debug-logs/services/TreeBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,WAAW,EAAoC,MAAM,UAAU,CAAC;AAE5G,qBAAa,WAAW;IACtB;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,cAAc,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,WAAW;IAoBlF;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAc/B;;OAEG;IACH,OAAO,CAAC,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AW;IAMpH;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,cAAc,EAAE,cAAc,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CASpG"}
|
|
@@ -19,7 +19,8 @@ export interface LLMUsageMetadata {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
export interface ToolInvocation {
|
|
22
|
-
name
|
|
22
|
+
name?: string;
|
|
23
|
+
toolName?: string;
|
|
23
24
|
tool_call_id: string;
|
|
24
25
|
args: any;
|
|
25
26
|
additional_kwargs?: {
|
|
@@ -33,6 +34,7 @@ export interface ExecutionEvent {
|
|
|
33
34
|
id: string;
|
|
34
35
|
parentId: string | null;
|
|
35
36
|
name: string;
|
|
37
|
+
toolName: string;
|
|
36
38
|
timestamp: string;
|
|
37
39
|
type: 'Agent' | 'llm' | 'tool';
|
|
38
40
|
status: 'running' | 'completed' | 'failed';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/debug-logs/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,aAAa,GAAG,WAAW,GAAG,KAAK,CAAC;CACtF;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,cAAc,CAAC,EAAE,MA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