@superinterface/react 2.15.8 → 2.16.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/dist/index.cjs +910 -496
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +117 -75
- package/dist/index.d.ts +117 -75
- package/dist/index.js +843 -433
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +5 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/server.js.map +1 -1
- package/dist/types/index.cjs +5 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/utils.cjs +5 -1
- package/package.json +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { MessagesPage, SerializedMessage, SerializedRunStep } from './types/index.js';
|
|
2
|
+
import { MessagesPage, SerializedMessage, SerializedRunStep, ToolCall } from './types/index.js';
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
5
|
-
import * as react from 'react';
|
|
6
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
7
5
|
import * as react_hook_form from 'react-hook-form';
|
|
6
|
+
import * as openai_resources_beta_threads_messages from 'openai/resources/beta/threads/messages';
|
|
8
7
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
8
|
+
import * as react from 'react';
|
|
9
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
10
|
+
import * as openai_resources from 'openai/resources';
|
|
9
11
|
import OpenAI from 'openai';
|
|
10
12
|
import * as openai_resources_beta_threads_runs_steps from 'openai/resources/beta/threads/runs/steps';
|
|
11
13
|
|
|
@@ -40,16 +42,8 @@ declare const useSuperinterfaceContext: () => {
|
|
|
40
42
|
queries: Record<string, any>;
|
|
41
43
|
mutations: Record<string, any>;
|
|
42
44
|
};
|
|
43
|
-
threadIdCookieOptions:
|
|
44
|
-
|
|
45
|
-
assistantId: string;
|
|
46
|
-
}) => string | undefined;
|
|
47
|
-
set: ({ assistantId, threadId, }: {
|
|
48
|
-
assistantId: string;
|
|
49
|
-
threadId: string;
|
|
50
|
-
}) => string | undefined;
|
|
51
|
-
} | null;
|
|
52
|
-
createMessageAbortControllerRef: react.MutableRefObject<AbortController | null>;
|
|
45
|
+
threadIdCookieOptions: typeof options | null;
|
|
46
|
+
createMessageAbortControllerRef: React.MutableRefObject<AbortController | null>;
|
|
53
47
|
};
|
|
54
48
|
|
|
55
49
|
type Args$6 = Args$7;
|
|
@@ -59,15 +53,15 @@ type Args$5 = Args$6;
|
|
|
59
53
|
type Args$4 = Omit<Args$5, 'children'>;
|
|
60
54
|
declare const Thread: {
|
|
61
55
|
(props: Args$4): react_jsx_runtime.JSX.Element;
|
|
62
|
-
Root: ({ children, ...rest }: Args$
|
|
56
|
+
Root: ({ children, ...rest }: Args$5) => react_jsx_runtime.JSX.Element;
|
|
63
57
|
Messages: {
|
|
64
58
|
({ children, style, }: {
|
|
65
|
-
children?:
|
|
66
|
-
style?:
|
|
59
|
+
children?: React.ReactNode;
|
|
60
|
+
style?: React.CSSProperties;
|
|
67
61
|
}): react_jsx_runtime.JSX.Element;
|
|
68
62
|
Root: ({ children, style, }: {
|
|
69
|
-
children:
|
|
70
|
-
style?:
|
|
63
|
+
children: React.ReactNode;
|
|
64
|
+
style?: React.CSSProperties;
|
|
71
65
|
}) => react_jsx_runtime.JSX.Element;
|
|
72
66
|
Message: ({ message, }: {
|
|
73
67
|
message: SerializedMessage;
|
|
@@ -77,21 +71,38 @@ declare const Thread: {
|
|
|
77
71
|
MessageForm: {
|
|
78
72
|
(): react_jsx_runtime.JSX.Element;
|
|
79
73
|
Root: ({ children, onSubmit: onSubmitArg, }: {
|
|
80
|
-
children:
|
|
74
|
+
children: React.ReactNode;
|
|
81
75
|
onSubmit?: react_hook_form.SubmitHandler<{
|
|
82
76
|
content: string;
|
|
77
|
+
attachments?: openai_resources_beta_threads_messages.Message.Attachment[];
|
|
83
78
|
} & {
|
|
84
79
|
reset: any;
|
|
85
80
|
createMessage: any;
|
|
86
|
-
}
|
|
81
|
+
}>;
|
|
87
82
|
}) => react_jsx_runtime.JSX.Element;
|
|
88
83
|
Field: {
|
|
89
84
|
Root: ({ children, }: {
|
|
90
|
-
children:
|
|
85
|
+
children: React.ReactNode;
|
|
86
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
87
|
+
Control: {
|
|
88
|
+
(): react_jsx_runtime.JSX.Element;
|
|
89
|
+
Root: ({ children, }: {
|
|
90
|
+
children: React.ReactNode;
|
|
91
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
92
|
+
Input: () => react_jsx_runtime.JSX.Element;
|
|
93
|
+
};
|
|
94
|
+
Files: {
|
|
95
|
+
Preview: () => react_jsx_runtime.JSX.Element | null;
|
|
96
|
+
Control: () => react_jsx_runtime.JSX.Element;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
Submit: {
|
|
100
|
+
(): react_jsx_runtime.JSX.Element;
|
|
101
|
+
Root: ({ children, }: {
|
|
102
|
+
children: React.ReactNode;
|
|
91
103
|
}) => react_jsx_runtime.JSX.Element;
|
|
92
|
-
|
|
104
|
+
Button: () => react_jsx_runtime.JSX.Element;
|
|
93
105
|
};
|
|
94
|
-
Submit: () => react_jsx_runtime.JSX.Element;
|
|
95
106
|
};
|
|
96
107
|
};
|
|
97
108
|
|
|
@@ -104,10 +115,12 @@ declare const useMessages: () => {
|
|
|
104
115
|
isLoading: false;
|
|
105
116
|
isLoadingError: false;
|
|
106
117
|
isRefetchError: true;
|
|
118
|
+
isFetchNextPageError: false;
|
|
119
|
+
isFetchPreviousPageError: false;
|
|
107
120
|
isSuccess: false;
|
|
108
121
|
status: "error";
|
|
109
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions
|
|
110
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions
|
|
122
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
123
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
111
124
|
hasNextPage: boolean;
|
|
112
125
|
hasPreviousPage: boolean;
|
|
113
126
|
isFetchingNextPage: boolean;
|
|
@@ -125,7 +138,7 @@ declare const useMessages: () => {
|
|
|
125
138
|
isPlaceholderData: boolean;
|
|
126
139
|
isRefetching: boolean;
|
|
127
140
|
isStale: boolean;
|
|
128
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions
|
|
141
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
129
142
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
130
143
|
} | {
|
|
131
144
|
messages: SerializedMessage[];
|
|
@@ -136,10 +149,12 @@ declare const useMessages: () => {
|
|
|
136
149
|
isLoading: false;
|
|
137
150
|
isLoadingError: false;
|
|
138
151
|
isRefetchError: false;
|
|
152
|
+
isFetchNextPageError: false;
|
|
153
|
+
isFetchPreviousPageError: false;
|
|
139
154
|
isSuccess: true;
|
|
140
155
|
status: "success";
|
|
141
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions
|
|
142
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions
|
|
156
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
157
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
143
158
|
hasNextPage: boolean;
|
|
144
159
|
hasPreviousPage: boolean;
|
|
145
160
|
isFetchingNextPage: boolean;
|
|
@@ -157,12 +172,12 @@ declare const useMessages: () => {
|
|
|
157
172
|
isPlaceholderData: boolean;
|
|
158
173
|
isRefetching: boolean;
|
|
159
174
|
isStale: boolean;
|
|
160
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions
|
|
175
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
161
176
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
162
177
|
};
|
|
163
178
|
|
|
164
179
|
declare const useMessageContext: () => {
|
|
165
|
-
message:
|
|
180
|
+
message: Message | null;
|
|
166
181
|
};
|
|
167
182
|
|
|
168
183
|
declare const useLatestMessage: () => {
|
|
@@ -175,10 +190,12 @@ declare const useLatestMessage: () => {
|
|
|
175
190
|
isLoading: false;
|
|
176
191
|
isLoadingError: false;
|
|
177
192
|
isRefetchError: true;
|
|
193
|
+
isFetchNextPageError: false;
|
|
194
|
+
isFetchPreviousPageError: false;
|
|
178
195
|
isSuccess: false;
|
|
179
196
|
status: "error";
|
|
180
|
-
fetchNextPage: (options?: _tanstack_query_core.FetchNextPageOptions
|
|
181
|
-
fetchPreviousPage: (options?: _tanstack_query_core.FetchPreviousPageOptions
|
|
197
|
+
fetchNextPage: (options?: _tanstack_query_core.FetchNextPageOptions) => Promise<_tanstack_query_core.InfiniteQueryObserverResult<_tanstack_query_core.InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
198
|
+
fetchPreviousPage: (options?: _tanstack_query_core.FetchPreviousPageOptions) => Promise<_tanstack_query_core.InfiniteQueryObserverResult<_tanstack_query_core.InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
182
199
|
hasNextPage: boolean;
|
|
183
200
|
hasPreviousPage: boolean;
|
|
184
201
|
isFetchingNextPage: boolean;
|
|
@@ -196,7 +213,7 @@ declare const useLatestMessage: () => {
|
|
|
196
213
|
isPlaceholderData: boolean;
|
|
197
214
|
isRefetching: boolean;
|
|
198
215
|
isStale: boolean;
|
|
199
|
-
refetch: (options?: _tanstack_query_core.RefetchOptions
|
|
216
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<_tanstack_query_core.InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
200
217
|
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
201
218
|
} | {
|
|
202
219
|
latestMessage: SerializedMessage;
|
|
@@ -208,10 +225,12 @@ declare const useLatestMessage: () => {
|
|
|
208
225
|
isLoading: false;
|
|
209
226
|
isLoadingError: false;
|
|
210
227
|
isRefetchError: false;
|
|
228
|
+
isFetchNextPageError: false;
|
|
229
|
+
isFetchPreviousPageError: false;
|
|
211
230
|
isSuccess: true;
|
|
212
231
|
status: "success";
|
|
213
|
-
fetchNextPage: (options?: _tanstack_query_core.FetchNextPageOptions
|
|
214
|
-
fetchPreviousPage: (options?: _tanstack_query_core.FetchPreviousPageOptions
|
|
232
|
+
fetchNextPage: (options?: _tanstack_query_core.FetchNextPageOptions) => Promise<_tanstack_query_core.InfiniteQueryObserverResult<_tanstack_query_core.InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
233
|
+
fetchPreviousPage: (options?: _tanstack_query_core.FetchPreviousPageOptions) => Promise<_tanstack_query_core.InfiniteQueryObserverResult<_tanstack_query_core.InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
215
234
|
hasNextPage: boolean;
|
|
216
235
|
hasPreviousPage: boolean;
|
|
217
236
|
isFetchingNextPage: boolean;
|
|
@@ -229,7 +248,7 @@ declare const useLatestMessage: () => {
|
|
|
229
248
|
isPlaceholderData: boolean;
|
|
230
249
|
isRefetching: boolean;
|
|
231
250
|
isStale: boolean;
|
|
232
|
-
refetch: (options?: _tanstack_query_core.RefetchOptions
|
|
251
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<_tanstack_query_core.InfiniteData<TQueryFnData, unknown>, Error>>;
|
|
233
252
|
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
234
253
|
};
|
|
235
254
|
|
|
@@ -312,26 +331,39 @@ declare const useCreateMessage: ({ onError, }?: {
|
|
|
312
331
|
declare const useMessageFormContext: () => {
|
|
313
332
|
isDisabled: boolean;
|
|
314
333
|
isLoading: boolean;
|
|
334
|
+
files: openai_resources.FileObject[];
|
|
335
|
+
setFiles: react.Dispatch<react.SetStateAction<openai_resources.FileObject[]>>;
|
|
336
|
+
isFileLoading: boolean;
|
|
315
337
|
};
|
|
316
338
|
|
|
317
339
|
declare const ThreadDialog: {
|
|
318
340
|
(): react_jsx_runtime.JSX.Element;
|
|
319
341
|
Root: ({ children, }: {
|
|
320
|
-
children:
|
|
321
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
322
|
-
Trigger: ({ children, style, }: {
|
|
323
|
-
children: react.ReactNode;
|
|
324
|
-
style?: react.CSSProperties | undefined;
|
|
342
|
+
children: React.ReactNode;
|
|
325
343
|
}) => react_jsx_runtime.JSX.Element;
|
|
326
|
-
|
|
344
|
+
Trigger: {
|
|
345
|
+
(args: Omit<{
|
|
346
|
+
children: React.ReactNode;
|
|
347
|
+
style?: React.CSSProperties;
|
|
348
|
+
}, "children">): react_jsx_runtime.JSX.Element;
|
|
349
|
+
Root: ({ children, style, }: {
|
|
350
|
+
children: React.ReactNode;
|
|
351
|
+
style?: React.CSSProperties;
|
|
352
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
353
|
+
Button: () => react_jsx_runtime.JSX.Element;
|
|
354
|
+
};
|
|
327
355
|
Content: {
|
|
328
356
|
({ style, }: {
|
|
329
|
-
style?:
|
|
357
|
+
style?: React.CSSProperties;
|
|
330
358
|
}): react_jsx_runtime.JSX.Element;
|
|
331
359
|
Root: ({ children, style, }: {
|
|
332
|
-
children:
|
|
333
|
-
style?:
|
|
360
|
+
children: React.ReactNode;
|
|
361
|
+
style?: React.CSSProperties;
|
|
334
362
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
363
|
+
Messages: () => react_jsx_runtime.JSX.Element;
|
|
364
|
+
FormContainer: ({ children, }: {
|
|
365
|
+
children: React.ReactNode;
|
|
366
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
335
367
|
};
|
|
336
368
|
};
|
|
337
369
|
|
|
@@ -343,21 +375,31 @@ declare const ThreadDialogContext: react.Context<{
|
|
|
343
375
|
declare const AudioThreadDialog: {
|
|
344
376
|
(): react_jsx_runtime.JSX.Element;
|
|
345
377
|
Root: ({ children, }: {
|
|
346
|
-
children:
|
|
347
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
348
|
-
Trigger: ({ children, style, }: {
|
|
349
|
-
children: react.ReactNode;
|
|
350
|
-
style?: react.CSSProperties | undefined;
|
|
378
|
+
children: React.ReactNode;
|
|
351
379
|
}) => react_jsx_runtime.JSX.Element;
|
|
352
|
-
|
|
380
|
+
Trigger: {
|
|
381
|
+
(args: Omit<{
|
|
382
|
+
children: React.ReactNode;
|
|
383
|
+
style?: React.CSSProperties;
|
|
384
|
+
}, "children">): react_jsx_runtime.JSX.Element;
|
|
385
|
+
Root: ({ children, style, }: {
|
|
386
|
+
children: React.ReactNode;
|
|
387
|
+
style?: React.CSSProperties;
|
|
388
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
389
|
+
Button: () => react_jsx_runtime.JSX.Element;
|
|
390
|
+
};
|
|
353
391
|
Content: {
|
|
354
392
|
({ style, }: {
|
|
355
|
-
style?:
|
|
393
|
+
style?: React.CSSProperties;
|
|
356
394
|
}): react_jsx_runtime.JSX.Element;
|
|
357
395
|
Root: ({ children, style, }: {
|
|
358
|
-
children:
|
|
359
|
-
style?:
|
|
396
|
+
children: React.ReactNode;
|
|
397
|
+
style?: React.CSSProperties;
|
|
360
398
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
399
|
+
Messages: () => react_jsx_runtime.JSX.Element;
|
|
400
|
+
FormContainer: ({ children, }: {
|
|
401
|
+
children: React.ReactNode;
|
|
402
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
361
403
|
};
|
|
362
404
|
};
|
|
363
405
|
|
|
@@ -391,7 +433,7 @@ declare const Suggestions: {
|
|
|
391
433
|
onClick: () => void;
|
|
392
434
|
isDisabled: boolean;
|
|
393
435
|
isPending: boolean;
|
|
394
|
-
children:
|
|
436
|
+
children: React.ReactNode;
|
|
395
437
|
}) => react_jsx_runtime.JSX.Element;
|
|
396
438
|
};
|
|
397
439
|
};
|
|
@@ -400,15 +442,15 @@ declare const MarkdownContext: react.Context<{
|
|
|
400
442
|
remarkPlugins: any[];
|
|
401
443
|
rehypeReactOptions: {
|
|
402
444
|
components: {
|
|
403
|
-
p: ({ children }:
|
|
445
|
+
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
404
446
|
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
405
|
-
strong: ({ children }:
|
|
406
|
-
ul: ({ children }:
|
|
407
|
-
ol: ({ children }:
|
|
408
|
-
li: ({ children }:
|
|
409
|
-
pre: ({ children }:
|
|
410
|
-
code: ({ children }:
|
|
411
|
-
img: (props:
|
|
447
|
+
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
448
|
+
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
449
|
+
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
450
|
+
li: ({ children }: JSX.IntrinsicElements["li"]) => react_jsx_runtime.JSX.Element;
|
|
451
|
+
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
452
|
+
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
453
|
+
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
412
454
|
};
|
|
413
455
|
};
|
|
414
456
|
}>;
|
|
@@ -421,15 +463,15 @@ declare const useMarkdownContext: () => {
|
|
|
421
463
|
remarkPlugins: any[];
|
|
422
464
|
rehypeReactOptions: {
|
|
423
465
|
components: {
|
|
424
|
-
p: ({ children }:
|
|
466
|
+
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
425
467
|
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
426
|
-
strong: ({ children }:
|
|
427
|
-
ul: ({ children }:
|
|
428
|
-
ol: ({ children }:
|
|
429
|
-
li: ({ children }:
|
|
430
|
-
pre: ({ children }:
|
|
431
|
-
code: ({ children }:
|
|
432
|
-
img: (props:
|
|
468
|
+
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
469
|
+
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
470
|
+
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
471
|
+
li: ({ children }: JSX.IntrinsicElements["li"]) => react_jsx_runtime.JSX.Element;
|
|
472
|
+
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
473
|
+
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
474
|
+
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
433
475
|
};
|
|
434
476
|
};
|
|
435
477
|
};
|
|
@@ -468,11 +510,11 @@ declare const useComponents: () => {
|
|
|
468
510
|
runStep: SerializedRunStep;
|
|
469
511
|
}): react_jsx_runtime.JSX.Element;
|
|
470
512
|
Root: ({ children, }: {
|
|
471
|
-
children:
|
|
513
|
+
children: React.ReactNode;
|
|
472
514
|
}) => react_jsx_runtime.JSX.Element;
|
|
473
515
|
Starting: () => react_jsx_runtime.JSX.Element;
|
|
474
516
|
ToolCall: ({ toolCall, runStep, }: {
|
|
475
|
-
toolCall:
|
|
517
|
+
toolCall: ToolCall;
|
|
476
518
|
runStep: SerializedRunStep;
|
|
477
519
|
}) => react_jsx_runtime.JSX.Element;
|
|
478
520
|
};
|
|
@@ -491,11 +533,11 @@ declare const RunStep: {
|
|
|
491
533
|
runStep: SerializedRunStep;
|
|
492
534
|
}): react_jsx_runtime.JSX.Element;
|
|
493
535
|
Root: ({ children, }: {
|
|
494
|
-
children:
|
|
536
|
+
children: React.ReactNode;
|
|
495
537
|
}) => react_jsx_runtime.JSX.Element;
|
|
496
538
|
Starting: () => react_jsx_runtime.JSX.Element;
|
|
497
539
|
ToolCall: ({ toolCall, runStep, }: {
|
|
498
|
-
toolCall:
|
|
540
|
+
toolCall: ToolCall;
|
|
499
541
|
runStep: SerializedRunStep;
|
|
500
542
|
}) => react_jsx_runtime.JSX.Element;
|
|
501
543
|
};
|