@almadar/std 8.4.2 → 8.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -335,36 +335,37 @@
335
335
  "render-ui",
336
336
  "main",
337
337
  {
338
+ "type": "dashboard-layout",
339
+ "appName": "Code Reviewer",
338
340
  "children": [
339
341
  {
340
- "gap": "lg",
342
+ "direction": "vertical",
341
343
  "type": "stack",
342
344
  "children": [
343
345
  {
344
346
  "type": "stack",
347
+ "direction": "horizontal",
348
+ "align": "center",
345
349
  "children": [
346
350
  {
347
- "type": "icon",
348
- "name": "file-search"
351
+ "name": "file-search",
352
+ "type": "icon"
349
353
  },
350
354
  {
351
- "content": "Code Review",
355
+ "type": "typography",
352
356
  "variant": "h2",
353
- "type": "typography"
357
+ "content": "Code Review"
354
358
  }
355
359
  ],
356
- "direction": "horizontal",
357
- "gap": "sm",
358
- "align": "center"
360
+ "gap": "sm"
359
361
  },
360
362
  {
361
363
  "type": "divider"
362
364
  },
363
365
  {
366
+ "type": "card",
364
367
  "children": [
365
368
  {
366
- "gap": "md",
367
- "type": "stack",
368
369
  "children": [
369
370
  {
370
371
  "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
@@ -372,43 +373,42 @@
372
373
  "type": "typography"
373
374
  },
374
375
  {
376
+ "submitEvent": "SUBMIT_REVIEW",
375
377
  "entity": "@entity",
376
378
  "fields": [
377
379
  "target"
378
380
  ],
379
- "submitEvent": "SUBMIT_REVIEW",
380
- "type": "form-section",
381
- "mode": "edit"
381
+ "mode": "edit",
382
+ "type": "form-section"
382
383
  }
383
384
  ],
385
+ "gap": "md",
386
+ "type": "stack",
384
387
  "direction": "vertical"
385
388
  }
386
- ],
387
- "type": "card"
389
+ ]
388
390
  }
389
391
  ],
390
- "direction": "vertical"
392
+ "gap": "lg"
391
393
  }
392
394
  ],
393
- "type": "dashboard-layout",
394
395
  "navItems": [
395
396
  {
396
- "icon": "file-search",
397
397
  "href": "/review",
398
- "label": "Review"
398
+ "label": "Review",
399
+ "icon": "file-search"
399
400
  },
400
401
  {
401
402
  "href": "/analysis",
402
- "icon": "tag",
403
- "label": "Analysis"
403
+ "label": "Analysis",
404
+ "icon": "tag"
404
405
  },
405
406
  {
406
407
  "label": "Issues",
407
- "icon": "alert-triangle",
408
- "href": "/issues"
408
+ "href": "/issues",
409
+ "icon": "alert-triangle"
409
410
  }
410
- ],
411
- "appName": "Code Reviewer"
411
+ ]
412
412
  }
413
413
  ]
414
414
  ]
@@ -442,23 +442,27 @@
442
442
  {
443
443
  "navItems": [
444
444
  {
445
- "label": "Review",
446
445
  "href": "/review",
447
- "icon": "file-search"
446
+ "icon": "file-search",
447
+ "label": "Review"
448
448
  },
449
449
  {
450
- "icon": "tag",
451
450
  "href": "/analysis",
451
+ "icon": "tag",
452
452
  "label": "Analysis"
453
453
  },
454
454
  {
455
- "label": "Issues",
455
+ "href": "/issues",
456
456
  "icon": "alert-triangle",
457
- "href": "/issues"
457
+ "label": "Issues"
458
458
  }
459
459
  ],
460
+ "type": "dashboard-layout",
461
+ "appName": "Code Reviewer",
460
462
  "children": [
461
463
  {
464
+ "type": "stack",
465
+ "gap": "lg",
462
466
  "direction": "vertical",
463
467
  "align": "center",
464
468
  "children": [
@@ -467,9 +471,9 @@
467
471
  "type": "icon"
468
472
  },
469
473
  {
474
+ "variant": "h3",
470
475
  "type": "typography",
471
- "content": "Analyzing input...",
472
- "variant": "h3"
476
+ "content": "Analyzing input..."
473
477
  },
474
478
  {
475
479
  "type": "spinner"
@@ -479,13 +483,9 @@
479
483
  "variant": "caption",
480
484
  "type": "typography"
481
485
  }
482
- ],
483
- "gap": "lg",
484
- "type": "stack"
486
+ ]
485
487
  }
486
- ],
487
- "appName": "Code Reviewer",
488
- "type": "dashboard-layout"
488
+ ]
489
489
  }
490
490
  ]
491
491
  ]
@@ -510,26 +510,25 @@
510
510
  {
511
511
  "navItems": [
512
512
  {
513
- "label": "Review",
513
+ "icon": "file-search",
514
514
  "href": "/review",
515
- "icon": "file-search"
515
+ "label": "Review"
516
516
  },
517
517
  {
518
518
  "href": "/analysis",
519
- "icon": "tag",
520
- "label": "Analysis"
519
+ "label": "Analysis",
520
+ "icon": "tag"
521
521
  },
522
522
  {
523
- "icon": "alert-triangle",
524
523
  "label": "Issues",
524
+ "icon": "alert-triangle",
525
525
  "href": "/issues"
526
526
  }
527
527
  ],
528
- "appName": "Code Reviewer",
529
528
  "children": [
530
529
  {
531
530
  "align": "center",
532
- "direction": "vertical",
531
+ "type": "stack",
533
532
  "children": [
534
533
  {
535
534
  "type": "icon",
@@ -544,15 +543,16 @@
544
543
  "type": "spinner"
545
544
  },
546
545
  {
547
- "content": "Category: @entity.category",
548
546
  "type": "typography",
547
+ "content": "Category: @entity.category",
549
548
  "variant": "caption"
550
549
  }
551
550
  ],
552
- "gap": "lg",
553
- "type": "stack"
551
+ "direction": "vertical",
552
+ "gap": "lg"
554
553
  }
555
554
  ],
555
+ "appName": "Code Reviewer",
556
556
  "type": "dashboard-layout"
557
557
  }
558
558
  ]
@@ -577,39 +577,40 @@
577
577
  "render-ui",
578
578
  "main",
579
579
  {
580
+ "appName": "Code Reviewer",
580
581
  "children": [
581
582
  {
582
- "gap": "lg",
583
+ "direction": "vertical",
583
584
  "children": [
584
585
  {
586
+ "direction": "horizontal",
587
+ "align": "center",
588
+ "type": "stack",
585
589
  "justify": "between",
586
590
  "gap": "sm",
587
591
  "children": [
588
592
  {
593
+ "direction": "horizontal",
594
+ "gap": "sm",
589
595
  "children": [
590
596
  {
591
- "type": "icon",
592
- "name": "check-circle"
597
+ "name": "check-circle",
598
+ "type": "icon"
593
599
  },
594
600
  {
601
+ "variant": "h2",
595
602
  "type": "typography",
596
- "content": "Review Complete",
597
- "variant": "h2"
603
+ "content": "Review Complete"
598
604
  }
599
605
  ],
600
- "gap": "sm",
601
606
  "type": "stack",
602
- "direction": "horizontal",
603
607
  "align": "center"
604
608
  },
605
609
  {
606
- "label": "@entity.score",
607
- "type": "badge"
610
+ "type": "badge",
611
+ "label": "@entity.score"
608
612
  }
609
- ],
610
- "direction": "horizontal",
611
- "type": "stack",
612
- "align": "center"
613
+ ]
613
614
  },
614
615
  {
615
616
  "type": "divider"
@@ -618,83 +619,82 @@
618
619
  "type": "card",
619
620
  "children": [
620
621
  {
621
- "type": "stack",
622
+ "direction": "vertical",
622
623
  "children": [
623
624
  {
624
- "gap": "sm",
625
625
  "direction": "horizontal",
626
+ "gap": "sm",
626
627
  "type": "stack",
627
628
  "children": [
628
629
  {
629
- "label": "@entity.category",
630
- "type": "badge"
630
+ "type": "badge",
631
+ "label": "@entity.category"
631
632
  },
632
633
  {
633
- "label": "@entity.reviewStatus",
634
- "type": "badge"
634
+ "type": "badge",
635
+ "label": "@entity.reviewStatus"
635
636
  }
636
637
  ]
637
638
  },
638
639
  {
639
- "variant": "h4",
640
+ "content": "Issues",
640
641
  "type": "typography",
641
- "content": "Issues"
642
+ "variant": "h4"
642
643
  },
643
644
  {
645
+ "content": "@entity.issues",
644
646
  "variant": "body",
645
- "type": "typography",
646
- "content": "@entity.issues"
647
+ "type": "typography"
647
648
  },
648
649
  {
649
650
  "type": "divider"
650
651
  },
651
652
  {
652
- "variant": "h4",
653
+ "type": "typography",
653
654
  "content": "Suggestions",
654
- "type": "typography"
655
+ "variant": "h4"
655
656
  },
656
657
  {
657
- "content": "@entity.suggestions",
658
658
  "variant": "body",
659
- "type": "typography"
659
+ "type": "typography",
660
+ "content": "@entity.suggestions"
660
661
  }
661
662
  ],
662
- "gap": "md",
663
- "direction": "vertical"
663
+ "type": "stack",
664
+ "gap": "md"
664
665
  }
665
666
  ]
666
667
  },
667
668
  {
669
+ "action": "RESET",
668
670
  "icon": "rotate-ccw",
669
- "label": "New Review",
670
671
  "variant": "ghost",
671
- "type": "button",
672
- "action": "RESET"
672
+ "label": "New Review",
673
+ "type": "button"
673
674
  }
674
675
  ],
675
- "direction": "vertical",
676
- "type": "stack"
676
+ "type": "stack",
677
+ "gap": "lg"
677
678
  }
678
679
  ],
680
+ "type": "dashboard-layout",
679
681
  "navItems": [
680
682
  {
681
- "label": "Review",
683
+ "icon": "file-search",
682
684
  "href": "/review",
683
- "icon": "file-search"
685
+ "label": "Review"
684
686
  },
685
687
  {
686
688
  "href": "/analysis",
687
- "icon": "tag",
688
- "label": "Analysis"
689
+ "label": "Analysis",
690
+ "icon": "tag"
689
691
  },
690
692
  {
691
- "icon": "alert-triangle",
692
693
  "href": "/issues",
694
+ "icon": "alert-triangle",
693
695
  "label": "Issues"
694
696
  }
695
- ],
696
- "appName": "Code Reviewer",
697
- "type": "dashboard-layout"
697
+ ]
698
698
  }
699
699
  ]
700
700
  ]
@@ -733,80 +733,80 @@
733
733
  "render-ui",
734
734
  "main",
735
735
  {
736
- "type": "dashboard-layout",
737
- "navItems": [
738
- {
739
- "href": "/review",
740
- "icon": "file-search",
741
- "label": "Review"
742
- },
743
- {
744
- "icon": "tag",
745
- "label": "Analysis",
746
- "href": "/analysis"
747
- },
748
- {
749
- "label": "Issues",
750
- "icon": "alert-triangle",
751
- "href": "/issues"
752
- }
753
- ],
736
+ "appName": "Code Reviewer",
754
737
  "children": [
755
738
  {
756
- "direction": "vertical",
757
- "gap": "lg",
758
- "type": "stack",
759
739
  "children": [
760
740
  {
761
- "align": "center",
762
- "gap": "sm",
763
- "direction": "horizontal",
764
- "type": "stack",
765
741
  "children": [
766
742
  {
767
743
  "type": "icon",
768
744
  "name": "file-search"
769
745
  },
770
746
  {
771
- "variant": "h2",
772
747
  "type": "typography",
773
- "content": "Code Review"
748
+ "content": "Code Review",
749
+ "variant": "h2"
774
750
  }
775
- ]
751
+ ],
752
+ "direction": "horizontal",
753
+ "align": "center",
754
+ "gap": "sm",
755
+ "type": "stack"
776
756
  },
777
757
  {
778
758
  "type": "divider"
779
759
  },
780
760
  {
781
- "type": "card",
782
761
  "children": [
783
762
  {
763
+ "gap": "md",
784
764
  "direction": "vertical",
785
- "type": "stack",
786
765
  "children": [
787
766
  {
767
+ "type": "typography",
788
768
  "variant": "body",
789
- "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
790
- "type": "typography"
769
+ "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review."
791
770
  },
792
771
  {
793
- "entity": "@entity",
772
+ "mode": "edit",
794
773
  "type": "form-section",
774
+ "entity": "@entity",
775
+ "submitEvent": "SUBMIT_REVIEW",
795
776
  "fields": [
796
777
  "target"
797
- ],
798
- "submitEvent": "SUBMIT_REVIEW",
799
- "mode": "edit"
778
+ ]
800
779
  }
801
780
  ],
802
- "gap": "md"
781
+ "type": "stack"
803
782
  }
804
- ]
783
+ ],
784
+ "type": "card"
805
785
  }
806
- ]
786
+ ],
787
+ "direction": "vertical",
788
+ "type": "stack",
789
+ "gap": "lg"
807
790
  }
808
791
  ],
809
- "appName": "Code Reviewer"
792
+ "navItems": [
793
+ {
794
+ "href": "/review",
795
+ "icon": "file-search",
796
+ "label": "Review"
797
+ },
798
+ {
799
+ "icon": "tag",
800
+ "label": "Analysis",
801
+ "href": "/analysis"
802
+ },
803
+ {
804
+ "href": "/issues",
805
+ "icon": "alert-triangle",
806
+ "label": "Issues"
807
+ }
808
+ ],
809
+ "type": "dashboard-layout"
810
810
  }
811
811
  ]
812
812
  ]
