@almadar/std 6.5.2 → 7.2.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 (307) hide show
  1. package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  2. package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  3. package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  4. package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  5. package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  6. package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  7. package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  8. package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  9. package/behaviors/registry/atoms/std-agent-search.orb +217 -61
  10. package/behaviors/registry/atoms/std-agent-session.orb +406 -159
  11. package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  12. package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  13. package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  14. package/behaviors/registry/atoms/std-async.orb +147 -86
  15. package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  16. package/behaviors/registry/atoms/std-browse.orb +260 -126
  17. package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  18. package/behaviors/registry/atoms/std-calendar.orb +280 -215
  19. package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  20. package/behaviors/registry/atoms/std-collision.orb +136 -135
  21. package/behaviors/registry/atoms/std-combat-log.orb +108 -90
  22. package/behaviors/registry/atoms/std-combat.orb +171 -98
  23. package/behaviors/registry/atoms/std-confirmation.orb +28 -300
  24. package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  25. package/behaviors/registry/atoms/std-display.orb +491 -587
  26. package/behaviors/registry/atoms/std-drawer.orb +194 -121
  27. package/behaviors/registry/atoms/std-filter.orb +311 -326
  28. package/behaviors/registry/atoms/std-flip-card.orb +223 -177
  29. package/behaviors/registry/atoms/std-gallery.orb +130 -151
  30. package/behaviors/registry/atoms/std-game-audio.orb +133 -72
  31. package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  32. package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  33. package/behaviors/registry/atoms/std-game-hud.orb +87 -20
  34. package/behaviors/registry/atoms/std-game-menu.orb +32 -32
  35. package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  36. package/behaviors/registry/atoms/std-gameflow.orb +147 -80
  37. package/behaviors/registry/atoms/std-input.orb +128 -393
  38. package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  39. package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  40. package/behaviors/registry/atoms/std-loading.orb +127 -126
  41. package/behaviors/registry/atoms/std-modal.orb +30 -267
  42. package/behaviors/registry/atoms/std-movement.orb +391 -292
  43. package/behaviors/registry/atoms/std-notification.orb +133 -75
  44. package/behaviors/registry/atoms/std-overworld.orb +194 -121
  45. package/behaviors/registry/atoms/std-pagination.orb +120 -53
  46. package/behaviors/registry/atoms/std-physics2d.orb +94 -93
  47. package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  48. package/behaviors/registry/atoms/std-push.orb +172 -36
  49. package/behaviors/registry/atoms/std-quest.orb +552 -449
  50. package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  51. package/behaviors/registry/atoms/std-rating.orb +123 -65
  52. package/behaviors/registry/atoms/std-related.orb +202 -26
  53. package/behaviors/registry/atoms/std-score-board.orb +109 -28
  54. package/behaviors/registry/atoms/std-score.orb +210 -146
  55. package/behaviors/registry/atoms/std-search.orb +265 -138
  56. package/behaviors/registry/atoms/std-selection.orb +311 -220
  57. package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  58. package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  59. package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  60. package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  61. package/behaviors/registry/atoms/std-service-email.orb +195 -107
  62. package/behaviors/registry/atoms/std-service-github.orb +216 -122
  63. package/behaviors/registry/atoms/std-service-llm.orb +204 -122
  64. package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  65. package/behaviors/registry/atoms/std-service-redis.orb +177 -92
  66. package/behaviors/registry/atoms/std-service-storage.orb +211 -122
  67. package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  68. package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  69. package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  70. package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  71. package/behaviors/registry/atoms/std-sort.orb +284 -207
  72. package/behaviors/registry/atoms/std-sprite.orb +150 -74
  73. package/behaviors/registry/atoms/std-tabs.orb +129 -62
  74. package/behaviors/registry/atoms/std-text-effects.orb +251 -190
  75. package/behaviors/registry/atoms/std-theme.orb +193 -135
  76. package/behaviors/registry/atoms/std-timer.orb +320 -344
  77. package/behaviors/registry/atoms/std-undo.orb +278 -199
  78. package/behaviors/registry/atoms/std-upload.orb +112 -111
  79. package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  80. package/behaviors/registry/atoms/std-wizard.orb +445 -336
  81. package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  82. package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  83. package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  84. package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  85. package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  86. package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  87. package/behaviors/registry/molecules/std-builder-game.orb +86 -28
  88. package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  89. package/behaviors/registry/molecules/std-cart.orb +347 -406
  90. package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  91. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  92. package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  93. package/behaviors/registry/molecules/std-detail.orb +133 -138
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  96. package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  97. package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  98. package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  99. package/behaviors/registry/molecules/std-geospatial.orb +175 -122
  100. package/behaviors/registry/molecules/std-inventory.orb +216 -170
  101. package/behaviors/registry/molecules/std-list.orb +280 -205
  102. package/behaviors/registry/molecules/std-messaging.orb +146 -99
  103. package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  104. package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  105. package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  106. package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  107. package/behaviors/registry/molecules/std-quiz.orb +322 -263
  108. package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  109. package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  110. package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  111. package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  112. package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  113. package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  114. package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  115. package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  116. package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  117. package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  118. package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  119. package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  120. package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  121. package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  122. package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  123. package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  124. package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  125. package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  126. package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  127. package/behaviors/registry/organisms/std-cms.orb +1549 -566
  128. package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  129. package/behaviors/registry/organisms/std-crm.orb +1997 -1014
  130. package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  131. package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  132. package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  133. package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  134. package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  135. package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  136. package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  137. package/behaviors/registry/organisms/std-lms.orb +1629 -1046
  138. package/behaviors/registry/organisms/std-logic-training.orb +321 -134
  139. package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  140. package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  141. package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  142. package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  143. package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  144. package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  145. package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  146. package/behaviors/registry/organisms/std-social-feed.orb +612 -252
  147. package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  148. package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  149. package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  150. package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  151. package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  152. package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  153. package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  154. package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  155. package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  156. package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  157. package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  158. package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
  159. package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
  160. package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  161. package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  162. package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  163. package/dist/behaviors/registry/atoms/std-async.orb +147 -86
  164. package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  165. package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
  166. package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  167. package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
  168. package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  169. package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
  170. package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
  171. package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
  172. package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
  173. package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  174. package/dist/behaviors/registry/atoms/std-display.orb +491 -587
  175. package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
  176. package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
  177. package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
  178. package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
  179. package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
  180. package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  181. package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  182. package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
  183. package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
  184. package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  185. package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
  186. package/dist/behaviors/registry/atoms/std-input.orb +128 -393
  187. package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  188. package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  189. package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
  190. package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
  191. package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
  192. package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
  193. package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
  194. package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
  195. package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
  196. package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  197. package/dist/behaviors/registry/atoms/std-push.orb +172 -36
  198. package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
  199. package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  200. package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
  201. package/dist/behaviors/registry/atoms/std-related.orb +202 -26
  202. package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
  203. package/dist/behaviors/registry/atoms/std-score.orb +210 -146
  204. package/dist/behaviors/registry/atoms/std-search.orb +265 -138
  205. package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
  206. package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  207. package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  208. package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  209. package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  210. package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
  211. package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
  212. package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
  213. package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  214. package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
  215. package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
  216. package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  217. package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  218. package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  219. package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  220. package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
  221. package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
  222. package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
  223. package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
  224. package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
  225. package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
  226. package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
  227. package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
  228. package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  229. package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
  230. package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  231. package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  232. package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  233. package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  234. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  235. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  236. package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
  237. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  238. package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
  239. package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  240. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  241. package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  242. package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
  243. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  244. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  245. package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  246. package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  247. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  248. package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
  249. package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
  250. package/dist/behaviors/registry/molecules/std-list.orb +280 -205
  251. package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
  252. package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  253. package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  254. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  255. package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  256. package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
  257. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  258. package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  259. package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  260. package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  261. package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  262. package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  263. package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  264. package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  265. package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  266. package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  267. package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  268. package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  269. package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  270. package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  271. package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  272. package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  273. package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  274. package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  275. package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  276. package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
  277. package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  278. package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
  279. package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  280. package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  281. package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  282. package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  283. package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  284. package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  285. package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  286. package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
  287. package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
  288. package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  289. package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  290. package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  291. package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  292. package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  293. package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  294. package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  295. package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
  296. package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  297. package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  298. package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  299. package/dist/index.js +16 -4
  300. package/dist/index.js.map +1 -1
  301. package/dist/modules/core.js +16 -4
  302. package/dist/modules/core.js.map +1 -1
  303. package/dist/modules/index.js +16 -4
  304. package/dist/modules/index.js.map +1 -1
  305. package/dist/registry.js +16 -4
  306. package/dist/registry.js.map +1 -1
  307. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-quest",
