@lukeashford/aurelius 3.6.0 → 3.8.0
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.d.mts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +39 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +39 -36
- package/dist/index.mjs.map +1 -1
- package/llms.md +3 -2
- package/package.json +1 -1
package/llms.md
CHANGED
|
@@ -155,7 +155,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
155
155
|
| VideoCard | src, title, subtitle, aspectRatio (${number}/${number}), playing, controls, light, volume, muted, loop, mediaClassName, contentClassName, playerProps, loading |
|
|
156
156
|
| ArtifactsPanel | nodes, loading, artifactCount, onExpand |
|
|
157
157
|
| BranchNavigator | current, total, onPrevious, onNext, size, showIcon |
|
|
158
|
-
| ChatInput | position (centered, bottom), placeholder, helperText, onSubmit, disabled, animate, isStreaming, onStop, attachments, onAttachmentsChange, showAttachmentButton, acceptedFileTypes, notice, onInputChange, autoFocus |
|
|
158
|
+
| ChatInput | position (centered, bottom), placeholder, helperText, onSubmit, disabled, animate, isStreaming, onStop, attachments, onAttachmentsChange, showAttachmentButton, acceptedFileTypes, notice, onInputChange, initialInputValue, autoFocus |
|
|
159
159
|
| ChatInterface | messages, conversationTree, onTreeChange, conversations, onMessageSubmit, onEditMessage, onRetryMessage, onStop, onSelectConversation, onNewChat, onRenameConversation, isStreaming, isThinking, placeholder, emptyStateHelper, emptyState, showAttachmentButton, enableMessageActions, attachments, onAttachmentsChange, artifactNodes, isArtifactsPanelOpen, onArtifactsPanelOpenChange, tasks, tasksTitle, onStopAllTasks |
|
|
160
160
|
| ChatView | messages, latestUserMessageIndex, isStreaming, isThinking, onScroll |
|
|
161
161
|
| HistoryPanel | conversations, onSelectConversation, onNewChat, onRenameConversation |
|
|
@@ -260,7 +260,7 @@ navigate for groups).
|
|
|
260
260
|
- **MessageActionsConfig.onRetry**: * Called when user retries an assistant message (creates a branch)
|
|
261
261
|
- **MessageActionsConfig.showCopy**: * Whether to show the copy button @default true
|
|
262
262
|
- **variant**: * Whether the message is from the user or the assistant
|
|
263
|
-
- **content**: * The message content (supports Markdown)
|
|
263
|
+
- **content**: * The message content (supports Markdown if string)
|
|
264
264
|
- **isStreaming**: * Whether the message is currently being streamed (shows cursor)
|
|
265
265
|
- **branchInfo**: * Branch navigation info (shows branch indicator if provided and total > 1)
|
|
266
266
|
- **actions**: * Actions configuration (shows action bar if provided)
|
|
@@ -394,6 +394,7 @@ Features:
|
|
|
394
394
|
- **acceptedFileTypes**: * Accepted file types for attachments
|
|
395
395
|
- **notice**: * Optional notice displayed above the input (e.g. credit warnings or exhaustion messages)
|
|
396
396
|
- **onInputChange**: * Called whenever the input value changes, giving the consumer access to the current text
|
|
397
|
+
- **initialInputValue**: * Initial value for the input, used for state restoration (e.g. from DB or localStorage)
|
|
397
398
|
- **autoFocus**: * Whether to automatically focus the input when it becomes enabled
|
|
398
399
|
|
|
399
400
|
**ChatInterface**
|
package/package.json
CHANGED