@@ -1000,23 +1000,24 @@
1000
1000
  {
1001
1001
  "children": [
1002
1002
  {
1003
+ "gap": "lg",
1003
1004
  "children": [
1004
1005
  {
1006
+ "type": "stack",
1007
+ "gap": "sm",
1008
+ "direction": "horizontal",
1009
+ "align": "center",
1005
1010
  "children": [
1006
1011
  {
1007
- "type": "icon",
1008
- "name": "brain"
1012
+ "name": "brain",
1013
+ "type": "icon"
1009
1014
  },
1010
1015
  {
1011
- "content": "RAG Pipeline",
1012
1016
  "variant": "h2",
1013
- "type": "typography"
1017
+ "type": "typography",
1018
+ "content": "RAG Pipeline"
1014
1019
  }
1015
- ],
1016
- "type": "stack",
1017
- "align": "center",
1018
- "gap": "sm",
1019
- "direction": "horizontal"
1020
+ ]
1020
1021
  },
1021
1022
  {
1022
1023
  "type": "divider"
@@ -1024,54 +1025,53 @@
1024
1025
  {
1025
1026
  "children": [
1026
1027
  {
1027
- "type": "stack",
1028
- "gap": "md",
1029
- "direction": "vertical",
1030
1028
  "children": [
1031
1029
  {
1032
- "variant": "body",
1033
1030
  "content": "Enter a query to retrieve context and generate a response",
1034
- "type": "typography"
1031
+ "type": "typography",
1032
+ "variant": "body"
1035
1033
  },
1036
1034
  {
1035
+ "mode": "edit",
1037
1036
  "submitEvent": "GENERATE",
1038
- "type": "form-section",
1037
+ "entity": "@entity",
1039
1038
  "fields": [
1040
1039
  "query"
1041
1040
  ],
1042
- "entity": "@entity",
1043
- "mode": "edit"
1041
+ "type": "form-section"
1044
1042
  }
1045
- ]
1043
+ ],
1044
+ "type": "stack",
1045
+ "direction": "vertical",
1046
+ "gap": "md"
1046
1047
  }
1047
1048
  ],
1048
1049
  "type": "card"
1049
1050
  }
1050
1051
  ],
1051
- "gap": "lg",
1052
1052
  "direction": "vertical",
1053
1053
  "type": "stack"
1054
1054
  }
1055
1055
  ],
1056
1056
  "navItems": [
1057
1057
  {
1058
+ "icon": "file-search",
1058
1059
  "href": "/review",
1059
- "label": "Review",
1060
- "icon": "file-search"
1060
+ "label": "Review"
1061
1061
  },
1062
1062
  {
1063
- "icon": "tag",
1064
1063
  "label": "Analysis",
1065
- "href": "/analysis"
1064
+ "href": "/analysis",
1065
+ "icon": "tag"
1066
1066
  },
1067
1067
  {
1068
1068
  "label": "Issues",
1069
- "href": "/issues",
1070
- "icon": "alert-triangle"
1069
+ "icon": "alert-triangle",
1070
+ "href": "/issues"
1071
1071
  }
1072
1072
  ],
1073
- "type": "dashboard-layout",
1074
- "appName": "Code Reviewer"
1073
+ "appName": "Code Reviewer",
1074
+ "type": "dashboard-layout"
1075
1075
  }
1076
1076
  ]
1077
1077
  ]
@@ -1099,10 +1099,9 @@
1099
1099
  "render-ui",
1100
1100
  "main",
1101
1101
  {
1102
+ "type": "dashboard-layout",
1102
1103
  "children": [
1103
1104
  {
1104
- "gap": "lg",
1105
- "direction": "vertical",
1106
1105
  "align": "center",
1107
1106
  "children": [
1108
1107
  {
@@ -1111,48 +1110,49 @@
1111
1110
  },
1112
1111
  {
1113
1112
  "content": "Retrieving context...",
1114
- "type": "typography",
1115
- "variant": "h3"
1113
+ "variant": "h3",
1114
+ "type": "typography"
1116
1115
  },
1117
1116
  {
1118
1117
  "type": "spinner"
1119
1118
  },
1120
1119
  {
1121
- "type": "stack",
1122
- "justify": "center",
1120
+ "direction": "horizontal",
1121
+ "gap": "md",
1123
1122
  "children": [
1124
1123
  {
1125
- "label": "Recalling memories",
1126
- "type": "badge"
1124
+ "type": "badge",
1125
+ "label": "Recalling memories"
1127
1126
  },
1128
1127
  {
1129
- "type": "badge",
1130
- "label": "Searching code"
1128
+ "label": "Searching code",
1129
+ "type": "badge"
1131
1130
  }
1132
1131
  ],
1133
- "direction": "horizontal",
1134
- "gap": "md"
1132
+ "type": "stack",
1133
+ "justify": "center"
1135
1134
  }
1136
1135
  ],
1137
- "type": "stack"
1136
+ "type": "stack",
1137
+ "direction": "vertical",
1138
+ "gap": "lg"
1138
1139
  }
1139
1140
  ],
1140
1141
  "appName": "Code Reviewer",
1141
- "type": "dashboard-layout",
1142
1142
  "navItems": [
1143
1143
  {
1144
- "label": "Review",
1145
1144
  "icon": "file-search",
1145
+ "label": "Review",
1146
1146
  "href": "/review"
1147
1147
  },
1148
1148
  {
1149
+ "href": "/analysis",
1149
1150
  "icon": "tag",
1150
- "label": "Analysis",
1151
- "href": "/analysis"
1151
+ "label": "Analysis"
1152
1152
  },
1153
1153
  {
1154
- "icon": "alert-triangle",
1155
1154
  "label": "Issues",
1155
+ "icon": "alert-triangle",
1156
1156
  "href": "/issues"
1157
1157
  }
1158
1158
  ]
@@ -1200,45 +1200,45 @@
1200
1200
  "render-ui",
1201
1201
  "main",
1202
1202
  {
1203
+ "appName": "Code Reviewer",
1203
1204
  "children": [
1204
1205
  {
1205
- "type": "stack",
1206
- "align": "center",
1206
+ "direction": "vertical",
1207
1207
  "children": [
1208
1208
  {
1209
1209
  "name": "cpu",
1210
1210
  "type": "icon"
1211
1211
  },
1212
1212
  {
1213
+ "type": "typography",
1213
1214
  "content": "Generating response...",
1214
- "variant": "h3",
1215
- "type": "typography"
1215
+ "variant": "h3"
1216
1216
  },
1217
1217
  {
1218
1218
  "type": "spinner"
1219
1219
  },
1220
1220
  {
1221
- "direction": "horizontal",
1222
- "gap": "md",
1223
- "justify": "center",
1224
1221
  "children": [
1225
1222
  {
1226
- "label": "@entity.memoryHits",
1227
- "type": "badge"
1223
+ "type": "badge",
1224
+ "label": "@entity.memoryHits"
1228
1225
  },
1229
1226
  {
1230
- "label": "@entity.searchHits",
1231
- "type": "badge"
1227
+ "type": "badge",
1228
+ "label": "@entity.searchHits"
1232
1229
  }
1233
1230
  ],
1234
- "type": "stack"
1231
+ "justify": "center",
1232
+ "type": "stack",
1233
+ "direction": "horizontal",
1234
+ "gap": "md"
1235
1235
  }
1236
1236
  ],
1237
+ "align": "center",
1237
1238
  "gap": "lg",
1238
- "direction": "vertical"
1239
+ "type": "stack"
1239
1240
  }
1240
1241
  ],
1241
- "appName": "Code Reviewer",
1242
1242
  "type": "dashboard-layout",
1243
1243
  "navItems": [
1244
1244
  {
@@ -1247,14 +1247,14 @@
1247
1247
  "icon": "file-search"
1248
1248
  },
1249
1249
  {
1250
- "icon": "tag",
1251
1250
  "href": "/analysis",
1252
- "label": "Analysis"
1251
+ "label": "Analysis",
1252
+ "icon": "tag"
1253
1253
  },
1254
1254
  {
1255
- "label": "Issues",
1256
1255
  "href": "/issues",
1257
- "icon": "alert-triangle"
1256
+ "icon": "alert-triangle",
1257
+ "label": "Issues"
1258
1258
  }
1259
1259
  ]
1260
1260
  }
@@ -1280,52 +1280,52 @@
1280
1280
  "render-ui",
1281
1281
  "main",
1282
1282
  {
1283
+ "navItems": [
1284
+ {
1285
+ "label": "Review",
1286
+ "icon": "file-search",
1287
+ "href": "/review"
1288
+ },
1289
+ {
1290
+ "label": "Analysis",
1291
+ "href": "/analysis",
1292
+ "icon": "tag"
1293
+ },
1294
+ {
1295
+ "icon": "alert-triangle",
1296
+ "href": "/issues",
1297
+ "label": "Issues"
1298
+ }
1299
+ ],
1283
1300
  "children": [
1284
1301
  {
1285
- "type": "stack",
1302
+ "gap": "lg",
1286
1303
  "children": [
1287
1304
  {
1288
- "name": "alert-triangle",
1289
- "type": "icon"
1305
+ "type": "icon",
1306
+ "name": "alert-triangle"
1290
1307
  },
1291
1308
  {
1292
- "content": "RAG Pipeline Error",
1309
+ "variant": "h2",
1293
1310
  "type": "typography",
1294
- "variant": "h2"
1311
+ "content": "RAG Pipeline Error"
1295
1312
  },
1296
1313
  {
1297
- "variant": "error",
1298
1314
  "message": "@entity.error",
1299
- "type": "alert"
1315
+ "type": "alert",
1316
+ "variant": "error"
1300
1317
  },
1301
1318
  {
1302
- "variant": "primary",
1303
1319
  "type": "button",
1304
- "action": "RESET",
1320
+ "variant": "primary",
1321
+ "icon": "rotate-ccw",
1305
1322
  "label": "Try Again",
1306
- "icon": "rotate-ccw"
1323
+ "action": "RESET"
1307
1324
  }
1308
1325
  ],
1326
+ "align": "center",
1309
1327
  "direction": "vertical",
1310
- "gap": "lg",
1311
- "align": "center"
1312
- }
1313
- ],
1314
- "navItems": [
1315
- {
1316
- "icon": "file-search",
1317
- "href": "/review",
1318
- "label": "Review"
1319
- },
1320
- {
1321
- "href": "/analysis",
1322
- "icon": "tag",
1323
- "label": "Analysis"
1324
- },
1325
- {
1326
- "label": "Issues",
1327
- "href": "/issues",
1328
- "icon": "alert-triangle"
1328
+ "type": "stack"
1329
1329
  }
1330
1330
  ],
1331
1331
  "type": "dashboard-layout",
@@ -1362,44 +1362,59 @@
1362
1362
  "render-ui",
1363
1363
  "main",
1364
1364
  {
1365
+ "navItems": [
1366
+ {
1367
+ "label": "Review",
1368
+ "href": "/review",
1369
+ "icon": "file-search"
1370
+ },
1371
+ {
1372
+ "label": "Analysis",
1373
+ "href": "/analysis",
1374
+ "icon": "tag"
1375
+ },
1376
+ {
1377
+ "label": "Issues",
1378
+ "href": "/issues",
1379
+ "icon": "alert-triangle"
1380
+ }
1381
+ ],
1382
+ "type": "dashboard-layout",
1365
1383
  "children": [
1366
1384
  {
1367
- "gap": "lg",
1368
- "type": "stack",
1369
- "direction": "vertical",
1370
1385
  "children": [
1371
1386
  {
1372
- "align": "center",
1373
1387
  "justify": "between",
1388
+ "gap": "sm",
1389
+ "type": "stack",
1390
+ "direction": "horizontal",
1391
+ "align": "center",
1374
1392
  "children": [
1375
1393
  {
1376
- "direction": "horizontal",
1377
- "align": "center",
1394
+ "type": "stack",
1378
1395
  "gap": "sm",
1396
+ "direction": "horizontal",
1379
1397
  "children": [
1380
1398
  {
1381
- "type": "icon",
1382
- "name": "check-circle"
1399
+ "name": "check-circle",
1400
+ "type": "icon"
1383
1401
  },
1384
1402
  {
1403
+ "type": "typography",
1385
1404
  "content": "RAG Complete",
1386
- "variant": "h2",
1387
- "type": "typography"
1405
+ "variant": "h2"
1388
1406
  }
1389
1407
  ],
1390
- "type": "stack"
1408
+ "align": "center"
1391
1409
  },
1392
1410
  {
1393
1411
  "icon": "rotate-ccw",
1412
+ "label": "New Query",
1394
1413
  "variant": "ghost",
1395
- "type": "button",
1396
1414
  "action": "RESET",
1397
- "label": "New Query"
1415
+ "type": "button"
1398
1416
  }
1399
- ],
1400
- "type": "stack",
1401
- "gap": "sm",
1402
- "direction": "horizontal"
1417
+ ]
1403
1418
  },
1404
1419
  {
1405
1420
  "type": "divider"
@@ -1409,16 +1424,16 @@
1409
1424
  "cols": 2.0,
1410
1425
  "children": [
1411
1426
  {
1412
- "type": "stat-display",
1413
- "value": "@entity.memoryHits",
1414
1427
  "label": "Memory Hits",
1415
- "icon": "brain"
1428
+ "icon": "brain",
1429
+ "type": "stat-display",
1430
+ "value": "@entity.memoryHits"
1416
1431
  },
1417
1432
  {
1418
- "icon": "code",
1419
- "value": "@entity.searchHits",
1420
1433
  "type": "stat-display",
1421
- "label": "Code Hits"
1434
+ "icon": "code",
1435
+ "label": "Code Hits",
1436
+ "value": "@entity.searchHits"
1422
1437
  }
1423
1438
  ]
1424
1439
  },
@@ -1426,19 +1441,19 @@
1426
1441
  "type": "divider"
1427
1442
  },
1428
1443
  {
1444
+ "type": "card",
1429
1445
  "children": [
1430
1446
  {
1431
- "direction": "vertical",
1432
- "gap": "md",
1447
+ "type": "stack",
1433
1448
  "children": [
1434
1449
  {
1435
- "content": "Query",
1436
1450
  "variant": "caption",
1437
- "type": "typography"
1451
+ "type": "typography",
1452
+ "content": "Query"
1438
1453
  },
1439
1454
  {
1440
- "type": "typography",
1441
1455
  "variant": "body",
1456
+ "type": "typography",
1442
1457
  "content": "@entity.query"
1443
1458
  },
1444
1459
  {
@@ -1455,55 +1470,40 @@
1455
1470
  "content": "@entity.response"
1456
1471
  }
1457
1472
  ],
1458
- "type": "stack"
1473
+ "direction": "vertical",
1474
+ "gap": "md"
1459
1475
  }
1460
- ],
1461
- "type": "card"
1476
+ ]
1462
1477
  },
1463
1478
  {
1464
- "type": "card",
1465
1479
  "children": [
1466
1480
  {
1467
- "type": "stack",
1481
+ "direction": "vertical",
1482
+ "gap": "sm",
1468
1483
  "children": [
1469
1484
  {
1470
- "variant": "caption",
1471
1485
  "type": "typography",
1486
+ "variant": "caption",
1472
1487
  "content": "Retrieved Context"
1473
1488
  },
1474
1489
  {
1475
1490
  "content": "@entity.context",
1476
- "type": "typography",
1477
- "variant": "body"
1491
+ "variant": "body",
1492
+ "type": "typography"
1478
1493
  }
1479
1494
  ],
1480
- "gap": "sm",
1481
- "direction": "vertical"
1495
+ "type": "stack"
1482
1496
  }
1483
- ]
1497
+ ],
1498
+ "type": "card"
1484
1499
  }
1485
- ]
1500
+ ],
1501
+ "direction": "vertical",
1502
+ "gap": "lg",
1503
+ "type": "stack"
1486
1504
  }
