@almadar/std 9.0.0 → 11.0.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  27. package/behaviors/registry/app/organisms/std-cms.orb +608 -512
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  29. package/behaviors/registry/app/organisms/std-crm.orb +887 -791
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  37. package/behaviors/registry/app/organisms/std-lms.orb +935 -893
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  42. package/behaviors/registry/core/atoms/std-browse.orb +56 -56
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  44. package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  47. package/behaviors/registry/core/atoms/std-display.orb +388 -388
  48. package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  49. package/behaviors/registry/core/atoms/std-filter.orb +47 -47
  50. package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  55. package/behaviors/registry/core/atoms/std-related.orb +37 -37
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  59. package/behaviors/registry/core/molecules/std-cart.orb +55 -59
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  62. package/behaviors/registry/core/molecules/std-list.orb +79 -85
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  64. package/behaviors/registry/game/atoms/std-collision.orb +122 -122
  65. package/behaviors/registry/game/atoms/std-combat.orb +66 -66
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +291 -291
  70. package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  83. package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  84. package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +55 -59
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  187. package/package.json +1 -1
@@ -326,8 +326,8 @@
326
326
  "Review",
327
327
  {
328
328
  "emit": {
329
- "success": "ReviewLoaded",
330
- "failure": "ReviewLoadFailed"
329
+ "failure": "ReviewLoadFailed",
330
+ "success": "ReviewLoaded"
331
331
  }
332
332
  }
333
333
  ],
@@ -335,77 +335,77 @@
335
335
  "render-ui",
336
336
  "main",
337
337
  {
338
+ "type": "dashboard-layout",
339
+ "navItems": [
340
+ {
341
+ "href": "/review",
342
+ "label": "Review",
343
+ "icon": "file-search"
344
+ },
345
+ {
346
+ "href": "/analysis",
347
+ "label": "Analysis",
348
+ "icon": "tag"
349
+ },
350
+ {
351
+ "href": "/issues",
352
+ "label": "Issues",
353
+ "icon": "alert-triangle"
354
+ }
355
+ ],
338
356
  "children": [
339
357
  {
340
- "direction": "vertical",
358
+ "gap": "lg",
341
359
  "children": [
342
360
  {
361
+ "type": "stack",
362
+ "align": "center",
343
363
  "gap": "sm",
344
364
  "children": [
345
365
  {
346
- "name": "file-search",
347
- "type": "icon"
366
+ "type": "icon",
367
+ "name": "file-search"
348
368
  },
349
369
  {
350
- "content": "Code Review",
351
370
  "variant": "h2",
352
- "type": "typography"
371
+ "type": "typography",
372
+ "content": "Code Review"
353
373
  }
354
374
  ],
355
- "type": "stack",
356
- "direction": "horizontal",
357
- "align": "center"
375
+ "direction": "horizontal"
358
376
  },
359
377
  {
360
378
  "type": "divider"
361
379
  },
362
380
  {
363
- "type": "card",
364
381
  "children": [
365
382
  {
366
- "type": "stack",
367
383
  "direction": "vertical",
368
384
  "children": [
369
385
  {
370
386
  "variant": "body",
371
- "type": "typography",
372
- "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review."
387
+ "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
388
+ "type": "typography"
373
389
  },
374
390
  {
375
391
  "entity": "@entity",
392
+ "mode": "edit",
376
393
  "fields": [
377
394
  "target"
378
395
  ],
379
- "mode": "edit",
380
396
  "type": "form-section",
381
397
  "submitEvent": "SUBMIT_REVIEW"
382
398
  }
383
399
  ],
400
+ "type": "stack",
384
401
  "gap": "md"
385
402
  }
386
- ]
403
+ ],
404
+ "type": "card"
387
405
  }
388
406
  ],
389
- "gap": "lg",
390
- "type": "stack"
391
- }
392
- ],
393
- "type": "dashboard-layout",
394
- "navItems": [
395
- {
396
- "href": "/review",
397
- "icon": "file-search",
398
- "label": "Review"
399
- },
400
- {
401
- "icon": "tag",
402
- "href": "/analysis",
403
- "label": "Analysis"
404
- },
405
- {
406
- "icon": "alert-triangle",
407
- "label": "Issues",
408
- "href": "/issues"
407
+ "type": "stack",
408
+ "direction": "vertical"
409
409
  }
410
410
  ],
411
411
  "appName": "Code Reviewer"
@@ -440,50 +440,50 @@
440
440
  "render-ui",
441
441
  "main",
442
442
  {
443
- "navItems": [
444
- {
445
- "label": "Review",
446
- "href": "/review",
447
- "icon": "file-search"
448
- },
449
- {
450
- "icon": "tag",
451
- "href": "/analysis",
452
- "label": "Analysis"
453
- },
454
- {
455
- "label": "Issues",
456
- "href": "/issues",
457
- "icon": "alert-triangle"
458
- }
459
- ],
460
- "type": "dashboard-layout",
461
- "appName": "Code Reviewer",
462
443
  "children": [
463
444
  {
464
- "gap": "lg",
465
- "direction": "vertical",
466
445
  "type": "stack",
446
+ "align": "center",
467
447
  "children": [
468
448
  {
469
- "name": "search",
470
- "type": "icon"
449
+ "type": "icon",
450
+ "name": "search"
471
451
  },
472
452
  {
473
- "variant": "h3",
474
453
  "type": "typography",
475
- "content": "Analyzing input..."
454
+ "content": "Analyzing input...",
455
+ "variant": "h3"
476
456
  },
477
457
  {
478
458
  "type": "spinner"
479
459
  },
480
460
  {
481
- "content": "Classifying and searching for patterns",
461
+ "variant": "caption",
482
462
  "type": "typography",
483
- "variant": "caption"
463
+ "content": "Classifying and searching for patterns"
484
464
  }
485
465
  ],
486
- "align": "center"
466
+ "direction": "vertical",
467
+ "gap": "lg"
468
+ }
469
+ ],
470
+ "type": "dashboard-layout",
471
+ "appName": "Code Reviewer",
472
+ "navItems": [
473
+ {
474
+ "label": "Review",
475
+ "icon": "file-search",
476
+ "href": "/review"
477
+ },
478
+ {
479
+ "icon": "tag",
480
+ "label": "Analysis",
481
+ "href": "/analysis"
482
+ },
483
+ {
484
+ "label": "Issues",
485
+ "href": "/issues",
486
+ "icon": "alert-triangle"
487
487
  }
488
488
  ]
489
489
  }
@@ -508,50 +508,50 @@
508
508
  "render-ui",
509
509
  "main",
510
510
  {
511
- "type": "dashboard-layout",
512
- "appName": "Code Reviewer",
513
- "navItems": [
514
- {
515
- "label": "Review",
516
- "href": "/review",
517
- "icon": "file-search"
518
- },
519
- {
520
- "href": "/analysis",
521
- "label": "Analysis",
522
- "icon": "tag"
523
- },
524
- {
525
- "icon": "alert-triangle",
526
- "href": "/issues",
527
- "label": "Issues"
528
- }
529
- ],
530
511
  "children": [
531
512
  {
513
+ "gap": "lg",
514
+ "type": "stack",
515
+ "align": "center",
516
+ "direction": "vertical",
532
517
  "children": [
533
518
  {
534
- "type": "icon",
535
- "name": "cpu"
519
+ "name": "cpu",
520
+ "type": "icon"
536
521
  },
537
522
  {
538
- "variant": "h3",
523
+ "content": "Generating review...",
539
524
  "type": "typography",
540
- "content": "Generating review..."
525
+ "variant": "h3"
541
526
  },
542
527
  {
543
528
  "type": "spinner"
544
529
  },
545
530
  {
546
531
  "variant": "caption",
547
- "type": "typography",
548
- "content": "Category: @entity.category"
532
+ "content": "Category: @entity.category",
533
+ "type": "typography"
549
534
  }
550
- ],
551
- "type": "stack",
552
- "gap": "lg",
553
- "direction": "vertical",
554
- "align": "center"
535
+ ]
536
+ }
537
+ ],
538
+ "type": "dashboard-layout",
539
+ "appName": "Code Reviewer",
540
+ "navItems": [
541
+ {
542
+ "icon": "file-search",
543
+ "label": "Review",
544
+ "href": "/review"
545
+ },
546
+ {
547
+ "href": "/analysis",
548
+ "icon": "tag",
549
+ "label": "Analysis"
550
+ },
551
+ {
552
+ "icon": "alert-triangle",
553
+ "label": "Issues",
554
+ "href": "/issues"
555
555
  }
556
556
  ]
557
557
  }
@@ -578,39 +578,56 @@
578
578
  "main",
579
579
  {
580
580
  "appName": "Code Reviewer",
581
- "type": "dashboard-layout",
581
+ "navItems": [
582
+ {
583
+ "href": "/review",
584
+ "label": "Review",
585
+ "icon": "file-search"
586
+ },
587
+ {
588
+ "icon": "tag",
589
+ "href": "/analysis",
590
+ "label": "Analysis"
591
+ },
592
+ {
593
+ "label": "Issues",
594
+ "icon": "alert-triangle",
595
+ "href": "/issues"
596
+ }
597
+ ],
582
598
  "children": [
583
599
  {
600
+ "type": "stack",
584
601
  "children": [
585
602
  {
586
- "justify": "between",
603
+ "gap": "sm",
604
+ "direction": "horizontal",
605
+ "type": "stack",
606
+ "align": "center",
587
607
  "children": [
588
608
  {
589
609
  "direction": "horizontal",
590
- "type": "stack",
591
- "gap": "sm",
592
- "align": "center",
593
610
  "children": [
594
611
  {
595
612
  "name": "check-circle",
596
613
  "type": "icon"
597
614
  },
598
615
  {
599
- "variant": "h2",
600
616
  "content": "Review Complete",
601
- "type": "typography"
617
+ "type": "typography",
618
+ "variant": "h2"
602
619
  }
603
- ]
620
+ ],
621
+ "type": "stack",
622
+ "gap": "sm",
623
+ "align": "center"
604
624
  },
605
625
  {
606
626
  "type": "badge",
607
627
  "label": "@entity.score"
608
628
  }
609
629
  ],
610
- "align": "center",
611
- "direction": "horizontal",
612
- "gap": "sm",
613
- "type": "stack"
630
+ "justify": "between"
614
631
  },
615
632
  {
616
633
  "type": "divider"
@@ -618,32 +635,34 @@
618
635
  {
619
636
  "children": [
620
637
  {
638
+ "type": "stack",
621
639
  "direction": "vertical",
640
+ "gap": "md",
622
641
  "children": [
623
642
  {
624
- "direction": "horizontal",
625
- "gap": "sm",
626
643
  "children": [
627
644
  {
628
- "type": "badge",
629
- "label": "@entity.category"
645
+ "label": "@entity.category",
646
+ "type": "badge"
630
647
  },
631
648
  {
632
649
  "type": "badge",
633
650
  "label": "@entity.reviewStatus"
634
651
  }
635
652
  ],
636
- "type": "stack"
653
+ "gap": "sm",
654
+ "type": "stack",
655
+ "direction": "horizontal"
637
656
  },
638
657
  {
639
- "variant": "h4",
658
+ "content": "Issues",
640
659
  "type": "typography",
641
- "content": "Issues"
660
+ "variant": "h4"
642
661
  },
643
662
  {
663
+ "content": "@entity.issues",
644
664
  "type": "typography",
645
- "variant": "body",
646
- "content": "@entity.issues"
665
+ "variant": "body"
647
666
  },
648
667
  {
649
668
  "type": "divider"
@@ -658,43 +677,24 @@
658
677
  "content": "@entity.suggestions",
659
678
  "variant": "body"
660
679
  }
661
- ],
662
- "type": "stack",
663
- "gap": "md"
680
+ ]
664
681
  }
665
682
  ],
666
683
  "type": "card"
667
684
  },
668
685
  {
669
- "variant": "ghost",
670
686
  "type": "button",
671
- "icon": "rotate-ccw",
672
687
  "action": "RESET",
673
- "label": "New Review"
688
+ "label": "New Review",
689
+ "variant": "ghost",
690
+ "icon": "rotate-ccw"
674
691
  }
675
692
  ],
676
- "type": "stack",
677
693
  "gap": "lg",
678
694
  "direction": "vertical"
679
695
  }
680
696
  ],
681
- "navItems": [
682
- {
683
- "href": "/review",
684
- "icon": "file-search",
685
- "label": "Review"
686
- },
687
- {
688
- "label": "Analysis",
689
- "href": "/analysis",
690
- "icon": "tag"
691
- },
692
- {
693
- "href": "/issues",
694
- "icon": "alert-triangle",
695
- "label": "Issues"
696
- }
697
- ]
697
+ "type": "dashboard-layout"
698
698
  }
699
699
  ]
700
700
  ]
@@ -733,8 +733,6 @@
733
733
  "render-ui",
734
734
  "main",
735
735
  {
736
- "type": "dashboard-layout",
737
- "appName": "Code Reviewer",
738
736
  "navItems": [
739
737
  {
740
738
  "href": "/review",
@@ -742,69 +740,71 @@
742
740
  "label": "Review"
743
741
  },
744
742
  {
745
- "label": "Analysis",
743
+ "icon": "tag",
746
744
  "href": "/analysis",
747
- "icon": "tag"
745
+ "label": "Analysis"
748
746
  },
749
747
  {
750
- "icon": "alert-triangle",
748
+ "label": "Issues",
751
749
  "href": "/issues",
752
- "label": "Issues"
750
+ "icon": "alert-triangle"
753
751
  }
754
752
  ],
753
+ "appName": "Code Reviewer",
754
+ "type": "dashboard-layout",
755
755
  "children": [
756
756
  {
757
- "type": "stack",
758
- "direction": "vertical",
759
757
  "children": [
760
758
  {
759
+ "align": "center",
761
760
  "children": [
762
761
  {
763
- "type": "icon",
764
- "name": "file-search"
762
+ "name": "file-search",
763
+ "type": "icon"
765
764
  },
766
765
  {
767
- "type": "typography",
768
766
  "content": "Code Review",
767
+ "type": "typography",
769
768
  "variant": "h2"
770
769
  }
771
770
  ],
771
+ "gap": "sm",
772
772
  "type": "stack",
773
- "direction": "horizontal",
774
- "align": "center",
775
- "gap": "sm"
773
+ "direction": "horizontal"
776
774
  },
777
775
  {
778
776
  "type": "divider"
779
777
  },
780
778
  {
781
- "type": "card",
782
779
  "children": [
783
780
  {
784
- "type": "stack",
785
- "direction": "vertical",
786
781
  "children": [
787
782
  {
788
- "type": "typography",
789
783
  "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
790
- "variant": "body"
784
+ "variant": "body",
785
+ "type": "typography"
791
786
  },
792
787
  {
793
- "entity": "@entity",
794
- "mode": "edit",
795
788
  "submitEvent": "SUBMIT_REVIEW",
789
+ "type": "form-section",
796
790
  "fields": [
797
791
  "target"
798
792
  ],
799
- "type": "form-section"
793
+ "entity": "@entity",
794
+ "mode": "edit"
800
795
  }
801
796
  ],
797
+ "type": "stack",
798
+ "direction": "vertical",
802
799
  "gap": "md"
803
800
  }
804
- ]
801
+ ],
802
+ "type": "card"
805
803
  }
806
804
  ],
807
- "gap": "lg"
805
+ "type": "stack",
806
+ "gap": "lg",
807
+ "direction": "vertical"
808
808
  }
809
809
  ]
