@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-cart",
3
3
  "version": "1.0.0",
4
- "description": "Shopping cart molecule. Composes atoms: - Cart-specific browse trait (empty/hasItems/checkout states) - stdModal for the add-item form (responds to ADD_ITEM)",
4
+ "description": "std-cart as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "CartItemOrbital",
@@ -17,8 +17,8 @@
17
17
  ],
18
18
  "entity": {
19
19
  "name": "CartItem",
20
- "persistence": "persistent",
21
20
  "collection": "cartitems",
21
+ "persistence": "persistent",
22
22
  "fields": [
23
23
  {
24
24
  "name": "id",
@@ -56,16 +56,81 @@
56
56
  "traits": [
57
57
  {
58
58
  "name": "CartItemCartBrowse",
59
- "linkedEntity": "CartItem",
60
59
  "category": "interaction",
60
+ "linkedEntity": "CartItem",
61
+ "emits": [
62
+ {
63
+ "event": "CartItemLoaded",
64
+ "description": "Fired when the cart collection finishes loading",
65
+ "scope": "internal",
66
+ "payload": [
67
+ {
68
+ "name": "id",
69
+ "type": "string"
70
+ },
71
+ {
72
+ "name": "name",
73
+ "type": "string"
74
+ },
75
+ {
76
+ "name": "description",
77
+ "type": "string"
78
+ },
79
+ {
80
+ "name": "status",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "createdAt",
85
+ "type": "string"
86
+ },
87
+ {
88
+ "name": "pendingId",
89
+ "type": "string"
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "event": "CartItemLoadFailed",
95
+ "description": "Fired when the cart collection fails to load",
96
+ "scope": "internal",
97
+ "payload": [
98
+ {
99
+ "name": "message",
100
+ "type": "string"
101
+ }
102
+ ]
103
+ }
104
+ ],
105
+ "listens": [
106
+ {
107
+ "event": "ITEM_CREATED",
108
+ "triggers": "INIT",
109
+ "source": {
110
+ "kind": "trait",
111
+ "trait": "CartItemPersistor"
112
+ }
113
+ },
114
+ {
115
+ "event": "ITEM_DELETED",
116
+ "triggers": "INIT",
117
+ "source": {
118
+ "kind": "trait",
119
+ "trait": "CartItemPersistor"
120
+ }
121
+ }
122
+ ],
61
123
  "stateMachine": {
62
124
  "states": [
63
125
  {
64
- "name": "browsing",
126
+ "name": "loading",
65
127
  "isInitial": true
66
128
  },
67
129
  {
68
- "name": "checkout"
130
+ "name": "browsing"
131
+ },
132
+ {
133
+ "name": "error"
69
134
  }
70
135
  ],
71
136
  "events": [
@@ -74,49 +139,72 @@
74
139
  "name": "Initialize"
75
140
  },
76
141
  {
77
- "key": "ADD_ITEM",
78
- "name": "Add Item"
142
+ "key": "CartItemLoaded",
143
+ "name": "CartItem loaded"
79
144
  },
80
145
  {
81
- "key": "REQUEST_REMOVE",
82
- "name": "Request Remove",
146
+ "key": "CartItemLoadFailed",
147
+ "name": "CartItem load failed",
83
148
  "payload": [
84
149
  {
85
- "name": "id",
86
- "type": "string",
87
- "required": true
150
+ "name": "message",
151
+ "type": "string"
88
152
  }
89
153
  ]
90
- },
91
- {
92
- "key": "PROCEED_CHECKOUT",
93
- "name": "Proceed to Checkout"
94
- },
95
- {
96
- "key": "BACK_TO_CART",
97
- "name": "Back to Cart"
98
- },
99
- {
100
- "key": "CONFIRM_ORDER",
101
- "name": "Confirm Order"
102
154
  }
103
155
  ],
104
156
  "transitions": [
105
157
  {
106
- "from": "browsing",
107
- "to": "browsing",
158
+ "from": "loading",
159
+ "to": "loading",
108
160
  "event": "INIT",
109
161
  "effects": [
110
162
  [
111
- "ref",
112
- "CartItem"
163
+ "fetch",
164
+ "CartItem",
165
+ {
166
+ "emit": {
167
+ "failure": "CartItemLoadFailed",
168
+ "success": "CartItemLoaded"
169
+ }
170
+ }
113
171
  ],
114
172
  [
115
173
  "render-ui",
116
174
  "main",
117
175
  {
176
+ "direction": "vertical",
177
+ "className": "py-12",
178
+ "gap": "md",
179
+ "children": [
180
+ {
181
+ "type": "spinner",
182
+ "size": "lg"
183
+ },
184
+ {
185
+ "variant": "caption",
186
+ "color": "muted",
187
+ "content": "Loading cart…",
188
+ "type": "typography"
189
+ }
190
+ ],
118
191
  "type": "stack",
192
+ "align": "center"
193
+ }
194
+ ]
195
+ ]
196
+ },
197
+ {
198
+ "from": "loading",
199
+ "to": "browsing",
200
+ "event": "CartItemLoaded",
201
+ "effects": [
202
+ [
203
+ "render-ui",
204
+ "main",
205
+ {
119
206
  "direction": "vertical",
207
+ "type": "stack",
120
208
  "gap": "lg",
121
209
  "children": [
122
210
  {
@@ -126,26 +214,26 @@
126
214
  "justify": "space-between",
127
215
  "children": [
128
216
  {
129
- "type": "stack",
130
- "direction": "horizontal",
131
217
  "gap": "md",
132
218
  "children": [
133
219
  {
134
220
  "type": "icon",
135
- "name": "shopping-cart",
136
- "size": "lg"
221
+ "size": "lg",
222
+ "name": "shopping-cart"
137
223
  },
138
224
  {
139
- "type": "typography",
225
+ "variant": "h2",
140
226
  "content": "Shopping Cart",
141
- "variant": "h2"
227
+ "type": "typography"
142
228
  }
143
- ]
229
+ ],
230
+ "direction": "horizontal",
231
+ "type": "stack"
144
232
  },
145
233
  {
146
- "type": "button",
147
234
  "label": "Add Item",
148
235
  "event": "ADD_ITEM",
236
+ "type": "button",
149
237
  "variant": "primary",
150
238
  "icon": "plus"
151
239
  }
@@ -155,81 +243,37 @@
155
243
  "type": "divider"
156
244
  },
157
245
  {
158
- "type": "simple-grid",
159
- "columns": 3,
160
- "children": [
161
- {
162
- "type": "stat-display",
163
- "label": "Items",
164
- "value": [
165
- "array/len",
166
- "@entity"
167
- ],
168
- "icon": "package"
169
- },
170
- {
171
- "type": "stat-display",
172
- "label": "Subtotal",
173
- "value": [
174
- "array/len",
175
- "@entity"
176
- ],
177
- "icon": "dollar-sign"
178
- },
179
- {
180
- "type": "stat-display",
181
- "label": "Total",
182
- "value": [
183
- "array/len",
184
- "@entity"
185
- ],
186
- "icon": "receipt"
187
- }
188
- ]
189
- },
190
- {
191
- "type": "divider"
192
- },
193
- {
194
- "type": "data-grid",
195
- "entity": "CartItem",
196
- "emptyIcon": "inbox",
197
- "emptyTitle": "Your cart is empty",
198
246
  "emptyDescription": "Add items to get started.",
199
247
  "itemActions": [
200
248
  {
201
249
  "label": "Remove",
202
- "event": "REQUEST_REMOVE",
203
250
  "variant": "danger",
204
- "size": "sm"
251
+ "size": "sm",
252
+ "event": "REQUEST_REMOVE"
205
253
  }
206
254
  ],
255
+ "type": "data-grid",
256
+ "emptyTitle": "Your cart is empty",
257
+ "entity": "CartItem",
207
258
  "columns": [
208
259
  {
209
260
  "name": "name",
261
+ "icon": "shopping-cart",
210
262
  "label": "Name",
211
- "variant": "h4",
212
- "icon": "shopping-cart"
263
+ "variant": "h4"
213
264
  },
214
265
  {
215
- "name": "description",
216
266
  "label": "Description",
217
- "variant": "caption",
218
- "format": "currency"
267
+ "name": "description",
268
+ "variant": "caption"
219
269
  },
220
270
  {
221
- "name": "status",
222
271
  "label": "Status",
272
+ "name": "status",
223
273
  "variant": "badge"
224
274
  }
225
- ]
226
- },
227
- {
228
- "type": "button",
229
- "label": "Proceed to Checkout",
230
- "event": "PROCEED_CHECKOUT",
231
- "variant": "primary",
232
- "icon": "arrow-right"
275
+ ],
276
+ "emptyIcon": "inbox"
233
277
  }
234
278
  ]
235
279
  }
@@ -237,378 +281,272 @@
237
281
  ]
238
282
  },
239
283
  {
240
- "from": "browsing",
241
- "to": "checkout",
242
- "event": "PROCEED_CHECKOUT",
284
+ "from": "loading",
285
+ "to": "error",
286
+ "event": "CartItemLoadFailed",
243
287
  "effects": [
244
- [
245
- "ref",
246
- "CartItem"
247
- ],
248
288
  [
249
289
  "render-ui",
250
290
  "main",
251
291
  {
252
- "type": "stack",
253
- "direction": "vertical",
254
- "gap": "lg",
292
+ "align": "center",
293
+ "className": "py-12",
294
+ "gap": "md",
255
295
  "children": [
256
296
  {
257
- "type": "stack",
258
- "direction": "horizontal",
259
- "gap": "sm",
260
- "children": [
261
- {
262
- "type": "icon",
263
- "name": "clipboard",
264
- "size": "lg"
265
- },
266
- {
267
- "type": "typography",
268
- "content": "Checkout",
269
- "variant": "h2"
270
- }
271
- ]
297
+ "size": "xl",
298
+ "name": "alert-triangle",
299
+ "color": "destructive",
300
+ "type": "icon"
272
301
  },
273
302
  {
274
- "type": "divider"
303
+ "content": "Failed to load cart",
304
+ "type": "typography",
305
+ "variant": "h3"
275
306
  },
276
307
  {
277
- "type": "data-grid",
278
- "entity": "CartItem",
279
- "emptyIcon": "inbox",
280
- "emptyTitle": "Your cart is empty",
281
- "emptyDescription": "Add items to get started.",
282
- "itemActions": [
283
- {
284
- "label": "Remove",
285
- "event": "REQUEST_REMOVE",
286
- "variant": "danger",
287
- "size": "sm"
288
- }
289
- ],
290
- "columns": [
291
- {
292
- "name": "name",
293
- "label": "Name",
294
- "variant": "h4",
295
- "icon": "shopping-cart"
296
- },
297
- {
298
- "name": "description",
299
- "label": "Description",
300
- "variant": "caption",
301
- "format": "currency"
302
- },
303
- {
304
- "name": "status",
305
- "label": "Status",
306
- "variant": "badge"
307
- }
308
- ]
308
+ "color": "muted",
309
+ "content": "@payload.message",
310
+ "type": "typography",
311
+ "variant": "body"
309
312
  },
310
313
  {
311
- "type": "stack",
312
- "direction": "horizontal",
313
- "gap": "sm",
314
- "justify": "end",
315
- "children": [
316
- {
317
- "type": "button",
318
- "label": "Back to Cart",
319
- "event": "BACK_TO_CART",
320
- "variant": "ghost",
321
- "icon": "arrow-left"
322
- },
323
- {
324
- "type": "button",
325
- "label": "Confirm Order",
326
- "event": "CONFIRM_ORDER",
327
- "variant": "primary",
328
- "icon": "check"
329
- }
330
- ]
314
+ "variant": "primary",
315
+ "label": "Retry",
316
+ "icon": "rotate-ccw",
317
+ "type": "button",
318
+ "event": "INIT"
331
319
  }
332
- ]
320
+ ],
321
+ "type": "stack",
322
+ "direction": "vertical"
333
323
  }
334
324
  ]
335
325
  ]
336
326
  },
337
327
  {
338
- "from": "checkout",
339
- "to": "browsing",
340
- "event": "BACK_TO_CART",
328
+ "from": "browsing",
329
+ "to": "loading",
330
+ "event": "INIT",
341
331
  "effects": [
342
332
  [
343
- "ref",
344
- "CartItem"
333
+ "fetch",
334
+ "CartItem",
335
+ {
336
+ "emit": {
337
+ "success": "CartItemLoaded",
338
+ "failure": "CartItemLoadFailed"
339
+ }
340
+ }
341
+ ],
342
+ [
343
+ "render-ui",
344
+ "main",
345
+ {
346
+ "type": "spinner",
347
+ "size": "lg"
348
+ }
345
349
  ]
346
350
  ]
347
351
  },
348
352
  {
349
- "from": "checkout",
350
- "to": "browsing",
351
- "event": "CONFIRM_ORDER",
353
+ "from": "error",
354
+ "to": "loading",
355
+ "event": "INIT",
352
356
  "effects": [
353
357
  [
354
- "ref",
355
- "CartItem"
358
+ "fetch",
359
+ "CartItem",
360
+ {
361
+ "emit": {
362
+ "failure": "CartItemLoadFailed",
363
+ "success": "CartItemLoaded"
364
+ }
365
+ }
356
366
  ],
357
367
  [
358
368
  "render-ui",
359
369
  "main",
360
370
  {
361
- "type": "stack",
362
- "direction": "vertical",
363
- "gap": "lg",
364
- "align": "center",
365
- "children": [
366
- {
367
- "type": "icon",
368
- "name": "check-circle",
369
- "size": "lg"
370
- },
371
- {
372
- "type": "typography",
373
- "content": "Order Confirmed",
374
- "variant": "h2"
375
- },
376
- {
377
- "type": "typography",
378
- "content": "Your order has been placed successfully.",
379
- "variant": "body"
380
- },
381
- {
382
- "type": "button",
383
- "label": "Continue Shopping",
384
- "event": "INIT",
385
- "variant": "primary"
386
- }
387
- ]
371
+ "type": "spinner",
372
+ "size": "lg"
388
373
  }
389
374
  ]
390
375
  ]
391
376
  }
392
377
  ]
393
- }
378
+ },
379
+ "scope": "collection"
394
380
  },
395
381
  {
396
382
  "ref": "Modal.traits.ModalRecordModal",
397
383
  "name": "CartItemAddItem",
398
384
  "linkedEntity": "CartItem",
385
+ "config": {
386
+ "mode": "create",
387
+ "icon": "plus-circle",
388
+ "title": "Add Item",
389
+ "openButtonLabel": "Add Item",
390
+ "fields": [
391
+ "name",
392
+ "description",
393
+ "status"
394
+ ]
395
+ },
399
396
  "events": {
400
397
  "OPEN": "ADD_ITEM"
401
- },
402
- "effects": {
403
- "INIT": [
404
- [
405
- "ref",
406
- "CartItem"
407
- ]
408
- ],
409
- "ADD_ITEM": [
410
- [
411
- "fetch",
412
- "CartItem"
413
- ],
414
- [
415
- "render-ui",
416
- "modal",
417
- {
418
- "type": "stack",
419
- "direction": "vertical",
420
- "gap": "md",
421
- "children": [
422
- {
423
- "type": "stack",
424
- "direction": "horizontal",
425
- "gap": "sm",
426
- "children": [
427
- {
428
- "type": "icon",
429
- "name": "plus-circle",
430
- "size": "md"
431
- },
432
- {
433
- "type": "typography",
434
- "content": "Add Item",
435
- "variant": "h3"
436
- }
437
- ]
438
- },
439
- {
440
- "type": "divider"
441
- },
442
- {
443
- "type": "form-section",
444
- "entity": "CartItem",
445
- "mode": "create",
446
- "submitEvent": "SAVE",
447
- "cancelEvent": "CLOSE",
448
- "fields": [
449
- "name",
450
- "description",
451
- "status"
452
- ]
453
- }
454
- ]
455
- }
456
- ]
457
- ],
458
- "CLOSE": [
459
- [
460
- "render-ui",
461
- "modal",
462
- null
463
- ],
464
- [
465
- "notify",
466
- "Cancelled",
467
- "info"
468
- ]
469
- ],
470
- "SAVE": [
471
- [
472
- "persist",
473
- "create",
474
- "CartItem",
475
- "@payload.data"
476
- ],
477
- [
478
- "render-ui",
479
- "modal",
480
- null
481
- ]
482
- ]
483
398
  }
484
399
  },
485
400
  {
486
401
  "ref": "Confirmation.traits.ConfirmActionConfirmation",
487
402
  "name": "CartItemRemoveConfirm",
488
403
  "linkedEntity": "CartItem",
489
- "events": {
490
- "REQUEST": "REQUEST_REMOVE",
491
- "CONFIRM": "CONFIRM_REMOVE"
404
+ "config": {
405
+ "icon": "alert-triangle",
406
+ "title": "Remove Item",
407
+ "confirmLabel": "Remove",
408
+ "alertMessage": "Are you sure you want to remove this item from your cart?"
492
409
  },
493
- "effects": {
494
- "INIT": [
495
- [
496
- "ref",
497
- "CartItem"
498
- ]
499
- ],
500
- "REQUEST_REMOVE": [
501
- [
502
- "set",
503
- "@entity.pendingId",
504
- "@payload.id"
505
- ],
506
- [
507
- "fetch",
508
- "CartItem",
410
+ "events": {
411
+ "CONFIRM": "CONFIRM_REMOVE",
412
+ "REQUEST": "REQUEST_REMOVE"
413
+ }
414
+ },
415
+ {
416
+ "name": "CartItemPersistor",
417
+ "category": "lifecycle",
418
+ "linkedEntity": "CartItem",
419
+ "emits": [
420
+ {
421
+ "event": "ITEM_CREATED",
422
+ "scope": "external",
423
+ "payload": [
509
424
  {
510
- "id": "@payload.id"
425
+ "name": "id",
426
+ "type": "string"
511
427
  }
512
- ],
513
- [
514
- "render-ui",
515
- "modal",
428
+ ]
429
+ },
430
+ {
431
+ "event": "ITEM_DELETED",
432
+ "scope": "external",
433
+ "payload": [
516
434
  {
517
- "type": "stack",
518
- "direction": "vertical",
519
- "gap": "md",
520
- "children": [
521
- {
522
- "type": "stack",
523
- "direction": "horizontal",
524
- "gap": "sm",
525
- "align": "center",
526
- "children": [
527
- {
528
- "type": "icon",
529
- "name": "alert-triangle",
530
- "size": "md"
531
- },
532
- {
533
- "type": "typography",
534
- "content": "Remove Item",
535
- "variant": "h3"
536
- }
537
- ]
538
- },
539
- {
540
- "type": "divider"
541
- },
542
- {
543
- "type": "alert",
544
- "variant": "danger",
545
- "message": "Are you sure you want to remove this item from your cart?"
546
- },
547
- {
548
- "type": "stack",
549
- "direction": "horizontal",
550
- "gap": "sm",
551
- "justify": "end",
552
- "children": [
553
- {
554
- "type": "button",
555
- "label": "Cancel",
556
- "event": "CANCEL",
557
- "variant": "ghost"
558
- },
559
- {
560
- "type": "button",
561
- "label": "Remove",
562
- "event": "CONFIRM_REMOVE",
563
- "variant": "danger",
564
- "icon": "check"
565
- }
566
- ]
567
- }
568
- ]
435
+ "name": "id",
436
+ "type": "string"
569
437
  }
570
438
  ]
439
+ }
440
+ ],
441
+ "listens": [
442
+ {
443
+ "event": "SAVE",
444
+ "triggers": "DO_CREATE",
445
+ "source": {
446
+ "kind": "trait",
447
+ "trait": "CartItemAddItem"
448
+ }
449
+ },
450
+ {
451
+ "event": "CONFIRM_REMOVE",
452
+ "triggers": "DO_DELETE",
453
+ "source": {
454
+ "kind": "trait",
455
+ "trait": "CartItemRemoveConfirm"
456
+ }
457
+ }
458
+ ],
459
+ "stateMachine": {
460
+ "states": [
461
+ {
462
+ "name": "idle",
463
+ "isInitial": true
464
+ }
571
465
  ],
572
- "CONFIRM_REMOVE": [
573
- [
574
- "persist",
575
- "delete",
576
- "CartItem",
577
- "@entity.pendingId"
578
- ],
579
- [
580
- "render-ui",
581
- "modal",
582
- null
583
- ],
584
- [
585
- "ref",
586
- "CartItem"
587
- ]
588
- ],
589
- "CANCEL": [
590
- [
591
- "render-ui",
592
- "modal",
593
- null
594
- ],
595
- [
596
- "ref",
597
- "CartItem"
598
- ]
466
+ "events": [
467
+ {
468
+ "key": "INIT",
469
+ "name": "Initialize"
470
+ },
471
+ {
472
+ "key": "DO_CREATE",
473
+ "name": "Do Create",
474
+ "payload": [
475
+ {
476
+ "name": "data",
477
+ "type": "object",
478
+ "required": true
479
+ }
480
+ ]
481
+ },
482
+ {
483
+ "key": "DO_DELETE",
484
+ "name": "Do Delete",
485
+ "payload": [
486
+ {
487
+ "name": "id",
488
+ "type": "string"
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "key": "ITEM_CREATED",
494
+ "name": "Item Created"
495
+ },
496
+ {
497
+ "key": "ITEM_DELETED",
498
+ "name": "Item Deleted"
499
+ }
599
500
  ],
600
- "CLOSE": [
601
- [
602
- "render-ui",
603
- "modal",
604
- null
605
- ],
606
- [
607
- "ref",
608
- "CartItem"
609
- ]
501
+ "transitions": [
502
+ {
503
+ "from": "idle",
504
+ "to": "idle",
505
+ "event": "INIT"
506
+ },
507
+ {
508
+ "from": "idle",
509
+ "to": "idle",
510
+ "event": "DO_CREATE",
511
+ "effects": [
512
+ [
513
+ "persist",
514
+ "create",
515
+ "CartItem",
516
+ "@payload.data"
517
+ ],
518
+ [
519
+ "emit",
520
+ "ITEM_CREATED",
521
+ {
522
+ "id": "@payload.data.id"
523
+ }
524
+ ]
525
+ ]
526
+ },
527
+ {
528
+ "from": "idle",
529
+ "to": "idle",
530
+ "event": "DO_DELETE",
531
+ "effects": [
532
+ [
533
+ "persist",
534
+ "delete",
535
+ "CartItem",
536
+ "@entity.pendingId"
537
+ ],
538
+ [
539
+ "emit",
540
+ "ITEM_DELETED",
541
+ {
542
+ "id": "@entity.pendingId"
543
+ }
544
+ ]
545
+ ]
546
+ }
610
547
  ]
611
- }
548
+ },
549
+ "scope": "instance"
612
550
  }
613
551
  ],
614
552
  "pages": [
@@ -624,10 +562,13 @@
624
562
  },
625
563
  {
626
564
  "ref": "CartItemRemoveConfirm"
565
+ },
566
+ {
567
+ "ref": "CartItemPersistor"
627
568
  }
628
569
  ]
629
570
  }
630
571
  ]
631
572
  }
632
573
  ]
633
- }
574
+ }