@lukeashford/aurelius 4.4.0 → 4.5.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/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, attachments, onAttachmentOpen, onClick, label, children, disabled |
130
+ | Message | variant (user, assistant), content, isStreaming, branchInfo, actions, hideActions, attachments, onAttachmentOpen, onJumpHere, isActive, 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 |
@@ -156,7 +156,7 @@ Import from `@lukeashford/aurelius`:
156
156
  | ArtifactsPanel | nodes, loading, openArtifactId, onArtifactClosed, artifactCount, onExpand |
157
157
  | BranchNavigator | current, total, onPrevious, onNext, size, showIcon |
158
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, onJumpToCheckpoint, onJumpToLatest, onStop, onSelectConversation, onNewChat, onRenameConversation, isStreaming, isThinking, thinkingLabel, placeholder, emptyStateHelper, emptyState, showAttachmentButton, enableMessageActions, attachments, onAttachmentsChange, onAttachmentRemove, onAttachmentOpen, artifactNodes, isArtifactsPanelOpen, onArtifactsPanelOpenChange, tasks, tasksTitle, onStopAllTasks |
159
+ | ChatInterface | messages, conversationTree, onTreeChange, conversations, onMessageSubmit, onEditMessage, onRetryMessage, onJumpHere, onJumpToLatest, onStop, onSelectConversation, onNewChat, onRenameConversation, isStreaming, isThinking, thinkingLabel, placeholder, emptyStateHelper, emptyState, showAttachmentButton, enableMessageActions, attachments, onAttachmentsChange, onAttachmentRemove, onAttachmentOpen, artifactNodes, isArtifactsPanelOpen, onArtifactsPanelOpenChange, tasks, tasksTitle, onStopAllTasks |
160
160
  | ChatView | items, latestUserMessageIndex, isStreaming, isThinking, thinkingLabel, onScroll |
161
161
  | Checkpoint | name, executionKind (task, submit, rename, init, ingest), status (completed, failed, cancelled), isActive, muted, branchInfo, onJumpHere |
162
162
  | GreyedDivider | messageCount, checkpointCount, onJumpToLatest |
@@ -276,6 +276,8 @@ navigate for groups).
276
276
  - **hideActions**: * Whether to hide actions (e.g., during streaming)
277
277
  - **attachments**: * Attachments to render above the bubble. Used by user messages to show the files that were attached to that turn. Empty/undefined renders nothing.
278
278
  - **onAttachmentOpen**: * Click handler invoked with an attachment's `artifactId`. Wire to open the artifact-card modal in the host app.
279
+ - **onJumpHere**: * Click handler for the bubble — when provided, the message becomes a navigational anchor (mirrors Checkpoint's `onJumpHere`): clicking the bubble moves the active leaf to this node. Suppressed when `isActive` is true (already here) or when the user is selecting text or clicking a markdown link inside the bubble.
280
+ - **isActive**: * When true, this message is the active leaf — `onJumpHere` is suppressed (no point jumping to where you already are) and the affordance hover styling is skipped.
279
281
 
280
282
  **PdfCard**
281
283
  A card for displaying PDF documents with an embedded viewer.
@@ -447,7 +449,7 @@ artifactNodes prop.
447
449
  - **onMessageSubmit**: * Called when a message is submitted from the input. Provides the text content and any files attached.
448
450
  - **onEditMessage**: * Called when a user message is edited. In tree mode, this creates a new branch.
449
451
  - **onRetryMessage**: * Called when an assistant message is retried. In tree mode, this creates a new branch.
450
- - **onJumpToCheckpoint**: * Called when the user clicks a non-active checkpoint to rewind. Receives the checkpoint id; the consumer should move the active leaf there (without forking) so the artifacts panel and chat re-anchor. In tree mode only.
452
+ - **onJumpHere**: * Called when the user clicks a non-active node — checkpoint or message — to move the active leaf there. Receives the node id; the consumer should move the active leaf without forking so the artifacts panel and chat re-anchor. Mirrors the per-component `onJumpHere`. In tree mode only.
451
453
  - **onJumpToLatest**: * Called when the user clicks "Jump to latest" on the greyed-future divider or otherwise asks to return to the deepest leaf they had reached. In tree mode only.
452
454
  - **onStop**: * Called when the Stop button is clicked during assistant streaming.
453
455
  - **onSelectConversation**: * Called when a conversation is selected from the sidebar.
@@ -484,6 +486,8 @@ Key behaviors:
484
486
  - **ChatViewMessageItem.branchInfo**: Branch navigation info — chevrons render only when total > 1.
485
487
  - **ChatViewMessageItem.actions**: Actions configuration (copy / edit / retry).
486
488
  - **ChatViewMessageItem.muted**: When true, this row is rendered in the greyed-future region.
489
+ - **ChatViewMessageItem.isActive**: * When true, this message is the active leaf — Message will suppress its `onJumpHere` click target. Mirrors `ChatViewCheckpointItem.isActive`.
490
+ - **ChatViewMessageItem.onJumpHere**: * Click handler for the bubble. When provided, the bubble becomes a navigational anchor that moves the active leaf to this node. Aurelius suppresses the click for `isActive` rows, link / button targets inside the bubble, and active text selections.
487
491
  - **items**: * Rows to render in the chat stream. Heterogeneous: messages, checkpoints, and the greyed-future divider live in the same list, ordered top-to-bottom.
488
492
  - **latestUserMessageIndex**: * Index of the latest user-message row to anchor scroll to. When this index changes, the corresponding row scrolls to the top. Defaults to the last-found user message in `items`.
489
493
  - **isStreaming**: * Whether the assistant is currently streaming a response. Drives the streaming cursor on the last assistant message and the thinking indicator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukeashford/aurelius",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "description": "Design system for Aurelius applications — A cohesive visual language for creative technologists",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",