@assistant-ui/react 0.5.48 → 0.5.49

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.
@@ -148,7 +148,7 @@ type ThreadAssistantMessage = MessageCommonProps & {
148
148
  };
149
149
  type AppendMessage = CoreMessage & {
150
150
  parentId: string | null;
151
- attachments: readonly MessageAttachment[];
151
+ attachments?: readonly MessageAttachment[];
152
152
  };
153
153
  type ThreadMessage = ThreadSystemMessage | ThreadUserMessage | ThreadAssistantMessage;
154
154
  /** Core Message Types (without UI content parts) */
@@ -148,7 +148,7 @@ type ThreadAssistantMessage = MessageCommonProps & {
148
148
  };
149
149
  type AppendMessage = CoreMessage & {
150
150
  parentId: string | null;
151
- attachments: readonly MessageAttachment[];
151
+ attachments?: readonly MessageAttachment[];
152
152
  };
153
153
  type ThreadMessage = ThreadSystemMessage | ThreadUserMessage | ThreadAssistantMessage;
154
154
  /** Core Message Types (without UI content parts) */
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, PropsWithChildren, FC, ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
3
- import { T as TextContentPart, C as ContentPartStatus, I as ImageContentPart, U as UIContentPart, a as ToolCallContentPart, b as ToolCallContentPartStatus, c as ThreadAssistantContentPart, M as MessageStatus, d as ThreadRoundtrip, e as ThreadMessage, f as ModelConfig, g as ModelConfigProvider, h as CoreMessage, i as ThreadComposerAttachment, j as MessageAttachment, A as AppendMessage, k as Tool, l as CoreToolCallContentPart, m as CreateEdgeRuntimeAPIOptions } from './edge-Dwfu6YTG.mjs';
4
- export { s as CoreAssistantContentPart, v as CoreAssistantMessage, t as CoreSystemMessage, r as CoreUserContentPart, u as CoreUserMessage, E as EdgeRuntimeRequestOptions, p as ThreadAssistantMessage, o as ThreadSystemMessage, n as ThreadUserContentPart, q as ThreadUserMessage } from './edge-Dwfu6YTG.mjs';
3
+ import { T as TextContentPart, C as ContentPartStatus, I as ImageContentPart, U as UIContentPart, a as ToolCallContentPart, b as ToolCallContentPartStatus, c as ThreadAssistantContentPart, M as MessageStatus, d as ThreadRoundtrip, e as ThreadMessage, f as ModelConfig, g as ModelConfigProvider, h as CoreMessage, i as ThreadComposerAttachment, j as MessageAttachment, A as AppendMessage, k as Tool, l as CoreToolCallContentPart, m as CreateEdgeRuntimeAPIOptions } from './edge-DpCGjOJ_.mjs';
4
+ export { s as CoreAssistantContentPart, v as CoreAssistantMessage, t as CoreSystemMessage, r as CoreUserContentPart, u as CoreUserMessage, E as EdgeRuntimeRequestOptions, p as ThreadAssistantMessage, o as ThreadSystemMessage, n as ThreadUserContentPart, q as ThreadUserMessage } from './edge-DpCGjOJ_.mjs';
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';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, PropsWithChildren, FC, ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
3
- import { T as TextContentPart, C as ContentPartStatus, I as ImageContentPart, U as UIContentPart, a as ToolCallContentPart, b as ToolCallContentPartStatus, c as ThreadAssistantContentPart, M as MessageStatus, d as ThreadRoundtrip, e as ThreadMessage, f as ModelConfig, g as ModelConfigProvider, h as CoreMessage, i as ThreadComposerAttachment, j as MessageAttachment, A as AppendMessage, k as Tool, l as CoreToolCallContentPart, m as CreateEdgeRuntimeAPIOptions } from './edge-Dwfu6YTG.js';
4
- export { s as CoreAssistantContentPart, v as CoreAssistantMessage, t as CoreSystemMessage, r as CoreUserContentPart, u as CoreUserMessage, E as EdgeRuntimeRequestOptions, p as ThreadAssistantMessage, o as ThreadSystemMessage, n as ThreadUserContentPart, q as ThreadUserMessage } from './edge-Dwfu6YTG.js';
3
+ import { T as TextContentPart, C as ContentPartStatus, I as ImageContentPart, U as UIContentPart, a as ToolCallContentPart, b as ToolCallContentPartStatus, c as ThreadAssistantContentPart, M as MessageStatus, d as ThreadRoundtrip, e as ThreadMessage, f as ModelConfig, g as ModelConfigProvider, h as CoreMessage, i as ThreadComposerAttachment, j as MessageAttachment, A as AppendMessage, k as Tool, l as CoreToolCallContentPart, m as CreateEdgeRuntimeAPIOptions } from './edge-DpCGjOJ_.js';
4
+ export { s as CoreAssistantContentPart, v as CoreAssistantMessage, t as CoreSystemMessage, r as CoreUserContentPart, u as CoreUserMessage, E as EdgeRuntimeRequestOptions, p as ThreadAssistantMessage, o as ThreadSystemMessage, n as ThreadUserContentPart, q as ThreadUserMessage } from './edge-DpCGjOJ_.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';
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "conversational-ui",
30
30
  "conversational-ai"
31
31
  ],
32
- "version": "0.5.48",
32
+ "version": "0.5.49",
33
33
  "license": "MIT",
34
34
  "exports": {
35
35
  ".": {
@@ -130,8 +130,8 @@
130
130
  "tailwindcss-animate": "^1.0.7",
131
131
  "tsup": "8.2.4",
132
132
  "tsx": "^4.19.0",
133
- "@assistant-ui/tsconfig": "0.0.0",
134
- "@assistant-ui/tailwindcss-transformer": "0.1.0"
133
+ "@assistant-ui/tailwindcss-transformer": "0.1.0",
134
+ "@assistant-ui/tsconfig": "0.0.0"
135
135
  },
136
136
  "publishConfig": {
137
137
  "access": "public",