3
3
  "version": "1.0.0",
4
- "description": "Quest/objective tracking behavior: available, active, complete, failed. Pure function: params in, OrbitalDefinition out.",
4
+ "description": "std-quest as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "QuestLogOrbital",
@@ -40,8 +40,48 @@
40
40
  "traits": [
41
41
  {
42
42
  "name": "QuestLogTracking",
43
- "linkedEntity": "QuestLog",
44
43
  "category": "interaction",
44
+ "linkedEntity": "QuestLog",
45
+ "emits": [
46
+ {
47
+ "event": "QuestLogLoaded",
48
+ "description": "Fired when QuestLog finishes loading",
49
+ "scope": "internal",
50
+ "payload": [
51
+ {
52
+ "name": "id",
53
+ "type": "string"
54
+ },
55
+ {
56
+ "name": "name",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "description",
61
+ "type": "string"
62
+ },
63
+ {
64
+ "name": "status",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "name": "createdAt",
69
+ "type": "string"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "event": "QuestLogLoadFailed",
75
+ "description": "Fired when QuestLog fails to load",
76
+ "scope": "internal",
77
+ "payload": [
78
+ {
79
+ "name": "message",
80
+ "type": "string"
81
+ }
82
+ ]
83
+ }
84
+ ],
45
85
  "stateMachine": {
46
86
  "states": [
47
87
  {
@@ -81,6 +121,14 @@
81
121
  }
82
122
  ]
83
123
  },
124
+ {
125
+ "key": "COMPLETE",
126
+ "name": "Complete"
127
+ },
128
+ {
129
+ "key": "FAIL",
130
+ "name": "Fail"
131
+ },
84
132
  {
85
133
  "key": "SAVE",
86
134
  "name": "Save",
@@ -93,24 +141,30 @@
93
141
  ]
94
142
  },
95
143
  {
96
- "key": "COMPLETE",
97
- "name": "Complete"
144
+ "key": "CANCEL",
145
+ "name": "Cancel"
98
146
  },
99
147
  {
100
- "key": "FAIL",
101
- "name": "Fail"
148
+ "key": "CLOSE",
149
+ "name": "Close"
102
150
  },
103
151
  {
104
152
  "key": "RESET",
105
153
  "name": "Reset"
106
154
  },
107
155
  {
108
- "key": "CANCEL",
109
- "name": "Cancel"
156
+ "key": "QuestLogLoaded",
157
+ "name": "QuestLog loaded"
110
158
  },
111
159
  {
112
- "key": "CLOSE",
113
- "name": "Close"
160
+ "key": "QuestLogLoadFailed",
161
+ "name": "QuestLog load failed",
162
+ "payload": [
163
+ {
164
+ "name": "message",
165
+ "type": "string"
166
+ }
167
+ ]
114
168
  }
115
169
  ],
116
170
  "transitions": [
@@ -121,7 +175,13 @@
121
175
  "effects": [
122
176
  [
123
177
  "fetch",
124
- "QuestLog"
178
+ "QuestLog",
179
+ {
180
+ "emit": {
181
+ "failure": "QuestLogLoadFailed",
182
+ "success": "QuestLogLoaded"
183
+ }
184
+ }
125
185
  ],
126
186
  [
127
187
  "render-ui",
@@ -129,16 +189,12 @@
129
189
  {
130
190
  "type": "stack",
131
191
  "direction": "vertical",
132
- "gap": "lg",
133
192
  "children": [
134
193
  {
135
194
  "type": "stack",
136
- "direction": "horizontal",
137
195
  "gap": "md",
138
- "justify": "space-between",
139
196
  "children": [
140
197
  {
141
- "type": "stack",
142
198
  "direction": "horizontal",
143
199
  "gap": "md",
144
200
  "children": [
@@ -148,47 +204,35 @@
148
204
  "size": "lg"
149
205
  },
150
206
  {
151
- "type": "typography",
152
207
  "content": "QuestLogs Board",
208
+ "type": "typography",
153
209
  "variant": "h2"
154
210
  }
155
- ]
211
+ ],
212
+ "type": "stack"
156
213
  }
157
- ]
214
+ ],
215
+ "justify": "space-between",
216
+ "direction": "horizontal"
158
217
  },
159
218
  {
160
219
  "type": "divider"
161
220
  },
162
221
  {
163
- "type": "data-list",
164
222
  "entity": "QuestLog",
165
- "groupBy": "status",
166
- "emptyIcon": "inbox",
167
- "emptyTitle": "No questlogs available",
168
- "emptyDescription": "Check back later for new questlogs.",
169
- "itemActions": [
170
- {
171
- "label": "Accept",
172
- "event": "ACCEPT"
173
- }
174
- ],
175
223
  "renderItem": [
176
224
  "fn",
177
225
  "item",
178
226
  {
179
- "type": "stack",
180
227
  "direction": "vertical",
181
228
  "gap": "sm",
182
229
  "children": [
183
230
  {
184
231
  "type": "stack",
185
232
  "direction": "horizontal",
186
- "justify": "space-between",
187
233
  "align": "center",
188
234
  "children": [
189
235
  {
190
- "type": "stack",
191
- "direction": "horizontal",
192
236
  "gap": "sm",
193
237
  "align": "center",
194
238
  "children": [
@@ -202,24 +246,40 @@
202
246
  "variant": "h4",
203
247
  "content": "@item.name"
204
248
  }
205
- ]
249
+ ],
250
+ "type": "stack",
251
+ "direction": "horizontal"
206
252
  },
207
253
  {
208
254
  "type": "badge",
209
255
  "label": "@item.description"
210
256
  }
211
- ]
257
+ ],
258
+ "justify": "space-between"
212
259
  },
213
260
  {
261
+ "content": "@item.status",
214
262
  "type": "typography",
215
- "variant": "caption",
216
- "content": "@item.status"
263
+ "variant": "caption"
217
264
  }
218
- ]
265
+ ],
266
+ "type": "stack"
219
267
  }
220
- ]
268
+ ],
269
+ "type": "data-list",
270
+ "emptyTitle": "No questlogs available",
271
+ "groupBy": "status",
272
+ "emptyDescription": "Check back later for new questlogs.",
273
+ "itemActions": [
274
+ {
275
+ "event": "ACCEPT",
276
+ "label": "Accept"
277
+ }
278
+ ],
279
+ "emptyIcon": "inbox"
221
280
  }