810
810
  }
@@ -1000,8 +1000,8 @@
1000
1000
  {
1001
1001
  "navItems": [
1002
1002
  {
1003
- "icon": "file-search",
1004
1003
  "href": "/review",
1004
+ "icon": "file-search",
1005
1005
  "label": "Review"
1006
1006
  },
1007
1007
  {
@@ -1015,17 +1015,17 @@
1015
1015
  "icon": "alert-triangle"
1016
1016
  }
1017
1017
  ],
1018
+ "type": "dashboard-layout",
1019
+ "appName": "Code Reviewer",
1018
1020
  "children": [
1019
1021
  {
1020
1022
  "gap": "lg",
1021
1023
  "type": "stack",
1022
- "direction": "vertical",
1023
1024
  "children": [
1024
1025
  {
1025
- "align": "center",
1026
- "type": "stack",
1027
1026
  "gap": "sm",
1028
1027
  "direction": "horizontal",
1028
+ "align": "center",
1029
1029
  "children": [
1030
1030
  {
1031
1031
  "type": "icon",
@@ -1036,7 +1036,8 @@
1036
1036
  "content": "RAG Pipeline",
1037
1037
  "type": "typography"
1038
1038
  }
1039
- ]
1039
+ ],
1040
+ "type": "stack"
1040
1041
  },
1041
1042
  {
1042
1043
  "type": "divider"
@@ -1045,33 +1046,32 @@
1045
1046
  "type": "card",
1046
1047
  "children": [
1047
1048
  {
1049
+ "gap": "md",
1048
1050
  "type": "stack",
1051
+ "direction": "vertical",
1049
1052
  "children": [
1050
1053
  {
1051
- "content": "Enter a query to retrieve context and generate a response",
1052
1054
  "variant": "body",
1055
+ "content": "Enter a query to retrieve context and generate a response",
1053
1056
  "type": "typography"
1054
1057
  },
1055
1058
  {
1059
+ "entity": "@entity",
1056
1060
  "fields": [
1057
1061
  "query"
1058
1062
  ],
1059
1063
  "type": "form-section",
1060
1064
  "submitEvent": "GENERATE",
1061
- "mode": "edit",
1062
- "entity": "@entity"
1065
+ "mode": "edit"
1063
1066
  }
1064
- ],
1065
- "direction": "vertical",
1066
- "gap": "md"
1067
+ ]
1067
1068
  }
1068
1069
  ]
1069
1070
  }
1070
- ]
1071
+ ],
1072
+ "direction": "vertical"
1071
1073
  }
1072
- ],
1073
- "type": "dashboard-layout",
1074
- "appName": "Code Reviewer"
1074
+ ]
1075
1075
  }
1076
1076
  ]
1077
1077
  ]
@@ -1099,30 +1099,24 @@
1099
1099
  "render-ui",
1100
1100
  "main",
1101
1101
  {
1102
- "appName": "Code Reviewer",
1103
1102
  "children": [
1104
1103
  {
1105
- "type": "stack",
1106
- "align": "center",
1107
- "gap": "lg",
1108
- "direction": "vertical",
1109
1104
  "children": [
1110
1105
  {
1111
- "type": "icon",
1112
- "name": "search"
1106
+ "name": "search",
1107
+ "type": "icon"
1113
1108
  },
1114
1109
  {
1115
1110
  "type": "typography",
1116
- "content": "Retrieving context...",
1117
- "variant": "h3"
1111
+ "variant": "h3",
1112
+ "content": "Retrieving context..."
1118
1113
  },
1119
1114
  {
1120
1115
  "type": "spinner"
1121
1116
  },
1122
1117
  {
1123
- "type": "stack",
1118
+ "justify": "center",
1124
1119
  "direction": "horizontal",
1125
- "gap": "md",
1126
1120
  "children": [
1127
1121
  {
1128
1122
  "label": "Recalling memories",
@@ -1133,29 +1127,35 @@
1133
1127
  "label": "Searching code"
1134
1128
  }
1135
1129
  ],
1136
- "justify": "center"
1130
+ "type": "stack",
1131
+ "gap": "md"
1137
1132
  }
1138
- ]
1133
+ ],
1134
+ "direction": "vertical",
1135
+ "type": "stack",
1136
+ "align": "center",
1137
+ "gap": "lg"
1139
1138
  }
1140
1139
  ],
1140
+ "type": "dashboard-layout",
1141
1141
  "navItems": [
1142
1142
  {
1143
+ "href": "/review",
1143
1144
  "icon": "file-search",
1144
- "label": "Review",
1145
- "href": "/review"
1145
+ "label": "Review"
1146
1146
  },
1147
1147
  {
1148
- "icon": "tag",
1149
1148
  "label": "Analysis",
1149
+ "icon": "tag",
1150
1150
  "href": "/analysis"
1151
1151
  },
1152
1152
  {
1153
- "icon": "alert-triangle",
1154
1153
  "label": "Issues",
1155
- "href": "/issues"
1154
+ "href": "/issues",
1155
+ "icon": "alert-triangle"
1156
1156
  }
1157
1157
  ],
1158
- "type": "dashboard-layout"
1158
+ "appName": "Code Reviewer"
1159
1159
  }
1160
1160
  ]
1161
1161
  ]
@@ -1201,59 +1201,59 @@
1201
1201
  "main",
1202
1202
  {
1203
1203
  "type": "dashboard-layout",
1204
+ "navItems": [
1205
+ {
1206
+ "label": "Review",
1207
+ "icon": "file-search",
1208
+ "href": "/review"
1209
+ },
1210
+ {
1211
+ "icon": "tag",
1212
+ "label": "Analysis",
1213
+ "href": "/analysis"
1214
+ },
1215
+ {
1216
+ "label": "Issues",
1217
+ "href": "/issues",
1218
+ "icon": "alert-triangle"
1219
+ }
1220
+ ],
1204
1221
  "children": [
1205
1222
  {
1206
- "align": "center",
1207
1223
  "direction": "vertical",
1224
+ "gap": "lg",
1208
1225
  "type": "stack",
1226
+ "align": "center",
1209
1227
  "children": [
1210
1228
  {
1211
1229
  "name": "cpu",
1212
1230
  "type": "icon"
1213
1231
  },
1214
1232
  {
1215
- "content": "Generating response...",
1233
+ "variant": "h3",
1216
1234
  "type": "typography",
1217
- "variant": "h3"
1235
+ "content": "Generating response..."
1218
1236
  },
1219
1237
  {
1220
1238
  "type": "spinner"
1221
1239
  },
1222
1240
  {
1223
- "type": "stack",
1224
- "gap": "md",
1225
- "justify": "center",
1226
1241
  "children": [
1227
1242
  {
1228
- "type": "badge",
1229
- "label": "@entity.memoryHits"
1243
+ "label": "@entity.memoryHits",
1244
+ "type": "badge"
1230
1245
  },
1231
1246
  {
1232
- "type": "badge",
1233
- "label": "@entity.searchHits"
1247
+ "label": "@entity.searchHits",
1248
+ "type": "badge"
1234
1249
  }
1235
1250
  ],
1251
+ "justify": "center",
1252
+ "gap": "md",
1253
+ "type": "stack",
1236
1254
  "direction": "horizontal"
1237
1255
  }
1238
- ],
1239
- "gap": "lg"
1240
- }
1241
- ],
1242
- "navItems": [
1243
- {
1244
- "href": "/review",
1245
- "icon": "file-search",
1246
- "label": "Review"
1247
- },
1248
- {
1249
- "label": "Analysis",
1250
- "href": "/analysis",
1251
- "icon": "tag"
1252
- },
1253
- {
1254
- "label": "Issues",
1255
- "href": "/issues",
1256
- "icon": "alert-triangle"
1256
+ ]
1257
1257
  }
1258
1258
  ],
1259
1259
  "appName": "Code Reviewer"
@@ -1280,56 +1280,56 @@
1280
1280
  "render-ui",
1281
1281
  "main",
1282
1282
  {
1283
- "appName": "Code Reviewer",
1284
1283
  "navItems": [
1285
1284
  {
1286
- "label": "Review",
1285
+ "href": "/review",
1287
1286
  "icon": "file-search",
1288
- "href": "/review"
1287
+ "label": "Review"
1289
1288
  },
1290
1289
  {
1291
1290
  "icon": "tag",
1292
- "href": "/analysis",
1293
- "label": "Analysis"
1291
+ "label": "Analysis",
1292
+ "href": "/analysis"
1294
1293
  },
1295
1294
  {
1295
+ "href": "/issues",
1296
1296
  "icon": "alert-triangle",
1297
- "label": "Issues",
1298
- "href": "/issues"
1297
+ "label": "Issues"
1299
1298
  }
1300
1299
  ],
1300
+ "type": "dashboard-layout",
1301
1301
  "children": [
1302
1302
  {
1303
- "align": "center",
1304
- "type": "stack",
1305
- "gap": "lg",
1306
1303
  "direction": "vertical",
1307
1304
  "children": [
1308
1305
  {
1309
- "name": "alert-triangle",
1310
- "type": "icon"
1306
+ "type": "icon",
1307
+ "name": "alert-triangle"
1311
1308
  },
1312
1309
  {
1313
- "type": "typography",
1314
1310
  "content": "RAG Pipeline Error",
1315
- "variant": "h2"
1311
+ "variant": "h2",
1312
+ "type": "typography"
1316
1313
  },
1317
1314
  {
1315
+ "message": "@entity.error",
1318
1316
  "type": "alert",
1319
- "variant": "error",
1320
- "message": "@entity.error"
1317
+ "variant": "error"
1321
1318
  },
1322
1319
  {
1323
- "variant": "primary",
1324
- "icon": "rotate-ccw",
1325
- "type": "button",
1326
1320
  "label": "Try Again",
1327
- "action": "RESET"
1321
+ "type": "button",
1322
+ "variant": "primary",
1323
+ "action": "RESET",
1324
+ "icon": "rotate-ccw"
1328
1325
  }
1329
- ]
1326
+ ],
1327
+ "type": "stack",
1328
+ "align": "center",
1329
+ "gap": "lg"
1330
1330
  }
1331
1331
  ],
1332
- "type": "dashboard-layout"
1332
+ "appName": "Code Reviewer"
1333
1333
  }
1334
1334
  ]
1335
1335
  ]
@@ -1362,63 +1362,83 @@
1362
1362
  "render-ui",
1363
1363
  "main",
1364
1364
  {
1365
+ "appName": "Code Reviewer",
1366
+ "navItems": [
1367
+ {
1368
+ "icon": "file-search",
1369
+ "label": "Review",
1370
+ "href": "/review"
1371
+ },
1372
+ {
1373
+ "href": "/analysis",
1374
+ "icon": "tag",
1375
+ "label": "Analysis"
1376
+ },
1377
+ {
1378
+ "href": "/issues",
1379
+ "label": "Issues",
1380
+ "icon": "alert-triangle"
1381
+ }
1382
+ ],
1365
1383
  "children": [
1366
1384
  {
1385
+ "gap": "lg",
1367
1386
  "direction": "vertical",
1387
+ "type": "stack",
1368
1388
  "children": [
1369
1389
  {
1370
- "gap": "sm",
1371
- "align": "center",
1372
1390
  "justify": "between",
1391
+ "direction": "horizontal",
1373
1392
  "type": "stack",
1393
+ "gap": "sm",
1394
+ "align": "center",
1374
1395
  "children": [
1375
1396
  {
1376
- "gap": "sm",
1397
+ "type": "stack",
1377
1398
  "align": "center",
1399
+ "direction": "horizontal",
1400
+ "gap": "sm",
1378
1401
  "children": [
1379
1402
  {
1380
- "type": "icon",
1381
- "name": "check-circle"
1403
+ "name": "check-circle",
1404
+ "type": "icon"
1382
1405
  },
1383
1406
  {
1384
- "type": "typography",
1385
1407
  "content": "RAG Complete",
1408
+ "type": "typography",
1386
1409
  "variant": "h2"
1387
1410
  }
1388
- ],
1389
- "direction": "horizontal",
1390
- "type": "stack"
1411
+ ]
1391
1412
  },
1392
1413
  {
1393
- "variant": "ghost",
1394
1414
  "type": "button",
1395
1415
  "action": "RESET",
1416
+ "label": "New Query",
1396
1417
  "icon": "rotate-ccw",
1397
- "label": "New Query"
1418
+ "variant": "ghost"
1398
1419
  }
1399
- ],
1400
- "direction": "horizontal"
1420
+ ]
1401
1421
  },
1402
1422
  {
1403
1423
  "type": "divider"
1404
1424
  },
1405
1425
  {
1406
- "cols": 2.0,
1407
1426
  "type": "simple-grid",
1408
1427
  "children": [
1409
1428
  {
1410
- "value": "@entity.memoryHits",
1411
- "icon": "brain",
1429
+ "label": "Memory Hits",
1412
1430
  "type": "stat-display",
1413
- "label": "Memory Hits"
1431
+ "icon": "brain",
1432
+ "value": "@entity.memoryHits"
1414
1433
  },
1415
1434
  {
1416
- "type": "stat-display",
1417
- "label": "Code Hits",
1418
1435
  "icon": "code",
1419
- "value": "@entity.searchHits"
1436
+ "value": "@entity.searchHits",
1437
+ "label": "Code Hits",
1438
+ "type": "stat-display"
1420
1439
  }
1421
- ]
1440
+ ],
1441
+ "cols": 2.0
1422
1442
  },
1423
1443
  {
1424
1444
  "type": "divider"
@@ -1426,26 +1446,24 @@
1426
1446
  {
1427
1447
  "children": [
1428
1448
  {
1429
- "gap": "md",
1430
- "type": "stack",
1431
1449
  "children": [
1432
1450
  {
1433
- "type": "typography",
1434
1451
  "variant": "caption",
1452
+ "type": "typography",
1435
1453
  "content": "Query"
1436
1454
  },
1437
1455
  {
1438
1456
  "variant": "body",
1439
- "content": "@entity.query",
1440
- "type": "typography"
1457
+ "type": "typography",
1458
+ "content": "@entity.query"
1441
1459
  },
1442
1460
  {
1443
1461
  "type": "divider"
1444
1462
  },
1445
1463
  {
1464
+ "content": "Response",
1446
1465
  "variant": "caption",
1447
- "type": "typography",
1448
- "content": "Response"
1466
+ "type": "typography"
1449
1467
  },
1450
1468
  {
1451
1469
  "variant": "body",
@@ -1453,6 +1471,8 @@
1453
1471
  "content": "@entity.response"
1454
1472
  }
1455
1473
  ],
1474
+ "gap": "md",
1475
+ "type": "stack",
1456
1476
  "direction": "vertical"
1457
1477
  }
1458
1478
  ],
@@ -1462,48 +1482,28 @@
1462
1482
  "type": "card",
1463
1483
  "children": [
1464
1484
  {
1465
- "direction": "vertical",
1466
- "gap": "sm",
1485
+ "type": "stack",
1467
1486
  "children": [
1468
1487
  {
1469
- "content": "Retrieved Context",
1470
1488
  "type": "typography",
1471
- "variant": "caption"
1489
+ "variant": "caption",
1490
+ "content": "Retrieved Context"
1472
1491
  },
1473
1492
  {
1493
+ "variant": "body",
1474
1494
  "type": "typography",
1475
- "content": "@entity.context",
1476
- "variant": "body"
1495
+ "content": "@entity.context"
1477
1496
  }
1478
1497
  ],
1479
- "type": "stack"
1498
+ "gap": "sm",
1499
+ "direction": "vertical"
1480
1500
  }
1481
1501
  ]
1482
1502
  }
1483
- ],
1484
- "type": "stack",
1485
- "gap": "lg"
1503
+ ]
1486
1504
  }
