@almadar/std 13.0.1 → 13.0.2

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.
@@ -337,7 +337,7 @@
337
337
  "render-ui",
338
338
  "main",
339
339
  {
340
- "type": "dashboard-layout",
340
+ "appName": "Code Reviewer",
341
341
  "navItems": [
342
342
  {
343
343
  "label": "Review",
@@ -345,72 +345,72 @@
345
345
  "icon": "file-search"
346
346
  },
347
347
  {
348
- "label": "Analysis",
349
348
  "icon": "tag",
349
+ "label": "Analysis",
350
350
  "href": "/analysis"
351
351
  },
352
352
  {
353
353
  "href": "/issues",
354
- "icon": "alert-triangle",
355
- "label": "Issues"
354
+ "label": "Issues",
355
+ "icon": "alert-triangle"
356
356
  }
357
357
  ],
358
358
  "children": [
359
359
  {
360
- "direction": "vertical",
361
360
  "type": "stack",
362
- "gap": "lg",
363
361
  "children": [
364
362
  {
363
+ "gap": "sm",
364
+ "type": "stack",
365
+ "direction": "horizontal",
365
366
  "children": [
366
367
  {
367
- "name": "file-search",
368
- "type": "icon"
368
+ "type": "icon",
369
+ "name": "file-search"
369
370
  },
370
371
  {
372
+ "variant": "h2",
371
373
  "content": "Code Review",
372
- "type": "typography",
373
- "variant": "h2"
374
+ "type": "typography"
374
375
  }
375
376
  ],
376
- "align": "center",
377
- "direction": "horizontal",
378
- "type": "stack",
379
- "gap": "sm"
377
+ "align": "center"
380
378
  },
381
379
  {
382
380
  "type": "divider"
383
381
  },
384
382
  {
385
- "type": "card",
386
383
  "children": [
387
384
  {
385
+ "gap": "md",
388
386
  "direction": "vertical",
389
387
  "children": [
390
388
  {
391
- "variant": "body",
392
389
  "type": "typography",
390
+ "variant": "body",
393
391
  "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review."
394
392
  },
395
393
  {
396
394
  "mode": "edit",
397
395
  "submitEvent": "SUBMIT_REVIEW",
398
- "entity": "@entity",
399
396
  "type": "form-section",
400
397
  "fields": [
401
398
  "target"
402
- ]
399
+ ],
400
+ "entity": "@entity"
403
401
  }
404
402
  ],
405
- "type": "stack",
406
- "gap": "md"
403
+ "type": "stack"
407
404
  }
408
- ]
405
+ ],
406
+ "type": "card"
409
407
  }
410
- ]
408
+ ],
409
+ "gap": "lg",
410
+ "direction": "vertical"
411
411
  }
412
412
  ],
413
- "appName": "Code Reviewer"
413
+ "type": "dashboard-layout"
414
414
  }
415
415
  ]
416
416
  ]
@@ -442,52 +442,52 @@
442
442
  "render-ui",
443
443
  "main",
444
444
  {
445
- "type": "dashboard-layout",
446
- "navItems": [
447
- {
448
- "href": "/review",
449
- "icon": "file-search",
450
- "label": "Review"
451
- },
452
- {
453
- "icon": "tag",
454
- "label": "Analysis",
455
- "href": "/analysis"
456
- },
457
- {
458
- "href": "/issues",
459
- "icon": "alert-triangle",
460
- "label": "Issues"
461
- }
462
- ],
463
445
  "children": [
464
446
  {
465
- "gap": "lg",
466
447
  "type": "stack",
467
448
  "align": "center",
449
+ "gap": "lg",
450
+ "direction": "vertical",
468
451
  "children": [
469
452
  {
470
- "type": "icon",
471
- "name": "search"
453
+ "name": "search",
454
+ "type": "icon"
472
455
  },
473
456
  {
474
- "content": "Analyzing input...",
475
457
  "variant": "h3",
476
- "type": "typography"
458
+ "type": "typography",
459
+ "content": "Analyzing input..."
477
460
  },
478
461
  {
479
462
  "type": "spinner"
480
463
  },
481
464
  {
482
- "content": "Classifying and searching for patterns",
483
465
  "variant": "caption",
484
- "type": "typography"
466
+ "type": "typography",
467
+ "content": "Classifying and searching for patterns"
485
468
  }
486
- ],
487
- "direction": "vertical"
469
+ ]
488
470
  }
489
471
  ],
490
- "appName": "Code Reviewer"
472
+ "appName": "Code Reviewer",
473
+ "type": "dashboard-layout",
474
+ "navItems": [
475
+ {
476
+ "icon": "file-search",
477
+ "href": "/review",
478
+ "label": "Review"
479
+ },
480
+ {
481
+ "label": "Analysis",
482
+ "icon": "tag",
483
+ "href": "/analysis"
484
+ },
485
+ {
486
+ "label": "Issues",
487
+ "href": "/issues",
488
+ "icon": "alert-triangle"
489
+ }
490
+ ]
491
491
  }
492
492
  ]
493
493
  ]
@@ -510,16 +510,14 @@
510
510
  "render-ui",
511
511
  "main",
512
512
  {
513
+ "appName": "Code Reviewer",
514
+ "type": "dashboard-layout",
513
515
  "children": [
514
516
  {
515
- "gap": "lg",
516
- "align": "center",
517
- "type": "stack",
518
- "direction": "vertical",
519
517
  "children": [
520
518
  {
521
- "name": "cpu",
522
- "type": "icon"
519
+ "type": "icon",
520
+ "name": "cpu"
523
521
  },
524
522
  {
525
523
  "type": "typography",
@@ -530,32 +528,34 @@
530
528
  "type": "spinner"
531
529
  },
532
530
  {
533
- "type": "typography",
534
531
  "content": "Category: @entity.category",
535
- "variant": "caption"
532
+ "variant": "caption",
533
+ "type": "typography"
536
534
  }
537
- ]
535
+ ],
536
+ "direction": "vertical",
537
+ "align": "center",
538
+ "gap": "lg",
539
+ "type": "stack"
538
540
  }
539
541
  ],
540
542
  "navItems": [
541
543
  {
542
- "href": "/review",
544
+ "label": "Review",
543
545
  "icon": "file-search",
544
- "label": "Review"
546
+ "href": "/review"
545
547
  },
546
548
  {
547
- "href": "/analysis",
549
+ "icon": "tag",
548
550
  "label": "Analysis",
549
- "icon": "tag"
551
+ "href": "/analysis"
550
552
  },
551
553
  {
552
554
  "label": "Issues",
553
- "icon": "alert-triangle",
554
- "href": "/issues"
555
+ "href": "/issues",
556
+ "icon": "alert-triangle"
555
557
  }
556
- ],
557
- "type": "dashboard-layout",
558
- "appName": "Code Reviewer"
558
+ ]
559
559
  }
560
560
  ]
561
561
  ]
@@ -579,122 +579,122 @@
579
579
  "render-ui",
580
580
  "main",
581
581
  {
582
- "navItems": [
583
- {
584
- "label": "Review",
585
- "href": "/review",
586
- "icon": "file-search"
587
- },
588
- {
589
- "href": "/analysis",
590
- "icon": "tag",
591
- "label": "Analysis"
592
- },
593
- {
594
- "label": "Issues",
595
- "icon": "alert-triangle",
596
- "href": "/issues"
597
- }
598
- ],
599
- "type": "dashboard-layout",
600
582
  "appName": "Code Reviewer",
601
583
  "children": [
602
584
  {
603
- "gap": "lg",
604
585
  "type": "stack",
605
- "direction": "vertical",
606
586
  "children": [
607
587
  {
608
- "direction": "horizontal",
609
588
  "children": [
610
589
  {
611
- "align": "center",
612
- "type": "stack",
613
- "gap": "sm",
614
590
  "direction": "horizontal",
591
+ "gap": "sm",
592
+ "align": "center",
615
593
  "children": [
616
594
  {
617
- "type": "icon",
618
- "name": "check-circle"
595
+ "name": "check-circle",
596
+ "type": "icon"
619
597
  },
620
598
  {
599
+ "variant": "h2",
621
600
  "type": "typography",
622
- "content": "Review Complete",
623
- "variant": "h2"
601
+ "content": "Review Complete"
624
602
  }
625
- ]
603
+ ],
604
+ "type": "stack"
626
605
  },
627
606
  {
628
607
  "type": "badge",
629
608
  "label": "@entity.score"
630
609
  }
631
610
  ],
632
- "align": "center",
633
- "justify": "between",
611
+ "direction": "horizontal",
612
+ "type": "stack",
634
613
  "gap": "sm",
635
- "type": "stack"
614
+ "justify": "between",
615
+ "align": "center"
636
616
  },
637
617
  {
638
618
  "type": "divider"
639
619
  },
640
620
  {
621
+ "type": "card",
641
622
  "children": [
642
623
  {
643
624
  "direction": "vertical",
644
- "gap": "md",
645
- "type": "stack",
646
625
  "children": [
647
626
  {
648
- "type": "stack",
649
- "direction": "horizontal",
650
627
  "children": [
651
628
  {
652
- "type": "badge",
653
- "label": "@entity.category"
629
+ "label": "@entity.category",
630
+ "type": "badge"
654
631
  },
655
632
  {
656
- "label": "@entity.reviewStatus",
657
- "type": "badge"
633
+ "type": "badge",
634
+ "label": "@entity.reviewStatus"
658
635
  }
659
636
  ],
637
+ "direction": "horizontal",
638
+ "type": "stack",
660
639
  "gap": "sm"
661
640
  },
662
641
  {
663
- "variant": "h4",
664
642
  "type": "typography",
643
+ "variant": "h4",
665
644
  "content": "Issues"
666
645
  },
667
646
  {
668
- "variant": "body",
669
647
  "content": "@entity.issues",
670
- "type": "typography"
648
+ "type": "typography",
649
+ "variant": "body"
671
650
  },
672
651
  {
673
652
  "type": "divider"
674
653
  },
675
654
  {
676
- "content": "Suggestions",
677
655
  "type": "typography",
656
+ "content": "Suggestions",
678
657
  "variant": "h4"
679
658
  },
680
659
  {
660
+ "variant": "body",
681
661
  "type": "typography",
682
- "content": "@entity.suggestions",
683
- "variant": "body"
662
+ "content": "@entity.suggestions"
684
663
  }
685
- ]
664
+ ],
665
+ "gap": "md",
666
+ "type": "stack"
686
667
  }
687
- ],
688
- "type": "card"
668
+ ]
689
669
  },
690
670
  {
691
671
  "icon": "rotate-ccw",
692
- "action": "RESET",
693
672
  "type": "button",
694
- "variant": "ghost",
695
- "label": "New Review"
673
+ "label": "New Review",
674
+ "action": "RESET",
675
+ "variant": "ghost"
696
676
  }
697
- ]
677
+ ],
678
+ "direction": "vertical",
679
+ "gap": "lg"
680
+ }
681
+ ],
682
+ "type": "dashboard-layout",
683
+ "navItems": [
684
+ {
685
+ "label": "Review",
686
+ "href": "/review",
687
+ "icon": "file-search"
688
+ },
689
+ {
690
+ "label": "Analysis",
691
+ "href": "/analysis",
692
+ "icon": "tag"
693
+ },
694
+ {
695
+ "icon": "alert-triangle",
696
+ "label": "Issues",
697
+ "href": "/issues"
698
698
  }
699
699
  ]
700
700
  }
@@ -735,31 +735,29 @@
735
735
  "render-ui",
736
736
  "main",
737
737
  {
738
- "appName": "Code Reviewer",
739
- "type": "dashboard-layout",
740
738
  "navItems": [
741
739
  {
742
- "label": "Review",
743
740
  "href": "/review",
741
+ "label": "Review",
744
742
  "icon": "file-search"
745
743
  },
746
744
  {
745
+ "href": "/analysis",
747
746
  "icon": "tag",
748
- "label": "Analysis",
749
- "href": "/analysis"
747
+ "label": "Analysis"
750
748
  },
751
749
  {
752
- "href": "/issues",
753
750
  "label": "Issues",
751
+ "href": "/issues",
754
752
  "icon": "alert-triangle"
755
753
  }
756
754
  ],
757
755
  "children": [
758
756
  {
759
757
  "type": "stack",
760
- "gap": "lg",
761
758
  "children": [
762
759
  {
760
+ "direction": "horizontal",
763
761
  "children": [
764
762
  {
765
763
  "name": "file-search",
@@ -767,48 +765,50 @@
767
765
  },
768
766
  {
769
767
  "variant": "h2",
770
- "content": "Code Review",
771
- "type": "typography"
768
+ "type": "typography",
769
+ "content": "Code Review"
772
770
  }
773
771
  ],
774
- "type": "stack",
775
772
  "align": "center",
776
773
  "gap": "sm",
777
- "direction": "horizontal"
774
+ "type": "stack"
778
775
  },
779
776
  {
780
777
  "type": "divider"
781
778
  },
782
779
  {
780
+ "type": "card",
783
781
  "children": [
784
782
  {
783
+ "gap": "md",
785
784
  "type": "stack",
786
785
  "direction": "vertical",
787
- "gap": "md",
788
786
  "children": [
789
787
  {
790
788
  "type": "typography",
791
- "variant": "body",
792
- "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review."
789
+ "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
790
+ "variant": "body"
793
791
  },
794
792
  {
795
793
  "submitEvent": "SUBMIT_REVIEW",
796
- "mode": "edit",
797
794
  "type": "form-section",
798
795
  "fields": [
799
796
  "target"
800
797
  ],
801
- "entity": "@entity"
798
+ "entity": "@entity",
799
+ "mode": "edit"
802
800
  }
803
801
  ]
804
802
  }
805
- ],
806
- "type": "card"
803
+ ]
807
804
  }
808
805
  ],
806
+ "gap": "lg",
809
807
  "direction": "vertical"
810
808
  }
811
- ]
809
+ ],
810
+ "appName": "Code Reviewer",
811
+ "type": "dashboard-layout"
812
812
  }
813
813
  ]
814
814
  ]
