@almadar/std 8.2.0 → 8.3.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 +83 -83
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  27. package/behaviors/registry/app/organisms/std-cms.orb +445 -445
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  29. package/behaviors/registry/app/organisms/std-crm.orb +781 -781
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  37. package/behaviors/registry/app/organisms/std-lms.orb +863 -863
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  42. package/behaviors/registry/core/atoms/std-browse.orb +60 -60
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  44. package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +371 -371
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +46 -46
  50. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  51. package/behaviors/registry/core/atoms/std-modal.orb +14 -32
  52. package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  55. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  56. package/behaviors/registry/core/atoms/std-search.orb +71 -71
  57. package/behaviors/registry/core/atoms/std-selection.orb +89 -89
  58. package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  59. package/behaviors/registry/core/molecules/std-cart.orb +54 -54
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  62. package/behaviors/registry/core/molecules/std-list.orb +60 -60
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  64. package/behaviors/registry/game/atoms/std-collision.orb +143 -143
  65. package/behaviors/registry/game/atoms/std-combat.orb +80 -80
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  69. package/behaviors/registry/game/atoms/std-movement.orb +300 -300
  70. package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +251 -260
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  83. package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  84. package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  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 +312 -312
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  187. package/package.json +1 -1
@@ -240,21 +240,21 @@
240
240
  "render-ui",
241
241
  "main",
242
242
  {
243
- "direction": "vertical",
244
243
  "type": "stack",
245
- "align": "center",
244
+ "className": "py-12",
245
+ "direction": "vertical",
246
246
  "children": [
247
247
  {
248
248
  "type": "spinner"
249
249
  },
250
250
  {
251
- "variant": "caption",
251
+ "type": "typography",
252
252
  "content": "Loading quests…",
253
253
  "color": "muted",
254
- "type": "typography"
254
+ "variant": "caption"
255
255
  }
256
256
  ],
257
- "className": "py-12",
257
+ "align": "center",
258
258
  "gap": "md"
259
259
  }
260
260
  ]
@@ -272,12 +272,13 @@
272
272
  "gap": "lg",
273
273
  "children": [
274
274
  {
275
- "type": "stack",
276
275
  "justify": "between",
276
+ "gap": "md",
277
277
  "children": [
278
278
  {
279
- "gap": "md",
279
+ "direction": "horizontal",
280
280
  "type": "stack",
281
+ "gap": "md",
281
282
  "children": [
282
283
  {
283
284
  "type": "icon",
@@ -285,33 +286,37 @@
285
286
  },
286
287
  {
287
288
  "type": "typography",
288
- "content": "QuestLogs Board",
289
- "variant": "h2"
289
+ "variant": "h2",
290
+ "content": "QuestLogs Board"
290
291
  }
291
- ],
292
- "direction": "horizontal"
292
+ ]
293
293
  }
294
294
  ],
295
- "direction": "horizontal",
296
- "gap": "md"
295
+ "type": "stack",
296
+ "direction": "horizontal"
297
297
  },
298
298
  {
299
299
  "type": "divider"
300
300
  },
301
301
  {
302
+ "entity": "@payload.data",
303
+ "type": "data-list",
302
304
  "groupBy": "status",
305
+ "fields": [],
303
306
  "renderItem": [
304
307
  "fn",
305
308
  "item",
306
309
  {
310
+ "gap": "sm",
307
311
  "type": "stack",
312
+ "direction": "vertical",
308
313
  "children": [
309
314
  {
310
- "justify": "between",
315
+ "type": "stack",
311
316
  "direction": "horizontal",
317
+ "align": "center",
312
318
  "children": [
313
319
  {
314
- "direction": "horizontal",
315
320
  "align": "center",
316
321
  "children": [
317
322
  {
@@ -324,30 +329,25 @@
324
329
  "content": "@item.name"
325
330
  }
326
331
  ],
327
- "type": "stack",
328
- "gap": "sm"
332
+ "gap": "sm",
333
+ "direction": "horizontal",
334
+ "type": "stack"
329
335
  },
330
336
  {
331
- "type": "badge",
332
- "label": "@item.description"
337
+ "label": "@item.description",
338
+ "type": "badge"
333
339
  }
334
340
  ],
335
- "align": "center",
336
- "type": "stack"
341
+ "justify": "between"
337
342
  },
338
343
  {
339
- "content": "@item.status",
340
344
  "type": "typography",
345
+ "content": "@item.status",
341
346
  "variant": "caption"
342
347
  }
343
- ],
344
- "gap": "sm",
345
- "direction": "vertical"
348
+ ]
346
349
  }
347
350
  ],
