@lukeashford/aurelius 3.8.1 → 4.0.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 +163 -155
- package/dist/index.d.ts +163 -155
- package/dist/index.js +1093 -1292
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +483 -679
- package/dist/index.mjs.map +1 -1
- package/llms.md +12 -8
- package/package.json +1 -1
package/llms.md
CHANGED
|
@@ -127,7 +127,7 @@ Import from `@lukeashford/aurelius`:
|
|
|
127
127
|
| List | variant, ordered, leading, trailing, interactive, selected, disabled, primary, secondary |
|
|
128
128
|
| MarkdownContent | content, isMarkdown, sanitizeConfig, isStreaming, cursorClassName |
|
|
129
129
|
| Menu | children, open, onOpenChange, asChild, align, side, icon, destructive |
|
|
130
|
-
| Message | variant (user, assistant), content, isStreaming, branchInfo, actions, hideActions |
|
|
130
|
+
| Message | variant (user, assistant), content, isStreaming, branchInfo, actions, hideActions, onClick, label, children, disabled |
|
|
131
131
|
| Modal | isOpen, onClose, title, children, className |
|
|
132
132
|
| Navbar | fixed, bordered, position, active, active |
|
|
133
133
|
| Pagination | page, totalPages, onPageChange, siblingCount, showEdges |
|
|
@@ -155,11 +155,11 @@ 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
|
-
| MessageActions | variant
|
|
162
|
+
| MessageActions | variant, content, onEdit, onRetry, isEditing, onEditingChange, editValue |
|
|
163
163
|
| ThinkingIndicator | isVisible, phraseInterval, phrases |
|
|
164
164
|
| TodosList | tasks, title, onStopAllTasks |
|
|
165
165
|
| ToolPanelContainer | topContent, bottomContent, width, initialTopPercent, onResizeStart, side |
|
|
@@ -235,6 +235,9 @@ navigate for groups).
|
|
|
235
235
|
- **removable**: * Whether attachments are removable
|
|
236
236
|
- **maxVisible**: * Maximum number of attachments to show before collapsing Set to 0 or undefined to show all
|
|
237
237
|
|
|
238
|
+
**AudioCard**
|
|
239
|
+
- **playerProps**: Forwarded to the underlying ReactPlayer.
|
|
240
|
+
|
|
238
241
|
**FileChip**
|
|
239
242
|
- **name**: * File name to display
|
|
240
243
|
- **size**: * File size in bytes (optional, will be formatted)
|
|
@@ -336,6 +339,9 @@ A card for displaying text content, supporting Markdown and HTML formatting.
|
|
|
336
339
|
- **maxHeight**: * Maximum height of the content area before scrolling @default '16rem'
|
|
337
340
|
- **contentClassName**: * Optional class name for the content container
|
|
338
341
|
|
|
342
|
+
**VideoCard**
|
|
343
|
+
- **playerProps**: Forwarded to the underlying ReactPlayer.
|
|
344
|
+
|
|
339
345
|
**ArtifactsPanel**
|
|
340
346
|
ArtifactsPanel displays artifacts in a navigable tree panel.
|
|
341
347
|
|
|
@@ -390,6 +396,7 @@ Features:
|
|
|
390
396
|
- **onStop**: * Called when the Stop button is clicked during streaming
|
|
391
397
|
- **attachments**: * Current attachments (controlled mode)
|
|
392
398
|
- **onAttachmentsChange**: * Called when attachments change (controlled mode)
|
|
399
|
+
- **onAttachmentRemove**: * Called when an attachment is removed by the user (clicking the "x")
|
|
393
400
|
- **showAttachmentButton**: * Whether to show the attachment button
|
|
394
401
|
- **acceptedFileTypes**: * Accepted file types for attachments
|
|
395
402
|
- **notice**: * Optional notice displayed above the input (e.g. credit warnings or exhaustion messages)
|
|
@@ -443,6 +450,7 @@ artifactNodes prop.
|
|
|
443
450
|
- **enableMessageActions**: * Whether to enable message-level actions (copy, edit, retry).
|
|
444
451
|
- **attachments**: * Current attachments for the chat input (controlled).
|
|
445
452
|
- **onAttachmentsChange**: * Called when attachments are added or removed in the chat input.
|
|
453
|
+
- **onAttachmentRemove**: * Called when an attachment is removed by the user (clicking the "x")
|
|
446
454
|
- **artifactNodes**: * Top-level artifact tree nodes for the artifacts panel.
|
|
447
455
|
- **isArtifactsPanelOpen**: * Whether the artifacts panel is currently open (controlled). When set, maps to the tool panel system — opens the artifacts tool.
|
|
448
456
|
- **onArtifactsPanelOpenChange**: * Called when the artifacts panel is opened or closed (controlled).
|
|
@@ -532,10 +540,6 @@ side of the chat interface. It follows the IntelliJ pattern:
|
|
|
532
540
|
- **ToolDefinition.icon**: * Icon element shown in the sidebar button
|
|
533
541
|
- **ToolDefinition.label**: * Accessible label for the button
|
|
534
542
|
- **ToolDefinition.group**: * Which group the tool belongs to — tools in the same group are mutually exclusive (opening one closes the other).
|
|
535
|
-
- **ExternalToolDefinition.id**: * Unique identifier for this tool
|
|
536
|
-
- **ExternalToolDefinition.icon**: * Icon element shown in the sidebar button
|
|
537
|
-
- **ExternalToolDefinition.label**: * Accessible label for the button
|
|
538
|
-
- **ExternalToolDefinition.group**: * Which group the tool belongs to
|
|
539
543
|
- **ExternalToolDefinition.content**: * Content to render when the tool is open
|
|
540
544
|
- **tools**: * Available tool definitions
|
|
541
545
|
- **activeTools**: * Current state — which tool is open per group
|
package/package.json
CHANGED