1487
1505
  ],
1488
- "appName": "Code Reviewer",
1489
- "type": "dashboard-layout",
1490
- "navItems": [
1491
- {
1492
- "label": "Review",
1493
- "href": "/review",
1494
- "icon": "file-search"
1495
- },
1496
- {
1497
- "label": "Analysis",
1498
- "href": "/analysis",
1499
- "icon": "tag"
1500
- },
1501
- {
1502
- "icon": "alert-triangle",
1503
- "label": "Issues",
1504
- "href": "/issues"
1505
- }
1506
- ]
1506
+ "appName": "Code Reviewer"
1507
1507
  }
1508
1508
  ]
1509
1509
  ]
@@ -1529,9 +1529,9 @@
1529
1529
  {
1530
1530
  "navItems": [
1531
1531
  {
1532
- "href": "/review",
1532
+ "icon": "file-search",
1533
1533
  "label": "Review",
1534
- "icon": "file-search"
1534
+ "href": "/review"
1535
1535
  },
1536
1536
  {
1537
1537
  "label": "Analysis",
@@ -1539,15 +1539,15 @@
1539
1539
  "icon": "tag"
1540
1540
  },
1541
1541
  {
1542
- "icon": "alert-triangle",
1542
+ "label": "Issues",
1543
1543
  "href": "/issues",
1544
- "label": "Issues"
1544
+ "icon": "alert-triangle"
1545
1545
  }
1546
1546
  ],
1547
1547
  "appName": "Code Reviewer",
1548
+ "type": "dashboard-layout",
1548
1549
  "children": [
1549
1550
  {
1550
- "type": "stack",
1551
1551
  "align": "center",
1552
1552
  "children": [
1553
1553
  {
@@ -1560,23 +1560,23 @@
1560
1560
  "variant": "h2"
1561
1561
  },
1562
1562
  {
1563
- "message": "@entity.error",
1564
1563
  "type": "alert",
1564
+ "message": "@entity.error",
1565
1565
  "variant": "error"
1566
1566
  },
1567
1567
  {
1568
- "icon": "rotate-ccw",
1569
1568
  "action": "RESET",
1570
- "label": "Try Again",
1571
1569
  "variant": "primary",
1572
- "type": "button"
1570
+ "icon": "rotate-ccw",
1571
+ "type": "button",
1572
+ "label": "Try Again"
1573
1573
  }
1574
1574
  ],
1575
+ "type": "stack",
1575
1576
  "direction": "vertical",
1576
1577
  "gap": "lg"
1577
1578
  }
1578
- ],
1579
- "type": "dashboard-layout"
1579
+ ]
1580
1580
  }
1581
1581
  ]
1582
1582
  ]
@@ -1620,80 +1620,80 @@
1620
1620
  "render-ui",
1621
1621
  "main",
1622
1622
  {
1623
+ "type": "dashboard-layout",
1624
+ "appName": "Code Reviewer",
1625
+ "navItems": [
1626
+ {
1627
+ "href": "/review",
1628
+ "label": "Review",
1629
+ "icon": "file-search"
1630
+ },
1631
+ {
1632
+ "label": "Analysis",
1633
+ "href": "/analysis",
1634
+ "icon": "tag"
1635
+ },
1636
+ {
1637
+ "icon": "alert-triangle",
1638
+ "label": "Issues",
1639
+ "href": "/issues"
1640
+ }
1641
+ ],
1623
1642
  "children": [
1624
1643
  {
1625
- "gap": "lg",
1626
- "direction": "vertical",
1627
- "type": "stack",
1628
1644
  "children": [
1629
1645
  {
1630
1646
  "align": "center",
1647
+ "gap": "sm",
1648
+ "direction": "horizontal",
1631
1649
  "type": "stack",
1632
1650
  "children": [
1633
1651
  {
1634
- "name": "brain",
1635
- "type": "icon"
1652
+ "type": "icon",
1653
+ "name": "brain"
1636
1654
  },
1637
1655
  {
1638
- "type": "typography",
1639
1656
  "content": "RAG Pipeline",
1640
- "variant": "h2"
1657
+ "variant": "h2",
1658
+ "type": "typography"
1641
1659
  }
1642
- ],
1643
- "gap": "sm",
1644
- "direction": "horizontal"
1660
+ ]
1645
1661
  },
1646
1662
  {
1647
1663
  "type": "divider"
1648
1664
  },
1649
1665
  {
1650
- "type": "card",
1651
1666
  "children": [
1652
1667
  {
1653
- "gap": "md",
1668
+ "type": "stack",
1654
1669
  "children": [
1655
1670
  {
1656
- "variant": "body",
1657
1671
  "type": "typography",
1672
+ "variant": "body",
1658
1673
  "content": "Enter a query to retrieve context and generate a response"
1659
1674
  },
1660
1675
  {
1676
+ "entity": "@entity",
1661
1677
  "submitEvent": "GENERATE",
1678
+ "mode": "edit",
1662
1679
  "fields": [
1663
1680
  "query"
1664
1681
  ],
1665
- "entity": "@entity",
1666
- "mode": "edit",
1667
1682
  "type": "form-section"
1668
1683
  }
1669
1684
  ],
1670
- "direction": "vertical",
1671
- "type": "stack"
1685
+ "gap": "md",
1686
+ "direction": "vertical"
1672
1687
  }
1673
- ]
1688
+ ],
1689
+ "type": "card"
1674
1690
  }
1675
- ]
1676
- }
1677
- ],
1678
- "appName": "Code Reviewer",
1679
- "navItems": [
1680
- {
1681
- "icon": "file-search",
1682
- "href": "/review",
1683
- "label": "Review"
1684
- },
1685
- {
1686
- "icon": "tag",
1687
- "label": "Analysis",
1688
- "href": "/analysis"
1689
- },
1690
- {
1691
- "href": "/issues",
1692
- "icon": "alert-triangle",
1693
- "label": "Issues"
1691
+ ],
1692
+ "gap": "lg",
1693
+ "direction": "vertical",
1694
+ "type": "stack"
1694
1695
  }
1695
- ],
1696
- "type": "dashboard-layout"
1696
+ ]
1697
1697
  }
1698
1698
  ]
1699
1699
  ]
@@ -1801,22 +1801,22 @@
1801
1801
  "render-ui",
1802
1802
  "main",
1803
1803
  {
1804
- "className": "py-12",
1804
+ "gap": "md",
1805
1805
  "children": [
1806
1806
  {
1807
1807
  "type": "spinner"
1808
1808
  },
1809
1809
  {
1810
1810
  "variant": "caption",
1811
- "type": "typography",
1812
1811
  "color": "muted",
1812
+ "type": "typography",
1813
1813
  "content": "Loading RAG pipeline…"
1814
1814
  }
1815
1815
  ],
1816
- "type": "stack",
1817
1816
  "align": "center",
1818
1817
  "direction": "vertical",
1819
- "gap": "md"
1818
+ "className": "py-12",
1819
+ "type": "stack"
1820
1820
  }
1821
1821
  ]
1822
1822
  ]
@@ -1831,32 +1831,18 @@
1831
1831
  "main",
1832
1832
  {
1833
1833
  "type": "dashboard-layout",
1834
- "navItems": [
1835
- {
1836
- "label": "Review",
1837
- "href": "/review",
1838
- "icon": "file-search"
1839
- },
1840
- {
1841
- "label": "Analysis",
1842
- "href": "/analysis",
1843
- "icon": "tag"
1844
- },
1845
- {
1846
- "href": "/issues",
1847
- "label": "Issues",
1848
- "icon": "alert-triangle"
1849
- }
1850
- ],
1834
+ "appName": "Code Reviewer",
1851
1835
  "children": [
1852
1836
  {
1853
1837
  "gap": "lg",
1838
+ "direction": "vertical",
1839
+ "type": "stack",
1854
1840
  "children": [
1855
1841
  {
1856
- "align": "center",
1842
+ "gap": "sm",
1857
1843
  "type": "stack",
1858
1844
  "direction": "horizontal",
1859
- "gap": "sm",
1845
+ "align": "center",
1860
1846
  "children": [
1861
1847
  {
1862
1848
  "name": "brain",
@@ -1873,6 +1859,7 @@
1873
1859
  "type": "divider"
1874
1860
  },
1875
1861
  {
1862
+ "defaultActiveTab": "query",
1876
1863
  "type": "tabs",
1877
1864
  "tabs": [
1878
1865
  {
@@ -1888,8 +1875,7 @@
1888
1875
  "label": "Response"
1889
1876
  }
1890
1877
  ],
1891
- "onTabChange": "SELECT_TAB",
1892
- "defaultActiveTab": "query"
1878
+ "onTabChange": "SELECT_TAB"
1893
1879
  },
1894
1880
  {
1895
1881
  "type": "divider"
@@ -1901,33 +1887,47 @@
1901
1887
  {
1902
1888
  "children": [
1903
1889
  {
1904
- "type": "typography",
1905
1890
  "variant": "h4",
1906
- "content": "@item.query"
1891
+ "content": "@item.query",
1892
+ "type": "typography"
1907
1893
  },
1908
1894
  {
1909
- "color": "muted",
1910
- "content": "@item.query",
1911
1895
  "type": "typography",
1912
- "variant": "caption"
1896
+ "color": "muted",
1897
+ "variant": "caption",
1898
+ "content": "@item.query"
1913
1899
  }
1914
1900
  ],
1915
- "direction": "vertical",
1916
1901
  "type": "stack",
1902
+ "direction": "vertical",
1917
1903
  "gap": "sm"
1918
1904
  }
1919
1905
  ],
1920
- "type": "data-grid",
1921
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1906
+ "fields": [],
1922
1907
  "entity": "@payload.data",
1923
- "fields": []
1908
+ "type": "data-grid",
1909
+ "className": "transition-shadow hover:shadow-md cursor-pointer"
1924
1910
  }
1925
- ],
1926
- "type": "stack",
1927
- "direction": "vertical"
1911
+ ]
1928
1912
  }
1929
1913
  ],
1930
- "appName": "Code Reviewer"
1914
+ "navItems": [
1915
+ {
1916
+ "label": "Review",
1917
+ "href": "/review",
1918
+ "icon": "file-search"
1919
+ },
1920
+ {
1921
+ "href": "/analysis",
1922
+ "icon": "tag",
1923
+ "label": "Analysis"
1924
+ },
1925
+ {
1926
+ "href": "/issues",
1927
+ "icon": "alert-triangle",
1928
+ "label": "Issues"
1929
+ }
1930
+ ]
1931
1931
  }
1932
1932
  ]
1933
1933
  ]
@@ -1941,36 +1941,36 @@
1941
1941
  "render-ui",
1942
1942
  "main",
1943
1943
  {
1944
- "direction": "vertical",
1945
1944
  "className": "py-12",
1946
- "gap": "md",
1945
+ "direction": "vertical",
1946
+ "align": "center",
1947
+ "type": "stack",
1947
1948
  "children": [
1948
1949
  {
1949
1950
  "name": "alert-triangle",
1950
- "color": "destructive",
1951
- "type": "icon"
1951
+ "type": "icon",
1952
+ "color": "destructive"
1952
1953
  },
1953
1954
  {
1954
1955
  "content": "Failed to load RAG pipeline",
1955
- "variant": "h3",
1956
- "type": "typography"
1956
+ "type": "typography",
1957
+ "variant": "h3"
1957
1958
  },
1958
1959
  {
1959
- "variant": "body",
1960
- "type": "typography",
1961
1960
  "color": "muted",
1962
- "content": "@payload.error"
1961
+ "content": "@payload.error",
1962
+ "type": "typography",
1963
+ "variant": "body"
1963
1964
  },
1964
1965
  {
1965
- "variant": "primary",
1966
- "icon": "rotate-ccw",
1967
1966
  "label": "Retry",
1967
+ "action": "INIT",
1968
+ "variant": "primary",
1968
1969
  "type": "button",
1969
- "action": "INIT"
1970
+ "icon": "rotate-ccw"
1970
1971
  }
1971
1972
  ],
1972
- "type": "stack",
1973
- "align": "center"
1973
+ "gap": "md"
1974
1974
  }
1975
1975
  ]
1976
1976
  ]
@@ -1985,8 +1985,8 @@
1985
1985
  "ReviewRag",
1986
1986
  {
1987
1987
  "emit": {
1988
- "success": "ReviewRagLoaded",
1989
- "failure": "ReviewRagLoadFailed"
1988
+ "failure": "ReviewRagLoadFailed",
1989
+ "success": "ReviewRagLoaded"
1990
1990
  }
1991
1991
  }
1992
1992
  ],
@@ -2092,22 +2092,22 @@
2092
2092
  "render-ui",
2093
2093
  "main",
2094
2094
  {
2095
+ "gap": "md",
2095
2096
  "className": "py-12",
2096
- "direction": "vertical",
2097
- "align": "center",
2098
2097
  "children": [
2099
2098
  {
2100
2099
  "type": "spinner"
2101
2100
  },
2102
2101
  {
2103
- "content": "Loading…",
2104
- "variant": "caption",
2102
+ "type": "typography",
2105
2103
  "color": "muted",
2106
- "type": "typography"
2104
+ "content": "Loading…",
2105
+ "variant": "caption"
2107
2106
  }
2108
2107
  ],
2109
- "type": "stack",
2110
- "gap": "md"
2108
+ "direction": "vertical",
2109
+ "align": "center",
2110
+ "type": "stack"
2111
2111
  }