@@ -1010,32 +1010,14 @@
1010
1010
  "render-ui",
1011
1011
  "main",
1012
1012
  {
1013
- "navItems": [
1014
- {
1015
- "icon": "file-search",
1016
- "label": "Review",
1017
- "href": "/review"
1018
- },
1019
- {
1020
- "icon": "tag",
1021
- "href": "/analysis",
1022
- "label": "Analysis"
1023
- },
1024
- {
1025
- "icon": "alert-triangle",
1026
- "href": "/issues",
1027
- "label": "Issues"
1028
- }
1029
- ],
1030
1013
  "type": "dashboard-layout",
1031
- "appName": "Code Reviewer",
1032
1014
  "children": [
1033
1015
  {
1034
1016
  "type": "stack",
1017
+ "gap": "lg",
1035
1018
  "direction": "vertical",
1036
1019
  "children": [
1037
1020
  {
1038
- "type": "stack",
1039
1021
  "align": "center",
1040
1022
  "children": [
1041
1023
  {
@@ -1043,45 +1025,63 @@
1043
1025
  "name": "brain"
1044
1026
  },
1045
1027
  {
1046
- "content": "RAG Pipeline",
1047
1028
  "variant": "h2",
1029
+ "content": "RAG Pipeline",
1048
1030
  "type": "typography"
1049
1031
  }
1050
1032
  ],
1051
- "direction": "horizontal",
1052
- "gap": "sm"
1033
+ "type": "stack",
1034
+ "gap": "sm",
1035
+ "direction": "horizontal"
1053
1036
  },
1054
1037
  {
1055
1038
  "type": "divider"
1056
1039
  },
1057
1040
  {
1058
- "type": "card",
1059
1041
  "children": [
1060
1042
  {
1043
+ "type": "stack",
1044
+ "direction": "vertical",
1061
1045
  "children": [
1062
1046
  {
1063
- "variant": "body",
1064
1047
  "content": "Enter a query to retrieve context and generate a response",
1065
- "type": "typography"
1048
+ "type": "typography",
1049
+ "variant": "body"
1066
1050
  },
1067
1051
  {
1068
- "submitEvent": "GENERATE",
1052
+ "type": "form-section",
1069
1053
  "entity": "@entity",
1054
+ "submitEvent": "GENERATE",
1055
+ "mode": "edit",
1070
1056
  "fields": [
1071
1057
  "query"
1072
- ],
1073
- "mode": "edit",
1074
- "type": "form-section"
1058
+ ]
1075
1059
  }
1076
1060
  ],
1077
- "type": "stack",
1078
- "direction": "vertical",
1079
1061
  "gap": "md"
1080
1062
  }
1081
- ]
1063
+ ],
1064
+ "type": "card"
1082
1065
  }
1083
- ],
1084
- "gap": "lg"
1066
+ ]
1067
+ }
1068
+ ],
1069
+ "appName": "Code Reviewer",
1070
+ "navItems": [
1071
+ {
1072
+ "label": "Review",
1073
+ "icon": "file-search",
1074
+ "href": "/review"
1075
+ },
1076
+ {
1077
+ "icon": "tag",
1078
+ "label": "Analysis",
1079
+ "href": "/analysis"
1080
+ },
1081
+ {
1082
+ "href": "/issues",
1083
+ "label": "Issues",
1084
+ "icon": "alert-triangle"
1085
1085
  }
1086
1086
  ]
1087
1087
  }
@@ -1111,17 +1111,16 @@
1111
1111
  "render-ui",
1112
1112
  "main",
1113
1113
  {
1114
- "type": "dashboard-layout",
1115
1114
  "navItems": [
1116
1115
  {
1117
1116
  "href": "/review",
1118
- "icon": "file-search",
1119
- "label": "Review"
1117
+ "label": "Review",
1118
+ "icon": "file-search"
1120
1119
  },
1121
1120
  {
1122
- "href": "/analysis",
1123
1121
  "label": "Analysis",
1124
- "icon": "tag"
1122
+ "icon": "tag",
1123
+ "href": "/analysis"
1125
1124
  },
1126
1125
  {
1127
1126
  "icon": "alert-triangle",
@@ -1129,45 +1128,46 @@
1129
1128
  "href": "/issues"
1130
1129
  }
1131
1130
  ],
1131
+ "appName": "Code Reviewer",
1132
+ "type": "dashboard-layout",
1132
1133
  "children": [
1133
1134
  {
1135
+ "type": "stack",
1136
+ "gap": "lg",
1134
1137
  "children": [
1135
1138
  {
1136
- "name": "search",
1137
- "type": "icon"
1139
+ "type": "icon",
1140
+ "name": "search"
1138
1141
  },
1139
1142
  {
1140
1143
  "content": "Retrieving context...",
1141
- "type": "typography",
1142
- "variant": "h3"
1144
+ "variant": "h3",
1145
+ "type": "typography"
1143
1146
  },
1144
1147
  {
1145
1148
  "type": "spinner"
1146
1149
  },
1147
1150
  {
1148
- "justify": "center",
1149
1151
  "type": "stack",
1152
+ "justify": "center",
1150
1153
  "children": [
1151
1154
  {
1152
1155
  "label": "Recalling memories",
1153
1156
  "type": "badge"
1154
1157
  },
1155
1158
  {
1156
- "label": "Searching code",
1157
- "type": "badge"
1159
+ "type": "badge",
1160
+ "label": "Searching code"
1158
1161
  }
1159
1162
  ],
1160
1163
  "gap": "md",
1161
1164
  "direction": "horizontal"
1162
1165
  }
1163
1166
  ],
1164
- "type": "stack",
1165
1167
  "align": "center",
1166
- "direction": "vertical",
1167
- "gap": "lg"
1168
+ "direction": "vertical"
1168
1169
  }
1169
- ],
1170
- "appName": "Code Reviewer"
1170
+ ]
1171
1171
  }
1172
1172
  ]
1173
1173
  ]
@@ -1213,30 +1213,27 @@
1213
1213
  "main",
1214
1214
  {
1215
1215
  "appName": "Code Reviewer",
1216
- "type": "dashboard-layout",
1217
1216
  "navItems": [
1218
1217
  {
1219
- "href": "/review",
1220
1218
  "label": "Review",
1219
+ "href": "/review",
1221
1220
  "icon": "file-search"
1222
1221
  },
1223
1222
  {
1224
1223
  "label": "Analysis",
1225
- "href": "/analysis",
1226
- "icon": "tag"
1224
+ "icon": "tag",
1225
+ "href": "/analysis"
1227
1226
  },
1228
1227
  {
1229
- "icon": "alert-triangle",
1230
1228
  "href": "/issues",
1229
+ "icon": "alert-triangle",
1231
1230
  "label": "Issues"
1232
1231
  }
1233
1232
  ],
1234
1233
  "children": [
1235
1234
  {
1236
- "gap": "lg",
1237
1235
  "direction": "vertical",
1238
1236
  "align": "center",
1239
- "type": "stack",
1240
1237
  "children": [
1241
1238
  {
1242
1239
  "name": "cpu",
@@ -1244,17 +1241,16 @@
1244
1241
  },
1245
1242
  {
1246
1243
  "content": "Generating response...",
1247
- "type": "typography",
1248
- "variant": "h3"
1244
+ "variant": "h3",
1245
+ "type": "typography"
1249
1246
  },
1250
1247
  {
1251
1248
  "type": "spinner"
1252
1249
  },
1253
1250
  {
1254
- "direction": "horizontal",
1255
- "gap": "md",
1256
1251
  "type": "stack",
1257
- "justify": "center",
1252
+ "gap": "md",
1253
+ "direction": "horizontal",
1258
1254
  "children": [
1259
1255
  {
1260
1256
  "label": "@entity.memoryHits",
@@ -1264,11 +1260,15 @@
1264
1260
  "type": "badge",
1265
1261
  "label": "@entity.searchHits"
1266
1262
  }
1267
- ]
1263
+ ],
1264
+ "justify": "center"
1268
1265
  }
1269
- ]
1266
+ ],
1267
+ "gap": "lg",
1268
+ "type": "stack"
1270
1269
  }
1271
- ]
1270
+ ],
1271
+ "type": "dashboard-layout"
1272
1272
  }
1273
1273
  ]
1274
1274
  ]
@@ -1292,6 +1292,7 @@
1292
1292
  "render-ui",
1293
1293
  "main",
1294
1294
  {
1295
+ "appName": "Code Reviewer",
1295
1296
  "navItems": [
1296
1297
  {
1297
1298
  "label": "Review",
@@ -1305,25 +1306,23 @@
1305
1306
  },
1306
1307
  {
1307
1308
  "href": "/issues",
1308
- "icon": "alert-triangle",
1309
- "label": "Issues"
1309
+ "label": "Issues",
1310
+ "icon": "alert-triangle"
1310
1311
  }
1311
1312
  ],
1312
1313
  "type": "dashboard-layout",
1313
- "appName": "Code Reviewer",
1314
1314
  "children": [
1315
1315
  {
1316
- "type": "stack",
1317
- "gap": "lg",
1316
+ "direction": "vertical",
1318
1317
  "children": [
1319
1318
  {
1320
- "name": "alert-triangle",
1321
- "type": "icon"
1319
+ "type": "icon",
1320
+ "name": "alert-triangle"
1322
1321
  },
1323
1322
  {
1323
+ "content": "RAG Pipeline Error",
1324
1324
  "variant": "h2",
1325
- "type": "typography",
1326
- "content": "RAG Pipeline Error"
1325
+ "type": "typography"
1327
1326
  },
1328
1327
  {
1329
1328
  "message": "@entity.error",
@@ -1331,15 +1330,16 @@
1331
1330
  "variant": "error"
1332
1331
  },
1333
1332
  {
1334
- "type": "button",
1335
- "icon": "rotate-ccw",
1333
+ "variant": "primary",
1336
1334
  "action": "RESET",
1335
+ "type": "button",
1337
1336
  "label": "Try Again",
1338
- "variant": "primary"
1337
+ "icon": "rotate-ccw"
1339
1338
  }
1340
1339
  ],
1340
+ "type": "stack",
1341
1341
  "align": "center",
1342
- "direction": "vertical"
1342
+ "gap": "lg"
1343
1343
  }
1344
1344
  ]
1345
1345
  }
@@ -1374,57 +1374,41 @@
1374
1374
  "render-ui",
1375
1375
  "main",
1376
1376
  {
1377
- "navItems": [
1378
- {
1379
- "label": "Review",
1380
- "href": "/review",
1381
- "icon": "file-search"
1382
- },
1383
- {
1384
- "href": "/analysis",
1385
- "label": "Analysis",
1386
- "icon": "tag"
1387
- },
1388
- {
1389
- "href": "/issues",
1390
- "icon": "alert-triangle",
1391
- "label": "Issues"
1392
- }
1393
- ],
1394
- "type": "dashboard-layout",
1395
- "appName": "Code Reviewer",
1396
1377
  "children": [
1397
1378
  {
1379
+ "gap": "lg",
1380
+ "type": "stack",
1381
+ "direction": "vertical",
1398
1382
  "children": [
1399
1383
  {
1400
- "align": "center",
1401
1384
  "gap": "sm",
1402
- "justify": "between",
1403
1385
  "type": "stack",
1386
+ "justify": "between",
1387
+ "align": "center",
1404
1388
  "children": [
1405
1389
  {
1406
- "gap": "sm",
1390
+ "direction": "horizontal",
1407
1391
  "type": "stack",
1392
+ "gap": "sm",
1393
+ "align": "center",
1408
1394
  "children": [
1409
1395
  {
1410
1396
  "type": "icon",
1411
1397
  "name": "check-circle"
1412
1398
  },
1413
1399
  {
1414
- "content": "RAG Complete",
1415
1400
  "variant": "h2",
1416
- "type": "typography"
1401
+ "type": "typography",
1402
+ "content": "RAG Complete"
1417
1403
  }
1418
- ],
1419
- "align": "center",
1420
- "direction": "horizontal"
1404
+ ]
1421
1405
  },
1422
1406
  {
1423
- "variant": "ghost",
1407
+ "type": "button",
1424
1408
  "label": "New Query",
1425
- "action": "RESET",
1409
+ "variant": "ghost",
1426
1410
  "icon": "rotate-ccw",
1427
- "type": "button"
1411
+ "action": "RESET"
1428
1412
  }
1429
1413
  ],
1430
1414
  "direction": "horizontal"
@@ -1433,34 +1417,36 @@
1433
1417
  "type": "divider"
1434
1418
  },
1435
1419
  {
1436
- "cols": 2.0,
1437
- "type": "simple-grid",
1438
1420
  "children": [
1439
1421
  {
1440
1422
  "value": "@entity.memoryHits",
1441
- "icon": "brain",
1442
1423
  "type": "stat-display",
1443
- "label": "Memory Hits"
1424
+ "label": "Memory Hits",
1425
+ "icon": "brain"
1444
1426
  },
1445
1427
  {
1428
+ "label": "Code Hits",
1446
1429
  "icon": "code",
1447
1430
  "type": "stat-display",
1448
- "label": "Code Hits",
1449
1431
  "value": "@entity.searchHits"
1450
1432
  }
1451
- ]
1433
+ ],
1434
+ "cols": 2.0,
1435
+ "type": "simple-grid"
1452
1436
  },
1453
1437
  {
1454
1438
  "type": "divider"
1455
1439
  },
1456
1440
  {
1441
+ "type": "card",
1457
1442
  "children": [
1458
1443
  {
1444
+ "type": "stack",
1459
1445
  "children": [
1460
1446
  {
1447
+ "content": "Query",
1461
1448
  "variant": "caption",
1462
- "type": "typography",
1463
- "content": "Query"
1449
+ "type": "typography"
1464
1450
  },
1465
1451
  {
1466
1452
  "variant": "body",
@@ -1471,51 +1457,65 @@
1471
1457
  "type": "divider"
1472
1458
  },
1473
1459
  {
1474
- "type": "typography",
1475
1460
  "variant": "caption",
1461
+ "type": "typography",
1476
1462
  "content": "Response"
1477
1463
  },
1478
1464
  {
1479
1465
  "variant": "body",
1480
- "type": "typography",
1481
- "content": "@entity.response"
1466
+ "content": "@entity.response",
1467
+ "type": "typography"
1482
1468
  }
1483
1469
  ],
1484
- "direction": "vertical",
1485
- "type": "stack",
1486
- "gap": "md"
1470
+ "gap": "md",
1471
+ "direction": "vertical"
1487
1472
  }
1488
- ],
1489
- "type": "card"
1473
+ ]
1490
1474
  },
1491
1475
  {
1492
1476
  "children": [
1493
1477
  {
1478
+ "type": "stack",
1479
+ "gap": "sm",
1480
+ "direction": "vertical",
1494
1481
  "children": [
1495
1482
  {
1496
- "variant": "caption",
1497
1483
  "type": "typography",
1498
- "content": "Retrieved Context"
1484
+ "content": "Retrieved Context",
1485
+ "variant": "caption"
1499
1486
  },
1500
1487
  {
1501
- "content": "@entity.context",
1502
1488
  "variant": "body",
1503
- "type": "typography"
1489
+ "type": "typography",
1490
+ "content": "@entity.context"
1504
1491
  }
1505
- ],
1506
- "gap": "sm",
1507
- "direction": "vertical",
1508
- "type": "stack"
1492
+ ]
1509
1493
  }
1510
1494
  ],
1511
1495
  "type": "card"
1512
1496
  }
