@almadar/std 8.5.1 → 9.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 +60 -60
  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 +60 -60
  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
@@ -173,7 +173,7 @@
173
173
  {
174
174
  "key": "RETRIEVAL_DONE",
175
175
  "name": "Retrieval Done",
176
- "payload": [
176
+ "payloadSchema": [
177
177
  {
178
178
  "name": "context",
179
179
  "type": "string",
@@ -194,7 +194,7 @@
194
194
  {
195
195
  "key": "FAILED",
196
196
  "name": "Failed",
197
- "payload": [
197
+ "payloadSchema": [
198
198
  {
199
199
  "name": "error",
200
200
  "type": "string",
@@ -205,7 +205,7 @@
205
205
  {
206
206
  "key": "GENERATION_DONE",
207
207
  "name": "Generation Done",
208
- "payload": [
208
+ "payloadSchema": [
209
209
  {
210
210
  "name": "response",
211
211
  "type": "string",
@@ -229,10 +229,13 @@
229
229
  "main",
230
230
  {
231
231
  "type": "stack",
232
- "direction": "vertical",
233
232
  "gap": "lg",
233
+ "direction": "vertical",
234
234
  "children": [
235
235
  {
236
+ "direction": "horizontal",
237
+ "align": "center",
238
+ "gap": "sm",
236
239
  "children": [
237
240
  {
238
241
  "name": "brain",
@@ -244,39 +247,36 @@
244
247
  "variant": "h2"
245
248
  }
246
249
  ],
247
- "gap": "sm",
248
- "direction": "horizontal",
249
- "align": "center",
250
250
  "type": "stack"
251
251
  },
252
252
  {
253
253
  "type": "divider"
254
254
  },
255
255
  {
256
- "type": "card",
257
256
  "children": [
258
257
  {
259
- "direction": "vertical",
260
258
  "type": "stack",
259
+ "direction": "vertical",
261
260
  "gap": "md",
262
261
  "children": [
263
262
  {
264
- "type": "typography",
265
263
  "content": "Enter a query to retrieve context and generate a response",
266
- "variant": "body"
264
+ "variant": "body",
265
+ "type": "typography"
267
266
  },
268
267
  {
268
+ "entity": "@entity",
269
269
  "fields": [
270
270
  "query"
271
271
  ],
272
- "mode": "edit",
273
272
  "type": "form-section",
274
- "entity": "@entity",
275
- "submitEvent": "GENERATE"
273
+ "submitEvent": "GENERATE",
274
+ "mode": "edit"
276
275
  }
277
276
  ]
278
277
  }
279
- ]
278
+ ],
279
+ "type": "card"
280
280
  }
281
281
  ]
282
282
  }
@@ -307,24 +307,24 @@
307
307
  "main",
308
308
  {
309
309
  "type": "stack",
310
- "gap": "lg",
311
310
  "direction": "vertical",
312
- "align": "center",
313
311
  "children": [
314
312
  {
315
- "type": "icon",
316
- "name": "search"
313
+ "name": "search",
314
+ "type": "icon"
317
315
  },
318
316
  {
317
+ "content": "Retrieving context...",
319
318
  "type": "typography",
320
- "variant": "h3",
321
- "content": "Retrieving context..."
319
+ "variant": "h3"
322
320
  },
323
321
  {
324
322
  "type": "spinner"
325
323
  },
326
324
  {
327
- "justify": "center",
325
+ "gap": "md",
326
+ "direction": "horizontal",
327
+ "type": "stack",
328
328
  "children": [
329
329
  {
330
330
  "type": "badge",
@@ -335,11 +335,11 @@
335
335
  "type": "badge"
336
336
  }
337
337
  ],
338
- "direction": "horizontal",
339
- "gap": "md",
340
- "type": "stack"
338
+ "justify": "center"
341
339
  }
342
- ]
340
+ ],
341
+ "gap": "lg",
342
+ "align": "center"
343
343
  }
344
344
  ]
345
345
  ]
@@ -384,40 +384,40 @@
384
384
  "render-ui",
385
385
  "main",
386
386
  {
387
- "type": "stack",
388
387
  "direction": "vertical",
389
- "gap": "lg",
390
- "align": "center",
388
+ "type": "stack",
391
389
  "children": [
392
390
  {
393
- "name": "cpu",
394
- "type": "icon"
391
+ "type": "icon",
392
+ "name": "cpu"
395
393
  },
396
394
  {
395
+ "type": "typography",
397
396
  "variant": "h3",
398
- "content": "Generating response...",
399
- "type": "typography"
397
+ "content": "Generating response..."
400
398
  },
401
399
  {
402
400
  "type": "spinner"
403
401
  },
404
402
  {
405
- "direction": "horizontal",
403
+ "type": "stack",
404
+ "gap": "md",
406
405
  "children": [
407
406
  {
408
407
  "label": "@entity.memoryHits",
409
408
  "type": "badge"
410
409
  },
411
410
  {
412
- "type": "badge",
413
- "label": "@entity.searchHits"
411
+ "label": "@entity.searchHits",
412
+ "type": "badge"
414
413
  }
415
414
  ],
416
415
  "justify": "center",
417
- "type": "stack",
418
- "gap": "md"
416
+ "direction": "horizontal"
419
417
  }
420
- ]
418
+ ],
419
+ "gap": "lg",
420
+ "align": "center"
421
421
  }
422
422
  ]
423
423
  ]
@@ -441,6 +441,8 @@
441
441
  "render-ui",
442
442
  "main",
443
443
  {
444
+ "direction": "vertical",
445
+ "align": "center",
444
446
  "type": "stack",
445
447
  "children": [
446
448
  {
@@ -448,26 +450,24 @@
448
450
  "type": "icon"
449
451
  },
450
452
  {
453
+ "content": "RAG Pipeline Error",
451
454
  "type": "typography",
452
- "variant": "h2",
453
- "content": "RAG Pipeline Error"
455
+ "variant": "h2"
454
456
  },
455
457
  {
458
+ "type": "alert",
456
459
  "variant": "error",
457
- "message": "@entity.error",
458
- "type": "alert"
460
+ "message": "@entity.error"
459
461
  },
460
462
  {
463
+ "variant": "primary",
461
464
  "type": "button",
462
465
  "action": "RESET",
463
- "label": "Try Again",
464
- "variant": "primary",
465
- "icon": "rotate-ccw"
466
+ "icon": "rotate-ccw",
467
+ "label": "Try Again"
466
468
  }
467
469
  ],
468
- "direction": "vertical",
469
- "gap": "lg",
470
- "align": "center"
470
+ "gap": "lg"
471
471
  }
472
472
  ]
473
473
  ]
@@ -503,33 +503,33 @@
503
503
  "children": [
504
504
  {
505
505
  "direction": "horizontal",
506
- "align": "center",
507
506
  "type": "stack",
508
507
  "justify": "between",
508
+ "align": "center",
509
509
  "children": [
510
510
  {
511
- "gap": "sm",
511
+ "align": "center",
512
512
  "children": [
513
513
  {
514
- "name": "check-circle",
515
- "type": "icon"
514
+ "type": "icon",
515
+ "name": "check-circle"
516
516
  },
517
517
  {
518
- "content": "RAG Complete",
518
+ "variant": "h2",
519
519
  "type": "typography",
520
- "variant": "h2"
520
+ "content": "RAG Complete"
521
521
  }
522
522
  ],
523
523
  "direction": "horizontal",
524
- "type": "stack",
525
- "align": "center"
524
+ "gap": "sm",
525
+ "type": "stack"
526
526
  },
527
527
  {
528
- "type": "button",
529
- "label": "New Query",
530
528
  "action": "RESET",
531
529
  "variant": "ghost",
532
- "icon": "rotate-ccw"
530
+ "icon": "rotate-ccw",
531
+ "type": "button",
532
+ "label": "New Query"
533
533
  }
534
534
  ],
535
535
  "gap": "sm"
@@ -538,62 +538,63 @@
538
538
  "type": "divider"
539
539
  },
540
540
  {
541
+ "type": "simple-grid",
541
542
  "cols": 2.0,
542
543
  "children": [
543
544
  {
544
- "label": "Memory Hits",
545
545
  "type": "stat-display",
546
+ "label": "Memory Hits",
546
547
  "icon": "brain",
547
548
  "value": "@entity.memoryHits"
548
549
  },
549
550
  {
550
- "type": "stat-display",
551
551
  "value": "@entity.searchHits",
552
- "icon": "code",
553
- "label": "Code Hits"
552
+ "type": "stat-display",
553
+ "label": "Code Hits",
554
+ "icon": "code"
554
555
  }
555
- ],
556
- "type": "simple-grid"
556
+ ]
557
557
  },
558
558
  {
559
559
  "type": "divider"
560
560
  },
561
561
  {
562
+ "type": "card",
562
563
  "children": [
563
564
  {
564
- "gap": "md",
565
- "type": "stack",
566
565
  "direction": "vertical",
566
+ "type": "stack",
567
+ "gap": "md",
567
568
  "children": [
568
569
  {
569
- "content": "Query",
570
570
  "variant": "caption",
571
+ "content": "Query",
571
572
  "type": "typography"
572
573
  },
573
574
  {
574
- "content": "@entity.query",
575
+ "variant": "body",
575
576
  "type": "typography",
576
- "variant": "body"
577
+ "content": "@entity.query"
577
578
  },
578
579
  {
579
580
  "type": "divider"
580
581
  },
581
582
  {
582
- "type": "typography",
583
583
  "variant": "caption",
584
- "content": "Response"
584
+ "content": "Response",
585
+ "type": "typography"
585
586
  },
586
587
  {
587
- "content": "@entity.response",
588
588
  "variant": "body",
589
- "type": "typography"
589
+ "type": "typography",
590
+ "content": "@entity.response"
590
591
  }
591
592
  ]
592
593
  }
593
- ],
594
- "type": "card"
594
+ ]
595
595
  },
596
596
  {
597
+ "type": "card",
597
598
  "children": [
598
599
  {
599
600
  "direction": "vertical",
@@ -602,23 +603,22 @@
602
603
  "children": [
603
604
  {
604
605
  "type": "typography",
605
- "content": "Retrieved Context",
606
- "variant": "caption"
606
+ "variant": "caption",
607
+ "content": "Retrieved Context"
607
608
  },
608
609
  {
609
- "variant": "body",
610
610
  "type": "typography",
611
- "content": "@entity.context"
611
+ "content": "@entity.context",
612
+ "variant": "body"
612
613
  }
613
614
  ]
614
615
  }
615
- ],
616
- "type": "card"
616
+ ]
617
617
  }
618
618
  ],
