@assistant-ui/react 0.5.60 → 0.5.62
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{edge-eV0d_Sqj.d.mts → edge-D7ch2oPK.d.mts} +7 -1
- package/dist/{edge-eV0d_Sqj.d.ts → edge-D7ch2oPK.d.ts} +7 -1
- package/dist/index.d.mts +449 -393
- package/dist/index.d.ts +449 -393
- package/dist/index.js +4364 -3855
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4409 -3900
- package/dist/index.mjs.map +1 -1
- package/dist/styles/index.css +10 -0
- package/dist/styles/index.css.map +1 -1
- package/dist/styles/tailwindcss/thread.css +1 -1
- package/package.json +1 -1
@@ -81,16 +81,22 @@ type MessageStatus = {
|
|
81
81
|
type ThreadSystemMessage = MessageCommonProps & {
|
82
82
|
role: "system";
|
83
83
|
content: [TextContentPart];
|
84
|
+
status?: undefined;
|
85
|
+
attachments?: undefined;
|
86
|
+
metadata?: undefined;
|
84
87
|
};
|
85
88
|
type ThreadUserMessage = MessageCommonProps & {
|
86
89
|
role: "user";
|
87
90
|
content: ThreadUserContentPart[];
|
88
91
|
attachments: readonly MessageAttachment[];
|
92
|
+
status?: undefined;
|
93
|
+
metadata?: undefined;
|
89
94
|
};
|
90
95
|
type ThreadAssistantMessage = MessageCommonProps & {
|
91
96
|
role: "assistant";
|
92
97
|
content: ThreadAssistantContentPart[];
|
93
98
|
status: MessageStatus;
|
99
|
+
attachments?: undefined;
|
94
100
|
/**
|
95
101
|
* @deprecated Use `metadata.roundtrips` instead.
|
96
102
|
*/
|
@@ -458,4 +464,4 @@ declare const createEdgeRuntimeAPI: (options: CreateEdgeRuntimeAPIOptions) => {
|
|
458
464
|
POST: (request: Request) => Promise<Response>;
|
459
465
|
};
|
460
466
|
|
461
|
-
export { type AppendMessage as A, type ContentPartStatus as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type
|
467
|
+
export { type AppendMessage as A, type ContentPartStatus as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type ModelConfig as M, type TextContentPart as T, type UIContentPart as U, type ToolCallContentPart as a, type ToolCallContentPartStatus as b, type ThreadMessage as c, type CoreMessage as d, type ThreadComposerAttachment as e, type ModelConfigProvider as f, type ThreadAssistantContentPart as g, type MessageStatus as h, type ThreadRoundtrip as i, type MessageAttachment as j, type Tool as k, type CoreToolCallContentPart as l, type CreateEdgeRuntimeAPIOptions as m, type ThreadUserContentPart as n, type ThreadSystemMessage as o, type ThreadAssistantMessage as p, type ThreadUserMessage as q, type CoreUserContentPart as r, type CoreAssistantContentPart as s, type CoreSystemMessage as t, type CoreUserMessage as u, type CoreAssistantMessage as v, createEdgeRuntimeAPI as w, getEdgeRuntimeResponse as x };
|
@@ -81,16 +81,22 @@ type MessageStatus = {
|
|
81
81
|
type ThreadSystemMessage = MessageCommonProps & {
|
82
82
|
role: "system";
|
83
83
|
content: [TextContentPart];
|
84
|
+
status?: undefined;
|
85
|
+
attachments?: undefined;
|
86
|
+
metadata?: undefined;
|
84
87
|
};
|
85
88
|
type ThreadUserMessage = MessageCommonProps & {
|
86
89
|
role: "user";
|
87
90
|
content: ThreadUserContentPart[];
|
88
91
|
attachments: readonly MessageAttachment[];
|
92
|
+
status?: undefined;
|
93
|
+
metadata?: undefined;
|
89
94
|
};
|
90
95
|
type ThreadAssistantMessage = MessageCommonProps & {
|
91
96
|
role: "assistant";
|
92
97
|
content: ThreadAssistantContentPart[];
|
93
98
|
status: MessageStatus;
|
99
|
+
attachments?: undefined;
|
94
100
|
/**
|
95
101
|
* @deprecated Use `metadata.roundtrips` instead.
|
96
102
|
*/
|
@@ -458,4 +464,4 @@ declare const createEdgeRuntimeAPI: (options: CreateEdgeRuntimeAPIOptions) => {
|
|
458
464
|
POST: (request: Request) => Promise<Response>;
|
459
465
|
};
|
460
466
|
|
461
|
-
export { type AppendMessage as A, type ContentPartStatus as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type
|
467
|
+
export { type AppendMessage as A, type ContentPartStatus as C, type EdgeRuntimeRequestOptions as E, type ImageContentPart as I, type ModelConfig as M, type TextContentPart as T, type UIContentPart as U, type ToolCallContentPart as a, type ToolCallContentPartStatus as b, type ThreadMessage as c, type CoreMessage as d, type ThreadComposerAttachment as e, type ModelConfigProvider as f, type ThreadAssistantContentPart as g, type MessageStatus as h, type ThreadRoundtrip as i, type MessageAttachment as j, type Tool as k, type CoreToolCallContentPart as l, type CreateEdgeRuntimeAPIOptions as m, type ThreadUserContentPart as n, type ThreadSystemMessage as o, type ThreadAssistantMessage as p, type ThreadUserMessage as q, type CoreUserContentPart as r, type CoreAssistantContentPart as s, type CoreSystemMessage as t, type CoreUserMessage as u, type CoreAssistantMessage as v, createEdgeRuntimeAPI as w, getEdgeRuntimeResponse as x };
|