222
- ]
281
+ ],
282
+ "gap": "lg"
223
283
  }
224
284
  ]
225
285
  ]
@@ -231,58 +291,60 @@
231
291
  "effects": [
232
292
  [
233
293
  "fetch",
234
- "QuestLog"
294
+ "QuestLog",
295
+ {
296
+ "emit": {
297
+ "success": "QuestLogLoaded",
298
+ "failure": "QuestLogLoadFailed"
299
+ }
300
+ }
235
301
  ],
236
302
  [
237
303
  "render-ui",
238
304
  "main",
239
305
  {
240
- "type": "stack",
241
306
  "direction": "vertical",
242
- "gap": "lg",
307
+ "type": "stack",
243
308
  "children": [
244
309
  {
245
- "type": "stack",
246
- "direction": "horizontal",
247
- "gap": "md",
248
- "justify": "space-between",
249
310
  "children": [
250
311
  {
251
- "type": "stack",
252
- "direction": "horizontal",
253
- "gap": "md",
254
312
  "children": [
255
313
  {
256
- "type": "icon",
257
314
  "name": "flag",
315
+ "type": "icon",
258
316
  "size": "lg"
259
317
  },
260
318
  {
261
319
  "type": "typography",
262
- "content": "QuestLogs Board",
263
- "variant": "h2"
320
+ "variant": "h2",
321
+ "content": "QuestLogs Board"
264
322
  }
265
- ]
323
+ ],
324
+ "gap": "md",
325
+ "type": "stack",
326
+ "direction": "horizontal"
266
327
  },
267
328
  {
268
- "type": "badge",
269
- "label": "Active"
329
+ "label": "Active",
330
+ "type": "badge"
270
331
  }
271
- ]
332
+ ],
333
+ "type": "stack",
334
+ "direction": "horizontal",
335
+ "justify": "space-between",
336
+ "gap": "md"
272
337
  },
273
338
  {
274
339
  "type": "divider"
275
340
  },
276
341
  {
277
- "type": "progress-bar",
278
- "value": 50,
279
- "showPercentage": true
342
+ "showPercentage": true,
343
+ "value": 50.0,
344
+ "type": "progress-bar"
280
345
  },
281
346
  {
282
- "type": "data-grid",
283
- "entity": "QuestLog",
284
347
  "emptyIcon": "inbox",
285
- "emptyTitle": "No active quests",
286
348
  "emptyDescription": "Accept a quest to begin.",
287
349
  "itemActions": [
288
350
  {
@@ -304,38 +366,38 @@
304
366
  "item",
305
367
  {
306
368
  "type": "stack",
307
- "direction": "vertical",
308
369
  "gap": "sm",
370
+ "direction": "vertical",
309
371
  "children": [
310
372
  {
311
373
  "type": "stack",
312
- "direction": "horizontal",
313
- "justify": "space-between",
314
374
  "align": "center",
315
375
  "children": [
316
376
  {
317
- "type": "stack",
318
- "direction": "horizontal",
319
377
  "gap": "sm",
378
+ "type": "stack",
320
379
  "align": "center",
321
380
  "children": [
322
381
  {
323
382
  "type": "icon",
324
- "name": "flag",
325
- "size": "sm"
383
+ "size": "sm",
384
+ "name": "flag"
326
385
  },
327
386
  {
328
387
  "type": "typography",
329
- "variant": "h4",
330
- "content": "@item.name"
388
+ "content": "@item.name",
389
+ "variant": "h4"
331
390
  }
332
- ]
391
+ ],
392
+ "direction": "horizontal"
333
393
  },
334
394
  {
335
- "type": "badge",
336
- "label": "@item.description"
395
+ "label": "@item.description",
396
+ "type": "badge"
337
397
  }
338
- ]
398
+ ],
399
+ "justify": "space-between",
400
+ "direction": "horizontal"
339
401
  },
340
402
  {
341
403
  "type": "typography",
@@ -344,9 +406,13 @@
344
406
  }
345
407
  ]
346
408
  }
347
- ]
409
+ ],
410
+ "type": "data-grid",
411
+ "entity": "QuestLog",
412
+ "emptyTitle": "No active quests"
348
413
  }
349
- ]
414
+ ],
415
+ "gap": "lg"
350
416
  }
351
417
  ]
352
418
  ]
