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