@cult-ui/ai-instructionsloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. IndexBM25 + vectors

Public log. Prompts, raw model errors and costs stay on the admin side.

Log
Demo source
src/demo.tsx · from an earlier run
import { useState } from "react"import {  InstructionsWidget,  type Instruction,} from "@/components/ui/ai-instructions"const instructions: Instruction[] = [  {    id: "concise",    title: "Be concise",    description: "Keep responses short and focused.",    content: "Use direct language and avoid unnecessary explanation.",  },  {    id: "structured",    title: "Use clear structure",    description: "Organize complex answers with helpful sections.",    content: "Use short headings, bullets, or numbered steps when they improve readability.",  },  {    id: "practical",    title: "Prefer practical examples",    description: "Support recommendations with actionable examples.",    content: "Include a concrete next step whenever it helps the reader apply the answer.",  },]export default function AiInstructionsDemo() {  const [activeIds, setActiveIds] = useState(["concise", "structured"])  const [open, setOpen] = useState(true)  return (    <div className="w-full max-w-sm">      <InstructionsWidget        instructions={instructions}        value={activeIds}        onValueChange={setActiveIds}        open={open}        onOpenChange={setOpen}      >        <InstructionsWidget.Trigger label="AI instructions" />        <InstructionsWidget.Content>          <InstructionsWidget.Search />          <InstructionsWidget.List>            <InstructionsWidget.Empty />            <InstructionsWidget.Group heading="Available instructions">              {instructions.map((instruction) => (                <InstructionsWidget.Item                  key={instruction.id}                  instruction={instruction}                />              ))}            </InstructionsWidget.Group>          </InstructionsWidget.List>          <InstructionsWidget.Footer>            <InstructionsWidget.CreateTrigger />          </InstructionsWidget.Footer>        </InstructionsWidget.Content>        <InstructionsWidget.CreateDialog />      </InstructionsWidget>    </div>  )}