@diceui/key-value-paste-demoloading 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 KeyValuePasteDemo from "@/components/key-value-paste-demo"// The preview environment may lack crypto.randomUUID (non-secure context).// Provide a fallback built on getRandomValues so the key-value rows can get ids.const runtimeCrypto = globalThis.crypto as Crypto | undefinedif (runtimeCrypto && typeof runtimeCrypto.randomUUID !== "function") {  Object.defineProperty(runtimeCrypto, "randomUUID", {    configurable: true,    value: (): `${string}-${string}-${string}-${string}-${string}` => {      const bytes = runtimeCrypto.getRandomValues(new Uint8Array(16))      bytes[6] = (bytes[6] & 0x0f) | 0x40      bytes[8] = (bytes[8] & 0x3f) | 0x80      const hex = Array.from(bytes, (b) => b.toString(16).padStart(2, "0")).join("")      return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`    },  })}export default function Demo() {  return (    <div className="w-full max-w-md">      <KeyValuePasteDemo />    </div>  )}