@almadar/std 13.6.0 → 13.8.0

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.
Files changed (174) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  24. package/behaviors/registry/app/organisms/std-cms.orb +547 -547
  25. package/behaviors/registry/core/atoms/std-browse.orb +36 -36
  26. package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  27. package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  28. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  29. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  30. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  31. package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  32. package/behaviors/registry/core/atoms/std-filter.orb +6 -9
  33. package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  34. package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  35. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  36. package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  37. package/behaviors/registry/core/atoms/std-push.orb +48 -90
  38. package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  39. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  40. package/behaviors/registry/core/atoms/std-search.orb +3 -3
  41. package/behaviors/registry/core/atoms/std-selection.orb +102 -102
  42. package/behaviors/registry/core/atoms/std-stats.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  44. package/behaviors/registry/core/molecules/std-cart.orb +64 -64
  45. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  46. package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  47. package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  48. package/behaviors/registry/core/molecules/std-list.orb +63 -63
  49. package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  50. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  51. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  52. package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  53. package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  54. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  55. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  56. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  57. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  58. package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  59. package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  60. package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  61. package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  62. package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  63. package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  64. package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  65. package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  66. package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  67. package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  68. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  69. package/dist/behaviors/behaviors-registry.json +2913 -322
  70. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  71. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  72. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  73. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  74. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  75. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  76. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  77. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  78. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  79. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  80. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  81. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  82. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  83. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  84. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  85. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  86. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  87. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  88. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  89. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  90. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  91. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  92. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  93. package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
  94. package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
  95. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  96. package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  97. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  98. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  99. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  100. package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  101. package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
  102. package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  103. package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  104. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  105. package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  106. package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
  107. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  108. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  109. package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
  110. package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
  111. package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
  112. package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  113. package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
  114. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  115. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  116. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  117. package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
  118. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  119. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  120. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  121. package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  122. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  123. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  124. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  125. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  126. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  127. package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  128. package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  129. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  130. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  131. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  132. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  133. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  134. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  135. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  136. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  137. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  138. package/dist/behaviors-registry.json +2913 -322
  139. package/dist/index.d.ts +2 -2
  140. package/dist/index.js +26 -13
  141. package/dist/index.js.map +1 -1
  142. package/dist/modules/agent.d.ts +1 -1
  143. package/dist/modules/array.d.ts +1 -1
  144. package/dist/modules/array.js +16 -8
  145. package/dist/modules/array.js.map +1 -1
  146. package/dist/modules/async.d.ts +1 -1
  147. package/dist/modules/composition.d.ts +1 -1
  148. package/dist/modules/contract.d.ts +1 -1
  149. package/dist/modules/core.d.ts +1 -1
  150. package/dist/modules/core.js +6 -3
  151. package/dist/modules/core.js.map +1 -1
  152. package/dist/modules/data.d.ts +1 -1
  153. package/dist/modules/format.d.ts +1 -1
  154. package/dist/modules/graph.d.ts +1 -1
  155. package/dist/modules/index.d.ts +1 -1
  156. package/dist/modules/index.js +26 -13
  157. package/dist/modules/index.js.map +1 -1
  158. package/dist/modules/math.d.ts +1 -1
  159. package/dist/modules/nn.d.ts +1 -1
  160. package/dist/modules/object.d.ts +1 -1
  161. package/dist/modules/object.js +4 -2
  162. package/dist/modules/object.js.map +1 -1
  163. package/dist/modules/os.d.ts +1 -1
  164. package/dist/modules/prob.d.ts +1 -1
  165. package/dist/modules/str.d.ts +1 -1
  166. package/dist/modules/tensor.d.ts +1 -1
  167. package/dist/modules/time.d.ts +1 -1
  168. package/dist/modules/train.d.ts +1 -1
  169. package/dist/modules/validate.d.ts +1 -1
  170. package/dist/registry.d.ts +1 -1
  171. package/dist/registry.js +26 -13
  172. package/dist/registry.js.map +1 -1
  173. package/dist/{types-D7dG8fBF.d.ts → types-CdSN5hnD.d.ts} +43 -0
  174. package/package.json +1 -1
@@ -58,6 +58,19 @@
58
58
  "name": "error",
59
59
  "type": "string",
60
60
  "default": ""
61
+ },
62
+ {
63
+ "name": "activeTab",
64
+ "type": "string",
65
+ "default": ""
66
+ },
67
+ {
68
+ "name": "items",
69
+ "type": "array",
70
+ "default": [],
71
+ "items": {
72
+ "type": "object"
73
+ }
61
74
  }
62
75
  ]
63
76
  },
@@ -323,6 +336,11 @@
323
336
  "to": "idle",
324
337
  "event": "INIT",
325
338
  "effects": [
339
+ [
340
+ "set",
341
+ "@entity.category",
342
+ ""
343
+ ],
326
344
  [
327
345
  "fetch",
328
346
  "Review",
@@ -337,41 +355,25 @@
337
355
  "render-ui",
338
356
  "main",
339
357
  {
340
- "appName": "Code Reviewer",
341
- "navItems": [
342
- {
343
- "label": "Review",
344
- "href": "/review",
345
- "icon": "file-search"
346
- },
347
- {
348
- "href": "/analysis",
349
- "icon": "tag",
350
- "label": "Analysis"
351
- },
352
- {
353
- "href": "/issues",
354
- "label": "Issues",
355
- "icon": "alert-triangle"
356
- }
357
- ],
358
+ "type": "dashboard-layout",
358
359
  "children": [
359
360
  {
361
+ "gap": "lg",
360
362
  "children": [
361
363
  {
362
- "direction": "horizontal",
363
364
  "align": "center",
364
- "gap": "sm",
365
365
  "type": "stack",
366
+ "direction": "horizontal",
367
+ "gap": "sm",
366
368
  "children": [
367
369
  {
368
- "name": "file-search",
369
- "type": "icon"
370
+ "type": "icon",
371
+ "name": "file-search"
370
372
  },
371
373
  {
374
+ "content": "Code Review",
372
375
  "variant": "h2",
373
- "type": "typography",
374
- "content": "Code Review"
376
+ "type": "typography"
375
377
  }
376
378
  ]
377
379
  },
@@ -382,35 +384,51 @@
382
384
  "type": "card",
383
385
  "children": [
384
386
  {
385
- "type": "stack",
386
- "gap": "md",
387
- "direction": "vertical",
388
387
  "children": [
389
388
  {
390
- "variant": "body",
391
389
  "type": "typography",
392
- "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review."
390
+ "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
391
+ "variant": "body"
393
392
  },
394
393
  {
395
- "type": "form-section",
396
- "entity": "@entity",
397
394
  "fields": [
398
395
  "target"
399
396
  ],
400
397
  "mode": "edit",
401
- "submitEvent": "SUBMIT_REVIEW"
398
+ "type": "form-section",
399
+ "submitEvent": "SUBMIT_REVIEW",
400
+ "entity": "@entity"
402
401
  }
403
- ]
402
+ ],
403
+ "type": "stack",
404
+ "direction": "vertical",
405
+ "gap": "md"
404
406
  }
405
407
  ]
406
408
  }
407
409
  ],
408
- "type": "stack",
409
410
  "direction": "vertical",
410
- "gap": "lg"
411
+ "type": "stack"
411
412
  }
412
413
  ],
413
- "type": "dashboard-layout"
414
+ "navItems": [
415
+ {
416
+ "href": "/review",
417
+ "icon": "file-search",
418
+ "label": "Review"
419
+ },
420
+ {
421
+ "label": "Analysis",
422
+ "icon": "tag",
423
+ "href": "/analysis"
424
+ },
425
+ {
426
+ "label": "Issues",
427
+ "icon": "alert-triangle",
428
+ "href": "/issues"
429
+ }
430
+ ],
431
+ "appName": "Code Reviewer"
414
432
  }
415
433
  ]
416
434
  ]
@@ -442,52 +460,52 @@
442
460
  "render-ui",
443
461
  "main",
444
462
  {
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
- ],
463
+ "type": "dashboard-layout",
462
464
  "children": [
463
465
  {
464
466
  "direction": "vertical",
465
467
  "type": "stack",
466
- "align": "center",
467
468
  "children": [
468
469
  {
469
470
  "name": "search",
470
471
  "type": "icon"
471
472
  },
472
473
  {
473
- "type": "typography",
474
474
  "variant": "h3",
475
- "content": "Analyzing input..."
475
+ "content": "Analyzing input...",
476
+ "type": "typography"
476
477
  },
477
478
  {
478
479
  "type": "spinner"
479
480
  },
480
481
  {
482
+ "type": "typography",
481
483
  "content": "Classifying and searching for patterns",
482
- "variant": "caption",
483
- "type": "typography"
484
+ "variant": "caption"
484
485
  }
485
486
  ],
487
+ "align": "center",
486
488
  "gap": "lg"
487
489
  }
488
490
  ],
489
- "appName": "Code Reviewer",
490
- "type": "dashboard-layout"
491
+ "navItems": [
492
+ {
493
+ "href": "/review",
494
+ "icon": "file-search",
495
+ "label": "Review"
496
+ },
497
+ {
498
+ "icon": "tag",
499
+ "label": "Analysis",
500
+ "href": "/analysis"
501
+ },
502
+ {
503
+ "label": "Issues",
504
+ "icon": "alert-triangle",
505
+ "href": "/issues"
506
+ }
507
+ ],
508
+ "appName": "Code Reviewer"
491
509
  }
492
510
  ]
493
511
  ]
@@ -510,50 +528,50 @@
510
528
  "render-ui",
511
529
  "main",
512
530
  {
531
+ "type": "dashboard-layout",
532
+ "appName": "Code Reviewer",
533
+ "navItems": [
534
+ {
535
+ "label": "Review",
536
+ "href": "/review",
537
+ "icon": "file-search"
538
+ },
539
+ {
540
+ "label": "Analysis",
541
+ "icon": "tag",
542
+ "href": "/analysis"
543
+ },
544
+ {
545
+ "href": "/issues",
546
+ "icon": "alert-triangle",
547
+ "label": "Issues"
548
+ }
549
+ ],
513
550
  "children": [
514
551
  {
552
+ "direction": "vertical",
515
553
  "gap": "lg",
516
554
  "type": "stack",
517
- "align": "center",
518
- "direction": "vertical",
519
555
  "children": [
520
556
  {
521
557
  "type": "icon",
522
558
  "name": "cpu"
523
559
  },
524
560
  {
525
- "content": "Generating review...",
526
561
  "variant": "h3",
527
- "type": "typography"
562
+ "type": "typography",
563
+ "content": "Generating review..."
528
564
  },
529
565
  {
530
566
  "type": "spinner"
531
567
  },
532
568
  {
533
- "content": "Category: @entity.category",
534
569
  "type": "typography",
535
- "variant": "caption"
570
+ "variant": "caption",
571
+ "content": "Category: @entity.category"
536
572
  }
537
- ]
538
- }
539
- ],
540
- "appName": "Code Reviewer",
541
- "type": "dashboard-layout",
542
- "navItems": [
543
- {
544
- "href": "/review",
545
- "label": "Review",
546
- "icon": "file-search"
547
- },
548
- {
549
- "icon": "tag",
550
- "label": "Analysis",
551
- "href": "/analysis"
552
- },
553
- {
554
- "label": "Issues",
555
- "href": "/issues",
556
- "icon": "alert-triangle"
573
+ ],
574
+ "align": "center"
557
575
  }
558
576
  ]
559
577
  }
@@ -581,8 +599,8 @@
581
599
  {
582
600
  "navItems": [
583
601
  {
584
- "href": "/review",
585
602
  "icon": "file-search",
603
+ "href": "/review",
586
604
  "label": "Review"
587
605
  },
588
606
  {
@@ -592,45 +610,45 @@
592
610
  },
593
611
  {
594
612
  "label": "Issues",
595
- "href": "/issues",
596
- "icon": "alert-triangle"
613
+ "icon": "alert-triangle",
614
+ "href": "/issues"
597
615
  }
598
616
  ],
617
+ "appName": "Code Reviewer",
599
618
  "children": [
600
619
  {
601
- "type": "stack",
602
- "gap": "lg",
603
620
  "direction": "vertical",
621
+ "gap": "lg",
604
622
  "children": [
605
623
  {
624
+ "align": "center",
606
625
  "gap": "sm",
626
+ "type": "stack",
607
627
  "justify": "between",
608
- "align": "center",
609
- "direction": "horizontal",
610
628
  "children": [
611
629
  {
612
- "gap": "sm",
613
630
  "type": "stack",
614
- "direction": "horizontal",
615
- "align": "center",
616
631
  "children": [
617
632
  {
618
- "type": "icon",
619
- "name": "check-circle"
633
+ "name": "check-circle",
634
+ "type": "icon"
620
635
  },
621
636
  {
637
+ "content": "Review Complete",
622
638
  "variant": "h2",
623
- "type": "typography",
624
- "content": "Review Complete"
639
+ "type": "typography"
625
640
  }
626
- ]
641
+ ],
642
+ "align": "center",
643
+ "direction": "horizontal",
644
+ "gap": "sm"
627
645
  },
628
646
  {
629
- "label": "@entity.score",
630
- "type": "badge"
647
+ "type": "badge",
648
+ "label": "@entity.score"
631
649
  }
632
650
  ],
633
- "type": "stack"
651
+ "direction": "horizontal"
634
652
  },
635
653
  {
636
654
  "type": "divider"
@@ -640,6 +658,7 @@
640
658
  "children": [
641
659
  {
642
660
  "gap": "md",
661
+ "type": "stack",
643
662
  "children": [
644
663
  {
645
664
  "direction": "horizontal",
@@ -649,53 +668,52 @@
649
668
  "label": "@entity.category"
650
669
  },
651
670
  {
652
- "type": "badge",
653
- "label": "@entity.reviewStatus"
671
+ "label": "@entity.reviewStatus",
672
+ "type": "badge"
654
673
  }
655
674
  ],
656
675
  "gap": "sm",
657
676
  "type": "stack"
658
677
  },
659
678
  {
660
- "content": "Issues",
679
+ "variant": "h4",
661
680
  "type": "typography",
662
- "variant": "h4"
681
+ "content": "Issues"
663
682
  },
664
683
  {
665
684
  "content": "@entity.issues",
666
- "type": "typography",
667
- "variant": "body"
685
+ "variant": "body",
686
+ "type": "typography"
668
687
  },
669
688
  {
670
689
  "type": "divider"
671
690
  },
672
691
  {
673
- "content": "Suggestions",
674
692
  "variant": "h4",
693
+ "content": "Suggestions",
675
694
  "type": "typography"
676
695
  },
677
696
  {
697
+ "type": "typography",
678
698
  "variant": "body",
679
- "content": "@entity.suggestions",
680
- "type": "typography"
699
+ "content": "@entity.suggestions"
681
700
  }
682
701
  ],
683
- "direction": "vertical",
684
- "type": "stack"
702
+ "direction": "vertical"
685
703
  }
686
704
  ]
687
705
  },
688
706
  {
689
- "label": "New Review",
690
- "type": "button",
691
- "variant": "ghost",
707
+ "action": "RESET",
692
708
  "icon": "rotate-ccw",
693
- "action": "RESET"
709
+ "type": "button",
710
+ "label": "New Review",
711
+ "variant": "ghost"
694
712
  }
695
- ]
713
+ ],
714
+ "type": "stack"
696
715
  }
