@almadar/std 8.5.1 → 10.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 +97 -97
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  27. package/behaviors/registry/app/organisms/std-cms.orb +587 -587
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  29. package/behaviors/registry/app/organisms/std-crm.orb +966 -966
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  37. package/behaviors/registry/app/organisms/std-lms.orb +876 -876
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  42. package/behaviors/registry/core/atoms/std-browse.orb +67 -67
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  44. package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  47. package/behaviors/registry/core/atoms/std-display.orb +370 -370
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +63 -63
  50. package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  51. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  52. package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  53. package/behaviors/registry/core/atoms/std-push.orb +49 -49
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  55. package/behaviors/registry/core/atoms/std-related.orb +39 -39
  56. package/behaviors/registry/core/atoms/std-search.orb +73 -73
  57. package/behaviors/registry/core/atoms/std-selection.orb +110 -110
  58. package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  59. package/behaviors/registry/core/molecules/std-cart.orb +68 -72
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  62. package/behaviors/registry/core/molecules/std-list.orb +68 -68
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  64. package/behaviors/registry/game/atoms/std-collision.orb +140 -140
  65. package/behaviors/registry/game/atoms/std-combat.orb +76 -76
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  69. package/behaviors/registry/game/atoms/std-movement.orb +276 -276
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  72. package/behaviors/registry/game/atoms/std-quest.orb +129 -129
  73. package/behaviors/registry/game/atoms/std-timer.orb +285 -285
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  83. package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  84. package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  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 +1219 -1219
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +49 -49
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +68 -72
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
  187. package/package.json +1 -1
@@ -71,7 +71,7 @@
71
71
  "event": "ReviewLoaded",
72
72
  "description": "Fired when Review finishes loading",
73
73
  "scope": "internal",