1513
- ],
1514
- "type": "stack",
1515
- "gap": "lg",
1516
- "direction": "vertical"
1497
+ ]
1517
1498
  }
1518
- ]
1499
+ ],
1500
+ "navItems": [
1501
+ {
1502
+ "icon": "file-search",
1503
+ "href": "/review",
1504
+ "label": "Review"
1505
+ },
1506
+ {
1507
+ "label": "Analysis",
1508
+ "icon": "tag",
1509
+ "href": "/analysis"
1510
+ },
1511
+ {
1512
+ "icon": "alert-triangle",
1513
+ "href": "/issues",
1514
+ "label": "Issues"
1515
+ }
1516
+ ],
1517
+ "type": "dashboard-layout",
1518
+ "appName": "Code Reviewer"
1519
1519
  }
1520
1520
  ]
1521
1521
  ]
@@ -1543,8 +1543,8 @@
1543
1543
  {
1544
1544
  "children": [
1545
1545
  {
1546
- "type": "icon",
1547
- "name": "alert-triangle"
1546
+ "name": "alert-triangle",
1547
+ "type": "icon"
1548
1548
  },
1549
1549
  {
1550
1550
  "type": "typography",
@@ -1552,16 +1552,16 @@
1552
1552
  "variant": "h2"
1553
1553
  },
1554
1554
  {
1555
- "variant": "error",
1556
1555
  "message": "@entity.error",
1557
- "type": "alert"
1556
+ "type": "alert",
1557
+ "variant": "error"
1558
1558
  },
1559
1559
  {
1560
+ "variant": "primary",
1561
+ "icon": "rotate-ccw",
1560
1562
  "action": "RESET",
1561
- "label": "Try Again",
1562
1563
  "type": "button",
1563
- "icon": "rotate-ccw",
1564
- "variant": "primary"
1564
+ "label": "Try Again"
1565
1565
  }
1566
1566
  ],
1567
1567
  "direction": "vertical",
@@ -1570,6 +1570,8 @@
1570
1570
  "align": "center"
1571
1571
  }
1572
1572
  ],
1573
+ "appName": "Code Reviewer",
1574
+ "type": "dashboard-layout",
1573
1575
  "navItems": [
1574
1576
  {
1575
1577
  "icon": "file-search",
@@ -1577,18 +1579,16 @@
1577
1579
  "href": "/review"
1578
1580
  },
1579
1581
  {
1580
- "href": "/analysis",
1581
1582
  "icon": "tag",
1582
- "label": "Analysis"
1583
+ "label": "Analysis",
1584
+ "href": "/analysis"
1583
1585
  },
1584
1586
  {
1585
1587
  "label": "Issues",
1586
1588
  "icon": "alert-triangle",
1587
1589
  "href": "/issues"
1588
1590
  }
1589
- ],
1590
- "type": "dashboard-layout",
1591
- "appName": "Code Reviewer"
1591
+ ]
1592
1592
  }
1593
1593
  ]
1594
1594
  ]
@@ -1633,79 +1633,79 @@
1633
1633
  "main",
1634
1634
  {
1635
1635
  "type": "dashboard-layout",
1636
+ "appName": "Code Reviewer",
1637
+ "navItems": [
1638
+ {
1639
+ "href": "/review",
1640
+ "label": "Review",
1641
+ "icon": "file-search"
1642
+ },
1643
+ {
1644
+ "icon": "tag",
1645
+ "label": "Analysis",
1646
+ "href": "/analysis"
1647
+ },
1648
+ {
1649
+ "label": "Issues",
1650
+ "href": "/issues",
1651
+ "icon": "alert-triangle"
1652
+ }
1653
+ ],
1636
1654
  "children": [
1637
1655
  {
1638
- "type": "stack",
1639
1656
  "gap": "lg",
1640
1657
  "children": [
1641
1658
  {
1642
- "gap": "sm",
1643
1659
  "align": "center",
1644
- "direction": "horizontal",
1660
+ "type": "stack",
1645
1661
  "children": [
1646
1662
  {
1647
- "name": "brain",
1648
- "type": "icon"
1663
+ "type": "icon",
1664
+ "name": "brain"
1649
1665
  },
1650
1666
  {
1651
1667
  "type": "typography",
1652
- "variant": "h2",
1653
- "content": "RAG Pipeline"
1668
+ "content": "RAG Pipeline",
1669
+ "variant": "h2"
1654
1670
  }
1655
1671
  ],
1656
- "type": "stack"
1672
+ "gap": "sm",
1673
+ "direction": "horizontal"
1657
1674
  },
1658
1675
  {
1659
1676
  "type": "divider"
1660
1677
  },
1661
1678
  {
1679
+ "type": "card",
1662
1680
  "children": [
1663
1681
  {
1682
+ "gap": "md",
1683
+ "type": "stack",
1684
+ "direction": "vertical",
1664
1685
  "children": [
1665
1686
  {
1666
- "variant": "body",
1667
1687
  "content": "Enter a query to retrieve context and generate a response",
1688
+ "variant": "body",
1668
1689
  "type": "typography"
1669
1690
  },
1670
1691
  {
1692
+ "mode": "edit",
1693
+ "submitEvent": "GENERATE",
1671
1694
  "fields": [
1672
1695
  "query"
1673
1696
  ],
1674
- "mode": "edit",
1675
1697
  "type": "form-section",
1676
- "submitEvent": "GENERATE",
1677
1698
  "entity": "@entity"
1678
1699
  }
1679
- ],
1680
- "direction": "vertical",
1681
- "gap": "md",
1682
- "type": "stack"
1700
+ ]
1683
1701
  }
1684
- ],
1685
- "type": "card"
1702
+ ]
1686
1703
  }
1687
1704
  ],
1705
+ "type": "stack",
1688
1706
  "direction": "vertical"
1689
1707
  }
1690
- ],
1691
- "navItems": [
1692
- {
1693
- "label": "Review",
1694
- "href": "/review",
1695
- "icon": "file-search"
1696
- },
1697
- {
1698
- "href": "/analysis",
1699
- "icon": "tag",
1700
- "label": "Analysis"
1701
- },
1702
- {
1703
- "label": "Issues",
1704
- "icon": "alert-triangle",
1705
- "href": "/issues"
1706
- }
1707
- ],
1708
- "appName": "Code Reviewer"
1708
+ ]
1709
1709
  }
1710
1710
  ]
1711
1711
  ]
@@ -1804,8 +1804,8 @@
1804
1804
  "ReviewRag",
1805
1805
  {
1806
1806
  "emit": {
1807
- "failure": "ReviewRagLoadFailed",
1808
- "success": "ReviewRagLoaded"
1807
+ "success": "ReviewRagLoaded",
1808
+ "failure": "ReviewRagLoadFailed"
1809
1809
  }
1810
1810
  }
1811
1811
  ],
@@ -1813,22 +1813,22 @@
1813
1813
  "render-ui",
1814
1814
  "main",
1815
1815
  {
1816
- "align": "center",
1817
1816
  "className": "py-12",
1817
+ "align": "center",
1818
+ "direction": "vertical",
1819
+ "gap": "md",
1818
1820
  "children": [
1819
1821
  {
1820
1822
  "type": "spinner"
1821
1823
  },
1822
1824
  {
1825
+ "content": "Loading RAG pipeline…",
1823
1826
  "type": "typography",
1824
1827
  "variant": "caption",
1825
- "color": "muted",
1826
- "content": "Loading RAG pipeline…"
1828
+ "color": "muted"
1827
1829
  }
1828
1830
  ],
1829
- "type": "stack",
1830
- "gap": "md",
1831
- "direction": "vertical"
1831
+ "type": "stack"
1832
1832
  }
1833
1833
  ]
1834
1834
  ]
@@ -1842,16 +1842,14 @@
1842
1842
  "render-ui",
1843
1843
  "main",
1844
1844
  {
1845
+ "type": "dashboard-layout",
1845
1846
  "children": [
1846
1847
  {
1847
- "type": "stack",
1848
1848
  "gap": "lg",
1849
+ "type": "stack",
1849
1850
  "direction": "vertical",
1850
1851
  "children": [
1851
1852
  {
1852
- "gap": "sm",
1853
- "type": "stack",
1854
- "direction": "horizontal",
1855
1853
  "align": "center",
1856
1854
  "children": [
1857
1855
  {
@@ -1863,27 +1861,30 @@
1863
1861
  "variant": "h2",
1864
1862
  "type": "typography"
1865
1863
  }
1866
- ]
1864
+ ],
1865
+ "type": "stack",
1866
+ "direction": "horizontal",
1867
+ "gap": "sm"
1867
1868
  },
1868
1869
  {
1869
1870
  "type": "divider"
1870
1871
  },
1871
1872
  {
1872
1873
  "type": "tabs",
1873
- "defaultActiveTab": "query",
1874
1874
  "onTabChange": "SELECT_TAB",
1875
+ "defaultActiveTab": "query",
1875
1876
  "tabs": [
1876
1877
  {
1877
1878
  "value": "query",
1878
1879
  "label": "Query"
1879
1880
  },
1880
1881
  {
1881
- "value": "sources",
1882
- "label": "Sources"
1882
+ "label": "Sources",
1883
+ "value": "sources"
1883
1884
  },
1884
1885
  {
1885
- "value": "response",
1886
- "label": "Response"
1886
+ "label": "Response",
1887
+ "value": "response"
1887
1888
  }
1888
1889
  ]
1889
1890
  },
@@ -1891,42 +1892,41 @@
1891
1892
  "type": "divider"
1892
1893
  },
1893
1894
  {
1894
- "entity": "@payload.data",
1895
1895
  "fields": [],
1896
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
1896
1897
  "renderItem": [
1897
1898
  "fn",
1898
1899
  "item",
1899
1900
  {
1900
- "type": "stack",
1901
- "direction": "vertical",
1902
1901
  "children": [
1903
1902
  {
1903
+ "type": "typography",
1904
1904
  "variant": "h4",
1905
- "content": "@item.query",
1906
- "type": "typography"
1905
+ "content": "@item.query"
1907
1906
  },
1908
1907
  {
1909
1908
  "type": "typography",
1910
1909
  "variant": "caption",
1911
- "color": "muted",
1912
- "content": "@item.query"
1910
+ "content": "@item.query",
1911
+ "color": "muted"
1913
1912
  }
1914
1913
  ],
1915
- "gap": "sm"
1914
+ "gap": "sm",
1915
+ "direction": "vertical",
1916
+ "type": "stack"
1916
1917
  }
1917
1918
  ],
1918
1919
  "type": "data-grid",
1919
- "className": "transition-shadow hover:shadow-md cursor-pointer"
1920
+ "entity": "@payload.data"
1920
1921
  }
1921
1922
  ]
1922
1923
  }
1923
1924
  ],
1924
- "appName": "Code Reviewer",
1925
1925
  "navItems": [
1926
1926
  {
1927
+ "label": "Review",
1927
1928
  "href": "/review",
1928
- "icon": "file-search",
1929
- "label": "Review"
1929
+ "icon": "file-search"
1930
1930
  },
1931
1931
  {
1932
1932
  "label": "Analysis",
@@ -1934,12 +1934,12 @@
1934
1934
  "icon": "tag"
1935
1935
  },
1936
1936
  {
1937
+ "href": "/issues",
1937
1938
  "icon": "alert-triangle",
1938
- "label": "Issues",
1939
- "href": "/issues"
1939
+ "label": "Issues"
1940
1940
  }
1941
1941
  ],
1942
- "type": "dashboard-layout"
1942
+ "appName": "Code Reviewer"
1943
1943
  }
1944
1944
  ]
1945
1945
  ]
@@ -1953,36 +1953,36 @@
1953
1953
  "render-ui",
1954
1954
  "main",
1955
1955
  {
1956
+ "gap": "md",
1956
1957
  "className": "py-12",
1957
- "align": "center",
1958
- "direction": "vertical",
1959
1958
  "children": [
1960
1959
  {
1960
+ "type": "icon",
1961
1961
  "name": "alert-triangle",
1962
- "color": "destructive",
1963
- "type": "icon"
1962
+ "color": "destructive"
1964
1963
  },
1965
1964
  {
1966
- "content": "Failed to load RAG pipeline",
1967
1965
  "variant": "h3",
1968
- "type": "typography"
1966
+ "type": "typography",
1967
+ "content": "Failed to load RAG pipeline"
1969
1968
  },
1970
- {
1971
- "color": "muted",
1972
- "content": "@payload.error",
1969
+ {
1970
+ "variant": "body",
1973
1971
  "type": "typography",
1974
- "variant": "body"
1972
+ "content": "@payload.error",
1973
+ "color": "muted"
1975
1974
  },
1976
1975
  {
1976
+ "label": "Retry",
1977
+ "variant": "primary",
1977
1978
  "icon": "rotate-ccw",
1978
- "action": "INIT",
1979
1979
  "type": "button",
1980
- "label": "Retry",
1981
- "variant": "primary"
1980
+ "action": "INIT"
1982
1981
  }
1983
1982
  ],
1984
1983
  "type": "stack",
1985
- "gap": "md"
1984
+ "direction": "vertical",
1985
+ "align": "center"
1986
1986
  }
1987
1987
  ]