1487
1505
  ],
1488
- "type": "dashboard-layout",
1489
- "appName": "Code Reviewer",
1490
- "navItems": [
1491
- {
1492
- "label": "Review",
1493
- "href": "/review",
1494
- "icon": "file-search"
1495
- },
1496
- {
1497
- "href": "/analysis",
1498
- "icon": "tag",
1499
- "label": "Analysis"
1500
- },
1501
- {
1502
- "label": "Issues",
1503
- "icon": "alert-triangle",
1504
- "href": "/issues"
1505
- }
1506
- ]
1506
+ "type": "dashboard-layout"
1507
1507
  }
1508
1508
  ]
1509
1509
  ]
@@ -1527,8 +1527,30 @@
1527
1527
  "render-ui",
1528
1528
  "main",
1529
1529
  {
1530
+ "navItems": [
1531
+ {
1532
+ "href": "/review",
1533
+ "icon": "file-search",
1534
+ "label": "Review"
1535
+ },
1536
+ {
1537
+ "icon": "tag",
1538
+ "label": "Analysis",
1539
+ "href": "/analysis"
1540
+ },
1541
+ {
1542
+ "label": "Issues",
1543
+ "href": "/issues",
1544
+ "icon": "alert-triangle"
1545
+ }
1546
+ ],
1547
+ "appName": "Code Reviewer",
1530
1548
  "children": [
1531
1549
  {
1550
+ "direction": "vertical",
1551
+ "align": "center",
1552
+ "type": "stack",
1553
+ "gap": "lg",
1532
1554
  "children": [
1533
1555
  {
1534
1556
  "name": "alert-triangle",
@@ -1540,42 +1562,20 @@
1540
1562
  "variant": "h2"
1541
1563
  },
1542
1564
  {
1543
- "type": "alert",
1544
1565
  "variant": "error",
1545
- "message": "@entity.error"
1566
+ "message": "@entity.error",
1567
+ "type": "alert"
1546
1568
  },
1547
1569
  {
1570
+ "variant": "primary",
1548
1571
  "label": "Try Again",
1549
- "icon": "rotate-ccw",
1550
1572
  "action": "RESET",
1551
1573
  "type": "button",
1552
- "variant": "primary"
1574
+ "icon": "rotate-ccw"
1553
1575
  }
1554
- ],
1555
- "align": "center",
1556
- "type": "stack",
1557
- "gap": "lg",
1558
- "direction": "vertical"
1559
- }
1560
- ],
1561
- "navItems": [
1562
- {
1563
- "href": "/review",
1564
- "icon": "file-search",
1565
- "label": "Review"
1566
- },
1567
- {
1568
- "icon": "tag",
1569
- "label": "Analysis",
1570
- "href": "/analysis"
1571
- },
1572
- {
1573
- "icon": "alert-triangle",
1574
- "href": "/issues",
1575
- "label": "Issues"
1576
+ ]
1576
1577
  }
1577
1578
  ],
1578
- "appName": "Code Reviewer",
1579
1579
  "type": "dashboard-layout"
1580
1580
  }
1581
1581
  ]
@@ -1621,29 +1621,13 @@
1621
1621
  "main",
1622
1622
  {
1623
1623
  "type": "dashboard-layout",
1624
- "navItems": [
1625
- {
1626
- "label": "Review",
1627
- "href": "/review",
1628
- "icon": "file-search"
1629
- },
1630
- {
1631
- "href": "/analysis",
1632
- "icon": "tag",
1633
- "label": "Analysis"
1634
- },
1635
- {
1636
- "icon": "alert-triangle",
1637
- "href": "/issues",
1638
- "label": "Issues"
1639
- }
1640
- ],
1624
+ "appName": "Code Reviewer",
1641
1625
  "children": [
1642
1626
  {
1643
- "type": "stack",
1644
1627
  "children": [
1645
1628
  {
1646
- "direction": "horizontal",
1629
+ "gap": "sm",
1630
+ "align": "center",
1647
1631
  "children": [
1648
1632
  {
1649
1633
  "name": "brain",
@@ -1651,13 +1635,12 @@
1651
1635
  },
1652
1636
  {
1653
1637
  "variant": "h2",
1654
- "type": "typography",
1655
- "content": "RAG Pipeline"
1638
+ "content": "RAG Pipeline",
1639
+ "type": "typography"
1656
1640
  }
1657
1641
  ],
1658
- "gap": "sm",
1659
- "align": "center",
1660
- "type": "stack"
1642
+ "type": "stack",
1643
+ "direction": "horizontal"
1661
1644
  },
1662
1645
  {
1663
1646
  "type": "divider"
@@ -1667,33 +1650,50 @@
1667
1650
  {
1668
1651
  "children": [
1669
1652
  {
1670
- "content": "Enter a query to retrieve context and generate a response",
1671
1653
  "variant": "body",
1672
- "type": "typography"
1654
+ "type": "typography",
1655
+ "content": "Enter a query to retrieve context and generate a response"
1673
1656
  },
1674
1657
  {
1675
1658
  "fields": [
1676
1659
  "query"
1677
1660
  ],
1678
- "type": "form-section",
1679
1661
  "entity": "@entity",
1680
1662
  "mode": "edit",
1681
- "submitEvent": "GENERATE"
1663
+ "submitEvent": "GENERATE",
1664
+ "type": "form-section"
1682
1665
  }
1683
1666
  ],
1684
- "direction": "vertical",
1667
+ "type": "stack",
1685
1668
  "gap": "md",
1686
- "type": "stack"
1669
+ "direction": "vertical"
1687
1670
  }
1688
1671
  ],
1689
1672
  "type": "card"
1690
1673
  }
1691
1674
  ],
1675
+ "gap": "lg",
1692
1676
  "direction": "vertical",
1693
- "gap": "lg"
1677
+ "type": "stack"
1694
1678
  }
1695
1679
  ],
1696
- "appName": "Code Reviewer"
1680
+ "navItems": [
1681
+ {
1682
+ "href": "/review",
1683
+ "icon": "file-search",
1684
+ "label": "Review"
1685
+ },
1686
+ {
1687
+ "icon": "tag",
1688
+ "href": "/analysis",
1689
+ "label": "Analysis"
1690
+ },
1691
+ {
1692
+ "label": "Issues",
1693
+ "icon": "alert-triangle",
1694
+ "href": "/issues"
1695
+ }
1696
+ ]
1697
1697
  }
1698
1698
  ]
1699
1699
  ]
@@ -1801,21 +1801,21 @@
1801
1801
  "render-ui",
1802
1802
  "main",
1803
1803
  {
1804
- "type": "stack",
1805
- "direction": "vertical",
1806
1804
  "children": [
1807
1805
  {
1808
1806
  "type": "spinner"
1809
1807
  },
1810
1808
  {
1809
+ "content": "Loading RAG pipeline…",
1811
1810
  "type": "typography",
1812
- "color": "muted",
1813
1811
  "variant": "caption",
1814
- "content": "Loading RAG pipeline…"
1812
+ "color": "muted"
1815
1813
  }
1816
1814
  ],
1817
- "className": "py-12",
1818
1815
  "gap": "md",
1816
+ "className": "py-12",
1817
+ "type": "stack",
1818
+ "direction": "vertical",
1819
1819
  "align": "center"
1820
1820
  }
1821
1821
  ]
@@ -1830,14 +1830,12 @@
1830
1830
  "render-ui",
1831
1831
  "main",
1832
1832
  {
1833
- "type": "dashboard-layout",
1834
1833
  "children": [
1835
1834
  {
1836
- "gap": "lg",
1837
1835
  "direction": "vertical",
1838
- "type": "stack",
1839
1836
  "children": [
1840
1837
  {
1838
+ "gap": "sm",
1841
1839
  "type": "stack",
1842
1840
  "children": [
1843
1841
  {
@@ -1845,80 +1843,83 @@
1845
1843
  "type": "icon"
1846
1844
  },
1847
1845
  {
1846
+ "variant": "h2",
1848
1847
  "type": "typography",
1849
- "content": "RAG Pipeline",
1850
- "variant": "h2"
1848
+ "content": "RAG Pipeline"
1851
1849
  }
1852
1850
  ],
1853
- "direction": "horizontal",
1854
1851
  "align": "center",
1855
- "gap": "sm"
1852
+ "direction": "horizontal"
1856
1853
  },
1857
1854
  {
1858
1855
  "type": "divider"
1859
1856
  },
1860
1857
  {
1861
- "defaultActiveTab": "query",
1862
1858
  "tabs": [
1863
1859
  {
1864
- "value": "query",
1865
- "label": "Query"
1860
+ "label": "Query",
1861
+ "value": "query"
1866
1862
  },
1867
1863
  {
1868
- "label": "Sources",
1869
- "value": "sources"
1864
+ "value": "sources",
1865
+ "label": "Sources"
1870
1866
  },
1871
1867
  {
1872
- "value": "response",
1873
- "label": "Response"
1868
+ "label": "Response",
1869
+ "value": "response"
1874
1870
  }
1875
1871
  ],
1876
- "onTabChange": "SELECT_TAB",
1877
- "type": "tabs"
1872
+ "type": "tabs",
1873
+ "defaultActiveTab": "query",
1874
+ "onTabChange": "SELECT_TAB"
1878
1875
  },
1879
1876
  {
1880
1877
  "type": "divider"
1881
1878
  },
1882
1879
  {
1883
- "type": "data-grid",
1884
1880
  "className": "transition-shadow hover:shadow-md cursor-pointer",
1885
1881
  "renderItem": [
1886
1882
  "fn",
1887
1883
  "item",
1888
1884
  {
1885
+ "type": "stack",
1889
1886
  "children": [
1890
1887
  {
1891
- "type": "typography",
1892
1888
  "variant": "h4",
1889
+ "type": "typography",
1893
1890
  "content": "@item.query"
1894
1891
  },
1895
1892
  {
1893
+ "type": "typography",
1896
1894
  "variant": "caption",
1897
1895
  "color": "muted",
1898
- "type": "typography",
1899
1896
  "content": "@item.query"
1900
1897
  }
1901
1898
  ],
1902
1899
  "direction": "vertical",
1903
- "gap": "sm",
1904
- "type": "stack"
1900
+ "gap": "sm"
1905
1901
  }
1906
1902
  ],
1907
- "fields": [],
1908
- "entity": "@payload.data"
1903
+ "entity": "@payload.data",
1904
+ "type": "data-grid",
1905
+ "fields": []
1909
1906
  }
1910
- ]
1907
+ ],
1908
+ "type": "stack",
1909
+ "gap": "lg"
1911
1910
  }
1912
1911
  ],
1912
+ "appName": "Code Reviewer",
1913
+ "type": "dashboard-layout",
1913
1914
  "navItems": [
1914
1915
  {
1915
- "icon": "file-search",
1916
1916
  "label": "Review",
1917
- "href": "/review"
1917
+ "href": "/review",
1918
+ "icon": "file-search"
1918
1919
  },
1919
1920
  {
1920
- "href": "/analysis",
1921
1921
  "label": "Analysis",
1922
+ "href": "/analysis",
1922
1923
  "icon": "tag"
1923
1924
  },
1924
1925
  {
@@ -1926,8 +1927,7 @@
1926
1927
  "href": "/issues",
1927
1928
  "icon": "alert-triangle"
1928
1929
  }
1929
- ],
1930
- "appName": "Code Reviewer"
1930
+ ]
1931
1931
  }
1932
1932
  ]
1933
1933
  ]
@@ -1941,35 +1941,35 @@
1941
1941
  "render-ui",
1942
1942
  "main",
1943
1943
  {
1944
- "className": "py-12",
1945
- "type": "stack",
1946
1944
  "children": [
1947
1945
  {
1948
1946
  "color": "destructive",
1949
- "type": "icon",
1950
- "name": "alert-triangle"
1947
+ "name": "alert-triangle",
1948
+ "type": "icon"
1951
1949
  },
1952
1950
  {
1953
1951
  "variant": "h3",
1954
- "content": "Failed to load RAG pipeline",
1955
- "type": "typography"
1952
+ "type": "typography",
1953
+ "content": "Failed to load RAG pipeline"
1956
1954
  },
1957
1955
  {
1958
- "content": "@payload.error",
1959
- "type": "typography",
1960
1956
  "variant": "body",
1961
- "color": "muted"
1957
+ "color": "muted",
1958
+ "type": "typography",
1959
+ "content": "@payload.error"
1962
1960
  },
1963
1961
  {
1964
1962
  "action": "INIT",
1965
1963
  "label": "Retry",
1966
- "type": "button",
1967
1964
  "icon": "rotate-ccw",
1968
- "variant": "primary"
1965
+ "variant": "primary",
1966
+ "type": "button"
1969
1967
  }
1970
1968
  ],
1971
- "gap": "md",
1972
1969
  "direction": "vertical",
1970
+ "gap": "md",
1971
+ "type": "stack",
1972
+ "className": "py-12",
1973
1973
  "align": "center"
1974
1974
  }
1975
1975
  ]
@@ -2083,8 +2083,8 @@
2083
2083
  "ReviewRag",
2084
2084
  {
2085
2085
  "emit": {
2086
- "success": "ReviewRagLoaded",
2087
- "failure": "ReviewRagLoadFailed"
2086
+ "failure": "ReviewRagLoadFailed",
2087
+ "success": "ReviewRagLoaded"
2088
2088
  }
2089
2089
  }