2112
2112
  ]
2113
2113
  ]
@@ -2121,146 +2121,146 @@
2121
2121
  "render-ui",
2122
2122
  "main",
2123
2123
  {
2124
- "navItems": [
2125
- {
2126
- "icon": "file-search",
2127
- "label": "Review",
2128
- "href": "/review"
2129
- },
2130
- {
2131
- "icon": "tag",
2132
- "href": "/analysis",
2133
- "label": "Analysis"
2134
- },
2135
- {
2136
- "icon": "alert-triangle",
2137
- "label": "Issues",
2138
- "href": "/issues"
2139
- }
2140
- ],
2141
2124
  "children": [
2142
2125
  {
2143
- "gap": "lg",
2144
- "direction": "vertical",
2145
- "className": "max-w-5xl mx-auto w-full",
2146
2126
  "children": [
2147
2127
  {
2148
- "type": "stack",
2149
2128
  "align": "center",
2129
+ "justify": "between",
2150
2130
  "direction": "horizontal",
2131
+ "gap": "md",
2151
2132
  "children": [
2152
2133
  {
2153
2134
  "type": "stack",
2154
2135
  "gap": "sm",
2155
- "direction": "horizontal",
2156
- "align": "center",
2157
2136
  "children": [
2158
2137
  {
2159
- "type": "icon",
2160
- "name": "brain"
2138
+ "name": "brain",
2139
+ "type": "icon"
2161
2140
  },
2162
2141
  {
2163
2142
  "variant": "h2",
2164
- "content": "ReviewRag Manager",
2165
- "type": "typography"
2143
+ "type": "typography",
2144
+ "content": "ReviewRag Manager"
2166
2145
  }
2167
- ]
2146
+ ],
2147
+ "align": "center",
2148
+ "direction": "horizontal"
2168
2149
  },
2169
2150
  {
2170
- "gap": "sm",
2171
2151
  "direction": "horizontal",
2172
2152
  "type": "stack",
2173
2153
  "children": [
2174
2154
  {
2175
- "action": "MEMORIZE",
2176
- "type": "button",
2177
- "variant": "primary",
2178
2155
  "icon": "plus",
2179
- "label": "Memorize"
2156
+ "label": "Memorize",
2157
+ "variant": "primary",
2158
+ "action": "MEMORIZE",
2159
+ "type": "button"
2180
2160
  },
2181
2161
  {
2182
2162
  "label": "Recall",
2183
- "variant": "secondary",
2184
2163
  "action": "RECALL",
2164
+ "type": "button",
2185
2165
  "icon": "search",
2186
- "type": "button"
2166
+ "variant": "secondary"
2187
2167
  },
2188
2168
  {
2189
2169
  "variant": "ghost",
2190
- "icon": "clock",
2191
2170
  "action": "DECAY",
2192
2171
  "type": "button",
2193
- "label": "Decay All"
2172
+ "label": "Decay All",
2173
+ "icon": "clock"
2194
2174
  }
2195
- ]
2175
+ ],
2176
+ "gap": "sm"
2196
2177
  }
2197
2178
  ],
2198
- "justify": "between",
2199
- "gap": "md"
2179
+ "type": "stack"
2200
2180
  },
2201
2181
  {
2202
2182
  "type": "divider"
2203
2183
  },
2204
2184
  {
2205
- "columns": [
2185
+ "fields": [],
2186
+ "itemActions": [
2206
2187
  {
2207
- "name": "content",
2208
- "variant": "h4",
2209
- "label": "Content",
2210
- "icon": "brain"
2188
+ "event": "PIN",
2189
+ "variant": "ghost",
2190
+ "label": "Pin"
2211
2191
  },
2212
2192
  {
2213
- "variant": "badge",
2214
- "label": "Category",
2215
- "colorMap": {
2216
- "active": "success",
2217
- "completed": "success",
2218
- "done": "success",
2219
- "pending": "warning",
2220
- "scheduled": "warning",
2221
- "error": "destructive",
2222
- "failed": "destructive",
2223
- "disabled": "neutral",
2224
- "archived": "neutral",
2225
- "draft": "warning",
2226
- "cancelled": "destructive",
2227
- "inactive": "neutral"
2228
- },
2229
- "name": "category"
2193
+ "event": "REINFORCE",
2194
+ "variant": "ghost",
2195
+ "label": "Reinforce"
2230
2196
  },
2231
2197
  {
2232
- "name": "strength",
2233
- "variant": "caption",
2234
- "label": "Strength"
2198
+ "variant": "danger",
2199
+ "label": "Forget",
2200
+ "event": "FORGET"
2235
2201
  }
2236
2202
  ],
2237
- "type": "data-grid",
2238
2203
  "entity": "@payload.data",
2239
- "fields": [],
2240
- "itemActions": [
2204
+ "columns": [
2241
2205
  {
2242
- "event": "PIN",
2243
- "label": "Pin",
2244
- "variant": "ghost"
2206
+ "label": "Content",
2207
+ "name": "content",
2208
+ "icon": "brain",
2209
+ "variant": "h4"
2245
2210
  },
2246
2211
  {
2247
- "variant": "ghost",
2248
- "label": "Reinforce",
2249
- "event": "REINFORCE"
2212
+ "name": "category",
2213
+ "colorMap": {
2214
+ "failed": "destructive",
2215
+ "pending": "warning",
2216
+ "completed": "success",
2217
+ "archived": "neutral",
2218
+ "scheduled": "warning",
2219
+ "done": "success",
2220
+ "draft": "warning",
2221
+ "active": "success",
2222
+ "inactive": "neutral",
2223
+ "disabled": "neutral",
2224
+ "error": "destructive",
2225
+ "cancelled": "destructive"
2226
+ },
2227
+ "label": "Category",
2228
+ "variant": "badge"
2250
2229
  },
2251
2230
  {
2252
- "label": "Forget",
2253
- "event": "FORGET",
2254
- "variant": "danger"
2231
+ "label": "Strength",
2232
+ "variant": "caption",
2233
+ "name": "strength"
2255
2234
  }
2256
- ]
2235
+ ],
2236
+ "type": "data-grid"
2257
2237
  }
2258
2238
  ],
2259
- "type": "stack"
2239
+ "direction": "vertical",
2240
+ "type": "stack",
2241
+ "gap": "lg",
2242
+ "className": "max-w-5xl mx-auto w-full"
2260
2243
  }
2261
2244
  ],
2262
2245
  "appName": "Code Reviewer",
2263
- "type": "dashboard-layout"
2246
+ "type": "dashboard-layout",
2247
+ "navItems": [
2248
+ {
2249
+ "label": "Review",
2250
+ "icon": "file-search",
2251
+ "href": "/review"
2252
+ },
2253
+ {
2254
+ "icon": "tag",
2255
+ "label": "Analysis",
2256
+ "href": "/analysis"
2257
+ },
2258
+ {
2259
+ "label": "Issues",
2260
+ "icon": "alert-triangle",
2261
+ "href": "/issues"
2262
+ }
2263
+ ]
2264
2264
  }
2265
2265
  ]
2266
2266
  ]
@@ -2274,9 +2274,6 @@
2274
2274
  "render-ui",
2275
2275
  "main",
2276
2276
  {
2277
- "type": "stack",
2278
- "className": "py-12",
2279
- "direction": "vertical",
2280
2277
  "children": [
2281
2278
  {
2282
2279
  "name": "alert-triangle",
@@ -2289,21 +2286,24 @@
2289
2286
  "content": "Failed to load reviewrag"
2290
2287
  },
2291
2288
  {
2292
- "type": "typography",
2293
2289
  "variant": "body",
2294
2290
  "content": "@payload.error",
2291
+ "type": "typography",
2295
2292
  "color": "muted"
2296
2293
  },
2297
2294
  {
2298
- "variant": "primary",
2299
- "label": "Retry",
2300
- "action": "INIT",
2301
2295
  "type": "button",
2302
- "icon": "rotate-ccw"
2296
+ "label": "Retry",
2297
+ "icon": "rotate-ccw",
2298
+ "variant": "primary",
2299
+ "action": "INIT"
2303
2300
  }
2304
2301
  ],
2305
- "gap": "md",
2306
- "align": "center"
2302
+ "type": "stack",
2303
+ "direction": "vertical",
2304
+ "align": "center",
2305
+ "className": "py-12",
2306
+ "gap": "md"
2307
2307
  }
2308
2308
  ]
2309
2309
  ]
@@ -2401,22 +2401,22 @@
2401
2401
  "render-ui",
2402
2402
  "main",
2403
2403
  {
2404
- "gap": "md",
2404
+ "align": "center",
2405
2405
  "className": "py-12",
2406
2406
  "children": [
2407
2407
  {
2408
2408
  "type": "spinner"
2409
2409
  },
2410
2410
  {
2411
- "content": "Loading…",
2411
+ "variant": "caption",
2412
2412
  "type": "typography",
2413
- "color": "muted",
2414
- "variant": "caption"
2413
+ "content": "Loading…",
2414
+ "color": "muted"
2415
2415
  }
2416
2416
  ],
2417
- "type": "stack",
2418
- "align": "center",
2419
- "direction": "vertical"
2417
+ "gap": "md",
2418
+ "direction": "vertical",
2419
+ "type": "stack"
2420
2420
  }
2421
2421
  ]
2422
2422
  ]
@@ -2430,129 +2430,129 @@
2430
2430
  "render-ui",
2431
2431
  "main",
2432
2432
  {
2433
- "appName": "Code Reviewer",
2434
- "type": "dashboard-layout",
2435
- "navItems": [
2436
- {
2437
- "href": "/review",
2438
- "label": "Review",
2439
- "icon": "file-search"
2440
- },
2441
- {
2442
- "href": "/analysis",
2443
- "label": "Analysis",
2444
- "icon": "tag"
2445
- },
2446
- {
2447
- "label": "Issues",
2448
- "href": "/issues",
2449
- "icon": "alert-triangle"
2450
- }
2451
- ],
2452
2433
  "children": [
2453
2434
  {
2454
- "type": "stack",
2455
2435
  "gap": "lg",
2436
+ "type": "stack",
2456
2437
  "children": [
2457
2438
  {
2458
- "gap": "md",
2459
- "align": "center",
2439
+ "justify": "between",
2460
2440
  "children": [
2461
2441
  {
2462
- "gap": "sm",
2463
- "align": "center",
2464
2442
  "children": [
2465
2443
  {
2466
2444
  "name": "search",
2467
2445
  "type": "icon"
2468
2446
  },
2469
2447
  {
2448
+ "type": "typography",
2470
2449
  "content": "ReviewRag",
2471
- "variant": "h2",
2472
- "type": "typography"
2450
+ "variant": "h2"
2473
2451
  }
2474
2452
  ],
2453
+ "direction": "horizontal",
2454
+ "gap": "sm",
2475
2455
  "type": "stack",
2476
- "direction": "horizontal"
2456
+ "align": "center"
2477
2457
  },
2478
2458
  {
2479
- "type": "stack",
2480
- "direction": "horizontal",
2481
- "gap": "sm",
2482
2459
  "children": [
2483
2460
  {
2484
- "label": "Search",
2485
2461
  "action": "SEARCH",
2486
- "variant": "primary",
2462
+ "icon": "search",
2487
2463
  "type": "button",
2488
- "icon": "search"
2464
+ "variant": "primary",
2465
+ "label": "Search"
2489
2466
  },
2490
2467
  {
2491
2468
  "label": "Clear",
2492
- "action": "CLEAR",
2493
2469
  "variant": "ghost",
2494
2470
  "icon": "x",
2495
- "type": "button"
2471
+ "type": "button",
2472
+ "action": "CLEAR"
2496
2473
  }
2497
- ]
2474
+ ],
2475
+ "direction": "horizontal",
2476
+ "type": "stack",
2477
+ "gap": "sm"
2498
2478
  }
2499
2479
  ],
2480
+ "gap": "md",
2500
2481
  "direction": "horizontal",
2501
- "type": "stack",
2502
- "justify": "between"
2482
+ "align": "center",
2483
+ "type": "stack"
2503
2484
  },
2504
2485
  {
2505
2486
  "type": "divider"
2506
2487
  },
2507
2488
  {
2489
+ "entity": "@payload.data",
2490
+ "fields": [],
2491
+ "type": "data-grid",
2492
+ "itemActions": [
2493
+ {
2494
+ "event": "VIEW",
2495
+ "variant": "ghost",
2496
+ "label": "View"
2497
+ }
2498
+ ],
2508
2499
  "columns": [
2509
2500
  {
2501
+ "icon": "search",
2510
2502
  "label": "Query",
2511
2503
  "variant": "h4",
2512
- "name": "query",
2513
- "icon": "search"
2504
+ "name": "query"
2514
2505
  },
2515
2506
  {
2516
- "name": "language",
2517
2507
  "label": "Language",
2518
- "variant": "badge",
2519
2508
  "colorMap": {
2520
2509
  "scheduled": "warning",
2521
- "disabled": "neutral",
2522
- "failed": "destructive",
2523
- "cancelled": "destructive",
2524
- "draft": "warning",
2525
- "active": "success",
2526
2510
  "error": "destructive",
2527
- "archived": "neutral",
2511
+ "cancelled": "destructive",
2528
2512
  "completed": "success",
2529
- "inactive": "neutral",
2513
+ "active": "success",
2514
+ "failed": "destructive",
2530
2515
  "pending": "warning",
2531
- "done": "success"
2532
- }
2516
+ "disabled": "neutral",
2517
+ "done": "success",
2518
+ "inactive": "neutral",
2519
+ "archived": "neutral",
2520
+ "draft": "warning"
2521
+ },
2522
+ "variant": "badge",
2523
+ "name": "language"
2533
2524
  },
2534
2525
  {
2535
- "name": "resultCount",
2536
2526
  "variant": "caption",
2527
+ "name": "resultCount",
2537
2528
  "label": "Result Count"
2538
2529
  }
2539
- ],
2540
- "type": "data-grid",
2541
- "itemActions": [
2542
- {
2543
- "variant": "ghost",
2544
- "event": "VIEW",
2545
- "label": "View"
2546
- }
2547
- ],
2548
- "entity": "@payload.data",
2549
- "fields": []
2530
+ ]
2550
2531
  }
2551
2532
  ],