1988
1988
  ]
@@ -2095,8 +2095,8 @@
2095
2095
  "ReviewRag",
2096
2096
  {
2097
2097
  "emit": {
2098
- "failure": "ReviewRagLoadFailed",
2099
- "success": "ReviewRagLoaded"
2098
+ "success": "ReviewRagLoaded",
2099
+ "failure": "ReviewRagLoadFailed"
2100
2100
  }
2101
2101
  }
2102
2102
  ],
@@ -2104,22 +2104,22 @@
2104
2104
  "render-ui",
2105
2105
  "main",
2106
2106
  {
2107
- "className": "py-12",
2108
- "type": "stack",
2109
2107
  "gap": "md",
2110
2108
  "align": "center",
2109
+ "className": "py-12",
2110
+ "type": "stack",
2111
+ "direction": "vertical",
2111
2112
  "children": [
2112
2113
  {
2113
2114
  "type": "spinner"
2114
2115
  },
2115
2116
  {
2116
2117
  "type": "typography",
2118
+ "content": "Loading…",
2117
2119
  "color": "muted",
2118
- "variant": "caption",
2119
- "content": "Loading…"
2120
+ "variant": "caption"
2120
2121
  }
2121
- ],
2122
- "direction": "vertical"
2122
+ ]
2123
2123
  }
2124
2124
  ]
2125
2125
  ]
@@ -2133,145 +2133,145 @@
2133
2133
  "render-ui",
2134
2134
  "main",
2135
2135
  {
2136
- "navItems": [
2137
- {
2138
- "label": "Review",
2139
- "href": "/review",
2140
- "icon": "file-search"
2141
- },
2142
- {
2143
- "href": "/analysis",
2144
- "label": "Analysis",
2145
- "icon": "tag"
2146
- },
2147
- {
2148
- "label": "Issues",
2149
- "href": "/issues",
2150
- "icon": "alert-triangle"
2151
- }
2152
- ],
2136
+ "appName": "Code Reviewer",
2137
+ "type": "dashboard-layout",
2153
2138
  "children": [
2154
2139
  {
2155
2140
  "children": [
2156
2141
  {
2157
- "type": "stack",
2158
- "gap": "md",
2159
2142
  "align": "center",
2160
2143
  "children": [
2161
2144
  {
2162
- "align": "center",
2163
- "type": "stack",
2145
+ "direction": "horizontal",
2164
2146
  "children": [
2165
2147
  {
2166
- "type": "icon",
2167
- "name": "brain"
2148
+ "name": "brain",
2149
+ "type": "icon"
2168
2150
  },
2169
2151
  {
2170
2152
  "type": "typography",
2171
- "content": "ReviewRag Manager",
2172
- "variant": "h2"
2153
+ "variant": "h2",
2154
+ "content": "ReviewRag Manager"
2173
2155
  }
2174
2156
  ],
2157
+ "type": "stack",
2175
2158
  "gap": "sm",
2176
- "direction": "horizontal"
2159
+ "align": "center"
2177
2160
  },
2178
2161
  {
2179
- "direction": "horizontal",
2180
2162
  "children": [
2181
2163
  {
2182
- "label": "Memorize",
2183
- "type": "button",
2184
2164
  "icon": "plus",
2165
+ "type": "button",
2166
+ "label": "Memorize",
2185
2167
  "action": "MEMORIZE",
2186
2168
  "variant": "primary"
2187
2169
  },
2188
2170
  {
2189
- "variant": "secondary",
2190
- "action": "RECALL",
2191
- "label": "Recall",
2192
2171
  "icon": "search",
2193
- "type": "button"
2172
+ "action": "RECALL",
2173
+ "variant": "secondary",
2174
+ "type": "button",
2175
+ "label": "Recall"
2194
2176
  },
2195
2177
  {
2178
+ "type": "button",
2196
2179
  "variant": "ghost",
2197
2180
  "icon": "clock",
2198
2181
  "label": "Decay All",
2199
- "type": "button",
2200
2182
  "action": "DECAY"
2201
2183
  }
2202
2184
  ],
2203
- "gap": "sm",
2204
- "type": "stack"
2185
+ "type": "stack",
2186
+ "direction": "horizontal",
2187
+ "gap": "sm"
2205
2188
  }
2206
2189
  ],
2207
- "justify": "between",
2208
- "direction": "horizontal"
2190
+ "gap": "md",
2191
+ "type": "stack",
2192
+ "direction": "horizontal",
2193
+ "justify": "between"
2209
2194
  },
2210
2195
  {
2211
2196
  "type": "divider"
2212
2197
  },
2213
2198
  {
2214
2199
  "type": "data-grid",
2200
+ "itemActions": [
2201
+ {
2202
+ "label": "Pin",
2203
+ "event": "PIN",
2204
+ "variant": "ghost"
2205
+ },
2206
+ {
2207
+ "variant": "ghost",
2208
+ "event": "REINFORCE",
2209
+ "label": "Reinforce"
2210
+ },
2211
+ {
2212
+ "label": "Forget",
2213
+ "variant": "danger",
2214
+ "event": "FORGET"
2215
+ }
2216
+ ],
2217
+ "entity": "@payload.data",
2215
2218
  "fields": [
2216
2219
  {
2217
- "variant": "h4",
2218
- "icon": "brain",
2219
2220
  "name": "content",
2220
- "label": "Content"
2221
+ "label": "Content",
2222
+ "variant": "h4",
2223
+ "icon": "brain"
2221
2224
  },
2222
2225
  {
2223
- "variant": "badge",
2224
- "name": "category",
2225
2226
  "label": "Category",
2227
+ "name": "category",
2226
2228
  "colorMap": {
2227
- "error": "destructive",
2229
+ "done": "success",
2230
+ "disabled": "neutral",
2231
+ "inactive": "neutral",
2232
+ "pending": "warning",
2228
2233
  "cancelled": "destructive",
2229
2234
  "failed": "destructive",
2230
2235
  "completed": "success",
2231
- "disabled": "neutral",
2232
- "pending": "warning",
2233
- "done": "success",
2236
+ "draft": "warning",
2237
+ "error": "destructive",
2234
2238
  "scheduled": "warning",
2235
2239
  "active": "success",
2236
- "inactive": "neutral",
2237
- "draft": "warning",
2238
2240
  "archived": "neutral"
2239
- }
2241
+ },
2242
+ "variant": "badge"
2240
2243
  },
2241
2244
  {
2242
2245
  "name": "strength",
2243
2246
  "label": "Strength",
2244
2247
  "variant": "caption"
2245
2248
  }
2246
- ],
2247
- "entity": "@payload.data",
2248
- "itemActions": [
2249
- {
2250
- "variant": "ghost",
2251
- "label": "Pin",
2252
- "event": "PIN"
2253
- },
2254
- {
2255
- "label": "Reinforce",
2256
- "event": "REINFORCE",
2257
- "variant": "ghost"
2258
- },
2259
- {
2260
- "label": "Forget",
2261
- "event": "FORGET",
2262
- "variant": "danger"
2263
- }
2264
2249
  ]
2265
2250
  }
2266
2251
  ],
2267
- "direction": "vertical",
2268
2252
  "className": "max-w-5xl mx-auto w-full",
2269
2253
  "gap": "lg",
2270
- "type": "stack"
2254
+ "type": "stack",
2255
+ "direction": "vertical"
2271
2256
  }
2272
2257
  ],
2273
- "type": "dashboard-layout",
2274
- "appName": "Code Reviewer"
2258
+ "navItems": [
2259
+ {
2260
+ "href": "/review",
2261
+ "icon": "file-search",
2262
+ "label": "Review"
2263
+ },
2264
+ {
2265
+ "label": "Analysis",
2266
+ "icon": "tag",
2267
+ "href": "/analysis"
2268
+ },
2269
+ {
2270
+ "label": "Issues",
2271
+ "href": "/issues",
2272
+ "icon": "alert-triangle"
2273
+ }
2274
+ ]
2275
2275
  }
2276
2276
  ]
2277
2277
  ]
@@ -2285,34 +2285,34 @@
2285
2285
  "render-ui",
2286
2286
  "main",
2287
2287
  {
2288
- "className": "py-12",
2289
- "type": "stack",
2290
- "align": "center",
2291
- "gap": "md",
2292
2288
  "direction": "vertical",
2289
+ "gap": "md",
2290
+ "align": "center",
2291
+ "type": "stack",
2292
+ "className": "py-12",
2293
2293
  "children": [
2294
2294
  {
2295
+ "name": "alert-triangle",
2295
2296
  "type": "icon",
2296
- "color": "destructive",
2297
- "name": "alert-triangle"
2297
+ "color": "destructive"
2298
2298
  },
2299
2299
  {
2300
- "variant": "h3",
2301
2300
  "content": "Failed to load reviewrag",
2302
- "type": "typography"
2301
+ "type": "typography",
2302
+ "variant": "h3"
2303
2303
  },
2304
2304
  {
2305
2305
  "color": "muted",
2306
2306
  "type": "typography",
2307
- "content": "@payload.error",
2308
- "variant": "body"
2307
+ "variant": "body",
2308
+ "content": "@payload.error"
2309
2309
  },
2310
2310
  {
2311
+ "label": "Retry",
2311
2312
  "icon": "rotate-ccw",
2312
- "action": "INIT",
2313
2313
  "variant": "primary",
2314
- "label": "Retry",
2315
- "type": "button"
2314
+ "type": "button",
2315
+ "action": "INIT"
2316
2316
  }
2317
2317
  ]
2318
2318
  }
@@ -2412,22 +2412,22 @@
2412
2412
  "render-ui",
2413
2413
  "main",
2414
2414
  {
2415
- "direction": "vertical",
2416
- "gap": "md",
2417
2415
  "align": "center",
2418
- "type": "stack",
2419
- "className": "py-12",
2416
+ "direction": "vertical",
2420
2417
  "children": [
2421
2418
  {
2422
2419
  "type": "spinner"
2423
2420
  },
2424
2421
  {
2425
2422
  "color": "muted",
2423
+ "variant": "caption",
2426
2424
  "content": "Loading…",
2427
- "type": "typography",
2428
- "variant": "caption"
2425
+ "type": "typography"
2429
2426
  }
2430
- ]
2427
+ ],
2428
+ "className": "py-12",
2429
+ "gap": "md",
2430
+ "type": "stack"
2431
2431
  }
2432
2432
  ]
2433
2433
  ]
@@ -2441,39 +2441,24 @@
2441
2441
  "render-ui",
2442
2442
  "main",
2443
2443
  {
2444
- "type": "dashboard-layout",
2445
2444
  "appName": "Code Reviewer",
2446
- "navItems": [
2447
- {
2448
- "label": "Review",
2449
- "icon": "file-search",
2450
- "href": "/review"
2451
- },
2452
- {
2453
- "label": "Analysis",
2454
- "icon": "tag",
2455
- "href": "/analysis"
2456
- },
2457
- {
2458
- "href": "/issues",
2459
- "label": "Issues",
2460
- "icon": "alert-triangle"
2461
- }
2462
- ],
2445
+ "type": "dashboard-layout",
2463
2446
  "children": [
2464
2447
  {
2465
- "type": "stack",
2466
- "gap": "lg",
2448
+ "direction": "vertical",
2467
2449
  "children": [
2468
2450
  {
2469
- "type": "stack",
2470
- "justify": "between",
2451
+ "gap": "md",
2452
+ "align": "center",
2471
2453
  "children": [
2472
2454
  {
2455
+ "type": "stack",
2456
+ "align": "center",
2457
+ "gap": "sm",
2473
2458
  "children": [
2474
2459
  {
2475
- "type": "icon",
2476
- "name": "search"
2460
+ "name": "search",
2461
+ "type": "icon"
2477
2462
  },
2478
2463
  {
2479
2464
  "type": "typography",
@@ -2481,86 +2466,101 @@
2481
2466
  "variant": "h2"
2482
2467
  }
2483
2468
  ],
2484
- "gap": "sm",
2485
- "type": "stack",
2486
- "direction": "horizontal",
2487
- "align": "center"
2469
+ "direction": "horizontal"
2488
2470
  },
2489
2471
  {
2490
- "direction": "horizontal",
2491
- "type": "stack",
2492
2472
  "children": [
2493
2473
  {
2494
- "icon": "search",
2495
2474
  "action": "SEARCH",
2496
2475
  "variant": "primary",
2497
2476
  "label": "Search",
2498
- "type": "button"
2477
+ "type": "button",
2478
+ "icon": "search"
2499
2479
  },
2500
2480
  {
2501
- "icon": "x",
2502
- "action": "CLEAR",
2503
2481
  "variant": "ghost",
2482
+ "label": "Clear",
2483
+ "action": "CLEAR",
2504
2484
  "type": "button",
2505
- "label": "Clear"
2485
+ "icon": "x"
2506
2486
  }
2507
2487
  ],
2488
+ "type": "stack",
2489
+ "direction": "horizontal",
2508
2490
  "gap": "sm"
2509
2491
  }
2510
2492
  ],
2511
- "direction": "horizontal",
2512
- "gap": "md",
2513
- "align": "center"
2493
+ "type": "stack",
2494
+ "justify": "between",
2495
+ "direction": "horizontal"
2514
2496
  },
2515
2497
  {
2516
2498
  "type": "divider"
2517
2499
  },
2518
2500
  {
2519
- "type": "data-grid",
2520
- "itemActions": [
2521
- {
2522
- "variant": "ghost",
2523
- "label": "View",
2524
- "event": "VIEW"
2525
- }
2526
- ],
2501
+ "entity": "@payload.data",
2527
2502
  "fields": [
2528
2503
  {
2529
- "name": "query",
2530
2504
  "variant": "h4",
2505
+ "icon": "search",
2531
2506
  "label": "Query",
2532
- "icon": "search"
2507
+ "name": "query"
2533
2508
  },
2534
2509
  {
2535
- "label": "Language",
2536
2510
  "name": "language",
2537
- "variant": "badge",
2511
+ "label": "Language",
2538
2512
  "colorMap": {
2539
- "inactive": "neutral",
2540
- "archived": "neutral",
2541
- "draft": "warning",
2513
+ "failed": "destructive",
2542
2514
  "done": "success",
2515
+ "pending": "warning",
2516
+ "inactive": "neutral",
2543
2517
  "completed": "success",
2518
+ "draft": "warning",
2544
2519
  "error": "destructive",
2545
- "pending": "warning",
2520
+ "scheduled": "warning",
2521
+ "active": "success",
2546
2522
  "disabled": "neutral",
2547
2523
  "cancelled": "destructive",
2548
- "failed": "destructive",
2549
- "scheduled": "warning",
2550
- "active": "success"
2551
- }
2524
+ "archived": "neutral"
2525
+ },
2526
+ "variant": "badge"
2552
2527
  },
2553
2528
  {
2529
+ "variant": "caption",
2554
2530
  "name": "resultCount",
2555
- "label": "Result Count",
2556
- "variant": "caption"
2531
+ "label": "Result Count"
2532
+ }
2533
+ ],
2534
+ "itemActions": [
2535
+ {
2536
+ "label": "View",
2537
+ "event": "VIEW",
2538
+ "variant": "ghost"
2557
2539
  }
2558
2540
  ],
2559
- "entity": "@payload.data"
2541
+ "type": "data-grid"
2560
2542
  }
2561
2543
  ],
2562
- "direction": "vertical",
2563
- "className": "max-w-5xl mx-auto w-full"
2544
+ "gap": "lg",
2545
+ "className": "max-w-5xl mx-auto w-full",
2546
+ "type": "stack"
2547
+ }
2548
+ ],
2549
+ "navItems": [
2550
+ {
2551
+ "href": "/review",
2552
+ "label": "Review",
2553
+ "icon": "file-search"
2554
+ },
2555
+ {
2556
+ "label": "Analysis",
2557
+ "href": "/analysis",
2558
+ "icon": "tag"
2559
+ },
2560
+ {
2561
+ "icon": "alert-triangle",
2562
+ "label": "Issues",
2563
+ "href": "/issues"
2564
2564
  }
2565
2565
  ]