2090
2090
  ],
@@ -2092,22 +2092,22 @@
2092
2092
  "render-ui",
2093
2093
  "main",
2094
2094
  {
2095
- "align": "center",
2095
+ "className": "py-12",
2096
2096
  "children": [
2097
2097
  {
2098
2098
  "type": "spinner"
2099
2099
  },
2100
2100
  {
2101
2101
  "color": "muted",
2102
- "type": "typography",
2102
+ "content": "Loading…",
2103
2103
  "variant": "caption",
2104
- "content": "Loading…"
2104
+ "type": "typography"
2105
2105
  }
2106
2106
  ],
2107
2107
  "type": "stack",
2108
- "direction": "vertical",
2108
+ "align": "center",
2109
2109
  "gap": "md",
2110
- "className": "py-12"
2110
+ "direction": "vertical"
2111
2111
  }
2112
2112
  ]
2113
2113
  ]
@@ -2121,85 +2121,81 @@
2121
2121
  "render-ui",
2122
2122
  "main",
2123
2123
  {
2124
+ "type": "dashboard-layout",
2124
2125
  "navItems": [
2125
2126
  {
2127
+ "icon": "file-search",
2126
2128
  "href": "/review",
2127
- "label": "Review",
2128
- "icon": "file-search"
2129
+ "label": "Review"
2129
2130
  },
2130
2131
  {
2131
- "icon": "tag",
2132
2132
  "href": "/analysis",
2133
+ "icon": "tag",
2133
2134
  "label": "Analysis"
2134
2135
  },
2135
2136
  {
2136
- "label": "Issues",
2137
+ "icon": "alert-triangle",
2137
2138
  "href": "/issues",
2138
- "icon": "alert-triangle"
2139
+ "label": "Issues"
2139
2140
  }
2140
2141
  ],
2141
- "type": "dashboard-layout",
2142
2142
  "appName": "Code Reviewer",
2143
2143
  "children": [
2144
2144
  {
2145
- "className": "max-w-5xl mx-auto w-full",
2146
- "direction": "vertical",
2147
- "gap": "lg",
2148
- "type": "stack",
2149
2145
  "children": [
2150
2146
  {
2151
- "gap": "md",
2152
- "direction": "horizontal",
2153
- "type": "stack",
2154
2147
  "align": "center",
2155
- "justify": "between",
2156
2148
  "children": [
2157
2149
  {
2150
+ "type": "stack",
2151
+ "align": "center",
2158
2152
  "gap": "sm",
2153
+ "direction": "horizontal",
2159
2154
  "children": [
2160
2155
  {
2161
- "name": "brain",
2162
- "type": "icon"
2156
+ "type": "icon",
2157
+ "name": "brain"
2163
2158
  },
2164
2159
  {
2160
+ "content": "ReviewRag Manager",
2165
2161
  "variant": "h2",
2166
- "type": "typography",
2167
- "content": "ReviewRag Manager"
2162
+ "type": "typography"
2168
2163
  }
2169
- ],
2170
- "type": "stack",
2171
- "direction": "horizontal",
2172
- "align": "center"
2164
+ ]
2173
2165
  },
2174
2166
  {
2175
2167
  "type": "stack",
2176
2168
  "children": [
2177
2169
  {
2178
- "variant": "primary",
2179
- "action": "MEMORIZE",
2180
- "icon": "plus",
2181
2170
  "type": "button",
2182
- "label": "Memorize"
2171
+ "label": "Memorize",
2172
+ "action": "MEMORIZE",
2173
+ "variant": "primary",
2174
+ "icon": "plus"
2183
2175
  },
2184
2176
  {
2185
2177
  "type": "button",
2186
2178
  "label": "Recall",
2179
+ "icon": "search",
2187
2180
  "action": "RECALL",
2188
- "variant": "secondary",
2189
- "icon": "search"
2181
+ "variant": "secondary"
2190
2182
  },
2191
2183
  {
2184
+ "variant": "ghost",
2192
2185
  "icon": "clock",
2193
- "type": "button",
2194
- "label": "Decay All",
2195
2186
  "action": "DECAY",
2196
- "variant": "ghost"
2187
+ "type": "button",
2188
+ "label": "Decay All"
2197
2189
  }
2198
2190
  ],
2199
- "direction": "horizontal",
2200
- "gap": "sm"
2191
+ "gap": "sm",
2192
+ "direction": "horizontal"
2201
2193
  }
2202
- ]
2194
+ ],
2195
+ "justify": "between",
2196
+ "gap": "md",
2197
+ "type": "stack",
2198
+ "direction": "horizontal"
2203
2199
  },
2204
2200
  {
2205
2201
  "type": "divider"
@@ -2208,45 +2204,47 @@
2208
2204
  "columns": [
2209
2205
  {
2210
2206
  "name": "content",
2207
+ "variant": "h4",
2211
2208
  "icon": "brain",
2212
- "label": "Content",
2213
- "variant": "h4"
2209
+ "label": "Content"
2214
2210
  },
2215
2211
  {
2216
- "label": "Category",
2217
2212
  "variant": "badge",
2218
2213
  "colorMap": {
2219
- "archived": "neutral",
2214
+ "done": "success",
2220
2215
  "scheduled": "warning",
2221
2216
  "active": "success",
2217
+ "pending": "warning",
2222
2218
  "disabled": "neutral",
2223
2219
  "completed": "success",
2224
- "inactive": "neutral",
2225
- "error": "destructive",
2226
- "done": "success",
2227
2220
  "cancelled": "destructive",
2228
2221
  "failed": "destructive",
2229
- "draft": "warning",
2230
- "pending": "warning"
2222
+ "archived": "neutral",
2223
+ "error": "destructive",
2224
+ "inactive": "neutral",
2225
+ "draft": "warning"
2231
2226
  },
2232
- "name": "category"
2227
+ "name": "category",
2228
+ "label": "Category"
2233
2229
  },
2234
2230
  {
2235
- "variant": "caption",
2236
2231
  "name": "strength",
2232
+ "variant": "caption",
2237
2233
  "label": "Strength"
2238
2234
  }
2239
2235
  ],
2236
+ "type": "data-grid",
2237
+ "fields": [],
2240
2238
  "itemActions": [
2241
2239
  {
2242
2240
  "variant": "ghost",
2243
- "event": "PIN",
2244
- "label": "Pin"
2241
+ "label": "Pin",
2242
+ "event": "PIN"
2245
2243
  },
2246
2244
  {
2247
- "event": "REINFORCE",
2245
+ "label": "Reinforce",
2248
2246
  "variant": "ghost",
2249
- "label": "Reinforce"
2247
+ "event": "REINFORCE"
2250
2248
  },
2251
2249
  {
2252
2250
  "label": "Forget",
@@ -2254,11 +2252,13 @@
2254
2252
  "variant": "danger"
2255
2253
  }
2256
2254
  ],
2257
- "fields": [],
2258
- "type": "data-grid",
2259
2255
  "entity": "@payload.data"
2260
2256
  }
2261
- ]
2257
+ ],
2258
+ "direction": "vertical",
2259
+ "className": "max-w-5xl mx-auto w-full",
2260
+ "gap": "lg",
2261
+ "type": "stack"
2262
2262
  }
2263
2263
  ]
2264
2264
  }
@@ -2274,36 +2274,36 @@
2274
2274
  "render-ui",
2275
2275
  "main",
2276
2276
  {
2277
- "gap": "md",
2277
+ "direction": "vertical",
2278
+ "align": "center",
2278
2279
  "className": "py-12",
2279
2280
  "children": [
2280
2281
  {
2282
+ "name": "alert-triangle",
2281
2283
  "type": "icon",
2282
- "color": "destructive",
2283
- "name": "alert-triangle"
2284
+ "color": "destructive"
2284
2285
  },
2285
2286
  {
2287
+ "content": "Failed to load reviewrag",
2286
2288
  "type": "typography",
2287
- "variant": "h3",
2288
- "content": "Failed to load reviewrag"
2289
+ "variant": "h3"
2289
2290
  },
2290
2291
  {
2292
+ "color": "muted",
2291
2293
  "type": "typography",
2292
2294
  "content": "@payload.error",
2293
- "color": "muted",
2294
2295
  "variant": "body"
2295
2296
  },
2296
2297
  {
2297
- "icon": "rotate-ccw",
2298
- "label": "Retry",
2298
+ "type": "button",
2299
2299
  "variant": "primary",
2300
+ "icon": "rotate-ccw",
2300
2301
  "action": "INIT",
2301
- "type": "button"
2302
+ "label": "Retry"
2302
2303
  }
2303
2304
  ],
2304
- "type": "stack",
2305
- "align": "center",
2306
- "direction": "vertical"
2305
+ "gap": "md",
2306
+ "type": "stack"
2307
2307
  }
2308
2308
  ]
2309
2309
  ]
@@ -2392,8 +2392,8 @@
2392
2392
  "ReviewRag",
2393
2393
  {
2394
2394
  "emit": {
2395
- "success": "ReviewRagLoaded",
2396
- "failure": "ReviewRagLoadFailed"
2395
+ "failure": "ReviewRagLoadFailed",
2396
+ "success": "ReviewRagLoaded"
2397
2397
  }
2398
2398
  }
2399
2399
  ],
@@ -2401,22 +2401,22 @@
2401
2401
  "render-ui",
2402
2402
  "main",
2403
2403
  {
2404
- "className": "py-12",
2405
- "direction": "vertical",
2404
+ "type": "stack",
2406
2405
  "children": [
2407
2406
  {
2408
2407
  "type": "spinner"
2409
2408
  },
2410
2409
  {
2411
- "content": "Loading…",
2412
- "variant": "caption",
2413
2410
  "color": "muted",
2414
- "type": "typography"
2411
+ "type": "typography",
2412
+ "variant": "caption",
2413
+ "content": "Loading…"
2415
2414
  }
2416
2415
  ],
2416
+ "className": "py-12",
2417
2417
  "align": "center",
2418
- "gap": "md",
2419
- "type": "stack"
2418
+ "direction": "vertical",
2419
+ "gap": "md"
2420
2420
  }
2421
2421
  ]
2422
2422
  ]
@@ -2424,43 +2424,27 @@
2424
2424
  {
2425
2425
  "from": "browsing",
2426
2426
  "to": "browsing",
2427
- "event": "ReviewRagLoaded",
2428
- "effects": [
2429
- [
2430
- "render-ui",
2431
- "main",
2432
- {
2433
- "type": "dashboard-layout",
2434
- "navItems": [
2435
- {
2436
- "href": "/review",
2437
- "label": "Review",
2438
- "icon": "file-search"
2439
- },
2440
- {
2441
- "icon": "tag",
2442
- "label": "Analysis",
2443
- "href": "/analysis"
2444
- },
2445
- {
2446
- "label": "Issues",
2447
- "href": "/issues",
2448
- "icon": "alert-triangle"
2449
- }
2450
- ],
2427
+ "event": "ReviewRagLoaded",
2428
+ "effects": [
2429
+ [
2430
+ "render-ui",
2431
+ "main",
2432
+ {
2451
2433
  "children": [
2452
2434
  {
2435
+ "type": "stack",
2453
2436
  "direction": "vertical",
2454
2437
  "gap": "lg",
2455
- "type": "stack",
2456
2438
  "className": "max-w-5xl mx-auto w-full",
2457
2439
  "children": [
2458
2440
  {
2459
- "gap": "md",
2441
+ "align": "center",
2442
+ "direction": "horizontal",
2443
+ "type": "stack",
2460
2444
  "children": [
2461
2445
  {
2462
- "type": "stack",
2463
- "direction": "horizontal",
2446
+ "align": "center",
2447
+ "gap": "sm",
2464
2448
  "children": [
2465
2449
  {
2466
2450
  "type": "icon",
@@ -2468,91 +2452,107 @@
2468
2452
  },
2469
2453
  {
2470
2454
  "content": "ReviewRag",
2471
- "type": "typography",
2472
- "variant": "h2"
2455
+ "variant": "h2",
2456
+ "type": "typography"
2473
2457
  }
2474
2458
  ],
2475
- "gap": "sm",
2476
- "align": "center"
2459
+ "direction": "horizontal",
2460
+ "type": "stack"
2477
2461
  },
2478
2462
  {
2479
2463
  "direction": "horizontal",
2480
- "type": "stack",
2481
2464
  "gap": "sm",
2465
+ "type": "stack",
2482
2466
  "children": [
2483
2467
  {
2468
+ "label": "Search",
2484
2469
  "type": "button",
2485
- "variant": "primary",
2486
2470
  "icon": "search",
2487
- "label": "Search",
2488
- "action": "SEARCH"
2471
+ "action": "SEARCH",
2472
+ "variant": "primary"
2489
2473
  },
2490
2474
  {
2491
- "icon": "x",
2475
+ "type": "button",
2492
2476
  "action": "CLEAR",
2493
2477
  "variant": "ghost",
2494
- "type": "button",
2495
- "label": "Clear"
2478
+ "label": "Clear",
2479
+ "icon": "x"
2496
2480
  }
2497
2481
  ]
2498
2482
  }
2499
2483
  ],
2500
- "type": "stack",
2501
2484
  "justify": "between",
2502
- "direction": "horizontal",
2503
- "align": "center"
2485
+ "gap": "md"
2504
2486
  },
2505
2487
  {
2506
2488
  "type": "divider"
2507
2489
  },
2508
2490
  {
2509
- "type": "data-grid",
2510
2491
  "itemActions": [
2511
2492
  {
2512
- "label": "View",
2513
2493
  "event": "VIEW",
2494
+ "label": "View",
2514
2495
  "variant": "ghost"
2515
2496
  }
2516
2497
  ],
2517
2498
  "entity": "@payload.data",
2499
+ "type": "data-grid",
2500
+ "fields": [],
2518
2501
  "columns": [
2519
2502
  {
2520
- "variant": "h4",
2521
- "name": "query",
2522
2503
  "icon": "search",
2504
+ "name": "query",
2505
+ "variant": "h4",
2523
2506
  "label": "Query"
2524
2507
  },
2525
2508
  {
2526
- "name": "language",
2527
- "variant": "badge",
2528
- "label": "Language",
2529
2509
  "colorMap": {
2530
- "failed": "destructive",
2531
- "scheduled": "warning",
2510
+ "active": "success",
2532
2511
  "error": "destructive",
2533
2512
  "inactive": "neutral",
2534
- "disabled": "neutral",
2535
- "active": "success",
2536
- "done": "success",
2537
- "completed": "success",
2538
2513
  "cancelled": "destructive",
2514
+ "completed": "success",
2515
+ "scheduled": "warning",
2516
+ "archived": "neutral",
2517
+ "done": "success",
2539
2518
  "pending": "warning",
2540
- "draft": "warning",
2541
- "archived": "neutral"
2542
- }
2519
+ "disabled": "neutral",
2520
+ "failed": "destructive",
2521
+ "draft": "warning"
2522
+ },
2523
+ "variant": "badge",
2524
+ "name": "language",
2525
+ "label": "Language"
2543
2526
  },
2544
2527
  {
2528
+ "variant": "caption",
2545
2529
  "name": "resultCount",
2546
- "label": "Result Count",
2547
- "variant": "caption"
2530
+ "label": "Result Count"
2548
2531
  }
2549
- ],
2550
- "fields": []
2532
+ ]
2551
2533
  }
2552
2534
  ]
2553
2535
  }
2554
2536
  ],
2555
- "appName": "Code Reviewer"
2537
+ "appName": "Code Reviewer",
2538
+ "navItems": [
2539
+ {
2540
+ "icon": "file-search",
2541
+ "label": "Review",
2542
+ "href": "/review"
2543
+ },
2544
+ {
2545
+ "icon": "tag",
2546
+ "href": "/analysis",
2547
+ "label": "Analysis"
2548
+ },
2549
+ {
2550
+ "label": "Issues",
2551
+ "icon": "alert-triangle",
2552
+ "href": "/issues"
2553
+ }
2554
+ ],
2555
+ "type": "dashboard-layout"
2556
2556
  }
2557
2557
  ]
2558
2558
  ]
@@ -2567,35 +2567,35 @@
2567
2567
  "main",
2568
2568
  {
2569
2569
  "type": "stack",
2570
+ "className": "py-12",
2570
2571
  "direction": "vertical",
2572
+ "gap": "md",
2573
+ "align": "center",
2571
2574
  "children": [
2572
2575
  {
2573
- "type": "icon",
2574
2576
  "color": "destructive",
2575
- "name": "alert-triangle"
2577
+ "name": "alert-triangle",
2578
+ "type": "icon"
2576
2579
  },
2577
2580
  {
2578
- "type": "typography",
2579
2581
  "content": "Failed to load reviewrag",
2582
+ "type": "typography",
2580
2583
  "variant": "h3"
2581
2584
  },
2582
2585
  {
2583
2586
  "type": "typography",
2584
- "variant": "body",
2585
2587
  "color": "muted",
2586
- "content": "@payload.error"
2588
+ "content": "@payload.error",
2589
+ "variant": "body"
2587
2590
  },
2588
2591
  {
2589
- "label": "Retry",
2590
- "variant": "primary",
2591
2592
  "icon": "rotate-ccw",
2592
2593
  "type": "button",
2593
- "action": "INIT"
2594
+ "label": "Retry",
2595
+ "action": "INIT",
2596
+ "variant": "primary"
2594
2597
  }
2595
- ],
2596
- "gap": "md",
2597
- "align": "center",
2598
- "className": "py-12"
2598
+ ]
2599
2599
  }
2600
2600
  ]