@@ -358,74 +424,59 @@
358
424
  "effects": [
359
425
  [
360
426
  "fetch",
361
- "QuestLog"
427
+ "QuestLog",
428
+ {
429
+ "emit": {
430
+ "failure": "QuestLogLoadFailed",
431
+ "success": "QuestLogLoaded"
432
+ }
433
+ }
362
434
  ],
363
435
  [
364
436
  "render-ui",
365
437
  "main",
366
438
  {
367
- "type": "stack",
368
439
  "direction": "vertical",
369
- "gap": "lg",
370
440
  "children": [
371
441
  {
372
- "type": "stack",
373
- "direction": "horizontal",
374
- "gap": "md",
375
442
  "justify": "space-between",
376
443
  "children": [
377
444
  {
378
- "type": "stack",
379
445
  "direction": "horizontal",
380
446
  "gap": "md",
381
447
  "children": [
382
448
  {
449
+ "size": "lg",
383
450
  "type": "icon",
384
- "name": "flag",
385
- "size": "lg"
451
+ "name": "flag"
386
452
  },
387
453
  {
388
454
  "type": "typography",
389
455
  "content": "QuestLogs Board",
390
456
  "variant": "h2"
391
457
  }
392
- ]
458
+ ],
459
+ "type": "stack"
393
460
  },
394
461
  {
395
462
  "type": "badge",
396
463
  "label": "Active"
397
464
  }
398
- ]
465
+ ],
466
+ "gap": "md",
467
+ "type": "stack",
468
+ "direction": "horizontal"
399
469
  },
400
470
  {
401
471
  "type": "divider"
402
472
  },
403
473
  {
404
- "type": "progress-bar",
405
- "value": 50,
406
- "showPercentage": true
474
+ "value": 50.0,
475
+ "showPercentage": true,
476
+ "type": "progress-bar"
407
477
  },
408
478
  {
409
- "type": "data-grid",
410
- "entity": "QuestLog",
411
- "emptyIcon": "inbox",
412
479
  "emptyTitle": "No active quests",
413
- "emptyDescription": "Accept a quest to begin.",
414
- "itemActions": [
415
- {
416
- "label": "Progress",
417
- "event": "PROGRESS"
418
- },
419
- {
420
- "label": "Complete",
421
- "event": "COMPLETE"
422
- },
423
- {
424
- "label": "Fail",
425
- "event": "FAIL",
426
- "variant": "danger"
427
- }
428
- ],
429
480
  "renderItem": [
430
481
  "fn",
431
482
  "item",
@@ -435,16 +486,12 @@
435
486
  "gap": "sm",
436
487
  "children": [
437
488
  {
438
- "type": "stack",
439
- "direction": "horizontal",
440
489
  "justify": "space-between",
490
+ "direction": "horizontal",
491
+ "type": "stack",
441
492
  "align": "center",
442
493
  "children": [
443
494
  {
444
- "type": "stack",
445
- "direction": "horizontal",
446
- "gap": "sm",
447
- "align": "center",
448
495
  "children": [
449
496
  {
450
497
  "type": "icon",
@@ -453,27 +500,52 @@
453
500
  },
454
501
  {
455
502
  "type": "typography",
456
- "variant": "h4",
457
- "content": "@item.name"
503
+ "content": "@item.name",
504
+ "variant": "h4"
458
505
  }
459
- ]
506
+ ],
507
+ "gap": "sm",
508
+ "direction": "horizontal",
509
+ "align": "center",
510
+ "type": "stack"
460
511
  },
461
512
  {
462
- "type": "badge",
463
- "label": "@item.description"
513
+ "label": "@item.description",
514
+ "type": "badge"
464
515
  }
465
516
  ]
466
517
  },
467
518
  {
468
- "type": "typography",
469
519
  "variant": "caption",
470
- "content": "@item.status"
520
+ "content": "@item.status",
521
+ "type": "typography"
471
522
  }
472
523
  ]
473
524
  }
474
- ]
525
+ ],
526
+ "type": "data-grid",
527
+ "entity": "QuestLog",
528
+ "emptyDescription": "Accept a quest to begin.",
529
+ "itemActions": [
530
+ {
531
+ "event": "PROGRESS",
532
+ "label": "Progress"
533
+ },
534
+ {
535
+ "label": "Complete",
536
+ "event": "COMPLETE"
537
+ },
538
+ {
539
+ "variant": "danger",
540
+ "label": "Fail",
541
+ "event": "FAIL"
542
+ }
543
+ ],
544
+ "emptyIcon": "inbox"
475
545
  }
476
- ]
546
+ ],
547
+ "type": "stack",
548
+ "gap": "lg"
477
549
  }
478
550
  ]
479
551
  ]
@@ -487,14 +559,13 @@
487
559
  "render-ui",
488
560
  "modal",
489
561
  {
490
- "type": "stack",
491
- "direction": "vertical",
492
562
  "gap": "md",
563
+ "direction": "vertical",
564
+ "type": "stack",
493
565
  "children": [
494
566
  {
495
- "type": "stack",
496
- "direction": "horizontal",
497
567
  "gap": "sm",
568
+ "direction": "horizontal",
498
569
  "children": [
499
570
  {
500
571
  "type": "icon",
@@ -502,27 +573,28 @@
502
573
  "size": "md"
503
574
  },
504
575
  {
505
- "type": "typography",
506
576
  "content": "Update Progress",
507
- "variant": "h3"
577
+ "variant": "h3",
578
+ "type": "typography"
508
579
  }
509
- ]
580
+ ],
581
+ "type": "stack"
510
582
  },
511
583
  {
512
584
  "type": "divider"
513
585
  },
514
586
  {
515
- "type": "form-section",
516
587
  "entity": "QuestLog",
517
- "mode": "edit",
518
- "submitEvent": "SAVE",
519
588
  "cancelEvent": "CANCEL",
589
+ "submitEvent": "SAVE",
590
+ "type": "form-section",
520
591
  "fields": [
521
592
  "name",
522
593
  "description",
523
594
  "status",
524
595
  "createdAt"
525
- ]
596
+ ],
597
+ "mode": "edit"
526
598
  }
527
599
  ]
528
600
  }
@@ -530,104 +602,167 @@
530
602
  ]
531
603
  },