697
716
  ],
698
- "appName": "Code Reviewer",
699
717
  "type": "dashboard-layout"
700
718
  }
701
719
  ]
@@ -736,44 +754,28 @@
736
754
  "main",
737
755
  {
738
756
  "type": "dashboard-layout",
739
- "appName": "Code Reviewer",
740
- "navItems": [
741
- {
742
- "href": "/review",
743
- "icon": "file-search",
744
- "label": "Review"
745
- },
746
- {
747
- "label": "Analysis",
748
- "icon": "tag",
749
- "href": "/analysis"
750
- },
751
- {
752
- "href": "/issues",
753
- "label": "Issues",
754
- "icon": "alert-triangle"
755
- }
756
- ],
757
757
  "children": [
758
758
  {
759
+ "gap": "lg",
759
760
  "direction": "vertical",
761
+ "type": "stack",
760
762
  "children": [
761
763
  {
762
- "type": "stack",
764
+ "align": "center",
763
765
  "children": [
764
766
  {
765
767
  "name": "file-search",
766
768
  "type": "icon"
767
769
  },
768
770
  {
771
+ "content": "Code Review",
769
772
  "type": "typography",
770
- "variant": "h2",
771
- "content": "Code Review"
773
+ "variant": "h2"
772
774
  }
773
775
  ],
774
- "align": "center",
776
+ "direction": "horizontal",
775
777
  "gap": "sm",
776
- "direction": "horizontal"
778
+ "type": "stack"
777
779
  },
778
780
  {
779
781
  "type": "divider"
@@ -782,6 +784,8 @@
782
784
  "type": "card",
783
785
  "children": [
784
786
  {
787
+ "direction": "vertical",
788
+ "gap": "md",
785
789
  "children": [
786
790
  {
787
791
  "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
@@ -789,24 +793,38 @@
789
793
  "type": "typography"
790
794
  },
791
795
  {
792
- "entity": "@entity",
793
796
  "submitEvent": "SUBMIT_REVIEW",
797
+ "type": "form-section",
798
+ "entity": "@entity",
799
+ "mode": "edit",
794
800
  "fields": [
795
801
  "target"
796
- ],
797
- "type": "form-section",
798
- "mode": "edit"
802
+ ]
799
803
  }
800
804
  ],
801
- "gap": "md",
802
- "direction": "vertical",
803
805
  "type": "stack"
804
806
  }
805
807
  ]
806
808
  }
807
- ],
808
- "type": "stack",
809
- "gap": "lg"
809
+ ]
810
+ }
811
+ ],
812
+ "appName": "Code Reviewer",
813
+ "navItems": [
814
+ {
815
+ "label": "Review",
816
+ "icon": "file-search",
817
+ "href": "/review"
818
+ },
819
+ {
820
+ "href": "/analysis",
821
+ "label": "Analysis",
822
+ "icon": "tag"
823
+ },
824
+ {
825
+ "icon": "alert-triangle",
826
+ "href": "/issues",
827
+ "label": "Issues"
810
828
  }
811
829
  ]
812
830
  }
@@ -967,11 +985,11 @@
967
985
  },
968
986
  {
969
987
  "name": "memoryHits",
970
- "type": "string"
988
+ "type": "number"
971
989
  },
972
990
  {
973
991
  "name": "searchHits",
974
- "type": "string"
992
+ "type": "number"
975
993
  }
976
994
  ]
977
995
  },
@@ -1006,48 +1024,52 @@
1006
1024
  "to": "idle",
1007
1025
  "event": "INIT",
1008
1026
  "effects": [
1027
+ [
1028
+ "set",
1029
+ "@entity.query",
1030
+ ""
1031
+ ],
1009
1032
  [
1010
1033
  "render-ui",
1011
1034
  "main",
1012
1035
  {
1013
- "appName": "Code Reviewer",
1014
1036
  "navItems": [
1015
1037
  {
1016
- "label": "Review",
1017
1038
  "href": "/review",
1018
- "icon": "file-search"
1039
+ "icon": "file-search",
1040
+ "label": "Review"
1019
1041
  },
1020
1042
  {
1021
- "icon": "tag",
1043
+ "label": "Analysis",
1022
1044
  "href": "/analysis",
1023
- "label": "Analysis"
1045
+ "icon": "tag"
1024
1046
  },
1025
1047
  {
1026
1048
  "label": "Issues",
1027
- "href": "/issues",
1028
- "icon": "alert-triangle"
1049
+ "icon": "alert-triangle",
1050
+ "href": "/issues"
1029
1051
  }
1030
1052
  ],
1053
+ "appName": "Code Reviewer",
1031
1054
  "children": [
1032
1055
  {
1033
- "type": "stack",
1034
1056
  "children": [
1035
1057
  {
1036
- "align": "center",
1037
- "direction": "horizontal",
1038
- "gap": "sm",
1039
- "type": "stack",
1040
1058
  "children": [
1041
1059
  {
1042
1060
  "type": "icon",
1043
1061
  "name": "brain"
1044
1062
  },
1045
1063
  {
1046
- "content": "RAG Pipeline",
1064
+ "type": "typography",
1047
1065
  "variant": "h2",
1048
- "type": "typography"
1066
+ "content": "RAG Pipeline"
1049
1067
  }
1050
- ]
1068
+ ],
1069
+ "direction": "horizontal",
1070
+ "gap": "sm",
1071
+ "type": "stack",
1072
+ "align": "center"
1051
1073
  },
1052
1074
  {
1053
1075
  "type": "divider"
@@ -1055,23 +1077,23 @@
1055
1077
  {
1056
1078
  "children": [
1057
1079
  {
1080
+ "type": "stack",
1058
1081
  "direction": "vertical",
1059
1082
  "gap": "md",
1060
- "type": "stack",
1061
1083
  "children": [
1062
1084
  {
1085
+ "variant": "body",
1063
1086
  "content": "Enter a query to retrieve context and generate a response",
1064
- "type": "typography",
1065
- "variant": "body"
1087
+ "type": "typography"
1066
1088
  },
1067
1089
  {
1068
- "mode": "edit",
1069
- "entity": "@entity",
1070
1090
  "submitEvent": "GENERATE",
1091
+ "entity": "@entity",
1071
1092
  "fields": [
1072
1093
  "query"
1073
1094
  ],
1074
- "type": "form-section"
1095
+ "type": "form-section",
1096
+ "mode": "edit"
1075
1097
  }
1076
1098
  ]
1077
1099
  }
@@ -1080,7 +1102,8 @@
1080
1102
  }
1081
1103
  ],
1082
1104
  "gap": "lg",
1083
- "direction": "vertical"
1105
+ "direction": "vertical",
1106
+ "type": "stack"
1084
1107
  }
1085
1108
  ],
1086
1109
  "type": "dashboard-layout"
@@ -1111,61 +1134,61 @@
1111
1134
  "render-ui",
1112
1135
  "main",
1113
1136
  {
1114
- "type": "dashboard-layout",
1115
- "appName": "Code Reviewer",
1116
- "navItems": [
1117
- {
1118
- "icon": "file-search",
1119
- "label": "Review",
1120
- "href": "/review"
1121
- },
1122
- {
1123
- "icon": "tag",
1124
- "label": "Analysis",
1125
- "href": "/analysis"
1126
- },
1127
- {
1128
- "href": "/issues",
1129
- "label": "Issues",
1130
- "icon": "alert-triangle"
1131
- }
1132
- ],
1133
1137
  "children": [
1134
1138
  {
1135
- "gap": "lg",
1136
- "type": "stack",
1137
1139
  "children": [
1138
1140
  {
1139
1141
  "name": "search",
1140
1142
  "type": "icon"
1141
1143
  },
1142
1144
  {
1145
+ "content": "Retrieving context...",
1143
1146
  "type": "typography",
1144
- "variant": "h3",
1145
- "content": "Retrieving context..."
1147
+ "variant": "h3"
1146
1148
  },
1147
1149
  {
1148
1150
  "type": "spinner"
1149
1151
  },
1150
1152
  {
1151
1153
  "gap": "md",
1152
- "justify": "center",
1154
+ "direction": "horizontal",
1155
+ "type": "stack",
1153
1156
  "children": [
1154
1157
  {
1155
1158
  "label": "Recalling memories",
1156
1159
  "type": "badge"
1157
1160
  },
1158
1161
  {
1159
- "type": "badge",
1160
- "label": "Searching code"
1162
+ "label": "Searching code",
1163
+ "type": "badge"
1161
1164
  }
1162
1165
  ],
1163
- "type": "stack",
1164
- "direction": "horizontal"
1166
+ "justify": "center"
1165
1167
  }
1166
1168
  ],
1169
+ "gap": "lg",
1170
+ "align": "center",
1167
1171
  "direction": "vertical",
1168
- "align": "center"
1172
+ "type": "stack"
1173
+ }
1174
+ ],
1175
+ "type": "dashboard-layout",
1176
+ "appName": "Code Reviewer",
1177
+ "navItems": [
1178
+ {
1179
+ "href": "/review",
1180
+ "label": "Review",
1181
+ "icon": "file-search"
1182
+ },
1183
+ {
1184
+ "label": "Analysis",
1185
+ "href": "/analysis",
1186
+ "icon": "tag"
1187
+ },
1188
+ {
1189
+ "label": "Issues",
1190
+ "icon": "alert-triangle",
1191
+ "href": "/issues"
1169
1192
  }
1170
1193
  ]
1171
1194
  }
@@ -1212,46 +1235,46 @@
1212
1235
  "render-ui",
1213
1236
  "main",
1214
1237
  {
1215
- "type": "dashboard-layout",
1238
+ "appName": "Code Reviewer",
1216
1239
  "children": [
1217
1240
  {
1241
+ "gap": "lg",
1242
+ "align": "center",
1218
1243
  "children": [
1219
1244
  {
1220
- "name": "cpu",
1221
- "type": "icon"
1245
+ "type": "icon",
1246
+ "name": "cpu"
1222
1247
  },
1223
1248
  {
1249
+ "variant": "h3",
1224
1250
  "type": "typography",
1225
- "content": "Generating response...",
1226
- "variant": "h3"
1251
+ "content": "Generating response..."
1227
1252
  },
1228
1253
  {
1229
1254
  "type": "spinner"
1230
1255
  },
1231
1256
  {
1232
- "justify": "center",
1233
1257
  "children": [
1234
1258
  {
1235
- "label": "@entity.memoryHits",
1236
- "type": "badge"
1259
+ "type": "badge",
1260
+ "label": "@entity.memoryHits"
1237
1261
  },
1238
1262
  {
1239
1263
  "label": "@entity.searchHits",
1240
1264
  "type": "badge"
1241
1265
  }
1242
1266
  ],
1243
- "gap": "md",
1244
1267
  "type": "stack",
1268
+ "gap": "md",
1269
+ "justify": "center",
1245
1270
  "direction": "horizontal"
1246
1271
  }
1247
1272
  ],
1248
- "direction": "vertical",
1249
- "align": "center",
1250
- "gap": "lg",
1251
- "type": "stack"
1273
+ "type": "stack",
1274
+ "direction": "vertical"
1252
1275
  }
1253
1276
  ],
1254
- "appName": "Code Reviewer",
1277
+ "type": "dashboard-layout",
1255
1278
  "navItems": [
1256
1279
  {
1257
1280
  "href": "/review",
@@ -1293,6 +1316,23 @@
1293
1316
  "main",
1294
1317
  {
1295
1318
  "type": "dashboard-layout",
1319
+ "navItems": [
1320
+ {
1321
+ "href": "/review",
1322
+ "icon": "file-search",
1323
+ "label": "Review"
1324
+ },
1325
+ {
1326
+ "icon": "tag",
1327
+ "href": "/analysis",
1328
+ "label": "Analysis"
1329
+ },
1330
+ {
1331
+ "icon": "alert-triangle",
1332
+ "label": "Issues",
1333
+ "href": "/issues"
1334
+ }
1335
+ ],
1296
1336
  "children": [
1297
1337
  {
1298
1338
  "type": "stack",
@@ -1305,43 +1345,26 @@
1305
1345
  "type": "icon"
1306
1346
  },
1307
1347
  {
1308
- "variant": "h2",
1309
1348
  "type": "typography",
1310
- "content": "RAG Pipeline Error"
1349
+ "content": "RAG Pipeline Error",
1350
+ "variant": "h2"
1311
1351
  },
1312
1352
  {
1313
1353
  "variant": "error",
1314
- "message": "@entity.error",
1315
- "type": "alert"
1354
+ "type": "alert",
1355
+ "message": "@entity.error"
1316
1356
  },
1317
1357
  {
1318
- "action": "RESET",
1319
- "type": "button",
1320
1358
  "label": "Try Again",
1359
+ "variant": "primary",
1321
1360
  "icon": "rotate-ccw",
1322
- "variant": "primary"
1361
+ "type": "button",
1362
+ "action": "RESET"
1323
1363
  }
1324
1364
  ]
1325
1365
  }
1326
1366
  ],
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
- }
1344
- ]
1367
+ "appName": "Code Reviewer"
1345
1368
  }
1346
1369
  ]
1347
1370
  ]
@@ -1375,143 +1398,143 @@
1375
1398
  "main",
1376
1399
  {
1377
1400
  "appName": "Code Reviewer",
1378
- "type": "dashboard-layout",
1379
1401
  "navItems": [
1380
1402
  {
1381
- "href": "/review",
1382
1403
  "icon": "file-search",
1383
- "label": "Review"
1404
+ "label": "Review",
1405
+ "href": "/review"
1384
1406
  },
1385
1407
  {
1408
+ "label": "Analysis",
1386
1409
  "icon": "tag",
1387
- "href": "/analysis",
1388
- "label": "Analysis"
1410
+ "href": "/analysis"
1389
1411
  },
1390
1412
  {
1391
- "icon": "alert-triangle",
1392
1413
  "label": "Issues",
1393
- "href": "/issues"
1414
+ "href": "/issues",
1415
+ "icon": "alert-triangle"
1394
1416
  }
1395
1417
  ],
1418
+ "type": "dashboard-layout",
1396
1419
  "children": [
1397
1420
  {
1421
+ "gap": "lg",
1398
1422
  "type": "stack",
1399
1423
  "direction": "vertical",
1400
- "gap": "lg",
1401
1424
  "children": [
1402
1425
  {
1403
1426
  "direction": "horizontal",
1404
- "justify": "between",
1427
+ "gap": "sm",
1428
+ "align": "center",
1405
1429
  "children": [
1406
1430
  {
1407
- "type": "stack",
1408
- "direction": "horizontal",
1409
1431
  "gap": "sm",
1432
+ "type": "stack",
1410
1433
  "children": [
1411
1434
  {
1412
- "name": "check-circle",
1413
- "type": "icon"
1435
+ "type": "icon",
1436
+ "name": "check-circle"
1414
1437
  },
1415
1438
  {
1439
+ "content": "RAG Complete",
1416
1440
  "variant": "h2",
1417
- "type": "typography",
1418
- "content": "RAG Complete"
1441
+ "type": "typography"
1419
1442
  }
1420
1443
  ],
1421
- "align": "center"
1444
+ "align": "center",
1445
+ "direction": "horizontal"
1422
1446
  },
1423
1447
  {
1448
+ "variant": "ghost",
1424
1449
  "label": "New Query",
1425
- "type": "button",
1426
1450
  "icon": "rotate-ccw",
1427
- "action": "RESET",
1428
- "variant": "ghost"
1451
+ "type": "button",
1452
+ "action": "RESET"
1429
1453
  }
1430
1454
  ],
1431
1455
  "type": "stack",
1432
- "gap": "sm",
1433
- "align": "center"
1456
+ "justify": "between"
1434
1457
  },
1435
1458
  {
1436
1459
  "type": "divider"
1437
1460
  },
1438
1461
  {
1462
+ "type": "simple-grid",
1439
1463
  "cols": 2.0,
1440
1464
  "children": [
1441
1465
  {
1442
1466
  "value": "@entity.memoryHits",
1443
- "type": "stat-display",
1444
1467
  "icon": "brain",
1468
+ "type": "stat-display",
1445
1469
  "label": "Memory Hits"
1446
1470
  },
1447
1471
  {
1472
+ "label": "Code Hits",
1448
1473
  "icon": "code",
1449
1474
  "type": "stat-display",
1450
- "value": "@entity.searchHits",
1451
- "label": "Code Hits"
1475
+ "value": "@entity.searchHits"
1452
1476
  }
1453
- ],
1454
- "type": "simple-grid"
1477
+ ]
1455
1478
  },
1456
1479
  {
1457
1480
  "type": "divider"
1458
1481
  },
1459
1482
  {
1483
+ "type": "card",
1460
1484
  "children": [
1461
1485
  {
1486
+ "direction": "vertical",
1462
1487
  "children": [
1463
1488
  {
1464
- "type": "typography",
1465
1489
  "content": "Query",
1490
+ "type": "typography",
1466
1491
  "variant": "caption"
1467
1492
  },
1468
1493
  {
1469
- "content": "@entity.query",
1470
1494
  "variant": "body",
1471
- "type": "typography"
1495
+ "type": "typography",
1496
+ "content": "@entity.query"
1472
1497
  },
1473
1498
  {
1474
1499
  "type": "divider"
1475
1500
  },
1476
1501
  {
1477
1502
  "content": "Response",
1478
- "type": "typography",
1479
- "variant": "caption"
1503
+ "variant": "caption",
1504
+ "type": "typography"
1480
1505
  },
1481
1506
  {
1482
1507
  "type": "typography",
1483
- "variant": "body",
1484
- "content": "@entity.response"
1508
+ "content": "@entity.response",
1509
+ "variant": "body"
1485
1510
  }
1486
1511
  ],
1487
- "gap": "md",
1488
- "direction": "vertical",
1489
- "type": "stack"
1512
+ "type": "stack",
1513
+ "gap": "md"
1490
1514
  }
1491
- ],
1492
- "type": "card"
1515
+ ]
1493
1516
  },
1494
1517
  {
1495
- "type": "card",
1496
1518
  "children": [
1497
1519
  {
1498
- "type": "stack",
1499
- "direction": "vertical",
1500
1520
  "gap": "sm",
1521
+ "direction": "vertical",
1522
+ "type": "stack",
1501
1523
  "children": [
1502
1524
  {
1503
- "content": "Retrieved Context",
1504
1525
  "variant": "caption",
1505
- "type": "typography"
1526
+ "type": "typography",
1527
+ "content": "Retrieved Context"
1506
1528
  },
1507
1529
  {
1508
- "content": "@entity.context",
1509
1530
  "variant": "body",
1510
- "type": "typography"
1531
+ "type": "typography",
1532
+ "content": "@entity.context"
1511
1533
  }
1512
1534
  ]
1513
1535
  }
1514
- ]
1536
+ ],
1537
+ "type": "card"
1515
1538
  }
1516
1539
  ]
1517
1540
  }
