@almadar/std 8.3.0 → 8.4.1

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