619
- "direction": "vertical",
620
619
  "gap": "lg",
621
- "type": "stack"
620
+ "type": "stack",
621
+ "direction": "vertical"
622
622
  }
623
623
  ]
624
624
  ]
@@ -642,33 +642,33 @@
642
642
  "render-ui",
643
643
  "main",
644
644
  {
645
- "align": "center",
646
- "direction": "vertical",
647
- "type": "stack",
645
+ "gap": "lg",
648
646
  "children": [
649
647
  {
650
- "type": "icon",
651
- "name": "alert-triangle"
648
+ "name": "alert-triangle",
649
+ "type": "icon"
652
650
  },
653
651
  {
654
652
  "content": "RAG Pipeline Error",
655
- "type": "typography",
656
- "variant": "h2"
653
+ "variant": "h2",
654
+ "type": "typography"
657
655
  },
658
656
  {
659
- "type": "alert",
660
657
  "variant": "error",
661
- "message": "@entity.error"
658
+ "message": "@entity.error",
659
+ "type": "alert"
662
660
  },
663
661
  {
662
+ "action": "RESET",
664
663
  "label": "Try Again",
664
+ "type": "button",
665
665
  "variant": "primary",
666
- "action": "RESET",
667
- "icon": "rotate-ccw",
668
- "type": "button"
666
+ "icon": "rotate-ccw"
669
667
  }
670
668
  ],
671
- "gap": "lg"
669
+ "direction": "vertical",
670
+ "align": "center",
671
+ "type": "stack"
672
672
  }