@@ -1539,44 +1562,43 @@
1539
1562
  "render-ui",
1540
1563
  "main",
1541
1564
  {
1542
- "appName": "Code Reviewer",
1543
1565
  "children": [
1544
1566
  {
1545
- "direction": "vertical",
1546
- "type": "stack",
1547
1567
  "align": "center",
1548
- "gap": "lg",
1549
1568
  "children": [
1550
1569
  {
1551
- "type": "icon",
1552
- "name": "alert-triangle"
1570
+ "name": "alert-triangle",
1571
+ "type": "icon"
1553
1572
  },
1554
1573
  {
1555
1574
  "type": "typography",
1556
- "content": "RAG Pipeline Error",
1557
- "variant": "h2"
1575
+ "variant": "h2",
1576
+ "content": "RAG Pipeline Error"
1558
1577
  },
1559
1578
  {
1560
- "type": "alert",
1579
+ "message": "@entity.error",
1561
1580
  "variant": "error",
1562
- "message": "@entity.error"
1581
+ "type": "alert"
1563
1582
  },
1564
1583
  {
1565
1584
  "variant": "primary",
1585
+ "icon": "rotate-ccw",
1566
1586
  "label": "Try Again",
1567
- "type": "button",
1568
1587
  "action": "RESET",
1569
- "icon": "rotate-ccw"
1588
+ "type": "button"
1570
1589
  }
1571
- ]
1590
+ ],
1591
+ "type": "stack",
1592
+ "gap": "lg",
1593
+ "direction": "vertical"
1572
1594
  }
1573
1595
  ],
1574
1596
  "type": "dashboard-layout",
1575
1597
  "navItems": [
1576
1598
  {
1599
+ "label": "Review",
1577
1600
  "icon": "file-search",
1578
- "href": "/review",
1579
- "label": "Review"
1601
+ "href": "/review"
1580
1602
  },
1581
1603
  {
1582
1604
  "label": "Analysis",
@@ -1584,11 +1606,12 @@
1584
1606
  "icon": "tag"
1585
1607
  },
1586
1608
  {
1587
- "href": "/issues",
1588
1609
  "label": "Issues",
1589
- "icon": "alert-triangle"
1610
+ "icon": "alert-triangle",
1611
+ "href": "/issues"
1590
1612
  }
1591
- ]
1613
+ ],
1614
+ "appName": "Code Reviewer"
1592
1615
  }
1593
1616
  ]
1594
1617
  ]
@@ -1632,44 +1655,25 @@
1632
1655
  "render-ui",
1633
1656
  "main",
1634
1657
  {
1635
- "type": "dashboard-layout",
1636
- "appName": "Code Reviewer",
1637
- "navItems": [
1638
- {
1639
- "icon": "file-search",
1640
- "href": "/review",
1641
- "label": "Review"
1642
- },
1643
- {
1644
- "icon": "tag",
1645
- "href": "/analysis",
1646
- "label": "Analysis"
1647
- },
1648
- {
1649
- "icon": "alert-triangle",
1650
- "label": "Issues",
1651
- "href": "/issues"
1652
- }
1653
- ],
1654
1658
  "children": [
1655
1659
  {
1656
1660
  "children": [
1657
1661
  {
1658
- "type": "stack",
1662
+ "direction": "horizontal",
1659
1663
  "children": [
1660
1664
  {
1661
1665
  "type": "icon",
1662
1666
  "name": "brain"
1663
1667
  },
1664
1668
  {
1665
- "content": "RAG Pipeline",
1666
1669
  "variant": "h2",
1667
- "type": "typography"
1670
+ "type": "typography",
1671
+ "content": "RAG Pipeline"
1668
1672
  }
1669
1673
  ],
1670
- "direction": "horizontal",
1674
+ "gap": "sm",
1671
1675
  "align": "center",
1672
- "gap": "sm"
1676
+ "type": "stack"
1673
1677
  },
1674
1678
  {
1675
1679
  "type": "divider"
@@ -1680,30 +1684,49 @@
1680
1684
  {
1681
1685
  "type": "stack",
1682
1686
  "direction": "vertical",
1683
- "gap": "md",
1684
1687
  "children": [
1685
1688
  {
1686
- "variant": "body",
1689
+ "content": "Enter a query to retrieve context and generate a response",
1687
1690
  "type": "typography",
1688
- "content": "Enter a query to retrieve context and generate a response"
1691
+ "variant": "body"
1689
1692
  },
1690
1693
  {
1691
- "type": "form-section",
1692
1694
  "entity": "@entity",
1693
1695
  "mode": "edit",
1694
- "submitEvent": "GENERATE",
1695
1696
  "fields": [
1696
1697
  "query"
1697
- ]
1698
+ ],
1699
+ "type": "form-section",
1700
+ "submitEvent": "GENERATE"
1698
1701
  }
1699
- ]
1702
+ ],
1703
+ "gap": "md"
1700
1704
  }
1701
1705
  ]
1702
1706
  }
1703
1707
  ],
1708
+ "direction": "vertical",
1704
1709
  "gap": "lg",
1705
- "type": "stack",
1706
- "direction": "vertical"
1710
+ "type": "stack"
1711
+ }
1712
+ ],
1713
+ "appName": "Code Reviewer",
1714
+ "type": "dashboard-layout",
1715
+ "navItems": [
1716
+ {
1717
+ "icon": "file-search",
1718
+ "label": "Review",
1719
+ "href": "/review"
1720
+ },
1721
+ {
1722
+ "label": "Analysis",
1723
+ "href": "/analysis",
1724
+ "icon": "tag"
1725
+ },
1726
+ {
1727
+ "href": "/issues",
1728
+ "icon": "alert-triangle",
1729
+ "label": "Issues"
1707
1730
  }
1708
1731
  ]
1709
1732
  }
@@ -1719,6 +1742,15 @@
1719
1742
  "category": "interaction",
1720
1743
  "linkedEntity": "ReviewRag",
1721
1744
  "emits": [
1745
+ {
1746
+ "event": "SELECT_TAB",
1747
+ "payloadSchema": [
1748
+ {
1749
+ "name": "tabId",
1750
+ "type": "string"
1751
+ }
1752
+ ]
1753
+ },
1722
1754
  {
1723
1755
  "event": "ReviewRagLoaded",
1724
1756
  "description": "Fired when ReviewRag finishes loading",
@@ -1787,7 +1819,7 @@
1787
1819
  "name": "Select Tab",
1788
1820
  "payloadSchema": [
1789
1821
  {
1790
- "name": "tab",
1822
+ "name": "tabId",
1791
1823
  "type": "string"
1792
1824
  }
1793
1825
  ]
@@ -1804,8 +1836,8 @@
1804
1836
  "ReviewRag",
1805
1837
  {
1806
1838
  "emit": {
1807
- "failure": "ReviewRagLoadFailed",
1808
- "success": "ReviewRagLoaded"
1839
+ "success": "ReviewRagLoaded",
1840
+ "failure": "ReviewRagLoadFailed"
1809
1841
  }
1810
1842
  }
1811
1843
  ],
@@ -1813,22 +1845,22 @@
1813
1845
  "render-ui",
1814
1846
  "main",
1815
1847
  {
1848
+ "className": "py-12",
1849
+ "direction": "vertical",
1816
1850
  "children": [
1817
1851
  {
1818
1852
  "type": "spinner"
1819
1853
  },
1820
1854
  {
1821
- "color": "muted",
1822
1855
  "type": "typography",
1823
1856
  "content": "Loading RAG pipeline…",
1824
- "variant": "caption"
1857
+ "variant": "caption",
1858
+ "color": "muted"
1825
1859
  }
1826
1860
  ],
1827
- "direction": "vertical",
1828
- "gap": "md",
1829
1861
  "type": "stack",
1830
- "align": "center",
1831
- "className": "py-12"
1862
+ "gap": "md",
1863
+ "align": "center"
1832
1864
  }
1833
1865
  ]
1834
1866
  ]
@@ -1842,44 +1874,43 @@
1842
1874
  "render-ui",
1843
1875
  "main",
1844
1876
  {
1877
+ "appName": "Code Reviewer",
1845
1878
  "navItems": [
1846
1879
  {
1847
- "href": "/review",
1848
1880
  "icon": "file-search",
1849
- "label": "Review"
1881
+ "label": "Review",
1882
+ "href": "/review"
1850
1883
  },
1851
1884
  {
1852
- "href": "/analysis",
1853
1885
  "icon": "tag",
1854
- "label": "Analysis"
1886
+ "label": "Analysis",
1887
+ "href": "/analysis"
1855
1888
  },
1856
1889
  {
1857
1890
  "label": "Issues",
1858
- "href": "/issues",
1859
- "icon": "alert-triangle"
1891
+ "icon": "alert-triangle",
1892
+ "href": "/issues"
1860
1893
  }
1861
1894
  ],
1862
- "type": "dashboard-layout",
1863
- "appName": "Code Reviewer",
1864
1895
  "children": [
1865
1896
  {
1866
- "type": "stack",
1867
1897
  "direction": "vertical",
1898
+ "type": "stack",
1868
1899
  "gap": "lg",
1869
1900
  "children": [
1870
1901
  {
1902
+ "type": "stack",
1871
1903
  "direction": "horizontal",
1872
1904
  "align": "center",
1873
- "type": "stack",
1874
1905
  "children": [
1875
1906
  {
1876
1907
  "name": "brain",
1877
1908
  "type": "icon"
1878
1909
  },
1879
1910
  {
1880
- "content": "RAG Pipeline",
1911
+ "type": "typography",
1881
1912
  "variant": "h2",
1882
- "type": "typography"
1913
+ "content": "RAG Pipeline"
1883
1914
  }
1884
1915
  ],
1885
1916
  "gap": "sm"
@@ -1888,37 +1919,37 @@
1888
1919
  "type": "divider"
1889
1920
  },
1890
1921
  {
1922
+ "defaultActiveTab": "query",
1891
1923
  "type": "tabs",
1924
+ "tabChangeEvent": "SELECT_TAB",
1892
1925
  "tabs": [
1893
1926
  {
1894
1927
  "label": "Query",
1895
1928
  "value": "query"
1896
1929
  },
1897
1930
  {
1898
- "value": "sources",
1899
- "label": "Sources"
1931
+ "label": "Sources",
1932
+ "value": "sources"
1900
1933
  },
1901
1934
  {
1902
- "label": "Response",
1903
- "value": "response"
1935
+ "value": "response",
1936
+ "label": "Response"
1904
1937
  }
1905
- ],
1906
- "defaultActiveTab": "query",
1907
- "onTabChange": "SELECT_TAB"
1938
+ ]
1908
1939
  },
1909
1940
  {
1910
1941
  "type": "divider"
1911
1942
  },
1912
1943
  {
1913
- "className": "transition-shadow hover:shadow-md cursor-pointer",
1914
1944
  "entity": "@payload.data",
1945
+ "type": "data-grid",
1946
+ "fields": [],
1947
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
1915
1948
  "renderItem": [
1916
1949
  "fn",
1917
1950
  "item",
1918
1951
  {
1919
- "type": "stack",
1920
1952
  "gap": "sm",
1921
- "direction": "vertical",
1922
1953
  "children": [
1923
1954
  {
1924
1955
  "type": "typography",
@@ -1926,20 +1957,21 @@
1926
1957
  "content": "@item.query"
1927
1958
  },
1928
1959
  {
1929
- "content": "@item.query",
1930
1960
  "type": "typography",
1961
+ "content": "@item.query",
1931
1962
  "color": "muted",
1932
1963
  "variant": "caption"
1933
1964
  }
1934
- ]
1965
+ ],
1966
+ "direction": "vertical",
1967
+ "type": "stack"
1935
1968
  }
1936
- ],
1937
- "fields": [],
1938
- "type": "data-grid"
1969
+ ]
1939
1970
  }
1940
1971
  ]