2601
2601
  ]
@@ -2761,13 +2761,21 @@
2761
2761
  "event": "INIT",
2762
2762
  "effects": [
2763
2763
  [
2764
- "ref",
2765
- "ReviewRag"
2764
+ "fetch",
2765
+ "ReviewRag",
2766
+ {
2767
+ "emit": {
2768
+ "failure": "ReviewRagLoadFailed",
2769
+ "success": "ReviewRagLoaded"
2770
+ }
2771
+ }
2766
2772
  ],
2767
2773
  [
2768
2774
  "render-ui",
2769
2775
  "main",
2770
2776
  {
2777
+ "appName": "Code Reviewer",
2778
+ "type": "dashboard-layout",
2771
2779
  "navItems": [
2772
2780
  {
2773
2781
  "label": "Review",
@@ -2775,67 +2783,65 @@
2775
2783
  "icon": "file-search"
2776
2784
  },
2777
2785
  {
2786
+ "href": "/analysis",
2778
2787
  "icon": "tag",
2779
- "label": "Analysis",
2780
- "href": "/analysis"
2788
+ "label": "Analysis"
2781
2789
  },
2782
2790
  {
2783
- "icon": "alert-triangle",
2784
2791
  "href": "/issues",
2785
- "label": "Issues"
2792
+ "label": "Issues",
2793
+ "icon": "alert-triangle"
2786
2794
  }
2787
2795
  ],
2788
2796
  "children": [
2789
2797
  {
2790
- "type": "stack",
2791
2798
  "direction": "vertical",
2792
2799
  "children": [
2793
2800
  {
2801
+ "justify": "between",
2794
2802
  "gap": "md",
2795
2803
  "type": "stack",
2796
- "justify": "between",
2804
+ "direction": "horizontal",
2797
2805
  "children": [
2798
2806
  {
2807
+ "direction": "horizontal",
2799
2808
  "type": "stack",
2809
+ "gap": "md",
2800
2810
  "children": [
2801
2811
  {
2802
- "name": "sparkles",
2803
- "type": "icon"
2812
+ "type": "icon",
2813
+ "name": "sparkles"
2804
2814
  },
2805
2815
  {
2806
2816
  "type": "typography",
2807
- "content": "ReviewRag",
2808
- "variant": "h2"
2817
+ "variant": "h2",
2818
+ "content": "ReviewRag"
2809
2819
  }
2810
- ],
2811
- "gap": "md",
2812
- "direction": "horizontal"
2820
+ ]
2813
2821
  },
2814
2822
  {
2815
- "label": "Open",
2816
2823
  "action": "GENERATE",
2824
+ "variant": "primary",
2817
2825
  "type": "button",
2818
- "icon": "sparkles",
2819
- "variant": "primary"
2826
+ "label": "Open",
2827
+ "icon": "sparkles"
2820
2828
  }
2821
- ],
2822
- "direction": "horizontal"
2829
+ ]
2823
2830
  },
2824
2831
  {
2825
2832
  "type": "divider"
2826
2833
  },
2827
2834
  {
2835
+ "type": "empty-state",
2828
2836
  "icon": "sparkles",
2829
2837
  "description": "Click Open to view details in a modal overlay.",
2830
- "type": "empty-state",
2831
2838
  "title": "Nothing open"
2832
2839
  }
2833
2840
  ],
2841
+ "type": "stack",
2834
2842
  "gap": "lg"
2835
2843
  }
2836
- ],
2837
- "type": "dashboard-layout",
2838
- "appName": "Code Reviewer"
2844
+ ]
2839
2845
  }
2840
2846
  ]
2841
2847
  ]
@@ -2849,24 +2855,24 @@
2849
2855
  "render-ui",
2850
2856
  "modal",
2851
2857
  {
2852
- "gap": "md",
2853
2858
  "direction": "vertical",
2854
2859
  "type": "stack",
2860
+ "gap": "md",
2855
2861
  "children": [
2856
2862
  {
2857
- "type": "stack",
2858
2863
  "children": [
2859
2864
  {
2860
2865
  "type": "icon",
2861
2866
  "name": "sparkles"
2862
2867
  },
2863
2868
  {
2869
+ "type": "typography",
2864
2870
  "variant": "h3",
2865
- "content": "ReviewRag",
2866
- "type": "typography"
2871
+ "content": "ReviewRag"
2867
2872
  }
2868
2873
  ],
2869
2874
  "direction": "horizontal",
2875
+ "type": "stack",
2870
2876
  "gap": "sm"
2871
2877
  },
2872
2878
  {
@@ -2876,8 +2882,8 @@
2876
2882
  "gap": "sm",
2877
2883
  "children": [
2878
2884
  {
2879
- "type": "badge",
2880
- "label": "@entity.provider"
2885
+ "label": "@entity.provider",
2886
+ "type": "badge"
2881
2887
  },
2882
2888
  {
2883
2889
  "label": "@entity.model",
@@ -2888,10 +2894,10 @@
2888
2894
  "direction": "horizontal"
2889
2895
  },
2890
2896
  {
2891
- "mode": "create",
2897
+ "type": "form-section",
2892
2898
  "submitEvent": "SAVE",
2893
2899
  "cancelEvent": "CLOSE",
2894
- "type": "form-section",
2900
+ "mode": "create",
2895
2901
  "fields": [
2896
2902
  "prompt"
2897
2903
  ]
@@ -2917,8 +2923,14 @@
2917
2923
  "info"
2918
2924
  ],
2919
2925
  [
2920
- "ref",
2921
- "ReviewRag"
2926
+ "fetch",
2927
+ "ReviewRag",
2928
+ {
2929
+ "emit": {
2930
+ "failure": "ReviewRagLoadFailed",
2931
+ "success": "ReviewRagLoaded"
2932
+ }
2933
+ }
2922
2934
  ],
2923
2935
  [
2924
2936
  "render-ui",
@@ -2926,27 +2938,30 @@
2926
2938
  {
2927
2939
  "children": [
2928
2940
  {
2941
+ "direction": "vertical",
2929
2942
  "type": "stack",
2930
2943
  "gap": "lg",
2931
- "direction": "vertical",
2932
2944
  "children": [
2933
2945
  {
2946
+ "type": "stack",
2947
+ "justify": "between",
2948
+ "gap": "md",
2934
2949
  "children": [
2935
2950
  {
2936
- "type": "stack",
2937
2951
  "direction": "horizontal",
2952
+ "type": "stack",
2953
+ "gap": "md",
2938
2954
  "children": [
2939
2955
  {
2940
2956
  "name": "sparkles",
2941
2957
  "type": "icon"
2942
2958
  },
2943
2959
  {
2944
- "type": "typography",
2960
+ "content": "ReviewRag",
2945
2961
  "variant": "h2",
2946
- "content": "ReviewRag"
2962
+ "type": "typography"
2947
2963
  }
2948
- ],
2949
- "gap": "md"
2964
+ ]
2950
2965
  },
2951
2966
  {
2952
2967
  "type": "button",
@@ -2956,29 +2971,27 @@
2956
2971
  "icon": "sparkles"
2957
2972
  }
2958
2973
  ],
2959
- "direction": "horizontal",
2960
- "gap": "md",
2961
- "justify": "between",
2962
- "type": "stack"
2974
+ "direction": "horizontal"
2963
2975
  },
2964
2976
  {
2965
2977
  "type": "divider"
2966
2978
  },
2967
2979
  {
2968
- "type": "empty-state",
2969
- "description": "Click Open to view details in a modal overlay.",
2980
+ "icon": "sparkles",
2970
2981
  "title": "Nothing open",
2971
- "icon": "sparkles"
2982
+ "type": "empty-state",
2983
+ "description": "Click Open to view details in a modal overlay."
2972
2984
  }
2973
2985
  ]
2974
2986
  }
2975
2987
  ],
2988
+ "type": "dashboard-layout",
2976
2989
  "appName": "Code Reviewer",
2977
2990
  "navItems": [
2978
2991
  {
2979
- "label": "Review",
2992
+ "icon": "file-search",
2980
2993
  "href": "/review",
2981
- "icon": "file-search"
2994
+ "label": "Review"
2982
2995
  },
2983
2996
  {
2984
2997
  "href": "/analysis",
@@ -2986,12 +2999,11 @@
2986
2999
  "label": "Analysis"
2987
3000
  },
2988
3001
  {
2989
- "label": "Issues",
2990
3002
  "icon": "alert-triangle",
3003
+ "label": "Issues",
2991
3004
  "href": "/issues"
2992
3005
  }
2993
- ],
2994
- "type": "dashboard-layout"
3006
+ ]
2995
3007
  }
2996
3008
  ]
2997
3009
  ]
@@ -3008,8 +3020,8 @@
3008
3020
  "@payload.data",
3009
3021
  {
3010
3022
  "emit": {
3011
- "success": "ReviewRagSaved",
3012
- "failure": "ReviewRagSaveFailed"
3023
+ "failure": "ReviewRagSaveFailed",
3024
+ "success": "ReviewRagSaved"
3013
3025
  }
3014
3026
  }
3015
3027
  ],
@@ -3023,68 +3035,55 @@
3023
3035
  "GENERATED"
3024
3036
  ],
3025
3037
  [
3026
- "ref",
3027
- "ReviewRag"
3038
+ "fetch",
3039
+ "ReviewRag",
3040
+ {
3041
+ "emit": {
3042
+ "success": "ReviewRagLoaded",
3043
+ "failure": "ReviewRagLoadFailed"
3044
+ }
3045
+ }
3028
3046
  ],
3029
3047
  [
3030
3048
  "render-ui",
3031
3049
  "main",
3032
3050
  {
3033
- "navItems": [
3034
- {
3035
- "icon": "file-search",
3036
- "label": "Review",
3037
- "href": "/review"
3038
- },
3039
- {
3040
- "icon": "tag",
3041
- "label": "Analysis",
3042
- "href": "/analysis"
3043
- },
3044
- {
3045
- "href": "/issues",
3046
- "icon": "alert-triangle",
3047
- "label": "Issues"
3048
- }
3049
- ],
3050
- "appName": "Code Reviewer",
3051
- "type": "dashboard-layout",
3052
3051
  "children": [
3053
3052
  {
3053
+ "type": "stack",
3054
3054
  "direction": "vertical",
3055
3055
  "gap": "lg",
3056
- "type": "stack",
3057
3056
  "children": [
3058
3057
  {
3059
- "type": "stack",
3060
- "gap": "md",
3061
- "direction": "horizontal",
3062
- "justify": "between",
3063
3058
  "children": [
3064
3059
  {
3060
+ "gap": "md",
3061
+ "direction": "horizontal",
3062
+ "type": "stack",
3065
3063
  "children": [
3066
3064
  {
3067
3065
  "type": "icon",
3068
3066
  "name": "sparkles"
3069
3067
  },
3070
3068
  {
3071
- "variant": "h2",
3072
3069
  "content": "ReviewRag",
3073
- "type": "typography"
3074
- }
3075
- ],
3076
- "direction": "horizontal",
3077
- "gap": "md",
3078
- "type": "stack"
3070
+ "type": "typography",
3071
+ "variant": "h2"
3072
+ }
3073
+ ]
3079
3074
  },
3080
3075
  {
3081
- "icon": "sparkles",
3076
+ "type": "button",
3082
3077
  "variant": "primary",
3083
- "label": "Open",
3084
3078
  "action": "GENERATE",
3085
- "type": "button"
3079
+ "icon": "sparkles",
3080
+ "label": "Open"
3086
3081
  }
3087
- ]
3082
+ ],
3083
+ "direction": "horizontal",
3084
+ "type": "stack",
3085
+ "gap": "md",
3086
+ "justify": "between"
3088
3087
  },
3089
3088
  {
3090
3089
  "type": "divider"
@@ -3092,11 +3091,30 @@
3092
3091
  {
3093
3092
  "type": "empty-state",
3094
3093
  "icon": "sparkles",
3095
- "title": "Nothing open",
3096
- "description": "Click Open to view details in a modal overlay."
3094
+ "description": "Click Open to view details in a modal overlay.",
3095
+ "title": "Nothing open"
3097
3096
  }
3098
3097
  ]
3099
3098
  }
3099
+ ],
3100
+ "type": "dashboard-layout",
3101
+ "appName": "Code Reviewer",
3102
+ "navItems": [
3103
+ {
3104
+ "label": "Review",
3105
+ "href": "/review",
3106
+ "icon": "file-search"
3107
+ },
3108
+ {
3109
+ "icon": "tag",
3110
+ "href": "/analysis",
3111
+ "label": "Analysis"
3112
+ },
3113
+ {
3114
+ "href": "/issues",
3115
+ "icon": "alert-triangle",
3116
+ "label": "Issues"
3117
+ }
3100
3118
  ]