2566
2566
  }
@@ -2577,35 +2577,35 @@
2577
2577
  "main",
2578
2578
  {
2579
2579
  "type": "stack",
2580
+ "direction": "vertical",
2580
2581
  "gap": "md",
2581
2582
  "align": "center",
2582
2583
  "className": "py-12",
2583
2584
  "children": [
2584
2585
  {
2585
2586
  "name": "alert-triangle",
2586
- "color": "destructive",
2587
- "type": "icon"
2587
+ "type": "icon",
2588
+ "color": "destructive"
2588
2589
  },
2589
2590
  {
2591
+ "type": "typography",
2590
2592
  "variant": "h3",
2591
- "content": "Failed to load reviewrag",
2592
- "type": "typography"
2593
+ "content": "Failed to load reviewrag"
2593
2594
  },
2594
2595
  {
2595
- "type": "typography",
2596
2596
  "variant": "body",
2597
+ "color": "muted",
2597
2598
  "content": "@payload.error",
2598
- "color": "muted"
2599
+ "type": "typography"
2599
2600
  },
2600
2601
  {
2601
2602
  "action": "INIT",
2602
2603
  "label": "Retry",
2603
2604
  "variant": "primary",
2604
- "type": "button",
2605
- "icon": "rotate-ccw"
2605
+ "icon": "rotate-ccw",
2606
+ "type": "button"
2606
2607
  }
2607
- ],
2608
- "direction": "vertical"
2608
+ ]
2609
2609
  }
2610
2610
  ]
2611
2611
  ]
@@ -2787,74 +2787,74 @@
2787
2787
  "render-ui",
2788
2788
  "main",
2789
2789
  {
2790
- "navItems": [
2791
- {
2792
- "icon": "file-search",
2793
- "href": "/review",
2794
- "label": "Review"
2795
- },
2796
- {
2797
- "icon": "tag",
2798
- "label": "Analysis",
2799
- "href": "/analysis"
2800
- },
2801
- {
2802
- "label": "Issues",
2803
- "href": "/issues",
2804
- "icon": "alert-triangle"
2805
- }
2806
- ],
2807
2790
  "children": [
2808
2791
  {
2809
- "gap": "lg",
2810
2792
  "children": [
2811
2793
  {
2794
+ "gap": "md",
2812
2795
  "children": [
2813
2796
  {
2814
2797
  "type": "stack",
2815
- "direction": "horizontal",
2816
2798
  "gap": "md",
2817
2799
  "children": [
2818
2800
  {
2819
- "name": "sparkles",
2820
- "type": "icon"
2801
+ "type": "icon",
2802
+ "name": "sparkles"
2821
2803
  },
2822
2804
  {
2823
- "variant": "h2",
2805
+ "type": "typography",
2824
2806
  "content": "ReviewRag",
2825
- "type": "typography"
2807
+ "variant": "h2"
2826
2808
  }
2827
- ]
2809
+ ],
2810
+ "direction": "horizontal"
2828
2811
  },
2829
2812
  {
2830
2813
  "action": "GENERATE",
2831
- "icon": "sparkles",
2832
- "label": "Open",
2833
2814
  "variant": "primary",
2834
- "type": "button"
2815
+ "type": "button",
2816
+ "label": "Open",
2817
+ "icon": "sparkles"
2835
2818
  }
2836
2819
  ],
2837
- "justify": "between",
2838
2820
  "direction": "horizontal",
2839
2821
  "type": "stack",
2840
- "gap": "md"
2822
+ "justify": "between"
2841
2823
  },
2842
2824
  {
2843
2825
  "type": "divider"
2844
2826
  },
2845
2827
  {
2846
- "title": "Nothing open",
2847
2828
  "icon": "sparkles",
2848
2829
  "description": "Click Open to view details in a modal overlay.",
2849
- "type": "empty-state"
2830
+ "type": "empty-state",
2831
+ "title": "Nothing open"
2850
2832
  }
2851
2833
  ],
2834
+ "gap": "lg",
2852
2835
  "direction": "vertical",
2853
2836
  "type": "stack"
2854
2837
  }
2855
2838
  ],
2856
- "appName": "Code Reviewer",
2857
- "type": "dashboard-layout"
2839
+ "navItems": [
2840
+ {
2841
+ "icon": "file-search",
2842
+ "href": "/review",
2843
+ "label": "Review"
2844
+ },
2845
+ {
2846
+ "icon": "tag",
2847
+ "href": "/analysis",
2848
+ "label": "Analysis"
2849
+ },
2850
+ {
2851
+ "label": "Issues",
2852
+ "href": "/issues",
2853
+ "icon": "alert-triangle"
2854
+ }
2855
+ ],
2856
+ "type": "dashboard-layout",
2857
+ "appName": "Code Reviewer"
2858
2858
  }
2859
2859
  ]
2860
2860
  ]
@@ -2869,19 +2869,21 @@
2869
2869
  "modal",
2870
2870
  {
2871
2871
  "direction": "vertical",
2872
+ "type": "stack",
2873
+ "gap": "md",
2872
2874
  "children": [
2873
2875
  {
2874
- "type": "stack",
2875
2876
  "direction": "horizontal",
2877
+ "type": "stack",
2876
2878
  "gap": "sm",
2877
2879
  "children": [
2878
2880
  {
2879
- "type": "icon",
2880
- "name": "sparkles"
2881
+ "name": "sparkles",
2882
+ "type": "icon"
2881
2883
  },
2882
2884
  {
2883
- "type": "typography",
2884
2885
  "variant": "h3",
2886
+ "type": "typography",
2885
2887
  "content": "ReviewRag"
2886
2888
  }
2887
2889
  ]
@@ -2890,32 +2892,30 @@
2890
2892
  "type": "divider"
2891
2893
  },
2892
2894
  {
2893
- "direction": "horizontal",
2894
- "gap": "sm",
2895
+ "type": "stack",
2895
2896
  "children": [
2896
2897
  {
2897
2898
  "type": "badge",
2898
2899
  "label": "@entity.provider"
2899
2900
  },
2900
2901
  {
2901
- "label": "@entity.model",
2902
- "type": "badge"
2902
+ "type": "badge",
2903
+ "label": "@entity.model"
2903
2904
  }
2904
2905
  ],
2905
- "type": "stack"
2906
+ "gap": "sm",
2907
+ "direction": "horizontal"
2906
2908
  },
2907
2909
  {
2908
2910
  "type": "form-section",
2909
2911
  "mode": "create",
2910
- "cancelEvent": "CLOSE",
2911
2912
  "submitEvent": "SAVE",
2913
+ "cancelEvent": "CLOSE",
2912
2914
  "fields": [
2913
2915
  "prompt"
2914
2916
  ]
2915
2917
  }
2916
- ],
2917
- "gap": "md",
2918
- "type": "stack"
2918
+ ]
2919
2919
  }
2920
2920
  ]
2921
2921
  ]
@@ -2940,8 +2940,8 @@
2940
2940
  "ReviewRag",
2941
2941
  {
2942
2942
  "emit": {
2943
- "success": "ReviewRagLoaded",
2944
- "failure": "ReviewRagLoadFailed"
2943
+ "failure": "ReviewRagLoadFailed",
2944
+ "success": "ReviewRagLoaded"
2945
2945
  }
2946
2946
  }
2947
2947
  ],
@@ -2951,13 +2951,13 @@
2951
2951
  {
2952
2952
  "navItems": [
2953
2953
  {
2954
- "href": "/review",
2955
2954
  "label": "Review",
2955
+ "href": "/review",
2956
2956
  "icon": "file-search"
2957
2957
  },
2958
2958
  {
2959
- "icon": "tag",
2960
2959
  "label": "Analysis",
2960
+ "icon": "tag",
2961
2961
  "href": "/analysis"
2962
2962
  },
2963
2963
  {
@@ -2968,38 +2968,37 @@
2968
2968
  ],
2969
2969
  "children": [
2970
2970
  {
2971
- "gap": "lg",
2972
2971
  "direction": "vertical",
2973
- "type": "stack",
2972
+ "gap": "lg",
2974
2973
  "children": [
2975
2974
  {
2976
2975
  "type": "stack",
2977
- "justify": "between",
2978
2976
  "children": [
2979
2977
  {
2980
- "gap": "md",
2981
- "type": "stack",
2978
+ "direction": "horizontal",
2982
2979
  "children": [
2983
2980
  {
2984
2981
  "type": "icon",
2985
2982
  "name": "sparkles"
2986
2983
  },
2987
2984
  {
2988
- "type": "typography",
2985
+ "variant": "h2",
2989
2986
  "content": "ReviewRag",
2990
- "variant": "h2"
2987
+ "type": "typography"
2991
2988
  }
2992
2989
  ],
2993
- "direction": "horizontal"
2990
+ "gap": "md",
2991
+ "type": "stack"
2994
2992
  },
2995
2993
  {
2996
- "type": "button",
2997
- "label": "Open",
2998
2994
  "variant": "primary",
2995
+ "type": "button",
2999
2996
  "icon": "sparkles",
3000
- "action": "GENERATE"
2997
+ "action": "GENERATE",
2998
+ "label": "Open"
3001
2999
  }
3002
3000
  ],
3001
+ "justify": "between",
3003
3002
  "gap": "md",
3004
3003
  "direction": "horizontal"
3005
3004
  },
@@ -3007,16 +3006,17 @@
3007
3006
  "type": "divider"
3008
3007
  },
3009
3008
  {
3010
- "description": "Click Open to view details in a modal overlay.",
3011
3009
  "title": "Nothing open",
3010
+ "description": "Click Open to view details in a modal overlay.",
3012
3011
  "type": "empty-state",
3013
3012
  "icon": "sparkles"
3014
3013
  }
3015
- ]
3014
+ ],
3015
+ "type": "stack"
3016
3016
  }
3017
3017
  ],
3018
- "type": "dashboard-layout",
3019
- "appName": "Code Reviewer"
3018
+ "appName": "Code Reviewer",
3019
+ "type": "dashboard-layout"
3020
3020
  }
3021
3021
  ]
3022
3022
  ]
@@ -3052,8 +3052,8 @@
3052
3052
  "ReviewRag",
3053
3053
  {
3054
3054
  "emit": {
3055
- "failure": "ReviewRagLoadFailed",
3056
- "success": "ReviewRagLoaded"
3055
+ "success": "ReviewRagLoaded",
3056
+ "failure": "ReviewRagLoadFailed"
3057
3057
  }
3058
3058
  }
3059
3059
  ],
@@ -3061,36 +3061,19 @@
3061
3061
  "render-ui",
3062
3062
  "main",