1941
1972
  }
1942
- ]
1973
+ ],
1974
+ "type": "dashboard-layout"
1943
1975
  }
1944
1976
  ]
1945
1977
  ]
@@ -1953,36 +1985,36 @@
1953
1985
  "render-ui",
1954
1986
  "main",
1955
1987
  {
1956
- "align": "center",
1957
1988
  "type": "stack",
1989
+ "align": "center",
1958
1990
  "children": [
1959
1991
  {
1960
- "color": "destructive",
1961
1992
  "type": "icon",
1993
+ "color": "destructive",
1962
1994
  "name": "alert-triangle"
1963
1995
  },
1964
1996
  {
1965
1997
  "variant": "h3",
1966
- "content": "Failed to load RAG pipeline",
1967
- "type": "typography"
1998
+ "type": "typography",
1999
+ "content": "Failed to load RAG pipeline"
1968
2000
  },
1969
2001
  {
1970
2002
  "color": "muted",
1971
- "content": "@payload.error",
1972
2003
  "variant": "body",
1973
- "type": "typography"
2004
+ "type": "typography",
2005
+ "content": "@payload.error"
1974
2006
  },
1975
2007
  {
2008
+ "label": "Retry",
2009
+ "icon": "rotate-ccw",
1976
2010
  "action": "INIT",
1977
2011
  "type": "button",
1978
- "icon": "rotate-ccw",
1979
- "label": "Retry",
1980
2012
  "variant": "primary"
1981
2013
  }
1982
2014
  ],
1983
2015
  "gap": "md",
1984
- "className": "py-12",
1985
- "direction": "vertical"
2016
+ "direction": "vertical",
2017
+ "className": "py-12"
1986
2018
  }
1987
2019
  ]
1988
2020
  ]
@@ -2095,8 +2127,8 @@
2095
2127
  "ReviewRag",
2096
2128
  {
2097
2129
  "emit": {
2098
- "success": "ReviewRagLoaded",
2099
- "failure": "ReviewRagLoadFailed"
2130
+ "failure": "ReviewRagLoadFailed",
2131
+ "success": "ReviewRagLoaded"
2100
2132
  }
2101
2133
  }
2102
2134
  ],
@@ -2104,22 +2136,22 @@
2104
2136
  "render-ui",
2105
2137
  "main",
2106
2138
  {
2107
- "direction": "vertical",
2108
- "gap": "md",
2109
2139
  "type": "stack",
2110
- "align": "center",
2111
- "className": "py-12",
2140
+ "direction": "vertical",
2112
2141
  "children": [
2113
2142
  {
2114
2143
  "type": "spinner"
2115
2144
  },
2116
2145
  {
2117
2146
  "content": "Loading…",
2118
- "color": "muted",
2147
+ "variant": "caption",
2119
2148
  "type": "typography",
2120
- "variant": "caption"
2149
+ "color": "muted"
2121
2150
  }
2122
- ]
2151
+ ],
2152
+ "className": "py-12",
2153
+ "align": "center",
2154
+ "gap": "md"
2123
2155
  }
2124
2156
  ]
2125
2157
  ]
@@ -2133,143 +2165,98 @@
2133
2165
  "render-ui",
2134
2166
  "main",
2135
2167
  {
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
- ],
2154
- "type": "dashboard-layout",
2155
2168
  "children": [
2156
2169
  {
2157
2170
  "gap": "lg",
2171
+ "direction": "vertical",
2172
+ "type": "stack",
2173
+ "className": "max-w-5xl mx-auto w-full",
2158
2174
  "children": [
2159
2175
  {
2176
+ "type": "stack",
2177
+ "direction": "horizontal",
2178
+ "gap": "md",
2179
+ "justify": "between",
2180
+ "align": "center",
2160
2181
  "children": [
2161
2182
  {
2183
+ "direction": "horizontal",
2162
2184
  "children": [
2163
2185
  {
2164
2186
  "name": "brain",
2165
2187
  "type": "icon"
2166
2188
  },
2167
2189
  {
2168
- "content": "ReviewRag Manager",
2169
2190
  "variant": "h2",
2170
- "type": "typography"
2191
+ "type": "typography",
2192
+ "content": "ReviewRag Manager"
2171
2193
  }
2172
2194
  ],
2173
- "type": "stack",
2174
- "align": "center",
2175
- "gap": "sm",
2176
- "direction": "horizontal"
2177
- },
2178
- {
2179
2195
  "type": "stack",
2180
2196
  "gap": "sm",
2181
- "direction": "horizontal",
2182
- "children": [
2183
- {
2184
- "label": "Memorize",
2185
- "type": "button",
2186
- "action": "MEMORIZE",
2187
- "icon": "plus",
2188
- "variant": "primary"
2189
- },
2190
- {
2191
- "label": "Recall",
2192
- "type": "button",
2193
- "variant": "secondary",
2194
- "icon": "search",
2195
- "action": "RECALL"
2196
- },
2197
- {
2198
- "variant": "ghost",
2199
- "icon": "clock",
2200
- "label": "Decay All",
2201
- "type": "button",
2202
- "action": "DECAY"
2203
- }
2204
- ]
2197
+ "align": "center"
2205
2198
  }
2206
- ],
2207
- "type": "stack",
2208
- "gap": "md",
2209
- "direction": "horizontal",
2210
- "align": "center",
2211
- "justify": "between"
2199
+ ]
2212
2200
  },
2213
2201
  {
2214
2202
  "type": "divider"
2215
2203
  },
2216
2204
  {
2217
2205
  "entity": "@payload.data",
2218
- "type": "data-grid",
2219
- "itemActions": [
2220
- {
2221
- "event": "PIN",
2222
- "variant": "ghost",
2223
- "label": "Pin"
2224
- },
2225
- {
2226
- "label": "Reinforce",
2227
- "variant": "ghost",
2228
- "event": "REINFORCE"
2229
- },
2230
- {
2231
- "variant": "danger",
2232
- "event": "FORGET",
2233
- "label": "Forget"
2234
- }
2235
- ],
2236
2206
  "fields": [
2237
2207
  {
2238
- "icon": "brain",
2239
- "name": "content",
2240
2208
  "label": "Content",
2209
+ "name": "content",
2210
+ "icon": "brain",
2241
2211
  "variant": "h4"
2242
2212
  },
2243
2213
  {
2244
- "name": "category",
2245
2214
  "label": "Category",
2246
- "variant": "badge",
2215
+ "name": "category",
2247
2216
  "colorMap": {
2248
- "error": "destructive",
2217
+ "inactive": "neutral",
2218
+ "failed": "destructive",
2219
+ "archived": "neutral",
2220
+ "pending": "warning",
2249
2221
  "draft": "warning",
2250
2222
  "scheduled": "warning",
2251
- "pending": "warning",
2252
- "archived": "neutral",
2253
- "failed": "destructive",
2223
+ "disabled": "neutral",
2254
2224
  "completed": "success",
2255
2225
  "done": "success",
2226
+ "error": "destructive",
2256
2227
  "cancelled": "destructive",
2257
- "active": "success",
2258
- "inactive": "neutral",
2259
- "disabled": "neutral"
2260
- }
2228
+ "active": "success"
2229
+ },
2230
+ "variant": "badge"
2261
2231
  },
2262
2232
  {
2263
- "variant": "caption",
2264
2233
  "label": "Strength",
2265
- "name": "strength"
2234
+ "name": "strength",
2235
+ "variant": "caption"
2266
2236
  }
2267
- ]
2237
+ ],
2238
+ "type": "data-grid"
2268
2239
  }
2269
- ],
2270
- "className": "max-w-5xl mx-auto w-full",
2271
- "type": "stack",
2272
- "direction": "vertical"
2240
+ ]
2241
+ }
2242
+ ],
2243
+ "type": "dashboard-layout",
2244
+ "appName": "Code Reviewer",
2245
+ "navItems": [
2246
+ {
2247
+ "label": "Review",
2248
+ "icon": "file-search",
2249
+ "href": "/review"
2250
+ },
2251
+ {
2252
+ "href": "/analysis",
2253
+ "icon": "tag",
2254
+ "label": "Analysis"
2255
+ },
2256
+ {
2257
+ "href": "/issues",
2258
+ "icon": "alert-triangle",
2259
+ "label": "Issues"
2273
2260
  }
2274
2261
  ]
2275
2262
  }
@@ -2285,11 +2272,11 @@
2285
2272
  "render-ui",
2286
2273
  "main",
2287
2274
  {
2288
- "className": "py-12",
2275
+ "align": "center",
2276
+ "direction": "vertical",
2289
2277
  "gap": "md",
2278
+ "className": "py-12",
2290
2279
  "type": "stack",
2291
- "direction": "vertical",
2292
- "align": "center",
2293
2280
  "children": [
2294
2281
  {
2295
2282
  "name": "alert-triangle",
@@ -2297,22 +2284,22 @@
2297
2284
  "type": "icon"
2298
2285
  },
2299
2286
  {
2287
+ "variant": "h3",
2300
2288
  "content": "Failed to load reviewrag",
2301
- "type": "typography",
2302
- "variant": "h3"
2289
+ "type": "typography"
2303
2290
  },
2304
2291
  {
2305
2292
  "variant": "body",
2306
2293
  "content": "@payload.error",
2307
- "type": "typography",
2308
- "color": "muted"
2294
+ "color": "muted",
2295
+ "type": "typography"
2309
2296
  },
2310
2297
  {
2311
- "variant": "primary",
2298
+ "icon": "rotate-ccw",
2299
+ "label": "Retry",
2312
2300
  "action": "INIT",
2313
2301
  "type": "button",
2314
- "label": "Retry",
2315
- "icon": "rotate-ccw"
2302
+ "variant": "primary"
2316
2303
  }
2317
2304
  ]
2318
2305
  }
@@ -2412,22 +2399,22 @@
2412
2399
  "render-ui",
2413
2400
  "main",
2414
2401
  {
2402
+ "align": "center",
2403
+ "direction": "vertical",
2404
+ "className": "py-12",
2405
+ "gap": "md",
2415
2406
  "children": [
2416
2407
  {
2417
2408
  "type": "spinner"
2418
2409
  },
2419
2410
  {
2420
- "type": "typography",
2421
2411
  "variant": "caption",
2422
- "color": "muted",
2423
- "content": "Loading…"
2412
+ "content": "Loading…",
2413
+ "type": "typography",
2414
+ "color": "muted"
2424
2415
  }
2425
2416
  ],
2426
- "gap": "md",
2427
- "type": "stack",
2428
- "direction": "vertical",
2429
- "align": "center",
2430
- "className": "py-12"
2417
+ "type": "stack"
2431
2418
  }
2432
2419
  ]
2433
2420
  ]
@@ -2441,95 +2428,88 @@
2441
2428
  "render-ui",
2442
2429
  "main",