3101
3119
  }
3102
3120
  ]
@@ -3327,16 +3345,40 @@
3327
3345
  "event": "INIT",
3328
3346
  "effects": [
3329
3347
  [
3330
- "ref",
3331
- "Analysis"
3348
+ "fetch",
3349
+ "Analysis",
3350
+ {
3351
+ "emit": {
3352
+ "success": "AnalysisLoaded",
3353
+ "failure": "AnalysisLoadFailed"
3354
+ }
3355
+ }
3332
3356
  ],
3333
3357
  [
3334
3358
  "render-ui",
3335
3359
  "main",
3336
3360
  {
3361
+ "type": "dashboard-layout",
3362
+ "navItems": [
3363
+ {
3364
+ "icon": "file-search",
3365
+ "href": "/review",
3366
+ "label": "Review"
3367
+ },
3368
+ {
3369
+ "label": "Analysis",
3370
+ "href": "/analysis",
3371
+ "icon": "tag"
3372
+ },
3373
+ {
3374
+ "label": "Issues",
3375
+ "href": "/issues",
3376
+ "icon": "alert-triangle"
3377
+ }
3378
+ ],
3337
3379
  "children": [
3338
3380
  {
3339
- "type": "stack",
3381
+ "gap": "lg",
3340
3382
  "direction": "vertical",
3341
3383
  "children": [
3342
3384
  {
@@ -3346,27 +3388,27 @@
3346
3388
  "justify": "between",
3347
3389
  "children": [
3348
3390
  {
3391
+ "type": "stack",
3349
3392
  "gap": "md",
3393
+ "direction": "horizontal",
3350
3394
  "children": [
3351
3395
  {
3352
3396
  "name": "tag",
3353
3397
  "type": "icon"
3354
3398
  },
3355
3399
  {
3400
+ "content": "Analysis",
3356
3401
  "type": "typography",
3357
- "variant": "h2",
3358
- "content": "Analysis"
3402
+ "variant": "h2"
3359
3403
  }
3360
- ],
3361
- "direction": "horizontal",
3362
- "type": "stack"
3404
+ ]
3363
3405
  },
3364
3406
  {
3365
3407
  "icon": "tag",
3408
+ "label": "Open",
3366
3409
  "type": "button",
3367
3410
  "variant": "primary",
3368
- "action": "CLASSIFY",
3369
- "label": "Open"
3411
+ "action": "CLASSIFY"
3370
3412
  }
3371
3413
  ]
3372
3414
  },
@@ -3374,34 +3416,16 @@
3374
3416
  "type": "divider"
3375
3417
  },
3376
3418
  {
3377
- "type": "empty-state",
3419
+ "title": "Nothing open",
3378
3420
  "icon": "tag",
3379
3421
  "description": "Click Open to view details in a modal overlay.",
3380
- "title": "Nothing open"
3422
+ "type": "empty-state"
3381
3423
  }
3382
3424
  ],
3383
- "gap": "lg"
3425
+ "type": "stack"
3384
3426
  }
3385
3427
  ],
3386
- "appName": "Code Reviewer",
3387
- "type": "dashboard-layout",
3388
- "navItems": [
3389
- {
3390
- "label": "Review",
3391
- "href": "/review",
3392
- "icon": "file-search"
3393
- },
3394
- {
3395
- "label": "Analysis",
3396
- "href": "/analysis",
3397
- "icon": "tag"
3398
- },
3399
- {
3400
- "label": "Issues",
3401
- "href": "/issues",
3402
- "icon": "alert-triangle"
3403
- }
3404
- ]
3428
+ "appName": "Code Reviewer"
3405
3429
  }
3406
3430
  ]
3407
3431
  ]
@@ -3415,12 +3439,10 @@
3415
3439
  "render-ui",
3416
3440
  "modal",
3417
3441
  {
3418
- "type": "stack",
3419
- "gap": "md",
3420
3442
  "direction": "vertical",
3421
3443
  "children": [
3422
3444
  {
3423
- "direction": "horizontal",
3445
+ "type": "stack",
3424
3446
  "children": [
3425
3447
  {
3426
3448
  "type": "icon",
@@ -3433,15 +3455,13 @@
3433
3455
  }
3434
3456
  ],
3435
3457
  "gap": "sm",
3436
- "type": "stack"
3458
+ "direction": "horizontal"
3437
3459
  },
3438
3460
  {
3439
3461
  "type": "divider"
3440
3462
  },
3441
3463
  {
3442
3464
  "gap": "sm",
3443
- "direction": "horizontal",
3444
- "type": "stack",
3445
3465
  "children": [
3446
3466
  {
3447
3467
  "variant": "caption",
@@ -3455,8 +3475,8 @@
3455
3475
  },
3456
3476
  {
3457
3477
  "type": "badge",
3458
- "label": "component",
3459
- "variant": "secondary"
3478
+ "variant": "secondary",
3479
+ "label": "component"
3460
3480
  },
3461
3481
  {
3462
3482
  "label": "trait",
@@ -3464,32 +3484,36 @@
3464
3484
  "variant": "secondary"
3465
3485
  },
3466
3486
  {
3467
- "label": "page",
3487
+ "variant": "secondary",
3468
3488
  "type": "badge",
3469
- "variant": "secondary"
3489
+ "label": "page"
3470
3490
  },
3471
3491
  {
3472
- "label": "behavior",
3473
3492
  "variant": "secondary",
3474
- "type": "badge"
3493
+ "type": "badge",
3494
+ "label": "behavior"
3475
3495
  },
3476
3496
  {
3477
3497
  "label": "style",
3478
- "type": "badge",
3479
- "variant": "secondary"
3498
+ "variant": "secondary",
3499
+ "type": "badge"
3480
3500
  }
3481
- ]
3501
+ ],
3502
+ "direction": "horizontal",
3503
+ "type": "stack"
3482
3504
  },
3483
3505
  {
3484
3506
  "type": "form-section",
3485
- "cancelEvent": "CLOSE",
3486
- "mode": "create",
3487
3507
  "submitEvent": "SAVE",
3508
+ "cancelEvent": "CLOSE",
3488
3509
  "fields": [
3489
3510
  "input"
3490
- ]
3511
+ ],
3512
+ "mode": "create"
3491
3513
  }
3492
- ]
3514
+ ],
3515
+ "type": "stack",
3516
+ "gap": "md"
3493
3517
  }
3494
3518
  ]
3495
3519
  ]
@@ -3510,20 +3534,44 @@
3510
3534
  "info"
3511
3535
  ],
3512
3536
  [
3513
- "ref",
3514
- "Analysis"
3537
+ "fetch",
3538
+ "Analysis",
3539
+ {
3540
+ "emit": {
3541
+ "success": "AnalysisLoaded",
3542
+ "failure": "AnalysisLoadFailed"
3543
+ }
3544
+ }
3515
3545
  ],
3516
3546
  [
3517
3547
  "render-ui",
3518
3548
  "main",
3519
3549
  {
3550
+ "navItems": [
3551
+ {
3552
+ "label": "Review",
3553
+ "icon": "file-search",
3554
+ "href": "/review"
3555
+ },
3556
+ {
3557
+ "href": "/analysis",
3558
+ "label": "Analysis",
3559
+ "icon": "tag"
3560
+ },
3561
+ {
3562
+ "href": "/issues",
3563
+ "icon": "alert-triangle",
3564
+ "label": "Issues"
3565
+ }
3566
+ ],
3567
+ "appName": "Code Reviewer",
3520
3568
  "children": [
3521
3569
  {
3570
+ "direction": "vertical",
3522
3571
  "children": [
3523
3572
  {
3524
3573
  "gap": "md",
3525
3574
  "type": "stack",
3526
- "direction": "horizontal",
3527
3575
  "justify": "between",
3528
3576
  "children": [
3529
3577
  {
@@ -3543,48 +3591,30 @@
3543
3591
  ]
3544
3592
  },
3545
3593
  {
3546
- "variant": "primary",
3547
- "action": "CLASSIFY",
3548
- "type": "button",
3549
3594
  "icon": "tag",
3550
- "label": "Open"
3595
+ "type": "button",
3596
+ "label": "Open",
3597
+ "action": "CLASSIFY",
3598
+ "variant": "primary"
3551
3599
  }
3552
- ]
3600
+ ],
3601
+ "direction": "horizontal"
3553
3602
  },
3554
3603
  {
3555
3604
  "type": "divider"
3556
3605
  },
3557
3606
  {
3607
+ "type": "empty-state",
3558
3608
  "icon": "tag",
3559
3609
  "title": "Nothing open",
3560
- "type": "empty-state",
3561
3610
  "description": "Click Open to view details in a modal overlay."
3562
3611
  }
3563
3612
  ],
3564
3613
  "gap": "lg",
3565
- "type": "stack",
3566
- "direction": "vertical"
3567
- }
3568
- ],
3569
- "navItems": [
3570
- {
3571
- "label": "Review",
3572
- "icon": "file-search",
3573
- "href": "/review"
3574
- },
3575
- {
3576
- "href": "/analysis",
3577
- "icon": "tag",
3578
- "label": "Analysis"
3579
- },
3580
- {
3581
- "label": "Issues",
3582
- "href": "/issues",
3583
- "icon": "alert-triangle"
3614
+ "type": "stack"
3584
3615
  }
3585
3616
  ],
3586
- "type": "dashboard-layout",
3587
- "appName": "Code Reviewer"
3617
+ "type": "dashboard-layout"
3588
3618
  }
3589
3619
  ]
3590
3620
  ]
@@ -3616,23 +3646,30 @@
3616
3646
  "CLASSIFIED"
3617
3647
  ],
3618
3648
  [
3619
- "ref",
3620
- "Analysis"
3649
+ "fetch",
3650
+ "Analysis",
3651
+ {
3652
+ "emit": {
3653
+ "success": "AnalysisLoaded",
3654
+ "failure": "AnalysisLoadFailed"
3655
+ }
3656
+ }
3621
3657
  ],