3063
3063
  {
3064
- "navItems": [
3065
- {
3066
- "icon": "file-search",
3067
- "label": "Review",
3068
- "href": "/review"
3069
- },
3070
- {
3071
- "icon": "tag",
3072
- "href": "/analysis",
3073
- "label": "Analysis"
3074
- },
3075
- {
3076
- "href": "/issues",
3077
- "label": "Issues",
3078
- "icon": "alert-triangle"
3079
- }
3080
- ],
3081
- "appName": "Code Reviewer",
3082
3064
  "children": [
3083
3065
  {
3066
+ "type": "stack",
3067
+ "direction": "vertical",
3084
3068
  "children": [
3085
3069
  {
3086
3070
  "gap": "md",
3087
- "direction": "horizontal",
3088
3071
  "type": "stack",
3072
+ "direction": "horizontal",
3089
3073
  "justify": "between",
3090
3074
  "children": [
3091
3075
  {
3092
- "gap": "md",
3093
- "direction": "horizontal",
3076
+ "type": "stack",
3094
3077
  "children": [
3095
3078
  {
3096
3079
  "name": "sparkles",
@@ -3102,7 +3085,8 @@
3102
3085
  "content": "ReviewRag"
3103
3086
  }
3104
3087
  ],
3105
- "type": "stack"
3088
+ "direction": "horizontal",
3089
+ "gap": "md"
3106
3090
  },
3107
3091
  {
3108
3092
  "action": "GENERATE",
@@ -3117,18 +3101,34 @@
3117
3101
  "type": "divider"
3118
3102
  },
3119
3103
  {
3120
- "type": "empty-state",
3121
- "title": "Nothing open",
3122
3104
  "description": "Click Open to view details in a modal overlay.",
3123
- "icon": "sparkles"
3105
+ "type": "empty-state",
3106
+ "icon": "sparkles",
3107
+ "title": "Nothing open"
3124
3108
  }
3125
3109
  ],
3126
- "gap": "lg",
3127
- "type": "stack",
3128
- "direction": "vertical"
3110
+ "gap": "lg"
3129
3111
  }
3130
3112
  ],
3131
- "type": "dashboard-layout"
3113
+ "appName": "Code Reviewer",
3114
+ "type": "dashboard-layout",
3115
+ "navItems": [
3116
+ {
3117
+ "href": "/review",
3118
+ "icon": "file-search",
3119
+ "label": "Review"
3120
+ },
3121
+ {
3122
+ "href": "/analysis",
3123
+ "label": "Analysis",
3124
+ "icon": "tag"
3125
+ },
3126
+ {
3127
+ "href": "/issues",
3128
+ "label": "Issues",
3129
+ "icon": "alert-triangle"
3130
+ }
3131
+ ]
3132
3132
  }
3133
3133
  ]
3134
3134
  ]
@@ -3362,8 +3362,8 @@
3362
3362
  "Analysis",
3363
3363
  {
3364
3364
  "emit": {
3365
- "failure": "AnalysisLoadFailed",
3366
- "success": "AnalysisLoaded"
3365
+ "success": "AnalysisLoaded",
3366
+ "failure": "AnalysisLoadFailed"
3367
3367
  }
3368
3368
  }
3369
3369
  ],
@@ -3373,14 +3373,14 @@
3373
3373
  {
3374
3374
  "navItems": [
3375
3375
  {
3376
- "href": "/review",
3377
3376
  "label": "Review",
3378
- "icon": "file-search"
3377
+ "icon": "file-search",
3378
+ "href": "/review"
3379
3379
  },
3380
3380
  {
3381
- "href": "/analysis",
3381
+ "icon": "tag",
3382
3382
  "label": "Analysis",
3383
- "icon": "tag"
3383
+ "href": "/analysis"
3384
3384
  },
3385
3385
  {
3386
3386
  "label": "Issues",
@@ -3388,26 +3388,29 @@
3388
3388
  "icon": "alert-triangle"
3389
3389
  }
3390
3390
  ],
3391
+ "type": "dashboard-layout",
3392
+ "appName": "Code Reviewer",
3391
3393
  "children": [
3392
3394
  {
3395
+ "type": "stack",
3393
3396
  "gap": "lg",
3394
3397
  "children": [
3395
3398
  {
3396
- "direction": "horizontal",
3397
3399
  "type": "stack",
3398
3400
  "gap": "md",
3401
+ "direction": "horizontal",
3399
3402
  "justify": "between",
3400
3403
  "children": [
3401
3404
  {
3402
3405
  "direction": "horizontal",
3403
3406
  "children": [
3404
3407
  {
3405
- "name": "tag",
3406
- "type": "icon"
3408
+ "type": "icon",
3409
+ "name": "tag"
3407
3410
  },
3408
3411
  {
3409
- "type": "typography",
3410
3412
  "content": "Analysis",
3413
+ "type": "typography",
3411
3414
  "variant": "h2"
3412
3415
  }
3413
3416
  ],
@@ -3416,9 +3419,9 @@
3416
3419
  },
3417
3420
  {
3418
3421
  "icon": "tag",
3419
- "type": "button",
3420
3422
  "label": "Open",
3421
3423
  "action": "CLASSIFY",
3424
+ "type": "button",
3422
3425
  "variant": "primary"
3423
3426
  }
3424
3427
  ]
@@ -3427,18 +3430,15 @@
3427
3430
  "type": "divider"
3428
3431
  },
3429
3432
  {
3430
- "icon": "tag",
3431
3433
  "description": "Click Open to view details in a modal overlay.",
3434
+ "title": "Nothing open",
3432
3435
  "type": "empty-state",
3433
- "title": "Nothing open"
3436
+ "icon": "tag"
3434
3437
  }
3435
3438
  ],
3436
- "type": "stack",
3437
3439
  "direction": "vertical"
3438
3440
  }
3439
- ],
3440
- "appName": "Code Reviewer",
3441
- "type": "dashboard-layout"
3441
+ ]
3442
3442
  }
3443
3443
  ]
3444
3444
  ]
@@ -3451,41 +3451,41 @@
3451
3451
  [
3452
3452
  "render-ui",
3453
3453
  "modal",
3454
- {
3455
- "direction": "vertical",
3456
- "type": "stack",
3454
+ {
3457
3455
  "children": [
3458
3456
  {
3459
- "direction": "horizontal",
3460
- "gap": "sm",
3461
- "type": "stack",
3462
3457
  "children": [
3463
3458
  {
3464
3459
  "name": "tag",
3465
3460
  "type": "icon"
3466
3461
  },
3467
3462
  {
3463
+ "content": "Analysis",
3468
3464
  "type": "typography",
3469
- "variant": "h3",
3470
- "content": "Analysis"
3465
+ "variant": "h3"
3471
3466
  }
3472
- ]
3467
+ ],
3468
+ "gap": "sm",
3469
+ "type": "stack",
3470
+ "direction": "horizontal"
3473
3471
  },
3474
3472
  {
3475
3473
  "type": "divider"
3476
3474
  },
3477
3475
  {
3476
+ "direction": "horizontal",
3477
+ "type": "stack",
3478
3478
  "gap": "sm",
3479
3479
  "children": [
3480
3480
  {
3481
- "type": "typography",
3482
3481
  "content": "Categories:",
3482
+ "type": "typography",
3483
3483
  "variant": "caption"
3484
3484
  },
3485
3485
  {
3486
3486
  "variant": "secondary",
3487
- "label": "schema",
3488
- "type": "badge"
3487
+ "type": "badge",
3488
+ "label": "schema"
3489
3489
  },
3490
3490
  {
3491
3491
  "label": "component",
@@ -3493,14 +3493,14 @@
3493
3493
  "type": "badge"
3494
3494
  },
3495
3495
  {
3496
- "type": "badge",
3497
3496
  "variant": "secondary",
3497
+ "type": "badge",
3498
3498
  "label": "trait"
3499
3499
  },
3500
3500
  {
3501
+ "variant": "secondary",
3501
3502
  "type": "badge",
3502
- "label": "page",
3503
- "variant": "secondary"
3503
+ "label": "page"
3504
3504
  },
3505
3505
  {
3506
3506
  "type": "badge",
@@ -3512,20 +3512,20 @@
3512
3512
  "label": "style",
3513
3513
  "variant": "secondary"
3514
3514
  }
3515
- ],
3516
- "direction": "horizontal",
3517
- "type": "stack"
3515
+ ]
3518
3516
  },
3519
3517
  {
3518
+ "submitEvent": "SAVE",
3519
+ "cancelEvent": "CLOSE",
3520
3520
  "fields": [
3521
3521
  "input"
3522
3522
  ],
3523
- "cancelEvent": "CLOSE",
3524
- "type": "form-section",
3525
3523
  "mode": "create",
3526
- "submitEvent": "SAVE"
3524
+ "type": "form-section"
3527
3525
  }
3528
3526
  ],
3527
+ "type": "stack",
3528
+ "direction": "vertical",
3529
3529
  "gap": "md"
3530
3530
  }
3531
3531
  ]
@@ -3551,8 +3551,8 @@
3551
3551
  "Analysis",
3552
3552
  {
3553
3553
  "emit": {
3554
- "failure": "AnalysisLoadFailed",
3555
- "success": "AnalysisLoaded"
3554
+ "success": "AnalysisLoaded",
3555
+ "failure": "AnalysisLoadFailed"
3556
3556
  }
3557
3557
  }
3558
3558
  ],
@@ -3561,20 +3561,23 @@
3561
3561
  "main",
3562
3562
  {
3563
3563
  "type": "dashboard-layout",
3564
+ "appName": "Code Reviewer",
3564
3565
  "children": [
3565
3566
  {
3566
- "gap": "lg",
3567
3567
  "type": "stack",
3568
+ "gap": "lg",
3569
+ "direction": "vertical",
3568
3570
  "children": [
3569
3571
  {
3570
- "type": "stack",
3572
+ "gap": "md",
3571
3573
  "children": [
3572
3574
  {
3573
3575
  "type": "stack",
3576
+ "gap": "md",
3574
3577
  "children": [
3575
3578
  {
3576
- "type": "icon",
3577
- "name": "tag"
3579
+ "name": "tag",
3580
+ "type": "icon"
3578
3581
  },
3579
3582
  {
3580
3583
  "content": "Analysis",
@@ -3582,52 +3585,49 @@
3582
3585
  "variant": "h2"
3583
3586
  }
3584
3587
  ],
3585
- "direction": "horizontal",
3586
- "gap": "md"
3588
+ "direction": "horizontal"
3587
3589
  },
3588
3590
  {
3589
3591
  "label": "Open",
3590
3592
  "variant": "primary",
3591
- "action": "CLASSIFY",
3592
3593
  "type": "button",
3594
+ "action": "CLASSIFY",
3593
3595
  "icon": "tag"
3594
3596
  }
3595
3597
  ],
3596
- "gap": "md",
3598
+ "direction": "horizontal",
3597
3599
  "justify": "between",
3598
- "direction": "horizontal"
3600
+ "type": "stack"
3599
3601
  },
3600
3602
  {
3601
3603
  "type": "divider"
3602
3604
  },
3603
3605
  {
3604
- "type": "empty-state",
3605
3606
  "icon": "tag",
3606
- "title": "Nothing open",
3607
- "description": "Click Open to view details in a modal overlay."
3607
+ "type": "empty-state",
3608
+ "description": "Click Open to view details in a modal overlay.",
3609
+ "title": "Nothing open"
3608
3610
  }
3609
- ],
3610
- "direction": "vertical"
3611
+ ]
3611
3612
  }
3612
3613
  ],
3613
3614
  "navItems": [
3614
3615
  {
3615
- "icon": "file-search",
3616
3616
  "label": "Review",
3617
- "href": "/review"
3617
+ "href": "/review",
3618
+ "icon": "file-search"
3618
3619
  },
3619
3620
  {
3620
- "label": "Analysis",
3621
3621
  "icon": "tag",
3622
+ "label": "Analysis",
3622
3623
  "href": "/analysis"
3623
3624
  },
3624
3625
  {
3626
+ "href": "/issues",
3625
3627
  "icon": "alert-triangle",
3626
- "label": "Issues",
3627
- "href": "/issues"
3628
+ "label": "Issues"
3628
3629
  }
3629
- ],
3630
- "appName": "Code Reviewer"
3630
+ ]
3631
3631
  }
3632
3632
  ]
3633
3633
  ]
@@ -3672,12 +3672,11 @@
3672
3672
  "render-ui",
3673
3673
  "main",
3674
3674
  {
3675
- "type": "dashboard-layout",
3676
3675
  "navItems": [
3677
3676
  {
3678
- "href": "/review",
3679
3677
  "icon": "file-search",
3680
- "label": "Review"
3678
+ "label": "Review",
3679
+ "href": "/review"
3681
3680
  },
3682
3681
  {
3683
3682
  "href": "/analysis",
@@ -3685,61 +3684,62 @@
3685
3684
  "label": "Analysis"
3686
3685
  },
3687
3686
  {
3688
- "icon": "alert-triangle",
3687
+ "label": "Issues",
3689
3688
  "href": "/issues",
3690
- "label": "Issues"
3689
+ "icon": "alert-triangle"
3691
3690
  }
3692
3691
  ],
3693
- "appName": "Code Reviewer",
3692
+ "type": "dashboard-layout",
3694
3693
  "children": [
3695
3694
  {
3696
- "direction": "vertical",
3697
3695
  "gap": "lg",
3696
+ "type": "stack",
3697
+ "direction": "vertical",
3698
3698
  "children": [
3699
3699
  {
3700
- "type": "stack",
3701
- "gap": "md",
3702
3700
  "direction": "horizontal",
3703
- "justify": "between",
3704
3701
  "children": [
3705
3702
  {
3706
- "gap": "md",
3703
+ "type": "stack",
3704
+ "direction": "horizontal",
3707
3705
  "children": [
3708
3706
  {
3709
- "type": "icon",
3710
- "name": "tag"
3707
+ "name": "tag",
3708
+ "type": "icon"
3711
3709
  },
3712
3710
  {
3713
- "variant": "h2",
3711
+ "content": "Analysis",
3714
3712
  "type": "typography",
3715
- "content": "Analysis"
3713
+ "variant": "h2"
3716
3714
  }
3717
3715
  ],
3718
- "type": "stack",
3719
- "direction": "horizontal"
3716
+ "gap": "md"
3720
3717
  },
3721
3718
  {
3722
- "action": "CLASSIFY",
3723
3719
  "type": "button",
3724
3720
  "icon": "tag",
3725
3721
  "variant": "primary",
3726
- "label": "Open"
3722
+ "label": "Open",
3723
+ "action": "CLASSIFY"
3727
3724
  }
3728
- ]
3725
+ ],
3726
+ "type": "stack",
3727
+ "justify": "between",
3728
+ "gap": "md"
3729
3729
  },
3730
3730
  {
3731
3731
  "type": "divider"
3732
3732
  },
3733
3733
  {
3734
- "description": "Click Open to view details in a modal overlay.",
3735
3734
  "type": "empty-state",
3736
3735
  "icon": "tag",
3736
+ "description": "Click Open to view details in a modal overlay.",
3737
3737
  "title": "Nothing open"
3738
3738
  }
3739
- ],
3740
- "type": "stack"
3739
+ ]
3741
3740
  }