2443
2430
  {
2444
- "type": "dashboard-layout",
2445
2431
  "appName": "Code Reviewer",
2432
+ "type": "dashboard-layout",
2433
+ "navItems": [
2434
+ {
2435
+ "label": "Review",
2436
+ "href": "/review",
2437
+ "icon": "file-search"
2438
+ },
2439
+ {
2440
+ "href": "/analysis",
2441
+ "icon": "tag",
2442
+ "label": "Analysis"
2443
+ },
2444
+ {
2445
+ "label": "Issues",
2446
+ "icon": "alert-triangle",
2447
+ "href": "/issues"
2448
+ }
2449
+ ],
2446
2450
  "children": [
2447
2451
  {
2452
+ "direction": "vertical",
2453
+ "className": "max-w-5xl mx-auto w-full",
2454
+ "type": "stack",
2455
+ "gap": "lg",
2448
2456
  "children": [
2449
2457
  {
2450
2458
  "gap": "md",
2451
- "align": "center",
2459
+ "justify": "between",
2452
2460
  "type": "stack",
2453
- "direction": "horizontal",
2461
+ "align": "center",
2454
2462
  "children": [
2455
2463
  {
2456
- "align": "center",
2457
- "gap": "sm",
2458
2464
  "direction": "horizontal",
2465
+ "gap": "sm",
2466
+ "type": "stack",
2459
2467
  "children": [
2460
2468
  {
2461
- "name": "search",
2462
- "type": "icon"
2469
+ "type": "icon",
2470
+ "name": "search"
2463
2471
  },
2464
2472
  {
2465
- "type": "typography",
2466
2473
  "content": "ReviewRag",
2467
- "variant": "h2"
2468
- }
2469
- ],
2470
- "type": "stack"
2471
- },
2472
- {
2473
- "children": [
2474
- {
2475
- "type": "button",
2476
- "action": "SEARCH",
2477
- "variant": "primary",
2478
- "icon": "search",
2479
- "label": "Search"
2480
- },
2481
- {
2482
- "icon": "x",
2483
- "type": "button",
2484
- "label": "Clear",
2485
- "action": "CLEAR",
2486
- "variant": "ghost"
2474
+ "variant": "h2",
2475
+ "type": "typography"
2487
2476
  }
2488
2477
  ],
2489
- "gap": "sm",
2490
- "direction": "horizontal",
2491
- "type": "stack"
2478
+ "align": "center"
2492
2479
  }
2493
2480
  ],
2494
- "justify": "between"
2481
+ "direction": "horizontal"
2495
2482
  },
2496
2483
  {
2497
2484
  "type": "divider"
2498
2485
  },
2499
2486
  {
2500
- "itemActions": [
2501
- {
2502
- "event": "VIEW",
2503
- "variant": "ghost",
2504
- "label": "View"
2505
- }
2506
- ],
2507
2487
  "type": "data-grid",
2508
2488
  "entity": "@payload.data",
2509
2489
  "fields": [
2510
2490
  {
2511
2491
  "label": "Query",
2512
2492
  "variant": "h4",
2513
- "name": "query",
2514
- "icon": "search"
2493
+ "icon": "search",
2494
+ "name": "query"
2515
2495
  },
2516
2496
  {
2517
- "variant": "badge",
2497
+ "name": "language",
2518
2498
  "colorMap": {
2519
- "done": "success",
2520
- "draft": "warning",
2521
- "archived": "neutral",
2522
- "failed": "destructive",
2523
- "cancelled": "destructive",
2524
- "error": "destructive",
2525
- "pending": "warning",
2526
2499
  "scheduled": "warning",
2527
2500
  "inactive": "neutral",
2501
+ "draft": "warning",
2502
+ "cancelled": "destructive",
2528
2503
  "active": "success",
2529
2504
  "disabled": "neutral",
2530
- "completed": "success"
2505
+ "error": "destructive",
2506
+ "archived": "neutral",
2507
+ "done": "success",
2508
+ "completed": "success",
2509
+ "failed": "destructive",
2510
+ "pending": "warning"
2531
2511
  },
2532
- "name": "language",
2512
+ "variant": "badge",
2533
2513
  "label": "Language"
2534
2514
  },
2535
2515
  {
@@ -2539,28 +2519,7 @@
2539
2519
  }
2540
2520
  ]
2541
2521
  }
2542
- ],
2543
- "type": "stack",
2544
- "direction": "vertical",
2545
- "gap": "lg",
2546
- "className": "max-w-5xl mx-auto w-full"
2547
- }
2548
- ],
2549
- "navItems": [
2550
- {
2551
- "label": "Review",
2552
- "href": "/review",
2553
- "icon": "file-search"
2554
- },
2555
- {
2556
- "icon": "tag",
2557
- "href": "/analysis",
2558
- "label": "Analysis"
2559
- },
2560
- {
2561
- "href": "/issues",
2562
- "label": "Issues",
2563
- "icon": "alert-triangle"
2522
+ ]
2564
2523
  }
2565
2524
  ]
2566
2525
  }
@@ -2576,16 +2535,16 @@
2576
2535
  "render-ui",
2577
2536
  "main",
2578
2537
  {
2579
- "gap": "md",
2580
2538
  "align": "center",
2581
2539
  "className": "py-12",
2582
- "type": "stack",
2583
2540
  "direction": "vertical",
2541
+ "gap": "md",
2542
+ "type": "stack",
2584
2543
  "children": [
2585
2544
  {
2545
+ "color": "destructive",
2586
2546
  "type": "icon",
2587
- "name": "alert-triangle",
2588
- "color": "destructive"
2547
+ "name": "alert-triangle"
2589
2548
  },
2590
2549
  {
2591
2550
  "variant": "h3",
@@ -2601,9 +2560,9 @@
2601
2560
  {
2602
2561
  "variant": "primary",
2603
2562
  "type": "button",
2604
- "action": "INIT",
2563
+ "icon": "rotate-ccw",
2605
2564
  "label": "Retry",
2606
- "icon": "rotate-ccw"
2565
+ "action": "INIT"
2607
2566
  }
2608
2567
  ]
2609
2568
  }
@@ -2773,13 +2732,23 @@
2773
2732
  "to": "closed",
2774
2733
  "event": "INIT",
2775
2734
  "effects": [
2735
+ [
2736
+ "set",
2737
+ "@entity.model",
2738
+ ""
2739
+ ],
2740
+ [
2741
+ "set",
2742
+ "@entity.provider",
2743
+ ""
2744
+ ],
2776
2745
  [
2777
2746
  "fetch",
2778
2747
  "ReviewRag",
2779
2748
  {
2780
2749
  "emit": {
2781
- "failure": "ReviewRagLoadFailed",
2782
- "success": "ReviewRagLoaded"
2750
+ "success": "ReviewRagLoaded",
2751
+ "failure": "ReviewRagLoadFailed"
2783
2752
  }
2784
2753
  }
2785
2754
  ],
@@ -2787,72 +2756,72 @@
2787
2756
  "render-ui",
2788
2757
  "main",
2789
2758
  {
2790
- "appName": "Code Reviewer",
2791
2759
  "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
- ],
2809
2760
  "children": [
2810
2761
  {
2811
2762
  "type": "stack",
2812
2763
  "gap": "lg",
2813
- "direction": "vertical",
2814
2764
  "children": [
2815
2765
  {
2816
- "gap": "md",
2766
+ "type": "stack",
2767
+ "justify": "between",
2817
2768
  "direction": "horizontal",
2769
+ "gap": "md",
2818
2770
  "children": [
2819
2771
  {
2820
- "direction": "horizontal",
2821
- "gap": "md",
2822
- "type": "stack",
2823
2772
  "children": [
2824
2773
  {
2825
- "type": "icon",
2826
- "name": "sparkles"
2774
+ "name": "sparkles",
2775
+ "type": "icon"
2827
2776
  },
2828
2777
  {
2829
- "variant": "h2",
2778
+ "content": "ReviewRag",
2830
2779
  "type": "typography",
2831
- "content": "ReviewRag"
2780
+ "variant": "h2"
2832
2781
  }
2833
- ]
2782
+ ],
2783
+ "direction": "horizontal",
2784
+ "type": "stack",
2785
+ "gap": "md"
2834
2786
  },
2835
2787
  {
2836
- "label": "Open",
2837
- "icon": "sparkles",
2838
- "type": "button",
2839
2788
  "action": "GENERATE",
2840
- "variant": "primary"
2789
+ "type": "button",
2790
+ "variant": "primary",
2791
+ "icon": "sparkles",
2792
+ "label": "Open"
2841
2793
  }
2842
- ],
2843
- "type": "stack",
2844
- "justify": "between"
2794
+ ]
2845
2795
  },
2846
2796
  {
2847
2797
  "type": "divider"
2848
2798
  },
2849
2799
  {
2850
- "icon": "sparkles",
2800
+ "type": "empty-state",
2851
2801
  "description": "Click Open to view details in a modal overlay.",
2852
2802
  "title": "Nothing open",
2853
- "type": "empty-state"
2803
+ "icon": "sparkles"
2854
2804
  }
2855
- ]
2805
+ ],
2806
+ "direction": "vertical"
2807
+ }
2808
+ ],
2809
+ "appName": "Code Reviewer",
2810
+ "navItems": [
2811
+ {
2812
+ "icon": "file-search",
2813
+ "href": "/review",
2814
+ "label": "Review"
2815
+ },
2816
+ {
2817
+ "icon": "tag",
2818
+ "href": "/analysis",
2819
+ "label": "Analysis"
2820
+ },
2821
+ {
2822
+ "label": "Issues",
2823
+ "icon": "alert-triangle",
2824
+ "href": "/issues"
2856
2825
  }
2857
2826
  ]
2858
2827
  }
@@ -2869,53 +2838,53 @@
2869
2838
  "modal",
2870
2839
  {
2871
2840
  "type": "stack",
2841
+ "direction": "vertical",
2872
2842
  "children": [
2873
2843
  {
2844
+ "direction": "horizontal",
2845
+ "gap": "sm",
2874
2846
  "children": [
2875
2847
  {
2876
2848
  "name": "sparkles",
2877
2849
  "type": "icon"
2878
2850
  },
2879
2851
  {
2880
- "type": "typography",
2852
+ "variant": "h3",
2881
2853
  "content": "ReviewRag",
2882
- "variant": "h3"
2854
+ "type": "typography"
2883
2855
  }
2884
2856
  ],
2885
- "gap": "sm",
2886
- "type": "stack",
2887
- "direction": "horizontal"
2857
+ "type": "stack"
2888
2858
  },
2889
2859
  {
2890
2860
  "type": "divider"
2891
2861
  },
2892
2862
  {
2893
- "type": "stack",
2894
- "direction": "horizontal",
2895
2863
  "children": [
2896
2864
  {
2897
2865
  "type": "badge",
2898
2866
  "label": "@entity.provider"
2899
2867
  },
2900
2868
  {
2901
- "label": "@entity.model",
2902
- "type": "badge"
2869
+ "type": "badge",
2870
+ "label": "@entity.model"
2903
2871
  }
2904
2872
  ],
2905
- "gap": "sm"
2873
+ "gap": "sm",
2874
+ "type": "stack",
2875
+ "direction": "horizontal"
2906
2876
  },
2907
2877
  {
2878
+ "type": "form-section",
2879
+ "mode": "create",
2880
+ "cancelEvent": "CLOSE",
2908
2881
  "fields": [
2909
2882
  "prompt"
2910
2883
  ],
2911
- "submitEvent": "SAVE",
2912
- "type": "form-section",
2913
- "mode": "create",
2914
- "cancelEvent": "CLOSE"
2884
+ "submitEvent": "SAVE"
2915
2885
  }
2916
2886
  ],
2917
- "gap": "md",
2918
- "direction": "vertical"
2887
+ "gap": "md"
2919
2888
  }
2920
2889
  ]
2921
2890
  ]
@@ -2940,8 +2909,8 @@
2940
2909
  "ReviewRag",
2941
2910
  {
2942
2911
  "emit": {
2943
- "failure": "ReviewRagLoadFailed",
2944
- "success": "ReviewRagLoaded"
2912
+ "success": "ReviewRagLoaded",
2913
+ "failure": "ReviewRagLoadFailed"
2945
2914
  }
2946
2915
  }
2947
2916
  ],
@@ -2951,59 +2920,56 @@
2951
2920
  {
2952
2921
  "navItems": [
2953
2922
  {
2923
+ "icon": "file-search",
2954
2924
  "label": "Review",
2955
- "href": "/review",
2956
- "icon": "file-search"
2925
+ "href": "/review"
2957
2926
  },
2958
2927
  {
2959
2928
  "label": "Analysis",
2960
- "icon": "tag",
2961
- "href": "/analysis"
2929
+ "href": "/analysis",
2930
+ "icon": "tag"
2962
2931
  },
2963
2932
  {
2964
- "icon": "alert-triangle",
2965
2933
  "href": "/issues",
2934
+ "icon": "alert-triangle",
2966
2935
  "label": "Issues"
2967
2936
  }
2968
2937
  ],
2969
- "appName": "Code Reviewer",
2970
2938
  "type": "dashboard-layout",
2939
+ "appName": "Code Reviewer",
2971
2940
  "children": [
2972
2941
  {
2973
- "type": "stack",
2974
- "gap": "lg",
2975
- "direction": "vertical",
2976
2942
  "children": [
2977
2943
  {
2978
- "gap": "md",
2944
+ "type": "stack",
2945
+ "justify": "between",
2979
2946
  "children": [
2980
2947
  {
2981
2948
  "children": [
2982
2949
  {
2983
- "name": "sparkles",
2984
- "type": "icon"
2950
+ "type": "icon",
2951
+ "name": "sparkles"
2985
2952
  },
2986
2953
  {
2987
- "variant": "h2",
2988
2954
  "content": "ReviewRag",
2955
+ "variant": "h2",
2989
2956
  "type": "typography"
2990
2957
  }
2991
2958
  ],
2992
- "type": "stack",
2993
2959
  "direction": "horizontal",
2960
+ "type": "stack",
2994
2961
  "gap": "md"
2995
2962
  },
2996
2963
  {
2997
- "type": "button",
2998
2964
  "label": "Open",
2999
2965
  "action": "GENERATE",
2966
+ "variant": "primary",
3000
2967
  "icon": "sparkles",
3001
- "variant": "primary"
2968
+ "type": "button"
3002
2969
  }
3003
2970
  ],
3004
- "type": "stack",
3005
- "direction": "horizontal",
3006
- "justify": "between"
2971
+ "gap": "md",
2972
+ "direction": "horizontal"
3007
2973
  },
3008
2974
  {
3009
2975
  "type": "divider"
@@ -3014,7 +2980,10 @@
3014
2980
  "type": "empty-state",
3015
2981
  "title": "Nothing open"
3016
2982
  }
3017
- ]
2983
+ ],
2984
+ "type": "stack",
2985
+ "gap": "lg",
2986
+ "direction": "vertical"
3018
2987
  }
3019
2988
  ]
3020
2989
  }
@@ -3033,8 +3002,8 @@
3033
3002
  "@payload.data",
3034
3003
  {
3035
3004
  "emit": {
3036
- "failure": "ReviewRagSaveFailed",
3037
- "success": "ReviewRagSaved"
3005
+ "success": "ReviewRagSaved",
3006
+ "failure": "ReviewRagSaveFailed"
3038
3007
  }
3039
3008
  }
3040
3009
  ],
@@ -3052,8 +3021,8 @@
3052
3021
  "ReviewRag",
3053
3022
  {
3054
3023
  "emit": {
3055
- "failure": "ReviewRagLoadFailed",
3056
- "success": "ReviewRagLoaded"
3024
+ "success": "ReviewRagLoaded",
3025
+ "failure": "ReviewRagLoadFailed"
3057
3026
  }
3058
3027
  }
3059
3028
  ],
@@ -3061,74 +3030,74 @@
3061
3030
  "render-ui",
3062
3031
  "main",