348
- "entity": "@payload.data",
349
- "type": "data-list",
350
- "fields": [],
351
351
  "itemActions": [
352
352
  {
353
353
  "label": "Accept",
@@ -371,36 +371,36 @@
371
371
  "render-ui",
372
372
  "main",
373
373
  {
374
- "align": "center",
374
+ "gap": "md",
375
375
  "type": "stack",
376
+ "direction": "vertical",
377
+ "className": "py-12",
376
378
  "children": [
377
379
  {
378
- "type": "icon",
379
380
  "name": "alert-triangle",
381
+ "type": "icon",
380
382
  "color": "destructive"
381
383
  },
382
384
  {
383
385
  "content": "Failed to load quests",
384
- "variant": "h3",
385
- "type": "typography"
386
+ "type": "typography",
387
+ "variant": "h3"
386
388
  },
387
389
  {
388
- "type": "typography",
389
- "variant": "body",
390
390
  "content": "@payload.error",
391
- "color": "muted"
391
+ "color": "muted",
392
+ "type": "typography",
393
+ "variant": "body"
392
394
  },
393
395
  {
394
396
  "variant": "primary",
395
- "label": "Retry",
396
397
  "type": "button",
397
398
  "icon": "rotate-ccw",
398
- "action": "INIT"
399
+ "action": "INIT",
400
+ "label": "Retry"
399
401
  }
400
402
  ],
401
- "direction": "vertical",
402
- "gap": "md",
403
- "className": "py-12"
403
+ "align": "center"
404
404
  }
405
405
  ]
406
406
  ]
@@ -424,47 +424,47 @@
424
424
  "render-ui",
425
425
  "main",
426
426
  {
427
+ "type": "stack",
428
+ "direction": "vertical",
429
+ "gap": "lg",
427
430
  "align": "center",
428
431
  "children": [
429
432
  {
430
433
  "type": "typography",
431
- "content": "@entity.activeName",
432
- "variant": "h2"
434
+ "variant": "h2",
435
+ "content": "@entity.activeName"
433
436
  },
434
437
  {
435
- "showPercentage": true,
436
438
  "type": "progress-bar",
437
- "value": 50.0
439
+ "value": 50.0,
440
+ "showPercentage": true
438
441
  },
439
442
  {
440
443
  "children": [
441
444
  {
442
- "variant": "primary",
443
- "action": "PROGRESS",
444
445
  "type": "button",
445
- "label": "Progress"
446
+ "label": "Progress",
447
+ "action": "PROGRESS",
448
+ "variant": "primary"
446
449
  },
447
450
  {
448
- "action": "COMPLETE",
449
451
  "label": "Complete",
452
+ "action": "COMPLETE",
450
453
  "type": "button",
451
454
  "variant": "success"
452
455
  },
453
456
  {
457
+ "type": "button",
454
458
  "variant": "danger",
455
459
  "label": "Fail",
456
- "action": "FAIL",
457
- "type": "button"
460
+ "action": "FAIL"
458
461
  }
459
462
  ],
460
- "type": "stack",
461
463
  "gap": "sm",
464
+ "type": "stack",
462
465
  "direction": "horizontal"
463
466
  }
464
- ],
465
- "type": "stack",
466
- "direction": "vertical",
467
- "gap": "lg"
467
+ ]
468
468
  }
469
469
  ]
470
470
  ]
@@ -479,8 +479,8 @@
479
479
  "update",
480
480
  "QuestLog",
481
481
  {
482
- "id": "@entity.activeId",
483
- "status": "active"
482
+ "status": "active",
483
+ "id": "@entity.activeId"
484
484
  },
