{
  "$schema": "https://ui.shadcn.com/schema/registry.json",
  "name": "loom",
  "homepage": "https://loom.mkhonta.com",
  "items": [
    {
      "name": "theme",
      "type": "registry:theme",
      "title": "Loom theme",
      "description": "Loom's design tokens for light and dark, exposed to Tailwind as loom-* colors, radii, shadow and easing.",
      "cssVars": {
        "theme": {
          "color-loom-bg": "var(--loom-bg)",
          "color-loom-fg": "var(--loom-fg)",
          "color-loom-muted": "var(--loom-muted)",
          "color-loom-subtle": "var(--loom-subtle)",
          "color-loom-surface": "var(--loom-surface)",
          "color-loom-border": "var(--loom-border)",
          "color-loom-ring": "var(--loom-ring)",
          "color-loom-accent": "var(--loom-accent)",
          "color-loom-accent-fg": "var(--loom-accent-fg)",
          "color-loom-accent-soft": "var(--loom-accent-soft)",
          "color-loom-user": "var(--loom-user)",
          "color-loom-user-fg": "var(--loom-user-fg)",
          "color-loom-success": "var(--loom-success)",
          "color-loom-warning": "var(--loom-warning)",
          "color-loom-danger": "var(--loom-danger)",
          "color-loom-danger-soft": "var(--loom-danger-soft)",
          "color-loom-signal": "var(--loom-signal)",
          "color-loom-signal-fg": "var(--loom-signal-fg)",
          "radius-loom": "var(--loom-radius)",
          "radius-loom-sm": "var(--loom-radius-sm)",
          "shadow-loom": "var(--loom-shadow)",
          "ease-loom": "var(--loom-ease)"
        },
        "light": {
          "loom-bg": "oklch(0.985 0.004 95)",
          "loom-fg": "oklch(0.19 0.006 95)",
          "loom-muted": "oklch(0.53 0.008 95)",
          "loom-subtle": "oklch(0.955 0.005 95)",
          "loom-surface": "oklch(0.995 0.002 95)",
          "loom-border": "oklch(0.92 0.005 95)",
          "loom-ring": "oklch(0.19 0.006 95)",
          "loom-accent": "oklch(0.19 0.006 95)",
          "loom-accent-fg": "oklch(0.985 0.004 95)",
          "loom-accent-soft": "oklch(0.94 0.005 95)",
          "loom-user": "oklch(0.935 0.005 95)",
          "loom-user-fg": "oklch(0.19 0.006 95)",
          "loom-success": "oklch(0.58 0.14 150)",
          "loom-warning": "oklch(0.7 0.15 70)",
          "loom-danger": "oklch(0.57 0.2 28)",
          "loom-danger-soft": "oklch(0.96 0.02 28)",
          "loom-signal": "oklch(0.91 0.2 122)",
          "loom-signal-fg": "oklch(0.19 0.006 95)",
          "loom-shadow": "0 1px 1px oklch(0.19 0.006 95 / 0.04), 0 24px 48px -24px oklch(0.19 0.006 95 / 0.22)",
          "loom-radius": "0.75rem",
          "loom-radius-sm": "0.5rem",
          "loom-ease": "cubic-bezier(0.23, 1, 0.32, 1)"
        },
        "dark": {
          "loom-bg": "oklch(0.165 0.004 95)",
          "loom-fg": "oklch(0.96 0.004 95)",
          "loom-muted": "oklch(0.69 0.008 95)",
          "loom-subtle": "oklch(0.21 0.004 95)",
          "loom-surface": "oklch(0.19 0.004 95)",
          "loom-border": "oklch(0.255 0.004 95)",
          "loom-ring": "oklch(0.96 0.004 95)",
          "loom-accent": "oklch(0.96 0.004 95)",
          "loom-accent-fg": "oklch(0.165 0.004 95)",
          "loom-accent-soft": "oklch(0.24 0.004 95)",
          "loom-user": "oklch(0.25 0.004 95)",
          "loom-user-fg": "oklch(0.96 0.004 95)",
          "loom-success": "oklch(0.75 0.15 150)",
          "loom-warning": "oklch(0.8 0.14 75)",
          "loom-danger": "oklch(0.7 0.18 28)",
          "loom-danger-soft": "oklch(0.25 0.04 28)",
          "loom-signal": "oklch(0.91 0.2 122)",
          "loom-signal-fg": "oklch(0.19 0.006 95)",
          "loom-shadow": "0 1px 1px oklch(0 0 0 / 0.3), 0 24px 48px -24px oklch(0 0 0 / 0.6)"
        }
      }
    },
    {
      "name": "core",
      "type": "registry:lib",
      "title": "Loom core",
      "description": "The data every Loom component renders (messages, parts, tool calls, interactions), LoomProvider for labels, answers, tool renderers and message actions, and small utilities.",
      "registryDependencies": ["https://loom.mkhonta.com/r/theme.json"],
      "files": [
        { "path": "registry/src/lib/loom/types.ts", "type": "registry:lib", "target": "@lib/loom/types.ts" },
        { "path": "registry/src/lib/loom/context.tsx", "type": "registry:lib", "target": "@lib/loom/context.tsx" },
        { "path": "registry/src/lib/loom/utils.ts", "type": "registry:lib", "target": "@lib/loom/utils.ts" },
        { "path": "registry/src/components/loom/shuttle.tsx", "type": "registry:component", "target": "@components/loom/shuttle.tsx" }
      ]
    },
    {
      "name": "eve",
      "type": "registry:lib",
      "title": "eve adapter",
      "description": "useLoomEve: connects Loom components to an eve agent through useEveAgent.",
      "dependencies": ["eve@^1.5.0"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "files": [
        { "path": "registry/src/lib/loom/eve.ts", "type": "registry:lib", "target": "@lib/loom/eve.ts" }
      ]
    },
    {
      "name": "markdown",
      "type": "registry:component",
      "title": "Markdown",
      "description": "Agent replies rendered as Markdown with Streamdown, safe while they stream.",
      "dependencies": ["streamdown@^2.7.1"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "css": { "@source \"../node_modules/streamdown/dist/*.js\"": {} },
      "docs": "Streamdown styles its output with Tailwind classes. The @source line added to your CSS assumes it sits one folder below node_modules (app/globals.css); adjust the ../ segments if yours doesn't.",
      "files": [
        { "path": "registry/src/components/loom/markdown.tsx", "type": "registry:component", "target": "@components/loom/markdown.tsx" }
      ]
    },
    {
      "name": "interaction",
      "type": "registry:component",
      "title": "Interaction card",
      "description": "Approvals, questions, free-text answers and sign-ins the agent asks for, answered through LoomProvider's respond.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "files": [
        { "path": "registry/src/components/loom/interaction.tsx", "type": "registry:component", "target": "@components/loom/interaction.tsx" }
      ]
    },
    {
      "name": "tool",
      "type": "registry:component",
      "title": "Tool card",
      "description": "A call the agent made: state, streaming input, result or error, and its approval. Apps can render any tool their own way.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/interaction.json"],
      "files": [
        { "path": "registry/src/components/loom/tool.tsx", "type": "registry:component", "target": "@components/loom/tool.tsx" }
      ]
    },
    {
      "name": "message",
      "type": "registry:component",
      "title": "Message",
      "description": "One message and its parts: text, reasoning, files, tool calls and interactions, with an actions menu.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/markdown.json", "https://loom.mkhonta.com/r/tool.json", "https://loom.mkhonta.com/r/interaction.json"],
      "files": [
        { "path": "registry/src/components/loom/message.tsx", "type": "registry:component", "target": "@components/loom/message.tsx" }
      ]
    },
    {
      "name": "message-list",
      "type": "registry:component",
      "title": "Message list",
      "description": "The conversation, following new content while the reader is at the bottom, with a jump back to the latest. Arrow keys move between messages.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/message.json"],
      "files": [
        { "path": "registry/src/components/loom/message-list.tsx", "type": "registry:component", "target": "@components/loom/message-list.tsx" }
      ]
    },
    {
      "name": "composer",
      "type": "registry:component",
      "title": "Composer",
      "description": "The message box: attachments, slash commands, @mentions, dictation, queued sends while the agent works, stop, and recall of the last message.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "files": [
        { "path": "registry/src/components/loom/composer.tsx", "type": "registry:component", "target": "@components/loom/composer.tsx" }
      ]
    },
    {
      "name": "status",
      "type": "registry:component",
      "title": "Status",
      "description": "What the agent is doing now, the latest error, and the empty state with starter prompts.",
      "dependencies": ["lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "files": [
        { "path": "registry/src/components/loom/status.tsx", "type": "registry:component", "target": "@components/loom/status.tsx" }
      ]
    },
    {
      "name": "command-palette",
      "type": "registry:component",
      "title": "Command palette",
      "description": "Every slash command in a searchable dialog.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "files": [
        { "path": "registry/src/components/loom/command-palette.tsx", "type": "registry:component", "target": "@components/loom/command-palette.tsx" }
      ]
    },
    {
      "name": "thread",
      "type": "registry:component",
      "title": "Thread",
      "description": "A whole conversation with an agent: header, messages, live activity and the composer, from one LoomChat.",
      "dependencies": ["lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/message-list.json", "https://loom.mkhonta.com/r/composer.json", "https://loom.mkhonta.com/r/status.json", "https://loom.mkhonta.com/r/command-palette.json"],
      "files": [
        { "path": "registry/src/components/loom/thread.tsx", "type": "registry:component", "target": "@components/loom/thread.tsx" }
      ]
    },
    {
      "name": "agent-picker",
      "type": "registry:component",
      "title": "Agent picker",
      "description": "Chooses which agent the thread talks to, from a searchable list.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "files": [
        { "path": "registry/src/components/loom/agent-picker.tsx", "type": "registry:component", "target": "@components/loom/agent-picker.tsx" }
      ]
    },
    {
      "name": "session-list",
      "type": "registry:component",
      "title": "Session list",
      "description": "Past conversations grouped by day, with new and delete.",
      "dependencies": ["lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/core.json"],
      "files": [
        { "path": "registry/src/components/loom/session-list.tsx", "type": "registry:component", "target": "@components/loom/session-list.tsx" }
      ]
    },
    {
      "name": "widget",
      "type": "registry:component",
      "title": "Widget",
      "description": "The agent in a floating window opened from a corner launcher or your own trigger; a sheet on small touch screens.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/thread.json"],
      "files": [
        { "path": "registry/src/components/loom/widget.tsx", "type": "registry:component", "target": "@components/loom/widget.tsx" }
      ]
    },
    {
      "name": "panel",
      "type": "registry:component",
      "title": "Panel",
      "description": "The agent docked to the side of the page, which stays usable beside it.",
      "dependencies": ["@ui-sdk/react@0.1.0-beta.6", "@ui-sdk/core@0.1.0-beta.6", "lucide-react"],
      "registryDependencies": ["https://loom.mkhonta.com/r/thread.json"],
      "files": [
        { "path": "registry/src/components/loom/panel.tsx", "type": "registry:component", "target": "@components/loom/panel.tsx" }
      ]
    },
    {
      "name": "inline",
      "type": "registry:component",
      "title": "Inline",
      "description": "The agent in a card inside the page.",
      "registryDependencies": ["https://loom.mkhonta.com/r/thread.json"],
      "files": [
        { "path": "registry/src/components/loom/inline.tsx", "type": "registry:component", "target": "@components/loom/inline.tsx" }
      ]
    },
    {
      "name": "page",
      "type": "registry:component",
      "title": "Page",
      "description": "The agent as a whole page, with past conversations or a sidebar of your own.",
      "registryDependencies": ["https://loom.mkhonta.com/r/thread.json", "https://loom.mkhonta.com/r/session-list.json"],
      "files": [
        { "path": "registry/src/components/loom/page.tsx", "type": "registry:component", "target": "@components/loom/page.tsx" }
      ]
    }
  ]
}
