@puckeditor/plugin-ai 0.8.0-canary.a74e3a2e → 0.8.0-canary.ad0c4c0e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +151 -123
  2. package/dist/index.mjs +151 -123
  3. package/package.json +16 -16
package/dist/index.js CHANGED
@@ -404,25 +404,40 @@ init_react_import();
404
404
  // src/index.tsx
405
405
  init_react_import();
406
406
 
407
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/lucide-react.js
407
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/lucide-react.js
408
408
  init_react_import();
409
409
 
410
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
410
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
411
411
  init_react_import();
412
412
  var import_react3 = require("react");
413
413
 
414
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
414
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
415
415
  init_react_import();
416
416
  var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
417
+ var toCamelCase = (string) => string.replace(
418
+ /^([A-Z])|[\s-_]+(\w)/g,
419
+ (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
420
+ );
421
+ var toPascalCase = (string) => {
422
+ const camelCase2 = toCamelCase(string);
423
+ return camelCase2.charAt(0).toUpperCase() + camelCase2.slice(1);
424
+ };
417
425
  var mergeClasses = (...classes) => classes.filter((className, index, array) => {
418
- return Boolean(className) && array.indexOf(className) === index;
419
- }).join(" ");
426
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
427
+ }).join(" ").trim();
428
+ var hasA11yProp = (props) => {
429
+ for (const prop in props) {
430
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
431
+ return true;
432
+ }
433
+ }
434
+ };
420
435
 
421
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
436
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
422
437
  init_react_import();
423
438
  var import_react2 = require("react");
424
439
 
425
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
440
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
426
441
  init_react_import();
427
442
  var defaultAttributes = {
428
443
  xmlns: "http://www.w3.org/2000/svg",
@@ -436,7 +451,7 @@ var defaultAttributes = {
436
451
  strokeLinejoin: "round"
437
452
  };
438
453
 
439
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
454
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
440
455
  var Icon = (0, import_react2.forwardRef)(
441
456
  ({
442
457
  color = "currentColor",
@@ -447,154 +462,159 @@ var Icon = (0, import_react2.forwardRef)(
447
462
  children,
448
463
  iconNode,
449
464
  ...rest
450
- }, ref) => {
451
- return (0, import_react2.createElement)(
452
- "svg",
453
- {
454
- ref,
455
- ...defaultAttributes,
456
- width: size,
457
- height: size,
458
- stroke: color,
459
- strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
460
- className: mergeClasses("lucide", className),
461
- ...rest
462
- },
463
- [
464
- ...iconNode.map(([tag, attrs]) => (0, import_react2.createElement)(tag, attrs)),
465
- ...Array.isArray(children) ? children : [children]
466
- ]
467
- );
468
- }
465
+ }, ref) => (0, import_react2.createElement)(
466
+ "svg",
467
+ {
468
+ ref,
469
+ ...defaultAttributes,
470
+ width: size,
471
+ height: size,
472
+ stroke: color,
473
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
474
+ className: mergeClasses("lucide", className),
475
+ ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
476
+ ...rest
477
+ },
478
+ [
479
+ ...iconNode.map(([tag, attrs]) => (0, import_react2.createElement)(tag, attrs)),
480
+ ...Array.isArray(children) ? children : [children]
481
+ ]
482
+ )
469
483
  );
470
484
 
471
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
485
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
472
486
  var createLucideIcon = (iconName, iconNode) => {
473
487
  const Component = (0, import_react3.forwardRef)(
474
488
  ({ className, ...props }, ref) => (0, import_react3.createElement)(Icon, {
475
489
  ref,
476
490
  iconNode,
477
- className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
491
+ className: mergeClasses(
492
+ `lucide-${toKebabCase(toPascalCase(iconName))}`,
493
+ `lucide-${iconName}`,
494
+ className
495
+ ),
478
496
  ...props
479
497
  })
480
498
  );
481
- Component.displayName = `${iconName}`;
499
+ Component.displayName = toPascalCase(iconName);
482
500
  return Component;
483
501
  };
484
502
 
485
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/arrow-up.js
503
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/arrow-up.js
486
504
  init_react_import();
487
- var ArrowUp = createLucideIcon("ArrowUp", [
505
+ var __iconNode = [
488
506
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
489
507
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
490
- ]);
508
+ ];
509
+ var ArrowUp = createLucideIcon("arrow-up", __iconNode);
491
510
 
