@makemore/agent-frontend 2.10.0 → 2.11.1

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.
@@ -2486,4 +2486,326 @@
2486
2486
  overflow: hidden;
2487
2487
  text-overflow: ellipsis;
2488
2488
  opacity: 0.8;
2489
- }
2489
+ }
2490
+
2491
+ /* ==========================================================================
2492
+ Content Blocks — rich structured UI elements from tool results
2493
+ ========================================================================== */
2494
+
2495
+ .cw-content-blocks {
2496
+ display: flex;
2497
+ flex-direction: column;
2498
+ gap: 8px;
2499
+ margin: 6px 0;
2500
+ max-width: 100%;
2501
+ }
2502
+
2503
+ /* Card */
2504
+ .cw-block-card {
2505
+ border: 1px solid var(--cw-border);
2506
+ border-radius: var(--cw-radius-sm);
2507
+ overflow: hidden;
2508
+ background: var(--cw-bg);
2509
+ }
2510
+
2511
+ .cw-block-card-image {
2512
+ width: 100%;
2513
+ height: 120px;
2514
+ object-fit: cover;
2515
+ display: block;
2516
+ }
2517
+
2518
+ .cw-block-card-body {
2519
+ padding: 10px 12px;
2520
+ }
2521
+
2522
+ .cw-block-card-badge {
2523
+ display: inline-block;
2524
+ background: var(--cw-primary);
2525
+ color: #fff;
2526
+ font-size: 11px;
2527
+ padding: 2px 6px;
2528
+ border-radius: 4px;
2529
+ margin-bottom: 4px;
2530
+ }
2531
+
2532
+ .cw-block-card-title {
2533
+ font-weight: 600;
2534
+ font-size: 14px;
2535
+ color: var(--cw-text);
2536
+ }
2537
+
2538
+ .cw-block-card-subtitle {
2539
+ font-size: 13px;
2540
+ color: var(--cw-text-muted);
2541
+ margin-top: 2px;
2542
+ }
2543
+
2544
+ .cw-block-card-meta {
2545
+ display: flex;
2546
+ flex-wrap: wrap;
2547
+ gap: 6px 12px;
2548
+ margin-top: 6px;
2549
+ font-size: 12px;
2550
+ color: var(--cw-text-muted);
2551
+ }
2552
+
2553
+ .cw-block-meta-label {
2554
+ font-weight: 500;
2555
+ }
2556
+
2557
+ .cw-block-card-actions {
2558
+ display: flex;
2559
+ gap: 6px;
2560
+ margin-top: 8px;
2561
+ }
2562
+
2563
+ /* Card List */
2564
+ .cw-block-card-list {
2565
+ display: flex;
2566
+ gap: 8px;
2567
+ }
2568
+
2569
+ .cw-block-card-list-vertical {
2570
+ flex-direction: column;
2571
+ }
2572
+
2573
+ .cw-block-card-list-horizontal {
2574
+ flex-direction: row;
2575
+ overflow-x: auto;
2576
+ padding-bottom: 4px;
2577
+ }
2578
+
2579
+ .cw-block-card-list-horizontal .cw-block-card {
2580
+ min-width: 200px;
2581
+ max-width: 260px;
2582
+ flex-shrink: 0;
2583
+ }
2584
+
2585
+ /* Buttons */
2586
+ .cw-block-btn {
2587
+ display: inline-flex;
2588
+ align-items: center;
2589
+ padding: 6px 14px;
2590
+ border-radius: 6px;
2591
+ font-size: 13px;
2592
+ font-weight: 500;
2593
+ cursor: pointer;
2594
+ border: none;
2595
+ text-decoration: none;
2596
+ transition: opacity 0.15s;
2597
+ }
2598
+
2599
+ .cw-block-btn:hover {
2600
+ opacity: 0.85;
2601
+ }
2602
+
2603
+ .cw-block-btn-primary {
2604
+ background: var(--cw-primary);
2605
+ color: #fff;
2606
+ }
2607
+
2608
+ .cw-block-btn-secondary {
2609
+ background: var(--cw-bg-muted);
2610
+ color: var(--cw-text);
2611
+ border: 1px solid var(--cw-border);
2612
+ }
2613
+
2614
+ .cw-block-action-buttons {
2615
+ display: flex;
2616
+ flex-wrap: wrap;
2617
+ gap: 6px;
2618
+ }
2619
+
2620
+ /* Callout */
2621
+ .cw-block-callout {
2622
+ display: flex;
2623
+ gap: 8px;
2624
+ padding: 10px 12px;
2625
+ border-radius: var(--cw-radius-sm);
2626
+ font-size: 13px;
2627
+ }
2628
+
2629
+ .cw-block-callout-info {
2630
+ background: #eef4ff;
2631
+ border: 1px solid #b6d4fe;
2632
+ }
2633
+
2634
+ .cw-block-callout-success {
2635
+ background: #eefbf3;
2636
+ border: 1px solid #a3d9b1;
2637
+ }
2638
+
2639
+ .cw-block-callout-warning {
2640
+ background: #fff8e1;
2641
+ border: 1px solid #ffe082;
2642
+ }
2643
+
2644
+ .cw-block-callout-icon {
2645
+ flex-shrink: 0;
2646
+ }
2647
+
2648
+ .cw-block-callout-content {
2649
+ display: flex;
2650
+ flex-direction: column;
2651
+ gap: 2px;
2652
+ }
2653
+
2654
+
2655
+ /* Image */
2656
+ .cw-block-image {
2657
+ margin: 0;
2658
+ }
2659
+
2660
+ .cw-block-image img {
2661
+ max-width: 100%;
2662
+ border-radius: var(--cw-radius-sm);
2663
+ display: block;
2664
+ }
2665
+
2666
+ .cw-block-image figcaption {
2667
+ font-size: 12px;
2668
+ color: var(--cw-text-muted);
2669
+ margin-top: 4px;
2670
+ text-align: center;
2671
+ }
2672
+
2673
+ /* Divider */
2674
+ .cw-block-divider {
2675
+ border: none;
2676
+ border-top: 1px solid var(--cw-border);
2677
+ margin: 4px 0;
2678
+ }
2679
+
2680
+ /* Table */
2681
+ .cw-block-table-wrapper {
2682
+ overflow-x: auto;
2683
+ }
2684
+
2685
+ .cw-block-table {
2686
+ width: 100%;
2687
+ border-collapse: collapse;
2688
+ font-size: 13px;
2689
+ }
2690
+
2691
+ .cw-block-table th,
2692
+ .cw-block-table td {
2693
+ padding: 6px 10px;
2694
+ border: 1px solid var(--cw-border);
2695
+ text-align: left;
2696
+ }
2697
+
2698
+ .cw-block-table th {
2699
+ background: var(--cw-bg-muted);
2700
+ font-weight: 600;
2701
+ color: var(--cw-text);
2702
+ }
2703
+
2704
+ .cw-block-table td {
2705
+ color: var(--cw-text);
2706
+ }
2707
+
2708
+ /* Code */
2709
+ .cw-block-code {
2710
+ position: relative;
2711
+ background: #1e1e2e;
2712
+ border-radius: var(--cw-radius-sm);
2713
+ overflow: hidden;
2714
+ }
2715
+
2716
+ .cw-block-code-filename {
2717
+ padding: 4px 10px;
2718
+ background: rgba(255,255,255,0.08);
2719
+ font-size: 11px;
2720
+ color: #ccc;
2721
+ font-family: monospace;
2722
+ }
2723
+
2724
+ .cw-block-code pre {
2725
+ margin: 0;
2726
+ padding: 10px 12px;
2727
+ overflow-x: auto;
2728
+ font-size: 12px;
2729
+ line-height: 1.5;
2730
+ }
2731
+
2732
+ .cw-block-code code {
2733
+ color: #e0e0e0;
2734
+ font-family: 'SF Mono', 'Fira Code', monospace;
2735
+ }
2736
+
2737
+ .cw-block-code-copy {
2738
+ position: absolute;
2739
+ top: 6px;
2740
+ right: 6px;
2741
+ background: rgba(255,255,255,0.12);
2742
+ border: none;
2743
+ color: #ccc;
2744
+ padding: 2px 6px;
2745
+ border-radius: 4px;
2746
+ cursor: pointer;
2747
+ font-size: 14px;
2748
+ }
2749
+
2750
+ .cw-block-code-copy:hover {
2751
+ background: rgba(255,255,255,0.2);
2752
+ }
2753
+
2754
+ /* Collapsible */
2755
+ .cw-block-collapsible {
2756
+ border: 1px solid var(--cw-border);
2757
+ border-radius: var(--cw-radius-sm);
2758
+ overflow: hidden;
2759
+ }
2760
+
2761
+ .cw-block-collapsible summary {
2762
+ padding: 8px 12px;
2763
+ cursor: pointer;
2764
+ font-weight: 500;
2765
+ font-size: 13px;
2766
+ color: var(--cw-text);
2767
+ background: var(--cw-bg-muted);
2768
+ list-style: none;
2769
+ }
2770
+
2771
+ .cw-block-collapsible summary::-webkit-details-marker {
2772
+ display: none;
2773
+ }
2774
+
2775
+ .cw-block-collapsible-body {
2776
+ padding: 10px 12px;
2777
+ font-size: 13px;
2778
+ color: var(--cw-text);
2779
+ }
2780
+
2781
+ /* Status */
2782
+ .cw-block-status {
2783
+ display: flex;
2784
+ gap: 8px;
2785
+ align-items: flex-start;
2786
+ padding: 8px 12px;
2787
+ border-radius: var(--cw-radius-sm);
2788
+ font-size: 13px;
2789
+ border: 1px solid var(--cw-border);
2790
+ background: var(--cw-bg);
2791
+ }
2792
+
2793
+ .cw-block-status-icon {
2794
+ flex-shrink: 0;
2795
+ }
2796
+
2797
+ /* Progress bar */
2798
+ .cw-block-progress {
2799
+ height: 4px;
2800
+ background: var(--cw-bg-muted);
2801
+ border-radius: 2px;
2802
+ margin-top: 6px;
2803
+ overflow: hidden;
2804
+ }
2805
+
2806
+ .cw-block-progress-bar {
2807
+ height: 100%;
2808
+ background: var(--cw-primary);
2809
+ border-radius: 2px;
2810
+ transition: width 0.3s ease;
2811
+ }