@assistant-ui/react 0.5.60 → 0.5.63

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 MessageStatus as M, type TextContentPart as T, type UIContentPart as U, type ToolCallContentPart as a, type ToolCallContentPartStatus as b, type ThreadAssistantContentPart as c, type ThreadRoundtrip as d, type ThreadMessage as e, type ModelConfig as f, type ModelConfigProvider as g, type CoreMessage as h, type ThreadComposerAttachment 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 };
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 MessageStatus as M, type TextContentPart as T, type UIContentPart as U, type ToolCallContentPart as a, type ToolCallContentPartStatus as b, type ThreadAssistantContentPart as c, type ThreadRoundtrip as d, type ThreadMessage as e, type ModelConfig as f, type ModelConfigProvider as g, type CoreMessage as h, type ThreadComposerAttachment 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 };
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 };