485
485
  {
486
486
  "emit": {
@@ -493,41 +493,41 @@
493
493
  "render-ui",
494
494
  "main",
495
495
  {
496
+ "align": "center",
496
497
  "children": [
497
498
  {
498
- "content": "@entity.activeName",
499
499
  "type": "typography",
500
+ "content": "@entity.activeName",
500
501
  "variant": "h2"
501
502
  },
502
503
  {
503
- "showPercentage": true,
504
504
  "type": "progress-bar",
505
+ "showPercentage": true,
505
506
  "value": 75.0
506
507
  },
507
508
  {
508
- "type": "stack",
509
+ "gap": "sm",
509
510
  "children": [
510
511
  {
511
- "variant": "success",
512
512
  "type": "button",
513
513
  "action": "COMPLETE",
514
- "label": "Complete"
514
+ "label": "Complete",
515
+ "variant": "success"
515
516
  },
516
517
  {
517
- "action": "FAIL",
518
- "type": "button",
518
+ "label": "Fail",
519
519
  "variant": "danger",
520
- "label": "Fail"
520
+ "type": "button",
521
+ "action": "FAIL"
521
522
  }
522
523
  ],
523
- "gap": "sm",
524
+ "type": "stack",
524
525
  "direction": "horizontal"
525
526
  }
526
527
  ],
527
- "gap": "lg",
528
- "type": "stack",
529
528
  "direction": "vertical",
530
- "align": "center"
529
+ "type": "stack",
530
+ "gap": "lg"
531
531
  }
532
532
  ]
533
533
  ]
@@ -542,13 +542,13 @@
542
542
  "update",
543
543
  "QuestLog",
544
544
  {
545
- "id": "@entity.activeId",
546
- "status": "complete"
545
+ "status": "complete",
546
+ "id": "@entity.activeId"
547
547
  },
548
548
  {
549
549
  "emit": {
550
- "failure": "QuestLogUpdateFailed",
551
- "success": "QuestLogUpdated"
550
+ "success": "QuestLogUpdated",
551
+ "failure": "QuestLogUpdateFailed"
552
552
  }
553
553
  }
554
554
  ],
@@ -556,6 +556,7 @@
556
556
  "render-ui",
557
557
  "main",
558
558
  {
559
+ "type": "stack",
559
560
  "gap": "lg",
560
561
  "children": [
561
562
  {
@@ -563,26 +564,25 @@
563
564
  "name": "check-circle"
564
565
  },
565
566
  {
566
- "content": "Quest Complete",
567
+ "variant": "h2",
567
568
  "type": "typography",
568
- "variant": "h2"
569
+ "content": "Quest Complete"
569
570
  },
570
571
  {
571
- "message": "Congratulations! The quest has been completed.",
572
+ "type": "alert",
572
573
  "variant": "success",
573
- "type": "alert"
574
+ "message": "Congratulations! The quest has been completed."
574
575
  },
575
576
  {
576
577
  "type": "button",
577
- "label": "View Quests",
578
- "action": "RESET",
578
+ "icon": "arrow-left",
579
579
  "variant": "primary",
580
- "icon": "arrow-left"
580
+ "label": "View Quests",
581
+ "action": "RESET"
581
582
  }
582
583
  ],
583
584
  "direction": "vertical",
584
- "align": "center",
585
- "type": "stack"
585
+ "align": "center"
586
586
  }
587
587
  ]
588
588
  ]
@@ -597,8 +597,8 @@
597
597
  "update",
598
598
  "QuestLog",
599
599
  {
600
- "status": "failed",
601
- "id": "@entity.activeId"
600
+ "id": "@entity.activeId",
601
+ "status": "failed"
602
602
  },
603
603
  {
604
604
  "emit": {
@@ -611,18 +611,15 @@
611
611
  "render-ui",
612
612
  "main",
613
613
  {
614
- "align": "center",
615
- "direction": "vertical",
616
- "type": "stack",
617
614
  "children": [
618
615
  {
619
- "type": "icon",
620
- "name": "x-circle"
616
+ "name": "x-circle",
617
+ "type": "icon"
621
618
  },
622
619
  {
620
+ "variant": "h2",
623
621
  "type": "typography",
624
- "content": "Quest Failed",
625
- "variant": "h2"
622
+ "content": "Quest Failed"
626
623
  },
627
624
  {
628
625
  "variant": "error",
@@ -630,13 +627,16 @@
630
627
  "type": "alert"
631
628
  },
632
629
  {
633
- "type": "button",
634
630
  "label": "View Quests",
635
- "variant": "primary",
636
631
  "icon": "arrow-left",
637
- "action": "RESET"
632
+ "type": "button",
633
+ "action": "RESET",
634
+ "variant": "primary"
638
635
  }
639
636
  ],
637
+ "align": "center",
638
+ "type": "stack",
639
+ "direction": "vertical",
640
640
  "gap": "lg"
641
641
  }
642
642
  ]
@@ -657,8 +657,8 @@
657
657
  },
