@almadar/std 10.0.0 → 11.0.0

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