3622
3658
  [
3623
3659
  "render-ui",
3624
3660
  "main",
3625
3661
  {
3662
+ "appName": "Code Reviewer",
3626
3663
  "navItems": [
3627
3664
  {
3628
- "href": "/review",
3665
+ "label": "Review",
3629
3666
  "icon": "file-search",
3630
- "label": "Review"
3667
+ "href": "/review"
3631
3668
  },
3632
3669
  {
3670
+ "href": "/analysis",
3633
3671
  "icon": "tag",
3634
- "label": "Analysis",
3635
- "href": "/analysis"
3672
+ "label": "Analysis"
3636
3673
  },
3637
3674
  {
3638
3675
  "icon": "alert-triangle",
@@ -3640,50 +3677,49 @@
3640
3677
  "href": "/issues"
3641
3678
  }
3642
3679
  ],
3643
- "appName": "Code Reviewer",
3644
3680
  "children": [
3645
3681
  {
3646
3682
  "type": "stack",
3647
3683
  "children": [
3648
3684
  {
3649
- "direction": "horizontal",
3650
- "justify": "between",
3651
3685
  "children": [
3652
3686
  {
3653
- "type": "stack",
3654
- "direction": "horizontal",
3655
- "gap": "md",
3656
3687
  "children": [
3657
3688
  {
3658
- "name": "tag",
3659
- "type": "icon"
3689
+ "type": "icon",
3690
+ "name": "tag"
3660
3691
  },
3661
3692
  {
3662
- "content": "Analysis",
3663
3693
  "variant": "h2",
3694
+ "content": "Analysis",
3664
3695
  "type": "typography"
3665
3696
  }
3666
- ]
3697
+ ],
3698
+ "direction": "horizontal",
3699
+ "gap": "md",
3700
+ "type": "stack"
3667
3701
  },
3668
3702
  {
3703
+ "variant": "primary",
3704
+ "type": "button",
3669
3705
  "icon": "tag",
3670
3706
  "action": "CLASSIFY",
3671
- "label": "Open",
3672
- "variant": "primary",
3673
- "type": "button"
3707
+ "label": "Open"
3674
3708
  }
3675
3709
  ],
3676
3710
  "type": "stack",
3677
- "gap": "md"
3711
+ "direction": "horizontal",
3712
+ "gap": "md",
3713
+ "justify": "between"
3678
3714
  },
3679
3715
  {
3680
3716
  "type": "divider"
3681
3717
  },
3682
3718
  {
3683
- "description": "Click Open to view details in a modal overlay.",
3719
+ "type": "empty-state",
3684
3720
  "title": "Nothing open",
3685
- "icon": "tag",
3686
- "type": "empty-state"
3721
+ "description": "Click Open to view details in a modal overlay.",
3722
+ "icon": "tag"
3687
3723
  }
3688
3724
  ],
3689
3725
  "gap": "lg",
@@ -3826,24 +3862,41 @@
3826
3862
  "render-ui",
3827
3863
  "main",
3828
3864
  {
3865
+ "type": "dashboard-layout",
3866
+ "appName": "Code Reviewer",
3867
+ "navItems": [
3868
+ {
3869
+ "icon": "file-search",
3870
+ "href": "/review",
3871
+ "label": "Review"
3872
+ },
3873
+ {
3874
+ "href": "/analysis",
3875
+ "icon": "tag",
3876
+ "label": "Analysis"
3877
+ },
3878
+ {
3879
+ "icon": "alert-triangle",
3880
+ "label": "Issues",
3881
+ "href": "/issues"
3882
+ }
3883
+ ],
3829
3884
  "children": [
3830
3885
  {
3831
- "gap": "lg",
3832
- "type": "stack",
3833
- "direction": "vertical",
3834
3886
  "children": [
3835
3887
  {
3888
+ "type": "stack",
3889
+ "align": "center",
3890
+ "direction": "horizontal",
3836
3891
  "gap": "md",
3837
3892
  "justify": "between",
3838
- "direction": "horizontal",
3839
- "align": "center",
3840
3893
  "children": [
3841
3894
  {
3842
- "type": "stack",
3895
+ "align": "center",
3843
3896
  "children": [
3844
3897
  {
3845
- "name": "tag",
3846
- "type": "icon"
3898
+ "type": "icon",
3899
+ "name": "tag"
3847
3900
  },
3848
3901
  {
3849
3902
  "content": "Analysis Result",
@@ -3851,56 +3904,39 @@
3851
3904
  "type": "typography"
3852
3905
  }
3853
3906
  ],
3854
- "align": "center",
3855
- "gap": "md",
3856
- "direction": "horizontal"
3907
+ "type": "stack",
3908
+ "direction": "horizontal",
3909
+ "gap": "md"
3857
3910
  },
3858
3911
  {
3859
- "type": "button",
3860
- "variant": "ghost",
3861
3912
  "icon": "x",
3913
+ "type": "button",
3914
+ "action": "HIDE",
3862
3915
  "label": "Dismiss",
3863
- "action": "HIDE"
3916
+ "variant": "ghost"
3864
3917
  }
3865
- ],
3866
- "type": "stack"
3918
+ ]
3867
3919
  },
3868
3920
  {
3869
3921
  "type": "divider"
3870
3922
  },
3871
3923
  {
3872
3924
  "variant": "@entity.notificationType",
3873
- "type": "alert",
3874
- "message": "@entity.message"
3925
+ "message": "@entity.message",
3926
+ "type": "alert"
3875
3927
  },
3876
3928
  {
3877
3929
  "type": "toast-slot"
3878
3930
  },
3879
3931
  {
3932
+ "message": "@entity.message",
3880
3933
  "type": "alert",
3881
- "variant": "warning",
3882
- "message": "@entity.message"
3934
+ "variant": "warning"
3883
3935
  }
3884
- ]
3885
- }
3886
- ],
3887
- "type": "dashboard-layout",
3888
- "appName": "Code Reviewer",
3889
- "navItems": [
3890
- {
3891
- "label": "Review",
3892
- "icon": "file-search",
3893
- "href": "/review"
3894
- },
3895
- {
3896
- "icon": "tag",
3897
- "label": "Analysis",
3898
- "href": "/analysis"
3899
- },
3900
- {
3901
- "label": "Issues",
3902
- "icon": "alert-triangle",
3903
- "href": "/issues"
3936
+ ],
3937
+ "type": "stack",
3938
+ "gap": "lg",
3939
+ "direction": "vertical"
3904
3940
  }
3905
3941
  ]
3906
3942
  }
@@ -3926,83 +3962,83 @@
3926
3962
  "render-ui",
3927
3963
  "main",
3928
3964
  {
3965
+ "type": "dashboard-layout",
3929
3966
  "appName": "Code Reviewer",
3930
3967
  "navItems": [
3931
3968
  {
3932
- "icon": "file-search",
3969
+ "href": "/review",
3933
3970
  "label": "Review",
3934
- "href": "/review"
3971
+ "icon": "file-search"
3935
3972
  },
3936
3973
  {
3974
+ "label": "Analysis",
3937
3975
  "icon": "tag",
3938
- "href": "/analysis",
3939
- "label": "Analysis"
3976
+ "href": "/analysis"
3940
3977
  },
3941
3978
  {
3942
- "label": "Issues",
3943
3979
  "href": "/issues",
3944
- "icon": "alert-triangle"
3980
+ "icon": "alert-triangle",
3981
+ "label": "Issues"
3945
3982
  }
3946
3983
  ],
3947
3984
  "children": [
3948
3985
  {
3949
- "direction": "vertical",
3950
3986
  "type": "stack",
3951
3987
  "children": [
3952
3988
  {
3953
- "direction": "horizontal",
3989
+ "gap": "md",
3990
+ "justify": "between",
3991
+ "align": "center",
3992
+ "type": "stack",
3954
3993
  "children": [
3955
3994
  {
3956
- "align": "center",
3957
3995
  "type": "stack",
3996
+ "direction": "horizontal",
3997
+ "align": "center",
3958
3998
  "children": [
3959
3999
  {
3960
4000
  "type": "icon",
3961
4001
  "name": "tag"
3962
4002
  },
3963
4003
  {
3964
- "variant": "h2",
3965
4004
  "type": "typography",
4005
+ "variant": "h2",
3966
4006
  "content": "Analysis Result"
3967
4007
  }
3968
4008
  ],
3969
- "gap": "md",
3970
- "direction": "horizontal"
4009
+ "gap": "md"
3971
4010
  },
3972
4011
  {
3973
- "icon": "x",
3974
- "variant": "ghost",
3975
- "label": "Dismiss",
3976
4012
  "type": "button",
3977
- "action": "HIDE"
4013
+ "label": "Dismiss",
4014
+ "variant": "ghost",
4015
+ "action": "HIDE",
4016
+ "icon": "x"
3978
4017
  }
3979
4018
  ],
3980
- "type": "stack",
3981
- "justify": "between",
3982
- "gap": "md",
3983
- "align": "center"
4019
+ "direction": "horizontal"
3984
4020
  },
3985
4021
  {
3986
4022
  "type": "divider"
3987
4023
  },
3988
4024
  {
3989
- "variant": "@entity.notificationType",
4025
+ "type": "alert",
3990
4026
  "message": "@entity.message",
3991
- "type": "alert"
4027
+ "variant": "@entity.notificationType"
3992
4028
  },
3993
4029
  {
3994
4030
  "type": "toast-slot"
3995
4031
  },
3996
4032
  {
3997
- "type": "alert",
3998
4033
  "message": "@entity.message",
4034
+ "type": "alert",
3999
4035
  "variant": "warning"
4000
4036
  }
4001
4037
  ],
4002
- "gap": "lg"
4038
+ "gap": "lg",
4039
+ "direction": "vertical"
4003
4040
  }
4004
- ],
4005
- "type": "dashboard-layout"
4041
+ ]
4006
4042
  }
4007
4043
  ]
4008
4044
  ]
@@ -4156,8 +4192,8 @@
4156
4192
  "Analysis",
4157
4193
  {
4158
4194
  "emit": {
4159
- "failure": "AnalysisLoadFailed",
4160
- "success": "AnalysisLoaded"
4195
+ "success": "AnalysisLoaded",
4196
+ "failure": "AnalysisLoadFailed"
4161
4197
  }
4162
4198
  }
4163
4199
  ],
@@ -4165,30 +4201,30 @@
4165
4201
  "render-ui",
4166
4202
  "main",
4167
4203
  {
4204
+ "children": [
4205
+ {
4206
+ "description": "Classifier is ready",
4207
+ "icon": "tag",
4208
+ "title": "Classifier",
4209
+ "type": "empty-state"
4210
+ }
4211
+ ],
4212
+ "appName": "Code Reviewer",
4168
4213
  "navItems": [
4169
4214
  {
4215
+ "icon": "file-search",
4170
4216
  "label": "Review",
4171
- "href": "/review",
4172
- "icon": "file-search"
4217
+ "href": "/review"
4173
4218
  },
4174
4219
  {
4175
- "label": "Analysis",
4176
4220
  "href": "/analysis",
4177
- "icon": "tag"
4221
+ "icon": "tag",
4222
+ "label": "Analysis"
4178
4223
  },
4179
4224
  {
4180
- "label": "Issues",
4225
+ "icon": "alert-triangle",
4181
4226
  "href": "/issues",
4182
- "icon": "alert-triangle"
4183
- }
4184
- ],
4185
- "appName": "Code Reviewer",
4186
- "children": [
4187
- {
4188
- "icon": "tag",
4189
- "description": "Classifier is ready",
4190
- "type": "empty-state",
4191
- "title": "Classifier"
4227
+ "label": "Issues"
4192
4228
  }
4193
4229
  ],
4194
4230
  "type": "dashboard-layout"
@@ -4246,8 +4282,8 @@
4246
4282
  "emit",
4247
4283
  "SHOW",
4248
4284
  {
4249
- "notificationType": "success",
4250
- "message": "Input classified"
4285
+ "message": "Input classified",
4286
+ "notificationType": "success"
4251
4287
  }
4252
4288
  ]
4253
4289
  ]
@@ -4490,69 +4526,75 @@
4490
4526
  "event": "INIT",
4491
4527
  "effects": [
4492
4528
  [
4493
- "ref",
4494
- "ReviewCompletion"
4529
+ "fetch",
4530
+ "ReviewCompletion",
4531
+ {
4532
+ "emit": {
4533
+ "success": "ReviewCompletionLoaded",
4534
+ "failure": "ReviewCompletionLoadFailed"
4535
+ }
4536
+ }
4495
4537
  ],
4496
4538
  [
4497
4539
  "render-ui",
4498
4540
  "main",
4499
4541
  {
4542
+ "appName": "Code Reviewer",
4500
4543
  "children": [
4501
4544
  {
4545
+ "type": "stack",
4546
+ "gap": "lg",
4547
+ "direction": "vertical",
4502
4548
  "children": [
4503
4549
  {
4550
+ "direction": "horizontal",
4551
+ "type": "stack",
4552
+ "justify": "between",
4504
4553
  "gap": "md",
4505
4554
  "children": [
4506
4555
  {
4556
+ "direction": "horizontal",
4507
4557
  "type": "stack",
4508
4558
  "gap": "md",
4509
- "direction": "horizontal",
4510
4559
  "children": [
4511
4560
  {
4512
4561
  "type": "icon",
4513
4562
  "name": "sparkles"
4514
4563
  },
4515
4564
  {
4516
- "content": "ReviewCompletion",
4517
4565
  "type": "typography",
4566
+ "content": "ReviewCompletion",
4518
4567
  "variant": "h2"
4519
4568
  }
4520
4569
  ]
4521
4570
  },
4522
4571
  {
4523
- "label": "Open",
4524
4572
  "icon": "sparkles",
4573
+ "type": "button",
4574
+ "label": "Open",
4525
4575
  "action": "GENERATE",
4526
- "variant": "primary",
4527
- "type": "button"
4576
+ "variant": "primary"
4528
4577
  }
4529
- ],
4530
- "justify": "between",
4531
- "type": "stack",
4532
- "direction": "horizontal"
4578
+ ]
4533
4579
  },
4534
4580
  {
4535
4581
  "type": "divider"
4536
4582
  },
4537
4583
  {
4538
- "type": "empty-state",
4584
+ "description": "Click Open to view details in a modal overlay.",
4539
4585
  "title": "Nothing open",
4540
4586
  "icon": "sparkles",
4541
- "description": "Click Open to view details in a modal overlay."
4587
+ "type": "empty-state"
4542
4588
  }
4543
- ],
4544
- "gap": "lg",
4545
- "type": "stack",
4546
- "direction": "vertical"
4589
+ ]
4547
4590
  }
4548
4591
  ],
4549
4592
  "type": "dashboard-layout",
4550
- "appName": "Code Reviewer",
4551
4593
  "navItems": [
4552
4594
  {
4553
- "label": "Review",
4595
+ "icon": "file-search",
4554
4596
  "href": "/review",
4555
- "icon": "file-search"
4597
+ "label": "Review"
4556
4598
  },
4557
4599
  {
4558
4600
  "label": "Analysis",
@@ -4560,8 +4602,8 @@
4560
4602
  "icon": "tag"
4561
4603
  },
4562
4604
  {
4563
- "label": "Issues",
4564
4605
  "href": "/issues",
4606
+ "label": "Issues",
4565
4607
  "icon": "alert-triangle"
4566
4608
  }
4567
4609
  ]
@@ -4578,12 +4620,11 @@
4578
4620
  "render-ui",
4579
4621
  "modal",
4580
4622
  {
4581
- "gap": "md",
4582
- "type": "stack",
4583
4623
  "direction": "vertical",
4624
+ "type": "stack",
4625
+ "gap": "md",
4584
4626
  "children": [
4585
4627
  {
4586
- "direction": "horizontal",
4587
4628
  "children": [
4588
4629
  {
4589
4630
  "type": "icon",
@@ -4591,21 +4632,23 @@
4591
4632
  },
4592
4633
  {
4593
4634
  "content": "ReviewCompletion",
4594
- "variant": "h3",
4595
- "type": "typography"
4635
+ "type": "typography",
4636
+ "variant": "h3"
4596
4637
  }
4597
4638
  ],
4598
- "type": "stack",
4599
- "gap": "sm"
4639
+ "direction": "horizontal",
4640
+ "gap": "sm",
4641
+ "type": "stack"
4600
4642
  },
4601
4643
  {
4602
4644
  "type": "divider"
4603
4645
  },
4604
4646
  {
4647
+ "type": "stack",
4605
4648
  "children": [
4606
4649
  {
4607
- "type": "badge",
4608
- "label": "@entity.provider"
4650
+ "label": "@entity.provider",
4651
+ "type": "badge"
4609
4652
  },
4610
4653
  {
4611
4654
  "label": "@entity.model",
@@ -4613,17 +4656,16 @@
4613
4656
  }
4614
4657
  ],
4615
4658
  "gap": "sm",
4616
- "type": "stack",
4617
4659
  "direction": "horizontal"
4618
4660
  },
4619
4661
  {
4620
4662
  "submitEvent": "SAVE",
4621
- "mode": "create",
4663
+ "type": "form-section",
4622
4664
  "cancelEvent": "CLOSE",
4665
+ "mode": "create",
4623
4666
  "fields": [
4624
4667
  "prompt"
4625
- ],
4626
- "type": "form-section"
4668
+ ]
4627
4669
  }
4628
4670
  ]
4629
4671
  }
@@ -4646,8 +4688,14 @@
4646
4688
  "info"
4647
4689
  ],
4648
4690
  [
4649
- "ref",
4650
- "ReviewCompletion"
4691
+ "fetch",
4692
+ "ReviewCompletion",
4693
+ {
4694
+ "emit": {
4695
+ "failure": "ReviewCompletionLoadFailed",
4696
+ "success": "ReviewCompletionLoaded"
4697
+ }
4698
+ }
4651
4699
  ],
