@almadar/std 13.0.1 → 13.0.3

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