2552
2533
  "direction": "vertical",
2553
2534
  "className": "max-w-5xl mx-auto w-full"
2554
2535
  }
2555
- ]
2536
+ ],
2537
+ "navItems": [
2538
+ {
2539
+ "label": "Review",
2540
+ "href": "/review",
2541
+ "icon": "file-search"
2542
+ },
2543
+ {
2544
+ "label": "Analysis",
2545
+ "icon": "tag",
2546
+ "href": "/analysis"
2547
+ },
2548
+ {
2549
+ "href": "/issues",
2550
+ "label": "Issues",
2551
+ "icon": "alert-triangle"
2552
+ }
2553
+ ],
2554
+ "type": "dashboard-layout",
2555
+ "appName": "Code Reviewer"
2556
2556
  }
2557
2557
  ]
2558
2558
  ]
@@ -2566,34 +2566,34 @@
2566
2566
  "render-ui",
2567
2567
  "main",
2568
2568
  {
2569
+ "className": "py-12",
2569
2570
  "align": "center",
2570
- "gap": "md",
2571
- "direction": "vertical",
2572
2571
  "type": "stack",
2573
- "className": "py-12",
2572
+ "direction": "vertical",
2573
+ "gap": "md",
2574
2574
  "children": [
2575
2575
  {
2576
- "color": "destructive",
2577
2576
  "type": "icon",
2577
+ "color": "destructive",
2578
2578
  "name": "alert-triangle"
2579
2579
  },
2580
2580
  {
2581
- "type": "typography",
2582
2581
  "variant": "h3",
2583
- "content": "Failed to load reviewrag"
2582
+ "content": "Failed to load reviewrag",
2583
+ "type": "typography"
2584
2584
  },
2585
2585
  {
2586
- "color": "muted",
2587
- "type": "typography",
2588
2586
  "content": "@payload.error",
2589
- "variant": "body"
2587
+ "type": "typography",
2588
+ "variant": "body",
2589
+ "color": "muted"
2590
2590
  },
2591
2591
  {
2592
- "variant": "primary",
2592
+ "type": "button",
2593
2593
  "action": "INIT",
2594
2594
  "label": "Retry",
2595
- "type": "button",
2596
- "icon": "rotate-ccw"
2595
+ "icon": "rotate-ccw",
2596
+ "variant": "primary"
2597
2597
  }
2598
2598
  ]
2599
2599
  }
@@ -2770,72 +2770,72 @@
2770
2770
  {
2771
2771
  "navItems": [
2772
2772
  {
2773
- "icon": "file-search",
2774
2773
  "label": "Review",
2775
- "href": "/review"
2774
+ "href": "/review",
2775
+ "icon": "file-search"
2776
2776
  },
2777
2777
  {
2778
- "icon": "tag",
2779
2778
  "label": "Analysis",
2780
- "href": "/analysis"
2779
+ "href": "/analysis",
2780
+ "icon": "tag"
2781
2781
  },
2782
2782
  {
2783
2783
  "href": "/issues",
2784
- "label": "Issues",
2785
- "icon": "alert-triangle"
2784
+ "icon": "alert-triangle",
2785
+ "label": "Issues"
2786
2786
  }
2787
2787
  ],
2788
- "type": "dashboard-layout",
2789
- "appName": "Code Reviewer",
2790
2788
  "children": [
2791
2789
  {
2790
+ "gap": "lg",
2791
+ "type": "stack",
2792
+ "direction": "vertical",
2792
2793
  "children": [
2793
2794
  {
2794
- "gap": "md",
2795
- "type": "stack",
2796
- "justify": "between",
2797
2795
  "direction": "horizontal",
2796
+ "justify": "between",
2797
+ "gap": "md",
2798
2798
  "children": [
2799
2799
  {
2800
+ "type": "stack",
2801
+ "gap": "md",
2800
2802
  "children": [
2801
2803
  {
2802
2804
  "type": "icon",
2803
2805
  "name": "sparkles"
2804
2806
  },
2805
2807
  {
2806
- "variant": "h2",
2807
2808
  "content": "ReviewRag",
2809
+ "variant": "h2",
2808
2810
  "type": "typography"
2809
2811
  }
2810
2812
  ],
2811
- "direction": "horizontal",
2812
- "gap": "md",
2813
- "type": "stack"
2813
+ "direction": "horizontal"
2814
2814
  },
2815
2815
  {
2816
- "variant": "primary",
2817
- "action": "GENERATE",
2818
2816
  "label": "Open",
2819
2817
  "icon": "sparkles",
2820
- "type": "button"
2818
+ "variant": "primary",
2819
+ "type": "button",
2820
+ "action": "GENERATE"
2821
2821
  }
2822
- ]
2822
+ ],
2823
+ "type": "stack"
2823
2824
  },
2824
2825
  {
2825
2826
  "type": "divider"
2826
2827
  },
2827
2828
  {
2828
- "title": "Nothing open",
2829
2829
  "type": "empty-state",
2830
+ "title": "Nothing open",
2830
2831
  "icon": "sparkles",
2831
2832
  "description": "Click Open to view details in a modal overlay."
2832
2833
  }
2833
- ],
2834
- "type": "stack",
2835
- "direction": "vertical",
2836
- "gap": "lg"
2834
+ ]
2837
2835
  }
2838
- ]
2836
+ ],
2837
+ "appName": "Code Reviewer",
2838
+ "type": "dashboard-layout"
2839
2839
  }
2840
2840
  ]
2841
2841
  ]
@@ -2852,51 +2852,51 @@
2852
2852
  "gap": "md",
2853
2853
  "children": [
2854
2854
  {
2855
+ "gap": "sm",
2856
+ "type": "stack",
2857
+ "direction": "horizontal",
2855
2858
  "children": [
2856
2859
  {
2857
- "name": "sparkles",
2858
- "type": "icon"
2860
+ "type": "icon",
2861
+ "name": "sparkles"
2859
2862
  },
2860
2863
  {
2861
2864
  "type": "typography",
2862
2865
  "content": "ReviewRag",
2863
2866
  "variant": "h3"
2864
2867
  }
2865
- ],
2866
- "direction": "horizontal",
2867
- "type": "stack",
2868
- "gap": "sm"
2868
+ ]
2869
2869
  },
2870
2870
  {
2871
2871
  "type": "divider"
2872
2872
  },
2873
2873
  {
2874
+ "direction": "horizontal",
2875
+ "gap": "sm",
2874
2876
  "children": [
2875
2877
  {
2876
- "type": "badge",
2877
- "label": "@entity.provider"
2878
+ "label": "@entity.provider",
2879
+ "type": "badge"
2878
2880
  },
2879
2881
  {
2880
- "label": "@entity.model",
2881
- "type": "badge"
2882
+ "type": "badge",
2883
+ "label": "@entity.model"
2882
2884
  }
2883
2885
  ],
2884
- "direction": "horizontal",
2885
- "type": "stack",
2886
- "gap": "sm"
2886
+ "type": "stack"
2887
2887
  },
2888
2888
  {
2889
- "cancelEvent": "CLOSE",
2890
2889
  "fields": [
2891
2890
  "prompt"
2892
2891
  ],
2892
+ "type": "form-section",
2893
2893
  "mode": "create",
2894
2894
  "submitEvent": "SAVE",
2895
- "type": "form-section"
2895
+ "cancelEvent": "CLOSE"
2896
2896
  }
2897
2897
  ],
2898
- "direction": "vertical",
2899
- "type": "stack"
2898
+ "type": "stack",
2899
+ "direction": "vertical"
2900
2900
  }
2901
2901
  ]
2902
2902
  ]
@@ -2924,72 +2924,72 @@
2924
2924
  "render-ui",
2925
2925
  "main",
2926
2926
  {
2927
- "type": "dashboard-layout",
2928
- "appName": "Code Reviewer",
2929
- "navItems": [
2930
- {
2931
- "label": "Review",
2932
- "href": "/review",
2933
- "icon": "file-search"
2934
- },
2935
- {
2936
- "label": "Analysis",
2937
- "href": "/analysis",
2938
- "icon": "tag"
2939
- },
2940
- {
2941
- "label": "Issues",
2942
- "href": "/issues",
2943
- "icon": "alert-triangle"
2944
- }
2945
- ],
2946
2927
  "children": [
2947
2928
  {
2948
- "type": "stack",
2949
- "direction": "vertical",
2950
- "gap": "lg",
2951
2929
  "children": [
2952
2930
  {
2953
2931
  "justify": "between",
2954
2932
  "direction": "horizontal",
2955
- "type": "stack",
2956
- "gap": "md",
2957
2933
  "children": [
2958
2934
  {
2959
- "direction": "horizontal",
2960
- "type": "stack",
2961
- "gap": "md",
2962
2935
  "children": [
2963
2936
  {
2964
- "type": "icon",
2965
- "name": "sparkles"
2937
+ "name": "sparkles",
2938
+ "type": "icon"
2966
2939
  },
2967
2940
  {
2941
+ "type": "typography",
2968
2942
  "content": "ReviewRag",
2969
- "variant": "h2",
2970
- "type": "typography"
2943
+ "variant": "h2"
2971
2944
  }
2972
- ]
2945
+ ],
2946
+ "type": "stack",
2947
+ "direction": "horizontal",
2948
+ "gap": "md"
2973
2949
  },
2974
2950
  {
2975
2951
  "variant": "primary",
2976
- "type": "button",
2977
- "label": "Open",
2978
2952
  "action": "GENERATE",
2979
- "icon": "sparkles"
2953
+ "icon": "sparkles",
2954
+ "type": "button",
2955
+ "label": "Open"
2980
2956
  }
2981
- ]
2957
+ ],
2958
+ "type": "stack",
2959
+ "gap": "md"
2982
2960
  },
2983
2961
  {
2984
2962
  "type": "divider"
2985
2963
  },
2986
2964
  {
2987
- "description": "Click Open to view details in a modal overlay.",
2988
- "type": "empty-state",
2989
2965
  "title": "Nothing open",
2966
+ "type": "empty-state",
2967
+ "description": "Click Open to view details in a modal overlay.",
2990
2968
  "icon": "sparkles"
2991
2969
  }
2992
- ]
2970
+ ],
2971
+ "type": "stack",
2972
+ "direction": "vertical",
2973
+ "gap": "lg"
2974
+ }
2975
+ ],
2976
+ "type": "dashboard-layout",
2977
+ "appName": "Code Reviewer",
2978
+ "navItems": [
2979
+ {
2980
+ "label": "Review",
2981
+ "href": "/review",
2982
+ "icon": "file-search"
2983
+ },
2984
+ {
2985
+ "icon": "tag",
2986
+ "label": "Analysis",
2987
+ "href": "/analysis"
2988
+ },
2989
+ {
2990
+ "href": "/issues",
2991
+ "label": "Issues",
2992
+ "icon": "alert-triangle"
2993
2993
  }
2994
2994
  ]
2995
2995
  }
@@ -3030,74 +3030,74 @@
3030
3030
  "render-ui",
3031
3031
  "main",
3032
3032
  {
3033
- "type": "dashboard-layout",
3034
3033
  "navItems": [
3035
3034
  {
3036
- "label": "Review",
3037
3035
  "href": "/review",
3038
- "icon": "file-search"
3036
+ "icon": "file-search",
3037
+ "label": "Review"
3039
3038
  },
3040
3039
  {
3041
3040
  "label": "Analysis",
3042
- "icon": "tag",
3043
- "href": "/analysis"
3041
+ "href": "/analysis",
3042
+ "icon": "tag"
3044
3043
  },
3045
3044
  {
3046
3045
  "icon": "alert-triangle",
3047
- "label": "Issues",
3048
- "href": "/issues"
3046
+ "href": "/issues",
3047
+ "label": "Issues"
3049
3048
  }
3050
3049
  ],
3051
- "appName": "Code Reviewer",
3052
3050
  "children": [
3053
3051
  {
3052
+ "type": "stack",
3054
3053
  "direction": "vertical",
3055
3054
  "children": [
3056
3055
  {
3057
- "type": "stack",
3058
- "direction": "horizontal",
3059
3056
  "children": [
3060
3057
  {
3061
- "type": "stack",
3058
+ "direction": "horizontal",
3062
3059
  "children": [
3063
3060
  {
3064
3061
  "type": "icon",
3065
3062
  "name": "sparkles"
3066
3063
  },
3067
3064
  {
3068
- "variant": "h2",
3065
+ "content": "ReviewRag",
3069
3066
  "type": "typography",
3070
- "content": "ReviewRag"
3067
+ "variant": "h2"
3071
3068
  }
3072
3069
  ],
3073
3070
  "gap": "md",
3074
- "direction": "horizontal"
3071
+ "type": "stack"
3075
3072
  },
3076
3073
  {
3077
- "variant": "primary",
3078
3074
  "type": "button",
3079
3075
  "label": "Open",
3080
3076
  "icon": "sparkles",
3081
- "action": "GENERATE"
3077
+ "action": "GENERATE",
3078
+ "variant": "primary"
3082
3079
  }
3083
3080
  ],
3084
- "gap": "md",
3085
- "justify": "between"
3081
+ "justify": "between",
3082
+ "type": "stack",
3083
+ "direction": "horizontal",
3084
+ "gap": "md"
3086
3085
  },
3087
3086
  {
3088
3087
  "type": "divider"
3089
3088
  },
3090
3089
  {
3091
- "description": "Click Open to view details in a modal overlay.",
3092
3090
  "title": "Nothing open",
3093
- "icon": "sparkles",
3094
- "type": "empty-state"
3091
+ "description": "Click Open to view details in a modal overlay.",
3092
+ "type": "empty-state",
3093
+ "icon": "sparkles"
3095
3094
  }
3096
3095
  ],
3097
- "type": "stack",
3098
3096
  "gap": "lg"
3099
3097
  }
3100
- ]
3098
+ ],
3099
+ "type": "dashboard-layout",
3100
+ "appName": "Code Reviewer"
3101
3101
  }
3102
3102
  ]
3103
3103
  ]
@@ -3334,71 +3334,71 @@
3334
3334
  "render-ui",
3335
3335
  "main",