4652
4700
  [
4653
4701
  "render-ui",
@@ -4655,70 +4703,70 @@
4655
4703
  {
4656
4704
  "type": "dashboard-layout",
4657
4705
  "appName": "Code Reviewer",
4658
- "navItems": [
4659
- {
4660
- "icon": "file-search",
4661
- "label": "Review",
4662
- "href": "/review"
4663
- },
4664
- {
4665
- "href": "/analysis",
4666
- "label": "Analysis",
4667
- "icon": "tag"
4668
- },
4669
- {
4670
- "label": "Issues",
4671
- "icon": "alert-triangle",
4672
- "href": "/issues"
4673
- }
4674
- ],
4675
4706
  "children": [
4676
4707
  {
4677
- "gap": "lg",
4708
+ "direction": "vertical",
4678
4709
  "children": [
4679
4710
  {
4680
- "direction": "horizontal",
4681
- "type": "stack",
4682
- "gap": "md",
4683
4711
  "children": [
4684
4712
  {
4685
- "gap": "md",
4686
- "direction": "horizontal",
4687
4713
  "type": "stack",
4714
+ "direction": "horizontal",
4715
+ "gap": "md",
4688
4716
  "children": [
4689
4717
  {
4690
4718
  "name": "sparkles",
4691
4719
  "type": "icon"
4692
4720
  },
4693
4721
  {
4694
- "type": "typography",
4695
4722
  "variant": "h2",
4723
+ "type": "typography",
4696
4724
  "content": "ReviewCompletion"
4697
4725
  }
4698
4726
  ]
4699
4727
  },
4700
4728
  {
4701
4729
  "variant": "primary",
4730
+ "icon": "sparkles",
4702
4731
  "type": "button",
4703
- "label": "Open",
4704
4732
  "action": "GENERATE",
4705
- "icon": "sparkles"
4733
+ "label": "Open"
4706
4734
  }
4707
4735
  ],
4736
+ "gap": "md",
4737
+ "type": "stack",
4738
+ "direction": "horizontal",
4708
4739
  "justify": "between"
4709
4740
  },
4710
4741
  {
4711
4742
  "type": "divider"
4712
4743
  },
4713
4744
  {
4714
- "description": "Click Open to view details in a modal overlay.",
4715
- "icon": "sparkles",
4716
4745
  "type": "empty-state",
4717
- "title": "Nothing open"
4746
+ "icon": "sparkles",
4747
+ "title": "Nothing open",
4748
+ "description": "Click Open to view details in a modal overlay."
4718
4749
  }
4719
4750
  ],
4720
- "direction": "vertical",
4721
- "type": "stack"
4751
+ "type": "stack",
4752
+ "gap": "lg"
4753
+ }
4754
+ ],
4755
+ "navItems": [
4756
+ {
4757
+ "href": "/review",
4758
+ "label": "Review",
4759
+ "icon": "file-search"
4760
+ },
4761
+ {
4762
+ "href": "/analysis",
4763
+ "icon": "tag",
4764
+ "label": "Analysis"
4765
+ },
4766
+ {
4767
+ "href": "/issues",
4768
+ "icon": "alert-triangle",
4769
+ "label": "Issues"
4722
4770
  }
4723
4771
  ]
4724
4772
  }
@@ -4737,8 +4785,8 @@
4737
4785
  "@payload.data",
4738
4786
  {
4739
4787
  "emit": {
4740
- "failure": "ReviewCompletionSaveFailed",
4741
- "success": "ReviewCompletionSaved"
4788
+ "success": "ReviewCompletionSaved",
4789
+ "failure": "ReviewCompletionSaveFailed"
4742
4790
  }
4743
4791
  }
4744
4792
  ],
@@ -4752,24 +4800,49 @@
4752
4800
  "GENERATED"
4753
4801
  ],
4754
4802
  [
4755
- "ref",
4756
- "ReviewCompletion"
4803
+ "fetch",
4804
+ "ReviewCompletion",
4805
+ {
4806
+ "emit": {
4807
+ "success": "ReviewCompletionLoaded",
4808
+ "failure": "ReviewCompletionLoadFailed"
4809
+ }
4810
+ }
4757
4811
  ],
4758
4812
  [
4759
4813
  "render-ui",
4760
4814
  "main",
4761
4815
  {
4816
+ "appName": "Code Reviewer",
4817
+ "navItems": [
4818
+ {
4819
+ "icon": "file-search",
4820
+ "href": "/review",
4821
+ "label": "Review"
4822
+ },
4823
+ {
4824
+ "href": "/analysis",
4825
+ "label": "Analysis",
4826
+ "icon": "tag"
4827
+ },
4828
+ {
4829
+ "label": "Issues",
4830
+ "icon": "alert-triangle",
4831
+ "href": "/issues"
4832
+ }
4833
+ ],
4762
4834
  "children": [
4763
4835
  {
4764
- "type": "stack",
4765
4836
  "gap": "lg",
4766
- "direction": "vertical",
4837
+ "type": "stack",
4767
4838
  "children": [
4768
4839
  {
4840
+ "type": "stack",
4841
+ "gap": "md",
4769
4842
  "children": [
4770
4843
  {
4771
- "type": "stack",
4772
4844
  "direction": "horizontal",
4845
+ "type": "stack",
4773
4846
  "gap": "md",
4774
4847
  "children": [
4775
4848
  {
@@ -4777,53 +4850,34 @@
4777
4850
  "name": "sparkles"
4778
4851
  },
4779
4852
  {
4853
+ "variant": "h2",
4780
4854
  "type": "typography",
4781
- "content": "ReviewCompletion",
4782
- "variant": "h2"
4855
+ "content": "ReviewCompletion"
4783
4856
  }
4784
4857
  ]
4785
4858
  },
4786
4859
  {
4787
4860
  "action": "GENERATE",
4788
- "icon": "sparkles",
4789
4861
  "variant": "primary",
4790
4862
  "label": "Open",
4863
+ "icon": "sparkles",
4791
4864
  "type": "button"
4792
4865
  }
4793
4866
  ],
4794
- "type": "stack",
4795
- "direction": "horizontal",
4796
- "gap": "md",
4797
- "justify": "between"
4867
+ "justify": "between",
4868
+ "direction": "horizontal"
4798
4869
  },
4799
4870
  {
4800
4871
  "type": "divider"
4801
4872
  },
4802
4873
  {
4803
- "icon": "sparkles",
4804
4874
  "type": "empty-state",
4875
+ "title": "Nothing open",
4805
4876
  "description": "Click Open to view details in a modal overlay.",
4806
- "title": "Nothing open"
4877
+ "icon": "sparkles"
4807
4878
  }
4808
- ]
4809
- }
4810
- ],
4811
- "appName": "Code Reviewer",
4812
- "navItems": [
4813
- {
4814
- "href": "/review",
4815
- "icon": "file-search",
4816
- "label": "Review"
4817
- },
4818
- {
4819
- "href": "/analysis",
4820
- "icon": "tag",
4821
- "label": "Analysis"
4822
- },
4823
- {
4824
- "href": "/issues",
4825
- "icon": "alert-triangle",
4826
- "label": "Issues"
4879
+ ],
4880
+ "direction": "vertical"
4827
4881
  }
4828
4882
  ],
4829
4883
  "type": "dashboard-layout"
@@ -4936,8 +4990,8 @@
4936
4990
  "ReviewCompletion",
4937
4991
  {
4938
4992
  "emit": {
4939
- "failure": "ReviewCompletionLoadFailed",
4940
- "success": "ReviewCompletionLoaded"
4993
+ "success": "ReviewCompletionLoaded",
4994
+ "failure": "ReviewCompletionLoadFailed"
4941
4995
  }
4942
4996
  }
4943
4997
  ]
@@ -4965,29 +5019,31 @@
4965
5019
  "appName": "Code Reviewer",
4966
5020
  "navItems": [
4967
5021
  {
4968
- "href": "/review",
4969
5022
  "label": "Review",
4970
- "icon": "file-search"
5023
+ "icon": "file-search",
5024
+ "href": "/review"
4971
5025
  },
4972
5026
  {
5027
+ "icon": "tag",
4973
5028
  "label": "Analysis",
4974
- "href": "/analysis",
4975
- "icon": "tag"
5029
+ "href": "/analysis"
4976
5030
  },
4977
5031
  {
5032
+ "label": "Issues",
4978
5033
  "href": "/issues",
4979
- "icon": "alert-triangle",
4980
- "label": "Issues"
5034
+ "icon": "alert-triangle"
4981
5035
  }
4982
5036
  ],
4983
5037
  "type": "dashboard-layout",
4984
5038
  "children": [
4985
5039
  {
4986
- "type": "stack",
5040
+ "gap": "lg",
4987
5041
  "children": [
4988
5042
  {
5043
+ "align": "center",
4989
5044
  "children": [
4990
5045
  {
5046
+ "align": "center",
4991
5047
  "children": [
4992
5048
  {
4993
5049
  "name": "sparkles",
@@ -4995,48 +5051,46 @@
4995
5051
  },
4996
5052
  {
4997
5053
  "type": "typography",
4998
- "content": "ReviewCompletion Status",
4999
- "variant": "h2"
5054
+ "variant": "h2",
5055
+ "content": "ReviewCompletion Status"
5000
5056
  }
5001
5057
  ],
5002
- "align": "center",
5058
+ "type": "stack",
5003
5059
  "direction": "horizontal",
5004
- "gap": "md",
5005
- "type": "stack"
5060
+ "gap": "md"
5006
5061
  },
5007
5062
  {
5008
- "label": "Dismiss",
5009
5063
  "icon": "x",
5010
- "variant": "ghost",
5064
+ "label": "Dismiss",
5011
5065
  "type": "button",
5066
+ "variant": "ghost",
5012
5067
  "action": "HIDE"
5013
5068
  }
5014
5069
  ],
5015
- "type": "stack",
5016
5070
  "justify": "between",
5017
- "gap": "md",
5018
5071
  "direction": "horizontal",
5019
- "align": "center"
5072
+ "type": "stack",
5073
+ "gap": "md"
5020
5074
  },
5021
5075
  {
5022
5076
  "type": "divider"
5023
5077
  },
5024
5078
  {
5079
+ "type": "alert",
5025
5080
  "variant": "@entity.notificationType",
5026
- "message": "@entity.message",
5027
- "type": "alert"
5081
+ "message": "@entity.message"
5028
5082
  },
5029
5083
  {
5030
5084
  "type": "toast-slot"
5031
5085
  },
5032
5086
  {
5033
- "type": "alert",
5087
+ "message": "@entity.message",
5034
5088
  "variant": "warning",
5035
- "message": "@entity.message"
5089
+ "type": "alert"
5036
5090
  }
5037
5091
  ],
5038
- "gap": "lg",
5039
- "direction": "vertical"
5092
+ "direction": "vertical",
5093
+ "type": "stack"
5040
5094
  }
5041
5095
  ]
5042
5096
  }
@@ -5062,70 +5116,51 @@
5062
5116
  "render-ui",
5063
5117
  "main",
5064
5118
  {
5065
- "navItems": [
5066
- {
5067
- "label": "Review",
5068
- "href": "/review",
5069
- "icon": "file-search"
5070
- },
5071
- {
5072
- "label": "Analysis",
5073
- "href": "/analysis",
5074
- "icon": "tag"
5075
- },
5076
- {
5077
- "href": "/issues",
5078
- "icon": "alert-triangle",
5079
- "label": "Issues"
5080
- }
5081
- ],
5082
- "appName": "Code Reviewer",
5083
5119
  "type": "dashboard-layout",
5120
+ "appName": "Code Reviewer",
5084
5121
  "children": [
5085
5122
  {
5086
- "gap": "lg",
5087
- "type": "stack",
5088
5123
  "children": [
5089
5124
  {
5090
5125
  "children": [
5091
5126
  {
5092
- "gap": "md",
5093
- "direction": "horizontal",
5094
- "type": "stack",
5095
- "align": "center",
5096
5127
  "children": [
5097
5128
  {
5098
5129
  "type": "icon",
5099
5130
  "name": "sparkles"
5100
5131
  },
5101
5132
  {
5102
- "content": "ReviewCompletion Status",
5103
5133
  "type": "typography",
5104
- "variant": "h2"
5134
+ "variant": "h2",
5135
+ "content": "ReviewCompletion Status"
5105
5136
  }
5106
- ]
5137
+ ],
5138
+ "type": "stack",
5139
+ "direction": "horizontal",
5140
+ "align": "center",
5141
+ "gap": "md"
5107
5142
  },
5108
5143
  {
5109
- "type": "button",
5110
- "variant": "ghost",
5111
- "label": "Dismiss",
5144
+ "icon": "x",
5112
5145
  "action": "HIDE",
5113
- "icon": "x"
5146
+ "variant": "ghost",
5147
+ "type": "button",
5148
+ "label": "Dismiss"
5114
5149
  }
5115
5150
  ],
5116
5151
  "gap": "md",
5117
- "align": "center",
5118
- "type": "stack",
5119
5152
  "direction": "horizontal",
5120
- "justify": "between"
5153
+ "type": "stack",
5154
+ "justify": "between",
5155
+ "align": "center"
5121
5156
  },
5122
5157
  {
5123
5158
  "type": "divider"
5124
5159
  },
5125
5160
  {
5126
- "variant": "@entity.notificationType",
5161
+ "message": "@entity.message",
5127
5162
  "type": "alert",
5128
- "message": "@entity.message"
5163
+ "variant": "@entity.notificationType"
5129
5164
  },
5130
5165
  {
5131
5166
  "type": "toast-slot"
@@ -5136,7 +5171,26 @@
5136
5171
  "variant": "warning"
5137
5172
  }
5138
5173
  ],
5139
- "direction": "vertical"
5174
+ "type": "stack",
5175
+ "direction": "vertical",
5176
+ "gap": "lg"
5177
+ }
5178
+ ],
5179
+ "navItems": [
5180
+ {
5181
+ "label": "Review",
5182
+ "href": "/review",
5183
+ "icon": "file-search"
5184
+ },
5185
+ {
5186
+ "href": "/analysis",
5187
+ "icon": "tag",
5188
+ "label": "Analysis"
5189
+ },
5190
+ {
5191
+ "label": "Issues",
5192
+ "icon": "alert-triangle",
5193
+ "href": "/issues"
5140
5194
  }
5141
5195
  ]
5142
5196
  }
@@ -5299,8 +5353,8 @@
5299
5353
  "ReviewCompletion",
5300
5354
  {
5301
5355
  "emit": {
5302
- "success": "ReviewCompletionLoaded",
5303
- "failure": "ReviewCompletionLoadFailed"
5356
+ "failure": "ReviewCompletionLoadFailed",
5357
+ "success": "ReviewCompletionLoaded"
5304
5358
  }
5305
5359
  }
5306
5360
  ],
@@ -5308,33 +5362,33 @@
5308
5362
  "render-ui",
5309
5363
  "main",
5310
5364
  {
5365
+ "type": "dashboard-layout",
5366
+ "children": [
5367
+ {
5368
+ "title": "Completion",
5369
+ "description": "Completion is ready",
5370
+ "type": "empty-state",
5371
+ "icon": "sparkles"
5372
+ }
5373
+ ],
5374
+ "appName": "Code Reviewer",
5311
5375
  "navItems": [
5312
5376
  {
5377
+ "href": "/review",
5313
5378
  "icon": "file-search",
5314
- "label": "Review",
5315
- "href": "/review"
5379
+ "label": "Review"
5316
5380
  },
5317
5381
  {
5318
- "icon": "tag",
5319
5382
  "label": "Analysis",
5383
+ "icon": "tag",
5320
5384
  "href": "/analysis"
5321
5385
  },
5322
5386
  {
5323
5387
  "icon": "alert-triangle",
5324
- "label": "Issues",
5325
- "href": "/issues"
5326
- }
5327
- ],
5328
- "children": [
5329
- {
5330
- "title": "Completion",
5331
- "type": "empty-state",
5332
- "icon": "sparkles",
5333
- "description": "Completion is ready"
5388
+ "href": "/issues",
5389
+ "label": "Issues"
5334
5390
  }
5335
- ],
5336
- "type": "dashboard-layout",
5337
- "appName": "Code Reviewer"
5391
+ ]
5338
5392
  }
5339
5393
  ]
5340
5394
  ]