532
604
  {
533
- "from": "progressing",
534
- "to": "active",
535
- "event": "SAVE",
605
+ "from": "active",
606
+ "to": "complete",
607
+ "event": "COMPLETE",
536
608
  "effects": [
537
- [
538
- "persist",
539
- "update",
540
- "QuestLog",
541
- "@payload.data"
542
- ],
543
- [
544
- "render-ui",
545
- "modal",
546
- null
547
- ],
548
- [
549
- "fetch",
550
- "QuestLog"
551
- ],
552
609
  [
553
610
  "render-ui",
554
611
  "main",
555
612
  {
556
613
  "type": "stack",
557
- "direction": "vertical",
558
614
  "gap": "lg",
559
615
  "children": [
560
616
  {
561
- "type": "stack",
562
- "direction": "horizontal",
563
- "gap": "md",
564
- "justify": "space-between",
565
- "children": [
566
- {
567
- "type": "stack",
568
- "direction": "horizontal",
569
- "gap": "md",
570
- "children": [
571
- {
572
- "type": "icon",
573
- "name": "flag",
574
- "size": "lg"
575
- },
576
- {
577
- "type": "typography",
578
- "content": "QuestLogs Board",
579
- "variant": "h2"
580
- }
581
- ]
582
- },
583
- {
584
- "type": "badge",
585
- "label": "Active"
586
- }
587
- ]
617
+ "size": "lg",
618
+ "type": "icon",
619
+ "name": "check-circle"
588
620
  },
589
621
  {
590
- "type": "divider"
622
+ "variant": "h2",
623
+ "type": "typography",
624
+ "content": "Quest Complete"
591
625
  },
592
626
  {
593
- "type": "progress-bar",
594
- "value": 50,
595
- "showPercentage": true
627
+ "variant": "success",
628
+ "message": "Congratulations! The quest has been completed.",
629
+ "type": "alert"
596
630
  },
597
631
  {
598
- "type": "data-grid",
599
- "entity": "QuestLog",
600
- "emptyIcon": "inbox",
601
- "emptyTitle": "No active quests",
602
- "emptyDescription": "Accept a quest to begin.",
603
- "itemActions": [
604
- {
605
- "label": "Progress",
606
- "event": "PROGRESS"
607
- },
632
+ "variant": "primary",
633
+ "icon": "arrow-left",
634
+ "type": "button",
635
+ "label": "View Quests",
636
+ "event": "RESET"
637
+ }
638
+ ],
639
+ "direction": "vertical",
640
+ "align": "center"
641
+ }
642
+ ]
643
+ ]
644
+ },
645
+ {
646
+ "from": "active",
647
+ "to": "failed",
648
+ "event": "FAIL",
649
+ "effects": [
650
+ [
651
+ "render-ui",
652
+ "main",
653
+ {
654
+ "direction": "vertical",
655
+ "align": "center",
656
+ "type": "stack",
657
+ "gap": "lg",
658
+ "children": [
659
+ {
660
+ "type": "icon",
661
+ "name": "x-circle",
662
+ "size": "lg"
663
+ },
664
+ {
665
+ "variant": "h2",
666
+ "type": "typography",
667
+ "content": "Quest Failed"
668
+ },
669
+ {
670
+ "variant": "danger",
671
+ "type": "alert",
672
+ "message": "The quest was not completed. You can try again."
673
+ },
674
+ {
675
+ "event": "RESET",
676
+ "type": "button",
677
+ "label": "View Quests",
678
+ "variant": "primary",
679
+ "icon": "arrow-left"
680
+ }
681
+ ]
682
+ }
683
+ ]
684
+ ]
685
+ },
686
+ {
687
+ "from": "progressing",
688
+ "to": "active",
689
+ "event": "SAVE",
690
+ "effects": [
691
+ [
692
+ "persist",
693
+ "update",
694
+ "QuestLog",
695
+ "@payload.data"
696
+ ],
697
+ [
698
+ "render-ui",
699
+ "modal",
700
+ null
701
+ ],
702
+ [
703
+ "fetch",
704
+ "QuestLog",
705
+ {
706
+ "emit": {
707
+ "failure": "QuestLogLoadFailed",
708
+ "success": "QuestLogLoaded"
709
+ }
710
+ }
711
+ ],
712
+ [
713
+ "render-ui",
714
+ "main",
715
+ {
716
+ "direction": "vertical",
717
+ "type": "stack",
718
+ "children": [
719
+ {
720
+ "type": "stack",
721
+ "justify": "space-between",
722
+ "children": [
608
723
  {
609
- "label": "Complete",
610
- "event": "COMPLETE"
724
+ "direction": "horizontal",
725
+ "gap": "md",
726
+ "children": [
727
+ {
728
+ "name": "flag",
729
+ "type": "icon",
730
+ "size": "lg"
731
+ },
732
+ {
733
+ "type": "typography",
734
+ "variant": "h2",
735
+ "content": "QuestLogs Board"
736
+ }
737
+ ],
738
+ "type": "stack"
611
739
  },
612
740
  {
613
- "label": "Fail",
614
- "event": "FAIL",
615
- "variant": "danger"
741
+ "label": "Active",
742
+ "type": "badge"
616
743
  }
617
744
  ],
745
+ "gap": "md",
746
+ "direction": "horizontal"
747
+ },
748
+ {
749
+ "type": "divider"
750
+ },
751
+ {
752
+ "type": "progress-bar",
753
+ "value": 50.0,
754
+ "showPercentage": true
755
+ },
756
+ {
618
757
  "renderItem": [
619
758
  "fn",
620
759
  "item",
621
760
  {
622
- "type": "stack",
623
- "direction": "vertical",
624
- "gap": "sm",
625
761
  "children": [
626
762
  {
763
+ "align": "center",
627
764
  "type": "stack",
628
765
  "direction": "horizontal",
629
- "justify": "space-between",
630
- "align": "center",
631
766
  "children": [
632
767
  {
633
768
  "type": "stack",
@@ -641,28 +776,53 @@
641
776
  "size": "sm"
642
777
  },
643
778
  {
644
- "type": "typography",
645
779
  "variant": "h4",
646
- "content": "@item.name"
780
+ "content": "@item.name",
781
+ "type": "typography"
647
782
  }
648
783
  ]
649
784
  },
650
785
  {
651
- "type": "badge",
652
- "label": "@item.description"
786
+ "label": "@item.description",
787
+ "type": "badge"
653
788
  }
654
- ]
789
+ ],
790
+ "justify": "space-between"
655
791
  },
656
792
  {
657
793
  "type": "typography",
658
794
  "variant": "caption",
659
795
  "content": "@item.status"
660
796
  }
661
- ]
797
+ ],
798
+ "direction": "vertical",
799
+ "type": "stack",
800
+ "gap": "sm"
662
801
  }
663
- ]
802
+ ],
803
+ "emptyDescription": "Accept a quest to begin.",
804
+ "type": "data-grid",
805
+ "itemActions": [
806
+ {
807
+ "label": "Progress",
808
+ "event": "PROGRESS"
809
+ },
810
+ {
811
+ "event": "COMPLETE",
812
+ "label": "Complete"
813
+ },
814
+ {
815
+ "event": "FAIL",
816
+ "variant": "danger",
817
+ "label": "Fail"
818
+ }
819
+ ],
820
+ "entity": "QuestLog",
821
+ "emptyTitle": "No active quests",
822
+ "emptyIcon": "inbox"
664
823
  }
665
- ]
824
+ ],
825
+ "gap": "lg"
666
826
  }
667
827
  ]
668
828
  ]
@@ -679,59 +839,60 @@
679
839
  ],
680
840
  [
681
841
  "fetch",
682
- "QuestLog"
842
+ "QuestLog",
843
+ {
844
+ "emit": {
845
+ "success": "QuestLogLoaded",
846
+ "failure": "QuestLogLoadFailed"
847
+ }
848
+ }
683
849
  ],