3336
3336
  {
3337
- "type": "dashboard-layout",
3338
- "appName": "Code Reviewer",
3339
3337
  "navItems": [
3340
3338
  {
3339
+ "href": "/review",
3341
3340
  "label": "Review",
3342
- "icon": "file-search",
3343
- "href": "/review"
3341
+ "icon": "file-search"
3344
3342
  },
3345
3343
  {
3344
+ "label": "Analysis",
3346
3345
  "href": "/analysis",
3347
- "icon": "tag",
3348
- "label": "Analysis"
3346
+ "icon": "tag"
3349
3347
  },
3350
3348
  {
3351
- "icon": "alert-triangle",
3349
+ "href": "/issues",
3352
3350
  "label": "Issues",
3353
- "href": "/issues"
3351
+ "icon": "alert-triangle"
3354
3352
  }
3355
3353
  ],
3354
+ "type": "dashboard-layout",
3355
+ "appName": "Code Reviewer",
3356
3356
  "children": [
3357
3357
  {
3358
3358
  "type": "stack",
3359
- "gap": "lg",
3360
3359
  "children": [
3361
3360
  {
3361
+ "gap": "md",
3362
3362
  "children": [
3363
3363
  {
3364
- "type": "stack",
3365
3364
  "children": [
3366
3365
  {
3367
- "name": "tag",
3368
- "type": "icon"
3366
+ "type": "icon",
3367
+ "name": "tag"
3369
3368
  },
3370
3369
  {
3371
3370
  "type": "typography",
3372
- "content": "Analysis",
3373
- "variant": "h2"
3371
+ "variant": "h2",
3372
+ "content": "Analysis"
3374
3373
  }
3375
3374
  ],
3376
- "direction": "horizontal",
3377
- "gap": "md"
3375
+ "gap": "md",
3376
+ "type": "stack",
3377
+ "direction": "horizontal"
3378
3378
  },
3379
3379
  {
3380
- "variant": "primary",
3381
- "type": "button",
3382
- "action": "CLASSIFY",
3380
+ "icon": "tag",
3383
3381
  "label": "Open",
3384
- "icon": "tag"
3382
+ "type": "button",
3383
+ "variant": "primary",
3384
+ "action": "CLASSIFY"
3385
3385
  }
3386
3386
  ],
3387
+ "direction": "horizontal",
3387
3388
  "type": "stack",
3388
- "gap": "md",
3389
- "justify": "between",
3390
- "direction": "horizontal"
3389
+ "justify": "between"
3391
3390
  },
3392
3391
  {
3393
3392
  "type": "divider"
3394
3393
  },
3395
3394
  {
3396
- "type": "empty-state",
3397
- "description": "Click Open to view details in a modal overlay.",
3398
3395
  "title": "Nothing open",
3399
- "icon": "tag"
3396
+ "icon": "tag",
3397
+ "type": "empty-state",
3398
+ "description": "Click Open to view details in a modal overlay."
3400
3399
  }
3401
3400
  ],
3401
+ "gap": "lg",
3402
3402
  "direction": "vertical"
3403
3403
  }
3404
3404
  ]
@@ -3415,11 +3415,10 @@
3415
3415
  "render-ui",
3416
3416
  "modal",
3417
3417
  {
3418
- "type": "stack",
3419
3418
  "gap": "md",
3420
3419
  "children": [
3421
3420
  {
3422
- "direction": "horizontal",
3421
+ "gap": "sm",
3423
3422
  "children": [
3424
3423
  {
3425
3424
  "type": "icon",
@@ -3427,22 +3426,23 @@
3427
3426
  },
3428
3427
  {
3429
3428
  "type": "typography",
3430
- "content": "Analysis",
3431
- "variant": "h3"
3429
+ "variant": "h3",
3430
+ "content": "Analysis"
3432
3431
  }
3433
3432
  ],
3434
- "gap": "sm",
3433
+ "direction": "horizontal",
3435
3434
  "type": "stack"
3436
3435
  },
3437
3436
  {
3438
3437
  "type": "divider"
3439
3438
  },
3440
3439
  {
3440
+ "gap": "sm",
3441
3441
  "children": [
3442
3442
  {
3443
+ "content": "Categories:",
3443
3444
  "variant": "caption",
3444
- "type": "typography",
3445
- "content": "Categories:"
3445
+ "type": "typography"
3446
3446
  },
3447
3447
  {
3448
3448
  "variant": "secondary",
@@ -3451,18 +3451,18 @@
3451
3451
  },
3452
3452
  {
3453
3453
  "label": "component",
3454
- "variant": "secondary",
3455
- "type": "badge"
3454
+ "type": "badge",
3455
+ "variant": "secondary"
3456
3456
  },
3457
3457
  {
3458
+ "variant": "secondary",
3458
3459
  "type": "badge",
3459
- "label": "trait",
3460
- "variant": "secondary"
3460
+ "label": "trait"
3461
3461
  },
3462
3462
  {
3463
- "label": "page",
3463
+ "type": "badge",
3464
3464
  "variant": "secondary",
3465
- "type": "badge"
3465
+ "label": "page"
3466
3466
  },
3467
3467
  {
3468
3468
  "type": "badge",
@@ -3470,25 +3470,25 @@
3470
3470
  "variant": "secondary"
3471
3471
  },
3472
3472
  {
3473
- "type": "badge",
3473
+ "variant": "secondary",
3474
3474
  "label": "style",
3475
- "variant": "secondary"
3475
+ "type": "badge"
3476
3476
  }
3477
3477
  ],
3478
- "direction": "horizontal",
3479
- "gap": "sm",
3480
- "type": "stack"
3478
+ "type": "stack",
3479
+ "direction": "horizontal"
3481
3480
  },
3482
3481
  {
3483
3482
  "fields": [
3484
3483
  "input"
3485
3484
  ],
3486
- "mode": "create",
3487
3485
  "type": "form-section",
3488
- "cancelEvent": "CLOSE",
3489
- "submitEvent": "SAVE"
3486
+ "submitEvent": "SAVE",
3487
+ "mode": "create",
3488
+ "cancelEvent": "CLOSE"
3490
3489
  }
3491
3490
  ],
3491
+ "type": "stack",
3492
3492
  "direction": "vertical"
3493
3493
  }
3494
3494
  ]
@@ -3517,13 +3517,13 @@
3517
3517
  "render-ui",
3518
3518
  "main",
3519
3519
  {
3520
- "type": "dashboard-layout",
3521
3520
  "appName": "Code Reviewer",
3521
+ "type": "dashboard-layout",
3522
3522
  "navItems": [
3523
3523
  {
3524
3524
  "label": "Review",
3525
- "href": "/review",
3526
- "icon": "file-search"
3525
+ "icon": "file-search",
3526
+ "href": "/review"
3527
3527
  },
3528
3528
  {
3529
3529
  "href": "/analysis",
@@ -3538,51 +3538,51 @@
3538
3538
  ],
3539
3539
  "children": [
3540
3540
  {
3541
- "type": "stack",
3542
- "direction": "vertical",
3543
- "gap": "lg",
3544
3541
  "children": [
3545
3542
  {
3546
3543
  "type": "stack",
3544
+ "gap": "md",
3545
+ "justify": "between",
3547
3546
  "direction": "horizontal",
3548
3547
  "children": [
3549
3548
  {
3549
+ "direction": "horizontal",
3550
+ "gap": "md",
3550
3551
  "children": [
3551
3552
  {
3552
3553
  "name": "tag",
3553
3554
  "type": "icon"
3554
3555
  },
3555
3556
  {
3557
+ "type": "typography",
3556
3558
  "content": "Analysis",
3557
- "variant": "h2",
3558
- "type": "typography"
3559
+ "variant": "h2"
3559
3560
  }
3560
3561
  ],
3561
- "direction": "horizontal",
3562
- "gap": "md",
3563
3562
  "type": "stack"
3564
3563
  },
3565
3564
  {
3565
+ "icon": "tag",
3566
+ "label": "Open",
3566
3567
  "variant": "primary",
3567
3568
  "type": "button",
3568
- "action": "CLASSIFY",
3569
- "label": "Open",
3570
- "icon": "tag"
3569
+ "action": "CLASSIFY"
3571
3570
  }
3572
- ],
3573
- "justify": "between",
3574
- "gap": "md"
3571
+ ]
3575
3572
  },
3576
3573
  {
3577
3574
  "type": "divider"
3578
3575
  },
3579
3576
  {
3580
- "description": "Click Open to view details in a modal overlay.",
3581
3577
  "title": "Nothing open",
3578
+ "description": "Click Open to view details in a modal overlay.",
3582
3579
  "type": "empty-state",
3583
3580
  "icon": "tag"
3584
3581
  }
3585
- ]
3582
+ ],
3583
+ "type": "stack",
3584
+ "gap": "lg",
3585
+ "direction": "vertical"
3586
3586
  }
3587
3587
  ]
3588
3588
  }
@@ -3601,8 +3601,8 @@
3601
3601
  "@payload.data",
3602
3602
  {
3603
3603
  "emit": {
3604
- "failure": "AnalysisSaveFailed",
3605
- "success": "AnalysisSaved"
3604
+ "success": "AnalysisSaved",
3605
+ "failure": "AnalysisSaveFailed"
3606
3606
  }
3607
3607
  }
3608
3608
  ],
@@ -3624,20 +3624,34 @@
3624
3624
  "main",
3625
3625
  {
3626
3626
  "type": "dashboard-layout",
3627
- "appName": "Code Reviewer",
3627
+ "navItems": [
3628
+ {
3629
+ "label": "Review",
3630
+ "href": "/review",
3631
+ "icon": "file-search"
3632
+ },
3633
+ {
3634
+ "icon": "tag",
3635
+ "href": "/analysis",
3636
+ "label": "Analysis"
3637
+ },
3638
+ {
3639
+ "href": "/issues",
3640
+ "icon": "alert-triangle",
3641
+ "label": "Issues"
3642
+ }
3643
+ ],
3628
3644
  "children": [
3629
3645
  {
3630
3646
  "type": "stack",
3631
3647
  "direction": "vertical",
3648
+ "gap": "lg",
3632
3649
  "children": [
3633
3650
  {
3634
- "direction": "horizontal",
3635
3651
  "justify": "between",
3636
- "gap": "md",
3652
+ "type": "stack",
3637
3653
  "children": [
3638
3654
  {
3639
- "type": "stack",
3640
- "direction": "horizontal",
3641
3655
  "children": [
3642
3656
  {
3643
3657
  "type": "icon",
@@ -3649,17 +3663,20 @@
3649
3663
  "variant": "h2"
3650
3664
  }
3651
3665
  ],
3666
+ "direction": "horizontal",
3667
+ "type": "stack",
3652
3668
  "gap": "md"
3653
3669
  },
3654
3670
  {
3655
- "type": "button",
3671
+ "label": "Open",
3656
3672
  "variant": "primary",
3673
+ "icon": "tag",
3657
3674
  "action": "CLASSIFY",
3658
- "label": "Open",
3659
- "icon": "tag"
3675
+ "type": "button"
3660
3676
  }
3661
3677
  ],
3662
- "type": "stack"
3678
+ "gap": "md",
3679
+ "direction": "horizontal"
3663
3680
  },
3664
3681
  {
3665
3682
  "type": "divider"
@@ -3670,27 +3687,10 @@
3670
3687
  "title": "Nothing open",
3671
3688
  "icon": "tag"
3672
3689
  }
3673
- ],
3674
- "gap": "lg"
3690
+ ]
3675
3691
  }
3676
3692
  ],
3677
- "navItems": [
3678
- {
3679
- "href": "/review",
3680
- "icon": "file-search",
3681
- "label": "Review"
3682
- },
3683
- {
3684
- "label": "Analysis",
3685
- "href": "/analysis",
3686
- "icon": "tag"
3687
- },
3688
- {
3689
- "label": "Issues",
3690
- "icon": "alert-triangle",
3691
- "href": "/issues"
3692
- }
3693
- ]
3693
+ "appName": "Code Reviewer"
3694
3694
  }
3695
3695
  ]
3696
3696
  ]
@@ -3800,8 +3800,8 @@
3800
3800
  "Analysis",
3801
3801
  {
3802
3802
  "emit": {
3803
- "failure": "AnalysisLoadFailed",
3804
- "success": "AnalysisLoaded"
3803
+ "success": "AnalysisLoaded",
3804
+ "failure": "AnalysisLoadFailed"
3805
3805
  }
3806
3806
  }
3807
3807
  ]
@@ -3826,44 +3826,41 @@
3826
3826
  "render-ui",
3827
3827
  "main",
3828
3828
  {
3829
- "appName": "Code Reviewer",
3830
3829
  "children": [
3831
3830
  {
3832
- "type": "stack",
3833
- "direction": "vertical",
3834
3831
  "children": [
3835
3832
  {
3836
- "type": "stack",
3833
+ "direction": "horizontal",
3834
+ "justify": "between",
3837
3835
  "children": [
3838
3836
  {
3839
- "direction": "horizontal",
3840
- "gap": "md",
3837
+ "align": "center",
3841
3838
  "children": [
3842
3839
  {
3843
- "type": "icon",
3844
- "name": "tag"
3840
+ "name": "tag",
3841
+ "type": "icon"
3845
3842
  },
3846
3843
  {
3847
- "variant": "h2",
3848
3844
  "type": "typography",
3849
- "content": "Analysis Result"
3845
+ "content": "Analysis Result",
3846
+ "variant": "h2"
3850
3847
  }
3851
3848
  ],
3849
+ "gap": "md",
3852
3850
  "type": "stack",
3853
- "align": "center"
3851
+ "direction": "horizontal"
3854
3852
  },
3855
3853
  {
3856
- "label": "Dismiss",
3857
- "variant": "ghost",
3858
3854
  "icon": "x",
3855
+ "action": "HIDE",
3856
+ "label": "Dismiss",
3859
3857
  "type": "button",
3860
- "action": "HIDE"
3858
+ "variant": "ghost"
3861
3859
  }
3862
3860
  ],
3863
- "direction": "horizontal",
3864
- "justify": "between",
3861
+ "align": "center",
3865
3862
  "gap": "md",
3866
- "align": "center"
3863
+ "type": "stack"
3867
3864
  },
3868
3865
  {
3869
3866
  "type": "divider"
@@ -3877,12 +3874,14 @@
3877
3874
  "type": "toast-slot"
3878
3875
  },
3879
3876
  {
3877
+ "message": "@entity.message",
3880
3878
  "type": "alert",
3881
- "variant": "warning",
3882
- "message": "@entity.message"
3879
+ "variant": "warning"
3883
3880
  }
3884
3881
  ],
3885
- "gap": "lg"
3882
+ "gap": "lg",
3883
+ "type": "stack",
3884
+ "direction": "vertical"
3886
3885
  }
3887
3886
  ],
3888
3887
  "navItems": [
@@ -3892,17 +3891,18 @@
3892
3891
  "href": "/review"
3893
3892
  },
3894
3893
  {
3895
- "href": "/analysis",
3896
3894
  "icon": "tag",
3897
- "label": "Analysis"
3895
+ "label": "Analysis",
3896
+ "href": "/analysis"
3898
3897
  },
3899
3898
  {
3900
- "label": "Issues",
3901
3899
  "icon": "alert-triangle",
3902
- "href": "/issues"
3900
+ "href": "/issues",
3901
+ "label": "Issues"
3903
3902
  }
3904
3903
  ],
