{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "internal-command-web",
  "title": "Internal Command (Web Components)",
  "description": "Internal primitive used by Agent UI components; add a component instead.",
  "dependencies": [
    "@ui-sdk/core@0.1.0-beta.17",
    "@ui-sdk/web@0.1.0-beta.17"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "packages/agent-ui/src/web/internal/command.ts",
      "content": "import \"@ui-sdk/web/command\";\n\nconst classes = [\n  \"contents\",\n  \"[&_[data-slot=command]]:flex\",\n  \"[&_[data-slot=command]]:min-w-0\",\n  \"[&_[data-slot=command]]:flex-col\",\n  \"[&_[data-slot=command]]:text-[length:var(--kind-text-md)]/5\",\n  \"[&_[data-slot=command]]:text-[var(--kind-color-fg)]\",\n  \"[&_[data-slot=command-input]]:h-[var(--kind-command-input-height,2.25rem)]\",\n  \"[&_[data-slot=command-input]]:w-full\",\n  \"[&_[data-slot=command-input]]:min-w-0\",\n  \"[&_[data-slot=command-input]]:border-b\",\n  \"[&_[data-slot=command-input]]:border-[var(--kind-color-border)]\",\n  \"[&_[data-slot=command-input]]:bg-transparent\",\n  \"[&_[data-slot=command-input]]:px-3\",\n  \"[&_[data-slot=command-input]]:text-[length:var(--kind-text-md)]/5\",\n  \"[&_[data-slot=command-input]]:text-[var(--kind-color-fg)]\",\n  \"[&_[data-slot=command-input]]:outline-hidden\",\n  \"[&_[data-slot=command-input]]:placeholder:text-[var(--kind-color-muted)]\",\n  \"[&_[data-slot=command-list]]:max-h-[var(--kind-command-list-max-height,18rem)]\",\n  \"[&_[data-slot=command-list]]:overflow-y-auto\",\n  \"[&_[data-slot=command-list]]:overscroll-contain\",\n  \"[&_[data-slot=command-list]]:p-1\",\n  \"[&_[data-slot=command-list]]:outline-hidden\",\n  \"[&_[data-slot=command-group]]:py-0.5\",\n  \"[&_[data-slot=command-group-label]]:px-2.5\",\n  \"[&_[data-slot=command-group-label]]:pt-1.5\",\n  \"[&_[data-slot=command-group-label]]:pb-1\",\n  \"[&_[data-slot=command-group-label]]:text-[length:var(--kind-text-xs)]/4\",\n  \"[&_[data-slot=command-group-label]]:font-medium\",\n  \"[&_[data-slot=command-group-label]]:text-[var(--kind-color-muted)]\",\n  \"[&_[data-slot=command-item]]:flex\",\n  \"[&_[data-slot=command-item]]:cursor-default\",\n  \"[&_[data-slot=command-item]]:select-none\",\n  \"[&_[data-slot=command-item]]:items-center\",\n  \"[&_[data-slot=command-item]]:gap-2\",\n  \"[&_[data-slot=command-item]]:rounded-[var(--kind-radius-md)]\",\n  \"[&_[data-slot=command-item]]:px-2.5\",\n  \"[&_[data-slot=command-item]]:py-[var(--kind-command-item-padding-block,0.375rem)]\",\n  \"[&_[data-slot=command-item]]:outline-hidden\",\n  \"[&_[data-slot=command-item]]:data-highlighted:bg-[var(--kind-color-selected)]\",\n  \"[&_[data-slot=command-item]]:data-disabled:cursor-not-allowed\",\n  \"[&_[data-slot=command-item]]:data-disabled:opacity-[var(--kind-command-item-disabled-opacity,var(--kind-disabled-opacity))]\",\n  \"[&_[data-slot=command-item]]:data-pending:cursor-wait\",\n  \"[&_[data-slot=command-item-icon]]:inline-flex\",\n  \"[&_[data-slot=command-item-icon]]:size-4\",\n  \"[&_[data-slot=command-item-icon]]:shrink-0\",\n  \"[&_[data-slot=command-item-icon]]:items-center\",\n  \"[&_[data-slot=command-item-icon]]:justify-center\",\n  \"[&_[data-slot=command-item-icon]]:text-[var(--kind-command-icon-color,var(--kind-color-muted))]\",\n  \"[&_[data-slot=command-item-icon]]:[&_svg]:size-4\",\n  \"[&_[data-slot=command-item-text]]:min-w-0\",\n  \"[&_[data-slot=command-item-text]]:truncate\",\n  \"[&_[data-slot=command-item-text]]:[&_mark]:bg-transparent\",\n  \"[&_[data-slot=command-item-text]]:[&_mark]:[font-weight:var(--kind-command-mark-weight,500)]\",\n  \"[&_[data-slot=command-item-text]]:[&_mark]:text-[var(--kind-command-mark-color,var(--kind-color-fg))]\",\n  \"[&_[data-slot=command-shortcut]]:ms-auto\",\n  \"[&_[data-slot=command-shortcut]]:text-[length:var(--kind-text-xs)]/4\",\n  \"[&_[data-slot=command-shortcut]]:tracking-widest\",\n  \"[&_[data-slot=command-shortcut]]:text-[var(--kind-color-muted)]\",\n  \"[&_[data-slot=command-separator]]:mx-2.5\",\n  \"[&_[data-slot=command-separator]]:my-1\",\n  \"[&_[data-slot=command-separator]]:h-px\",\n  \"[&_[data-slot=command-separator]]:bg-[var(--kind-color-border)]\",\n  \"[&_[data-slot=command-empty]]:px-2\",\n  \"[&_[data-slot=command-empty]]:text-center\",\n  \"[&_[data-slot=command-empty]]:text-[length:var(--kind-text-md)]/5\",\n  \"[&_[data-slot=command-empty]]:text-[var(--kind-color-muted)]\",\n  \"[&_[data-slot=command-empty]]:data-empty:py-6\",\n  \"[&_[data-slot=command-status]]:px-2\",\n  \"[&_[data-slot=command-status]]:text-center\",\n  \"[&_[data-slot=command-status]]:text-[length:var(--kind-text-md)]/5\",\n  \"[&_[data-slot=command-status]]:text-[var(--kind-color-muted)]\",\n  \"[&_[data-slot=command-status]]:not-empty:py-6\",\n];\n\nexport function defineInternalCommand(): void {\n  if (customElements.get(\"kind-internal-command\")) return;\n  customElements.define(\n    \"kind-internal-command\",\n    class extends HTMLElement {\n      connectedCallback(): void {\n        this.classList.add(...classes);\n      }\n    },\n  );\n}\n\ndeclare global {\n  interface HTMLElementTagNameMap {\n    \"kind-internal-command\": HTMLElement;\n  }\n}\n",
      "type": "registry:ui",
      "target": "@ui/web/internal/command.ts"
    }
  ],
  "meta": {
    "layer": "web",
    "hidden": true
  },
  "categories": [
    "internal"
  ],
  "type": "registry:ui"
}