684
850
  [
685
851
  "render-ui",
686
852
  "main",
687
853
  {
688
- "type": "stack",
689
- "direction": "vertical",
690
- "gap": "lg",
691
854
  "children": [
692
855
  {
693
- "type": "stack",
694
- "direction": "horizontal",
695
856
  "gap": "md",
696
- "justify": "space-between",
697
857
  "children": [
698
858
  {
699
- "type": "stack",
700
859
  "direction": "horizontal",
701
- "gap": "md",
702
860
  "children": [
703
861
  {
704
862
  "type": "icon",
705
- "name": "flag",
706
- "size": "lg"
863
+ "size": "lg",
864
+ "name": "flag"
707
865
  },
708
866
  {
709
- "type": "typography",
710
867
  "content": "QuestLogs Board",
711
- "variant": "h2"
868
+ "variant": "h2",
869
+ "type": "typography"
712
870
  }
713
- ]
871
+ ],
872
+ "gap": "md",
873
+ "type": "stack"
714
874
  },
715
875
  {
716
876
  "type": "badge",
717
877
  "label": "Active"
718
878
  }
719
- ]
879
+ ],
880
+ "justify": "space-between",
881
+ "type": "stack",
882
+ "direction": "horizontal"
720
883
  },
721
884
  {
722
885
  "type": "divider"
723
886
  },
724
887
  {
725
- "type": "progress-bar",
726
- "value": 50,
727
- "showPercentage": true
888
+ "value": 50.0,
889
+ "showPercentage": true,
890
+ "type": "progress-bar"
728
891
  },
729
892
  {
893
+ "emptyDescription": "Accept a quest to begin.",
730
894
  "type": "data-grid",
731
895
  "entity": "QuestLog",
732
- "emptyIcon": "inbox",
733
- "emptyTitle": "No active quests",
734
- "emptyDescription": "Accept a quest to begin.",
735
896
  "itemActions": [
736
897
  {
737
898
  "label": "Progress",
@@ -742,9 +903,9 @@
742
903
  "event": "COMPLETE"
743
904
  },
744
905
  {
906
+ "variant": "danger",
745
907
  "label": "Fail",
746
- "event": "FAIL",
747
- "variant": "danger"
908
+ "event": "FAIL"
748
909
  }
749
910
  ],
750
911
  "renderItem": [
@@ -753,19 +914,14 @@
753
914
  {
754
915
  "type": "stack",
755
916
  "direction": "vertical",
756
- "gap": "sm",
757
917
  "children": [
758
918
  {
759
919
  "type": "stack",
920
+ "align": "center",
760
921
  "direction": "horizontal",
761
922
  "justify": "space-between",
762
- "align": "center",
763
923
  "children": [
764
924
  {
765
- "type": "stack",
766
- "direction": "horizontal",
767
- "gap": "sm",
768
- "align": "center",
769
925
  "children": [
770
926
  {
771
927
  "type": "icon",
@@ -777,24 +933,34 @@
777
933
  "variant": "h4",
778
934
  "content": "@item.name"
779
935
  }
780
- ]
936
+ ],
937
+ "direction": "horizontal",
938
+ "align": "center",
939
+ "gap": "sm",
940
+ "type": "stack"
781
941
  },
782
942
  {
783
- "type": "badge",
784
- "label": "@item.description"
943
+ "label": "@item.description",
944
+ "type": "badge"
785
945
  }
786
946
  ]
787
947
  },
788
948
  {
789
- "type": "typography",
790
949
  "variant": "caption",
950
+ "type": "typography",
791
951
  "content": "@item.status"
792
952
  }
793
- ]
953
+ ],
954
+ "gap": "sm"
794
955
  }
795
- ]
956
+ ],
957
+ "emptyIcon": "inbox",
958
+ "emptyTitle": "No active quests"
796
959
  }
797
- ]
960
+ ],
961
+ "direction": "vertical",
962
+ "gap": "lg",
963
+ "type": "stack"
798
964
  }
799
965
  ]
800
966
  ]
@@ -811,7 +977,13 @@
811
977
  ],
812
978
  [
813
979
  "fetch",
814
- "QuestLog"
980
+ "QuestLog",
981
+ {
982
+ "emit": {
983
+ "success": "QuestLogLoaded",
984
+ "failure": "QuestLogLoadFailed"
985
+ }
986
+ }
815
987
  ],
816
988
  [
817
989
  "render-ui",
@@ -822,52 +994,51 @@
822
994
  "gap": "lg",
823
995
  "children": [
824
996
  {
825
- "type": "stack",
826
997
  "direction": "horizontal",
998
+ "type": "stack",
827
999
  "gap": "md",
828
- "justify": "space-between",
829
1000
  "children": [
830
1001
  {
831
- "type": "stack",
832
1002
  "direction": "horizontal",
833
- "gap": "md",
834
1003
  "children": [
835
1004
  {
836
- "type": "icon",
837
1005
  "name": "flag",
838
- "size": "lg"
1006
+ "size": "lg",
1007
+ "type": "icon"
839
1008
  },
840
1009
  {
1010
+ "variant": "h2",
841
1011
  "type": "typography",
842
- "content": "QuestLogs Board",
843
- "variant": "h2"
1012
+ "content": "QuestLogs Board"
844
1013
  }
845
- ]
1014
+ ],
1015
+ "gap": "md",
1016
+ "type": "stack"
846
1017
  },
847
1018
  {
848
- "type": "badge",
849
- "label": "Active"
1019
+ "label": "Active",
1020
+ "type": "badge"
850
1021
  }
851
- ]
1022
+ ],
1023
+ "justify": "space-between"
852
1024
  },
853
1025
  {
854
1026
  "type": "divider"
855
1027
  },
856
1028
  {
857
1029
  "type": "progress-bar",
858
- "value": 50,
1030
+ "value": 50.0,
859
1031
  "showPercentage": true
860
1032
  },
