@superinterface/react 2.15.9 → 2.16.1
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 +902 -495
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +77 -41
- package/dist/index.d.ts +77 -41
- package/dist/index.js +840 -433
- package/dist/index.js.map +1 -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/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { MessagesPage, SerializedMessage, SerializedRunStep } from './types/index.cjs';
|
|
2
|
+
import { MessagesPage, SerializedMessage, SerializedRunStep, ToolCall } from './types/index.cjs';
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
5
5
|
import * as react_hook_form from 'react-hook-form';
|
|
6
|
+
import * as openai_resources_beta_threads_messages from 'openai/resources/beta/threads/messages';
|
|
6
7
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
7
8
|
import * as react from 'react';
|
|
8
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
|
|
|
@@ -72,6 +74,7 @@ declare const Thread: {
|
|
|
72
74
|
children: React.ReactNode;
|
|
73
75
|
onSubmit?: react_hook_form.SubmitHandler<{
|
|
74
76
|
content: string;
|
|
77
|
+
attachments?: openai_resources_beta_threads_messages.Message.Attachment[];
|
|
75
78
|
} & {
|
|
76
79
|
reset: any;
|
|
77
80
|
createMessage: any;
|
|
@@ -81,9 +84,25 @@ declare const Thread: {
|
|
|
81
84
|
Root: ({ children, }: {
|
|
82
85
|
children: React.ReactNode;
|
|
83
86
|
}) => react_jsx_runtime.JSX.Element;
|
|
84
|
-
Control:
|
|
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;
|
|
103
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
104
|
+
Button: () => react_jsx_runtime.JSX.Element;
|
|
85
105
|
};
|
|
86
|
-
Submit: () => react_jsx_runtime.JSX.Element;
|
|
87
106
|
};
|
|
88
107
|
};
|
|
89
108
|
|
|
@@ -312,6 +331,9 @@ 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: {
|
|
@@ -319,11 +341,17 @@ declare const ThreadDialog: {
|
|
|
319
341
|
Root: ({ children, }: {
|
|
320
342
|
children: React.ReactNode;
|
|
321
343
|
}) => react_jsx_runtime.JSX.Element;
|
|
322
|
-
Trigger:
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
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
357
|
style?: React.CSSProperties;
|
|
@@ -332,6 +360,10 @@ declare const ThreadDialog: {
|
|
|
332
360
|
children: React.ReactNode;
|
|
333
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
|
|
|
@@ -345,11 +377,17 @@ declare const AudioThreadDialog: {
|
|
|
345
377
|
Root: ({ children, }: {
|
|
346
378
|
children: React.ReactNode;
|
|
347
379
|
}) => react_jsx_runtime.JSX.Element;
|
|
348
|
-
Trigger:
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
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
393
|
style?: React.CSSProperties;
|
|
@@ -358,6 +396,10 @@ declare const AudioThreadDialog: {
|
|
|
358
396
|
children: React.ReactNode;
|
|
359
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
|
|
|
@@ -397,19 +439,16 @@ declare const Suggestions: {
|
|
|
397
439
|
};
|
|
398
440
|
|
|
399
441
|
declare const MarkdownContext: react.Context<{
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
411
|
-
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
412
|
-
};
|
|
442
|
+
components: {
|
|
443
|
+
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
444
|
+
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
445
|
+
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
446
|
+
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
447
|
+
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
448
|
+
li: ({ children }: JSX.IntrinsicElements["li"]) => react_jsx_runtime.JSX.Element;
|
|
449
|
+
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
450
|
+
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
451
|
+
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
413
452
|
};
|
|
414
453
|
}>;
|
|
415
454
|
|
|
@@ -418,19 +457,16 @@ declare const MarkdownProvider: ({ children, ...rest }: {
|
|
|
418
457
|
}) => react_jsx_runtime.JSX.Element;
|
|
419
458
|
|
|
420
459
|
declare const useMarkdownContext: () => {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
432
|
-
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
433
|
-
};
|
|
460
|
+
components: {
|
|
461
|
+
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
462
|
+
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
463
|
+
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
464
|
+
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
465
|
+
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
466
|
+
li: ({ children }: JSX.IntrinsicElements["li"]) => react_jsx_runtime.JSX.Element;
|
|
467
|
+
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
468
|
+
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
469
|
+
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
434
470
|
};
|
|
435
471
|
};
|
|
436
472
|
|
|
@@ -472,7 +508,7 @@ declare const useComponents: () => {
|
|
|
472
508
|
}) => react_jsx_runtime.JSX.Element;
|
|
473
509
|
Starting: () => react_jsx_runtime.JSX.Element;
|
|
474
510
|
ToolCall: ({ toolCall, runStep, }: {
|
|
475
|
-
toolCall:
|
|
511
|
+
toolCall: ToolCall;
|
|
476
512
|
runStep: SerializedRunStep;
|
|
477
513
|
}) => react_jsx_runtime.JSX.Element;
|
|
478
514
|
};
|
|
@@ -495,7 +531,7 @@ declare const RunStep: {
|
|
|
495
531
|
}) => react_jsx_runtime.JSX.Element;
|
|
496
532
|
Starting: () => react_jsx_runtime.JSX.Element;
|
|
497
533
|
ToolCall: ({ toolCall, runStep, }: {
|
|
498
|
-
toolCall:
|
|
534
|
+
toolCall: ToolCall;
|
|
499
535
|
runStep: SerializedRunStep;
|
|
500
536
|
}) => react_jsx_runtime.JSX.Element;
|
|
501
537
|
};
|
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
5
|
import * as react_hook_form from 'react-hook-form';
|
|
6
|
+
import * as openai_resources_beta_threads_messages from 'openai/resources/beta/threads/messages';
|
|
6
7
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
7
8
|
import * as react from 'react';
|
|
8
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
|
|
|
@@ -72,6 +74,7 @@ declare const Thread: {
|
|
|
72
74
|
children: React.ReactNode;
|
|
73
75
|
onSubmit?: react_hook_form.SubmitHandler<{
|
|
74
76
|
content: string;
|
|
77
|
+
attachments?: openai_resources_beta_threads_messages.Message.Attachment[];
|
|
75
78
|
} & {
|
|
76
79
|
reset: any;
|
|
77
80
|
createMessage: any;
|
|
@@ -81,9 +84,25 @@ declare const Thread: {
|
|
|
81
84
|
Root: ({ children, }: {
|
|
82
85
|
children: React.ReactNode;
|
|
83
86
|
}) => react_jsx_runtime.JSX.Element;
|
|
84
|
-
Control:
|
|
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;
|
|
103
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
104
|
+
Button: () => react_jsx_runtime.JSX.Element;
|
|
85
105
|
};
|
|
86
|
-
Submit: () => react_jsx_runtime.JSX.Element;
|
|
87
106
|
};
|
|
88
107
|
};
|
|
89
108
|
|
|
@@ -312,6 +331,9 @@ 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: {
|
|
@@ -319,11 +341,17 @@ declare const ThreadDialog: {
|
|
|
319
341
|
Root: ({ children, }: {
|
|
320
342
|
children: React.ReactNode;
|
|
321
343
|
}) => react_jsx_runtime.JSX.Element;
|
|
322
|
-
Trigger:
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
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
357
|
style?: React.CSSProperties;
|
|
@@ -332,6 +360,10 @@ declare const ThreadDialog: {
|
|
|
332
360
|
children: React.ReactNode;
|
|
333
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
|
|
|
@@ -345,11 +377,17 @@ declare const AudioThreadDialog: {
|
|
|
345
377
|
Root: ({ children, }: {
|
|
346
378
|
children: React.ReactNode;
|
|
347
379
|
}) => react_jsx_runtime.JSX.Element;
|
|
348
|
-
Trigger:
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
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
393
|
style?: React.CSSProperties;
|
|
@@ -358,6 +396,10 @@ declare const AudioThreadDialog: {
|
|
|
358
396
|
children: React.ReactNode;
|
|
359
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
|
|
|
@@ -397,19 +439,16 @@ declare const Suggestions: {
|
|
|
397
439
|
};
|
|
398
440
|
|
|
399
441
|
declare const MarkdownContext: react.Context<{
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
411
|
-
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
412
|
-
};
|
|
442
|
+
components: {
|
|
443
|
+
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
444
|
+
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
445
|
+
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
446
|
+
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
447
|
+
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
448
|
+
li: ({ children }: JSX.IntrinsicElements["li"]) => react_jsx_runtime.JSX.Element;
|
|
449
|
+
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
450
|
+
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
451
|
+
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
413
452
|
};
|
|
414
453
|
}>;
|
|
415
454
|
|
|
@@ -418,19 +457,16 @@ declare const MarkdownProvider: ({ children, ...rest }: {
|
|
|
418
457
|
}) => react_jsx_runtime.JSX.Element;
|
|
419
458
|
|
|
420
459
|
declare const useMarkdownContext: () => {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
432
|
-
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
433
|
-
};
|
|
460
|
+
components: {
|
|
461
|
+
p: ({ children }: JSX.IntrinsicElements["p"]) => react_jsx_runtime.JSX.Element;
|
|
462
|
+
a: ({ children, href }: react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => react_jsx_runtime.JSX.Element;
|
|
463
|
+
strong: ({ children }: JSX.IntrinsicElements["strong"]) => react_jsx_runtime.JSX.Element;
|
|
464
|
+
ul: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
465
|
+
ol: ({ children }: JSX.IntrinsicElements["ul"]) => react_jsx_runtime.JSX.Element;
|
|
466
|
+
li: ({ children }: JSX.IntrinsicElements["li"]) => react_jsx_runtime.JSX.Element;
|
|
467
|
+
pre: ({ children }: JSX.IntrinsicElements["pre"]) => react_jsx_runtime.JSX.Element;
|
|
468
|
+
code: ({ children }: JSX.IntrinsicElements["code"]) => react_jsx_runtime.JSX.Element;
|
|
469
|
+
img: (props: JSX.IntrinsicElements["img"]) => react_jsx_runtime.JSX.Element;
|
|
434
470
|
};
|
|
435
471
|
};
|
|
436
472
|
|
|
@@ -472,7 +508,7 @@ declare const useComponents: () => {
|
|
|
472
508
|
}) => react_jsx_runtime.JSX.Element;
|
|
473
509
|
Starting: () => react_jsx_runtime.JSX.Element;
|
|
474
510
|
ToolCall: ({ toolCall, runStep, }: {
|
|
475
|
-
toolCall:
|
|
511
|
+
toolCall: ToolCall;
|
|
476
512
|
runStep: SerializedRunStep;
|
|
477
513
|
}) => react_jsx_runtime.JSX.Element;
|
|
478
514
|
};
|
|
@@ -495,7 +531,7 @@ declare const RunStep: {
|
|
|
495
531
|
}) => react_jsx_runtime.JSX.Element;
|
|
496
532
|
Starting: () => react_jsx_runtime.JSX.Element;
|
|
497
533
|
ToolCall: ({ toolCall, runStep, }: {
|
|
498
|
-
toolCall:
|
|
534
|
+
toolCall: ToolCall;
|
|
499
535
|
runStep: SerializedRunStep;
|
|
500
536
|
}) => react_jsx_runtime.JSX.Element;
|
|
501
537
|
};
|