@lukeashford/aurelius 3.6.0 → 3.7.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 +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +24 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -28
- package/dist/index.mjs.map +1 -1
- package/llms.md +2 -1
- 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 |
|
|
@@ -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