3063
3032
  {
3033
+ "type": "dashboard-layout",
3034
+ "navItems": [
3035
+ {
3036
+ "href": "/review",
3037
+ "label": "Review",
3038
+ "icon": "file-search"
3039
+ },
3040
+ {
3041
+ "icon": "tag",
3042
+ "href": "/analysis",
3043
+ "label": "Analysis"
3044
+ },
3045
+ {
3046
+ "href": "/issues",
3047
+ "icon": "alert-triangle",
3048
+ "label": "Issues"
3049
+ }
3050
+ ],
3064
3051
  "children": [
3065
3052
  {
3053
+ "type": "stack",
3066
3054
  "gap": "lg",
3055
+ "direction": "vertical",
3067
3056
  "children": [
3068
3057
  {
3069
- "justify": "between",
3070
- "type": "stack",
3071
3058
  "direction": "horizontal",
3059
+ "gap": "md",
3072
3060
  "children": [
3073
3061
  {
3074
- "direction": "horizontal",
3075
- "type": "stack",
3076
- "gap": "md",
3077
3062
  "children": [
3078
3063
  {
3079
- "name": "sparkles",
3080
- "type": "icon"
3064
+ "type": "icon",
3065
+ "name": "sparkles"
3081
3066
  },
3082
3067
  {
3083
- "variant": "h2",
3068
+ "type": "typography",
3084
3069
  "content": "ReviewRag",
3085
- "type": "typography"
3070
+ "variant": "h2"
3086
3071
  }
3087
- ]
3072
+ ],
3073
+ "type": "stack",
3074
+ "gap": "md",
3075
+ "direction": "horizontal"
3088
3076
  },
3089
3077
  {
3090
- "type": "button",
3091
- "label": "Open",
3078
+ "action": "GENERATE",
3092
3079
  "variant": "primary",
3093
3080
  "icon": "sparkles",
3094
- "action": "GENERATE"
3081
+ "type": "button",
3082
+ "label": "Open"
3095
3083
  }
3096
3084
  ],
3097
- "gap": "md"
3085
+ "justify": "between",
3086
+ "type": "stack"
3098
3087
  },
3099
3088
  {
3100
3089
  "type": "divider"
3101
3090
  },
3102
3091
  {
3103
- "description": "Click Open to view details in a modal overlay.",
3092
+ "icon": "sparkles",
3104
3093
  "title": "Nothing open",
3105
3094
  "type": "empty-state",
3106
- "icon": "sparkles"
3095
+ "description": "Click Open to view details in a modal overlay."
3107
3096
  }
3108
- ],
3109
- "type": "stack",
3110
- "direction": "vertical"
3097
+ ]
3111
3098
  }
3112
3099
  ],
3113
- "type": "dashboard-layout",
3114
- "appName": "Code Reviewer",
3115
- "navItems": [
3116
- {
3117
- "icon": "file-search",
3118
- "label": "Review",
3119
- "href": "/review"
3120
- },
3121
- {
3122
- "label": "Analysis",
3123
- "href": "/analysis",
3124
- "icon": "tag"
3125
- },
3126
- {
3127
- "label": "Issues",
3128
- "icon": "alert-triangle",
3129
- "href": "/issues"
3130
- }
3131
- ]
3100
+ "appName": "Code Reviewer"
3132
3101
  }
3133
3102
  ]
3134
3103
  ]
@@ -3373,67 +3342,67 @@
3373
3342
  {
3374
3343
  "navItems": [
3375
3344
  {
3376
- "icon": "file-search",
3345
+ "href": "/review",
3377
3346
  "label": "Review",
3378
- "href": "/review"
3347
+ "icon": "file-search"
3379
3348
  },
3380
3349
  {
3381
- "href": "/analysis",
3382
3350
  "label": "Analysis",
3383
- "icon": "tag"
3351
+ "icon": "tag",
3352
+ "href": "/analysis"
3384
3353
  },
3385
3354
  {
3386
3355
  "href": "/issues",
3387
- "label": "Issues",
3388
- "icon": "alert-triangle"
3356
+ "icon": "alert-triangle",
3357
+ "label": "Issues"
3389
3358
  }
3390
3359
  ],
3391
3360
  "type": "dashboard-layout",
3392
3361
  "children": [
3393
3362
  {
3363
+ "gap": "lg",
3394
3364
  "type": "stack",
3395
3365
  "direction": "vertical",
3396
- "gap": "lg",
3397
3366
  "children": [
3398
3367
  {
3368
+ "gap": "md",
3369
+ "justify": "between",
3370
+ "direction": "horizontal",
3371
+ "type": "stack",
3399
3372
  "children": [
3400
3373
  {
3401
3374
  "type": "stack",
3402
- "gap": "md",
3403
3375
  "children": [
3404
3376
  {
3405
- "type": "icon",
3406
- "name": "tag"
3377
+ "name": "tag",
3378
+ "type": "icon"
3407
3379
  },
3408
3380
  {
3381
+ "variant": "h2",
3409
3382
  "type": "typography",
3410
- "content": "Analysis",
3411
- "variant": "h2"
3383
+ "content": "Analysis"
3412
3384
  }
3413
3385
  ],
3414
- "direction": "horizontal"
3386
+ "direction": "horizontal",
3387
+ "gap": "md"
3415
3388
  },
3416
3389
  {
3417
- "type": "button",
3390
+ "icon": "tag",
3391
+ "label": "Open",
3418
3392
  "variant": "primary",
3419
3393
  "action": "CLASSIFY",
3420
- "icon": "tag",
3421
- "label": "Open"
3394
+ "type": "button"
3422
3395
  }
3423
- ],
3424
- "gap": "md",
3425
- "type": "stack",
3426
- "direction": "horizontal",
3427
- "justify": "between"
3396
+ ]
3428
3397
  },
3429
3398
  {
3430
3399
  "type": "divider"
3431
3400
  },
3432
3401
  {
3433
- "icon": "tag",
3434
3402
  "description": "Click Open to view details in a modal overlay.",
3435
- "type": "empty-state",
3436
- "title": "Nothing open"
3403
+ "icon": "tag",
3404
+ "title": "Nothing open",
3405
+ "type": "empty-state"
3437
3406
  }
3438
3407
  ]
3439
3408
  }
@@ -3452,8 +3421,6 @@
3452
3421
  "render-ui",
3453
3422
  "modal",
3454
3423
  {
3455
- "type": "stack",
3456
- "direction": "vertical",
3457
3424
  "children": [
3458
3425
  {
3459
3426
  "type": "stack",
@@ -3461,13 +3428,13 @@
3461
3428
  "direction": "horizontal",
3462
3429
  "children": [
3463
3430
  {
3464
- "type": "icon",
3465
- "name": "tag"
3431
+ "name": "tag",
3432
+ "type": "icon"
3466
3433
  },
3467
3434
  {
3468
3435
  "type": "typography",
3469
- "variant": "h3",
3470
- "content": "Analysis"
3436
+ "content": "Analysis",
3437
+ "variant": "h3"
3471
3438
  }
3472
3439
  ]
3473
3440
  },
@@ -3476,36 +3443,37 @@
3476
3443
  },
3477
3444
  {
3478
3445
  "direction": "horizontal",
3446
+ "gap": "sm",
3479
3447
  "children": [
3480
3448
  {
3449
+ "content": "Categories:",
3481
3450
  "variant": "caption",
3482
- "type": "typography",
3483
- "content": "Categories:"
3451
+ "type": "typography"
3484
3452
  },
3485
3453
  {
3486
- "label": "schema",
3487
3454
  "variant": "secondary",
3488
- "type": "badge"
3455
+ "type": "badge",
3456
+ "label": "schema"
3489
3457
  },
3490
3458
  {
3459
+ "type": "badge",
3491
3460
  "label": "component",
3492
- "variant": "secondary",
3493
- "type": "badge"
3461
+ "variant": "secondary"
3494
3462
  },
3495
3463
  {
3464
+ "label": "trait",
3496
3465
  "variant": "secondary",
3497
- "type": "badge",
3498
- "label": "trait"
3466
+ "type": "badge"
3499
3467
  },
3500
3468
  {
3469
+ "type": "badge",
3501
3470
  "label": "page",
3502
- "variant": "secondary",
3503
- "type": "badge"
3471
+ "variant": "secondary"
3504
3472
  },
3505
3473
  {
3506
- "type": "badge",
3474
+ "label": "behavior",
3507
3475
  "variant": "secondary",
3508
- "label": "behavior"
3476
+ "type": "badge"
3509
3477
  },
3510
3478
  {
3511
3479
  "label": "style",
@@ -3513,20 +3481,21 @@
3513
3481
  "type": "badge"
3514
3482
  }
3515
3483
  ],
3516
- "gap": "sm",
3517
3484
  "type": "stack"
3518
3485
  },
3519
3486
  {
3520
- "submitEvent": "SAVE",
3521
- "cancelEvent": "CLOSE",
3522
3487
  "type": "form-section",
3523
3488
  "mode": "create",
3524
3489
  "fields": [
3525
3490
  "input"
3526
- ]
3491
+ ],
3492
+ "cancelEvent": "CLOSE",
3493
+ "submitEvent": "SAVE"
3527
3494
  }
3528
3495
  ],
3529
- "gap": "md"
3496
+ "gap": "md",
3497
+ "direction": "vertical",
3498
+ "type": "stack"
3530
3499
  }
3531
3500
  ]
3532
3501
  ]
@@ -3560,72 +3529,72 @@
3560
3529
  "render-ui",
3561
3530
  "main",
3562
3531
  {
3532
+ "type": "dashboard-layout",
3563
3533
  "navItems": [
3564
3534
  {
3535
+ "label": "Review",
3565
3536
  "icon": "file-search",
3566
- "href": "/review",
3567
- "label": "Review"
3537
+ "href": "/review"
3568
3538
  },
3569
3539
  {
3540
+ "href": "/analysis",
3570
3541
  "icon": "tag",
3571
- "label": "Analysis",
3572
- "href": "/analysis"
3542
+ "label": "Analysis"
3573
3543
  },
3574
3544
  {
3575
3545
  "label": "Issues",
3576
- "icon": "alert-triangle",
3577
- "href": "/issues"
3546
+ "href": "/issues",
3547
+ "icon": "alert-triangle"
3578
3548
  }
3579
3549
  ],
3580
- "type": "dashboard-layout",
3581
3550
  "appName": "Code Reviewer",
3582
3551
  "children": [
3583
3552
  {
3584
- "type": "stack",
3553
+ "direction": "vertical",
3585
3554
  "gap": "lg",
3586
3555
  "children": [
3587
3556
  {
3557
+ "type": "stack",
3588
3558
  "children": [
3589
3559
  {
3590
- "type": "stack",
3591
3560
  "gap": "md",
3561
+ "type": "stack",
3562
+ "direction": "horizontal",
3592
3563
  "children": [
3593
3564
  {
3594
- "name": "tag",
3595
- "type": "icon"
3565
+ "type": "icon",
3566
+ "name": "tag"
3596
3567
  },
3597
3568
  {
3598
- "content": "Analysis",
3599
3569
  "variant": "h2",
3600
- "type": "typography"
3570
+ "type": "typography",
3571
+ "content": "Analysis"
3601
3572
  }
3602
- ],
3603
- "direction": "horizontal"
3573
+ ]
3604
3574
  },
3605
3575
  {
3606
- "label": "Open",
3576
+ "type": "button",
3607
3577
  "variant": "primary",
3608
- "icon": "tag",
3609
3578
  "action": "CLASSIFY",
3610
- "type": "button"
3579
+ "icon": "tag",
3580
+ "label": "Open"
3611
3581
  }
3612
3582
  ],
3613
- "type": "stack",
3583
+ "gap": "md",
3614
3584
  "justify": "between",
3615
- "direction": "horizontal",
3616
- "gap": "md"
3585
+ "direction": "horizontal"
3617
3586
  },
3618
3587
  {
3619
3588
  "type": "divider"
3620
3589
  },
3621
3590
  {
3622
3591
  "type": "empty-state",
3623
- "title": "Nothing open",
3624
3592
  "description": "Click Open to view details in a modal overlay.",
3593
+ "title": "Nothing open",
3625
3594
  "icon": "tag"
3626
3595
  }
3627
3596
  ],
3628
- "direction": "vertical"
3597
+ "type": "stack"
3629
3598
  }
3630
3599
  ]
3631
3600
  }
@@ -3644,8 +3613,8 @@
3644
3613
  "@payload.data",
3645
3614
  {
3646
3615
  "emit": {
3647
- "success": "AnalysisSaved",
3648
- "failure": "AnalysisSaveFailed"
3616
+ "failure": "AnalysisSaveFailed",
3617
+ "success": "AnalysisSaved"
3649
3618
  }
3650
3619
  }
3651
3620
  ],
@@ -3663,8 +3632,8 @@
3663
3632
  "Analysis",
3664
3633
  {
3665
3634
  "emit": {
3666
- "success": "AnalysisLoaded",
3667
- "failure": "AnalysisLoadFailed"
3635
+ "failure": "AnalysisLoadFailed",
3636
+ "success": "AnalysisLoaded"
3668
3637
  }
3669
3638
  }
3670
3639
  ],
@@ -3672,60 +3641,61 @@
3672
3641
  "render-ui",
3673
3642
  "main",
3674
3643
  {
3675
- "type": "dashboard-layout",
3676
3644
  "children": [
3677
3645
  {
3678
3646
  "direction": "vertical",
3679
- "gap": "lg",
3680
- "type": "stack",
3681
3647
  "children": [
3682
3648
  {
3649
+ "justify": "between",
3650
+ "type": "stack",
3651
+ "direction": "horizontal",
3652
+ "gap": "md",
3683
3653
  "children": [
3684
3654
  {
3685
3655
  "direction": "horizontal",
3656
+ "type": "stack",
3686
3657
  "children": [
3687
3658
  {
3688
3659
  "type": "icon",
3689
3660
  "name": "tag"
3690
3661
  },
3691
3662
  {
3692
- "content": "Analysis",
3693
3663
  "type": "typography",
3694
- "variant": "h2"
3664
+ "variant": "h2",
3665
+ "content": "Analysis"
3695
3666
  }
3696
3667
  ],
3697
- "gap": "md",
3698
- "type": "stack"
3668
+ "gap": "md"
3699
3669
  },
3700
3670
  {
3701
- "variant": "primary",
3702
3671
  "icon": "tag",
3672
+ "label": "Open",
3703
3673
  "action": "CLASSIFY",
3704
- "type": "button",
3705
- "label": "Open"
3674
+ "variant": "primary",
3675
+ "type": "button"
3706
3676
  }
3707
- ],
3708
- "direction": "horizontal",
3709
- "type": "stack",
3710
- "gap": "md",
3711
- "justify": "between"
3677
+ ]
3712
3678
  },
3713
3679
  {
3714
3680
  "type": "divider"
3715
3681
  },
3716
3682
  {
3717
3683
  "description": "Click Open to view details in a modal overlay.",
3718
- "icon": "tag",
3719
3684
  "type": "empty-state",
3685
+ "icon": "tag",
3720
3686
  "title": "Nothing open"
3721
3687
  }
3722
- ]
3688
+ ],
3689
+ "gap": "lg",
3690
+ "type": "stack"
3723
3691
  }
3724
3692
  ],