3905
- "type": "dashboard-layout"
3904
+ "type": "dashboard-layout",
3905
+ "appName": "Code Reviewer"
3906
3906
  }
3907
3907
  ]
3908
3908
  ]
@@ -3926,11 +3926,13 @@
3926
3926
  "render-ui",
3927
3927
  "main",
3928
3928
  {
3929
+ "type": "dashboard-layout",
3930
+ "appName": "Code Reviewer",
3929
3931
  "navItems": [
3930
3932
  {
3931
3933
  "label": "Review",
3932
- "icon": "file-search",
3933
- "href": "/review"
3934
+ "href": "/review",
3935
+ "icon": "file-search"
3934
3936
  },
3935
3937
  {
3936
3938
  "label": "Analysis",
@@ -3938,69 +3940,67 @@
3938
3940
  "icon": "tag"
3939
3941
  },
3940
3942
  {
3943
+ "icon": "alert-triangle",
3941
3944
  "label": "Issues",
3942
- "href": "/issues",
3943
- "icon": "alert-triangle"
3945
+ "href": "/issues"
3944
3946
  }
3945
3947
  ],
3946
- "type": "dashboard-layout",
3947
- "appName": "Code Reviewer",
3948
3948
  "children": [
3949
3949
  {
3950
- "gap": "lg",
3951
- "direction": "vertical",
3952
- "type": "stack",
3953
3950
  "children": [
3954
3951
  {
3955
- "gap": "md",
3956
- "type": "stack",
3957
3952
  "align": "center",
3953
+ "type": "stack",
3954
+ "gap": "md",
3955
+ "justify": "between",
3956
+ "direction": "horizontal",
3958
3957
  "children": [
3959
3958
  {
3959
+ "type": "stack",
3960
+ "direction": "horizontal",
3960
3961
  "gap": "md",
3961
3962
  "children": [
3962
3963
  {
3963
- "type": "icon",
3964
- "name": "tag"
3964
+ "name": "tag",
3965
+ "type": "icon"
3965
3966
  },
3966
3967
  {
3967
- "content": "Analysis Result",
3968
+ "type": "typography",
3968
3969
  "variant": "h2",
3969
- "type": "typography"
3970
+ "content": "Analysis Result"
3970
3971
  }
3971
3972
  ],
3972
- "align": "center",
3973
- "type": "stack",
3974
- "direction": "horizontal"
3973
+ "align": "center"
3975
3974
  },
3976
3975
  {
3976
+ "variant": "ghost",
3977
+ "icon": "x",
3977
3978
  "type": "button",
3978
3979
  "label": "Dismiss",
3979
- "icon": "x",
3980
- "action": "HIDE",
3981
- "variant": "ghost"
3980
+ "action": "HIDE"
3982
3981
  }
3983
- ],
3984
- "justify": "between",
3985
- "direction": "horizontal"
3982
+ ]
3986
3983
  },
3987
3984
  {
3988
3985
  "type": "divider"
3989
3986
  },
3990
3987
  {
3991
3988
  "type": "alert",
3992
- "variant": "@entity.notificationType",
3993
- "message": "@entity.message"
3989
+ "message": "@entity.message",
3990
+ "variant": "@entity.notificationType"
3994
3991
  },
3995
3992
  {
3996
3993
  "type": "toast-slot"
3997
3994
  },
3998
3995
  {
3999
- "type": "alert",
4000
3996
  "variant": "warning",
3997
+ "type": "alert",
4001
3998
  "message": "@entity.message"
4002
3999
  }
4003
- ]
4000
+ ],
4001
+ "type": "stack",
4002
+ "direction": "vertical",
4003
+ "gap": "lg"
4004
4004
  }
4005
4005
  ]
4006
4006
  }
@@ -4033,12 +4033,13 @@
4033
4033
  "scope": "internal",
4034
4034
  "payload": [
4035
4035
  {
4036
- "name": "category",
4037
- "type": "string"
4036
+ "name": "message",
4037
+ "type": "string",
4038
+ "required": true
4038
4039
  },
4039
4040
  {
4040
- "name": "confidence",
4041
- "type": "number"
4041
+ "name": "notificationType",
4042
+ "type": "string"
4042
4043
  }
4043
4044
  ]
4044
4045
  },
@@ -4164,31 +4165,31 @@
4164
4165
  "render-ui",
4165
4166
  "main",
4166
4167
  {
4167
- "appName": "Code Reviewer",
4168
4168
  "children": [
4169
4169
  {
4170
4170
  "description": "Classifier is ready",
4171
- "icon": "tag",
4172
4171
  "title": "Classifier",
4173
- "type": "empty-state"
4172
+ "type": "empty-state",
4173
+ "icon": "tag"
4174
4174
  }
4175
4175
  ],
4176
4176
  "type": "dashboard-layout",
4177
+ "appName": "Code Reviewer",
4177
4178
  "navItems": [
4178
4179
  {
4180
+ "icon": "file-search",
4179
4181
  "href": "/review",
4180
- "label": "Review",
4181
- "icon": "file-search"
4182
+ "label": "Review"
4182
4183
  },
4183
4184
  {
4185
+ "href": "/analysis",
4184
4186
  "icon": "tag",
4185
- "label": "Analysis",
4186
- "href": "/analysis"
4187
+ "label": "Analysis"
4187
4188
  },
4188
4189
  {
4190
+ "href": "/issues",
4189
4191
  "label": "Issues",
4190
- "icon": "alert-triangle",
4191
- "href": "/issues"
4192
+ "icon": "alert-triangle"
4192
4193
  }
4193
4194
  ]
4194
4195
  }
@@ -4243,7 +4244,11 @@
4243
4244
  ],
4244
4245
  [
4245
4246
  "emit",
4246
- "SHOW"
4247
+ "SHOW",
4248
+ {
4249
+ "message": "Input classified",
4250
+ "notificationType": "success"
4251
+ }
4247
4252
  ]
4248
4253
  ]
4249
4254
  },
@@ -4492,41 +4497,60 @@
4492
4497
  "render-ui",
4493
4498
  "main",
4494
4499
  {
4500
+ "appName": "Code Reviewer",
4501
+ "navItems": [
4502
+ {
4503
+ "label": "Review",
4504
+ "href": "/review",
4505
+ "icon": "file-search"
4506
+ },
4507
+ {
4508
+ "icon": "tag",
4509
+ "href": "/analysis",
4510
+ "label": "Analysis"
4511
+ },
4512
+ {
4513
+ "label": "Issues",
4514
+ "icon": "alert-triangle",
4515
+ "href": "/issues"
4516
+ }
4517
+ ],
4495
4518
  "children": [
4496
4519
  {
4497
4520
  "direction": "vertical",
4521
+ "type": "stack",
4498
4522
  "gap": "lg",
4499
4523
  "children": [
4500
4524
  {
4501
- "type": "stack",
4502
- "justify": "between",
4503
- "direction": "horizontal",
4504
4525
  "gap": "md",
4526
+ "direction": "horizontal",
4505
4527
  "children": [
4506
4528
  {
4507
- "gap": "md",
4529
+ "type": "stack",
4508
4530
  "direction": "horizontal",
4531
+ "gap": "md",
4509
4532
  "children": [
4510
4533
  {
4511
- "type": "icon",
4512
- "name": "sparkles"
4534
+ "name": "sparkles",
4535
+ "type": "icon"
4513
4536
  },
4514
4537
  {
4515
4538
  "type": "typography",
4516
4539
  "content": "ReviewCompletion",
4517
4540
  "variant": "h2"
4518
4541
  }
4519
- ],
4520
- "type": "stack"
4542
+ ]
4521
4543
  },
4522
4544
  {
4545
+ "icon": "sparkles",
4523
4546
  "type": "button",
4547
+ "label": "Open",
4524
4548
  "variant": "primary",
4525
- "icon": "sparkles",
4526
- "action": "GENERATE",
4527
- "label": "Open"
4549
+ "action": "GENERATE"
4528
4550
  }
4529
- ]
4551
+ ],
4552
+ "type": "stack",
4553
+ "justify": "between"
4530
4554
  },
4531
4555
  {
4532
4556
  "type": "divider"
@@ -4534,32 +4558,13 @@
4534
4558
  {
4535
4559
  "type": "empty-state",
4536
4560
  "description": "Click Open to view details in a modal overlay.",
4537
- "icon": "sparkles",
4538
- "title": "Nothing open"
4561
+ "title": "Nothing open",
4562
+ "icon": "sparkles"
4539
4563
  }
4540
- ],
4541
- "type": "stack"
4564
+ ]
4542
4565
  }
4543
4566
  ],
4544
- "appName": "Code Reviewer",
4545
- "type": "dashboard-layout",
4546
- "navItems": [
4547
- {
4548
- "href": "/review",
4549
- "icon": "file-search",
4550
- "label": "Review"
4551
- },
4552
- {
4553
- "label": "Analysis",
4554
- "icon": "tag",
4555
- "href": "/analysis"
4556
- },
4557
- {
4558
- "label": "Issues",
4559
- "href": "/issues",
4560
- "icon": "alert-triangle"
4561
- }
4562
- ]
4567
+ "type": "dashboard-layout"
4563
4568
  }
4564
4569
  ]
4565
4570
  ]
@@ -4573,10 +4578,11 @@
4573
4578
  "render-ui",
4574
4579
  "modal",
4575
4580
  {
4576
- "type": "stack",
4577
- "direction": "vertical",
4578
4581
  "children": [
4579
4582
  {
4583
+ "direction": "horizontal",
4584
+ "type": "stack",
4585
+ "gap": "sm",
4580
4586
  "children": [
4581
4587
  {
4582
4588
  "type": "icon",
@@ -4587,40 +4593,39 @@
4587
4593
  "content": "ReviewCompletion",
4588
4594
  "type": "typography"
4589
4595
  }
4590
- ],
4591
- "gap": "sm",
4592
- "direction": "horizontal",
4593
- "type": "stack"
4596
+ ]
4594
4597
  },
4595
4598
  {
4596
4599
  "type": "divider"
4597
4600
  },
4598
4601
  {
4599
- "gap": "sm",
4600
4602
  "type": "stack",
4603
+ "direction": "horizontal",
4601
4604
  "children": [
4602
4605
  {
4603
- "type": "badge",
4604
- "label": "@entity.provider"
4606
+ "label": "@entity.provider",
4607
+ "type": "badge"
4605
4608
  },
4606
4609
  {
4607
4610
  "type": "badge",
4608
4611
  "label": "@entity.model"
4609
4612
  }
4610
4613
  ],
4611
- "direction": "horizontal"
4614
+ "gap": "sm"
4612
4615
  },
4613
4616
  {
4614
- "submitEvent": "SAVE",
4615
4617
  "mode": "create",
4616
4618
  "type": "form-section",
4617
4619
  "cancelEvent": "CLOSE",
4618
4620
  "fields": [
4619
4621
  "prompt"
4620
- ]
4622
+ ],
4623
+ "submitEvent": "SAVE"
4621
4624
  }
4622
4625
  ],
4623
- "gap": "md"
4626
+ "direction": "vertical",
4627
+ "gap": "md",
4628
+ "type": "stack"
4624
4629
  }
4625
4630
  ]
4626
4631
  ]
@@ -4648,74 +4653,74 @@
4648
4653
  "render-ui",
4649
4654
  "main",
4650
4655
  {
4656
+ "appName": "Code Reviewer",
4657
+ "navItems": [
4658
+ {
4659
+ "label": "Review",
4660
+ "href": "/review",
4661
+ "icon": "file-search"
4662
+ },
4663
+ {
4664
+ "label": "Analysis",
4665
+ "href": "/analysis",
4666
+ "icon": "tag"
4667
+ },
4668
+ {
4669
+ "label": "Issues",
4670
+ "icon": "alert-triangle",
4671
+ "href": "/issues"
4672
+ }
4673
+ ],
4651
4674
  "children": [
4652
4675
  {
4653
- "gap": "lg",
4654
4676
  "type": "stack",
4677
+ "gap": "lg",
4655
4678
  "direction": "vertical",
4656
4679
  "children": [
4657
4680
  {
4658
- "direction": "horizontal",
4659
- "type": "stack",
4660
- "gap": "md",
4661
4681
  "justify": "between",
4682
+ "gap": "md",
4662
4683
  "children": [
4663
4684
  {
4664
- "type": "stack",
4665
4685
  "children": [
4666
4686
  {
4667
4687
  "type": "icon",
4668
4688
  "name": "sparkles"
4669
4689
  },
4670
4690
  {
4671
- "content": "ReviewCompletion",
4691
+ "variant": "h2",
4672
4692
  "type": "typography",
4673
- "variant": "h2"
4693
+ "content": "ReviewCompletion"
4674
4694
  }
4675
4695
  ],
4696
+ "type": "stack",
4676
4697
  "gap": "md",
4677
4698
  "direction": "horizontal"
4678
4699
  },
4679
4700
  {
4680
- "variant": "primary",
4701
+ "label": "Open",
4681
4702
  "type": "button",
4682
4703
  "action": "GENERATE",
4683
- "label": "Open",
4684
- "icon": "sparkles"
4704
+ "icon": "sparkles",
4705
+ "variant": "primary"
4685
4706
  }
4686
- ]
4707
+ ],
4708
+ "direction": "horizontal",
4709
+ "type": "stack"
4687
4710
  },
4688
4711
  {
4689
4712
  "type": "divider"
4690
4713
  },
4691
4714
  {
4692
- "type": "empty-state",
4693
4715
  "icon": "sparkles",
4694
4716
  "description": "Click Open to view details in a modal overlay.",
4695
- "title": "Nothing open"
4717
+ "title": "Nothing open",
4718
+ "type": "empty-state"
4696
4719
  }
4697
4720
  ]
4698
4721
  }
4699
4722
  ],