861
1033
  {
862
- "type": "data-grid",
863
- "entity": "QuestLog",
864
- "emptyIcon": "inbox",
865
- "emptyTitle": "No active quests",
866
1034
  "emptyDescription": "Accept a quest to begin.",
1035
+ "emptyIcon": "inbox",
1036
+ "entity": "QuestLog",
1037
+ "type": "data-grid",
867
1038
  "itemActions": [
868
1039
  {
869
- "label": "Progress",
870
- "event": "PROGRESS"
1040
+ "event": "PROGRESS",
1041
+ "label": "Progress"
871
1042
  },
872
1043
  {
873
1044
  "label": "Complete",
@@ -879,48 +1050,49 @@
879
1050
  "variant": "danger"
880
1051
  }
881
1052
  ],
1053
+ "emptyTitle": "No active quests",
882
1054
  "renderItem": [
883
1055
  "fn",
884
1056
  "item",
885
1057
  {
886
1058
  "type": "stack",
887
- "direction": "vertical",
888
1059
  "gap": "sm",
1060
+ "direction": "vertical",
889
1061
  "children": [
890
1062
  {
891
1063
  "type": "stack",
892
1064
  "direction": "horizontal",
893
- "justify": "space-between",
894
- "align": "center",
895
1065
  "children": [
896
1066
  {
1067
+ "gap": "sm",
897
1068
  "type": "stack",
898
1069
  "direction": "horizontal",
899
- "gap": "sm",
900
- "align": "center",
901
1070
  "children": [
902
1071
  {
903
- "type": "icon",
1072
+ "size": "sm",
904
1073
  "name": "flag",
905
- "size": "sm"
1074
+ "type": "icon"
906
1075
  },
907
1076
  {
908
1077
  "type": "typography",
909
- "variant": "h4",
910
- "content": "@item.name"
1078
+ "content": "@item.name",
1079
+ "variant": "h4"
911
1080
  }
912
- ]
1081
+ ],
1082
+ "align": "center"
913
1083
  },
914
1084
  {
915
1085
  "type": "badge",
916
1086
  "label": "@item.description"
917
1087
  }
918
- ]
1088
+ ],
1089
+ "align": "center",
1090
+ "justify": "space-between"
919
1091
  },
920
1092
  {
1093
+ "content": "@item.status",
921
1094
  "type": "typography",
922
- "variant": "caption",
923
- "content": "@item.status"
1095
+ "variant": "caption"
924
1096
  }
925
1097
  ]
926
1098
  }
@@ -931,88 +1103,6 @@
931
1103
  ]
932
1104
  ]
933
1105
  },
934
- {
935
- "from": "active",
936
- "to": "complete",
937
- "event": "COMPLETE",
938
- "effects": [
939
- [
940
- "render-ui",
941
- "main",
942
- {
943
- "type": "stack",
944
- "direction": "vertical",
945
- "gap": "lg",
946
- "align": "center",
947
- "children": [
948
- {
949
- "type": "icon",
950
- "name": "check-circle",
951
- "size": "lg"
952
- },
953
- {
954
- "type": "typography",
955
- "content": "Quest Complete",
956
- "variant": "h2"
957
- },
958
- {
959
- "type": "alert",
960
- "variant": "success",
961
- "message": "Congratulations! The quest has been completed."
962
- },
963
- {
964
- "type": "button",
965
- "label": "View Quests",
966
- "event": "RESET",
967
- "variant": "primary",
968
- "icon": "arrow-left"
969
- }
970
- ]
971
- }
972
- ]
973
- ]
974
- },
975
- {
976
- "from": "active",
977
- "to": "failed",
978
- "event": "FAIL",
979
- "effects": [
980
- [
981
- "render-ui",
982
- "main",
983
- {
984
- "type": "stack",
985
- "direction": "vertical",
986
- "gap": "lg",
987
- "align": "center",
988
- "children": [
989
- {
990
- "type": "icon",
991
- "name": "x-circle",
992
- "size": "lg"
993
- },
994
- {
995
- "type": "typography",
996
- "content": "Quest Failed",
997
- "variant": "h2"
998
- },
999
- {
1000
- "type": "alert",
1001
- "variant": "danger",
1002
- "message": "The quest was not completed. You can try again."
1003
- },
1004
- {
1005
- "type": "button",
1006
- "label": "View Quests",
1007
- "event": "RESET",
1008
- "variant": "primary",
1009
- "icon": "arrow-left"
1010
- }
1011
- ]
1012
- }
1013
- ]
1014
- ]
1015
- },
1016
1106
  {
1017
1107
  "from": "complete",
1018
1108
  "to": "available",
@@ -1020,31 +1110,32 @@
1020
1110
  "effects": [
1021
1111
  [
1022
1112
  "fetch",
1023
- "QuestLog"
1113
+ "QuestLog",
1114
+ {
1115
+ "emit": {
1116
+ "failure": "QuestLogLoadFailed",
1117
+ "success": "QuestLogLoaded"
1118
+ }
1119
+ }
1024
1120
  ],
1025
1121
  [
1026
1122
  "render-ui",
1027
1123
  "main",
1028
1124
  {
1029
- "type": "stack",
1030
1125
  "direction": "vertical",
1031
- "gap": "lg",
1032
1126
  "children": [
1033
1127
  {
1034
- "type": "stack",
1035
- "direction": "horizontal",
1036
- "gap": "md",
1037
1128
  "justify": "space-between",
1038
1129
  "children": [
1039
1130
  {
1040
- "type": "stack",
1041
- "direction": "horizontal",
1042
1131
  "gap": "md",
1132
+ "direction": "horizontal",
1133
+ "type": "stack",
1043
1134
  "children": [
1044
1135
  {
1136
+ "size": "lg",
1045
1137
  "type": "icon",
1046
- "name": "flag",
1047
- "size": "lg"
1138
+ "name": "flag"
1048
1139
  },
1049
1140
  {
1050
1141
  "type": "typography",
@@ -1053,72 +1144,77 @@
1053
1144
  }
1054
1145
  ]
1055
1146
  }
1056
- ]
1147
+ ],
1148
+ "type": "stack",
1149
+ "direction": "horizontal",
1150
+ "gap": "md"
1057
1151
  },
1058
1152
  {
1059
1153
  "type": "divider"
1060
1154
  },
1061
1155
  {
1062
- "type": "data-list",
1063
1156
  "entity": "QuestLog",
1064
- "groupBy": "status",
1065
1157
  "emptyIcon": "inbox",
1066
1158
  "emptyTitle": "No questlogs available",
1067
- "emptyDescription": "Check back later for new questlogs.",
1068
- "itemActions": [
1069
- {
1070
- "label": "Accept",
1071
- "event": "ACCEPT"
1072
- }
1073
- ],
1159
+ "groupBy": "status",
1074
1160
  "renderItem": [
1075
1161
  "fn",
1076
1162
  "item",
1077
1163
  {
1078
1164
  "type": "stack",
1079
- "direction": "vertical",
1080
- "gap": "sm",
1081
1165
  "children": [
1082
1166
  {
1083
- "type": "stack",
1084
- "direction": "horizontal",
1085
1167
  "justify": "space-between",
1086
- "align": "center",
1087
1168
  "children": [
1088
1169
  {
1089
- "type": "stack",
1090
- "direction": "horizontal",
1091
1170
  "gap": "sm",
1092
- "align": "center",
1171
+ "direction": "horizontal",
1172
+ "type": "stack",
1093
1173
  "children": [
1094
1174
  {
1095
- "type": "icon",
1096
1175
  "name": "flag",
1097
- "size": "sm"
1176
+ "size": "sm",
1177
+ "type": "icon"
1098
1178
  },
1099
1179
  {
1100
1180
  "type": "typography",
1101
1181
  "variant": "h4",
1102
1182
  "content": "@item.name"
1103
1183
  }
1104
- ]
1184
+ ],
1185
+ "align": "center"
1105
1186
  },
1106
1187
  {
1107
1188
  "type": "badge",
1108
1189
  "label": "@item.description"
1109
1190
  }
1110
- ]
1191
+ ],
1192
+ "direction": "horizontal",
1193
+ "type": "stack",
1194
+ "align": "center"
1111
1195
  },
1112
1196
  {
1113
1197
  "type": "typography",
1114
- "variant": "caption",
1115
- "content": "@item.status"
1198
+ "content": "@item.status",
1199
+ "variant": "caption"
1116
1200
  }
1117
- ]
1201
+ ],
1202
+ "direction": "vertical",
1203
+ "gap": "sm"
1118
1204
  }
1119
- ]
1205
+ ],
1206
+ "emptyDescription": "Check back later for new questlogs.",
1207
+ "itemActions": [
1208
+ {
1209
+ "event": "ACCEPT",
1210
+ "label": "Accept"
1211
+ }
1212
+ ],
1213
+ "type": "data-list"
1120
1214
  }