3742
- ]
3741
+ ],
3742
+ "appName": "Code Reviewer"
3743
3743
  }
3744
3744
  ]
3745
3745
  ]
@@ -3849,8 +3849,8 @@
3849
3849
  "Analysis",
3850
3850
  {
3851
3851
  "emit": {
3852
- "failure": "AnalysisLoadFailed",
3853
- "success": "AnalysisLoaded"
3852
+ "success": "AnalysisLoaded",
3853
+ "failure": "AnalysisLoadFailed"
3854
3854
  }
3855
3855
  }
3856
3856
  ]
@@ -3877,42 +3877,39 @@
3877
3877
  {
3878
3878
  "children": [
3879
3879
  {
3880
- "direction": "vertical",
3881
- "type": "stack",
3882
- "gap": "lg",
3883
3880
  "children": [
3884
3881
  {
3882
+ "type": "stack",
3885
3883
  "align": "center",
3886
- "justify": "between",
3887
3884
  "direction": "horizontal",
3885
+ "gap": "md",
3886
+ "justify": "between",
3888
3887
  "children": [
3889
3888
  {
3890
- "type": "stack",
3891
- "gap": "md",
3892
- "align": "center",
3893
- "direction": "horizontal",
3894
3889
  "children": [
3895
3890
  {
3896
3891
  "type": "icon",
3897
3892
  "name": "tag"
3898
3893
  },
3899
3894
  {
3900
- "type": "typography",
3901
3895
  "variant": "h2",
3896
+ "type": "typography",
3902
3897
  "content": "Analysis Result"
3903
3898
  }
3904
- ]
3899
+ ],
3900
+ "gap": "md",
3901
+ "align": "center",
3902
+ "type": "stack",
3903
+ "direction": "horizontal"
3905
3904
  },
3906
3905
  {
3907
- "variant": "ghost",
3908
- "label": "Dismiss",
3909
3906
  "type": "button",
3907
+ "action": "HIDE",
3908
+ "variant": "ghost",
3910
3909
  "icon": "x",
3911
- "action": "HIDE"
3910
+ "label": "Dismiss"
3912
3911
  }
3913
- ],
3914
- "gap": "md",
3915
- "type": "stack"
3912
+ ]
3916
3913
  },
3917
3914
  {
3918
3915
  "type": "divider"
@@ -3926,30 +3923,33 @@
3926
3923
  "type": "toast-slot"
3927
3924
  },
3928
3925
  {
3929
- "message": "@entity.message",
3930
3926
  "type": "alert",
3931
- "variant": "warning"
3927
+ "variant": "warning",
3928
+ "message": "@entity.message"
3932
3929
  }
3933
- ]
3930
+ ],
3931
+ "type": "stack",
3932
+ "direction": "vertical",
3933
+ "gap": "lg"
3934
3934
  }
3935
3935
  ],
3936
3936
  "type": "dashboard-layout",
3937
3937
  "appName": "Code Reviewer",
3938
3938
  "navItems": [
3939
3939
  {
3940
- "href": "/review",
3941
3940
  "label": "Review",
3941
+ "href": "/review",
3942
3942
  "icon": "file-search"
3943
3943
  },
3944
3944
  {
3945
- "label": "Analysis",
3945
+ "icon": "tag",
3946
3946
  "href": "/analysis",
3947
- "icon": "tag"
3947
+ "label": "Analysis"
3948
3948
  },
3949
3949
  {
3950
3950
  "label": "Issues",
3951
- "href": "/issues",
3952
- "icon": "alert-triangle"
3951
+ "icon": "alert-triangle",
3952
+ "href": "/issues"
3953
3953
  }
3954
3954
  ]
3955
3955
  }
@@ -3975,44 +3975,44 @@
3975
3975
  "render-ui",
3976
3976
  "main",
3977
3977
  {
3978
+ "type": "dashboard-layout",
3979
+ "appName": "Code Reviewer",
3978
3980
  "navItems": [
3979
3981
  {
3980
- "label": "Review",
3982
+ "icon": "file-search",
3981
3983
  "href": "/review",
3982
- "icon": "file-search"
3984
+ "label": "Review"
3983
3985
  },
3984
3986
  {
3987
+ "href": "/analysis",
3985
3988
  "icon": "tag",
3986
- "label": "Analysis",
3987
- "href": "/analysis"
3989
+ "label": "Analysis"
3988
3990
  },
3989
3991
  {
3990
- "icon": "alert-triangle",
3992
+ "href": "/issues",
3991
3993
  "label": "Issues",
3992
- "href": "/issues"
3994
+ "icon": "alert-triangle"
3993
3995
  }
3994
3996
  ],
3995
- "type": "dashboard-layout",
3996
3997
  "children": [
3997
3998
  {
3998
- "direction": "vertical",
3999
- "type": "stack",
4000
- "gap": "lg",
4001
3999
  "children": [
4002
4000
  {
4003
- "direction": "horizontal",
4004
- "justify": "between",
4005
4001
  "gap": "md",
4002
+ "justify": "between",
4003
+ "type": "stack",
4004
+ "align": "center",
4005
+ "direction": "horizontal",
4006
4006
  "children": [
4007
4007
  {
4008
4008
  "children": [
4009
4009
  {
4010
- "type": "icon",
4011
- "name": "tag"
4010
+ "name": "tag",
4011
+ "type": "icon"
4012
4012
  },
4013
4013
  {
4014
- "variant": "h2",
4015
4014
  "content": "Analysis Result",
4015
+ "variant": "h2",
4016
4016
  "type": "typography"
4017
4017
  }
4018
4018
  ],
@@ -4022,15 +4022,13 @@
4022
4022
  "align": "center"
4023
4023
  },
4024
4024
  {
4025
+ "icon": "x",
4026
+ "variant": "ghost",
4025
4027
  "label": "Dismiss",
4026
4028
  "action": "HIDE",
4027
- "icon": "x",
4028
- "type": "button",
4029
- "variant": "ghost"
4029
+ "type": "button"
4030
4030
  }
4031
- ],
4032
- "align": "center",
4033
- "type": "stack"
4031
+ ]
4034
4032
  },
4035
4033
  {
4036
4034
  "type": "divider"
@@ -4048,10 +4046,12 @@
4048
4046
  "variant": "warning",
4049
4047
  "message": "@entity.message"
4050
4048
  }
4051
- ]
4049
+ ],
4050
+ "type": "stack",
4051
+ "gap": "lg",
4052
+ "direction": "vertical"
4052
4053
  }
4053
- ],
4054
- "appName": "Code Reviewer"
4054
+ ]
4055
4055
  }
4056
4056
  ]
4057
4057
  ]
@@ -4214,6 +4214,15 @@
4214
4214
  "render-ui",
4215
4215
  "main",
4216
4216
  {
4217
+ "children": [
4218
+ {
4219
+ "description": "Classifier is ready",
4220
+ "icon": "tag",
4221
+ "type": "empty-state",
4222
+ "title": "Classifier"
4223
+ }
4224
+ ],
4225
+ "type": "dashboard-layout",
4217
4226
  "appName": "Code Reviewer",
4218
4227
  "navItems": [
4219
4228
  {
@@ -4222,25 +4231,16 @@
4222
4231
  "href": "/review"
4223
4232
  },
4224
4233
  {
4225
- "icon": "tag",
4226
4234
  "href": "/analysis",
4227
- "label": "Analysis"
4235
+ "label": "Analysis",
4236
+ "icon": "tag"
4228
4237
  },
4229
4238
  {
4230
4239
  "href": "/issues",
4231
4240
  "icon": "alert-triangle",
4232
4241
  "label": "Issues"
4233
4242
  }
4234
- ],
4235
- "children": [
4236
- {
4237
- "type": "empty-state",
4238
- "description": "Classifier is ready",
4239
- "icon": "tag",
4240
- "title": "Classifier"
4241
- }
4242
- ],
4243
- "type": "dashboard-layout"
4243
+ ]
4244
4244
  }
4245
4245
  ]
4246
4246
  ]
@@ -4543,8 +4543,8 @@
4543
4543
  "ReviewCompletion",
4544
4544
  {
4545
4545
  "emit": {
4546
- "failure": "ReviewCompletionLoadFailed",
4547
- "success": "ReviewCompletionLoaded"
4546
+ "success": "ReviewCompletionLoaded",
4547
+ "failure": "ReviewCompletionLoadFailed"
4548
4548
  }
4549
4549
  }
4550
4550
  ],
@@ -4552,40 +4552,40 @@
4552
4552
  "render-ui",
4553
4553
  "main",
4554
4554
  {
4555
- "appName": "Code Reviewer",
4555
+ "type": "dashboard-layout",
4556
4556
  "navItems": [
4557
4557
  {
4558
- "label": "Review",
4559
4558
  "href": "/review",
4560
- "icon": "file-search"
4559
+ "icon": "file-search",
4560
+ "label": "Review"
4561
4561
  },
4562
4562
  {
4563
- "href": "/analysis",
4563
+ "icon": "tag",
4564
4564
  "label": "Analysis",
4565
- "icon": "tag"
4565
+ "href": "/analysis"
4566
4566
  },
4567
4567
  {
4568
- "href": "/issues",
4569
4568
  "icon": "alert-triangle",
4570
- "label": "Issues"
4569
+ "label": "Issues",
4570
+ "href": "/issues"
4571
4571
  }
4572
4572
  ],
4573
- "type": "dashboard-layout",
4573
+ "appName": "Code Reviewer",
4574
4574
  "children": [
4575
4575
  {
4576
4576
  "gap": "lg",
4577
+ "direction": "vertical",
4577
4578
  "children": [
4578
4579
  {
4579
- "type": "stack",
4580
- "justify": "between",
4581
4580
  "gap": "md",
4581
+ "justify": "between",
4582
+ "type": "stack",
4582
4583
  "children": [
4583
4584
  {
4584
- "gap": "md",
4585
4585
  "children": [
4586
4586
  {
4587
- "name": "sparkles",
4588
- "type": "icon"
4587
+ "type": "icon",
4588
+ "name": "sparkles"
4589
4589
  },
4590
4590
  {
4591
4591
  "type": "typography",
@@ -4594,14 +4594,15 @@
4594
4594
  }
4595
4595
  ],
4596
4596
  "type": "stack",
4597
+ "gap": "md",
4597
4598
  "direction": "horizontal"
4598
4599
  },
4599
4600
  {
4600
- "variant": "primary",
4601
- "icon": "sparkles",
4602
- "type": "button",
4603
4601
  "label": "Open",
4604
- "action": "GENERATE"
4602
+ "action": "GENERATE",
4603
+ "type": "button",
4604
+ "variant": "primary",
4605
+ "icon": "sparkles"
4605
4606
  }
4606
4607
  ],
4607
4608
  "direction": "horizontal"
@@ -4610,13 +4611,12 @@
4610
4611
  "type": "divider"
4611
4612
  },
4612
4613
  {
4613
- "description": "Click Open to view details in a modal overlay.",
4614
4614
  "icon": "sparkles",
4615
4615
  "title": "Nothing open",
4616
- "type": "empty-state"
4616
+ "type": "empty-state",
4617
+ "description": "Click Open to view details in a modal overlay."
4617
4618
  }
4618
4619
  ],
4619
- "direction": "vertical",
4620
4620
  "type": "stack"
4621
4621
  }
4622
4622
  ]
@@ -4633,29 +4633,27 @@
4633
4633
  "render-ui",
4634
4634
  "modal",
4635
4635
  {
4636
- "type": "stack",
4637
4636
  "children": [
4638
4637
  {
4639
- "type": "stack",
4638
+ "direction": "horizontal",
4640
4639
  "gap": "sm",
4641
4640
  "children": [
4642
4641
  {
4643
- "type": "icon",
4644
- "name": "sparkles"
4642
+ "name": "sparkles",
4643
+ "type": "icon"
4645
4644
  },
4646
4645
  {
4646
+ "variant": "h3",
4647
4647
  "type": "typography",
4648
- "content": "ReviewCompletion",
4649
- "variant": "h3"
4648
+ "content": "ReviewCompletion"
4650
4649
  }
4651
4650
  ],
4652
- "direction": "horizontal"
4651
+ "type": "stack"
4653
4652
  },
4654
4653
  {
4655
4654
  "type": "divider"
4656
4655
  },
4657
4656
  {
4658
- "direction": "horizontal",
4659
4657
  "children": [
4660
4658
  {
4661
4659
  "label": "@entity.provider",
@@ -4666,21 +4664,23 @@
4666
4664
  "label": "@entity.model"
4667
4665
  }
4668
4666
  ],
4669
- "gap": "sm",
4670
- "type": "stack"
4667
+ "type": "stack",
4668
+ "direction": "horizontal",
4669
+ "gap": "sm"
4671
4670
  },
4672
4671
  {
4673
- "cancelEvent": "CLOSE",
4672
+ "mode": "create",
4674
4673
  "fields": [
4675
4674
  "prompt"
4676
4675
  ],
4677
- "mode": "create",
4678
4676
  "type": "form-section",
4677
+ "cancelEvent": "CLOSE",
4679
4678
  "submitEvent": "SAVE"
4680
4679
  }
4681
4680
  ],
4681
+ "direction": "vertical",
4682
4682
  "gap": "md",
4683
- "direction": "vertical"
4683
+ "type": "stack"
4684
4684
  }
4685
4685
  ]
4686
4686
  ]