3693
+ "type": "dashboard-layout",
3694
+ "appName": "Code Reviewer",
3725
3695
  "navItems": [
3726
3696
  {
3727
- "href": "/review",
3728
3697
  "label": "Review",
3698
+ "href": "/review",
3729
3699
  "icon": "file-search"
3730
3700
  },
3731
3701
  {
@@ -3734,12 +3704,11 @@
3734
3704
  "href": "/analysis"
3735
3705
  },
3736
3706
  {
3737
- "icon": "alert-triangle",
3738
3707
  "href": "/issues",
3739
- "label": "Issues"
3708
+ "label": "Issues",
3709
+ "icon": "alert-triangle"
3740
3710
  }
3741
- ],
3742
- "appName": "Code Reviewer"
3711
+ ]
3743
3712
  }
3744
3713
  ]
3745
3714
  ]
@@ -3875,71 +3844,71 @@
3875
3844
  "render-ui",
3876
3845
  "main",
3877
3846
  {
3878
- "type": "dashboard-layout",
3879
3847
  "appName": "Code Reviewer",
3880
3848
  "navItems": [
3881
3849
  {
3850
+ "label": "Review",
3882
3851
  "icon": "file-search",
3883
- "href": "/review",
3884
- "label": "Review"
3852
+ "href": "/review"
3885
3853
  },
3886
3854
  {
3887
- "label": "Analysis",
3855
+ "href": "/analysis",
3888
3856
  "icon": "tag",
3889
- "href": "/analysis"
3857
+ "label": "Analysis"
3890
3858
  },
3891
3859
  {
3860
+ "label": "Issues",
3892
3861
  "href": "/issues",
3893
- "icon": "alert-triangle",
3894
- "label": "Issues"
3862
+ "icon": "alert-triangle"
3895
3863
  }
3896
3864
  ],
3865
+ "type": "dashboard-layout",
3897
3866
  "children": [
3898
3867
  {
3899
3868
  "type": "stack",
3900
- "direction": "vertical",
3901
3869
  "gap": "lg",
3870
+ "direction": "vertical",
3902
3871
  "children": [
3903
3872
  {
3904
- "type": "stack",
3905
- "gap": "md",
3906
- "align": "center",
3907
- "direction": "horizontal",
3908
- "justify": "between",
3909
3873
  "children": [
3910
3874
  {
3911
- "gap": "md",
3912
- "direction": "horizontal",
3913
3875
  "type": "stack",
3914
3876
  "align": "center",
3915
3877
  "children": [
3916
3878
  {
3917
- "name": "tag",
3918
- "type": "icon"
3879
+ "type": "icon",
3880
+ "name": "tag"
3919
3881
  },
3920
3882
  {
3921
- "content": "Analysis Result",
3922
3883
  "variant": "h2",
3923
- "type": "typography"
3884
+ "type": "typography",
3885
+ "content": "Analysis Result"
3924
3886
  }
3925
- ]
3887
+ ],
3888
+ "direction": "horizontal",
3889
+ "gap": "md"
3926
3890
  },
3927
3891
  {
3928
- "label": "Dismiss",
3929
- "type": "button",
3930
- "variant": "ghost",
3931
3892
  "action": "HIDE",
3932
- "icon": "x"
3893
+ "icon": "x",
3894
+ "variant": "ghost",
3895
+ "type": "button",
3896
+ "label": "Dismiss"
3933
3897
  }
3934
- ]
3898
+ ],
3899
+ "direction": "horizontal",
3900
+ "gap": "md",
3901
+ "align": "center",
3902
+ "justify": "between",
3903
+ "type": "stack"
3935
3904
  },
3936
3905
  {
3937
3906
  "type": "divider"
3938
3907
  },
3939
3908
  {
3940
3909
  "variant": "@entity.notificationType",
3941
- "message": "@entity.message",
3942
- "type": "alert"
3910
+ "type": "alert",
3911
+ "message": "@entity.message"
3943
3912
  },
3944
3913
  {
3945
3914
  "type": "toast-slot"
@@ -3975,12 +3944,11 @@
3975
3944
  "render-ui",
3976
3945
  "main",
3977
3946
  {
3978
- "type": "dashboard-layout",
3979
3947
  "navItems": [
3980
3948
  {
3981
3949
  "icon": "file-search",
3982
- "href": "/review",
3983
- "label": "Review"
3950
+ "label": "Review",
3951
+ "href": "/review"
3984
3952
  },
3985
3953
  {
3986
3954
  "href": "/analysis",
@@ -3989,21 +3957,18 @@
3989
3957
  },
3990
3958
  {
3991
3959
  "label": "Issues",
3992
- "href": "/issues",
3993
- "icon": "alert-triangle"
3960
+ "icon": "alert-triangle",
3961
+ "href": "/issues"
3994
3962
  }
3995
3963
  ],
3964
+ "type": "dashboard-layout",
3965
+ "appName": "Code Reviewer",
3996
3966
  "children": [
3997
3967
  {
3998
- "type": "stack",
3999
- "gap": "lg",
4000
- "direction": "vertical",
4001
3968
  "children": [
4002
3969
  {
4003
3970
  "type": "stack",
4004
- "gap": "md",
4005
- "justify": "between",
4006
- "align": "center",
3971
+ "direction": "horizontal",
4007
3972
  "children": [
4008
3973
  {
4009
3974
  "gap": "md",
@@ -4016,42 +3981,46 @@
4016
3981
  "type": "icon"
4017
3982
  },
4018
3983
  {
4019
- "variant": "h2",
4020
3984
  "type": "typography",
4021
- "content": "Analysis Result"
3985
+ "content": "Analysis Result",
3986
+ "variant": "h2"
4022
3987
  }
4023
3988
  ]
4024
3989
  },
4025
3990
  {
4026
- "label": "Dismiss",
4027
- "icon": "x",
4028
- "type": "button",
4029
3991
  "action": "HIDE",
4030
- "variant": "ghost"
3992
+ "variant": "ghost",
3993
+ "type": "button",
3994
+ "icon": "x",
3995
+ "label": "Dismiss"
4031
3996
  }
4032
3997
  ],
4033
- "direction": "horizontal"
3998
+ "align": "center",
3999
+ "justify": "between",
4000
+ "gap": "md"
4034
4001
  },
4035
4002
  {
4036
4003
  "type": "divider"
4037
4004
  },
4038
4005
  {
4039
- "variant": "@entity.notificationType",
4006
+ "message": "@entity.message",
4040
4007
  "type": "alert",
4041
- "message": "@entity.message"
4008
+ "variant": "@entity.notificationType"
4042
4009
  },
4043
4010
  {
4044
4011
  "type": "toast-slot"
4045
4012
  },
4046
4013
  {
4047
- "message": "@entity.message",
4048
4014
  "type": "alert",
4049
- "variant": "warning"
4015
+ "variant": "warning",
4016
+ "message": "@entity.message"
4050
4017
  }
4051
- ]
4018
+ ],
4019
+ "gap": "lg",
4020
+ "type": "stack",
4021
+ "direction": "vertical"
4052
4022
  }
4053
- ],
4054
- "appName": "Code Reviewer"
4023
+ ]
4055
4024
  }
4056
4025
  ]
4057
4026
  ]
@@ -4205,8 +4174,8 @@
4205
4174
  "Analysis",
4206
4175
  {
4207
4176
  "emit": {
4208
- "success": "AnalysisLoaded",
4209
- "failure": "AnalysisLoadFailed"
4177
+ "failure": "AnalysisLoadFailed",
4178
+ "success": "AnalysisLoaded"
4210
4179
  }
4211
4180
  }
4212
4181
  ],
@@ -4215,6 +4184,15 @@
4215
4184
  "main",
4216
4185
  {
4217
4186
  "type": "dashboard-layout",
4187
+ "children": [
4188
+ {
4189
+ "title": "Classifier",
4190
+ "type": "empty-state",
4191
+ "icon": "tag",
4192
+ "description": "Classifier is ready"
4193
+ }
4194
+ ],
4195
+ "appName": "Code Reviewer",
4218
4196
  "navItems": [
4219
4197
  {
4220
4198
  "label": "Review",
@@ -4222,24 +4200,15 @@
4222
4200
  "icon": "file-search"
4223
4201
  },
4224
4202
  {
4203
+ "label": "Analysis",
4225
4204
  "icon": "tag",
4226
- "href": "/analysis",
4227
- "label": "Analysis"
4205
+ "href": "/analysis"
4228
4206
  },
4229
4207
  {
4230
4208
  "label": "Issues",
4231
4209
  "href": "/issues",
4232
4210
  "icon": "alert-triangle"
4233
4211
  }
4234
- ],
4235
- "appName": "Code Reviewer",
4236
- "children": [
4237
- {
4238
- "type": "empty-state",
4239
- "description": "Classifier is ready",
4240
- "title": "Classifier",
4241
- "icon": "tag"
4242
- }
4243
4212
  ]
4244
4213
  }
4245
4214
  ]
@@ -4295,8 +4264,8 @@
4295
4264
  "emit",
4296
4265
  "SHOW",
4297
4266
  {
4298
- "notificationType": "success",
4299
- "message": "Input classified"
4267
+ "message": "Input classified",
4268
+ "notificationType": "success"
4300
4269
  }
4301
4270
  ]
4302
4271
  ]
@@ -4538,6 +4507,16 @@
4538
4507
  "to": "closed",
4539
4508
  "event": "INIT",
4540
4509
  "effects": [
4510
+ [
4511
+ "set",
4512
+ "@entity.model",
4513
+ ""
4514
+ ],
4515
+ [
4516
+ "set",
4517
+ "@entity.provider",
4518
+ ""
4519
+ ],
4541
4520
  [
4542
4521
  "fetch",
4543
4522
  "ReviewCompletion",
@@ -4552,74 +4531,74 @@
4552
4531
  "render-ui",
4553
4532
  "main",
4554
4533
  {
4534
+ "navItems": [
4535
+ {
4536
+ "label": "Review",
4537
+ "icon": "file-search",
4538
+ "href": "/review"
4539
+ },
4540
+ {
4541
+ "icon": "tag",
4542
+ "label": "Analysis",
4543
+ "href": "/analysis"
4544
+ },
4545
+ {
4546
+ "label": "Issues",
4547
+ "href": "/issues",
4548
+ "icon": "alert-triangle"
4549
+ }
4550
+ ],
4551
+ "type": "dashboard-layout",
4552
+ "appName": "Code Reviewer",
4555
4553
  "children": [
4556
4554
  {
4555
+ "gap": "lg",
4557
4556
  "type": "stack",
4558
4557
  "children": [
4559
4558
  {
4560
- "direction": "horizontal",
4559
+ "justify": "between",
4561
4560
  "type": "stack",
4561
+ "direction": "horizontal",
4562
+ "gap": "md",
4562
4563
  "children": [
4563
4564
  {
4564
- "type": "stack",
4565
4565
  "gap": "md",
4566
- "direction": "horizontal",
4567
4566
  "children": [
4568
4567
  {
4569
4568
  "type": "icon",
4570
4569
  "name": "sparkles"
4571
4570
  },
4572
4571
  {
4573
- "variant": "h2",
4574
4572
  "type": "typography",
4575
- "content": "ReviewCompletion"
4573
+ "content": "ReviewCompletion",
4574
+ "variant": "h2"
4576
4575
  }
4577
- ]
4576
+ ],
4577
+ "type": "stack",
4578
+ "direction": "horizontal"
4578
4579
  },
4579
4580
  {
4580
- "action": "GENERATE",
4581
4581
  "variant": "primary",
4582
+ "icon": "sparkles",
4583
+ "action": "GENERATE",
4582
4584
  "type": "button",
4583
- "label": "Open",
4584
- "icon": "sparkles"
4585
+ "label": "Open"
4585
4586
  }
4586
- ],
4587
- "justify": "between",
4588
- "gap": "md"
4587
+ ]
4589
4588
  },
4590
4589
  {
4591
4590
  "type": "divider"
4592
4591
  },
4593
4592
  {
4594
- "icon": "sparkles",
4595
4593
  "title": "Nothing open",
4594
+ "icon": "sparkles",
4596
4595
  "type": "empty-state",
4597
4596
  "description": "Click Open to view details in a modal overlay."
4598
4597
  }
4599
4598
  ],
4600
- "gap": "lg",
4601
4599
  "direction": "vertical"
4602
4600
  }
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"
4601
+ ]
4623
4602
  }
4624
4603
  ]
4625
4604
  ]
@@ -4634,11 +4613,12 @@
4634
4613
  "modal",
4635
4614
  {
4636
4615
  "direction": "vertical",
4616
+ "type": "stack",
4637
4617
  "children": [
4638
4618
  {
4619
+ "direction": "horizontal",
4639
4620
  "gap": "sm",
4640
4621
  "type": "stack",
4641
- "direction": "horizontal",
4642
4622
  "children": [
4643
4623
  {
4644
4624
  "type": "icon",
@@ -4646,8 +4626,8 @@
4646
4626
  },
4647
4627
  {
4648
4628
  "variant": "h3",
4649
- "type": "typography",
4650
- "content": "ReviewCompletion"
4629
+ "content": "ReviewCompletion",
4630
+ "type": "typography"
4651
4631
  }
4652
4632
  ]
4653
4633
  },
@@ -4657,30 +4637,29 @@
4657
4637
  {
4658
4638
  "children": [
4659
4639
  {
4660
- "type": "badge",
4661
- "label": "@entity.provider"
4640
+ "label": "@entity.provider",
4641
+ "type": "badge"
4662
4642
  },
4663
4643
  {
4664
- "label": "@entity.model",
4665
- "type": "badge"
4644
+ "type": "badge",
4645
+ "label": "@entity.model"
4666
4646
  }
4667
4647
  ],
4668
4648
  "gap": "sm",
4669
- "direction": "horizontal",
4670
- "type": "stack"
4649
+ "type": "stack",
4650
+ "direction": "horizontal"
4671
4651
  },
4672
4652
  {
4673
4653
  "fields": [
4674
4654
  "prompt"
4675
4655
  ],
4676
- "submitEvent": "SAVE",
4677
4656
  "type": "form-section",
4657
+ "submitEvent": "SAVE",
4678
4658
  "cancelEvent": "CLOSE",
4679
4659
  "mode": "create"
4680
4660
  }
4681
4661
  ],
4682
- "gap": "md",
4683
- "type": "stack"
4662
+ "gap": "md"
4684
4663
  }
4685
4664
  ]
4686
4665
  ]
@@ -4714,16 +4693,17 @@
4714
4693
  "render-ui",
4715
4694
  "main",