74
- "payload": [
74
+ "payloadSchema": [
75
75
  {
76
76
  "name": "data",
77
77
  "type": "[Review]"
@@ -82,7 +82,7 @@
82
82
  "event": "ReviewLoadFailed",
83
83
  "description": "Fired when Review fails to load",
84
84
  "scope": "internal",
85
- "payload": [
85
+ "payloadSchema": [
86
86
  {
87
87
  "name": "error",
88
88
  "type": "string"
@@ -96,7 +96,7 @@
96
96
  {
97
97
  "event": "ReviewRagSaved",
98
98
  "scope": "internal",
99
- "payload": [
99
+ "payloadSchema": [
100
100
  {
101
101
  "name": "id",
102
102
  "type": "string"
@@ -106,7 +106,7 @@
106
106
  {
107
107
  "event": "ReviewRagSaveFailed",
108
108
  "scope": "internal",
109
- "payload": [
109
+ "payloadSchema": [
110
110
  {
111
111
  "name": "error",
112
112
  "type": "string"
@@ -120,7 +120,7 @@
120
120
  {
121
121
  "event": "AnalysisSaved",
122
122
  "scope": "internal",
123
- "payload": [
123
+ "payloadSchema": [
124
124
  {
125
125
  "name": "id",
126
126
  "type": "string"
@@ -130,7 +130,7 @@
130
130
  {
131
131
  "event": "AnalysisSaveFailed",
132
132
  "scope": "internal",
133
- "payload": [
133
+ "payloadSchema": [
134
134
  {
135
135
  "name": "error",
136
136
  "type": "string"
@@ -144,7 +144,7 @@
144
144
  {
145
145
  "event": "ReviewCompletionSaved",
146
146
  "scope": "internal",
147
- "payload": [
147
+ "payloadSchema": [
148
148
  {
149
149
  "name": "id",
150
150
  "type": "string"
@@ -154,7 +154,7 @@
154
154
  {
155
155
  "event": "ReviewCompletionSaveFailed",
156
156
  "scope": "internal",
157
- "payload": [
157
+ "payloadSchema": [
158
158
  {
159
159
  "name": "error",
160
160
  "type": "string"
@@ -199,7 +199,7 @@
199
199
  {
200
200
  "key": "SUBMIT_REVIEW",
201
201
  "name": "Submit Review",
202
- "payload": [
202
+ "payloadSchema": [
203
203
  {
204
204
  "name": "target",
205
205
  "type": "string"
@@ -221,7 +221,7 @@
221
221
  {
222
222
  "key": "ReviewLoaded",
223
223
  "name": "Review loaded",
224
- "payload": [
224
+ "payloadSchema": [
225
225
  {
226
226
  "name": "data",
227
227
  "type": "[Review]"
@@ -231,7 +231,7 @@
231
231
  {
232
232
  "key": "ReviewLoadFailed",
233
233
  "name": "Review load failed",
234
- "payload": [
234
+ "payloadSchema": [
235
235
  {
236
236
  "name": "error",
237
237
  "type": "string"
@@ -245,7 +245,7 @@
245
245
  {
246
246
  "key": "ReviewRagSaved",
247
247
  "name": "Review rag saved",
248
- "payload": [
248
+ "payloadSchema": [
249
249
  {
250
250
  "name": "id",
251
251
  "type": "string"
@@ -255,7 +255,7 @@
255
255
  {
256
256
  "key": "ReviewRagSaveFailed",
257
257
  "name": "Review rag save failed",
258
- "payload": [
258
+ "payloadSchema": [
259
259
  {
260
260
  "name": "error",
261
261
  "type": "string"
@@ -269,7 +269,7 @@
269
269
  {
270
270
  "key": "AnalysisSaved",
271
271
  "name": "Analysis saved",
272
- "payload": [
272
+ "payloadSchema": [
273
273
  {
274
274
  "name": "id",
275
275
  "type": "string"
@@ -279,7 +279,7 @@
279
279
  {
280
280
  "key": "AnalysisSaveFailed",
281
281
  "name": "Analysis save failed",
282
- "payload": [
282
+ "payloadSchema": [
283
283
  {
284
284
  "name": "error",
285
285
  "type": "string"
@@ -293,7 +293,7 @@
293
293
  {
294
294
  "key": "ReviewCompletionSaved",
295
295
  "name": "Review completion saved",
296
- "payload": [
296
+ "payloadSchema": [
297
297
  {
298
298
  "name": "id",
299
299
  "type": "string"
@@ -303,7 +303,7 @@
303
303
  {
304
304
  "key": "ReviewCompletionSaveFailed",
305
305
  "name": "Review completion save failed",
306
- "payload": [
306
+ "payloadSchema": [
307
307
  {
308
308
  "name": "error",
309
309
  "type": "string"
@@ -335,29 +335,26 @@
335
335
  "render-ui",
336
336
  "main",
337
337
  {
338
- "type": "dashboard-layout",
339
- "appName": "Code Reviewer",
340
338
  "children": [
341
339
  {
342
340
  "direction": "vertical",
343
- "type": "stack",
344
341
  "children": [
345
342
  {
346
- "type": "stack",
347
- "direction": "horizontal",
348
- "align": "center",
343
+ "gap": "sm",
349
344
  "children": [
350
345
  {
351
346
  "name": "file-search",
352
347
  "type": "icon"
353
348
  },
354
349
  {
355
- "type": "typography",
350
+ "content": "Code Review",
356
351
  "variant": "h2",
357
- "content": "Code Review"
352
+ "type": "typography"
358
353
  }
359
354
  ],
360
- "gap": "sm"
355
+ "type": "stack",
356
+ "direction": "horizontal",
357
+ "align": "center"
361
358
  },
362
359
  {
363
360
  "type": "divider"
@@ -366,49 +363,52 @@
366
363
  "type": "card",
367
364
  "children": [
368
365
  {
366
+ "type": "stack",
367
+ "direction": "vertical",
369
368
  "children": [
370
369
  {
371
- "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
372
370
  "variant": "body",
373
- "type": "typography"
371
+ "type": "typography",
372
+ "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review."
374
373
  },
375
374
  {
376
- "submitEvent": "SUBMIT_REVIEW",
377
375
  "entity": "@entity",
378
376
  "fields": [
379
377
  "target"
380
378
  ],
381
379
  "mode": "edit",
382
- "type": "form-section"
380
+ "type": "form-section",
381
+ "submitEvent": "SUBMIT_REVIEW"
383
382
  }
384
383
  ],
385
- "gap": "md",
386
- "type": "stack",
387
- "direction": "vertical"
384
+ "gap": "md"
388
385
  }
389
386
  ]
390
387
  }
391
388
  ],
392
- "gap": "lg"
389
+ "gap": "lg",
390
+ "type": "stack"
393
391
  }
394
392
  ],
393
+ "type": "dashboard-layout",
395
394
  "navItems": [
396
395
  {
397
396
  "href": "/review",
398
- "label": "Review",
399
- "icon": "file-search"
397
+ "icon": "file-search",
398
+ "label": "Review"
400
399
  },
401
400
  {
401
+ "icon": "tag",
402
402
  "href": "/analysis",
403
- "label": "Analysis",
404
- "icon": "tag"
403
+ "label": "Analysis"
405
404
  },
406
405
  {
406
+ "icon": "alert-triangle",
407
407
  "label": "Issues",
408
- "href": "/issues",
409
- "icon": "alert-triangle"
408
+ "href": "/issues"
410
409
  }
411
- ]
410
+ ],
411
+ "appName": "Code Reviewer"
412
412
  }
413
413
  ]
414
414
  ]
@@ -442,29 +442,28 @@
442
442
  {
443
443
  "navItems": [
444
444
  {
445
+ "label": "Review",
445
446
  "href": "/review",
446
- "icon": "file-search",
447
- "label": "Review"
447
+ "icon": "file-search"
448
448
  },
449
449
  {
450
- "href": "/analysis",
451
450
  "icon": "tag",
451
+ "href": "/analysis",
452
452
  "label": "Analysis"
453
453
  },
454
454
  {
455
+ "label": "Issues",
455
456
  "href": "/issues",
456
- "icon": "alert-triangle",
457
- "label": "Issues"
457
+ "icon": "alert-triangle"
458
458
  }
459
459
  ],
460
460
  "type": "dashboard-layout",
461
461
  "appName": "Code Reviewer",
462
462
  "children": [
463
463
  {
464
- "type": "stack",
465
464
  "gap": "lg",
466
465
  "direction": "vertical",
467
- "align": "center",
466
+ "type": "stack",
468
467
  "children": [
469
468
  {
470
469
  "name": "search",
@@ -480,10 +479,11 @@
480
479
  },
481
480
  {
482
481
  "content": "Classifying and searching for patterns",
483
- "variant": "caption",
484
- "type": "typography"
482
+ "type": "typography",
483
+ "variant": "caption"
485
484
  }
486
- ]
485
+ ],
486
+ "align": "center"
487
487
  }
488
488
  ]
489
489
  }
@@ -508,11 +508,13 @@
508
508
  "render-ui",
509
509
  "main",
510
510
  {
511
+ "type": "dashboard-layout",
512
+ "appName": "Code Reviewer",
511
513
  "navItems": [
512
514
  {
513
- "icon": "file-search",
515
+ "label": "Review",
514
516
  "href": "/review",
515
- "label": "Review"
517
+ "icon": "file-search"
516
518
  },
517
519
  {
518
520
  "href": "/analysis",
@@ -520,15 +522,13 @@
520
522
  "icon": "tag"
521
523
  },
522
524
  {
523
- "label": "Issues",
524
525
  "icon": "alert-triangle",
525
- "href": "/issues"
526
+ "href": "/issues",
527
+ "label": "Issues"
526
528
  }
527
529
  ],
528
530
  "children": [
529
531
  {
530
- "align": "center",
531
- "type": "stack",
532
532
  "children": [
533
533
  {
534
534
  "type": "icon",
@@ -543,17 +543,17 @@
543
543
  "type": "spinner"
544
544
  },
545
545
  {
546
+ "variant": "caption",
546
547
  "type": "typography",
547
- "content": "Category: @entity.category",
548
- "variant": "caption"
548
+ "content": "Category: @entity.category"
549
549
  }
550
550
  ],
551
+ "type": "stack",
552
+ "gap": "lg",
551
553
  "direction": "vertical",
552
- "gap": "lg"
554
+ "align": "center"
553
555
  }
554
- ],
555
- "appName": "Code Reviewer",
556
- "type": "dashboard-layout"
556
+ ]
557
557
  }
558
558
  ]
559
559
  ]
@@ -578,20 +578,18 @@
578
578
  "main",
579
579
  {
580
580
  "appName": "Code Reviewer",
581
+ "type": "dashboard-layout",
581
582
  "children": [
582
583
  {
583
- "direction": "vertical",
584
584
  "children": [
585
585
  {
586
- "direction": "horizontal",
587
- "align": "center",
588
- "type": "stack",
589
586
  "justify": "between",
590
- "gap": "sm",
591
587
  "children": [
592
588
  {
593
589
  "direction": "horizontal",
590
+ "type": "stack",
594
591
  "gap": "sm",
592
+ "align": "center",
595
593
  "children": [
596
594
  {
597
595
  "name": "check-circle",
@@ -599,24 +597,25 @@
599
597
  },
600
598
  {
601
599
  "variant": "h2",
602
- "type": "typography",
603
- "content": "Review Complete"
600
+ "content": "Review Complete",
601
+ "type": "typography"
604
602
  }
605
- ],
606
- "type": "stack",
607
- "align": "center"
603
+ ]
608
604
  },
609
605
  {
610
606
  "type": "badge",
611
607
  "label": "@entity.score"
612
608
  }
613
- ]
609
+ ],
610
+ "align": "center",
611
+ "direction": "horizontal",
612
+ "gap": "sm",
613
+ "type": "stack"
614
614
  },
615
615
  {
616
616
  "type": "divider"
617
617
  },
618
618
  {
619
- "type": "card",
620
619
  "children": [
621
620
  {
622
621
  "direction": "vertical",
@@ -624,7 +623,6 @@
624
623
  {
625
624
  "direction": "horizontal",
626
625
  "gap": "sm",
627
- "type": "stack",
628
626
  "children": [
629
627
  {
630
628
  "type": "badge",
@@ -634,59 +632,61 @@
634
632
  "type": "badge",
635
633
  "label": "@entity.reviewStatus"
636
634
  }
637
- ]
635
+ ],
636
+ "type": "stack"
638
637
  },
639
638
  {
640
- "content": "Issues",
639
+ "variant": "h4",
641
640
  "type": "typography",
642
- "variant": "h4"
641
+ "content": "Issues"
643
642
  },
644
643
  {
645
- "content": "@entity.issues",
644
+ "type": "typography",
646
645
  "variant": "body",
647
- "type": "typography"
646
+ "content": "@entity.issues"
648
647
  },
649
648
  {
650
649
  "type": "divider"
651
650
  },
652
651
  {
653
- "type": "typography",
654
652
  "content": "Suggestions",
655
- "variant": "h4"
653
+ "variant": "h4",
654
+ "type": "typography"
656
655
  },
657
656
  {
658
- "variant": "body",
659
657
  "type": "typography",
660
- "content": "@entity.suggestions"
658
+ "content": "@entity.suggestions",
659
+ "variant": "body"
661
660
  }
662
661
  ],
663
662
  "type": "stack",
664
663
  "gap": "md"
665
664
  }
666
- ]
665
+ ],
666
+ "type": "card"
667
667
  },
668
668
  {
669
- "action": "RESET",
670
- "icon": "rotate-ccw",
671
669
  "variant": "ghost",
672
- "label": "New Review",
673
- "type": "button"
670
+ "type": "button",
671
+ "icon": "rotate-ccw",
672
+ "action": "RESET",
673
+ "label": "New Review"
674
674
  }
675
675
  ],
676
676
  "type": "stack",
677
- "gap": "lg"
677
+ "gap": "lg",
678
+ "direction": "vertical"
678
679
  }
679
680
  ],
680
- "type": "dashboard-layout",
681
681
  "navItems": [
682
682
  {
683
- "icon": "file-search",
684
683
  "href": "/review",
684
+ "icon": "file-search",
685
685
  "label": "Review"
686
686
  },
687
687
  {
688
- "href": "/analysis",
689
688
  "label": "Analysis",
689
+ "href": "/analysis",
690
690
  "icon": "tag"
691
691
  },
692
692
  {
@@ -733,9 +733,29 @@
733
733
  "render-ui",
734
734
  "main",
735
735
  {
736
+ "type": "dashboard-layout",
736
737
  "appName": "Code Reviewer",
738
+ "navItems": [
739
+ {
740
+ "href": "/review",
741
+ "icon": "file-search",
742
+ "label": "Review"
743
+ },
744
+ {
745
+ "label": "Analysis",
746
+ "href": "/analysis",
747
+ "icon": "tag"
748
+ },
749
+ {
750
+ "icon": "alert-triangle",
751
+ "href": "/issues",
752
+ "label": "Issues"
753
+ }
754
+ ],
737
755
  "children": [
738
756
  {
757
+ "type": "stack",
758
+ "direction": "vertical",
739
759
  "children": [
740
760
  {
741
761
  "children": [
@@ -749,64 +769,44 @@
749
769
  "variant": "h2"
750
770
  }
751
771
  ],
772
+ "type": "stack",
752
773
  "direction": "horizontal",
753
774
  "align": "center",
754
- "gap": "sm",
755
- "type": "stack"
775
+ "gap": "sm"
756
776
  },
757
777
  {
758
778
  "type": "divider"
759
779
  },
760
780
  {
781
+ "type": "card",
761
782
  "children": [
762
783
  {
763
- "gap": "md",
784
+ "type": "stack",
764
785
  "direction": "vertical",
765
786
  "children": [
766
787
  {
767
788
  "type": "typography",
768
- "variant": "body",
769
- "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review."
789
+ "content": "Paste schema or code to review. The agent will classify, search for patterns, and generate a structured review.",
790
+ "variant": "body"
770
791
  },
771
792
  {
772
- "mode": "edit",
773
- "type": "form-section",
774
793
  "entity": "@entity",
794
+ "mode": "edit",
775
795
  "submitEvent": "SUBMIT_REVIEW",
776
796
  "fields": [
777
797
  "target"
778
- ]
798
+ ],
799
+ "type": "form-section"
779
800
  }
780
801
  ],
781
- "type": "stack"
802
+ "gap": "md"
782
803
  }
783
- ],
784
- "type": "card"
804
+ ]
785
805
  }
786
806
  ],
787
- "direction": "vertical",
788
- "type": "stack",
789
807
  "gap": "lg"
790
808
  }
791
- ],
792
- "navItems": [
793
- {
794
- "href": "/review",
795
- "icon": "file-search",
796
- "label": "Review"
797
- },
798
- {
799
- "icon": "tag",
800
- "label": "Analysis",
801
- "href": "/analysis"
802
- },
803
- {
804
- "href": "/issues",
805
- "icon": "alert-triangle",
806
- "label": "Issues"
807
- }
808
- ],
809
- "type": "dashboard-layout"
809
+ ]
810
810
  }
811
811
  ]
812
812
  ]
@@ -948,7 +948,7 @@
948
948
  {
949
949
  "key": "RETRIEVAL_DONE",
950
950
  "name": "Retrieval Done",
951
- "payload": [
951
+ "payloadSchema": [
952
952
  {
953
953
  "name": "context",
954
954
  "type": "string"
@@ -966,7 +966,7 @@
966
966
  {
967
967
  "key": "FAILED",
968
968
  "name": "Failed",
969
- "payload": [
969
+ "payloadSchema": [
970
970
  {
971
971
  "name": "error",
972
972
  "type": "string"
@@ -976,7 +976,7 @@
976
976
  {
977
977
  "key": "GENERATION_DONE",
978
978
  "name": "Generation Done",
979
- "payload": [
979
+ "payloadSchema": [
980
980
  {
981
981
  "name": "response",
982
982
  "type": "string"
@@ -998,24 +998,43 @@
998
998
  "render-ui",
999
999
  "main",
1000
1000
  {
1001
+ "navItems": [
1002
+ {
1003
+ "icon": "file-search",
1004
+ "href": "/review",
1005
+ "label": "Review"
1006
+ },
1007
+ {
1008
+ "label": "Analysis",
1009
+ "icon": "tag",
1010
+ "href": "/analysis"
1011
+ },
1012
+ {
1013
+ "href": "/issues",
1014
+ "label": "Issues",
1015
+ "icon": "alert-triangle"
1016
+ }
1017
+ ],
1001
1018
  "children": [
1002
1019
  {
1003
1020
  "gap": "lg",
1021
+ "type": "stack",
1022
+ "direction": "vertical",
1004
1023
  "children": [
1005
1024
  {
1025
+ "align": "center",
1006
1026
  "type": "stack",
1007
1027
  "gap": "sm",
1008
1028
  "direction": "horizontal",
1009
- "align": "center",
1010
1029
  "children": [
1011
1030
  {
1012
- "name": "brain",
1013
- "type": "icon"
1031
+ "type": "icon",
1032
+ "name": "brain"
1014
1033
  },
1015
1034
  {
1016
1035
  "variant": "h2",
1017
- "type": "typography",
1018
- "content": "RAG Pipeline"
1036
+ "content": "RAG Pipeline",
1037
+ "type": "typography"
1019
1038
  }
1020
1039
  ]
1021
1040
  },
@@ -1023,55 +1042,36 @@
1023
1042
  "type": "divider"
1024
1043
  },
1025
1044
  {
1045
+ "type": "card",
1026
1046
  "children": [
1027
1047
  {
1048
+ "type": "stack",
1028
1049
  "children": [
1029
1050
  {
1030
1051
  "content": "Enter a query to retrieve context and generate a response",
1031
- "type": "typography",
1032
- "variant": "body"
1052
+ "variant": "body",
1053
+ "type": "typography"
1033
1054
  },
1034
1055
  {
1035
- "mode": "edit",
1036
- "submitEvent": "GENERATE",
1037
- "entity": "@entity",
1038
1056
  "fields": [
1039
1057
  "query"
1040
1058
  ],
1041
- "type": "form-section"
1059
+ "type": "form-section",
1060
+ "submitEvent": "GENERATE",
1061
+ "mode": "edit",
1062
+ "entity": "@entity"
1042
1063
  }
1043
1064
  ],
1044
- "type": "stack",
1045
1065
  "direction": "vertical",
1046
1066
  "gap": "md"
1047
1067
  }
1048
- ],
1049
- "type": "card"
1068
+ ]
1050
1069
  }
1051
- ],
1052
- "direction": "vertical",
1053
- "type": "stack"
1070
+ ]
1054
1071
  }
1055
1072
  ],
1056
- "navItems": [
1057
- {
1058
- "icon": "file-search",
1059
- "href": "/review",
1060
- "label": "Review"
1061
- },
1062
- {
1063
- "label": "Analysis",
1064
- "href": "/analysis",
1065
- "icon": "tag"
1066
- },
1067
- {
1068
- "label": "Issues",
1069
- "icon": "alert-triangle",
1070
- "href": "/issues"
1071
- }
1072
- ],
1073
- "appName": "Code Reviewer",
1074
- "type": "dashboard-layout"
1073
+ "type": "dashboard-layout",
1074
+ "appName": "Code Reviewer"
1075
1075
  }
1076
1076
  ]
1077
1077
  ]
@@ -1099,46 +1099,45 @@
1099
1099
  "render-ui",
1100
1100
  "main",
1101
1101
  {
1102
- "type": "dashboard-layout",
1102
+ "appName": "Code Reviewer",
1103
1103
  "children": [
1104
1104
  {
1105
+ "type": "stack",
1105
1106
  "align": "center",
1107
+ "gap": "lg",
1108
+ "direction": "vertical",
1106
1109
  "children": [
1107
1110
  {
1108
- "name": "search",
1109
- "type": "icon"
1111
+ "type": "icon",
1112
+ "name": "search"
1110
1113
  },
1111
1114
  {
1115
+ "type": "typography",
1112
1116
  "content": "Retrieving context...",
1113
- "variant": "h3",
1114
- "type": "typography"
1117
+ "variant": "h3"
1115
1118
  },
1116
1119
  {
1117
1120
  "type": "spinner"
1118
1121
  },
1119
1122
  {
1123
+ "type": "stack",
1120
1124
  "direction": "horizontal",
1121
1125
  "gap": "md",
1122
1126
  "children": [
1123
1127
  {
1124
- "type": "badge",
1125
- "label": "Recalling memories"
1128
+ "label": "Recalling memories",
1129
+ "type": "badge"
1126
1130
  },
1127
1131
  {
1128
- "label": "Searching code",
1129
- "type": "badge"
1132
+ "type": "badge",
1133
+ "label": "Searching code"
1130
1134
  }
1131
1135
  ],
1132
- "type": "stack",
1133
1136
  "justify": "center"
1134
1137
  }
1135
- ],
1136
- "type": "stack",
1137
- "direction": "vertical",
1138
- "gap": "lg"
1138
+ ]
1139
1139
  }
1140
1140
  ],
1141
- "appName": "Code Reviewer",
1142
1141
  "navItems": [
1143
1142
  {
1144
1143
  "icon": "file-search",
@@ -1146,16 +1145,17 @@
1146
1145
  "href": "/review"
1147
1146
  },
1148
1147
  {
1149
- "href": "/analysis",
1150
1148
  "icon": "tag",
1151
- "label": "Analysis"
1149
+ "label": "Analysis",
1150
+ "href": "/analysis"
1152
1151
  },
1153
1152
  {
1154
- "label": "Issues",
1155
1153
  "icon": "alert-triangle",
1154
+ "label": "Issues",
1156
1155
  "href": "/issues"
1157
1156
  }
1158
- ]
1157
+ ],
1158
+ "type": "dashboard-layout"
1159
1159
  }
1160
1160
  ]
1161
1161
  ]
@@ -1200,24 +1200,29 @@
1200
1200
  "render-ui",
1201
1201
  "main",
1202
1202
  {
1203
- "appName": "Code Reviewer",
1203
+ "type": "dashboard-layout",
1204
1204
  "children": [
1205
1205
  {
1206
+ "align": "center",
1206
1207
  "direction": "vertical",
1208
+ "type": "stack",
1207
1209
  "children": [
1208
1210
  {
1209
1211
  "name": "cpu",
1210
1212
  "type": "icon"
1211
1213
  },
1212
1214
  {
1213
- "type": "typography",
1214
1215
  "content": "Generating response...",
1216
+ "type": "typography",
1215
1217
  "variant": "h3"
1216
1218
  },
1217
1219
  {
1218
1220
  "type": "spinner"
1219
1221
  },
1220
1222
  {
1223
+ "type": "stack",
1224
+ "gap": "md",
1225
+ "justify": "center",
1221
1226
  "children": [
1222
1227
  {
1223
1228
  "type": "badge",
@@ -1228,35 +1233,30 @@
1228
1233
  "label": "@entity.searchHits"
1229
1234
  }
1230
1235
  ],
1231
- "justify": "center",
1232
- "type": "stack",
1233
- "direction": "horizontal",
1234
- "gap": "md"
1236
+ "direction": "horizontal"
1235
1237
  }
1236
1238
  ],
1237
- "align": "center",
1238
- "gap": "lg",
1239
- "type": "stack"
1239
+ "gap": "lg"
1240
1240
  }
1241
1241
  ],
1242
- "type": "dashboard-layout",
1243
1242
  "navItems": [
1244
1243
  {
1245
- "label": "Review",
1246
1244
  "href": "/review",
1247
- "icon": "file-search"
1245
+ "icon": "file-search",
1246
+ "label": "Review"
1248
1247
  },
1249
1248
  {
1250
- "href": "/analysis",
1251
1249
  "label": "Analysis",
1250
+ "href": "/analysis",
1252
1251
  "icon": "tag"
1253
1252
  },
1254
1253
  {
1254
+ "label": "Issues",
1255
1255
  "href": "/issues",
1256
- "icon": "alert-triangle",
1257
- "label": "Issues"
1256
+ "icon": "alert-triangle"
1258
1257
  }
1259
- ]
1258
+ ],
1259
+ "appName": "Code Reviewer"
1260
1260
  }
1261
1261
  ]
1262
1262
  ]
@@ -1280,6 +1280,7 @@
1280
1280
  "render-ui",
1281
1281
  "main",
1282
1282
  {
1283
+ "appName": "Code Reviewer",
1283
1284
  "navItems": [
1284
1285
  {
1285
1286
  "label": "Review",
@@ -1287,49 +1288,48 @@
1287
1288
  "href": "/review"
1288
1289
  },
1289
1290
  {
1290
- "label": "Analysis",
1291
+ "icon": "tag",
1291
1292
  "href": "/analysis",
1292
- "icon": "tag"
1293
+ "label": "Analysis"
1293
1294
  },
1294
1295
  {
1295
1296
  "icon": "alert-triangle",
1296
- "href": "/issues",
1297
- "label": "Issues"
1297
+ "label": "Issues",
1298
+ "href": "/issues"
1298
1299
  }
1299
1300
  ],
1300
1301
  "children": [
1301
1302
  {
1303
+ "align": "center",
1304
+ "type": "stack",
1302
1305
  "gap": "lg",
1306
+ "direction": "vertical",
1303
1307
  "children": [
1304
1308
  {
1305
- "type": "icon",
1306
- "name": "alert-triangle"
1309
+ "name": "alert-triangle",
1310
+ "type": "icon"
1307
1311
  },
1308
1312
  {
1309
- "variant": "h2",
1310
1313
  "type": "typography",
1311
- "content": "RAG Pipeline Error"
1314
+ "content": "RAG Pipeline Error",
1315
+ "variant": "h2"
1312
1316
  },
1313
1317
  {
1314
- "message": "@entity.error",
1315
1318
  "type": "alert",
1316
- "variant": "error"
1319
+ "variant": "error",
1320
+ "message": "@entity.error"
1317
1321
  },
1318
1322
  {
1319
- "type": "button",
1320
1323
  "variant": "primary",
1321
1324
  "icon": "rotate-ccw",
1325
+ "type": "button",
1322
1326
  "label": "Try Again",
1323
1327
  "action": "RESET"
1324
1328
  }
1325
- ],
1326
- "align": "center",
1327
- "direction": "vertical",
1328
- "type": "stack"
1329
+ ]
1329
1330
  }
1330
1331
  ],
1331
- "type": "dashboard-layout",
1332
- "appName": "Code Reviewer"
1332
+ "type": "dashboard-layout"
1333
1333
  }
1334
1334
  ]
1335
1335
  ]
@@ -1362,42 +1362,23 @@
1362
1362
  "render-ui",
1363
1363
  "main",
1364
1364
  {
1365
- "navItems": [
1366
- {
1367
- "label": "Review",
1368
- "href": "/review",
1369
- "icon": "file-search"
1370
- },
1371
- {
1372
- "label": "Analysis",
1373
- "href": "/analysis",
1374
- "icon": "tag"
1375
- },
1376
- {
1377
- "label": "Issues",
1378
- "href": "/issues",
1379
- "icon": "alert-triangle"
1380
- }
1381
- ],
1382
- "type": "dashboard-layout",
1383
1365
  "children": [
1384
1366
  {
1367
+ "direction": "vertical",
1385
1368
  "children": [
1386
1369
  {
1387
- "justify": "between",
1388
1370
  "gap": "sm",
1389
- "type": "stack",
1390
- "direction": "horizontal",
1391
1371
  "align": "center",
1372
+ "justify": "between",
1373
+ "type": "stack",
1392
1374
  "children": [
1393
1375
  {
1394
- "type": "stack",
1395
1376
  "gap": "sm",
1396
- "direction": "horizontal",
1377
+ "align": "center",
1397
1378
  "children": [
1398
1379
  {
1399
- "name": "check-circle",
1400
- "type": "icon"
1380
+ "type": "icon",
1381
+ "name": "check-circle"
1401
1382
  },
1402
1383
  {
1403
1384
  "type": "typography",
@@ -1405,34 +1386,36 @@
1405
1386
  "variant": "h2"
1406
1387
  }
1407
1388
  ],
1408
- "align": "center"
1389
+ "direction": "horizontal",
1390
+ "type": "stack"
1409
1391
  },
1410
1392
  {
1411
- "icon": "rotate-ccw",
1412
- "label": "New Query",
1413
1393
  "variant": "ghost",
1394
+ "type": "button",
1414
1395
  "action": "RESET",
1415
- "type": "button"
1396
+ "icon": "rotate-ccw",
1397
+ "label": "New Query"
1416
1398
  }
1417
- ]
1399
+ ],
1400
+ "direction": "horizontal"
1418
1401
  },
1419
1402
  {
1420
1403
  "type": "divider"
1421
1404
  },
1422
1405
  {
1423
- "type": "simple-grid",
1424
1406
  "cols": 2.0,
1407
+ "type": "simple-grid",
1425
1408
  "children": [
1426
1409
  {
1427
- "label": "Memory Hits",
1410
+ "value": "@entity.memoryHits",
1428
1411
  "icon": "brain",
1429
1412
  "type": "stat-display",
1430
- "value": "@entity.memoryHits"
1413
+ "label": "Memory Hits"
1431
1414
  },
1432
1415
  {
1433
1416
  "type": "stat-display",
1434
- "icon": "code",
1435
1417
  "label": "Code Hits",
1418
+ "icon": "code",
1436
1419
  "value": "@entity.searchHits"
1437
1420
  }
1438
1421
  ]
@@ -1441,20 +1424,20 @@
1441
1424
  "type": "divider"
1442
1425
  },
1443
1426
  {
1444
- "type": "card",
1445
1427
  "children": [
1446
1428
  {
1429
+ "gap": "md",
1447
1430
  "type": "stack",
1448
1431
  "children": [
1449
1432
  {
1450
- "variant": "caption",
1451
1433
  "type": "typography",
1434
+ "variant": "caption",
1452
1435
  "content": "Query"
1453
1436
  },
1454
1437
  {
1455
1438
  "variant": "body",
1456
- "type": "typography",
1457
- "content": "@entity.query"
1439
+ "content": "@entity.query",
1440
+ "type": "typography"
1458
1441
  },
1459
1442
  {
1460
1443
  "type": "divider"
@@ -1470,40 +1453,57 @@
1470
1453
  "content": "@entity.response"
1471
1454
  }
1472
1455
  ],
1473
- "direction": "vertical",
1474
- "gap": "md"
1456
+ "direction": "vertical"
1475
1457
  }
1476
- ]
1458
+ ],
1459
+ "type": "card"
1477
1460
  },
1478
1461
  {
1462
+ "type": "card",
1479
1463
  "children": [
1480
1464
  {
1481
1465
  "direction": "vertical",
1482
1466
  "gap": "sm",
1483
1467
  "children": [
1484
1468
  {
1469
+ "content": "Retrieved Context",
1485
1470
  "type": "typography",
1486
- "variant": "caption",
1487
- "content": "Retrieved Context"
1471
+ "variant": "caption"
1488
1472
  },
1489
1473
  {
1474
+ "type": "typography",
1490
1475
  "content": "@entity.context",
1491
- "variant": "body",
1492
- "type": "typography"
1476
+ "variant": "body"
1493
1477
  }
1494
1478
  ],
1495
1479
  "type": "stack"
1496
1480
  }
1497
- ],
1498
- "type": "card"
1481
+ ]
1499
1482
  }
1500
1483
  ],
1501
- "direction": "vertical",
1502
- "gap": "lg",
1503
- "type": "stack"
1484
+ "type": "stack",
1485
+ "gap": "lg"
1504
1486
  }
1505
1487
  ],
1506
- "appName": "Code Reviewer"
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
+ ]
1507
1507
  }
1508
1508
  ]
1509
1509
  ]
@@ -1527,28 +1527,8 @@
1527
1527
  "render-ui",
1528
1528
  "main",
1529
1529
  {
1530
- "navItems": [
1531
- {
1532
- "icon": "file-search",
1533
- "label": "Review",
1534
- "href": "/review"
1535
- },
1536
- {
1537
- "label": "Analysis",
1538
- "href": "/analysis",
1539
- "icon": "tag"
1540
- },
1541
- {
1542
- "label": "Issues",
1543
- "href": "/issues",
1544
- "icon": "alert-triangle"
1545
- }
1546
- ],
1547
- "appName": "Code Reviewer",
1548
- "type": "dashboard-layout",
1549
1530
  "children": [
1550
1531
  {
1551
- "align": "center",
1552
1532
  "children": [
1553
1533
  {
1554
1534
  "name": "alert-triangle",
@@ -1561,22 +1541,42 @@
1561
1541
  },
1562
1542
  {
1563
1543
  "type": "alert",
1564
- "message": "@entity.error",
1565
- "variant": "error"
1544
+ "variant": "error",
1545
+ "message": "@entity.error"
1566
1546
  },
1567
1547
  {
1568
- "action": "RESET",
1569
- "variant": "primary",
1548
+ "label": "Try Again",
1570
1549
  "icon": "rotate-ccw",
1550
+ "action": "RESET",
1571
1551
  "type": "button",
1572
- "label": "Try Again"
1552
+ "variant": "primary"
1573
1553
  }
1574
1554
  ],
1555
+ "align": "center",
1575
1556
  "type": "stack",
1576
- "direction": "vertical",
1577
- "gap": "lg"
1557
+ "gap": "lg",
1558
+ "direction": "vertical"
1578
1559
  }
1579
- ]
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
+ }
1577
+ ],
1578
+ "appName": "Code Reviewer",
1579
+ "type": "dashboard-layout"
1580
1580
  }
1581
1581
  ]
1582
1582
  ]
@@ -1621,43 +1621,43 @@
1621
1621
  "main",
1622
1622
  {
1623
1623
  "type": "dashboard-layout",
1624
- "appName": "Code Reviewer",
1625
1624
  "navItems": [
1626
1625
  {
1627
- "href": "/review",
1628
1626
  "label": "Review",
1627
+ "href": "/review",
1629
1628
  "icon": "file-search"
1630
1629
  },
1631
1630
  {
1632
- "label": "Analysis",
1633
1631
  "href": "/analysis",
1634
- "icon": "tag"
1632
+ "icon": "tag",
1633
+ "label": "Analysis"
1635
1634
  },
1636
1635
  {
1637
1636
  "icon": "alert-triangle",
1638
- "label": "Issues",
1639
- "href": "/issues"
1637
+ "href": "/issues",
1638
+ "label": "Issues"
1640
1639
  }
1641
1640
  ],
1642
1641
  "children": [
1643
1642
  {
1643
+ "type": "stack",
1644
1644
  "children": [
1645
1645
  {
1646
- "align": "center",
1647
- "gap": "sm",
1648
1646
  "direction": "horizontal",
1649
- "type": "stack",
1650
1647
  "children": [
1651
1648
  {
1652
- "type": "icon",
1653
- "name": "brain"
1649
+ "name": "brain",
1650
+ "type": "icon"
1654
1651
  },
1655
1652
  {
1656
- "content": "RAG Pipeline",
1657
1653
  "variant": "h2",
1658
- "type": "typography"
1654
+ "type": "typography",
1655
+ "content": "RAG Pipeline"
1659
1656
  }
1660
- ]
1657
+ ],
1658
+ "gap": "sm",
1659
+ "align": "center",
1660
+ "type": "stack"
1661
1661
  },
1662
1662
  {
1663
1663
  "type": "divider"
@@ -1665,35 +1665,35 @@
1665
1665
  {
1666
1666
  "children": [
1667
1667
  {
1668
- "type": "stack",
1669
1668
  "children": [
1670
1669
  {
1671
- "type": "typography",
1670
+ "content": "Enter a query to retrieve context and generate a response",
1672
1671
  "variant": "body",
1673
- "content": "Enter a query to retrieve context and generate a response"
1672
+ "type": "typography"
1674
1673
  },
1675
1674
  {
1676
- "entity": "@entity",
1677
- "submitEvent": "GENERATE",
1678
- "mode": "edit",
1679
1675
  "fields": [
1680
1676
  "query"
1681
1677
  ],
1682
- "type": "form-section"
1678
+ "type": "form-section",
1679
+ "entity": "@entity",
1680
+ "mode": "edit",
1681
+ "submitEvent": "GENERATE"
1683
1682
  }
1684
1683
  ],
1684
+ "direction": "vertical",
1685
1685
  "gap": "md",
1686
- "direction": "vertical"
1686
+ "type": "stack"
1687
1687
  }
1688
1688
  ],
1689
1689
  "type": "card"
1690
1690
  }
1691
1691
  ],
1692
- "gap": "lg",
1693
1692
  "direction": "vertical",
1694
- "type": "stack"
1693
+ "gap": "lg"
1695
1694
  }
1696
- ]
1695
+ ],
1696
+ "appName": "Code Reviewer"
1697
1697
  }
1698
1698
  ]
1699
1699
  ]
@@ -1711,7 +1711,7 @@
1711
1711
  "event": "ReviewRagLoaded",
1712
1712
  "description": "Fired when ReviewRag finishes loading",
1713
1713
  "scope": "internal",
1714
- "payload": [
1714
+ "payloadSchema": [
1715
1715
  {
1716
1716
  "name": "data",
1717
1717
  "type": "[ReviewRag]"
@@ -1722,7 +1722,7 @@
1722
1722
  "event": "ReviewRagLoadFailed",
1723
1723
  "description": "Fired when ReviewRag fails to load",
1724
1724
  "scope": "internal",
1725
- "payload": [
1725
+ "payloadSchema": [
1726
1726
  {
1727
1727
  "name": "error",
1728
1728
  "type": "string"
@@ -1749,7 +1749,7 @@
1749
1749
  {
1750
1750
  "key": "ReviewRagLoaded",
1751
1751
  "name": "ReviewRag loaded",
1752
- "payload": [
1752
+ "payloadSchema": [
1753
1753
  {
1754
1754
  "name": "data",
1755
1755
  "type": "[ReviewRag]"
@@ -1759,7 +1759,7 @@
1759
1759
  {
1760
1760
  "key": "ReviewRagLoadFailed",
1761
1761
  "name": "ReviewRag load failed",
1762
- "payload": [
1762
+ "payloadSchema": [
1763
1763
  {
1764
1764
  "name": "error",
1765
1765
  "type": "string"
@@ -1773,7 +1773,7 @@
1773
1773
  {
1774
1774
  "key": "SELECT_TAB",
1775
1775
  "name": "Select Tab",
1776
- "payload": [
1776
+ "payloadSchema": [
1777
1777
  {
1778
1778
  "name": "tab",
1779
1779
  "type": "string"
@@ -1792,8 +1792,8 @@
1792
1792
  "ReviewRag",
1793
1793
  {
1794
1794
  "emit": {
1795
- "success": "ReviewRagLoaded",
1796
- "failure": "ReviewRagLoadFailed"
1795
+ "failure": "ReviewRagLoadFailed",
1796
+ "success": "ReviewRagLoaded"
1797
1797
  }
1798
1798
  }
1799
1799
  ],
@@ -1801,22 +1801,22 @@
1801
1801
  "render-ui",
1802
1802
  "main",
1803
1803
  {
1804
- "gap": "md",
1804
+ "type": "stack",
1805
+ "direction": "vertical",
1805
1806
  "children": [
1806
1807
  {
1807
1808
  "type": "spinner"
1808
1809
  },
1809
1810
  {
1810
- "variant": "caption",
1811
- "color": "muted",
1812
1811
  "type": "typography",
1812
+ "color": "muted",
1813
+ "variant": "caption",
1813
1814
  "content": "Loading RAG pipeline…"
1814
1815
  }
1815
1816
  ],
1816
- "align": "center",
1817
- "direction": "vertical",
1818
1817
  "className": "py-12",
1819
- "type": "stack"
1818
+ "gap": "md",
1819
+ "align": "center"
1820
1820
  }
1821
1821
  ]
1822
1822
  ]
@@ -1831,7 +1831,6 @@
1831
1831
  "main",
1832
1832
  {
1833
1833
  "type": "dashboard-layout",
1834
- "appName": "Code Reviewer",
1835
1834
  "children": [
1836
1835
  {
1837
1836
  "gap": "lg",
@@ -1839,32 +1838,31 @@
1839
1838
  "type": "stack",
1840
1839
  "children": [
1841
1840
  {
1842
- "gap": "sm",
1843
1841
  "type": "stack",
1844
- "direction": "horizontal",
1845
- "align": "center",
1846
1842
  "children": [
1847
1843
  {
1848
1844
  "name": "brain",
1849
1845
  "type": "icon"
1850
1846
  },
1851
1847
  {
1852
- "variant": "h2",
1853
1848
  "type": "typography",
1854
- "content": "RAG Pipeline"
1849
+ "content": "RAG Pipeline",
1850
+ "variant": "h2"
1855
1851
  }
1856
- ]
1852
+ ],
1853
+ "direction": "horizontal",
1854
+ "align": "center",
1855
+ "gap": "sm"
1857
1856
  },
1858
1857
  {
1859
1858
  "type": "divider"
1860
1859
  },
1861
1860
  {
1862
1861
  "defaultActiveTab": "query",
1863
- "type": "tabs",
1864
1862
  "tabs": [
1865
1863
  {
1866
- "label": "Query",
1867
- "value": "query"
1864
+ "value": "query",
1865
+ "label": "Query"
1868
1866
  },
1869
1867
  {
1870
1868
  "label": "Sources",
@@ -1875,59 +1873,61 @@
1875
1873
  "label": "Response"
1876
1874
  }
1877
1875
  ],
1878
- "onTabChange": "SELECT_TAB"
1876
+ "onTabChange": "SELECT_TAB",
1877
+ "type": "tabs"
1879
1878
  },
1880
1879
  {
1881
1880
  "type": "divider"
1882
1881
  },
1883
1882
  {
1883
+ "type": "data-grid",
1884
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
1884
1885
  "renderItem": [
1885
1886
  "fn",
1886
1887
  "item",
1887
1888
  {
1888
1889
  "children": [
1889
1890
  {
1891
+ "type": "typography",
1890
1892
  "variant": "h4",
1891
- "content": "@item.query",
1892
- "type": "typography"
1893
+ "content": "@item.query"
1893
1894
  },
1894
1895
  {
1895
- "type": "typography",
1896
- "color": "muted",
1897
1896
  "variant": "caption",
1897
+ "color": "muted",
1898
+ "type": "typography",
1898
1899
  "content": "@item.query"
1899
1900
  }
1900
1901
  ],
1901
- "type": "stack",
1902
1902
  "direction": "vertical",
1903
- "gap": "sm"
1903
+ "gap": "sm",
1904
+ "type": "stack"
1904
1905
  }
1905
1906
  ],
1906
1907
  "fields": [],
1907
- "entity": "@payload.data",
1908
- "type": "data-grid",
1909
- "className": "transition-shadow hover:shadow-md cursor-pointer"
1908
+ "entity": "@payload.data"
1910
1909
  }
1911
1910
  ]
1912
1911
  }
1913
1912
  ],
1914
1913
  "navItems": [
1915
1914
  {
1915
+ "icon": "file-search",
1916
1916
  "label": "Review",
1917
- "href": "/review",
1918
- "icon": "file-search"
1917
+ "href": "/review"
1919
1918
  },
1920
1919
  {
1921
1920
  "href": "/analysis",
1922
- "icon": "tag",
1923
- "label": "Analysis"
1921
+ "label": "Analysis",
1922
+ "icon": "tag"
1924
1923
  },
1925
1924
  {
1925
+ "label": "Issues",
1926
1926
  "href": "/issues",
1927
- "icon": "alert-triangle",
1928
- "label": "Issues"
1927
+ "icon": "alert-triangle"
1929
1928
  }
1930
- ]
1929
+ ],
1930
+ "appName": "Code Reviewer"
1931
1931
  }
1932
1932
  ]
1933
1933
  ]
@@ -1942,35 +1942,35 @@
1942
1942
  "main",
1943
1943
  {
1944
1944
  "className": "py-12",
1945
- "direction": "vertical",
1946
- "align": "center",
1947
1945
  "type": "stack",
1948
1946
  "children": [
1949
1947
  {
1950
- "name": "alert-triangle",
1948
+ "color": "destructive",
1951
1949
  "type": "icon",
1952
- "color": "destructive"
1950
+ "name": "alert-triangle"
1953
1951
  },
1954
1952
  {
1953
+ "variant": "h3",
1955
1954
  "content": "Failed to load RAG pipeline",
1956
- "type": "typography",
1957
- "variant": "h3"
1955
+ "type": "typography"
1958
1956
  },
1959
1957
  {
1960
- "color": "muted",
1961
1958
  "content": "@payload.error",
1962
1959
  "type": "typography",
1963
- "variant": "body"
1960
+ "variant": "body",
1961
+ "color": "muted"
1964
1962
  },
1965
1963
  {
1966
- "label": "Retry",
1967
1964
  "action": "INIT",
1968
- "variant": "primary",
1965
+ "label": "Retry",
1969
1966
  "type": "button",
1970
- "icon": "rotate-ccw"
1967
+ "icon": "rotate-ccw",
1968
+ "variant": "primary"
1971
1969
  }
1972
1970
  ],
1973
- "gap": "md"
1971
+ "gap": "md",
1972
+ "direction": "vertical",
1973
+ "align": "center"
1974
1974
  }
1975
1975
  ]
1976
1976
  ]
@@ -1985,8 +1985,8 @@
1985
1985
  "ReviewRag",
1986
1986
  {
1987
1987
  "emit": {
1988
- "failure": "ReviewRagLoadFailed",
1989
- "success": "ReviewRagLoaded"
1988
+ "success": "ReviewRagLoaded",
1989
+ "failure": "ReviewRagLoadFailed"
1990
1990
  }
1991
1991
  }
1992
1992
  ],
@@ -2012,7 +2012,7 @@
2012
2012
  "event": "ReviewRagLoaded",
2013
2013
  "description": "Fired when ReviewRag finishes loading",
2014
2014
  "scope": "internal",
2015
- "payload": [
2015
+ "payloadSchema": [
2016
2016
  {
2017
2017
  "name": "data",
2018
2018
  "type": "[ReviewRag]"
@@ -2023,7 +2023,7 @@
2023
2023
  "event": "ReviewRagLoadFailed",
2024
2024
  "description": "Fired when ReviewRag fails to load",
2025
2025
  "scope": "internal",
2026
- "payload": [
2026
+ "payloadSchema": [
2027
2027
  {
2028
2028
  "name": "error",
2029
2029
  "type": "string"
@@ -2050,7 +2050,7 @@
2050
2050
  {
2051
2051
  "key": "ReviewRagLoaded",
2052
2052
  "name": "ReviewRag loaded",
2053
- "payload": [
2053
+ "payloadSchema": [
2054
2054
  {
2055
2055
  "name": "data",
2056
2056
  "type": "[ReviewRag]"
@@ -2060,7 +2060,7 @@
2060
2060
  {
2061
2061
  "key": "ReviewRagLoadFailed",
2062
2062
  "name": "ReviewRag load failed",
2063
- "payload": [
2063
+ "payloadSchema": [
2064
2064
  {
2065
2065
  "name": "error",
2066
2066
  "type": "string"
@@ -2092,22 +2092,22 @@
2092
2092
  "render-ui",
2093
2093
  "main",
2094
2094
  {
2095
- "gap": "md",
2096
- "className": "py-12",
2095
+ "align": "center",
2097
2096
  "children": [
2098
2097
  {
2099
2098
  "type": "spinner"
2100
2099
  },
2101
2100
  {
2102
- "type": "typography",
2103
2101
  "color": "muted",
2104
- "content": "Loading…",
2105
- "variant": "caption"
2102
+ "type": "typography",
2103
+ "variant": "caption",
2104
+ "content": "Loading…"
2106
2105
  }
2107
2106
  ],
2107
+ "type": "stack",
2108
2108
  "direction": "vertical",
2109
- "align": "center",
2110
- "type": "stack"
2109
+ "gap": "md",
2110
+ "className": "py-12"
2111
2111
  }
2112
2112
  ]
2113
2113
  ]
@@ -2121,17 +2121,40 @@
2121
2121
  "render-ui",
2122
2122
  "main",
2123
2123
  {
2124
+ "navItems": [
2125
+ {
2126
+ "href": "/review",
2127
+ "label": "Review",
2128
+ "icon": "file-search"
2129
+ },
2130
+ {
2131
+ "icon": "tag",
2132
+ "href": "/analysis",
2133
+ "label": "Analysis"
2134
+ },
2135
+ {
2136
+ "label": "Issues",
2137
+ "href": "/issues",
2138
+ "icon": "alert-triangle"
2139
+ }
2140
+ ],
2141
+ "type": "dashboard-layout",
2142
+ "appName": "Code Reviewer",
2124
2143
  "children": [
2125
2144
  {
2145
+ "className": "max-w-5xl mx-auto w-full",
2146
+ "direction": "vertical",
2147
+ "gap": "lg",
2148
+ "type": "stack",
2126
2149
  "children": [
2127
2150
  {
2151
+ "gap": "md",
2152
+ "direction": "horizontal",
2153
+ "type": "stack",
2128
2154
  "align": "center",
2129
2155
  "justify": "between",
2130
- "direction": "horizontal",
2131
- "gap": "md",
2132
2156
  "children": [
2133
2157
  {
2134
- "type": "stack",
2135
2158
  "gap": "sm",
2136
2159
  "children": [
2137
2160
  {
@@ -2144,121 +2167,98 @@
2144
2167
  "content": "ReviewRag Manager"
2145
2168
  }
2146
2169
  ],
2147
- "align": "center",
2148
- "direction": "horizontal"
2170
+ "type": "stack",
2171
+ "direction": "horizontal",
2172
+ "align": "center"
2149
2173
  },
2150
2174
  {
2151
- "direction": "horizontal",
2152
2175
  "type": "stack",
2153
2176
  "children": [
2154
2177
  {
2155
- "icon": "plus",
2156
- "label": "Memorize",
2157
2178
  "variant": "primary",
2158
2179
  "action": "MEMORIZE",
2159
- "type": "button"
2180
+ "icon": "plus",
2181
+ "type": "button",
2182
+ "label": "Memorize"
2160
2183
  },
2161
2184
  {
2185
+ "type": "button",
2162
2186
  "label": "Recall",
2163
2187
  "action": "RECALL",
2164
- "type": "button",
2165
- "icon": "search",
2166
- "variant": "secondary"
2188
+ "variant": "secondary",
2189
+ "icon": "search"
2167
2190
  },
2168
2191
  {
2169
- "variant": "ghost",
2170
- "action": "DECAY",
2192
+ "icon": "clock",
2171
2193
  "type": "button",
2172
2194
  "label": "Decay All",
2173
- "icon": "clock"
2195
+ "action": "DECAY",
2196
+ "variant": "ghost"
2174
2197
  }
2175
2198
  ],
2199
+ "direction": "horizontal",
2176
2200
  "gap": "sm"
2177
2201
  }
2178
- ],
2179
- "type": "stack"
2202
+ ]
2180
2203
  },
2181
2204
  {
2182
2205
  "type": "divider"
2183
2206
  },
2184
2207
  {
2185
- "fields": [],
2186
- "itemActions": [
2187
- {
2188
- "event": "PIN",
2189
- "variant": "ghost",
2190
- "label": "Pin"
2191
- },
2192
- {
2193
- "event": "REINFORCE",
2194
- "variant": "ghost",
2195
- "label": "Reinforce"
2196
- },
2197
- {
2198
- "variant": "danger",
2199
- "label": "Forget",
2200
- "event": "FORGET"
2201
- }
2202
- ],
2203
- "entity": "@payload.data",
2204
2208
  "columns": [
2205
2209
  {
2206
- "label": "Content",
2207
2210
  "name": "content",
2208
2211
  "icon": "brain",
2212
+ "label": "Content",
2209
2213
  "variant": "h4"
2210
2214
  },
2211
2215
  {
2212
- "name": "category",
2216
+ "label": "Category",
2217
+ "variant": "badge",
2213
2218
  "colorMap": {
2214
- "failed": "destructive",
2215
- "pending": "warning",
2216
- "completed": "success",
2217
2219
  "archived": "neutral",
2218
2220
  "scheduled": "warning",
2219
- "done": "success",
2220
- "draft": "warning",
2221
2221
  "active": "success",
2222
- "inactive": "neutral",
2223
2222
  "disabled": "neutral",
2223
+ "completed": "success",
2224
+ "inactive": "neutral",
2224
2225
  "error": "destructive",
2225
- "cancelled": "destructive"
2226
+ "done": "success",
2227
+ "cancelled": "destructive",
2228
+ "failed": "destructive",
2229
+ "draft": "warning",
2230
+ "pending": "warning"
2226
2231
  },
2227
- "label": "Category",
2228
- "variant": "badge"
2232
+ "name": "category"
2229
2233
  },
2230
2234
  {
2231
- "label": "Strength",
2232
2235
  "variant": "caption",
2233
- "name": "strength"
2236
+ "name": "strength",
2237
+ "label": "Strength"
2238
+ }
2239
+ ],
2240
+ "itemActions": [
2241
+ {
2242
+ "variant": "ghost",
2243
+ "event": "PIN",
2244
+ "label": "Pin"
2245
+ },
2246
+ {
2247
+ "event": "REINFORCE",
2248
+ "variant": "ghost",
2249
+ "label": "Reinforce"
2250
+ },
2251
+ {
2252
+ "label": "Forget",
2253
+ "event": "FORGET",
2254
+ "variant": "danger"
2234
2255
  }
2235
2256
  ],
2236
- "type": "data-grid"
2257
+ "fields": [],
2258
+ "type": "data-grid",
2259
+ "entity": "@payload.data"
2237
2260
  }
2238
- ],
2239
- "direction": "vertical",
2240
- "type": "stack",
2241
- "gap": "lg",
2242
- "className": "max-w-5xl mx-auto w-full"
2243
- }
2244
- ],
2245
- "appName": "Code Reviewer",
2246
- "type": "dashboard-layout",
2247
- "navItems": [
2248
- {
2249
- "label": "Review",
2250
- "icon": "file-search",
2251
- "href": "/review"
2252
- },
2253
- {
2254
- "icon": "tag",
2255
- "label": "Analysis",
2256
- "href": "/analysis"
2257
- },
2258
- {
2259
- "label": "Issues",
2260
- "icon": "alert-triangle",
2261
- "href": "/issues"
2261
+ ]
2262
2262
  }
2263
2263
  ]
2264
2264
  }
@@ -2274,36 +2274,36 @@
2274
2274
  "render-ui",
2275
2275
  "main",
2276
2276
  {
2277
+ "gap": "md",
2278
+ "className": "py-12",
2277
2279
  "children": [
2278
2280
  {
2279
- "name": "alert-triangle",
2281
+ "type": "icon",
2280
2282
  "color": "destructive",
2281
- "type": "icon"
2283
+ "name": "alert-triangle"
2282
2284
  },
2283
2285
  {
2284
- "variant": "h3",
2285
2286
  "type": "typography",
2287
+ "variant": "h3",
2286
2288
  "content": "Failed to load reviewrag"
2287
2289
  },
2288
2290
  {
2289
- "variant": "body",
2290
- "content": "@payload.error",
2291
2291
  "type": "typography",
2292
- "color": "muted"
2292
+ "content": "@payload.error",
2293
+ "color": "muted",
2294
+ "variant": "body"
2293
2295
  },
2294
2296
  {
2295
- "type": "button",
2296
- "label": "Retry",
2297
2297
  "icon": "rotate-ccw",
2298
+ "label": "Retry",
2298
2299
  "variant": "primary",
2299
- "action": "INIT"
2300
+ "action": "INIT",
2301
+ "type": "button"
2300
2302
  }
2301
2303
  ],
2302
2304
  "type": "stack",
2303
- "direction": "vertical",
2304
2305
  "align": "center",
2305
- "className": "py-12",
2306
- "gap": "md"
2306
+ "direction": "vertical"
2307
2307
  }
2308
2308
  ]
2309
2309
  ]
@@ -2321,7 +2321,7 @@
2321
2321
  "event": "ReviewRagLoaded",
2322
2322
  "description": "Fired when ReviewRag finishes loading",
2323
2323
  "scope": "internal",
2324
- "payload": [
2324
+ "payloadSchema": [
2325
2325
  {
2326
2326
  "name": "data",
2327
2327
  "type": "[ReviewRag]"
@@ -2332,7 +2332,7 @@
2332
2332
  "event": "ReviewRagLoadFailed",
2333
2333
  "description": "Fired when ReviewRag fails to load",
2334
2334
  "scope": "internal",
2335
- "payload": [
2335
+ "payloadSchema": [
2336
2336
  {
2337
2337
  "name": "error",
2338
2338
  "type": "string"
@@ -2359,7 +2359,7 @@
2359
2359
  {
2360
2360
  "key": "ReviewRagLoaded",
2361
2361
  "name": "ReviewRag loaded",
2362
- "payload": [
2362
+ "payloadSchema": [
2363
2363
  {
2364
2364
  "name": "data",
2365
2365
  "type": "[ReviewRag]"
@@ -2369,7 +2369,7 @@
2369
2369
  {
2370
2370
  "key": "ReviewRagLoadFailed",
2371
2371
  "name": "ReviewRag load failed",
2372
- "payload": [
2372
+ "payloadSchema": [
2373
2373
  {
2374
2374
  "name": "error",
2375
2375
  "type": "string"
@@ -2392,8 +2392,8 @@
2392
2392
  "ReviewRag",
2393
2393
  {
2394
2394
  "emit": {
2395
- "failure": "ReviewRagLoadFailed",
2396
- "success": "ReviewRagLoaded"
2395
+ "success": "ReviewRagLoaded",
2396
+ "failure": "ReviewRagLoadFailed"
2397
2397
  }
2398
2398
  }
2399
2399
  ],
@@ -2401,21 +2401,21 @@
2401
2401
  "render-ui",
2402
2402
  "main",
2403
2403
  {
2404
- "align": "center",
2405
2404
  "className": "py-12",
2405
+ "direction": "vertical",
2406
2406
  "children": [
2407
2407
  {
2408
2408
  "type": "spinner"
2409
2409
  },
2410
2410
  {
2411
- "variant": "caption",
2412
- "type": "typography",
2413
2411
  "content": "Loading…",
2414
- "color": "muted"
2412
+ "variant": "caption",
2413
+ "color": "muted",
2414
+ "type": "typography"
2415
2415
  }
2416
2416
  ],
2417
+ "align": "center",
2417
2418
  "gap": "md",
2418
- "direction": "vertical",
2419
2419
  "type": "stack"
2420
2420
  }
2421
2421
  ]
@@ -2430,128 +2430,128 @@
2430
2430
  "render-ui",
2431
2431
  "main",
2432
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
+ ],
2433
2451
  "children": [
2434
2452
  {
2453
+ "direction": "vertical",
2435
2454
  "gap": "lg",
2436
2455
  "type": "stack",
2456
+ "className": "max-w-5xl mx-auto w-full",
2437
2457
  "children": [
2438
2458
  {
2439
- "justify": "between",
2459
+ "gap": "md",
2440
2460
  "children": [
2441
2461
  {
2462
+ "type": "stack",
2463
+ "direction": "horizontal",
2442
2464
  "children": [
2443
2465
  {
2444
- "name": "search",
2445
- "type": "icon"
2466
+ "type": "icon",
2467
+ "name": "search"
2446
2468
  },
2447
2469
  {
2448
- "type": "typography",
2449
2470
  "content": "ReviewRag",
2471
+ "type": "typography",
2450
2472
  "variant": "h2"
2451
2473
  }
2452
2474
  ],
2453
- "direction": "horizontal",
2454
2475
  "gap": "sm",
2455
- "type": "stack",
2456
2476
  "align": "center"
2457
2477
  },
2458
2478
  {
2479
+ "direction": "horizontal",
2480
+ "type": "stack",
2481
+ "gap": "sm",
2459
2482
  "children": [
2460
2483
  {
2461
- "action": "SEARCH",
2462
- "icon": "search",
2463
2484
  "type": "button",
2464
2485
  "variant": "primary",
2465
- "label": "Search"
2486
+ "icon": "search",
2487
+ "label": "Search",
2488
+ "action": "SEARCH"
2466
2489
  },
2467
2490
  {
2468
- "label": "Clear",
2469
- "variant": "ghost",
2470
2491
  "icon": "x",
2492
+ "action": "CLEAR",
2493
+ "variant": "ghost",
2471
2494
  "type": "button",
2472
- "action": "CLEAR"
2495
+ "label": "Clear"
2473
2496
  }
2474
- ],
2475
- "direction": "horizontal",
2476
- "type": "stack",
2477
- "gap": "sm"
2497
+ ]
2478
2498
  }
2479
2499
  ],
2480
- "gap": "md",
2500
+ "type": "stack",
2501
+ "justify": "between",
2481
2502
  "direction": "horizontal",
2482
- "align": "center",
2483
- "type": "stack"
2503
+ "align": "center"
2484
2504
  },
2485
2505
  {
2486
2506
  "type": "divider"
2487
2507
  },
2488
2508
  {
2489
- "entity": "@payload.data",
2490
- "fields": [],
2491
2509
  "type": "data-grid",
2492
2510
  "itemActions": [
2493
2511
  {
2512
+ "label": "View",
2494
2513
  "event": "VIEW",
2495
- "variant": "ghost",
2496
- "label": "View"
2514
+ "variant": "ghost"
2497
2515
  }
2498
2516
  ],
2517
+ "entity": "@payload.data",
2499
2518
  "columns": [
2500
2519
  {
2501
- "icon": "search",
2502
- "label": "Query",
2503
2520
  "variant": "h4",
2504
- "name": "query"
2521
+ "name": "query",
2522
+ "icon": "search",
2523
+ "label": "Query"
2505
2524
  },
2506
2525
  {
2526
+ "name": "language",
2527
+ "variant": "badge",
2507
2528
  "label": "Language",
2508
2529
  "colorMap": {
2530
+ "failed": "destructive",
2509
2531
  "scheduled": "warning",
2510
2532
  "error": "destructive",
2511
- "cancelled": "destructive",
2512
- "completed": "success",
2513
- "active": "success",
2514
- "failed": "destructive",
2515
- "pending": "warning",
2533
+ "inactive": "neutral",
2516
2534
  "disabled": "neutral",
2535
+ "active": "success",
2517
2536
  "done": "success",
2518
- "inactive": "neutral",
2519
- "archived": "neutral",
2520
- "draft": "warning"
2521
- },
2522
- "variant": "badge",
2523
- "name": "language"
2537
+ "completed": "success",
2538
+ "cancelled": "destructive",
2539
+ "pending": "warning",
2540
+ "draft": "warning",
2541
+ "archived": "neutral"
2542
+ }
2524
2543
  },
2525
2544
  {
2526
- "variant": "caption",
2527
2545
  "name": "resultCount",
2528
- "label": "Result Count"
2546
+ "label": "Result Count",
2547
+ "variant": "caption"
2529
2548
  }
2530
- ]
2549
+ ],
2550
+ "fields": []
2531
2551
  }
2532
- ],
2533
- "direction": "vertical",
2534
- "className": "max-w-5xl mx-auto w-full"
2535
- }
2536
- ],
2537
- "navItems": [
2538
- {
2539
- "label": "Review",
2540
- "href": "/review",
2541
- "icon": "file-search"
2542
- },
2543
- {
2544
- "label": "Analysis",
2545
- "icon": "tag",
2546
- "href": "/analysis"
2547
- },
2548
- {
2549
- "href": "/issues",
2550
- "label": "Issues",
2551
- "icon": "alert-triangle"
2552
+ ]
2552
2553
  }
2553
2554
  ],
2554
- "type": "dashboard-layout",
2555
2555
  "appName": "Code Reviewer"
2556
2556
  }
2557
2557
  ]
@@ -2566,11 +2566,8 @@
2566
2566
  "render-ui",
2567
2567
  "main",
2568
2568
  {
2569
- "className": "py-12",
2570
- "align": "center",
2571
2569
  "type": "stack",
2572
2570
  "direction": "vertical",
2573
- "gap": "md",
2574
2571
  "children": [
2575
2572
  {
2576
2573
  "type": "icon",
@@ -2578,24 +2575,27 @@
2578
2575
  "name": "alert-triangle"
2579
2576
  },
2580
2577
  {
2581
- "variant": "h3",
2578
+ "type": "typography",
2582
2579
  "content": "Failed to load reviewrag",
2583
- "type": "typography"
2580
+ "variant": "h3"
2584
2581
  },
2585
2582
  {
2586
- "content": "@payload.error",
2587
2583
  "type": "typography",
2588
2584
  "variant": "body",
2589
- "color": "muted"
2585
+ "color": "muted",
2586
+ "content": "@payload.error"
2590
2587
  },
2591
2588
  {
2592
- "type": "button",
2593
- "action": "INIT",
2594
2589
  "label": "Retry",
2590
+ "variant": "primary",
2595
2591
  "icon": "rotate-ccw",
2596
- "variant": "primary"
2592
+ "type": "button",
2593
+ "action": "INIT"
2597
2594
  }
2598
- ]
2595
+ ],
2596
+ "gap": "md",
2597
+ "align": "center",
2598
+ "className": "py-12"
2599
2599
  }
2600
2600
  ]
2601
2601
  ]
@@ -2621,7 +2621,7 @@
2621
2621
  "event": "ReviewRagLoadFailed",
2622
2622
  "description": "Fired when ReviewRag fails to load",
2623
2623
  "scope": "internal",
2624
- "payload": [
2624
+ "payloadSchema": [
2625
2625
  {
2626
2626
  "name": "error",
2627
2627
  "type": "string"
@@ -2636,7 +2636,7 @@
2636
2636
  "event": "ReviewRagLoaded",
2637
2637
  "description": "Fired when ReviewRag finishes loading",
2638
2638
  "scope": "internal",
2639
- "payload": [
2639
+ "payloadSchema": [
2640
2640
  {
2641
2641
  "name": "data",
2642
2642
  "type": "[ReviewRag]"
@@ -2646,7 +2646,7 @@
2646
2646
  {
2647
2647
  "event": "ReviewRagSaveFailed",
2648
2648
  "scope": "internal",
2649
- "payload": [
2649
+ "payloadSchema": [
2650
2650
  {
2651
2651
  "name": "error",
2652
2652
  "type": "string"
@@ -2660,7 +2660,7 @@
2660
2660
  {
2661
2661
  "event": "ReviewRagSaved",
2662
2662
  "scope": "internal",
2663
- "payload": [
2663
+ "payloadSchema": [
2664
2664
  {
2665
2665
  "name": "id",
2666
2666
  "type": "string"
@@ -2694,7 +2694,7 @@
2694
2694
  {
2695
2695
  "key": "SAVE",
2696
2696
  "name": "Save",
2697
- "payload": [
2697
+ "payloadSchema": [
2698
2698
  {
2699
2699
  "name": "data",
2700
2700
  "type": "string"
@@ -2708,7 +2708,7 @@
2708
2708
  {
2709
2709
  "key": "ReviewRagLoadFailed",
2710
2710
  "name": "ReviewRag load failed",
2711
- "payload": [
2711
+ "payloadSchema": [
2712
2712
  {
2713
2713
  "name": "error",
2714
2714
  "type": "string"
@@ -2722,7 +2722,7 @@
2722
2722
  {
2723
2723
  "key": "ReviewRagLoaded",
2724
2724
  "name": "ReviewRag loaded",
2725
- "payload": [
2725
+ "payloadSchema": [
2726
2726
  {
2727
2727
  "name": "data",
2728
2728
  "type": "[ReviewRag]"
@@ -2732,7 +2732,7 @@
2732
2732
  {
2733
2733
  "key": "ReviewRagSaveFailed",
2734
2734
  "name": "ReviewRag save failed",
2735
- "payload": [
2735
+ "payloadSchema": [
2736
2736
  {
2737
2737
  "name": "error",
2738
2738
  "type": "string"
@@ -2746,7 +2746,7 @@
2746
2746
  {
2747
2747
  "key": "ReviewRagSaved",
2748
2748
  "name": "ReviewRag saved",
2749
- "payload": [
2749
+ "payloadSchema": [
2750
2750
  {
2751
2751
  "name": "id",
2752
2752
  "type": "string"
@@ -2775,67 +2775,67 @@
2775
2775
  "icon": "file-search"
2776
2776
  },
2777
2777
  {
2778
+ "icon": "tag",
2778
2779
  "label": "Analysis",
2779
- "href": "/analysis",
2780
- "icon": "tag"
2780
+ "href": "/analysis"
2781
2781
  },
2782
2782
  {
2783
- "href": "/issues",
2784
2783
  "icon": "alert-triangle",
2784
+ "href": "/issues",
2785
2785
  "label": "Issues"
2786
2786
  }
2787
2787
  ],
2788
2788
  "children": [
2789
2789
  {
2790
- "gap": "lg",
2791
2790
  "type": "stack",
2792
2791
  "direction": "vertical",
2793
2792
  "children": [
2794
2793
  {
2795
- "direction": "horizontal",
2796
- "justify": "between",
2797
2794
  "gap": "md",
2795
+ "type": "stack",
2796
+ "justify": "between",
2798
2797
  "children": [
2799
2798
  {
2800
2799
  "type": "stack",
2801
- "gap": "md",
2802
2800
  "children": [
2803
2801
  {
2804
- "type": "icon",
2805
- "name": "sparkles"
2802
+ "name": "sparkles",
2803
+ "type": "icon"
2806
2804
  },
2807
2805
  {
2806
+ "type": "typography",
2808
2807
  "content": "ReviewRag",
2809
- "variant": "h2",
2810
- "type": "typography"
2808
+ "variant": "h2"
2811
2809
  }
2812
2810
  ],
2811
+ "gap": "md",
2813
2812
  "direction": "horizontal"
2814
2813
  },
2815
2814
  {
2816
2815
  "label": "Open",
2817
- "icon": "sparkles",
2818
- "variant": "primary",
2816
+ "action": "GENERATE",
2819
2817
  "type": "button",
2820
- "action": "GENERATE"
2818
+ "icon": "sparkles",
2819
+ "variant": "primary"
2821
2820
  }
2822
2821
  ],
2823
- "type": "stack"
2822
+ "direction": "horizontal"
2824
2823
  },
2825
2824
  {
2826
2825
  "type": "divider"
2827
2826
  },
2828
2827
  {
2829
- "type": "empty-state",
2830
- "title": "Nothing open",
2831
2828
  "icon": "sparkles",
2832
- "description": "Click Open to view details in a modal overlay."
2829
+ "description": "Click Open to view details in a modal overlay.",
2830
+ "type": "empty-state",
2831
+ "title": "Nothing open"
2833
2832
  }
2834
- ]
2833
+ ],
2834
+ "gap": "lg"
2835
2835
  }
2836
2836
  ],
2837
- "appName": "Code Reviewer",
2838
- "type": "dashboard-layout"
2837
+ "type": "dashboard-layout",
2838
+ "appName": "Code Reviewer"
2839
2839
  }
2840
2840
  ]
2841
2841
  ]
@@ -2850,53 +2850,53 @@
2850
2850
  "modal",
2851
2851
  {
2852
2852
  "gap": "md",
2853
+ "direction": "vertical",
2854
+ "type": "stack",
2853
2855
  "children": [
2854
2856
  {
2855
- "gap": "sm",
2856
2857
  "type": "stack",
2857
- "direction": "horizontal",
2858
2858
  "children": [
2859
2859
  {
2860
2860
  "type": "icon",
2861
2861
  "name": "sparkles"
2862
2862
  },
2863
2863
  {
2864
- "type": "typography",
2864
+ "variant": "h3",
2865
2865
  "content": "ReviewRag",
2866
- "variant": "h3"
2866
+ "type": "typography"
2867
2867
  }
2868
- ]
2868
+ ],
2869
+ "direction": "horizontal",
2870
+ "gap": "sm"
2869
2871
  },
2870
2872
  {
2871
2873
  "type": "divider"
2872
2874
  },
2873
2875
  {
2874
- "direction": "horizontal",
2875
2876
  "gap": "sm",
2876
2877
  "children": [
2877
2878
  {
2878
- "label": "@entity.provider",
2879
- "type": "badge"
2879
+ "type": "badge",
2880
+ "label": "@entity.provider"
2880
2881
  },
2881
2882
  {
2882
- "type": "badge",
2883
- "label": "@entity.model"
2883
+ "label": "@entity.model",
2884
+ "type": "badge"
2884
2885
  }
2885
2886
  ],
2886
- "type": "stack"
2887
+ "type": "stack",
2888
+ "direction": "horizontal"
2887
2889
  },
2888
2890
  {
2889
- "fields": [
2890
- "prompt"
2891
- ],
2892
- "type": "form-section",
2893
2891
  "mode": "create",
2894
2892
  "submitEvent": "SAVE",
2895
- "cancelEvent": "CLOSE"
2893
+ "cancelEvent": "CLOSE",
2894
+ "type": "form-section",
2895
+ "fields": [
2896
+ "prompt"
2897
+ ]
2896
2898
  }
2897
- ],
2898
- "type": "stack",
2899
- "direction": "vertical"
2899
+ ]
2900
2900
  }
2901
2901
  ]
2902
2902
  ]
@@ -2926,12 +2926,15 @@
2926
2926
  {
2927
2927
  "children": [
2928
2928
  {
2929
+ "type": "stack",
2930
+ "gap": "lg",
2931
+ "direction": "vertical",
2929
2932
  "children": [
2930
2933
  {
2931
- "justify": "between",
2932
- "direction": "horizontal",
2933
2934
  "children": [
2934
2935
  {
2936
+ "type": "stack",
2937
+ "direction": "horizontal",
2935
2938
  "children": [
2936
2939
  {
2937
2940
  "name": "sparkles",
@@ -2939,41 +2942,37 @@
2939
2942
  },
2940
2943
  {
2941
2944
  "type": "typography",
2942
- "content": "ReviewRag",
2943
- "variant": "h2"
2945
+ "variant": "h2",
2946
+ "content": "ReviewRag"
2944
2947
  }
2945
2948
  ],
2946
- "type": "stack",
2947
- "direction": "horizontal",
2948
2949
  "gap": "md"
2949
2950
  },
2950
2951
  {
2951
- "variant": "primary",
2952
- "action": "GENERATE",
2953
- "icon": "sparkles",
2954
2952
  "type": "button",
2955
- "label": "Open"
2953
+ "label": "Open",
2954
+ "action": "GENERATE",
2955
+ "variant": "primary",
2956
+ "icon": "sparkles"
2956
2957
  }
2957
2958
  ],
2958
- "type": "stack",
2959
- "gap": "md"
2959
+ "direction": "horizontal",
2960
+ "gap": "md",
2961
+ "justify": "between",
2962
+ "type": "stack"
2960
2963
  },
2961
2964
  {
2962
2965
  "type": "divider"
2963
2966
  },
2964
2967
  {
2965
- "title": "Nothing open",
2966
2968
  "type": "empty-state",
2967
2969
  "description": "Click Open to view details in a modal overlay.",
2970
+ "title": "Nothing open",
2968
2971
  "icon": "sparkles"
2969
2972
  }
2970
- ],
2971
- "type": "stack",
2972
- "direction": "vertical",
2973
- "gap": "lg"
2973
+ ]
2974
2974
  }
2975
2975
  ],
2976
- "type": "dashboard-layout",
2977
2976
  "appName": "Code Reviewer",
2978
2977
  "navItems": [
2979
2978
  {
@@ -2982,16 +2981,17 @@
2982
2981
  "icon": "file-search"
2983
2982
  },
2984
2983
  {
2984
+ "href": "/analysis",
2985
2985
  "icon": "tag",
2986
- "label": "Analysis",
2987
- "href": "/analysis"
2986
+ "label": "Analysis"
2988
2987
  },
2989
2988
  {
2990
- "href": "/issues",
2991
2989
  "label": "Issues",
2992
- "icon": "alert-triangle"
2990
+ "icon": "alert-triangle",
2991
+ "href": "/issues"
2993
2992
  }
2994
- ]
2993
+ ],
2994
+ "type": "dashboard-layout"
2995
2995
  }
2996
2996
  ]
2997
2997
  ]
@@ -3008,8 +3008,8 @@
3008
3008
  "@payload.data",
3009
3009
  {
3010
3010
  "emit": {
3011
- "failure": "ReviewRagSaveFailed",
3012
- "success": "ReviewRagSaved"
3011
+ "success": "ReviewRagSaved",
3012
+ "failure": "ReviewRagSaveFailed"
3013
3013
  }
3014
3014
  }
3015
3015
  ],
@@ -3032,72 +3032,72 @@
3032
3032
  {
3033
3033
  "navItems": [
3034
3034
  {
3035
- "href": "/review",
3036
3035
  "icon": "file-search",
3037
- "label": "Review"
3036
+ "label": "Review",
3037
+ "href": "/review"
3038
3038
  },
3039
3039
  {
3040
+ "icon": "tag",
3040
3041
  "label": "Analysis",
3041
- "href": "/analysis",
3042
- "icon": "tag"
3042
+ "href": "/analysis"
3043
3043
  },
3044
3044
  {
3045
- "icon": "alert-triangle",
3046
3045
  "href": "/issues",
3046
+ "icon": "alert-triangle",
3047
3047
  "label": "Issues"
3048
3048
  }
3049
3049
  ],
3050
+ "appName": "Code Reviewer",
3051
+ "type": "dashboard-layout",
3050
3052
  "children": [
3051
3053
  {
3052
- "type": "stack",
3053
3054
  "direction": "vertical",
3055
+ "gap": "lg",
3056
+ "type": "stack",
3054
3057
  "children": [
3055
3058
  {
3059
+ "type": "stack",
3060
+ "gap": "md",
3061
+ "direction": "horizontal",
3062
+ "justify": "between",
3056
3063
  "children": [
3057
3064
  {
3058
- "direction": "horizontal",
3059
3065
  "children": [
3060
3066
  {
3061
3067
  "type": "icon",
3062
3068
  "name": "sparkles"
3063
3069
  },
3064
3070
  {
3071
+ "variant": "h2",
3065
3072
  "content": "ReviewRag",
3066
- "type": "typography",
3067
- "variant": "h2"
3073
+ "type": "typography"
3068
3074
  }
3069
3075
  ],
3076
+ "direction": "horizontal",
3070
3077
  "gap": "md",
3071
3078
  "type": "stack"
3072
3079
  },
3073
3080
  {
3074
- "type": "button",
3075
- "label": "Open",
3076
3081
  "icon": "sparkles",
3082
+ "variant": "primary",
3083
+ "label": "Open",
3077
3084
  "action": "GENERATE",
3078
- "variant": "primary"
3085
+ "type": "button"
3079
3086
  }
3080
- ],
3081
- "justify": "between",
3082
- "type": "stack",
3083
- "direction": "horizontal",
3084
- "gap": "md"
3087
+ ]
3085
3088
  },
3086
3089
  {
3087
3090
  "type": "divider"
3088
3091
  },
3089
3092
  {
3090
- "title": "Nothing open",
3091
- "description": "Click Open to view details in a modal overlay.",
3092
3093
  "type": "empty-state",
3093
- "icon": "sparkles"
3094
+ "icon": "sparkles",
3095
+ "title": "Nothing open",
3096
+ "description": "Click Open to view details in a modal overlay."
3094
3097
  }
3095
- ],
3096
- "gap": "lg"
3098
+ ]
3097
3099
  }
3098
- ],
3099
- "type": "dashboard-layout",
3100
- "appName": "Code Reviewer"
3100
+ ]
3101
3101
  }
3102
3102
  ]
3103
3103
  ]
@@ -3166,7 +3166,7 @@
3166
3166
  {
3167
3167
  "event": "CLASSIFIED",
3168
3168
  "scope": "internal",
3169
- "payload": [
3169
+ "payloadSchema": [
3170
3170
  {
3171
3171
  "name": "category",
3172
3172
  "type": "string"
@@ -3176,7 +3176,7 @@
3176
3176
  {
3177
3177
  "event": "CLASSIFIED",
3178
3178
  "scope": "external",
3179
- "payload": [
3179
+ "payloadSchema": [
3180
3180
  {
3181
3181
  "name": "category",
3182
3182
  "type": "string"
@@ -3187,7 +3187,7 @@
3187
3187
  "event": "AnalysisLoadFailed",
3188
3188
  "description": "Fired when Analysis fails to load",
3189
3189
  "scope": "internal",
3190
- "payload": [
3190
+ "payloadSchema": [
3191
3191
  {
3192
3192
  "name": "error",
3193
3193
  "type": "string"
@@ -3202,7 +3202,7 @@
3202
3202
  "event": "AnalysisLoaded",
3203
3203
  "description": "Fired when Analysis finishes loading",
3204
3204
  "scope": "internal",
3205
- "payload": [
3205
+ "payloadSchema": [
3206
3206
  {
3207
3207
  "name": "data",
3208
3208
  "type": "[Analysis]"
@@ -3212,7 +3212,7 @@
3212
3212
  {
3213
3213
  "event": "AnalysisSaveFailed",
3214
3214
  "scope": "internal",
3215
- "payload": [
3215
+ "payloadSchema": [
3216
3216
  {
3217
3217
  "name": "error",
3218
3218
  "type": "string"
@@ -3226,7 +3226,7 @@
3226
3226
  {
3227
3227
  "event": "AnalysisSaved",
3228
3228
  "scope": "internal",
3229
- "payload": [
3229
+ "payloadSchema": [
3230
3230
  {
3231
3231
  "name": "id",
3232
3232
  "type": "string"
@@ -3260,7 +3260,7 @@
3260
3260
  {
3261
3261
  "key": "SAVE",
3262
3262
  "name": "Save",
3263
- "payload": [
3263
+ "payloadSchema": [
3264
3264
  {
3265
3265
  "name": "data",
3266
3266
  "type": "string"
@@ -3274,7 +3274,7 @@
3274
3274
  {
3275
3275
  "key": "AnalysisLoadFailed",
3276
3276
  "name": "Analysis load failed",
3277
- "payload": [
3277
+ "payloadSchema": [
3278
3278
  {
3279
3279
  "name": "error",
3280
3280
  "type": "string"
@@ -3288,7 +3288,7 @@
3288
3288
  {
3289
3289
  "key": "AnalysisLoaded",
3290
3290
  "name": "Analysis loaded",
3291
- "payload": [
3291
+ "payloadSchema": [
3292
3292
  {
3293
3293
  "name": "data",
3294
3294
  "type": "[Analysis]"
@@ -3298,7 +3298,7 @@
3298
3298
  {
3299
3299
  "key": "AnalysisSaveFailed",
3300
3300
  "name": "Analysis save failed",
3301
- "payload": [
3301
+ "payloadSchema": [
3302
3302
  {
3303
3303
  "name": "error",
3304
3304
  "type": "string"
@@ -3312,7 +3312,7 @@
3312
3312
  {
3313
3313
  "key": "AnalysisSaved",
3314
3314
  "name": "Analysis saved",
3315
- "payload": [
3315
+ "payloadSchema": [
3316
3316
  {
3317
3317
  "name": "id",
3318
3318
  "type": "string"
@@ -3334,37 +3334,23 @@
3334
3334
  "render-ui",
3335
3335
  "main",
3336
3336
  {
3337
- "navItems": [
3338
- {
3339
- "href": "/review",
3340
- "label": "Review",
3341
- "icon": "file-search"
3342
- },
3343
- {
3344
- "label": "Analysis",
3345
- "href": "/analysis",
3346
- "icon": "tag"
3347
- },
3348
- {
3349
- "href": "/issues",
3350
- "label": "Issues",
3351
- "icon": "alert-triangle"
3352
- }
3353
- ],
3354
- "type": "dashboard-layout",
3355
- "appName": "Code Reviewer",
3356
3337
  "children": [
3357
3338
  {
3358
3339
  "type": "stack",
3340
+ "direction": "vertical",
3359
3341
  "children": [
3360
3342
  {
3343
+ "direction": "horizontal",
3344
+ "type": "stack",
3361
3345
  "gap": "md",
3346
+ "justify": "between",
3362
3347
  "children": [
3363
3348
  {
3349
+ "gap": "md",
3364
3350
  "children": [
3365
3351
  {
3366
- "type": "icon",
3367
- "name": "tag"
3352
+ "name": "tag",
3353
+ "type": "icon"
3368
3354
  },
3369
3355
  {
3370
3356
  "type": "typography",
@@ -3372,34 +3358,48 @@
3372
3358
  "content": "Analysis"
3373
3359
  }
3374
3360
  ],
3375
- "gap": "md",
3376
- "type": "stack",
3377
- "direction": "horizontal"
3361
+ "direction": "horizontal",
3362
+ "type": "stack"
3378
3363
  },
3379
3364
  {
3380
3365
  "icon": "tag",
3381
- "label": "Open",
3382
3366
  "type": "button",
3383
3367
  "variant": "primary",
3384
- "action": "CLASSIFY"
3368
+ "action": "CLASSIFY",
3369
+ "label": "Open"
3385
3370
  }
3386
- ],
3387
- "direction": "horizontal",
3388
- "type": "stack",
3389
- "justify": "between"
3371
+ ]
3390
3372
  },
3391
3373
  {
3392
3374
  "type": "divider"
3393
3375
  },
3394
3376
  {
3395
- "title": "Nothing open",
3396
- "icon": "tag",
3397
3377
  "type": "empty-state",
3398
- "description": "Click Open to view details in a modal overlay."
3378
+ "icon": "tag",
3379
+ "description": "Click Open to view details in a modal overlay.",
3380
+ "title": "Nothing open"
3399
3381
  }
3400
3382
  ],
3401
- "gap": "lg",
3402
- "direction": "vertical"
3383
+ "gap": "lg"
3384
+ }
3385
+ ],
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
3403
  }
3404
3404
  ]
3405
3405
  }
@@ -3415,22 +3415,24 @@
3415
3415
  "render-ui",
3416
3416
  "modal",
3417
3417
  {
3418
+ "type": "stack",
3418
3419
  "gap": "md",
3420
+ "direction": "vertical",
3419
3421
  "children": [
3420
3422
  {
3421
- "gap": "sm",
3423
+ "direction": "horizontal",
3422
3424
  "children": [
3423
3425
  {
3424
3426
  "type": "icon",
3425
3427
  "name": "tag"
3426
3428
  },
3427
3429
  {
3428
- "type": "typography",
3430
+ "content": "Analysis",
3429
3431
  "variant": "h3",
3430
- "content": "Analysis"
3432
+ "type": "typography"
3431
3433
  }
3432
3434
  ],
3433
- "direction": "horizontal",
3435
+ "gap": "sm",
3434
3436
  "type": "stack"
3435
3437
  },
3436
3438
  {
@@ -3438,58 +3440,56 @@
3438
3440
  },
3439
3441
  {
3440
3442
  "gap": "sm",
3443
+ "direction": "horizontal",
3444
+ "type": "stack",
3441
3445
  "children": [
3442
3446
  {
3443
- "content": "Categories:",
3444
3447
  "variant": "caption",
3445
- "type": "typography"
3448
+ "type": "typography",
3449
+ "content": "Categories:"
3446
3450
  },
3447
3451
  {
3448
- "variant": "secondary",
3452
+ "label": "schema",
3449
3453
  "type": "badge",
3450
- "label": "schema"
3454
+ "variant": "secondary"
3451
3455
  },
3452
3456
  {
3453
- "label": "component",
3454
3457
  "type": "badge",
3458
+ "label": "component",
3455
3459
  "variant": "secondary"
3456
3460
  },
3457
3461
  {
3458
- "variant": "secondary",
3462
+ "label": "trait",
3459
3463
  "type": "badge",
3460
- "label": "trait"
3464
+ "variant": "secondary"
3461
3465
  },
3462
3466
  {
3467
+ "label": "page",
3463
3468
  "type": "badge",
3464
- "variant": "secondary",
3465
- "label": "page"
3469
+ "variant": "secondary"
3466
3470
  },
3467
3471
  {
3468
- "type": "badge",
3469
3472
  "label": "behavior",
3470
- "variant": "secondary"
3473
+ "variant": "secondary",
3474
+ "type": "badge"
3471
3475
  },
3472
3476
  {
3473
- "variant": "secondary",
3474
3477
  "label": "style",
3475
- "type": "badge"
3478
+ "type": "badge",
3479
+ "variant": "secondary"
3476
3480
  }
3477
- ],
3478
- "type": "stack",
3479
- "direction": "horizontal"
3481
+ ]
3480
3482
  },
3481
3483
  {
3482
- "fields": [
3483
- "input"
3484
- ],
3485
3484
  "type": "form-section",
3486
- "submitEvent": "SAVE",
3485
+ "cancelEvent": "CLOSE",
3487
3486
  "mode": "create",
3488
- "cancelEvent": "CLOSE"
3487
+ "submitEvent": "SAVE",
3488
+ "fields": [
3489
+ "input"
3490
+ ]
3489
3491
  }
3490
- ],
3491
- "type": "stack",
3492
- "direction": "vertical"
3492
+ ]
3493
3493
  }
3494
3494
  ]
3495
3495
  ]
@@ -3517,56 +3517,37 @@
3517
3517
  "render-ui",
3518
3518
  "main",
3519
3519
  {
3520
- "appName": "Code Reviewer",
3521
- "type": "dashboard-layout",
3522
- "navItems": [
3523
- {
3524
- "label": "Review",
3525
- "icon": "file-search",
3526
- "href": "/review"
3527
- },
3528
- {
3529
- "href": "/analysis",
3530
- "label": "Analysis",
3531
- "icon": "tag"
3532
- },
3533
- {
3534
- "label": "Issues",
3535
- "href": "/issues",
3536
- "icon": "alert-triangle"
3537
- }
3538
- ],
3539
3520
  "children": [
3540
3521
  {
3541
3522
  "children": [
3542
3523
  {
3543
- "type": "stack",
3544
3524
  "gap": "md",
3545
- "justify": "between",
3525
+ "type": "stack",
3546
3526
  "direction": "horizontal",
3527
+ "justify": "between",
3547
3528
  "children": [
3548
3529
  {
3549
3530
  "direction": "horizontal",
3550
3531
  "gap": "md",
3532
+ "type": "stack",
3551
3533
  "children": [
3552
3534
  {
3553
3535
  "name": "tag",
3554
3536
  "type": "icon"
3555
3537
  },
3556
3538
  {
3557
- "type": "typography",
3539
+ "variant": "h2",
3558
3540
  "content": "Analysis",
3559
- "variant": "h2"
3541
+ "type": "typography"
3560
3542
  }
3561
- ],
3562
- "type": "stack"
3543
+ ]
3563
3544
  },
3564
3545
  {
3565
- "icon": "tag",
3566
- "label": "Open",
3567
3546
  "variant": "primary",
3547
+ "action": "CLASSIFY",
3568
3548
  "type": "button",
3569
- "action": "CLASSIFY"
3549
+ "icon": "tag",
3550
+ "label": "Open"
3570
3551
  }
3571
3552
  ]
3572
3553
  },
@@ -3574,17 +3555,36 @@
3574
3555
  "type": "divider"
3575
3556
  },
3576
3557
  {
3558
+ "icon": "tag",
3577
3559
  "title": "Nothing open",
3578
- "description": "Click Open to view details in a modal overlay.",
3579
3560
  "type": "empty-state",
3580
- "icon": "tag"
3561
+ "description": "Click Open to view details in a modal overlay."
3581
3562
  }
3582
3563
  ],
3583
- "type": "stack",
3584
3564
  "gap": "lg",
3565
+ "type": "stack",
3585
3566
  "direction": "vertical"
3586
3567
  }
3587
- ]
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"
3584
+ }
3585
+ ],
3586
+ "type": "dashboard-layout",
3587
+ "appName": "Code Reviewer"
3588
3588
  }
3589
3589
  ]
3590
3590
  ]
@@ -3623,74 +3623,74 @@
3623
3623
  "render-ui",
3624
3624
  "main",
3625
3625
  {
3626
- "type": "dashboard-layout",
3627
3626
  "navItems": [
3628
3627
  {
3629
- "label": "Review",
3630
3628
  "href": "/review",
3631
- "icon": "file-search"
3629
+ "icon": "file-search",
3630
+ "label": "Review"
3632
3631
  },
3633
3632
  {
3634
3633
  "icon": "tag",
3635
- "href": "/analysis",
3636
- "label": "Analysis"
3634
+ "label": "Analysis",
3635
+ "href": "/analysis"
3637
3636
  },
3638
3637
  {
3639
- "href": "/issues",
3640
3638
  "icon": "alert-triangle",
3641
- "label": "Issues"
3639
+ "label": "Issues",
3640
+ "href": "/issues"
3642
3641
  }
3643
3642
  ],
3643
+ "appName": "Code Reviewer",
3644
3644
  "children": [
3645
3645
  {
3646
3646
  "type": "stack",
3647
- "direction": "vertical",
3648
- "gap": "lg",
3649
3647
  "children": [
3650
3648
  {
3649
+ "direction": "horizontal",
3651
3650
  "justify": "between",
3652
- "type": "stack",
3653
3651
  "children": [
3654
3652
  {
3653
+ "type": "stack",
3654
+ "direction": "horizontal",
3655
+ "gap": "md",
3655
3656
  "children": [
3656
3657
  {
3657
- "type": "icon",
3658
- "name": "tag"
3658
+ "name": "tag",
3659
+ "type": "icon"
3659
3660
  },
3660
3661
  {
3661
- "type": "typography",
3662
3662
  "content": "Analysis",
3663
- "variant": "h2"
3663
+ "variant": "h2",
3664
+ "type": "typography"
3664
3665
  }
3665
- ],
3666
- "direction": "horizontal",
3667
- "type": "stack",
3668
- "gap": "md"
3666
+ ]
3669
3667
  },
3670
3668
  {
3671
- "label": "Open",
3672
- "variant": "primary",
3673
3669
  "icon": "tag",
3674
3670
  "action": "CLASSIFY",
3671
+ "label": "Open",
3672
+ "variant": "primary",
3675
3673
  "type": "button"
3676
3674
  }
3677
3675
  ],
3678
- "gap": "md",
3679
- "direction": "horizontal"
3676
+ "type": "stack",
3677
+ "gap": "md"
3680
3678
  },
3681
3679
  {
3682
3680
  "type": "divider"
3683
3681
  },
3684
3682
  {
3685
- "type": "empty-state",
3686
3683
  "description": "Click Open to view details in a modal overlay.",
3687
3684
  "title": "Nothing open",
3688
- "icon": "tag"
3685
+ "icon": "tag",
3686
+ "type": "empty-state"
3689
3687
  }
3690
- ]
3688
+ ],
3689
+ "gap": "lg",
3690
+ "direction": "vertical"
3691
3691
  }
3692
3692
  ],
3693
- "appName": "Code Reviewer"
3693
+ "type": "dashboard-layout"
3694
3694
  }
3695
3695
  ]
3696
3696
  ]
@@ -3708,7 +3708,7 @@
3708
3708
  "event": "AnalysisLoaded",
3709
3709
  "description": "Fired when Analysis finishes loading",
3710
3710
  "scope": "internal",
3711
- "payload": [
3711
+ "payloadSchema": [
3712
3712
  {
3713
3713
  "name": "data",
3714
3714
  "type": "[Analysis]"
@@ -3719,7 +3719,7 @@
3719
3719
  "event": "AnalysisLoadFailed",
3720
3720
  "description": "Fired when Analysis fails to load",
3721
3721
  "scope": "internal",
3722
- "payload": [
3722
+ "payloadSchema": [
3723
3723
  {
3724
3724
  "name": "error",
3725
3725
  "type": "string"
@@ -3749,7 +3749,7 @@
3749
3749
  {
3750
3750
  "key": "SHOW",
3751
3751
  "name": "Show",
3752
- "payload": [
3752
+ "payloadSchema": [
3753
3753
  {
3754
3754
  "name": "message",
3755
3755
  "type": "string"
@@ -3767,7 +3767,7 @@
3767
3767
  {
3768
3768
  "key": "AnalysisLoaded",
3769
3769
  "name": "Analysis loaded",
3770
- "payload": [
3770
+ "payloadSchema": [
3771
3771
  {
3772
3772
  "name": "data",
3773
3773
  "type": "[Analysis]"
@@ -3777,7 +3777,7 @@
3777
3777
  {
3778
3778
  "key": "AnalysisLoadFailed",
3779
3779
  "name": "Analysis load failed",
3780
- "payload": [
3780
+ "payloadSchema": [
3781
3781
  {
3782
3782
  "name": "error",
3783
3783
  "type": "string"
@@ -3828,66 +3828,68 @@
3828
3828
  {
3829
3829
  "children": [
3830
3830
  {
3831
+ "gap": "lg",
3832
+ "type": "stack",
3833
+ "direction": "vertical",
3831
3834
  "children": [
3832
3835
  {
3833
- "direction": "horizontal",
3836
+ "gap": "md",
3834
3837
  "justify": "between",
3838
+ "direction": "horizontal",
3839
+ "align": "center",
3835
3840
  "children": [
3836
3841
  {
3837
- "align": "center",
3842
+ "type": "stack",
3838
3843
  "children": [
3839
3844
  {
3840
3845
  "name": "tag",
3841
3846
  "type": "icon"
3842
3847
  },
3843
3848
  {
3844
- "type": "typography",
3845
3849
  "content": "Analysis Result",
3846
- "variant": "h2"
3850
+ "variant": "h2",
3851
+ "type": "typography"
3847
3852
  }
3848
3853
  ],
3854
+ "align": "center",
3849
3855
  "gap": "md",
3850
- "type": "stack",
3851
3856
  "direction": "horizontal"
3852
3857
  },
3853
3858
  {
3859
+ "type": "button",
3860
+ "variant": "ghost",
3854
3861
  "icon": "x",
3855
- "action": "HIDE",
3856
3862
  "label": "Dismiss",
3857
- "type": "button",
3858
- "variant": "ghost"
3863
+ "action": "HIDE"
3859
3864
  }
3860
3865
  ],
3861
- "align": "center",
3862
- "gap": "md",
3863
3866
  "type": "stack"
3864
3867
  },
3865
3868
  {
3866
3869
  "type": "divider"
3867
3870
  },
3868
3871
  {
3869
- "type": "alert",
3870
3872
  "variant": "@entity.notificationType",
3873
+ "type": "alert",
3871
3874
  "message": "@entity.message"
3872
3875
  },
3873
3876
  {
3874
3877
  "type": "toast-slot"
3875
3878
  },
3876
3879
  {
3877
- "message": "@entity.message",
3878
3880
  "type": "alert",
3879
- "variant": "warning"
3881
+ "variant": "warning",
3882
+ "message": "@entity.message"
3880
3883
  }
3881
- ],
3882
- "gap": "lg",
3883
- "type": "stack",
3884
- "direction": "vertical"
3884
+ ]
3885
3885
  }
3886
3886
  ],
3887
+ "type": "dashboard-layout",
3888
+ "appName": "Code Reviewer",
3887
3889
  "navItems": [
3888
3890
  {
3889
- "icon": "file-search",
3890
3891
  "label": "Review",
3892
+ "icon": "file-search",
3891
3893
  "href": "/review"
3892
3894
  },
3893
3895
  {
@@ -3896,13 +3898,11 @@
3896
3898
  "href": "/analysis"
3897
3899
  },
3898
3900
  {
3901
+ "label": "Issues",
3899
3902
  "icon": "alert-triangle",
3900
- "href": "/issues",
3901
- "label": "Issues"
3903
+ "href": "/issues"
3902
3904
  }
3903
- ],
3904
- "type": "dashboard-layout",
3905
- "appName": "Code Reviewer"
3905
+ ]
3906
3906
  }
3907
3907
  ]
3908
3908
  ]
@@ -3926,83 +3926,83 @@
3926
3926
  "render-ui",
3927
3927
  "main",
3928
3928
  {
3929
- "type": "dashboard-layout",
3930
3929
  "appName": "Code Reviewer",
3931
3930
  "navItems": [
3932
3931
  {
3932
+ "icon": "file-search",
3933
3933
  "label": "Review",
3934
- "href": "/review",
3935
- "icon": "file-search"
3934
+ "href": "/review"
3936
3935
  },
3937
3936
  {
3938
- "label": "Analysis",
3937
+ "icon": "tag",
3939
3938
  "href": "/analysis",
3940
- "icon": "tag"
3939
+ "label": "Analysis"
3941
3940
  },
3942
3941
  {
3943
- "icon": "alert-triangle",
3944
3942
  "label": "Issues",
3945
- "href": "/issues"
3943
+ "href": "/issues",
3944
+ "icon": "alert-triangle"
3946
3945
  }
3947
3946
  ],
3948
3947
  "children": [
3949
3948
  {
3949
+ "direction": "vertical",
3950
+ "type": "stack",
3950
3951
  "children": [
3951
3952
  {
3952
- "align": "center",
3953
- "type": "stack",
3954
- "gap": "md",
3955
- "justify": "between",
3956
3953
  "direction": "horizontal",
3957
3954
  "children": [
3958
3955
  {
3956
+ "align": "center",
3959
3957
  "type": "stack",
3960
- "direction": "horizontal",
3961
- "gap": "md",
3962
3958
  "children": [
3963
3959
  {
3964
- "name": "tag",
3965
- "type": "icon"
3960
+ "type": "icon",
3961
+ "name": "tag"
3966
3962
  },
3967
3963
  {
3968
- "type": "typography",
3969
3964
  "variant": "h2",
3965
+ "type": "typography",
3970
3966
  "content": "Analysis Result"
3971
3967
  }
3972
3968
  ],
3973
- "align": "center"
3969
+ "gap": "md",
3970
+ "direction": "horizontal"
3974
3971
  },
3975
3972
  {
3976
- "variant": "ghost",
3977
3973
  "icon": "x",
3978
- "type": "button",
3974
+ "variant": "ghost",
3979
3975
  "label": "Dismiss",
3976
+ "type": "button",
3980
3977
  "action": "HIDE"
3981
3978
  }
3982
- ]
3979
+ ],
3980
+ "type": "stack",
3981
+ "justify": "between",
3982
+ "gap": "md",
3983
+ "align": "center"
3983
3984
  },
3984
3985
  {
3985
3986
  "type": "divider"
3986
3987
  },
3987
3988
  {
3988
- "type": "alert",
3989
+ "variant": "@entity.notificationType",
3989
3990
  "message": "@entity.message",
3990
- "variant": "@entity.notificationType"
3991
+ "type": "alert"
3991
3992
  },
3992
3993
  {
3993
3994
  "type": "toast-slot"
3994
3995
  },
3995
3996
  {
3996
- "variant": "warning",
3997
3997
  "type": "alert",
3998
- "message": "@entity.message"
3998
+ "message": "@entity.message",
3999
+ "variant": "warning"
3999
4000
  }
4000
4001
  ],
4001
- "type": "stack",
4002
- "direction": "vertical",
4003
4002
  "gap": "lg"
4004
4003
  }
4005
- ]
4004
+ ],
4005
+ "type": "dashboard-layout"
4006
4006
  }
4007
4007
  ]
4008
4008
  ]
@@ -4031,7 +4031,7 @@
4031
4031
  {
4032
4032
  "event": "SHOW",
4033
4033
  "scope": "internal",
4034
- "payload": [
4034
+ "payloadSchema": [
4035
4035
  {
4036
4036
  "name": "message",
4037
4037
  "type": "string",
@@ -4047,7 +4047,7 @@
4047
4047
  "event": "AnalysisLoaded",
4048
4048
  "description": "Fired when Analysis finishes loading",
4049
4049
  "scope": "internal",
4050
- "payload": [
4050
+ "payloadSchema": [
4051
4051
  {
4052
4052
  "name": "data",
4053
4053
  "type": "[Analysis]"
@@ -4058,7 +4058,7 @@
4058
4058
  "event": "AnalysisLoadFailed",
4059
4059
  "description": "Fired when Analysis fails to load",
4060
4060
  "scope": "internal",
4061
- "payload": [
4061
+ "payloadSchema": [
4062
4062
  {
4063
4063
  "name": "error",
4064
4064
  "type": "string"
@@ -4101,7 +4101,7 @@
4101
4101
  {
4102
4102
  "key": "DO_CLASSIFY",
4103
4103
  "name": "Do Classify",
4104
- "payload": [
4104
+ "payloadSchema": [
4105
4105
  {
4106
4106
  "name": "data",
4107
4107
  "type": "string"
@@ -4123,7 +4123,7 @@
4123
4123
  {
4124
4124
  "key": "AnalysisLoaded",
4125
4125
  "name": "Analysis loaded",
4126
- "payload": [
4126
+ "payloadSchema": [
4127
4127
  {
4128
4128
  "name": "data",
4129
4129
  "type": "[Analysis]"
@@ -4133,7 +4133,7 @@
4133
4133
  {
4134
4134
  "key": "AnalysisLoadFailed",
4135
4135
  "name": "Analysis load failed",
4136
- "payload": [
4136
+ "payloadSchema": [
4137
4137
  {
4138
4138
  "name": "error",
4139
4139
  "type": "string"
@@ -4165,33 +4165,33 @@
4165
4165
  "render-ui",
4166
4166
  "main",
4167
4167
  {
4168
- "children": [
4169
- {
4170
- "description": "Classifier is ready",
4171
- "title": "Classifier",
4172
- "type": "empty-state",
4173
- "icon": "tag"
4174
- }
4175
- ],
4176
- "type": "dashboard-layout",
4177
- "appName": "Code Reviewer",
4178
4168
  "navItems": [
4179
4169
  {
4180
- "icon": "file-search",
4170
+ "label": "Review",
4181
4171
  "href": "/review",
4182
- "label": "Review"
4172
+ "icon": "file-search"
4183
4173
  },
4184
4174
  {
4175
+ "label": "Analysis",
4185
4176
  "href": "/analysis",
4186
- "icon": "tag",
4187
- "label": "Analysis"
4177
+ "icon": "tag"
4188
4178
  },
4189
4179
  {
4190
- "href": "/issues",
4191
4180
  "label": "Issues",
4181
+ "href": "/issues",
4192
4182
  "icon": "alert-triangle"
4193
4183
  }
4194
- ]
4184
+ ],
4185
+ "appName": "Code Reviewer",
4186
+ "children": [
4187
+ {
4188
+ "icon": "tag",
4189
+ "description": "Classifier is ready",
4190
+ "type": "empty-state",
4191
+ "title": "Classifier"
4192
+ }
4193
+ ],
4194
+ "type": "dashboard-layout"
4195
4195
  }
4196
4196
  ]
4197
4197
  ]
@@ -4246,8 +4246,8 @@
4246
4246
  "emit",
4247
4247
  "SHOW",
4248
4248
  {
4249
- "message": "Input classified",
4250
- "notificationType": "success"
4249
+ "notificationType": "success",
4250
+ "message": "Input classified"
4251
4251
  }
4252
4252
  ]
4253
4253
  ]
@@ -4350,7 +4350,7 @@
4350
4350
  "event": "ReviewCompletionLoadFailed",
4351
4351
  "description": "Fired when ReviewCompletion fails to load",
4352
4352
  "scope": "internal",
4353
- "payload": [
4353
+ "payloadSchema": [
4354
4354
  {
4355
4355
  "name": "error",
4356
4356
  "type": "string"
@@ -4365,7 +4365,7 @@
4365
4365
  "event": "ReviewCompletionLoaded",
4366
4366
  "description": "Fired when ReviewCompletion finishes loading",
4367
4367
  "scope": "internal",
4368
- "payload": [
4368
+ "payloadSchema": [
4369
4369
  {
4370
4370
  "name": "data",
4371
4371
  "type": "[ReviewCompletion]"
@@ -4375,7 +4375,7 @@
4375
4375
  {
4376
4376
  "event": "ReviewCompletionSaveFailed",
4377
4377
  "scope": "internal",
4378
- "payload": [
4378
+ "payloadSchema": [
4379
4379
  {
4380
4380
  "name": "error",
4381
4381
  "type": "string"
@@ -4389,7 +4389,7 @@
4389
4389
  {
4390
4390
  "event": "ReviewCompletionSaved",
4391
4391
  "scope": "internal",
4392
- "payload": [
4392
+ "payloadSchema": [
4393
4393
  {
4394
4394
  "name": "id",
4395
4395
  "type": "string"
@@ -4423,7 +4423,7 @@
4423
4423
  {
4424
4424
  "key": "SAVE",
4425
4425
  "name": "Save",
4426
- "payload": [
4426
+ "payloadSchema": [
4427
4427
  {
4428
4428
  "name": "data",
4429
4429
  "type": "string"
@@ -4437,7 +4437,7 @@
4437
4437
  {
4438
4438
  "key": "ReviewCompletionLoadFailed",
4439
4439
  "name": "ReviewCompletion load failed",
4440
- "payload": [
4440
+ "payloadSchema": [
4441
4441
  {
4442
4442
  "name": "error",
4443
4443
  "type": "string"
@@ -4451,7 +4451,7 @@
4451
4451
  {
4452
4452
  "key": "ReviewCompletionLoaded",
4453
4453
  "name": "ReviewCompletion loaded",
4454
- "payload": [
4454
+ "payloadSchema": [
4455
4455
  {
4456
4456
  "name": "data",
4457
4457
  "type": "[ReviewCompletion]"
@@ -4461,7 +4461,7 @@
4461
4461
  {
4462
4462
  "key": "ReviewCompletionSaveFailed",
4463
4463
  "name": "ReviewCompletion save failed",
4464
- "payload": [
4464
+ "payloadSchema": [
4465
4465
  {
4466
4466
  "name": "error",
4467
4467
  "type": "string"
@@ -4475,7 +4475,7 @@
4475
4475
  {
4476
4476
  "key": "ReviewCompletionSaved",
4477
4477
  "name": "ReviewCompletion saved",
4478
- "payload": [
4478
+ "payloadSchema": [
4479
4479
  {
4480
4480
  "name": "id",
4481
4481
  "type": "string"
@@ -4497,74 +4497,74 @@
4497
4497
  "render-ui",
4498
4498
  "main",
4499
4499
  {
4500
- "appName": "Code Reviewer",
4501
- "navItems": [
4502
- {
4503
- "label": "Review",
4504
- "href": "/review",
4505
- "icon": "file-search"
4506
- },
4507
- {
4508
- "icon": "tag",
4509
- "href": "/analysis",
4510
- "label": "Analysis"
4511
- },
4512
- {
4513
- "label": "Issues",
4514
- "icon": "alert-triangle",
4515
- "href": "/issues"
4516
- }
4517
- ],
4518
4500
  "children": [
4519
4501
  {
4520
- "direction": "vertical",
4521
- "type": "stack",
4522
- "gap": "lg",
4523
4502
  "children": [
4524
4503
  {
4525
4504
  "gap": "md",
4526
- "direction": "horizontal",
4527
4505
  "children": [
4528
4506
  {
4529
4507
  "type": "stack",
4530
- "direction": "horizontal",
4531
4508
  "gap": "md",
4509
+ "direction": "horizontal",
4532
4510
  "children": [
4533
4511
  {
4534
- "name": "sparkles",
4535
- "type": "icon"
4512
+ "type": "icon",
4513
+ "name": "sparkles"
4536
4514
  },
4537
4515
  {
4538
- "type": "typography",
4539
4516
  "content": "ReviewCompletion",
4517
+ "type": "typography",
4540
4518
  "variant": "h2"
4541
4519
  }
4542
4520
  ]
4543
4521
  },
4544
4522
  {
4545
- "icon": "sparkles",
4546
- "type": "button",
4547
4523
  "label": "Open",
4524
+ "icon": "sparkles",
4525
+ "action": "GENERATE",
4548
4526
  "variant": "primary",
4549
- "action": "GENERATE"
4527
+ "type": "button"
4550
4528
  }
4551
4529
  ],
4530
+ "justify": "between",
4552
4531
  "type": "stack",
4553
- "justify": "between"
4532
+ "direction": "horizontal"
4554
4533
  },
4555
4534
  {
4556
4535
  "type": "divider"
4557
4536
  },
4558
4537
  {
4559
4538
  "type": "empty-state",
4560
- "description": "Click Open to view details in a modal overlay.",
4561
4539
  "title": "Nothing open",
4562
- "icon": "sparkles"
4540
+ "icon": "sparkles",
4541
+ "description": "Click Open to view details in a modal overlay."
4563
4542
  }
4564
- ]
4543
+ ],
4544
+ "gap": "lg",
4545
+ "type": "stack",
4546
+ "direction": "vertical"
4565
4547
  }
4566
4548
  ],
4567
- "type": "dashboard-layout"
4549
+ "type": "dashboard-layout",
4550
+ "appName": "Code Reviewer",
4551
+ "navItems": [
4552
+ {
4553
+ "label": "Review",
4554
+ "href": "/review",
4555
+ "icon": "file-search"
4556
+ },
4557
+ {
4558
+ "label": "Analysis",
4559
+ "href": "/analysis",
4560
+ "icon": "tag"
4561
+ },
4562
+ {
4563
+ "label": "Issues",
4564
+ "href": "/issues",
4565
+ "icon": "alert-triangle"
4566
+ }
4567
+ ]
4568
4568
  }
4569
4569
  ]
4570
4570
  ]
@@ -4578,54 +4578,54 @@
4578
4578
  "render-ui",
4579
4579
  "modal",
4580
4580
  {
4581
+ "gap": "md",
4582
+ "type": "stack",
4583
+ "direction": "vertical",
4581
4584
  "children": [
4582
4585
  {
4583
- "direction": "horizontal",
4584
- "type": "stack",
4585
- "gap": "sm",
4586
+ "direction": "horizontal",
4586
4587
  "children": [
4587
4588
  {
4588
4589
  "type": "icon",
4589
4590
  "name": "sparkles"
4590
4591
  },
4591
4592
  {
4592
- "variant": "h3",
4593
4593
  "content": "ReviewCompletion",
4594
+ "variant": "h3",
4594
4595
  "type": "typography"
4595
4596
  }
4596
- ]
4597
+ ],
4598
+ "type": "stack",
4599
+ "gap": "sm"
4597
4600
  },
4598
4601
  {
4599
4602
  "type": "divider"
4600
4603
  },
4601
4604
  {
4602
- "type": "stack",
4603
- "direction": "horizontal",
4604
4605
  "children": [
4605
4606
  {
4606
- "label": "@entity.provider",
4607
- "type": "badge"
4607
+ "type": "badge",
4608
+ "label": "@entity.provider"
4608
4609
  },
4609
4610
  {
4610
- "type": "badge",
4611
- "label": "@entity.model"
4611
+ "label": "@entity.model",
4612
+ "type": "badge"
4612
4613
  }
4613
4614
  ],
4614
- "gap": "sm"
4615
+ "gap": "sm",
4616
+ "type": "stack",
4617
+ "direction": "horizontal"
4615
4618
  },
4616
4619
  {
4620
+ "submitEvent": "SAVE",
4617
4621
  "mode": "create",
4618
- "type": "form-section",
4619
4622
  "cancelEvent": "CLOSE",
4620
4623
  "fields": [
4621
4624
  "prompt"
4622
4625
  ],
4623
- "submitEvent": "SAVE"
4626
+ "type": "form-section"
4624
4627
  }
4625
- ],
4626
- "direction": "vertical",
4627
- "gap": "md",
4628
- "type": "stack"
4628
+ ]
4629
4629
  }
4630
4630
  ]
4631
4631
  ]
@@ -4653,16 +4653,17 @@
4653
4653
  "render-ui",
4654
4654
  "main",
4655
4655
  {
4656
+ "type": "dashboard-layout",
4656
4657
  "appName": "Code Reviewer",
4657
4658
  "navItems": [
4658
4659
  {
4660
+ "icon": "file-search",
4659
4661
  "label": "Review",
4660
- "href": "/review",
4661
- "icon": "file-search"
4662
+ "href": "/review"
4662
4663
  },
4663
4664
  {
4664
- "label": "Analysis",
4665
4665
  "href": "/analysis",
4666
+ "label": "Analysis",
4666
4667
  "icon": "tag"
4667
4668
  },
4668
4669
  {
@@ -4673,54 +4674,53 @@
4673
4674
  ],
4674
4675
  "children": [
4675
4676
  {
4676
- "type": "stack",
4677
4677
  "gap": "lg",
4678
- "direction": "vertical",
4679
4678
  "children": [
4680
4679
  {
4681
- "justify": "between",
4680
+ "direction": "horizontal",
4681
+ "type": "stack",
4682
4682
  "gap": "md",
4683
4683
  "children": [
4684
4684
  {
4685
+ "gap": "md",
4686
+ "direction": "horizontal",
4687
+ "type": "stack",
4685
4688
  "children": [
4686
4689
  {
4687
- "type": "icon",
4688
- "name": "sparkles"
4690
+ "name": "sparkles",
4691
+ "type": "icon"
4689
4692
  },
4690
4693
  {
4691
- "variant": "h2",
4692
4694
  "type": "typography",
4695
+ "variant": "h2",
4693
4696
  "content": "ReviewCompletion"
4694
4697
  }
4695
- ],
4696
- "type": "stack",
4697
- "gap": "md",
4698
- "direction": "horizontal"
4698
+ ]
4699
4699
  },
4700
4700
  {
4701
- "label": "Open",
4701
+ "variant": "primary",
4702
4702
  "type": "button",
4703
+ "label": "Open",
4703
4704
  "action": "GENERATE",
4704
- "icon": "sparkles",
4705
- "variant": "primary"
4705
+ "icon": "sparkles"
4706
4706
  }
4707
4707
  ],
4708
- "direction": "horizontal",
4709
- "type": "stack"
4708
+ "justify": "between"
4710
4709
  },
4711
4710
  {
4712
4711
  "type": "divider"
4713
4712
  },
4714
4713
  {
4715
- "icon": "sparkles",
4716
4714
  "description": "Click Open to view details in a modal overlay.",
4717
- "title": "Nothing open",
4718
- "type": "empty-state"
4715
+ "icon": "sparkles",
4716
+ "type": "empty-state",
4717
+ "title": "Nothing open"
4719
4718
  }
4720
- ]
4719
+ ],
4720
+ "direction": "vertical",
4721
+ "type": "stack"
4721
4722
  }
4722
- ],
4723
- "type": "dashboard-layout"
4723
+ ]
4724
4724
  }
4725
4725
  ]
4726
4726
  ]
@@ -4737,8 +4737,8 @@
4737
4737
  "@payload.data",
4738
4738
  {
4739
4739
  "emit": {
4740
- "success": "ReviewCompletionSaved",
4741
- "failure": "ReviewCompletionSaveFailed"
4740
+ "failure": "ReviewCompletionSaveFailed",
4741
+ "success": "ReviewCompletionSaved"
4742
4742
  }
4743
4743
  }
4744
4744
  ],
@@ -4759,52 +4759,51 @@
4759
4759
  "render-ui",
4760
4760
  "main",
4761
4761
  {
4762
- "type": "dashboard-layout",
4763
4762
  "children": [
4764
4763
  {
4765
- "gap": "lg",
4766
4764
  "type": "stack",
4765
+ "gap": "lg",
4767
4766
  "direction": "vertical",
4768
4767
  "children": [
4769
4768
  {
4770
- "type": "stack",
4771
- "direction": "horizontal",
4772
- "gap": "md",
4773
- "justify": "between",
4774
4769
  "children": [
4775
4770
  {
4771
+ "type": "stack",
4772
+ "direction": "horizontal",
4773
+ "gap": "md",
4776
4774
  "children": [
4777
4775
  {
4778
- "name": "sparkles",
4779
- "type": "icon"
4776
+ "type": "icon",
4777
+ "name": "sparkles"
4780
4778
  },
4781
4779
  {
4782
- "variant": "h2",
4783
4780
  "type": "typography",
4784
- "content": "ReviewCompletion"
4781
+ "content": "ReviewCompletion",
4782
+ "variant": "h2"
4785
4783
  }
4786
- ],
4787
- "gap": "md",
4788
- "direction": "horizontal",
4789
- "type": "stack"
4784
+ ]
4790
4785
  },
4791
4786
  {
4792
- "variant": "primary",
4793
4787
  "action": "GENERATE",
4794
- "label": "Open",
4795
4788
  "icon": "sparkles",
4789
+ "variant": "primary",
4790
+ "label": "Open",
4796
4791
  "type": "button"
4797
4792
  }
4798
- ]
4793
+ ],
4794
+ "type": "stack",
4795
+ "direction": "horizontal",
4796
+ "gap": "md",
4797
+ "justify": "between"
4799
4798
  },
4800
4799
  {
4801
4800
  "type": "divider"
4802
4801
  },
4803
4802
  {
4803
+ "icon": "sparkles",
4804
4804
  "type": "empty-state",
4805
4805
  "description": "Click Open to view details in a modal overlay.",
4806
- "title": "Nothing open",
4807
- "icon": "sparkles"
4806
+ "title": "Nothing open"
4808
4807
  }
4809
4808
  ]
4810
4809
  }
@@ -4813,20 +4812,21 @@
4813
4812
  "navItems": [
4814
4813
  {
4815
4814
  "href": "/review",
4816
- "label": "Review",
4817
- "icon": "file-search"
4815
+ "icon": "file-search",
4816
+ "label": "Review"
4818
4817
  },
4819
4818
  {
4820
- "label": "Analysis",
4821
4819
  "href": "/analysis",
4822
- "icon": "tag"
4820
+ "icon": "tag",
4821
+ "label": "Analysis"
4823
4822
  },
4824
4823
  {
4824
+ "href": "/issues",
4825
4825
  "icon": "alert-triangle",
4826
- "label": "Issues",
4827
- "href": "/issues"
4826
+ "label": "Issues"
4828
4827
  }
4829
- ]
4828
+ ],
4829
+ "type": "dashboard-layout"
4830
4830
  }
4831
4831
  ]
4832
4832
  ]
@@ -4844,7 +4844,7 @@
4844
4844
  "event": "ReviewCompletionLoaded",
4845
4845
  "description": "Fired when ReviewCompletion finishes loading",
4846
4846
  "scope": "internal",
4847
- "payload": [
4847
+ "payloadSchema": [
4848
4848
  {
4849
4849
  "name": "data",
4850
4850
  "type": "[ReviewCompletion]"
@@ -4855,7 +4855,7 @@
4855
4855
  "event": "ReviewCompletionLoadFailed",
4856
4856
  "description": "Fired when ReviewCompletion fails to load",
4857
4857
  "scope": "internal",
4858
- "payload": [
4858
+ "payloadSchema": [
4859
4859
  {
4860
4860
  "name": "error",
4861
4861
  "type": "string"
@@ -4885,7 +4885,7 @@
4885
4885
  {
4886
4886
  "key": "SHOW",
4887
4887
  "name": "Show",
4888
- "payload": [
4888
+ "payloadSchema": [
4889
4889
  {
4890
4890
  "name": "message",
4891
4891
  "type": "string"
@@ -4903,7 +4903,7 @@
4903
4903
  {
4904
4904
  "key": "ReviewCompletionLoaded",
4905
4905
  "name": "ReviewCompletion loaded",
4906
- "payload": [
4906
+ "payloadSchema": [
4907
4907
  {
4908
4908
  "name": "data",
4909
4909
  "type": "[ReviewCompletion]"
@@ -4913,7 +4913,7 @@
4913
4913
  {
4914
4914
  "key": "ReviewCompletionLoadFailed",
4915
4915
  "name": "ReviewCompletion load failed",
4916
- "payload": [
4916
+ "payloadSchema": [
4917
4917
  {
4918
4918
  "name": "error",
4919
4919
  "type": "string"
@@ -4963,13 +4963,29 @@
4963
4963
  "main",
4964
4964
  {
4965
4965
  "appName": "Code Reviewer",
4966
+ "navItems": [
4967
+ {
4968
+ "href": "/review",
4969
+ "label": "Review",
4970
+ "icon": "file-search"
4971
+ },
4972
+ {
4973
+ "label": "Analysis",
4974
+ "href": "/analysis",
4975
+ "icon": "tag"
4976
+ },
4977
+ {
4978
+ "href": "/issues",
4979
+ "icon": "alert-triangle",
4980
+ "label": "Issues"
4981
+ }
4982
+ ],
4983
+ "type": "dashboard-layout",
4966
4984
  "children": [
4967
4985
  {
4968
4986
  "type": "stack",
4969
4987
  "children": [
4970
4988
  {
4971
- "type": "stack",
4972
- "align": "center",
4973
4989
  "children": [
4974
4990
  {
4975
4991
  "children": [
@@ -4978,66 +4994,50 @@
4978
4994
  "type": "icon"
4979
4995
  },
4980
4996
  {
4981
- "variant": "h2",
4997
+ "type": "typography",
4982
4998
  "content": "ReviewCompletion Status",
4983
- "type": "typography"
4999
+ "variant": "h2"
4984
5000
  }
4985
5001
  ],
4986
5002
  "align": "center",
4987
- "type": "stack",
4988
5003
  "direction": "horizontal",
4989
- "gap": "md"
5004
+ "gap": "md",
5005
+ "type": "stack"
4990
5006
  },
4991
5007
  {
4992
- "action": "HIDE",
5008
+ "label": "Dismiss",
4993
5009
  "icon": "x",
5010
+ "variant": "ghost",
4994
5011
  "type": "button",
4995
- "label": "Dismiss",
4996
- "variant": "ghost"
5012
+ "action": "HIDE"
4997
5013
  }
4998
5014
  ],
4999
- "direction": "horizontal",
5015
+ "type": "stack",
5016
+ "justify": "between",
5000
5017
  "gap": "md",
5001
- "justify": "between"
5018
+ "direction": "horizontal",
5019
+ "align": "center"
5002
5020
  },
5003
5021
  {
5004
5022
  "type": "divider"
5005
5023
  },
5006
5024
  {
5007
5025
  "variant": "@entity.notificationType",
5008
- "type": "alert",
5009
- "message": "@entity.message"
5026
+ "message": "@entity.message",
5027
+ "type": "alert"
5010
5028
  },
5011
5029
  {
5012
5030
  "type": "toast-slot"
5013
5031
  },
5014
5032
  {
5015
- "variant": "warning",
5016
5033
  "type": "alert",
5034
+ "variant": "warning",
5017
5035
  "message": "@entity.message"
5018
5036
  }
5019
5037
  ],
5020
5038
  "gap": "lg",
5021
5039
  "direction": "vertical"
5022
5040
  }
5023
- ],
5024
- "type": "dashboard-layout",
5025
- "navItems": [
5026
- {
5027
- "label": "Review",
5028
- "href": "/review",
5029
- "icon": "file-search"
5030
- },
5031
- {
5032
- "icon": "tag",
5033
- "label": "Analysis",
5034
- "href": "/analysis"
5035
- },
5036
- {
5037
- "href": "/issues",
5038
- "label": "Issues",
5039
- "icon": "alert-triangle"
5040
- }
5041
5041
  ]
5042
5042
  }
5043
5043
  ]
@@ -5062,8 +5062,6 @@
5062
5062
  "render-ui",
5063
5063
  "main",
5064
5064
  {
5065
- "type": "dashboard-layout",
5066
- "appName": "Code Reviewer",
5067
5065
  "navItems": [
5068
5066
  {
5069
5067
  "label": "Review",
@@ -5072,71 +5070,73 @@
5072
5070
  },
5073
5071
  {
5074
5072
  "label": "Analysis",
5075
- "icon": "tag",
5076
- "href": "/analysis"
5073
+ "href": "/analysis",
5074
+ "icon": "tag"
5077
5075
  },
5078
5076
  {
5079
- "label": "Issues",
5080
5077
  "href": "/issues",
5081
- "icon": "alert-triangle"
5078
+ "icon": "alert-triangle",
5079
+ "label": "Issues"
5082
5080
  }
5083
5081
  ],
5082
+ "appName": "Code Reviewer",
5083
+ "type": "dashboard-layout",
5084
5084
  "children": [
5085
5085
  {
5086
5086
  "gap": "lg",
5087
+ "type": "stack",
5087
5088
  "children": [
5088
5089
  {
5089
- "gap": "md",
5090
- "align": "center",
5091
- "type": "stack",
5092
- "justify": "between",
5093
5090
  "children": [
5094
5091
  {
5095
- "direction": "horizontal",
5096
5092
  "gap": "md",
5093
+ "direction": "horizontal",
5097
5094
  "type": "stack",
5095
+ "align": "center",
5098
5096
  "children": [
5099
5097
  {
5100
5098
  "type": "icon",
5101
5099
  "name": "sparkles"
5102
5100
  },
5103
5101
  {
5104
- "variant": "h2",
5102
+ "content": "ReviewCompletion Status",
5105
5103
  "type": "typography",
5106
- "content": "ReviewCompletion Status"
5104
+ "variant": "h2"
5107
5105
  }
5108
- ],
5109
- "align": "center"
5106
+ ]
5110
5107
  },
5111
5108
  {
5112
5109
  "type": "button",
5113
- "icon": "x",
5110
+ "variant": "ghost",
5114
5111
  "label": "Dismiss",
5115
5112
  "action": "HIDE",
5116
- "variant": "ghost"
5113
+ "icon": "x"
5117
5114
  }
5118
5115
  ],
5119
- "direction": "horizontal"
5116
+ "gap": "md",
5117
+ "align": "center",
5118
+ "type": "stack",
5119
+ "direction": "horizontal",
5120
+ "justify": "between"
5120
5121
  },
5121
5122
  {
5122
5123
  "type": "divider"
5123
5124
  },
5124
5125
  {
5125
- "type": "alert",
5126
5126
  "variant": "@entity.notificationType",
5127
+ "type": "alert",
5127
5128
  "message": "@entity.message"
5128
5129
  },
5129
5130
  {
5130
5131
  "type": "toast-slot"
5131
5132
  },
5132
5133
  {
5133
- "variant": "warning",
5134
5134
  "message": "@entity.message",
5135
- "type": "alert"
5135
+ "type": "alert",
5136
+ "variant": "warning"
5136
5137
  }
5137
5138
  ],
5138
- "direction": "vertical",
5139
- "type": "stack"
5139
+ "direction": "vertical"
5140
5140
  }
5141
5141
  ]
5142
5142
  }
@@ -5167,7 +5167,7 @@
5167
5167
  {
5168
5168
  "event": "SHOW",
5169
5169
  "scope": "internal",
5170
- "payload": [
5170
+ "payloadSchema": [
5171
5171
  {
5172
5172
  "name": "message",
5173
5173
  "type": "string",
@@ -5183,7 +5183,7 @@
5183
5183
  "event": "ReviewCompletionLoaded",
5184
5184
  "description": "Fired when ReviewCompletion finishes loading",
5185
5185
  "scope": "internal",
5186
- "payload": [
5186
+ "payloadSchema": [
5187
5187
  {
5188
5188
  "name": "data",
5189
5189
  "type": "[ReviewCompletion]"
@@ -5194,7 +5194,7 @@
5194
5194
  "event": "ReviewCompletionLoadFailed",
5195
5195
  "description": "Fired when ReviewCompletion fails to load",
5196
5196
  "scope": "internal",
5197
- "payload": [
5197
+ "payloadSchema": [
5198
5198
  {
5199
5199
  "name": "error",
5200
5200
  "type": "string"
@@ -5240,7 +5240,7 @@
5240
5240
  {
5241
5241
  "key": "DO_GENERATE",
5242
5242
  "name": "Do Generate",
5243
- "payload": [
5243
+ "payloadSchema": [
5244
5244
  {
5245
5245
  "name": "data",
5246
5246
  "type": "string"
@@ -5266,7 +5266,7 @@
5266
5266
  {
5267
5267
  "key": "ReviewCompletionLoaded",
5268
5268
  "name": "ReviewCompletion loaded",
5269
- "payload": [
5269
+ "payloadSchema": [
5270
5270
  {
5271
5271
  "name": "data",
5272
5272
  "type": "[ReviewCompletion]"
@@ -5276,7 +5276,7 @@
5276
5276
  {
5277
5277
  "key": "ReviewCompletionLoadFailed",
5278
5278
  "name": "ReviewCompletion load failed",
5279
- "payload": [
5279
+ "payloadSchema": [
5280
5280
  {
5281
5281
  "name": "error",
5282
5282
  "type": "string"
@@ -5299,8 +5299,8 @@
5299
5299
  "ReviewCompletion",
5300
5300
  {
5301
5301
  "emit": {
5302
- "failure": "ReviewCompletionLoadFailed",
5303
- "success": "ReviewCompletionLoaded"
5302
+ "success": "ReviewCompletionLoaded",
5303
+ "failure": "ReviewCompletionLoadFailed"
5304
5304
  }
5305
5305
  }
5306
5306
  ],
@@ -5308,16 +5308,6 @@
5308
5308
  "render-ui",
5309
5309
  "main",
5310
5310
  {
5311
- "appName": "Code Reviewer",
5312
- "children": [
5313
- {
5314
- "icon": "sparkles",
5315
- "description": "Completion is ready",
5316
- "type": "empty-state",
5317
- "title": "Completion"
5318
- }
5319
- ],
5320
- "type": "dashboard-layout",
5321
5311
  "navItems": [
5322
5312
  {
5323
5313
  "icon": "file-search",
@@ -5325,16 +5315,26 @@
5325
5315
  "href": "/review"
5326
5316
  },
5327
5317
  {
5318
+ "icon": "tag",
5328
5319
  "label": "Analysis",
5329
- "href": "/analysis",
5330
- "icon": "tag"
5320
+ "href": "/analysis"
5331
5321
  },
5332
5322
  {
5333
- "href": "/issues",
5323
+ "icon": "alert-triangle",
5334
5324
  "label": "Issues",
5335
- "icon": "alert-triangle"
5325
+ "href": "/issues"
5336
5326
  }
5337
- ]
5327
+ ],
5328
+ "children": [
5329
+ {
5330
+ "title": "Completion",
5331
+ "type": "empty-state",
5332
+ "icon": "sparkles",
5333
+ "description": "Completion is ready"
5334
+ }
5335
+ ],
5336
+ "type": "dashboard-layout",
5337
+ "appName": "Code Reviewer"
5338
5338
  }
5339
5339
  ]
5340
5340
  ]
@@ -5390,8 +5390,8 @@
5390
5390
  "emit",
5391
5391
  "SHOW",
5392
5392
  {
5393
- "message": "Review complete",
5394
- "notificationType": "success"
5393
+ "notificationType": "success",
5394
+ "message": "Review complete"
5395
5395
  }
5396
5396
  ]
5397
5397
  ]