673
673
  ]
674
674
  ]
@@ -712,56 +712,56 @@
712
712
  "render-ui",
713
713
  "main",
714
714
  {
715
+ "type": "stack",
715
716
  "direction": "vertical",
716
717
  "children": [
717
718
  {
718
- "direction": "horizontal",
719
719
  "type": "stack",
720
+ "direction": "horizontal",
721
+ "gap": "sm",
722
+ "align": "center",
720
723
  "children": [
721
724
  {
722
725
  "type": "icon",
723
726
  "name": "brain"
724
727
  },
725
728
  {
726
- "content": "RAG Pipeline",
727
729
  "variant": "h2",
728
- "type": "typography"
730
+ "type": "typography",
731
+ "content": "RAG Pipeline"
729
732
  }
730
- ],
731
- "align": "center",
732
- "gap": "sm"
733
+ ]
733
734
  },
734
735
  {
735
736
  "type": "divider"
736
737
  },
737
738
  {
739
+ "type": "card",
738
740
  "children": [
739
741
  {
740
- "direction": "vertical",
741
742
  "children": [
742
743
  {
743
744
  "content": "Enter a query to retrieve context and generate a response",
744
- "variant": "body",
745
- "type": "typography"
745
+ "type": "typography",
746
+ "variant": "body"
746
747
  },
747
748
  {
748
- "entity": "@entity",
749
749
  "mode": "edit",
750
- "type": "form-section",
751
750
  "fields": [
752
751
  "query"
753
752
  ],
753
+ "type": "form-section",
754
+ "entity": "@entity",
754
755
  "submitEvent": "GENERATE"
755
756
  }
756
757
  ],
757
- "type": "stack",
758
- "gap": "md"
758
+ "gap": "md",
759
+ "direction": "vertical",
760
+ "type": "stack"
759
761
  }
760
- ],
761
- "type": "card"
762
+ ]
762
763
  }
763
764
  ],
764
- "type": "stack",
765
765
  "gap": "lg"
766
766
  }
767
767
  ]
@@ -820,4 +820,4 @@
820
820
  ]
821
821
  }
822
822
  ]
823
- }
823
+ }