{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "chat-refined",
  "type": "registry:component",
  "title": "Chat - Refined Skin",
  "description": "Runtime-agnostic chat components with the refined Refined UI skin.",
  "docs": "This item ships CSS. Import it once in app/globals.css, after Tailwind: @import \"tailwindcss\"; @import \"./refined-ui-theme.css\"; @import \"./refined-ui-effects.css\"; @import \"./refined-ui-code.css\"; @import \"./refined-ui-chat-input-editor.css\"; See the Get started guide (Wire the CSS) for the full wiring.",
  "dependencies": [
    "@base-ui/react",
    "class-variance-authority",
    "cmdk",
    "lucide-react",
    "shiki",
    "streamdown",
    "diff",
    "@tanstack/react-virtual",
    "prosemirror-state",
    "prosemirror-view",
    "prosemirror-model",
    "prosemirror-keymap",
    "prosemirror-commands",
    "prosemirror-history"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "src/registry/contracts.ts",
      "target": "components/refined-ui/contracts.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/skin.ts",
      "target": "components/refined-ui/skin.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/skin.config.tsx",
      "target": "components/refined-ui/skin.config.tsx",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/sources/refined/surface-variants.ts",
      "target": "components/refined-ui/surface-variants.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/lib/cn.ts",
      "target": "components/refined-ui/lib/cn.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/lib/code-tokens.ts",
      "target": "components/refined-ui/lib/code-tokens.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/lib/diff.ts",
      "target": "components/refined-ui/lib/diff.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/sources/refined/code.css",
      "target": "app/refined-ui-code.css",
      "type": "registry:file"
    },
    {
      "path": "src/registry/lib/code-block-shiki.ts",
      "target": "components/refined-ui/lib/code-block-shiki.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/sources/refined/control-variants.ts",
      "target": "components/refined-ui/control-variants.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/sources/refined/theme.css",
      "target": "app/refined-ui-theme.css",
      "type": "registry:file"
    },
    {
      "path": "src/registry/sources/refined/effects.css",
      "target": "app/refined-ui-effects.css",
      "type": "registry:file"
    },
    {
      "path": "src/registry/sources/refined/ui/button.tsx",
      "target": "components/refined-ui/ui/button.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/code.tsx",
      "target": "components/refined-ui/ui/code.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/code-diff.tsx",
      "target": "components/refined-ui/ui/code-diff.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/markdown-elements.tsx",
      "target": "components/refined-ui/ui/markdown-elements.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/markdown.tsx",
      "target": "components/refined-ui/ui/markdown.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/collapsible.tsx",
      "target": "components/refined-ui/ui/collapsible.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/scroll-area.tsx",
      "target": "components/refined-ui/ui/scroll-area.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/tooltip.tsx",
      "target": "components/refined-ui/ui/tooltip.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/select.tsx",
      "target": "components/refined-ui/ui/select.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/menu.tsx",
      "target": "components/refined-ui/ui/menu.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/dialog.tsx",
      "target": "components/refined-ui/ui/dialog.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/command.tsx",
      "target": "components/refined-ui/ui/command.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/popover.tsx",
      "target": "components/refined-ui/ui/popover.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/input.tsx",
      "target": "components/refined-ui/ui/input.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/label.tsx",
      "target": "components/refined-ui/ui/label.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/slider.tsx",
      "target": "components/refined-ui/ui/slider.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/model-switcher.tsx",
      "target": "components/refined-ui/model-switcher.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/action-bar.tsx",
      "target": "components/refined-ui/action-bar.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/inline-attachment.tsx",
      "target": "components/refined-ui/inline-attachment.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input-attachment.tsx",
      "target": "components/refined-ui/chat-input-attachment.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/markdown-block.tsx",
      "target": "components/refined-ui/markdown-block.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/code-block-editor.tsx",
      "target": "components/refined-ui/code-block-editor.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-scene.tsx",
      "target": "components/refined-ui/chat-scene.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/hooks/use-chat-message.ts",
      "target": "components/refined-ui/hooks/use-chat-message.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/hooks/use-chat-input.ts",
      "target": "components/refined-ui/hooks/use-chat-input.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/hooks/use-copy-to-clipboard.ts",
      "target": "components/refined-ui/hooks/use-copy-to-clipboard.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/hooks/use-tool-call.ts",
      "target": "components/refined-ui/hooks/use-tool-call.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-message.tsx",
      "target": "components/refined-ui/chat-message.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input.tsx",
      "target": "components/refined-ui/chat-input.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/lib/trigger-detect.ts",
      "target": "components/refined-ui/lib/trigger-detect.ts",
      "type": "registry:lib"
    },
    {
      "path": "src/registry/hooks/use-trigger-menu.ts",
      "target": "components/refined-ui/hooks/use-trigger-menu.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/ui/trigger-menu.tsx",
      "target": "components/refined-ui/ui/trigger-menu.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input-editor/schema.ts",
      "target": "components/refined-ui/chat-input-editor/schema.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input-editor/serialize.ts",
      "target": "components/refined-ui/chat-input-editor/serialize.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input-editor/types.ts",
      "target": "components/refined-ui/chat-input-editor/types.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input-editor/extensions/mention.tsx",
      "target": "components/refined-ui/chat-input-editor/extensions/mention.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input-editor/ghost.ts",
      "target": "components/refined-ui/chat-input-editor/ghost.ts",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/chat-input-editor.css",
      "target": "app/refined-ui-chat-input-editor.css",
      "type": "registry:file"
    },
    {
      "path": "src/registry/sources/refined/chat-input-editor.tsx",
      "target": "components/refined-ui/chat-input-editor.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/tool-call.tsx",
      "target": "components/refined-ui/tool-call.tsx",
      "type": "registry:component"
    },
    {
      "path": "src/registry/sources/refined/thread-rail.tsx",
      "target": "components/refined-ui/thread-rail.tsx",
      "type": "registry:component"
    }
  ]
}
