@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
@@ -61,7 +61,7 @@
61
61
  "event": "QuestLogLoaded",
62
62
  "description": "Fired when QuestLog finishes loading; payload.data holds the quests",
63
63
  "scope": "internal",
64
- "payload": [
64
+ "payloadSchema": [
65
65
  {
66
66
  "name": "data",
67
67
  "type": "[QuestLog]"
@@ -72,7 +72,7 @@
72
72
  "event": "QuestLogLoadFailed",
73
73
  "description": "Fired when QuestLog fails to load",
74
74
  "scope": "internal",
75
- "payload": [
75
+ "payloadSchema": [
76
76
  {
77
77
  "name": "error",
78
78
  "type": "string"
@@ -87,7 +87,7 @@
87
87
  "event": "QuestLogUpdated",
88
88
  "description": "Fired when a quest is updated",
89
89
  "scope": "internal",
90
- "payload": [
90
+ "payloadSchema": [
91
91
  {
92
92
  "name": "id",
93
93
  "type": "string"
@@ -98,7 +98,7 @@
98
98
  "event": "QuestLogUpdateFailed",
99
99
  "description": "Fired when updating a quest fails",
100
100
  "scope": "internal",
101
- "payload": [
101
+ "payloadSchema": [
102
102
  {
103
103
  "name": "error",
104
104
  "type": "string"
@@ -143,7 +143,7 @@
143
143
  {
144
144
  "key": "QuestLogLoaded",
145
145
  "name": "QuestLog loaded",
146
- "payload": [
146
+ "payloadSchema": [
147
147
  {
148
148
  "name": "data",
149
149
  "type": "[QuestLog]"
@@ -153,7 +153,7 @@
153
153
  {
154
154
  "key": "QuestLogLoadFailed",
155
155
  "name": "QuestLog load failed",
156
- "payload": [
156
+ "payloadSchema": [
157
157
  {
158
158
  "name": "error",
159
159
  "type": "string"
@@ -167,7 +167,7 @@
167
167
  {
168
168
  "key": "ACCEPT",
169
169
  "name": "Accept",
170
- "payload": [
170
+ "payloadSchema": [
171
171
  {
172
172
  "name": "id",
173
173
  "type": "string",
@@ -198,7 +198,7 @@
198
198
  {
199
199
  "key": "QuestLogUpdated",
200
200
  "name": "QuestLog updated",
201
- "payload": [
201
+ "payloadSchema": [
202
202
  {
203
203
  "name": "id",
204
204
  "type": "string"
@@ -208,7 +208,7 @@
208
208
  {
209
209
  "key": "QuestLogUpdateFailed",
210
210
  "name": "QuestLog update failed",
211
- "payload": [
211
+ "payloadSchema": [
212
212
  {
213
213
  "name": "error",
214
214
  "type": "string"
@@ -242,20 +242,20 @@
242
242
  {
243
243
  "type": "stack",
244
244
  "direction": "vertical",
245
- "gap": "md",
245
+ "align": "center",
246
+ "className": "py-12",
246
247
  "children": [
247
248
  {
248
249
  "type": "spinner"
249
250
  },
250
251
  {
251
252
  "type": "typography",
252
- "variant": "caption",
253
253
  "color": "muted",
254
- "content": "Loading quests…"
254
+ "content": "Loading quests…",
255
+ "variant": "caption"
255
256
  }
256
257
  ],
257
- "align": "center",
258
- "className": "py-12"
258
+ "gap": "md"
259
259
  }
260
260
  ]
261
261
  ]
@@ -269,30 +269,31 @@
269
269
  "render-ui",
270
270
  "main",
271
271
  {
272
- "direction": "vertical",
272
+ "gap": "lg",
273
+ "type": "stack",
273
274
  "children": [
274
275
  {
275
- "type": "stack",
276
+ "direction": "horizontal",
277
+ "gap": "md",
276
278
  "children": [
277
279
  {
280
+ "direction": "horizontal",
281
+ "gap": "md",
282
+ "type": "stack",
278
283
  "children": [
279
284
  {
280
285
  "type": "icon",
281
286
  "name": "flag"
282
287
  },
283
288
  {
284
- "variant": "h2",
285
289
  "content": "QuestLogs Board",
290
+ "variant": "h2",
286
291
  "type": "typography"
287
292
  }
288
- ],
289
- "direction": "horizontal",
290
- "gap": "md",
291
- "type": "stack"
293
+ ]
292
294
  }
293
295
  ],
294
- "gap": "md",
295
- "direction": "horizontal",
296
+ "type": "stack",
296
297
  "justify": "between"
297
298
  },
298
299
  {
@@ -300,13 +301,11 @@
300
301
  },
301
302
  {
302
303
  "type": "data-list",
303
- "fields": [],
304
304
  "groupBy": "status",
305
- "entity": "@payload.data",
306
305
  "itemActions": [
307
306
  {
308
- "label": "Accept",
309
- "event": "ACCEPT"
307
+ "event": "ACCEPT",
308
+ "label": "Accept"
310
309
  }
311
310
  ],
312
311
  "renderItem": [
@@ -314,17 +313,18 @@
314
313
  "item",
315
314
  {
316
315
  "type": "stack",
316
+ "gap": "sm",
317
317
  "direction": "vertical",
318
318
  "children": [
319
319
  {
320
- "type": "stack",
320
+ "justify": "between",
321
321
  "direction": "horizontal",
322
+ "type": "stack",
322
323
  "align": "center",
323
324
  "children": [
324
325
  {
325
- "gap": "sm",
326
326
  "align": "center",
327
- "direction": "horizontal",
327
+ "gap": "sm",
328
328
  "children": [
329
329
  {
330
330
  "type": "icon",
@@ -336,28 +336,28 @@
336
336
  "variant": "h4"
337
337
  }
338
338
  ],
339
+ "direction": "horizontal",
339
340
  "type": "stack"
340
341
  },
341
342
  {
342
- "label": "@item.description",
343
- "type": "badge"
343
+ "type": "badge",
344
+ "label": "@item.description"
344
345
  }
345
- ],
346
- "justify": "between"
346
+ ]
347
347
  },
348
348
  {
349
- "variant": "caption",
350
349
  "type": "typography",
350
+ "variant": "caption",
351
351
  "content": "@item.status"
352
352
  }
353
- ],
354
- "gap": "sm"
353
+ ]
355
354
  }
356
- ]
355
+ ],
356
+ "fields": [],
357
+ "entity": "@payload.data"
357
358
  }
358
359
  ],
359
- "type": "stack",
360
- "gap": "lg"
360
+ "direction": "vertical"
361
361
  }
362
362
  ]
363
363
  ]
@@ -371,36 +371,36 @@
371
371
  "render-ui",
372
372
  "main",
373
373
  {
374
- "align": "center",
375
- "className": "py-12",
376
374
  "children": [
377
375
  {
378
- "color": "destructive",
379
376
  "name": "alert-triangle",
377
+ "color": "destructive",
380
378
  "type": "icon"
381
379
  },
382
380
  {
381
+ "type": "typography",
383
382
  "variant": "h3",
384
- "content": "Failed to load quests",
385
- "type": "typography"
383
+ "content": "Failed to load quests"
386
384
  },
387
385
  {
388
- "variant": "body",
389
- "content": "@payload.error",
390
386
  "type": "typography",
391
- "color": "muted"
387
+ "color": "muted",
388
+ "variant": "body",
389
+ "content": "@payload.error"
392
390
  },
393
391
  {
394
- "icon": "rotate-ccw",
395
392
  "label": "Retry",
396
- "action": "INIT",
393
+ "type": "button",
397
394
  "variant": "primary",
398
- "type": "button"
395
+ "icon": "rotate-ccw",
396
+ "action": "INIT"
399
397
  }
400
398
  ],
401
- "gap": "md",
402
399
  "type": "stack",
403
- "direction": "vertical"
400
+ "gap": "md",
401
+ "className": "py-12",
402
+ "direction": "vertical",
403
+ "align": "center"
404
404
  }
405
405
  ]
406
406
  ]
@@ -426,44 +426,44 @@
426
426
  {
427
427
  "children": [
428
428
  {
429
- "type": "typography",
429
+ "content": "@entity.activeName",
430
430
  "variant": "h2",
431
- "content": "@entity.activeName"
431
+ "type": "typography"
432
432
  },
433
433
  {
434
- "value": 50.0,
434
+ "type": "progress-bar",
435
435
  "showPercentage": true,
436
- "type": "progress-bar"
436
+ "value": 50.0
437
437
  },
438
438
  {
439
+ "type": "stack",
440
+ "direction": "horizontal",
439
441
  "children": [
440
442
  {
441
443
  "variant": "primary",
442
- "type": "button",
444
+ "label": "Progress",
443
445
  "action": "PROGRESS",
444
- "label": "Progress"
446
+ "type": "button"
445
447
  },
446
448
  {
447
- "type": "button",
449
+ "action": "COMPLETE",
448
450
  "variant": "success",
449
- "label": "Complete",
450
- "action": "COMPLETE"
451
+ "type": "button",
452
+ "label": "Complete"
451
453
  },
452
454
  {
453
- "type": "button",
454
455
  "action": "FAIL",
455
456
  "label": "Fail",
456
- "variant": "danger"
457
+ "variant": "danger",
458
+ "type": "button"
457
459
  }
458
460
  ],
459
- "direction": "horizontal",
460
- "type": "stack",
461
461
  "gap": "sm"
462
462
  }
463
463
  ],
464
464
  "direction": "vertical",
465
- "type": "stack",
466
465
  "gap": "lg",
466
+ "type": "stack",
467
467
  "align": "center"
468
468
  }
469
469
  ]
@@ -493,40 +493,40 @@
493
493
  "render-ui",
494
494
  "main",
495
495
  {
496
+ "type": "stack",
496
497
  "gap": "lg",
497
498
  "direction": "vertical",
498
499
  "children": [
499
500
  {
500
- "type": "typography",
501
501
  "variant": "h2",
502
+ "type": "typography",
502
503
  "content": "@entity.activeName"
503
504
  },
504
505
  {
506
+ "showPercentage": true,
505
507
  "type": "progress-bar",
506
- "value": 75.0,
507
- "showPercentage": true
508
+ "value": 75.0
508
509
  },
509
510
  {
510
511
  "type": "stack",
511
- "direction": "horizontal",
512
512
  "children": [
513
513
  {
514
- "type": "button",
515
514
  "label": "Complete",
516
- "variant": "success",
517
- "action": "COMPLETE"
515
+ "type": "button",
516
+ "action": "COMPLETE",
517
+ "variant": "success"
518
518
  },
519
519
  {
520
+ "label": "Fail",
520
521
  "action": "FAIL",
521
522
  "type": "button",
522
- "variant": "danger",
523
- "label": "Fail"
523
+ "variant": "danger"
524
524
  }
525
525
  ],
526
- "gap": "sm"
526
+ "gap": "sm",
527
+ "direction": "horizontal"
527
528
  }
528
529
  ],
529
- "type": "stack",
530
530
  "align": "center"
531
531
  }
532
532
  ]
@@ -547,8 +547,8 @@
547
547
  },
548
548
  {
549
549
  "emit": {
550
- "success": "QuestLogUpdated",
551
- "failure": "QuestLogUpdateFailed"
550
+ "failure": "QuestLogUpdateFailed",
551
+ "success": "QuestLogUpdated"
552
552
  }
553
553
  }
554
554
  ],
@@ -557,11 +557,10 @@
557
557
  "main",
558
558
  {
559
559
  "gap": "lg",
560
- "align": "center",
561
560
  "children": [
562
561
  {
563
- "type": "icon",
564
- "name": "check-circle"
562
+ "name": "check-circle",
563
+ "type": "icon"
565
564
  },
566
565
  {
567
566
  "content": "Quest Complete",
@@ -569,18 +568,19 @@
569
568
  "variant": "h2"
570
569
  },
571
570
  {
572
- "type": "alert",
573
571
  "variant": "success",
572
+ "type": "alert",
574
573
  "message": "Congratulations! The quest has been completed."
575
574
  },
576
575
  {
577
- "action": "RESET",
578
- "type": "button",
579
- "variant": "primary",
576
+ "label": "View Quests",
580
577
  "icon": "arrow-left",
581
- "label": "View Quests"
578
+ "variant": "primary",
579
+ "action": "RESET",
580
+ "type": "button"
582
581
  }
583
582
  ],
583
+ "align": "center",
584
584
  "type": "stack",
585
585
  "direction": "vertical"
586
586
  }
@@ -602,8 +602,8 @@
602
602
  },
603
603
  {
604
604
  "emit": {
605
- "success": "QuestLogUpdated",
606
- "failure": "QuestLogUpdateFailed"
605
+ "failure": "QuestLogUpdateFailed",
606
+ "success": "QuestLogUpdated"
607
607
  }
608
608
  }
609
609
  ],
@@ -611,9 +611,7 @@
611
611
  "render-ui",
612
612
  "main",
613
613
  {
614
- "type": "stack",
615
614
  "align": "center",
616
- "gap": "lg",
617
615
  "direction": "vertical",
618
616
  "children": [
619
617
  {
@@ -621,8 +619,8 @@
621
619
  "type": "icon"
622
620
  },
623
621
  {
624
- "type": "typography",
625
622
  "variant": "h2",
623
+ "type": "typography",
626
624
  "content": "Quest Failed"
627
625
  },
628
626
  {
@@ -631,13 +629,15 @@
631
629
  "type": "alert"
632
630
  },
633
631
  {
634
- "action": "RESET",
635
632
  "type": "button",
636
- "label": "View Quests",
633
+ "icon": "arrow-left",
637
634
  "variant": "primary",
638
- "icon": "arrow-left"
635
+ "label": "View Quests",
636
+ "action": "RESET"
639
637
  }
640
- ]
638
+ ],
639
+ "gap": "lg",
640
+ "type": "stack"
641
641
  }
642
642
  ]
643
643
  ]
@@ -652,8 +652,8 @@
652
652
  "update",
653
653
  "QuestLog",
654
654
  {
655
- "id": "@entity.activeId",
656
- "status": "complete"
655
+ "status": "complete",
656
+ "id": "@entity.activeId"
657
657
  },
658
658
  {
659
659
  "emit": {
@@ -666,33 +666,33 @@
666
666
  "render-ui",
667
667
  "main",
668
668
  {
669
- "direction": "vertical",
670
- "gap": "lg",
671
669
  "type": "stack",
672
- "align": "center",
673
670
  "children": [
674
671
  {
675
- "type": "icon",
676
- "name": "check-circle"
672
+ "name": "check-circle",
673
+ "type": "icon"
677
674
  },
678
675
  {
679
- "content": "Quest Complete",
680
676
  "variant": "h2",
681
- "type": "typography"
677
+ "type": "typography",
678
+ "content": "Quest Complete"
682
679
  },
683
680
  {
684
- "type": "alert",
681
+ "message": "Congratulations! The quest has been completed.",
685
682
  "variant": "success",
686
- "message": "Congratulations! The quest has been completed."
683
+ "type": "alert"
687
684
  },
688
685
  {
689
- "type": "button",
690
- "label": "View Quests",
691
686
  "variant": "primary",
687
+ "label": "View Quests",
688
+ "icon": "arrow-left",
692
689
  "action": "RESET",
693
- "icon": "arrow-left"
690
+ "type": "button"
694
691
  }
695
- ]
692
+ ],
693
+ "align": "center",
694
+ "direction": "vertical",
695
+ "gap": "lg"
696
696
  }
697
697
  ]
698
698
  ]
@@ -712,8 +712,8 @@
712
712
  },
713
713
  {
714
714
  "emit": {
715
- "success": "QuestLogUpdated",
716
- "failure": "QuestLogUpdateFailed"
715
+ "failure": "QuestLogUpdateFailed",
716
+ "success": "QuestLogUpdated"
717
717
  }
718
718
  }
719
719
  ],
@@ -721,19 +721,15 @@
721
721
  "render-ui",
722
722
  "main",
723
723
  {
724
- "align": "center",
725
- "direction": "vertical",
726
- "gap": "lg",
727
- "type": "stack",
728
724
  "children": [
729
725
  {
730
726
  "type": "icon",
731
727
  "name": "x-circle"
732
728
  },
733
729
  {
730
+ "content": "Quest Failed",
734
731
  "type": "typography",
735
- "variant": "h2",
736
- "content": "Quest Failed"
732
+ "variant": "h2"
737
733
  },
738
734
  {
739
735
  "type": "alert",
@@ -741,13 +737,17 @@
741
737
  "message": "The quest was not completed. You can try again."
742
738
  },
743
739
  {
744
- "type": "button",
745
740
  "variant": "primary",
746
741
  "icon": "arrow-left",
747
- "label": "View Quests",
748
- "action": "RESET"
742
+ "type": "button",
743
+ "action": "RESET",
744
+ "label": "View Quests"
749
745
  }
750
- ]
746
+ ],
747
+ "align": "center",
748
+ "gap": "lg",
749
+ "direction": "vertical",
750
+ "type": "stack"
751
751
  }
752
752
  ]
753
753
  ]
@@ -762,8 +762,8 @@
762
762
  "QuestLog",
763
763
  {
764
764
  "emit": {
765
- "failure": "QuestLogLoadFailed",
766
- "success": "QuestLogLoaded"
765
+ "success": "QuestLogLoaded",
766
+ "failure": "QuestLogLoadFailed"
767
767
  }
768
768
  }
769
769
  ],
@@ -786,8 +786,8 @@
786
786
  "QuestLog",
787
787
  {
788
788
  "emit": {
789
- "success": "QuestLogLoaded",
790
- "failure": "QuestLogLoadFailed"
789
+ "failure": "QuestLogLoadFailed",
790
+ "success": "QuestLogLoaded"
791
791
  }
792
792
  }
793
793
  ],
@@ -842,4 +842,4 @@
842
842
  ]
843
843
  }
844
844
  ]
845
- }
845
+ }