658
658
  {
659
659
  "emit": {
660
- "failure": "QuestLogUpdateFailed",
661
- "success": "QuestLogUpdated"
660
+ "success": "QuestLogUpdated",
661
+ "failure": "QuestLogUpdateFailed"
662
662
  }
663
663
  }
664
664
  ],
@@ -666,33 +666,33 @@
666
666
  "render-ui",
667
667
  "main",
668
668
  {
669
+ "type": "stack",
670
+ "align": "center",
669
671
  "children": [
670
672
  {
671
- "type": "icon",
672
- "name": "check-circle"
673
+ "name": "check-circle",
674
+ "type": "icon"
673
675
  },
674
676
  {
675
- "type": "typography",
676
677
  "variant": "h2",
678
+ "type": "typography",
677
679
  "content": "Quest Complete"
678
680
  },
679
681
  {
680
- "message": "Congratulations! The quest has been completed.",
681
682
  "type": "alert",
682
- "variant": "success"
683
+ "variant": "success",
684
+ "message": "Congratulations! The quest has been completed."
683
685
  },
684
686
  {
685
- "action": "RESET",
686
687
  "type": "button",
688
+ "variant": "primary",
689
+ "action": "RESET",
687
690
  "label": "View Quests",
688
- "icon": "arrow-left",
689
- "variant": "primary"
691
+ "icon": "arrow-left"
690
692
  }
691
693
  ],
692
- "direction": "vertical",
693
- "type": "stack",
694
694
  "gap": "lg",
695
- "align": "center"
695
+ "direction": "vertical"
696
696
  }
697
697
  ]
698
698
  ]
@@ -707,13 +707,13 @@
707
707
  "update",
708
708
  "QuestLog",
709
709
  {
710
- "status": "failed",
711
- "id": "@entity.activeId"
710
+ "id": "@entity.activeId",
711
+ "status": "failed"
712
712
  },
713
713
  {
714
714
  "emit": {
715
- "failure": "QuestLogUpdateFailed",
716
- "success": "QuestLogUpdated"
715
+ "success": "QuestLogUpdated",
716
+ "failure": "QuestLogUpdateFailed"
717
717
  }
718
718
  }
719
719
  ],
@@ -721,29 +721,29 @@
721
721
  "render-ui",
722
722
  "main",
723
723
  {
724
- "direction": "vertical",
725
- "align": "center",
726
724
  "type": "stack",
725
+ "align": "center",
726
+ "direction": "vertical",
727
727
  "gap": "lg",
728
728
  "children": [
729
729
  {
730
- "type": "icon",
731
- "name": "x-circle"
730
+ "name": "x-circle",
731
+ "type": "icon"
732
732
  },
733
733
  {
734
734
  "type": "typography",
735
- "variant": "h2",
736
- "content": "Quest Failed"
735
+ "content": "Quest Failed",
736
+ "variant": "h2"
737
737
  },
738
738
  {
739
739
  "message": "The quest was not completed. You can try again.",
740
- "type": "alert",
741
- "variant": "error"
740
+ "variant": "error",
741
+ "type": "alert"
742
742
  },
743
743
  {
744
- "action": "RESET",
745
- "label": "View Quests",
746
744
  "type": "button",
745
+ "label": "View Quests",
746
+ "action": "RESET",
747
747
  "variant": "primary",
748
748
  "icon": "arrow-left"
749
749
  }
@@ -810,8 +810,8 @@
810
810
  "QuestLog",
811
811
  {
812
812
  "emit": {
813
- "success": "QuestLogLoaded",
814
- "failure": "QuestLogLoadFailed"
813
+ "failure": "QuestLogLoadFailed",
814
+ "success": "QuestLogLoaded"
815
815
  }
816
816
  }
817
817
  ],
@@ -842,4 +842,4 @@
842
842
  ]
843
843
  }
844
844
  ]
845
- }
845
+ }