4700
- "type": "dashboard-layout",
4701
- "appName": "Code Reviewer",
4702
- "navItems": [
4703
- {
4704
- "href": "/review",
4705
- "icon": "file-search",
4706
- "label": "Review"
4707
- },
4708
- {
4709
- "icon": "tag",
4710
- "href": "/analysis",
4711
- "label": "Analysis"
4712
- },
4713
- {
4714
- "icon": "alert-triangle",
4715
- "href": "/issues",
4716
- "label": "Issues"
4717
- }
4718
- ]
4723
+ "type": "dashboard-layout"
4719
4724
  }
4720
4725
  ]
4721
4726
  ]
@@ -4732,8 +4737,8 @@
4732
4737
  "@payload.data",
4733
4738
  {
4734
4739
  "emit": {
4735
- "failure": "ReviewCompletionSaveFailed",
4736
- "success": "ReviewCompletionSaved"
4740
+ "success": "ReviewCompletionSaved",
4741
+ "failure": "ReviewCompletionSaveFailed"
4737
4742
  }
4738
4743
  }
4739
4744
  ],
@@ -4754,64 +4759,66 @@
4754
4759
  "render-ui",
4755
4760
  "main",
4756
4761
  {
4762
+ "type": "dashboard-layout",
4757
4763
  "children": [
4758
4764
  {
4765
+ "gap": "lg",
4766
+ "type": "stack",
4767
+ "direction": "vertical",
4759
4768
  "children": [
4760
4769
  {
4770
+ "type": "stack",
4771
+ "direction": "horizontal",
4772
+ "gap": "md",
4773
+ "justify": "between",
4761
4774
  "children": [
4762
4775
  {
4763
- "direction": "horizontal",
4764
4776
  "children": [
4765
4777
  {
4766
4778
  "name": "sparkles",
4767
4779
  "type": "icon"
4768
4780
  },
4769
4781
  {
4770
- "content": "ReviewCompletion",
4771
4782
  "variant": "h2",
4772
- "type": "typography"
4783
+ "type": "typography",
4784
+ "content": "ReviewCompletion"
4773
4785
  }
4774
4786
  ],
4775
4787
  "gap": "md",
4788
+ "direction": "horizontal",
4776
4789
  "type": "stack"
4777
4790
  },
4778
4791
  {
4779
4792
  "variant": "primary",
4780
- "type": "button",
4781
- "icon": "sparkles",
4793
+ "action": "GENERATE",
4782
4794
  "label": "Open",
4783
- "action": "GENERATE"
4795
+ "icon": "sparkles",
4796
+ "type": "button"
4784
4797
  }
4785
- ],
4786
- "gap": "md",
4787
- "direction": "horizontal",
4788
- "justify": "between",
4789
- "type": "stack"
4798
+ ]
4790
4799
  },
4791
4800
  {
4792
4801
  "type": "divider"
4793
4802
  },
4794
4803
  {
4795
- "icon": "sparkles",
4796
- "title": "Nothing open",
4797
4804
  "type": "empty-state",
4798
- "description": "Click Open to view details in a modal overlay."
4805
+ "description": "Click Open to view details in a modal overlay.",
4806
+ "title": "Nothing open",
4807
+ "icon": "sparkles"
4799
4808
  }
4800
- ],
4801
- "direction": "vertical",
4802
- "gap": "lg",
4803
- "type": "stack"
4809
+ ]
4804
4810
  }
4805
4811
  ],
4812
+ "appName": "Code Reviewer",
4806
4813
  "navItems": [
4807
4814
  {
4808
- "label": "Review",
4809
4815
  "href": "/review",
4816
+ "label": "Review",
4810
4817
  "icon": "file-search"
4811
4818
  },
4812
4819
  {
4813
- "href": "/analysis",
4814
4820
  "label": "Analysis",
4821
+ "href": "/analysis",
4815
4822
  "icon": "tag"
4816
4823
  },
4817
4824
  {
@@ -4819,9 +4826,7 @@
4819
4826
  "label": "Issues",
4820
4827
  "href": "/issues"
4821
4828
  }
4822
- ],
4823
- "type": "dashboard-layout",
4824
- "appName": "Code Reviewer"
4829
+ ]
4825
4830
  }
4826
4831
  ]
4827
4832
  ]
@@ -4931,8 +4936,8 @@
4931
4936
  "ReviewCompletion",
4932
4937
  {
4933
4938
  "emit": {
4934
- "success": "ReviewCompletionLoaded",
4935
- "failure": "ReviewCompletionLoadFailed"
4939
+ "failure": "ReviewCompletionLoadFailed",
4940
+ "success": "ReviewCompletionLoaded"
4936
4941
  }
4937
4942
  }
4938
4943
  ]
@@ -4958,42 +4963,19 @@
4958
4963
  "main",
4959
4964
  {
4960
4965
  "appName": "Code Reviewer",
4961
- "navItems": [
4962
- {
4963
- "icon": "file-search",
4964
- "label": "Review",
4965
- "href": "/review"
4966
- },
4967
- {
4968
- "label": "Analysis",
4969
- "href": "/analysis",
4970
- "icon": "tag"
4971
- },
4972
- {
4973
- "label": "Issues",
4974
- "href": "/issues",
4975
- "icon": "alert-triangle"
4976
- }
4977
- ],
4978
- "type": "dashboard-layout",
4979
4966
  "children": [
4980
4967
  {
4981
- "direction": "vertical",
4982
4968
  "type": "stack",
4983
- "gap": "lg",
4984
4969
  "children": [
4985
4970
  {
4986
4971
  "type": "stack",
4987
- "gap": "md",
4988
- "direction": "horizontal",
4972
+ "align": "center",
4989
4973
  "children": [
4990
4974
  {
4991
- "type": "stack",
4992
- "align": "center",
4993
4975
  "children": [
4994
4976
  {
4995
- "type": "icon",
4996
- "name": "sparkles"
4977
+ "name": "sparkles",
4978
+ "type": "icon"
4997
4979
  },
4998
4980
  {
4999
4981
  "variant": "h2",
@@ -5001,18 +4983,21 @@
5001
4983
  "type": "typography"
5002
4984
  }
5003
4985
  ],
5004
- "gap": "md",
5005
- "direction": "horizontal"
4986
+ "align": "center",
4987
+ "type": "stack",
4988
+ "direction": "horizontal",
4989
+ "gap": "md"
5006
4990
  },
5007
4991
  {
5008
- "variant": "ghost",
5009
4992
  "action": "HIDE",
5010
- "label": "Dismiss",
5011
4993
  "icon": "x",
5012
- "type": "button"
4994
+ "type": "button",
4995
+ "label": "Dismiss",
4996
+ "variant": "ghost"
5013
4997
  }
5014
4998
  ],
5015
- "align": "center",
4999
+ "direction": "horizontal",
5000
+ "gap": "md",
5016
5001
  "justify": "between"
5017
5002
  },
5018
5003
  {
@@ -5020,18 +5005,38 @@
5020
5005
  },
5021
5006
  {
5022
5007
  "variant": "@entity.notificationType",
5023
- "message": "@entity.message",
5024
- "type": "alert"
5008
+ "type": "alert",
5009
+ "message": "@entity.message"
5025
5010
  },
5026
5011
  {
5027
5012
  "type": "toast-slot"
5028
5013
  },
5029
5014
  {
5015
+ "variant": "warning",
5030
5016
  "type": "alert",
5031
- "message": "@entity.message",
5032
- "variant": "warning"
5017
+ "message": "@entity.message"
5033
5018
  }
5034
- ]
5019
+ ],
5020
+ "gap": "lg",
5021
+ "direction": "vertical"
5022
+ }
5023
+ ],
5024
+ "type": "dashboard-layout",
5025
+ "navItems": [
5026
+ {
5027
+ "label": "Review",
5028
+ "href": "/review",
5029
+ "icon": "file-search"
5030
+ },
5031
+ {
5032
+ "icon": "tag",
5033
+ "label": "Analysis",
5034
+ "href": "/analysis"
5035
+ },
5036
+ {
5037
+ "href": "/issues",
5038
+ "label": "Issues",
5039
+ "icon": "alert-triangle"
5035
5040
  }
5036
5041
  ]
5037
5042
  }
@@ -5061,56 +5066,57 @@
5061
5066
  "appName": "Code Reviewer",
5062
5067
  "navItems": [
5063
5068
  {
5064
- "href": "/review",
5065
5069
  "label": "Review",
5070
+ "href": "/review",
5066
5071
  "icon": "file-search"
5067
5072
  },
5068
5073
  {
5069
5074
  "label": "Analysis",
5070
- "href": "/analysis",
5071
- "icon": "tag"
5075
+ "icon": "tag",
5076
+ "href": "/analysis"
5072
5077
  },
5073
5078
  {
5074
- "icon": "alert-triangle",
5079
+ "label": "Issues",
5075
5080
  "href": "/issues",
5076
- "label": "Issues"
5081
+ "icon": "alert-triangle"
5077
5082
  }
5078
5083
  ],
5079
5084
  "children": [
5080
5085
  {
5086
+ "gap": "lg",
5081
5087
  "children": [
5082
5088
  {
5089
+ "gap": "md",
5090
+ "align": "center",
5091
+ "type": "stack",
5092
+ "justify": "between",
5083
5093
  "children": [
5084
5094
  {
5085
- "align": "center",
5095
+ "direction": "horizontal",
5096
+ "gap": "md",
5097
+ "type": "stack",
5086
5098
  "children": [
5087
5099
  {
5088
5100
  "type": "icon",
5089
5101
  "name": "sparkles"
5090
5102
  },
5091
5103
  {
5104
+ "variant": "h2",
5092
5105
  "type": "typography",
5093
- "content": "ReviewCompletion Status",
5094
- "variant": "h2"
5106
+ "content": "ReviewCompletion Status"
5095
5107
  }
5096
5108
  ],
5097
- "gap": "md",
5098
- "direction": "horizontal",
5099
- "type": "stack"
5109
+ "align": "center"
5100
5110
  },
5101
5111
  {
5102
- "icon": "x",
5103
5112
  "type": "button",
5104
- "action": "HIDE",
5113
+ "icon": "x",
5105
5114
  "label": "Dismiss",
5115
+ "action": "HIDE",
5106
5116
  "variant": "ghost"
5107
5117
  }
5108
5118
  ],
5109
- "direction": "horizontal",
5110
- "type": "stack",
5111
- "gap": "md",
5112
- "align": "center",
5113
- "justify": "between"
5119
+ "direction": "horizontal"
5114
5120
  },
5115
5121
  {
5116
5122
  "type": "divider"
@@ -5129,9 +5135,8 @@
5129
5135
  "type": "alert"
5130
5136
  }
5131
5137
  ],
5132
- "type": "stack",
5133
5138
  "direction": "vertical",
5134
- "gap": "lg"
5139
+ "type": "stack"
5135
5140
  }
5136
5141
  ]
5137
5142
  }
@@ -5164,7 +5169,12 @@
5164
5169
  "scope": "internal",
5165
5170
  "payload": [
5166
5171
  {
5167
- "name": "response",
5172
+ "name": "message",
5173
+ "type": "string",
5174
+ "required": true
5175
+ },
5176
+ {
5177
+ "name": "notificationType",
5168
5178
  "type": "string"
5169
5179
  }
5170
5180
  ]
@@ -5289,8 +5299,8 @@
5289
5299
  "ReviewCompletion",
5290
5300
  {
5291
5301
  "emit": {
5292
- "success": "ReviewCompletionLoaded",
5293
- "failure": "ReviewCompletionLoadFailed"
5302
+ "failure": "ReviewCompletionLoadFailed",
5303
+ "success": "ReviewCompletionLoaded"
5294
5304
  }
5295
5305
  }
5296
5306
  ],
@@ -5298,33 +5308,33 @@
5298
5308
  "render-ui",
5299
5309
  "main",
5300
5310
  {
5301
- "type": "dashboard-layout",
5311
+ "appName": "Code Reviewer",
5302
5312
  "children": [
5303
5313
  {
5314
+ "icon": "sparkles",
5304
5315
  "description": "Completion is ready",
5305
5316
  "type": "empty-state",
5306
- "icon": "sparkles",
5307
5317
  "title": "Completion"
5308
5318
  }
5309
5319
  ],
5320
+ "type": "dashboard-layout",
5310
5321
  "navItems": [
5311
5322
  {
5323
+ "icon": "file-search",
5312
5324
  "label": "Review",
5313
- "href": "/review",
5314
- "icon": "file-search"
5325
+ "href": "/review"
5315
5326
  },
5316
5327
  {
5328
+ "label": "Analysis",
5317
5329
  "href": "/analysis",
5318
- "icon": "tag",
5319
- "label": "Analysis"
5330
+ "icon": "tag"
5320
5331
  },
5321
5332
  {
5333
+ "href": "/issues",
5322
5334
  "label": "Issues",
5323
- "icon": "alert-triangle",
5324
- "href": "/issues"
5335
+ "icon": "alert-triangle"
5325
5336
  }
5326
- ],
5327
- "appName": "Code Reviewer"
5337
+ ]
5328
5338
  }
5329
5339
  ]
5330
5340
  ]
@@ -5378,7 +5388,11 @@
5378
5388
  ],
5379
5389
  [
5380
5390
  "emit",
5381
- "SHOW"
5391
+ "SHOW",
5392
+ {
5393
+ "message": "Review complete",
5394
+ "notificationType": "success"
5395
+ }
5382
5396
  ]
5383
5397
  ]
5384
5398
  },
@@ -5610,4 +5624,4 @@
5610
5624
  ]
5611
5625
  }
5612
5626
  ]
5613
- }
5627
+ }