492
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/bot.js
511
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/bot.js
493
512
  init_react_import();
494
- var Bot = createLucideIcon("Bot", [
513
+ var __iconNode2 = [
495
514
  ["path", { d: "M12 8V4H8", key: "hb8ula" }],
496
515
  ["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
497
516
  ["path", { d: "M2 14h2", key: "vft8re" }],
498
517
  ["path", { d: "M20 14h2", key: "4cs60a" }],
499
518
  ["path", { d: "M15 13v2", key: "1xurst" }],
500
519
  ["path", { d: "M9 13v2", key: "rq6x2g" }]
501
- ]);
502
-
503
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/brain.js
504
- init_react_import();
505
- var Brain = createLucideIcon("Brain", [
506
- [
507
- "path",
508
- {
509
- d: "M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",
510
- key: "l5xja"
511
- }
512
- ],
513
- [
514
- "path",
515
- {
516
- d: "M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",
517
- key: "ep3f8r"
518
- }
519
- ],
520
- ["path", { d: "M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4", key: "1p4c4q" }],
521
- ["path", { d: "M17.599 6.5a3 3 0 0 0 .399-1.375", key: "tmeiqw" }],
522
- ["path", { d: "M6.003 5.125A3 3 0 0 0 6.401 6.5", key: "105sqy" }],
523
- ["path", { d: "M3.477 10.896a4 4 0 0 1 .585-.396", key: "ql3yin" }],
524
- ["path", { d: "M19.938 10.5a4 4 0 0 1 .585.396", key: "1qfode" }],
525
- ["path", { d: "M6 18a4 4 0 0 1-1.967-.516", key: "2e4loj" }],
526
- ["path", { d: "M19.967 17.484A4 4 0 0 1 18 18", key: "159ez6" }]
527
- ]);
520
+ ];
521
+ var Bot = createLucideIcon("bot", __iconNode2);
522
+
523
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/brain.js
524
+ init_react_import();
525
+ var __iconNode3 = [
526
+ ["path", { d: "M12 18V5", key: "adv99a" }],
527
+ ["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
528
+ ["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
529
+ ["path", { d: "M17.997 5.125a4 4 0 0 1 2.526 5.77", key: "iwvgf7" }],
530
+ ["path", { d: "M18 18a4 4 0 0 0 2-7.464", key: "efp6ie" }],
531
+ ["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
532
+ ["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
533
+ ["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
534
+ ];
535
+ var Brain = createLucideIcon("brain", __iconNode3);
528
536
 
529
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/camera.js
537
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/camera.js
530
538
  init_react_import();
531
- var Camera = createLucideIcon("Camera", [
539
+ var __iconNode4 = [
532
540
  [
533
541
  "path",
534
542
  {
535
- d: "M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",
536
- key: "1tc9qg"
543
+ d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
544
+ key: "18u6gg"
537
545
  }
538
546
  ],
539
547
  ["circle", { cx: "12", cy: "13", r: "3", key: "1vg3eu" }]
540
- ]);
548
+ ];
549
+ var Camera = createLucideIcon("camera", __iconNode4);
541
550
 
542
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/check.js
551
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/check.js
543
552
  init_react_import();
544
- var Check = createLucideIcon("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
553
+ var __iconNode5 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
554
+ var Check = createLucideIcon("check", __iconNode5);
545
555
 
546
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/cloud-download.js
556
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/cloud-download.js
547
557
  init_react_import();
548
- var CloudDownload = createLucideIcon("CloudDownload", [
558
+ var __iconNode6 = [
549
559
  ["path", { d: "M12 13v8l-4-4", key: "1f5nwf" }],
550
560
  ["path", { d: "m12 21 4-4", key: "1lfcce" }],
551
561
  ["path", { d: "M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284", key: "ui1hmy" }]
552
- ]);
562
+ ];
563
+ var CloudDownload = createLucideIcon("cloud-download", __iconNode6);
553
564
 
554
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/file-text.js
565
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/file-text.js
555
566
  init_react_import();
556
- var FileText = createLucideIcon("FileText", [
557
- ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
558
- ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
567
+ var __iconNode7 = [
568
+ [
569
+ "path",
570
+ {
571
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
572
+ key: "1oefj6"
573
+ }
574
+ ],
575
+ ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
559
576
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
560
577
  ["path", { d: "M16 13H8", key: "t4e002" }],
561
578
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
562
- ]);
579
+ ];
580
+ var FileText = createLucideIcon("file-text", __iconNode7);
563
581
 
564
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/git-pull-request.js
582
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/git-pull-request.js
565
583
  init_react_import();
566
- var GitPullRequest = createLucideIcon("GitPullRequest", [
584
+ var __iconNode8 = [
567
585
  ["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
568
586
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
569
587
  ["path", { d: "M13 6h3a2 2 0 0 1 2 2v7", key: "1yeb86" }],
570
588
  ["line", { x1: "6", x2: "6", y1: "9", y2: "21", key: "rroup" }]
571
- ]);
589
+ ];
590
+ var GitPullRequest = createLucideIcon("git-pull-request", __iconNode8);
572
591
 
573
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js
592
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js
574
593
  init_react_import();
575
- var LoaderCircle = createLucideIcon("LoaderCircle", [
576
- ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
577
- ]);
594
+ var __iconNode9 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
595
+ var LoaderCircle = createLucideIcon("loader-circle", __iconNode9);
578
596
 
579
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/minus.js
597
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/minus.js
580
598
  init_react_import();
581
- var Minus = createLucideIcon("Minus", [["path", { d: "M5 12h14", key: "1ays0h" }]]);
599
+ var __iconNode10 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
600
+ var Minus = createLucideIcon("minus", __iconNode10);
582
601
 
583
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/paperclip.js
602
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/paperclip.js
584
603
  init_react_import();
585
- var Paperclip = createLucideIcon("Paperclip", [
604
+ var __iconNode11 = [
586
605
  [
587
606
  "path",
588
607
  {
589
- d: "m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",
590
- key: "1u3ebp"
608
+ d: "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",
609
+ key: "1miecu"
591
610
  }
592
611
  ]
593
- ]);
612
+ ];
613
+ var Paperclip = createLucideIcon("paperclip", __iconNode11);
594
614
 
595
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/pen.js
615
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/pen.js
596
616
  init_react_import();
597
- var Pen = createLucideIcon("Pen", [
617
+ var __iconNode12 = [
598
618
  [
599
619
  "path",
600
620
  {
@@ -602,48 +622,53 @@ var Pen = createLucideIcon("Pen", [
602
622
  key: "1a8usu"
603
623
  }
604
624
  ]
605
- ]);
625
+ ];
626
+ var Pen = createLucideIcon("pen", __iconNode12);
606
627
 
607
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/plus.js
628
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/plus.js
608
629
  init_react_import();
609
- var Plus = createLucideIcon("Plus", [
630
+ var __iconNode13 = [
610
631
  ["path", { d: "M5 12h14", key: "1ays0h" }],
611
632
  ["path", { d: "M12 5v14", key: "s699le" }]
612
- ]);
633
+ ];
634
+ var Plus = createLucideIcon("plus", __iconNode13);
613
635
 
614
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js
636
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js
615
637
  init_react_import();
616
- var RotateCcw = createLucideIcon("RotateCcw", [
638
+ var __iconNode14 = [
617
639
  ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
618
640
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
619
- ]);
641
+ ];
642
+ var RotateCcw = createLucideIcon("rotate-ccw", __iconNode14);
620
643
 
621
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/settings.js
644
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/settings.js
622
645
  init_react_import();
623
- var Settings = createLucideIcon("Settings", [
646
+ var __iconNode15 = [
624
647
  [
625
648
  "path",
626
649
  {
627
- d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",
628
- key: "1qme2f"
650
+ d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
651
+ key: "1i5ecw"
629
652
  }
630
653
  ],
631
654
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
632
- ]);
655
+ ];
656
+ var Settings = createLucideIcon("settings", __iconNode15);
633
657
 
634
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/trash-2.js
658
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/trash-2.js
635
659
  init_react_import();
636
- var Trash2 = createLucideIcon("Trash2", [
660
+ var __iconNode16 = [
661
+ ["path", { d: "M10 11v6", key: "nco0om" }],
662
+ ["path", { d: "M14 11v6", key: "outv1u" }],
663
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
637
664
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
638
- ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
639
- ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
640
- ["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
641
- ["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
642
- ]);
665
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
666
+ ];
667
+ var Trash2 = createLucideIcon("trash-2", __iconNode16);
643
668
 
644
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
669
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
645
670
  init_react_import();
646
- var TriangleAlert = createLucideIcon("TriangleAlert", [
671
+ var __iconNode17 = [
647
672
  [
648
673
  "path",
649
674
  {
@@ -653,11 +678,12 @@ var TriangleAlert = createLucideIcon("TriangleAlert", [
653
678
  ],
654
679
  ["path", { d: "M12 9v4", key: "juzpu7" }],
655
680
  ["path", { d: "M12 17h.01", key: "p32p05" }]
656
- ]);
681
+ ];
682
+ var TriangleAlert = createLucideIcon("triangle-alert", __iconNode17);
657
683
 
658
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js
684
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js
659
685
  init_react_import();
660
- var WandSparkles = createLucideIcon("WandSparkles", [
686
+ var __iconNode18 = [
661
687
  [
662
688
  "path",
663
689
  {
@@ -672,14 +698,16 @@ var WandSparkles = createLucideIcon("WandSparkles", [
672
698
  ["path", { d: "M7 8H3", key: "zfb6yr" }],
673
699
  ["path", { d: "M21 16h-4", key: "1cnmox" }],
674
700
  ["path", { d: "M11 3H9", key: "1obp7u" }]
675
- ]);
701
+ ];
702
+ var WandSparkles = createLucideIcon("wand-sparkles", __iconNode18);
676
703
 
677
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/x.js
704
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/x.js
678
705
  init_react_import();
679
- var X = createLucideIcon("X", [
706
+ var __iconNode19 = [
680
707
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
681
708
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
682
- ]);
709
+ ];
710
+ var X = createLucideIcon("x", __iconNode19);
683
711
 
684
712
  // src/index.tsx
685
713
  var import_ulid2 = require("ulid");
@@ -9601,7 +9629,7 @@ var import_jsx_runtime35 = require("react/jsx-runtime");
9601
9629
  var q2 = (0, import_qler.default)();
9602
9630
  var DEFAULT_API_VERSION = "v2";
9603
9631
  var BUILD_OP_DEBOUNCE_MS = 1e3 / 60;
9604
- var PLUGIN_AI_VERSION = true ? "0.8.0-canary.a74e3a2e" : "unknown";
9632
+ var PLUGIN_AI_VERSION = true ? "0.8.0-canary.ad0c4c0e" : "unknown";
9605
9633
  var BENCHMARK = false;
9606
9634
  var prefixedUlid = (prefix = "") => `${prefix ? `${prefix}_` : ""}${(0, import_ulid.ulid)()}`;
9607
9635
  var getClassName18 = getClassNameFactory("Chat", styles_module_default);
@@ -10786,7 +10814,7 @@ lucide-react/dist/esm/icons/wand-sparkles.js:
10786
10814
  lucide-react/dist/esm/icons/x.js:
10787
10815
  lucide-react/dist/esm/lucide-react.js:
10788
10816
  (**
10789
- * @license lucide-react v0.452.0 - ISC
10817
+ * @license lucide-react v0.554.0 - ISC
10790
10818
  *
10791
10819
  * This source code is licensed under the ISC license.
10792
10820
  * See the LICENSE file in the root directory of this source tree.
package/dist/index.mjs CHANGED
@@ -391,25 +391,40 @@ init_react_import();
391
391
  // src/index.tsx
392
392
  init_react_import();
393
393
 
394
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/lucide-react.js
394
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/lucide-react.js
395
395
  init_react_import();
396
396
 
397
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
397
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
398
398
  init_react_import();
399
399
  import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
400
400
 
401
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
401
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
402
402
  init_react_import();
403
403
  var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
404
+ var toCamelCase = (string) => string.replace(
405
+ /^([A-Z])|[\s-_]+(\w)/g,
406
+ (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
407
+ );
408
+ var toPascalCase = (string) => {
409
+ const camelCase2 = toCamelCase(string);
410
+ return camelCase2.charAt(0).toUpperCase() + camelCase2.slice(1);
411
+ };
404
412
  var mergeClasses = (...classes) => classes.filter((className, index, array) => {
405
- return Boolean(className) && array.indexOf(className) === index;
406
- }).join(" ");
413
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
414
+ }).join(" ").trim();
415
+ var hasA11yProp = (props) => {
416
+ for (const prop in props) {
417
+ if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
418
+ return true;
419
+ }
420
+ }
421
+ };
407
422
 
408
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
423
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
409
424
  init_react_import();
410
425
  import { forwardRef, createElement } from "react";
411
426
 
412
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
427
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
413
428
  init_react_import();
414
429
  var defaultAttributes = {
415
430
  xmlns: "http://www.w3.org/2000/svg",
@@ -423,7 +438,7 @@ var defaultAttributes = {
423
438
  strokeLinejoin: "round"
424
439
  };
425
440
 
426
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
441
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/Icon.js
427
442
  var Icon = forwardRef(
428
443
  ({
429
444
  color = "currentColor",
@@ -434,154 +449,159 @@ var Icon = forwardRef(
434
449
  children,
435
450
  iconNode,
436
451
  ...rest
437
- }, ref) => {
438
- return createElement(
439
- "svg",
440
- {
441
- ref,
442
- ...defaultAttributes,
443
- width: size,
444
- height: size,
445
- stroke: color,
446
- strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
447
- className: mergeClasses("lucide", className),
448
- ...rest
449
- },
450
- [
451
- ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
452
- ...Array.isArray(children) ? children : [children]
453
- ]
454
- );
455
- }
452
+ }, ref) => createElement(
453
+ "svg",
454
+ {
455
+ ref,
456
+ ...defaultAttributes,
457
+ width: size,
458
+ height: size,
459
+ stroke: color,
460
+ strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
461
+ className: mergeClasses("lucide", className),
462
+ ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
463
+ ...rest
464
+ },
465
+ [
466
+ ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
467
+ ...Array.isArray(children) ? children : [children]
468
+ ]
469
+ )
456
470
  );
457
471
 
458
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
472
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
459
473
  var createLucideIcon = (iconName, iconNode) => {
460
474
  const Component = forwardRef2(
461
475
  ({ className, ...props }, ref) => createElement2(Icon, {
462
476
  ref,
463
477
  iconNode,
464
- className: mergeClasses(`lucide-${toKebabCase(iconName)}`, className),
478
+ className: mergeClasses(
479
+ `lucide-${toKebabCase(toPascalCase(iconName))}`,
480
+ `lucide-${iconName}`,
481
+ className
482
+ ),
465
483
  ...props
466
484
  })
467
485
  );
468
- Component.displayName = `${iconName}`;
486
+ Component.displayName = toPascalCase(iconName);
469
487
  return Component;
470
488
  };
471
489
 
472
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/arrow-up.js
490
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/arrow-up.js
473
491
  init_react_import();
474
- var ArrowUp = createLucideIcon("ArrowUp", [
492
+ var __iconNode = [
475
493
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
476
494
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
477
- ]);
495
+ ];
496
+ var ArrowUp = createLucideIcon("arrow-up", __iconNode);
478
497
 
479
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/bot.js
498
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/bot.js
480
499
  init_react_import();
481
- var Bot = createLucideIcon("Bot", [
500
+ var __iconNode2 = [
482
501
  ["path", { d: "M12 8V4H8", key: "hb8ula" }],
483
502
  ["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
484
503
  ["path", { d: "M2 14h2", key: "vft8re" }],
485
504
  ["path", { d: "M20 14h2", key: "4cs60a" }],
486
505
  ["path", { d: "M15 13v2", key: "1xurst" }],
487
506
  ["path", { d: "M9 13v2", key: "rq6x2g" }]
488
- ]);
489
-
490
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/brain.js
491
- init_react_import();
492
- var Brain = createLucideIcon("Brain", [
493
- [
494
- "path",
495
- {
496
- d: "M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",
497
- key: "l5xja"
498
- }
499
- ],
500
- [
501
- "path",
502
- {
503
- d: "M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",
504
- key: "ep3f8r"
505
- }
506
- ],
507
- ["path", { d: "M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4", key: "1p4c4q" }],
508
- ["path", { d: "M17.599 6.5a3 3 0 0 0 .399-1.375", key: "tmeiqw" }],
509
- ["path", { d: "M6.003 5.125A3 3 0 0 0 6.401 6.5", key: "105sqy" }],
510
- ["path", { d: "M3.477 10.896a4 4 0 0 1 .585-.396", key: "ql3yin" }],
511
- ["path", { d: "M19.938 10.5a4 4 0 0 1 .585.396", key: "1qfode" }],
512
- ["path", { d: "M6 18a4 4 0 0 1-1.967-.516", key: "2e4loj" }],
513
- ["path", { d: "M19.967 17.484A4 4 0 0 1 18 18", key: "159ez6" }]
514
- ]);
507
+ ];
508
+ var Bot = createLucideIcon("bot", __iconNode2);
509
+
510
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/brain.js
511
+ init_react_import();
512
+ var __iconNode3 = [
513
+ ["path", { d: "M12 18V5", key: "adv99a" }],
514
+ ["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
515
+ ["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
516
+ ["path", { d: "M17.997 5.125a4 4 0 0 1 2.526 5.77", key: "iwvgf7" }],
517
+ ["path", { d: "M18 18a4 4 0 0 0 2-7.464", key: "efp6ie" }],
518
+ ["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
519
+ ["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
520
+ ["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
521
+ ];
522
+ var Brain = createLucideIcon("brain", __iconNode3);
515
523
 
516
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/camera.js
524
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/camera.js
517
525
  init_react_import();
518
- var Camera = createLucideIcon("Camera", [
526
+ var __iconNode4 = [
519
527
  [
520
528
  "path",
521
529
  {
522
- d: "M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",
523
- key: "1tc9qg"
530
+ d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
531
+ key: "18u6gg"
524
532
  }
525
533
  ],
526
534
  ["circle", { cx: "12", cy: "13", r: "3", key: "1vg3eu" }]
527
- ]);
535
+ ];
536
+ var Camera = createLucideIcon("camera", __iconNode4);
528
537
 
529
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/check.js
538
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/check.js
530
539
  init_react_import();
531
- var Check = createLucideIcon("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
540
+ var __iconNode5 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
541
+ var Check = createLucideIcon("check", __iconNode5);
532
542
 
533
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/cloud-download.js
543
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/cloud-download.js
534
544
  init_react_import();
535
- var CloudDownload = createLucideIcon("CloudDownload", [
545
+ var __iconNode6 = [
536
546
  ["path", { d: "M12 13v8l-4-4", key: "1f5nwf" }],
537
547
  ["path", { d: "m12 21 4-4", key: "1lfcce" }],
538
548
  ["path", { d: "M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284", key: "ui1hmy" }]
539
- ]);
549
+ ];
550
+ var CloudDownload = createLucideIcon("cloud-download", __iconNode6);
540
551
 
541
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/file-text.js
552
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/file-text.js
542
553
  init_react_import();
543
- var FileText = createLucideIcon("FileText", [
544
- ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
545
- ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
554
+ var __iconNode7 = [
555
+ [
556
+ "path",
557
+ {
558
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
559
+ key: "1oefj6"
560
+ }
561
+ ],
562
+ ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }],
546
563
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
547
564
  ["path", { d: "M16 13H8", key: "t4e002" }],
548
565
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
549
- ]);
566
+ ];
567
+ var FileText = createLucideIcon("file-text", __iconNode7);
550
568
 
551
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/git-pull-request.js
569
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/git-pull-request.js
552
570
  init_react_import();
553
- var GitPullRequest = createLucideIcon("GitPullRequest", [
571
+ var __iconNode8 = [
554
572
  ["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
555
573
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
556
574
  ["path", { d: "M13 6h3a2 2 0 0 1 2 2v7", key: "1yeb86" }],
557
575
  ["line", { x1: "6", x2: "6", y1: "9", y2: "21", key: "rroup" }]
558
- ]);
576
+ ];
577
+ var GitPullRequest = createLucideIcon("git-pull-request", __iconNode8);
559
578
 
560
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js
579
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/loader-circle.js
561
580
  init_react_import();
562
- var LoaderCircle = createLucideIcon("LoaderCircle", [
563
- ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
564
- ]);
581
+ var __iconNode9 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
582
+ var LoaderCircle = createLucideIcon("loader-circle", __iconNode9);
565
583
 
566
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/minus.js
584
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/minus.js
567
585
  init_react_import();
568
- var Minus = createLucideIcon("Minus", [["path", { d: "M5 12h14", key: "1ays0h" }]]);
586
+ var __iconNode10 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
587
+ var Minus = createLucideIcon("minus", __iconNode10);
569
588
 
570
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/paperclip.js
589
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/paperclip.js
571
590
  init_react_import();
572
- var Paperclip = createLucideIcon("Paperclip", [
591
+ var __iconNode11 = [
573
592
  [
574
593
  "path",
575
594
  {
576
- d: "m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",
577
- key: "1u3ebp"
595
+ d: "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",
596
+ key: "1miecu"
578
597
  }
579
598
  ]
580
- ]);
599
+ ];
600
+ var Paperclip = createLucideIcon("paperclip", __iconNode11);
581
601
 
582
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/pen.js
602
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/pen.js
583
603
  init_react_import();
584
- var Pen = createLucideIcon("Pen", [
604
+ var __iconNode12 = [
585
605
  [
586
606
  "path",
587
607
  {
@@ -589,48 +609,53 @@ var Pen = createLucideIcon("Pen", [
589
609
  key: "1a8usu"
590
610
  }
591
611
  ]
592
- ]);
612
+ ];
613
+ var Pen = createLucideIcon("pen", __iconNode12);
593
614
 
594
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/plus.js
615
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/plus.js
595
616
  init_react_import();
596
- var Plus = createLucideIcon("Plus", [
617
+ var __iconNode13 = [
597
618
  ["path", { d: "M5 12h14", key: "1ays0h" }],
598
619
  ["path", { d: "M12 5v14", key: "s699le" }]
599
- ]);
620
+ ];
621
+ var Plus = createLucideIcon("plus", __iconNode13);
600
622
 
601
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js
623
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js
602
624
  init_react_import();
603
- var RotateCcw = createLucideIcon("RotateCcw", [
625
+ var __iconNode14 = [
604
626
  ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
605
627
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
606
- ]);
628
+ ];
629
+ var RotateCcw = createLucideIcon("rotate-ccw", __iconNode14);
607
630
 
608
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/settings.js
631
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/settings.js
609
632
  init_react_import();
610
- var Settings = createLucideIcon("Settings", [
633
+ var __iconNode15 = [
611
634
  [
612
635
  "path",
613
636
  {
614
- d: "M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",
615
- key: "1qme2f"
637
+ d: "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",
638
+ key: "1i5ecw"
616
639
  }
617
640
  ],
618
641
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
619
- ]);
642
+ ];
643
+ var Settings = createLucideIcon("settings", __iconNode15);
620
644
 
621
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/trash-2.js
645
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/trash-2.js
622
646
  init_react_import();
623
- var Trash2 = createLucideIcon("Trash2", [
647
+ var __iconNode16 = [
648
+ ["path", { d: "M10 11v6", key: "nco0om" }],
649
+ ["path", { d: "M14 11v6", key: "outv1u" }],
650
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
624
651
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
625
- ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
626
- ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
627
- ["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
628
- ["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
629
- ]);
652
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
653
+ ];
654
+ var Trash2 = createLucideIcon("trash-2", __iconNode16);
630
655
 
631
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
656
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/triangle-alert.js
632
657
  init_react_import();
633
- var TriangleAlert = createLucideIcon("TriangleAlert", [
658
+ var __iconNode17 = [
634
659
  [
635
660
  "path",
636
661
  {
@@ -640,11 +665,12 @@ var TriangleAlert = createLucideIcon("TriangleAlert", [
640
665
  ],
641
666
  ["path", { d: "M12 9v4", key: "juzpu7" }],
642
667
  ["path", { d: "M12 17h.01", key: "p32p05" }]
643
- ]);
668
+ ];
669
+ var TriangleAlert = createLucideIcon("triangle-alert", __iconNode17);
644
670
 
645
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js
671
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js
646
672
  init_react_import();
647
- var WandSparkles = createLucideIcon("WandSparkles", [
673
+ var __iconNode18 = [
648
674
  [
649
675
  "path",
650
676
  {
@@ -659,14 +685,16 @@ var WandSparkles = createLucideIcon("WandSparkles", [
659
685
  ["path", { d: "M7 8H3", key: "zfb6yr" }],
660
686
  ["path", { d: "M21 16h-4", key: "1cnmox" }],
661
687
  ["path", { d: "M11 3H9", key: "1obp7u" }]
662
- ]);
688
+ ];
689
+ var WandSparkles = createLucideIcon("wand-sparkles", __iconNode18);
663
690
 
664
- // ../../node_modules/.pnpm/lucide-react@0.452.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/x.js
691
+ // ../../node_modules/.pnpm/lucide-react@0.554.0_react@19.1.1/node_modules/lucide-react/dist/esm/icons/x.js
665
692
  init_react_import();
666
- var X = createLucideIcon("X", [
693
+ var __iconNode19 = [
667
694
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
668
695
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
669
- ]);
696
+ ];
697
+ var X = createLucideIcon("x", __iconNode19);
670
698
 
671
699
  // src/index.tsx
672
700
  import { ulid as ulid2 } from "ulid";
@@ -9631,7 +9659,7 @@ import { Fragment as Fragment8, jsx as jsx35, jsxs as jsxs20 } from "react/jsx-r
9631
9659
  var q2 = qler();
9632
9660
  var DEFAULT_API_VERSION = "v2";
9633
9661
  var BUILD_OP_DEBOUNCE_MS = 1e3 / 60;
9634
- var PLUGIN_AI_VERSION = true ? "0.8.0-canary.a74e3a2e" : "unknown";
9662
+ var PLUGIN_AI_VERSION = true ? "0.8.0-canary.ad0c4c0e" : "unknown";
9635
9663
  var BENCHMARK = false;
9636
9664
  var prefixedUlid = (prefix = "") => `${prefix ? `${prefix}_` : ""}${ulid()}`;
9637
9665
  var getClassName18 = getClassNameFactory("Chat", styles_module_default);
@@ -10815,7 +10843,7 @@ lucide-react/dist/esm/icons/wand-sparkles.js:
10815
10843
  lucide-react/dist/esm/icons/x.js:
10816
10844
  lucide-react/dist/esm/lucide-react.js:
10817
10845
  (**
10818
- * @license lucide-react v0.452.0 - ISC
10846
+ * @license lucide-react v0.554.0 - ISC
10819
10847
  *
10820
10848
  * This source code is licensed under the ISC license.
10821
10849
  * See the LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@puckeditor/plugin-ai",
3
- "version": "0.8.0-canary.a74e3a2e",
3
+ "version": "0.8.0-canary.ad0c4c0e",
4
4
  "author": "Chris Villa <chris@puckeditor.com>",
5
5
  "repository": "puckeditor/puck",
6
6
  "bugs": "https://github.com/puckeditor/puck/issues",
@@ -28,36 +28,36 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "ai": "^6.0.191",
31
+ "ai": "catalog:",
32
32
  "domhandler": "^6.0.1",
33
33
  "domutils": "^4.0.2",
34
34
  "html2canvas-pro": "^1.5.13",
35
- "htmlparser2": "^12.0.0",
36
- "qler": "^0.6.2",
37
- "react-markdown": "^10.1.0",
38
- "react-textarea-autosize": "^8.5.9",
39
- "ulid": "^3.0.1",
35
+ "htmlparser2": "catalog:",
36
+ "qler": "catalog:",
37
+ "react-markdown": "catalog:",
38
+ "react-textarea-autosize": "catalog:",
39
+ "ulid": "catalog:",
40
40
  "use-debounce": "^9.0.4",
41
- "use-stick-to-bottom": "^1.1.1"
41
+ "use-stick-to-bottom": "catalog:"
42
42
  },
43
43
  "devDependencies": {
44
- "@ai-sdk/react": "^3.0.193",
44
+ "@ai-sdk/react": "catalog:",
45
45
  "@puckeditor/ai-types": "workspace:*",
46
- "@puckeditor/core": "0.22.0 cbf13a0d",
46
+ "@puckeditor/core": "catalog:",
47
47
  "@puckeditor/platform-types": "workspace:*",
48
- "@types/jest": "^30.0.0",
49
- "@types/node": "^24.3.0",
48
+ "@types/jest": "catalog:",
49
+ "@types/node": "catalog:",
50
50
  "@types/react": "catalog:",
51
51
  "@types/react-dom": "catalog:",
52
- "eslint": "^9.39.4",
52
+ "eslint": "catalog:",
53
53
  "eslint-config-custom": "workspace:*",
54
- "jsdom": "^28.1.0",
55
- "lucide-react": "^0.452.0",
54
+ "jsdom": "catalog:",
55
+ "lucide-react": "catalog:",
56
56
  "openai": "^5.5.1",
57
57
  "react-dom": "catalog:",
58
58
  "reducer": "workspace:*",
59
59
  "tsconfig": "workspace:*",
60
- "tsup": "^8.2.4",
60
+ "tsup": "catalog:",
61
61
  "tsup-config": "workspace:*",
62
62
  "typescript": "catalog:",
63
63
  "vitest": "catalog:"