@assistant-ui/react 0.5.30 → 0.5.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/EdgeRuntimeRequestOptions-BD0mpoF6.d.mts +412 -0
- package/dist/EdgeRuntimeRequestOptions-BD0mpoF6.d.ts +412 -0
- package/dist/edge.d.mts +261 -3
- package/dist/edge.d.ts +261 -3
- package/dist/edge.js +98 -101
- package/dist/edge.js.map +1 -1
- package/dist/edge.mjs +96 -100
- package/dist/edge.mjs.map +1 -1
- package/dist/index.d.mts +50 -281
- package/dist/index.d.ts +50 -281
- package/dist/index.js +161 -124
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +105 -68
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/dist/AssistantTypes-Bo5YKjhV.d.mts +0 -162
- package/dist/AssistantTypes-Bo5YKjhV.d.ts +0 -162
package/dist/index.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import { ComponentType, PropsWithChildren, ComponentPropsWithoutRef, FC, ElementType, ReactNode } from 'react';
|
3
|
-
import { T as ThreadAssistantContentPart, M as MessageStatus, a as ThreadRoundtrip, b as ThreadMessage, c as ModelConfig, d as ModelConfigProvider, e as TextContentPart, C as ContentPartStatus, I as ImageContentPart, U as UIContentPart, f as ToolCallContentPart, g as ToolCallContentPartStatus, h as CoreMessage, A as AppendMessage, i as Tool, j as CoreToolCallContentPart } from './
|
4
|
-
export { p as CoreAssistantContentPart, s as CoreAssistantMessage, q as CoreSystemMessage, o as CoreUserContentPart, r as CoreUserMessage, m as ThreadAssistantMessage, l as ThreadSystemMessage, k as ThreadUserContentPart, n as ThreadUserMessage } from './
|
3
|
+
import { T as ThreadAssistantContentPart, M as MessageStatus, a as ThreadRoundtrip, b as ThreadMessage, c as ModelConfig, d as ModelConfigProvider, e as TextContentPart, C as ContentPartStatus, I as ImageContentPart, U as UIContentPart, f as ToolCallContentPart, g as ToolCallContentPartStatus, h as CoreMessage, A as AppendMessage, i as Tool, j as CoreToolCallContentPart } from './EdgeRuntimeRequestOptions-BD0mpoF6.js';
|
4
|
+
export { p as CoreAssistantContentPart, s as CoreAssistantMessage, q as CoreSystemMessage, o as CoreUserContentPart, r as CoreUserMessage, E as EdgeRuntimeRequestOptions, m as ThreadAssistantMessage, l as ThreadSystemMessage, k as ThreadUserContentPart, n as ThreadUserMessage } from './EdgeRuntimeRequestOptions-BD0mpoF6.js';
|
5
5
|
import { UseBoundStore, StoreApi } from 'zustand';
|
6
6
|
import { Primitive } from '@radix-ui/react-primitive';
|
7
7
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
8
8
|
import * as react_textarea_autosize from 'react-textarea-autosize';
|
9
9
|
import { TextareaAutosizeProps } from 'react-textarea-autosize';
|
10
10
|
import { LanguageModelV1Message, LanguageModelV1FunctionTool } from '@ai-sdk/provider';
|
11
|
-
import { JSONSchema7 } from 'json-schema';
|
12
|
-
import { z } from 'zod';
|
13
11
|
import * as class_variance_authority from 'class-variance-authority';
|
14
12
|
import { VariantProps } from 'class-variance-authority';
|
15
13
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
14
|
+
import 'zod';
|
15
|
+
import 'json-schema';
|
16
16
|
|
17
17
|
type Unsubscribe = () => void;
|
18
18
|
|
@@ -125,6 +125,10 @@ declare class LocalThreadRuntime implements ThreadRuntime {
|
|
125
125
|
}>;
|
126
126
|
readonly isDisabled = false;
|
127
127
|
get messages(): ThreadMessage[];
|
128
|
+
readonly composer: {
|
129
|
+
text: string;
|
130
|
+
setText: (value: string) => void;
|
131
|
+
};
|
128
132
|
constructor(configProvider: ModelConfigProvider, adapter: ChatModelAdapter, options?: LocalRuntimeOptions | undefined);
|
129
133
|
getBranches(messageId: string): string[];
|
130
134
|
switchToBranch(branchId: string): void;
|
@@ -204,256 +208,6 @@ declare class EdgeChatAdapter implements ChatModelAdapter {
|
|
204
208
|
type EdgeRuntimeOptions = EdgeChatAdapterOptions & LocalRuntimeOptions;
|
205
209
|
declare const useEdgeRuntime: ({ initialMessages, ...options }: EdgeRuntimeOptions) => LocalRuntime;
|
206
210
|
|
207
|
-
declare const EdgeRuntimeRequestOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
208
|
-
system: z.ZodOptional<z.ZodString>;
|
209
|
-
messages: z.ZodArray<z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
210
|
-
role: z.ZodLiteral<"system">;
|
211
|
-
content: z.ZodTuple<[z.ZodObject<{
|
212
|
-
type: z.ZodLiteral<"text">;
|
213
|
-
text: z.ZodString;
|
214
|
-
}, "strip", z.ZodTypeAny, {
|
215
|
-
type: "text";
|
216
|
-
text: string;
|
217
|
-
}, {
|
218
|
-
type: "text";
|
219
|
-
text: string;
|
220
|
-
}>], null>;
|
221
|
-
}, "strip", z.ZodTypeAny, {
|
222
|
-
role: "system";
|
223
|
-
content: [{
|
224
|
-
type: "text";
|
225
|
-
text: string;
|
226
|
-
}];
|
227
|
-
}, {
|
228
|
-
role: "system";
|
229
|
-
content: [{
|
230
|
-
type: "text";
|
231
|
-
text: string;
|
232
|
-
}];
|
233
|
-
}>, z.ZodObject<{
|
234
|
-
role: z.ZodLiteral<"user">;
|
235
|
-
content: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
236
|
-
type: z.ZodLiteral<"text">;
|
237
|
-
text: z.ZodString;
|
238
|
-
}, "strip", z.ZodTypeAny, {
|
239
|
-
type: "text";
|
240
|
-
text: string;
|
241
|
-
}, {
|
242
|
-
type: "text";
|
243
|
-
text: string;
|
244
|
-
}>, z.ZodObject<{
|
245
|
-
type: z.ZodLiteral<"image">;
|
246
|
-
image: z.ZodString;
|
247
|
-
}, "strip", z.ZodTypeAny, {
|
248
|
-
type: "image";
|
249
|
-
image: string;
|
250
|
-
}, {
|
251
|
-
type: "image";
|
252
|
-
image: string;
|
253
|
-
}>]>, "many">;
|
254
|
-
}, "strip", z.ZodTypeAny, {
|
255
|
-
role: "user";
|
256
|
-
content: ({
|
257
|
-
type: "text";
|
258
|
-
text: string;
|
259
|
-
} | {
|
260
|
-
type: "image";
|
261
|
-
image: string;
|
262
|
-
})[];
|
263
|
-
}, {
|
264
|
-
role: "user";
|
265
|
-
content: ({
|
266
|
-
type: "text";
|
267
|
-
text: string;
|
268
|
-
} | {
|
269
|
-
type: "image";
|
270
|
-
image: string;
|
271
|
-
})[];
|
272
|
-
}>, z.ZodObject<{
|
273
|
-
role: z.ZodLiteral<"assistant">;
|
274
|
-
content: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
275
|
-
type: z.ZodLiteral<"text">;
|
276
|
-
text: z.ZodString;
|
277
|
-
}, "strip", z.ZodTypeAny, {
|
278
|
-
type: "text";
|
279
|
-
text: string;
|
280
|
-
}, {
|
281
|
-
type: "text";
|
282
|
-
text: string;
|
283
|
-
}>, z.ZodObject<{
|
284
|
-
type: z.ZodLiteral<"tool-call">;
|
285
|
-
toolCallId: z.ZodString;
|
286
|
-
toolName: z.ZodString;
|
287
|
-
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
288
|
-
result: z.ZodOptional<z.ZodUnknown>;
|
289
|
-
isError: z.ZodOptional<z.ZodBoolean>;
|
290
|
-
}, "strip", z.ZodTypeAny, {
|
291
|
-
type: "tool-call";
|
292
|
-
toolCallId: string;
|
293
|
-
toolName: string;
|
294
|
-
args: Record<string, unknown>;
|
295
|
-
result?: unknown;
|
296
|
-
isError?: boolean | undefined;
|
297
|
-
}, {
|
298
|
-
type: "tool-call";
|
299
|
-
toolCallId: string;
|
300
|
-
toolName: string;
|
301
|
-
args: Record<string, unknown>;
|
302
|
-
result?: unknown;
|
303
|
-
isError?: boolean | undefined;
|
304
|
-
}>]>, "many">;
|
305
|
-
}, "strip", z.ZodTypeAny, {
|
306
|
-
role: "assistant";
|
307
|
-
content: ({
|
308
|
-
type: "text";
|
309
|
-
text: string;
|
310
|
-
} | {
|
311
|
-
type: "tool-call";
|
312
|
-
toolCallId: string;
|
313
|
-
toolName: string;
|
314
|
-
args: Record<string, unknown>;
|
315
|
-
result?: unknown;
|
316
|
-
isError?: boolean | undefined;
|
317
|
-
})[];
|
318
|
-
}, {
|
319
|
-
role: "assistant";
|
320
|
-
content: ({
|
321
|
-
type: "text";
|
322
|
-
text: string;
|
323
|
-
} | {
|
324
|
-
type: "tool-call";
|
325
|
-
toolCallId: string;
|
326
|
-
toolName: string;
|
327
|
-
args: Record<string, unknown>;
|
328
|
-
result?: unknown;
|
329
|
-
isError?: boolean | undefined;
|
330
|
-
})[];
|
331
|
-
}>]>, "many">;
|
332
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
333
|
-
type: z.ZodLiteral<"function">;
|
334
|
-
name: z.ZodString;
|
335
|
-
description: z.ZodOptional<z.ZodString>;
|
336
|
-
parameters: z.ZodType<JSONSchema7, z.ZodTypeDef, JSONSchema7>;
|
337
|
-
}, "strip", z.ZodTypeAny, {
|
338
|
-
type: "function";
|
339
|
-
name: string;
|
340
|
-
parameters: JSONSchema7;
|
341
|
-
description?: string | undefined;
|
342
|
-
}, {
|
343
|
-
type: "function";
|
344
|
-
name: string;
|
345
|
-
parameters: JSONSchema7;
|
346
|
-
description?: string | undefined;
|
347
|
-
}>, "many">>;
|
348
|
-
}, {
|
349
|
-
maxTokens: z.ZodOptional<z.ZodNumber>;
|
350
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
351
|
-
topP: z.ZodOptional<z.ZodNumber>;
|
352
|
-
presencePenalty: z.ZodOptional<z.ZodNumber>;
|
353
|
-
frequencyPenalty: z.ZodOptional<z.ZodNumber>;
|
354
|
-
seed: z.ZodOptional<z.ZodNumber>;
|
355
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
356
|
-
}>, {
|
357
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
358
|
-
baseUrl: z.ZodOptional<z.ZodString>;
|
359
|
-
modelName: z.ZodOptional<z.ZodString>;
|
360
|
-
}>, "strip", z.ZodTypeAny, {
|
361
|
-
messages: ({
|
362
|
-
role: "user";
|
363
|
-
content: ({
|
364
|
-
type: "text";
|
365
|
-
text: string;
|
366
|
-
} | {
|
367
|
-
type: "image";
|
368
|
-
image: string;
|
369
|
-
})[];
|
370
|
-
} | {
|
371
|
-
role: "assistant";
|
372
|
-
content: ({
|
373
|
-
type: "text";
|
374
|
-
text: string;
|
375
|
-
} | {
|
376
|
-
type: "tool-call";
|
377
|
-
toolCallId: string;
|
378
|
-
toolName: string;
|
379
|
-
args: Record<string, unknown>;
|
380
|
-
result?: unknown;
|
381
|
-
isError?: boolean | undefined;
|
382
|
-
})[];
|
383
|
-
} | {
|
384
|
-
role: "system";
|
385
|
-
content: [{
|
386
|
-
type: "text";
|
387
|
-
text: string;
|
388
|
-
}];
|
389
|
-
})[];
|
390
|
-
maxTokens?: number | undefined;
|
391
|
-
temperature?: number | undefined;
|
392
|
-
topP?: number | undefined;
|
393
|
-
presencePenalty?: number | undefined;
|
394
|
-
frequencyPenalty?: number | undefined;
|
395
|
-
seed?: number | undefined;
|
396
|
-
headers?: Record<string, string | undefined> | undefined;
|
397
|
-
apiKey?: string | undefined;
|
398
|
-
baseUrl?: string | undefined;
|
399
|
-
modelName?: string | undefined;
|
400
|
-
system?: string | undefined;
|
401
|
-
tools?: {
|
402
|
-
type: "function";
|
403
|
-
name: string;
|
404
|
-
parameters: JSONSchema7;
|
405
|
-
description?: string | undefined;
|
406
|
-
}[] | undefined;
|
407
|
-
}, {
|
408
|
-
messages: ({
|
409
|
-
role: "user";
|
410
|
-
content: ({
|
411
|
-
type: "text";
|
412
|
-
text: string;
|
413
|
-
} | {
|
414
|
-
type: "image";
|
415
|
-
image: string;
|
416
|
-
})[];
|
417
|
-
} | {
|
418
|
-
role: "assistant";
|
419
|
-
content: ({
|
420
|
-
type: "text";
|
421
|
-
text: string;
|
422
|
-
} | {
|
423
|
-
type: "tool-call";
|
424
|
-
toolCallId: string;
|
425
|
-
toolName: string;
|
426
|
-
args: Record<string, unknown>;
|
427
|
-
result?: unknown;
|
428
|
-
isError?: boolean | undefined;
|
429
|
-
})[];
|
430
|
-
} | {
|
431
|
-
role: "system";
|
432
|
-
content: [{
|
433
|
-
type: "text";
|
434
|
-
text: string;
|
435
|
-
}];
|
436
|
-
})[];
|
437
|
-
maxTokens?: number | undefined;
|
438
|
-
temperature?: number | undefined;
|
439
|
-
topP?: number | undefined;
|
440
|
-
presencePenalty?: number | undefined;
|
441
|
-
frequencyPenalty?: number | undefined;
|
442
|
-
seed?: number | undefined;
|
443
|
-
headers?: Record<string, string | undefined> | undefined;
|
444
|
-
apiKey?: string | undefined;
|
445
|
-
baseUrl?: string | undefined;
|
446
|
-
modelName?: string | undefined;
|
447
|
-
system?: string | undefined;
|
448
|
-
tools?: {
|
449
|
-
type: "function";
|
450
|
-
name: string;
|
451
|
-
parameters: JSONSchema7;
|
452
|
-
description?: string | undefined;
|
453
|
-
}[] | undefined;
|
454
|
-
}>;
|
455
|
-
type EdgeRuntimeRequestOptions = z.infer<typeof EdgeRuntimeRequestOptionsSchema>;
|
456
|
-
|
457
211
|
type ThreadMessageLike = {
|
458
212
|
role: "assistant" | "user" | "system";
|
459
213
|
content: (TextContentPart | ImageContentPart | ToolCallContentPart<any, any> | CoreToolCallContentPart<any, any> | UIContentPart)[];
|
@@ -564,19 +318,19 @@ declare class ExternalStoreThreadRuntime implements ReactThreadRuntime {
|
|
564
318
|
private _subscriptions;
|
565
319
|
private repository;
|
566
320
|
private assistantOptimisticId;
|
567
|
-
|
568
|
-
|
569
|
-
edit: boolean;
|
570
|
-
reload: boolean;
|
571
|
-
cancel: boolean;
|
572
|
-
copy: boolean;
|
573
|
-
};
|
321
|
+
private _capabilities;
|
322
|
+
get capabilities(): RuntimeCapabilities;
|
574
323
|
messages: ThreadMessage[];
|
575
324
|
isDisabled: boolean;
|
576
325
|
converter: ThreadMessageConverter;
|
577
326
|
private _store;
|
327
|
+
readonly composer: {
|
328
|
+
text: string;
|
329
|
+
setText: (value: string) => void;
|
330
|
+
};
|
578
331
|
constructor(store: ExternalStoreAdapter<any>);
|
579
332
|
set store(store: ExternalStoreAdapter<any>);
|
333
|
+
private notifySubscribers;
|
580
334
|
getBranches(messageId: string): string[];
|
581
335
|
switchToBranch(branchId: string): void;
|
582
336
|
append(message: AppendMessage): Promise<void>;
|
@@ -602,11 +356,11 @@ declare const getExternalStoreMessage: <T>(message: ThreadMessage) => T | undefi
|
|
602
356
|
|
603
357
|
type ThreadRuntimeStore = ThreadRuntime;
|
604
358
|
|
605
|
-
type
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
}
|
359
|
+
type ThreadState = Readonly<{
|
360
|
+
capabilities: Readonly<RuntimeCapabilities>;
|
361
|
+
isRunning: boolean;
|
362
|
+
isDisabled: boolean;
|
363
|
+
}>;
|
610
364
|
type RuntimeCapabilities = {
|
611
365
|
switchToBranch: boolean;
|
612
366
|
edit: boolean;
|
@@ -614,8 +368,13 @@ type RuntimeCapabilities = {
|
|
614
368
|
cancel: boolean;
|
615
369
|
copy: boolean;
|
616
370
|
};
|
371
|
+
|
372
|
+
type AddToolResultOptions = {
|
373
|
+
messageId: string;
|
374
|
+
toolCallId: string;
|
375
|
+
result: any;
|
376
|
+
};
|
617
377
|
type ThreadActionsState = Readonly<{
|
618
|
-
capabilities: Readonly<RuntimeCapabilities>;
|
619
378
|
getBranches: (messageId: string) => readonly string[];
|
620
379
|
switchToBranch: (branchId: string) => void;
|
621
380
|
append: (message: AppendMessage) => void;
|
@@ -624,11 +383,19 @@ type ThreadActionsState = Readonly<{
|
|
624
383
|
addToolResult: (options: AddToolResultOptions) => void;
|
625
384
|
}>;
|
626
385
|
|
627
|
-
type ThreadRuntime =
|
386
|
+
type ThreadRuntime = ThreadActionsState & Readonly<{
|
387
|
+
composer: ThreadRuntime.Composer;
|
388
|
+
capabilities: Readonly<RuntimeCapabilities>;
|
628
389
|
isDisabled: boolean;
|
629
390
|
messages: readonly ThreadMessage[];
|
630
391
|
subscribe: (callback: () => void) => Unsubscribe;
|
631
392
|
}>;
|
393
|
+
declare namespace ThreadRuntime {
|
394
|
+
type Composer = Readonly<{
|
395
|
+
text: string;
|
396
|
+
setText: (value: string) => void;
|
397
|
+
}>;
|
398
|
+
}
|
632
399
|
|
633
400
|
type ThreadRuntimeWithSubscribe = {
|
634
401
|
readonly thread: ThreadRuntime;
|
@@ -658,11 +425,6 @@ type AssistantToolUIsState = Readonly<{
|
|
658
425
|
setToolUI: (toolName: string, render: ToolCallContentPartComponent) => () => void;
|
659
426
|
}>;
|
660
427
|
|
661
|
-
type BaseComposerState = Readonly<{
|
662
|
-
value: string;
|
663
|
-
setValue: (value: string) => void;
|
664
|
-
}>;
|
665
|
-
|
666
428
|
type AssistantContextValue = {
|
667
429
|
useModelConfig: ReadonlyStore<AssistantModelConfigState>;
|
668
430
|
useToolUIs: ReadonlyStore<AssistantToolUIsState>;
|
@@ -673,11 +435,6 @@ declare function useAssistantContext(options: {
|
|
673
435
|
optional: true;
|
674
436
|
}): AssistantContextValue | null;
|
675
437
|
|
676
|
-
type ThreadState = Readonly<{
|
677
|
-
isRunning: boolean;
|
678
|
-
isDisabled: boolean;
|
679
|
-
}>;
|
680
|
-
|
681
438
|
type ThreadViewportState = Readonly<{
|
682
439
|
isAtBottom: boolean;
|
683
440
|
scrollToBottom: () => void;
|
@@ -699,7 +456,13 @@ declare function useThreadContext(options: {
|
|
699
456
|
optional: true;
|
700
457
|
}): ThreadContextValue | null;
|
701
458
|
|
702
|
-
type EditComposerState =
|
459
|
+
type EditComposerState = Readonly<{
|
460
|
+
/** @deprecated Use `text` instead. */
|
461
|
+
value: string;
|
462
|
+
/** @deprecated Use `setText` instead. */
|
463
|
+
setValue: (value: string) => void;
|
464
|
+
text: string;
|
465
|
+
setText: (value: string) => void;
|
703
466
|
canCancel: boolean;
|
704
467
|
isEditing: boolean;
|
705
468
|
edit: () => void;
|
@@ -745,7 +508,13 @@ declare function useContentPartContext(options: {
|
|
745
508
|
optional: true;
|
746
509
|
}): ContentPartContextValue | null;
|
747
510
|
|
748
|
-
type ComposerState =
|
511
|
+
type ComposerState = Readonly<{
|
512
|
+
/** @deprecated Use `text` instead. */
|
513
|
+
value: string;
|
514
|
+
/** @deprecated Use `setText` instead. */
|
515
|
+
setValue: (value: string) => void;
|
516
|
+
text: string;
|
517
|
+
setText: (value: string) => void;
|
749
518
|
canCancel: boolean;
|
750
519
|
isEditing: true;
|
751
520
|
send: () => void;
|
@@ -1401,4 +1170,4 @@ declare const exports: {
|
|
1401
1170
|
Text: FC;
|
1402
1171
|
};
|
1403
1172
|
|
1404
|
-
export { index$6 as ActionBarPrimitive, type ActionBarPrimitiveCopyProps, type ActionBarPrimitiveEditProps, type ActionBarPrimitiveReloadProps, type ActionBarPrimitiveRootProps, type AddToolResultOptions, AppendMessage, _default$9 as AssistantActionBar, type AssistantActionsState, type AssistantContextValue, _default$8 as AssistantMessage, type AssistantMessageConfig, type AssistantMessageContentProps, _default$7 as AssistantModal, index$5 as AssistantModalPrimitive, type AssistantModalPrimitiveContentProps, type AssistantModalPrimitiveRootProps, type AssistantModalPrimitiveTriggerProps, type AssistantModelConfigState, type AssistantRuntime, AssistantRuntimeProvider, type AssistantToolProps, type AssistantToolUIProps, type AssistantToolUIsState, _default$6 as BranchPicker, index$4 as BranchPickerPrimitive, type BranchPickerPrimitiveCountProps, type BranchPickerPrimitiveNextProps, type BranchPickerPrimitiveNumberProps, type BranchPickerPrimitivePreviousProps, type BranchPickerPrimitiveRootProps, type ChatModelAdapter, type ChatModelRunOptions, type ChatModelRunResult, type ChatModelRunUpdate, _default$5 as Composer, type ComposerContextValue, type ComposerInputProps, index$3 as ComposerPrimitive, type ComposerPrimitiveCancelProps, type ComposerPrimitiveIfProps, type ComposerPrimitiveInputProps, type ComposerPrimitiveRootProps, type ComposerPrimitiveSendProps, type ComposerState, exports as ContentPart, type ContentPartContextValue, index$2 as ContentPartPrimitive, type ContentPartPrimitiveDisplayProps, type ContentPartPrimitiveImageProps, type ContentPartPrimitiveInProgressProps, type ContentPartPrimitiveTextProps, type ContentPartState, CoreMessage, EdgeChatAdapter, type EdgeRuntimeOptions,
|
1173
|
+
export { index$6 as ActionBarPrimitive, type ActionBarPrimitiveCopyProps, type ActionBarPrimitiveEditProps, type ActionBarPrimitiveReloadProps, type ActionBarPrimitiveRootProps, type AddToolResultOptions, AppendMessage, _default$9 as AssistantActionBar, type AssistantActionsState, type AssistantContextValue, _default$8 as AssistantMessage, type AssistantMessageConfig, type AssistantMessageContentProps, _default$7 as AssistantModal, index$5 as AssistantModalPrimitive, type AssistantModalPrimitiveContentProps, type AssistantModalPrimitiveRootProps, type AssistantModalPrimitiveTriggerProps, type AssistantModelConfigState, type AssistantRuntime, AssistantRuntimeProvider, type AssistantToolProps, type AssistantToolUIProps, type AssistantToolUIsState, _default$6 as BranchPicker, index$4 as BranchPickerPrimitive, type BranchPickerPrimitiveCountProps, type BranchPickerPrimitiveNextProps, type BranchPickerPrimitiveNumberProps, type BranchPickerPrimitivePreviousProps, type BranchPickerPrimitiveRootProps, type ChatModelAdapter, type ChatModelRunOptions, type ChatModelRunResult, type ChatModelRunUpdate, _default$5 as Composer, type ComposerContextValue, type ComposerInputProps, index$3 as ComposerPrimitive, type ComposerPrimitiveCancelProps, type ComposerPrimitiveIfProps, type ComposerPrimitiveInputProps, type ComposerPrimitiveRootProps, type ComposerPrimitiveSendProps, type ComposerState, exports as ContentPart, type ContentPartContextValue, index$2 as ContentPartPrimitive, type ContentPartPrimitiveDisplayProps, type ContentPartPrimitiveImageProps, type ContentPartPrimitiveInProgressProps, type ContentPartPrimitiveTextProps, type ContentPartState, CoreMessage, EdgeChatAdapter, type EdgeRuntimeOptions, _default$4 as EditComposer, type EditComposerState, type ExternalStoreAdapter, type ExternalStoreMessageConverter, ExternalStoreRuntime, internal as INTERNAL, ImageContentPart, type ImageContentPartComponent, type ImageContentPartProps, type LocalRuntimeOptions, type MessageContextValue, index$1 as MessagePrimitive, type MessagePrimitiveContentProps, type MessagePrimitiveIfProps, type MessagePrimitiveInProgressProps, type MessagePrimitiveRootProps, type MessageState, MessageStatus, type MessageUtilsState, ModelConfig, ModelConfigProvider, type ReactThreadRuntime, StreamUtils, type StringsConfig, type SuggestionConfig, TextContentPart, type TextContentPartComponent, type TextContentPartProps, _default$3 as Thread, type ThreadActionsState, ThreadAssistantContentPart, type ThreadConfig, ThreadConfigProvider, type ThreadConfigProviderProps, type ThreadContextValue, ThreadMessage, type ThreadMessageLike, type ThreadMessagesState, index as ThreadPrimitive, type ThreadPrimitiveEmptyProps, type ThreadPrimitiveIfProps, type ThreadPrimitiveMessagesProps, type ThreadPrimitiveRootProps, type ThreadPrimitiveScrollToBottomProps, type ThreadPrimitiveSuggestionProps, type ThreadPrimitiveViewportProps, type ThreadRootProps, ThreadRuntime, type ThreadState, type ThreadViewportState, _default as ThreadWelcome, type ThreadWelcomeConfig, type ThreadWelcomeMessageProps, type ThreadWelcomeSuggestionProps, Tool, ToolCallContentPart, type ToolCallContentPartComponent, type ToolCallContentPartProps, UIContentPart, type UIContentPartComponent, type UIContentPartProps, type Unsubscribe, type UseActionBarCopyProps, _default$1 as UserActionBar, _default$2 as UserMessage, type UserMessageConfig, type UserMessageContentProps, fromCoreMessage, fromCoreMessages, fromLanguageModelMessages, fromLanguageModelTools, getExternalStoreMessage, makeAssistantTool, makeAssistantToolUI, streamUtils, toCoreMessage, toCoreMessages, toLanguageModelMessages, toLanguageModelTools, useActionBarCopy, useActionBarEdit, useActionBarReload, useAppendMessage, useAssistantContext, useAssistantInstructions, useAssistantTool, useAssistantToolUI, useBranchPickerCount, useBranchPickerNext, useBranchPickerNumber, useBranchPickerPrevious, useComposerCancel, useComposerContext, useComposerIf, useComposerSend, useContentPartContext, useContentPartDisplay, useContentPartImage, useContentPartText, useEdgeRuntime, useExternalStoreRuntime, useLocalRuntime, useMessageContext, useMessageIf, useSwitchToNewThread, useThreadConfig, useThreadContext, useThreadEmpty, useThreadIf, useThreadScrollToBottom, useThreadSuggestion };
|