1121
- ]
1215
+ ],
1216
+ "type": "stack",
1217
+ "gap": "lg"
1122
1218
  }
1123
1219
  ]
1124
1220
  ]
@@ -1130,38 +1226,43 @@
1130
1226
  "effects": [
1131
1227
  [
1132
1228
  "fetch",
1133
- "QuestLog"
1229
+ "QuestLog",
1230
+ {
1231
+ "emit": {
1232
+ "success": "QuestLogLoaded",
1233
+ "failure": "QuestLogLoadFailed"
1234
+ }
1235
+ }
1134
1236
  ],
1135
1237
  [
1136
1238
  "render-ui",
1137
1239
  "main",
1138
1240
  {
1139
- "type": "stack",
1140
1241
  "direction": "vertical",
1141
- "gap": "lg",
1242
+ "type": "stack",
1142
1243
  "children": [
1143
1244
  {
1144
- "type": "stack",
1145
- "direction": "horizontal",
1146
1245
  "gap": "md",
1246
+ "type": "stack",
1147
1247
  "justify": "space-between",
1248
+ "direction": "horizontal",
1148
1249
  "children": [
1149
1250
  {
1150
1251
  "type": "stack",
1151
- "direction": "horizontal",
1152
- "gap": "md",
1153
1252
  "children": [
1154
1253
  {
1254
+ "size": "lg",
1155
1255
  "type": "icon",
1156
- "name": "flag",
1157
- "size": "lg"
1256
+ "name": "flag"
1158
1257
  },
1159
1258
  {
1160
- "type": "typography",
1161
1259
  "content": "QuestLogs Board",
1162
- "variant": "h2"
1260
+ "variant": "h2",
1261
+ "type": "typography"
1163
1262
  }
1164
- ]
1263
+ ],
1264
+ "gap": "md",
1265
+ "direction": "horizontal"
1165
1266
  }
1166
1267
  ]
1167
1268
  },
@@ -1169,72 +1270,74 @@
1169
1270
  "type": "divider"
1170
1271
  },
1171
1272
  {
1172
- "type": "data-list",
1173
- "entity": "QuestLog",
1174
- "groupBy": "status",
1175
- "emptyIcon": "inbox",
1176
- "emptyTitle": "No questlogs available",
1177
- "emptyDescription": "Check back later for new questlogs.",
1178
- "itemActions": [
1179
- {
1180
- "label": "Accept",
1181
- "event": "ACCEPT"
1182
- }
1183
- ],
1184
1273
  "renderItem": [
1185
1274
  "fn",
1186
1275
  "item",
1187
1276
  {
1188
1277
  "type": "stack",
1189
1278
  "direction": "vertical",
1190
- "gap": "sm",
1191
1279
  "children": [
1192
1280
  {
1193
- "type": "stack",
1194
- "direction": "horizontal",
1195
- "justify": "space-between",
1196
- "align": "center",
1197
1281
  "children": [
1198
1282
  {
1199
- "type": "stack",
1200
- "direction": "horizontal",
1201
- "gap": "sm",
1202
- "align": "center",
1203
1283
  "children": [
1204
1284
  {
1205
- "type": "icon",
1206
1285
  "name": "flag",
1207
- "size": "sm"
1286
+ "size": "sm",
1287
+ "type": "icon"
1208
1288
  },
1209
1289
  {
1210
- "type": "typography",
1211
1290
  "variant": "h4",
1291
+ "type": "typography",
1212
1292
  "content": "@item.name"
1213
1293
  }
1214
- ]
1294
+ ],
1295
+ "type": "stack",
1296
+ "align": "center",
1297
+ "gap": "sm",
1298
+ "direction": "horizontal"
1215
1299
  },
1216
1300
  {
1217
- "type": "badge",
1218
- "label": "@item.description"
1301
+ "label": "@item.description",
1302
+ "type": "badge"
1219
1303
  }
1220
- ]
1304
+ ],
1305
+ "type": "stack",
1306
+ "direction": "horizontal",
1307
+ "align": "center",
1308
+ "justify": "space-between"
1221
1309
  },
1222
1310
  {
1223
- "type": "typography",
1224
1311
  "variant": "caption",
1312
+ "type": "typography",
1225
1313
  "content": "@item.status"
1226
1314
  }
1227
- ]
1315
+ ],
1316
+ "gap": "sm"
1228
1317
  }
1229
- ]
1318
+ ],
1319
+ "emptyIcon": "inbox",
1320
+ "entity": "QuestLog",
1321
+ "itemActions": [
1322
+ {
1323
+ "event": "ACCEPT",
1324
+ "label": "Accept"
1325
+ }
1326
+ ],
1327
+ "type": "data-list",
1328
+ "emptyDescription": "Check back later for new questlogs.",
1329
+ "groupBy": "status",
1330
+ "emptyTitle": "No questlogs available"
1230
1331
  }
1231
- ]
1332
+ ],
1333
+ "gap": "lg"
1232
1334
  }
1233
1335
  ]
1234
1336
  ]
1235
1337
  }
1236
1338
  ]
1237
- }
1339
+ },
1340
+ "scope": "collection"
1238
1341
  }
1239
1342
  ],
1240
1343
  "pages": [
@@ -1250,4 +1353,4 @@
1250
1353
  ]
1251
1354
  }
1252
1355
  ]
1253
- }
1356
+ }