Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/docs/app/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function Navbar() {
Docs
</Link>
<a
href="https://github.com/assistant-ui/ux-primitives/tree/main/apps/example"
href="https://github.com/assistant-ui/chords/tree/main/apps/example"
className="hidden text-sm text-fd-muted-foreground transition-colors hover:text-fd-foreground sm:block"
target="_blank"
rel="noopener noreferrer"
Expand All @@ -59,7 +59,7 @@ export function Navbar() {
assistant-ui
</a>
<a
href="https://github.com/assistant-ui/ux-primitives"
href="https://github.com/assistant-ui/chords"
className="p-1 text-fd-muted-foreground transition-colors hover:text-fd-foreground"
target="_blank"
rel="noopener noreferrer"
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "fumadocs-ui/css/neutral.css";
@import "fumadocs-ui/css/preset.css";
@import "../node_modules/tw-shimmer/src/index.css";
@source "../node_modules/@assistant-ui/ux-primitives/dist";
@source "../node_modules/@assistant-ui/chords/dist";

/* Align Fumadocs background with landing page palette */
:root {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function HomePage() {
Get Started
</Link>
<a
href="https://github.com/assistant-ui/ux-primitives"
href="https://github.com/assistant-ui/chords"
className="rounded-lg border border-fd-border px-6 py-2.5 text-sm font-medium transition-colors hover:bg-fd-accent"
>
GitHub
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/attachment-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
MessageActionBar,
MessageAttachments,
MessageStatus,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/branch-navigation-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ComposerActionStatus,
MessageActionBar,
MessageStatus,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/composer-action-status-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ComposerActionStatus,
MessageActionBar,
MessageStatus,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/copy-button-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ComposerActionStatus,
MessageActionBar,
MessageStatus,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/edit-composer-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
EditComposer,
MessageActionBar,
MessageStatus,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/follow-up-suggestions-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
FollowUpSuggestions,
MessageActionBar,
MessageStatus,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/message-action-bar-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import {
ComposerActionStatus,
MessageActionBar,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/message-status-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ComposerActionStatus,
MessageActionBar,
MessageStatus,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/scroll-to-bottom-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
MessageActionBar,
MessageStatus,
ScrollToBottom,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import { FC } from "react";
import { ArrowRightIcon, PaperPlaneIcon } from "@radix-ui/react-icons";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/suggestion-chips-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { ThreadPrimitive } from "@assistant-ui/react";
import { SuggestionChips } from "@assistant-ui/ux-primitives";
import { SuggestionChips } from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";

export function SuggestionChipsDemo() {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/thread-empty-demo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { ThreadPrimitive } from "@assistant-ui/react";
import { ThreadEmpty } from "@assistant-ui/ux-primitives";
import { ThreadEmpty } from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";

export function ThreadEmptyDemo() {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/components/demo/tool-call-renderer-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
ThreadPrimitive,
useLocalRuntime,
} from "@assistant-ui/react";
import { ToolCallRenderer } from "@assistant-ui/ux-primitives";
import { ToolCallRenderer } from "@assistant-ui/chords";
import { DemoWrapper } from "./demo-wrapper";
import type { ChatModelAdapter } from "@assistant-ui/react";
import { FC } from "react";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Chords handle all of this for you, while keeping the same composability you're u
<Tabs items={["After (Chords)", "Before (Manual)"]}>
<Tab value="After (Chords)">
```tsx
import { MessageActionBar } from "@assistant-ui/ux-primitives";
import { MessageActionBar } from "@assistant-ui/chords";

const AssistantMessage = () => (
<MessagePrimitive.Root>
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/content/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Chords requires:
## Install

```bash
npm install @assistant-ui/ux-primitives
npm install @assistant-ui/chords
```

## Tailwind Setup
Expand All @@ -22,7 +22,7 @@ Chords ships with default Tailwind classes. For Tailwind to detect these classes

```css title="app/globals.css"
@import "tailwindcss";
@source "../node_modules/@assistant-ui/ux-primitives/dist";
@source "../node_modules/@assistant-ui/chords/dist";
```

> The `@source` path is relative to the CSS file. Adjust based on your project structure.
Expand All @@ -37,7 +37,7 @@ import {
SuggestionChips,
ThreadEmpty,
ScrollToBottom,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
```

## Styling
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/major-chords/attachment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import {
ComposerAttachments,
ComposerAddAttachment,
MessageAttachments,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";

// In your composer
<ComposerPrimitive.Root>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/major-chords/branch-navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ description: Navigate between message branches with prev/next controls and count
## Basic Usage

```tsx
import { BranchNavigation } from "@assistant-ui/ux-primitives";
import { BranchNavigation } from "@assistant-ui/chords";

export function MyMessage() {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/major-chords/edit-composer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ description: Inline message editor with cancel and save actions.
## Basic Usage

```tsx
import { EditComposer } from "@assistant-ui/ux-primitives";
import { EditComposer } from "@assistant-ui/chords";

export function MyThread() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ description: Dynamic suggestion chips that appear after assistant messages.
## Basic Usage

```tsx
import { FollowUpSuggestions } from "@assistant-ui/ux-primitives";
import { FollowUpSuggestions } from "@assistant-ui/chords";

export function MyThread() {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/major-chords/message-status.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ description: Show loading spinner during streaming and error messages on failure
## Basic Usage

```tsx
import { MessageStatus } from "@assistant-ui/ux-primitives";
import { MessageStatus } from "@assistant-ui/chords";

export function MyAssistantMessage() {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/major-chords/tool-call-renderer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ description: Display tool calls with automatic status-aware UI — spinner, resu
## Basic Usage

```tsx
import { ToolCallRenderer } from "@assistant-ui/ux-primitives";
import { ToolCallRenderer } from "@assistant-ui/chords";

export function AssistantMessage() {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@assistant-ui/react": "0.12.3",
"@assistant-ui/ux-primitives": "workspace:*",
"@assistant-ui/chords": "workspace:*",
"@radix-ui/react-icons": "^1.3.2",
"fumadocs-core": "^16.5.0",
"fumadocs-mdx": "^14.2.6",
Expand Down
2 changes: 1 addition & 1 deletion apps/example/app/components/Assistant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
ScrollToBottom,
ThreadEmpty,
ToolCallRenderer,
} from "@assistant-ui/ux-primitives";
} from "@assistant-ui/chords";
import { mockModelAdapter } from "../lib/mock-model-adapter";
import type { FC } from "react";

Expand Down
2 changes: 1 addition & 1 deletion apps/example/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "tailwindcss";
@source "../node_modules/@assistant-ui/ux-primitives/dist";
@source "../node_modules/@assistant-ui/chords/dist";

@custom-variant dark (&:where(.dark, .dark *));

Expand Down
2 changes: 1 addition & 1 deletion apps/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"react": "19.2.3",
"react-dom": "19.2.3",
"@assistant-ui/react": "0.12.3",
"@assistant-ui/ux-primitives": "workspace:*",
"@assistant-ui/chords": "workspace:*",
"@assistant-ui/styles": "^0.1.4",
"clsx": "^2.1.1",
"tailwind-merge": "^3.4.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "assistant-ui-ux-primitives",
"name": "assistant-ui-chords",
"private": true,
"packageManager": "pnpm@10.19.0",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@assistant-ui/ux-primitives",
"name": "@assistant-ui/chords",
"version": "1.0.0",
"private": false,
"type": "module",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.