Skip to content

arch: relocate local frame/kbd components out of vendored components tree #279

Description

@cursor

Problem

packages/ui/src/components/frame.tsx and packages/ui/src/components/kbd.tsx are project-authored components with data-slot conventions, not coss registry output. They live alongside files that are overwritten on shadcn add @coss/ui --overwrite.

ADR 0001 documents intentional local exceptions only for carousel and splitter.

Why it matters

These are easy to mistake for vendored code during a registry refresh and won't appear in the coss diff review workflow.

Suggested fix

Move to packages/ui/src/ai-elements/ (or a documented local/ tree excluded from --overwrite). Update ADR 0001 to list them alongside carousel and splitter if they must stay in components/.

Severity

P3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions