@lukeashford/aurelius 3.8.1 → 3.9.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 +160 -131
- package/dist/index.d.ts +160 -131
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -5
- package/dist/index.mjs.map +1 -1
- package/llms.md +4 -2
- package/package.json +1 -1
package/llms.md
CHANGED
|
@@ -155,8 +155,8 @@ 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, initialInputValue, autoFocus |
|
|
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 |
|
|
158
|
+
| ChatInput | position (centered, bottom), placeholder, helperText, onSubmit, disabled, animate, isStreaming, onStop, attachments, onAttachmentsChange, onAttachmentRemove, showAttachmentButton, acceptedFileTypes, notice, onInputChange, initialInputValue, autoFocus |
|
|
159
|
+
| ChatInterface | messages, conversationTree, onTreeChange, conversations, onMessageSubmit, onEditMessage, onRetryMessage, onStop, onSelectConversation, onNewChat, onRenameConversation, isStreaming, isThinking, placeholder, emptyStateHelper, emptyState, showAttachmentButton, enableMessageActions, attachments, onAttachmentsChange, onAttachmentRemove, artifactNodes, isArtifactsPanelOpen, onArtifactsPanelOpenChange, tasks, tasksTitle, onStopAllTasks |
|
|
160
160
|
| ChatView | messages, latestUserMessageIndex, isStreaming, isThinking, onScroll |
|
|
161
161
|
| HistoryPanel | conversations, onSelectConversation, onNewChat, onRenameConversation |
|
|
162
162
|
| MessageActions | variant (user, assistant), content, onEdit, onRetry, isEditing, onEditingChange, editValue |
|
|
@@ -390,6 +390,7 @@ Features:
|
|
|
390
390
|
- **onStop**: * Called when the Stop button is clicked during streaming
|
|
391
391
|
- **attachments**: * Current attachments (controlled mode)
|
|
392
392
|
- **onAttachmentsChange**: * Called when attachments change (controlled mode)
|
|
393
|
+
- **onAttachmentRemove**: * Called when an attachment is removed by the user (clicking the "x")
|
|
393
394
|
- **showAttachmentButton**: * Whether to show the attachment button
|
|
394
395
|
- **acceptedFileTypes**: * Accepted file types for attachments
|
|
395
396
|
- **notice**: * Optional notice displayed above the input (e.g. credit warnings or exhaustion messages)
|
|
@@ -443,6 +444,7 @@ artifactNodes prop.
|
|
|
443
444
|
- **enableMessageActions**: * Whether to enable message-level actions (copy, edit, retry).
|
|
444
445
|
- **attachments**: * Current attachments for the chat input (controlled).
|
|
445
446
|
- **onAttachmentsChange**: * Called when attachments are added or removed in the chat input.
|
|
447
|
+
- **onAttachmentRemove**: * Called when an attachment is removed by the user (clicking the "x")
|
|
446
448
|
- **artifactNodes**: * Top-level artifact tree nodes for the artifacts panel.
|
|
447
449
|
- **isArtifactsPanelOpen**: * Whether the artifacts panel is currently open (controlled). When set, maps to the tool panel system — opens the artifacts tool.
|
|
448
450
|
- **onArtifactsPanelOpenChange**: * Called when the artifacts panel is opened or closed (controlled).
|
package/package.json
CHANGED