@@ -4719,15 +4719,15 @@
4719
4719
  {
4720
4720
  "gap": "lg",
4721
4721
  "type": "stack",
4722
- "direction": "vertical",
4723
4722
  "children": [
4724
4723
  {
4725
4724
  "gap": "md",
4725
+ "type": "stack",
4726
4726
  "justify": "between",
4727
4727
  "children": [
4728
4728
  {
4729
+ "direction": "horizontal",
4729
4730
  "gap": "md",
4730
- "type": "stack",
4731
4731
  "children": [
4732
4732
  {
4733
4733
  "type": "icon",
@@ -4739,42 +4739,42 @@
4739
4739
  "variant": "h2"
4740
4740
  }
4741
4741
  ],
4742
- "direction": "horizontal"
4742
+ "type": "stack"
4743
4743
  },
4744
4744
  {
4745
- "action": "GENERATE",
4746
- "variant": "primary",
4747
4745
  "label": "Open",
4748
4746
  "icon": "sparkles",
4749
- "type": "button"
4747
+ "variant": "primary",
4748
+ "type": "button",
4749
+ "action": "GENERATE"
4750
4750
  }
4751
4751
  ],
4752
- "type": "stack",
4753
4752
  "direction": "horizontal"
4754
4753
  },
4755
4754
  {
4756
4755
  "type": "divider"
4757
4756
  },
4758
4757
  {
4758
+ "title": "Nothing open",
4759
4759
  "icon": "sparkles",
4760
4760
  "type": "empty-state",
4761
- "title": "Nothing open",
4762
4761
  "description": "Click Open to view details in a modal overlay."
4763
4762
  }
4764
- ]
4763
+ ],
4764
+ "direction": "vertical"
4765
4765
  }
4766
4766
  ],
4767
4767
  "appName": "Code Reviewer",
4768
4768
  "navItems": [
4769
4769
  {
4770
- "href": "/review",
4770
+ "icon": "file-search",
4771
4771
  "label": "Review",
4772
- "icon": "file-search"
4772
+ "href": "/review"
4773
4773
  },
4774
4774
  {
4775
4775
  "href": "/analysis",
4776
- "label": "Analysis",
4777
- "icon": "tag"
4776
+ "icon": "tag",
4777
+ "label": "Analysis"
4778
4778
  },
4779
4779
  {
4780
4780
  "label": "Issues",
@@ -4798,8 +4798,8 @@
4798
4798
  "@payload.data",
4799
4799
  {
4800
4800
  "emit": {
4801
- "success": "ReviewCompletionSaved",
4802
- "failure": "ReviewCompletionSaveFailed"
4801
+ "failure": "ReviewCompletionSaveFailed",
4802
+ "success": "ReviewCompletionSaved"
4803
4803
  }
4804
4804
  }
4805
4805
  ],
@@ -4817,8 +4817,8 @@
4817
4817
  "ReviewCompletion",
4818
4818
  {
4819
4819
  "emit": {
4820
- "success": "ReviewCompletionLoaded",
4821
- "failure": "ReviewCompletionLoadFailed"
4820
+ "failure": "ReviewCompletionLoadFailed",
4821
+ "success": "ReviewCompletionLoaded"
4822
4822
  }
4823
4823
  }
4824
4824
  ],
@@ -4826,73 +4826,73 @@
4826
4826
  "render-ui",
4827
4827
  "main",
4828
4828
  {
4829
- "navItems": [
4830
- {
4831
- "label": "Review",
4832
- "href": "/review",
4833
- "icon": "file-search"
4834
- },
4835
- {
4836
- "label": "Analysis",
4837
- "icon": "tag",
4838
- "href": "/analysis"
4839
- },
4840
- {
4841
- "label": "Issues",
4842
- "icon": "alert-triangle",
4843
- "href": "/issues"
4844
- }
4845
- ],
4846
4829
  "children": [
4847
4830
  {
4831
+ "direction": "vertical",
4848
4832
  "children": [
4849
4833
  {
4850
4834
  "children": [
4851
4835
  {
4852
- "direction": "horizontal",
4853
4836
  "type": "stack",
4854
- "gap": "md",
4855
4837
  "children": [
4856
4838
  {
4857
- "name": "sparkles",
4858
- "type": "icon"
4839
+ "type": "icon",
4840
+ "name": "sparkles"
4859
4841
  },
4860
4842
  {
4861
4843
  "type": "typography",
4862
- "content": "ReviewCompletion",
4863
- "variant": "h2"
4844
+ "variant": "h2",
4845
+ "content": "ReviewCompletion"
4864
4846
  }
4865
- ]
4847
+ ],
4848
+ "direction": "horizontal",
4849
+ "gap": "md"
4866
4850
  },
4867
4851
  {
4868
- "type": "button",
4869
- "variant": "primary",
4870
4852
  "label": "Open",
4871
- "icon": "sparkles",
4872
- "action": "GENERATE"
4853
+ "action": "GENERATE",
4854
+ "variant": "primary",
4855
+ "type": "button",
4856
+ "icon": "sparkles"
4873
4857
  }
4874
4858
  ],
4875
4859
  "type": "stack",
4876
- "justify": "between",
4877
4860
  "direction": "horizontal",
4878
- "gap": "md"
4861
+ "gap": "md",
4862
+ "justify": "between"
4879
4863
  },
4880
4864
  {
4881
4865
  "type": "divider"
4882
4866
  },
4883
4867
  {
4884
- "description": "Click Open to view details in a modal overlay.",
4885
4868
  "title": "Nothing open",
4886
4869
  "icon": "sparkles",
4887
- "type": "empty-state"
4870
+ "type": "empty-state",
4871
+ "description": "Click Open to view details in a modal overlay."
4888
4872
  }
4889
4873
  ],
4890
- "gap": "lg",
4891
4874
  "type": "stack",
4892
- "direction": "vertical"
4875
+ "gap": "lg"
4893
4876
  }
4894
4877
  ],
4895
4878
  "appName": "Code Reviewer",
4879
+ "navItems": [
4880
+ {
4881
+ "label": "Review",
4882
+ "href": "/review",
4883
+ "icon": "file-search"
4884
+ },
4885
+ {
4886
+ "href": "/analysis",
4887
+ "icon": "tag",
4888
+ "label": "Analysis"
4889
+ },
4890
+ {
4891
+ "label": "Issues",
4892
+ "icon": "alert-triangle",
4893
+ "href": "/issues"
4894
+ }
4895
+ ],
4896
4896
  "type": "dashboard-layout"
4897
4897
  }
4898
4898
  ]
@@ -5003,8 +5003,8 @@
5003
5003
  "ReviewCompletion",
5004
5004
  {
5005
5005
  "emit": {
5006
- "success": "ReviewCompletionLoaded",
5007
- "failure": "ReviewCompletionLoadFailed"
5006
+ "failure": "ReviewCompletionLoadFailed",
5007
+ "success": "ReviewCompletionLoaded"
5008
5008
  }
5009
5009
  }
5010
5010
  ]
@@ -5029,6 +5029,7 @@
5029
5029
  "render-ui",
5030
5030
  "main",
5031
5031
  {
5032
+ "appName": "Code Reviewer",
5032
5033
  "navItems": [
5033
5034
  {
5034
5035
  "label": "Review",
@@ -5036,74 +5037,73 @@
5036
5037
  "href": "/review"
5037
5038
  },
5038
5039
  {
5040
+ "icon": "tag",
5039
5041
  "label": "Analysis",
5040
- "href": "/analysis",
5041
- "icon": "tag"
5042
+ "href": "/analysis"
5042
5043
  },
5043
5044
  {
5044
5045
  "label": "Issues",
5045
- "icon": "alert-triangle",
5046
- "href": "/issues"
5046
+ "href": "/issues",
5047
+ "icon": "alert-triangle"
5047
5048
  }
5048
5049
  ],
5049
5050
  "type": "dashboard-layout",
5050
- "appName": "Code Reviewer",
5051
5051
  "children": [
5052
5052
  {
5053
+ "type": "stack",
5054
+ "direction": "vertical",
5053
5055
  "children": [
5054
5056
  {
5055
- "align": "center",
5056
- "direction": "horizontal",
5057
5057
  "gap": "md",
5058
- "justify": "between",
5059
- "type": "stack",
5058
+ "align": "center",
5060
5059
  "children": [
5061
5060
  {
5062
- "direction": "horizontal",
5063
- "gap": "md",
5064
5061
  "type": "stack",
5065
- "align": "center",
5066
5062
  "children": [
5067
5063
  {
5068
5064
  "name": "sparkles",
5069
5065
  "type": "icon"
5070
5066
  },
5071
5067
  {
5072
- "type": "typography",
5073
5068
  "content": "ReviewCompletion Status",
5074
- "variant": "h2"
5069
+ "variant": "h2",
5070
+ "type": "typography"
5075
5071
  }
5076
- ]
5072
+ ],
5073
+ "direction": "horizontal",
5074
+ "gap": "md",
5075
+ "align": "center"
5077
5076
  },
5078
5077
  {
5078
+ "type": "button",
5079
5079
  "label": "Dismiss",
5080
- "action": "HIDE",
5081
- "variant": "ghost",
5082
5080
  "icon": "x",
5083
- "type": "button"
5081
+ "variant": "ghost",
5082
+ "action": "HIDE"
5084
5083
  }
5085
- ]
5084
+ ],
5085
+ "type": "stack",
5086
+ "justify": "between",
5087
+ "direction": "horizontal"
5086
5088
  },
5087
5089
  {
5088
5090
  "type": "divider"
5089
5091
  },
5090
5092
  {
5091
5093
  "type": "alert",
5092
- "message": "@entity.message",
5093
- "variant": "@entity.notificationType"
5094
+ "variant": "@entity.notificationType",
5095
+ "message": "@entity.message"
5094
5096
  },
5095
5097
  {
5096
5098
  "type": "toast-slot"
5097
5099
  },
5098
5100
  {
5099
- "message": "@entity.message",
5101
+ "variant": "warning",
5100
5102
  "type": "alert",
5101
- "variant": "warning"
5103
+ "message": "@entity.message"
5102
5104
  }
5103
5105
  ],
5104
- "direction": "vertical",
5105
- "gap": "lg",
5106
- "type": "stack"
5106
+ "gap": "lg"
5107
5107
  }
5108
5108
  ]
5109
5109
  }
@@ -5131,50 +5131,50 @@
5131
5131
  {
5132
5132
  "children": [
5133
5133
  {
5134
+ "gap": "lg",
5134
5135
  "type": "stack",
5135
5136
  "direction": "vertical",
5136
- "gap": "lg",
5137
5137
  "children": [
5138
5138
  {
5139
- "direction": "horizontal",
5140
- "justify": "between",
5141
5139
  "children": [
5142
5140
  {
5143
- "align": "center",
5144
- "gap": "md",
5141
+ "type": "stack",
5145
5142
  "direction": "horizontal",
5143
+ "gap": "md",
5146
5144
  "children": [
5147
5145
  {
5148
- "type": "icon",
5149
- "name": "sparkles"
5146
+ "name": "sparkles",
5147
+ "type": "icon"
5150
5148
  },
5151
5149
  {
5152
- "variant": "h2",
5153
5150
  "content": "ReviewCompletion Status",
5151
+ "variant": "h2",
5154
5152
  "type": "typography"
5155
5153
  }
5156
5154
  ],
5157
- "type": "stack"
5155
+ "align": "center"
5158
5156
  },
5159
5157
  {
5160
5158
  "label": "Dismiss",
5161
- "type": "button",
5162
- "action": "HIDE",
5163
5159
  "variant": "ghost",
5164
- "icon": "x"
5160
+ "icon": "x",
5161
+ "action": "HIDE",
5162
+ "type": "button"
5165
5163
  }
5166
5164
  ],
5167
- "align": "center",
5165
+ "justify": "between",
5166
+ "type": "stack",
5167
+ "direction": "horizontal",
5168
5168
  "gap": "md",
5169
- "type": "stack"
5169
+ "align": "center"
5170
5170
  },
5171
5171
  {
5172
5172
  "type": "divider"
5173
5173
  },
5174
5174
  {
5175
- "message": "@entity.message",
5176
5175
  "type": "alert",
5177
- "variant": "@entity.notificationType"
5176
+ "variant": "@entity.notificationType",
5177
+ "message": "@entity.message"
5178
5178
  },
5179
5179
  {
5180
5180
  "type": "toast-slot"
@@ -5189,18 +5189,18 @@
5189
5189
  ],
5190
5190
  "navItems": [
5191
5191
  {
5192
- "icon": "file-search",
5193
5192
  "label": "Review",
5194
- "href": "/review"
5193
+ "href": "/review",
5194
+ "icon": "file-search"
5195
5195
  },
5196
5196
  {
5197
- "label": "Analysis",
5198
5197
  "href": "/analysis",
5198
+ "label": "Analysis",
5199
5199
  "icon": "tag"
5200
5200
  },
5201
5201
  {
5202
- "icon": "alert-triangle",
5203
5202
  "href": "/issues",
5203
+ "icon": "alert-triangle",
5204
5204
  "label": "Issues"
5205
5205
  }
5206
5206
  ],
@@ -5375,6 +5375,15 @@
5375
5375
  "render-ui",
5376
5376
  "main",
5377
5377
  {
5378
+ "appName": "Code Reviewer",
5379
+ "children": [
5380
+ {
5381
+ "icon": "sparkles",
5382
+ "title": "Completion",
5383
+ "description": "Completion is ready",
5384
+ "type": "empty-state"
5385
+ }
5386
+ ],
5378
5387
  "type": "dashboard-layout",
5379
5388
  "navItems": [
5380
5389
  {
@@ -5388,18 +5397,9 @@
5388
5397
  "icon": "tag"
5389
5398
  },
5390
5399
  {
5391
- "label": "Issues",
5392
5400
  "icon": "alert-triangle",
5393
- "href": "/issues"
5394
- }
5395
- ],
5396
- "appName": "Code Reviewer",
5397
- "children": [
5398
- {
5399
- "type": "empty-state",
5400
- "icon": "sparkles",
5401
- "description": "Completion is ready",
5402
- "title": "Completion"
5401
+ "href": "/issues",
5402
+ "label": "Issues"
5403
5403
  }
5404
5404
  ]
5405
5405
  }
@@ -5691,4 +5691,4 @@
5691
5691
  ]
5692
5692
  }
5693
5693
  ]
5694
- }
5694
+ }