4716
4695
  {
4696
+ "appName": "Code Reviewer",
4717
4697
  "navItems": [
4718
4698
  {
4719
- "label": "Review",
4720
4699
  "icon": "file-search",
4700
+ "label": "Review",
4721
4701
  "href": "/review"
4722
4702
  },
4723
4703
  {
4724
4704
  "icon": "tag",
4725
- "label": "Analysis",
4726
- "href": "/analysis"
4705
+ "href": "/analysis",
4706
+ "label": "Analysis"
4727
4707
  },
4728
4708
  {
4729
4709
  "label": "Issues",
@@ -4731,57 +4711,56 @@
4731
4711
  "icon": "alert-triangle"
4732
4712
  }
4733
4713
  ],
4734
- "appName": "Code Reviewer",
4735
- "type": "dashboard-layout",
4736
4714
  "children": [
4737
4715
  {
4716
+ "gap": "lg",
4738
4717
  "children": [
4739
4718
  {
4740
4719
  "children": [
4741
4720
  {
4721
+ "type": "stack",
4722
+ "direction": "horizontal",
4742
4723
  "children": [
4743
4724
  {
4744
4725
  "type": "icon",
4745
4726
  "name": "sparkles"
4746
4727
  },
4747
4728
  {
4748
- "variant": "h2",
4729
+ "type": "typography",
4749
4730
  "content": "ReviewCompletion",
4750
- "type": "typography"
4731
+ "variant": "h2"
4751
4732
  }
4752
4733
  ],
4753
- "type": "stack",
4754
- "gap": "md",
4755
- "direction": "horizontal"
4734
+ "gap": "md"
4756
4735
  },
4757
4736
  {
4758
- "label": "Open",
4759
4737
  "action": "GENERATE",
4760
- "type": "button",
4738
+ "icon": "sparkles",
4761
4739
  "variant": "primary",
4762
- "icon": "sparkles"
4740
+ "type": "button",
4741
+ "label": "Open"
4763
4742
  }
4764
4743
  ],
4765
- "type": "stack",
4766
- "gap": "md",
4767
4744
  "direction": "horizontal",
4768
- "justify": "between"
4745
+ "gap": "md",
4746
+ "justify": "between",
4747
+ "type": "stack"
4769
4748
  },
4770
4749
  {
4771
4750
  "type": "divider"
4772
4751
  },
4773
4752
  {
4774
- "description": "Click Open to view details in a modal overlay.",
4775
4753
  "title": "Nothing open",
4776
4754
  "icon": "sparkles",
4777
- "type": "empty-state"
4755
+ "type": "empty-state",
4756
+ "description": "Click Open to view details in a modal overlay."
4778
4757
  }
4779
4758
  ],
4780
- "type": "stack",
4781
4759
  "direction": "vertical",
4782
- "gap": "lg"
4760
+ "type": "stack"
4783
4761
  }
4784
- ]
4762
+ ],
4763
+ "type": "dashboard-layout"
4785
4764
  }
4786
4765
  ]
4787
4766
  ]
@@ -4827,15 +4806,35 @@
4827
4806
  "main",
4828
4807
  {
4829
4808
  "type": "dashboard-layout",
4809
+ "navItems": [
4810
+ {
4811
+ "label": "Review",
4812
+ "href": "/review",
4813
+ "icon": "file-search"
4814
+ },
4815
+ {
4816
+ "icon": "tag",
4817
+ "href": "/analysis",
4818
+ "label": "Analysis"
4819
+ },
4820
+ {
4821
+ "href": "/issues",
4822
+ "label": "Issues",
4823
+ "icon": "alert-triangle"
4824
+ }
4825
+ ],
4830
4826
  "children": [
4831
4827
  {
4832
- "type": "stack",
4833
- "direction": "vertical",
4834
- "gap": "lg",
4835
4828
  "children": [
4836
4829
  {
4830
+ "type": "stack",
4831
+ "justify": "between",
4832
+ "gap": "md",
4837
4833
  "children": [
4838
4834
  {
4835
+ "gap": "md",
4836
+ "direction": "horizontal",
4837
+ "type": "stack",
4839
4838
  "children": [
4840
4839
  {
4841
4840
  "type": "icon",
@@ -4846,51 +4845,31 @@
4846
4845
  "content": "ReviewCompletion",
4847
4846
  "variant": "h2"
4848
4847
  }
4849
- ],
4850
- "type": "stack",
4851
- "direction": "horizontal",
4852
- "gap": "md"
4848
+ ]
4853
4849
  },
4854
4850
  {
4855
- "label": "Open",
4851
+ "action": "GENERATE",
4852
+ "variant": "primary",
4856
4853
  "icon": "sparkles",
4857
4854
  "type": "button",
4858
- "action": "GENERATE",
4859
- "variant": "primary"
4855
+ "label": "Open"
4860
4856
  }
4861
4857
  ],
4862
- "gap": "md",
4863
- "type": "stack",
4864
- "direction": "horizontal",
4865
- "justify": "between"
4858
+ "direction": "horizontal"
4866
4859
  },
4867
4860
  {
4868
4861
  "type": "divider"
4869
4862
  },
4870
4863
  {
4864
+ "title": "Nothing open",
4871
4865
  "type": "empty-state",
4872
4866
  "icon": "sparkles",
4873
- "title": "Nothing open",
4874
4867
  "description": "Click Open to view details in a modal overlay."
4875
4868
  }
4876
- ]
4877
- }
4878
- ],
4879
- "navItems": [
4880
- {
4881
- "href": "/review",
4882
- "label": "Review",
4883
- "icon": "file-search"
4884
- },
4885
- {
4886
- "label": "Analysis",
4887
- "icon": "tag",
4888
- "href": "/analysis"
4889
- },
4890
- {
4891
- "href": "/issues",
4892
- "icon": "alert-triangle",
4893
- "label": "Issues"
4869
+ ],
4870
+ "gap": "lg",
4871
+ "type": "stack",
4872
+ "direction": "vertical"
4894
4873
  }
4895
4874
  ],
4896
4875
  "appName": "Code Reviewer"
@@ -5003,8 +4982,8 @@
5003
4982
  "ReviewCompletion",
5004
4983
  {
5005
4984
  "emit": {
5006
- "failure": "ReviewCompletionLoadFailed",
5007
- "success": "ReviewCompletionLoaded"
4985
+ "success": "ReviewCompletionLoaded",
4986
+ "failure": "ReviewCompletionLoadFailed"
5008
4987
  }
5009
4988
  }
5010
4989
  ]
@@ -5029,41 +5008,59 @@
5029
5008
  "render-ui",
5030
5009
  "main",
5031
5010
  {
5011
+ "navItems": [
5012
+ {
5013
+ "href": "/review",
5014
+ "label": "Review",
5015
+ "icon": "file-search"
5016
+ },
5017
+ {
5018
+ "label": "Analysis",
5019
+ "href": "/analysis",
5020
+ "icon": "tag"
5021
+ },
5022
+ {
5023
+ "label": "Issues",
5024
+ "icon": "alert-triangle",
5025
+ "href": "/issues"
5026
+ }
5027
+ ],
5032
5028
  "type": "dashboard-layout",
5029
+ "appName": "Code Reviewer",
5033
5030
  "children": [
5034
5031
  {
5035
5032
  "direction": "vertical",
5036
5033
  "children": [
5037
5034
  {
5035
+ "gap": "md",
5036
+ "direction": "horizontal",
5038
5037
  "children": [
5039
5038
  {
5039
+ "type": "stack",
5040
+ "direction": "horizontal",
5041
+ "gap": "md",
5040
5042
  "align": "center",
5041
5043
  "children": [
5042
5044
  {
5043
- "type": "icon",
5044
- "name": "sparkles"
5045
+ "name": "sparkles",
5046
+ "type": "icon"
5045
5047
  },
5046
5048
  {
5047
- "type": "typography",
5048
5049
  "content": "ReviewCompletion Status",
5050
+ "type": "typography",
5049
5051
  "variant": "h2"
5050
5052
  }
5051
- ],
5052
- "gap": "md",
5053
- "type": "stack",
5054
- "direction": "horizontal"
5053
+ ]
5055
5054
  },
5056
5055
  {
5057
- "type": "button",
5056
+ "label": "Dismiss",
5058
5057
  "variant": "ghost",
5059
- "icon": "x",
5060
5058
  "action": "HIDE",
5061
- "label": "Dismiss"
5059
+ "type": "button",
5060
+ "icon": "x"
5062
5061
  }
5063
5062
  ],
5064
5063
  "type": "stack",
5065
- "gap": "md",
5066
- "direction": "horizontal",
5067
5064
  "justify": "between",
5068
5065
  "align": "center"
5069
5066
  },
@@ -5071,8 +5068,8 @@
5071
5068
  "type": "divider"
5072
5069
  },
5073
5070
  {
5074
- "type": "alert",
5075
5071
  "variant": "@entity.notificationType",
5072
+ "type": "alert",
5076
5073
  "message": "@entity.message"
5077
5074
  },
5078
5075
  {
@@ -5080,32 +5077,14 @@
5080
5077
  },
5081
5078
  {
5082
5079
  "message": "@entity.message",
5083
- "variant": "warning",
5084
- "type": "alert"
5080
+ "type": "alert",
5081
+ "variant": "warning"
5085
5082
  }
5086
5083
  ],
5087
- "gap": "lg",
5088
- "type": "stack"
5089
- }
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"
5084
+ "type": "stack",
5085
+ "gap": "lg"
5106
5086
  }
5107
- ],
5108
- "appName": "Code Reviewer"
5087
+ ]
5109
5088
  }
5110
5089
  ]
5111
5090
  ]
@@ -5129,59 +5108,60 @@
5129
5108
  "render-ui",
5130
5109
  "main",
5131
5110
  {
5111
+ "appName": "Code Reviewer",
5112
+ "type": "dashboard-layout",
5132
5113
  "navItems": [
5133
5114
  {
5134
5115
  "label": "Review",
5135
- "href": "/review",
5136
- "icon": "file-search"
5116
+ "icon": "file-search",
5117
+ "href": "/review"
5137
5118
  },
5138
5119
  {
5139
- "label": "Analysis",
5140
5120
  "href": "/analysis",
5141
- "icon": "tag"
5121
+ "icon": "tag",
5122
+ "label": "Analysis"
5142
5123
  },
5143
5124
  {
5144
- "label": "Issues",
5125
+ "href": "/issues",
5145
5126
  "icon": "alert-triangle",
5146
- "href": "/issues"
5127
+ "label": "Issues"
5147
5128
  }
5148
5129
  ],
5149
5130
  "children": [
5150
5131
  {
5151
- "type": "stack",
5152
5132
  "children": [
5153
5133
  {
5154
- "justify": "between",
5155
- "direction": "horizontal",
5156
- "type": "stack",
5157
5134
  "gap": "md",
5135
+ "justify": "between",
5158
5136
  "align": "center",
5137
+ "direction": "horizontal",
5159
5138
  "children": [
5160
5139
  {
5161
5140
  "children": [
5162
5141
  {
5163
- "name": "sparkles",
5164
- "type": "icon"
5142
+ "type": "icon",
5143
+ "name": "sparkles"
5165
5144
  },
5166
5145
  {
5146
+ "content": "ReviewCompletion Status",
5167
5147
  "variant": "h2",
5168
- "type": "typography",
5169
- "content": "ReviewCompletion Status"
5148
+ "type": "typography"
5170
5149
  }
5171
5150
  ],
5172
- "direction": "horizontal",
5151
+ "gap": "md",
5173
5152
  "type": "stack",
5174
- "align": "center",
5175
- "gap": "md"
5153
+ "direction": "horizontal",
5154
+ "align": "center"
5176
5155
  },
5177
5156
  {
5178
- "variant": "ghost",
5179
- "action": "HIDE",
5180
- "label": "Dismiss",
5181
5157
  "type": "button",
5182
- "icon": "x"
5158
+ "label": "Dismiss",
5159
+ "action": "HIDE",
5160
+ "icon": "x",
5161
+ "variant": "ghost"
5183
5162
  }
5184
- ]
5163
+ ],
5164
+ "type": "stack"
5185
5165
  },
5186
5166
  {
5187
5167
  "type": "divider"
@@ -5200,12 +5180,11 @@
5200
5180
  "variant": "warning"
5201
5181
  }
5202
5182
  ],
5183
+ "gap": "lg",
5203
5184
  "direction": "vertical",
5204
- "gap": "lg"
5185
+ "type": "stack"
5205
5186
  }
5206
- ],
5207
- "type": "dashboard-layout",
5208
- "appName": "Code Reviewer"
5187
+ ]
5209
5188
  }
5210
5189
  ]
5211
5190
  ]
@@ -5366,8 +5345,8 @@
5366
5345
  "ReviewCompletion",
5367
5346
  {
5368
5347
  "emit": {
5369
- "success": "ReviewCompletionLoaded",
5370
- "failure": "ReviewCompletionLoadFailed"
5348
+ "failure": "ReviewCompletionLoadFailed",
5349
+ "success": "ReviewCompletionLoaded"
5371
5350
  }
5372
5351
  }
5373
5352
  ],
@@ -5375,32 +5354,32 @@
5375
5354
  "render-ui",
5376
5355
  "main",
5377
5356
  {
5378
- "type": "dashboard-layout",
5379
5357
  "navItems": [
5380
5358
  {
5359
+ "href": "/review",
5381
5360
  "icon": "file-search",
5382
- "label": "Review",
5383
- "href": "/review"
5361
+ "label": "Review"
5384
5362
  },
5385
5363
  {
5386
- "href": "/analysis",
5364
+ "label": "Analysis",
5387
5365
  "icon": "tag",
5388
- "label": "Analysis"
5366
+ "href": "/analysis"
5389
5367
  },
5390
5368
  {
5369
+ "href": "/issues",
5391
5370
  "label": "Issues",
5392
- "icon": "alert-triangle",
5393
- "href": "/issues"
5371
+ "icon": "alert-triangle"
5394
5372
  }
5395
5373
  ],
5396
5374
  "children": [
5397
5375
  {
5398
- "description": "Completion is ready",
5399
- "type": "empty-state",
5400
5376
  "icon": "sparkles",
5377
+ "type": "empty-state",
5378
+ "description": "Completion is ready",
5401
5379
  "title": "Completion"
5402
5380
  }
5403
5381
  ],
5382
+ "type": "dashboard-layout",
5404
5383
  "appName": "Code Reviewer"
5405
5384
  }
5406
5385
  ]
@@ -5457,8 +5436,8 @@
5457
5436
  "emit",
5458
5437
  "SHOW",
5459
5438
  {
5460
- "message": "Review complete",
5461
- "notificationType": "success"
5439
+ "notificationType": "success",
5440
+ "message": "Review complete"
5462
5441
  }
5463
5442
  ]
5464
5443
  ]
@@ -5623,7 +5602,7 @@
5623
5602
  },
5624
5603
  "traits": [
5625
5604
  {
5626
- "ref": "Tabs.traits.TabContentTabs",
5605
+ "ref": "Tabs.traits.TabsItemTabs",
5627
5606
  "name": "ReviewerTabs",
5628
5607
  "linkedEntity": "Review"
5629
5608
  }