@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-filter",
3
3
  "version": "1.0.0",
4
- "description": "Filter atom. Shows filter buttons per field with predefined values. Clicking a filter value transitions to filtered state. Clear resets.",
4
+ "description": "std-filter as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "FilterTargetOrbital",
@@ -40,16 +40,62 @@
40
40
  "traits": [
41
41
  {
42
42
  "name": "FilterTargetFilter",
43
- "linkedEntity": "FilterTarget",
44
43
  "category": "interaction",
44
+ "linkedEntity": "FilterTarget",
45
+ "emits": [
46
+ {
47
+ "event": "FilterTargetLoaded",
48
+ "description": "Fired when FilterTarget collection 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": "FilterTargetLoadFailed",
75
+ "description": "Fired when FilterTarget collection 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
  {
48
- "name": "browsing",
88
+ "name": "loading",
49
89
  "isInitial": true
50
90
  },
91
+ {
92
+ "name": "browsing"
93
+ },
51
94
  {
52
95
  "name": "filtered"
96
+ },
97
+ {
98
+ "name": "error"
53
99
  }
54
100
  ],
55
101
  "events": [
@@ -57,6 +103,20 @@
57
103
  "key": "INIT",
58
104
  "name": "Initialize"
59
105
  },
106
+ {
107
+ "key": "FilterTargetLoaded",
108
+ "name": "FilterTarget loaded"
109
+ },
110
+ {
111
+ "key": "FilterTargetLoadFailed",
112
+ "name": "FilterTarget load failed",
113
+ "payload": [
114
+ {
115
+ "name": "message",
116
+ "type": "string"
117
+ }
118
+ ]
119
+ },
60
120
  {
61
121
  "key": "FILTER",
62
122
  "name": "Filter",
@@ -80,34 +140,59 @@
80
140
  ],
81
141
  "transitions": [
82
142
  {
83
- "from": "browsing",
84
- "to": "browsing",
143
+ "from": "loading",
144
+ "to": "loading",
85
145
  "event": "INIT",
86
146
  "effects": [
87
147
  [
88
148
  "fetch",
89
- "FilterTarget"
149
+ "FilterTarget",
150
+ {
151
+ "emit": {
152
+ "failure": "FilterTargetLoadFailed",
153
+ "success": "FilterTargetLoaded"
154
+ }
155
+ }
90
156
  ],
91
157
  [
92
158
  "render-ui",
93
159
  "main",
94
160
  {
95
- "type": "stack",
161
+ "align": "center",
162
+ "gap": "md",
96
163
  "direction": "vertical",
97
- "gap": "lg",
164
+ "className": "py-12",
165
+ "children": [
166
+ {
167
+ "type": "spinner",
168
+ "size": "lg"
169
+ },
170
+ {
171
+ "variant": "caption",
172
+ "color": "muted",
173
+ "type": "typography",
174
+ "content": "Loading…"
175
+ }
176
+ ],
177
+ "type": "stack"
178
+ }
179
+ ]
180
+ ]
181
+ },
182
+ {
183
+ "from": "loading",
184
+ "to": "browsing",
185
+ "event": "FilterTargetLoaded",
186
+ "effects": [
187
+ [
188
+ "render-ui",
189
+ "main",
190
+ {
98
191
  "children": [
99
192
  {
100
- "type": "stack",
101
- "direction": "horizontal",
102
- "gap": "md",
103
193
  "justify": "space-between",
104
- "align": "center",
105
194
  "children": [
106
195
  {
107
- "type": "stack",
108
- "direction": "horizontal",
109
- "gap": "md",
110
- "align": "center",
111
196
  "children": [
112
197
  {
113
198
  "type": "icon",
@@ -119,13 +204,21 @@
119
204
  "content": "FilterTargets",
120
205
  "variant": "h2"
121
206
  }
122
- ]
207
+ ],
208
+ "direction": "horizontal",
209
+ "gap": "md",
210
+ "type": "stack",
211
+ "align": "center"
123
212
  },
124
213
  {
125
- "type": "badge",
126
- "label": "All"
214
+ "label": "All",
215
+ "type": "badge"
127
216
  }
128
- ]
217
+ ],
218
+ "direction": "horizontal",
219
+ "align": "center",
220
+ "gap": "md",
221
+ "type": "stack"
129
222
  },
130
223
  {
131
224
  "type": "divider"
@@ -136,13 +229,13 @@
136
229
  "filters": [
137
230
  {
138
231
  "field": "status",
232
+ "filterType": "select",
139
233
  "label": "Status",
140
234
  "options": [
141
235
  "active",
142
236
  "inactive",
143
237
  "pending"
144
- ],
145
- "filterType": "select"
238
+ ]
146
239
  }
147
240
  ]
148
241
  },
@@ -150,198 +243,80 @@
150
243
  "type": "divider"
151
244
  },
152
245
  {
153
- "type": "data-grid",
154
- "entity": "FilterTarget",
155
- "emptyIcon": "inbox",
156
246
  "emptyTitle": "No filtertargets yet",
157
- "emptyDescription": "Add filtertargets to see them here.",
158
- "className": "transition-shadow hover:shadow-md cursor-pointer",
159
247
  "renderItem": [
160
248
  "fn",
161
249
  "item",
162
250
  {
163
251
  "type": "stack",
164
252
  "direction": "vertical",
165
- "gap": "sm",
166
253
  "children": [
167
254
  {
168
255
  "type": "typography",
169
- "variant": "h4",
170
- "content": "@item.name"
256
+ "content": "@item.name",
257
+ "variant": "h4"
171
258
  },
172
259
  {
173
- "type": "typography",
174
- "variant": "caption",
175
260
  "color": "muted",
176
- "content": "@item.status"
261
+ "content": "@item.status",
262
+ "variant": "caption",
263
+ "type": "typography"
177
264
  }
178
- ]
265
+ ],
266
+ "gap": "sm"
179
267
  }
180
- ]
268
+ ],
269
+ "entity": "FilterTarget",
270
+ "type": "data-grid",
271
+ "emptyIcon": "inbox",
272
+ "emptyDescription": "Add filtertargets to see them here."
181
273
  }
182
- ]
274
+ ],
275
+ "direction": "vertical",
276
+ "gap": "lg",
277
+ "type": "stack"
183
278
  }
184
279
  ]
185
280
  ]
186
281
  },
187
282
  {
188
- "from": "browsing",
189
- "to": "filtered",
190
- "event": "FILTER",
283
+ "from": "loading",
284
+ "to": "error",
285
+ "event": "FilterTargetLoadFailed",
191
286
  "effects": [
192
- [
193
- "fetch",
194
- "FilterTarget",
195
- [
196
- "==",
197
- [
198
- "object/get",
199
- "@entity",
200
- "@payload.field"
201
- ],
202
- "@payload.value"
203
- ]
204
- ],
205
287
  [
206
288
  "render-ui",
207
289
  "main",
208
290
  {
209
291
  "type": "stack",
210
292
  "direction": "vertical",
211
- "gap": "lg",
293
+ "gap": "md",
294
+ "align": "center",
295
+ "className": "py-12",
212
296
  "children": [
213
297
  {
214
- "type": "stack",
215
- "direction": "horizontal",
216
- "gap": "md",
217
- "justify": "space-between",
218
- "align": "center",
219
- "children": [
220
- {
221
- "type": "stack",
222
- "direction": "horizontal",
223
- "gap": "sm",
224
- "align": "center",
225
- "children": [
226
- {
227
- "type": "icon",
228
- "name": "filter",
229
- "size": "lg"
230
- },
231
- {
232
- "type": "typography",
233
- "content": "FilterTargets",
234
- "variant": "h2"
235
- }
236
- ]
237
- },
238
- {
239
- "type": "stack",
240
- "direction": "horizontal",
241
- "gap": "sm",
242
- "align": "center",
243
- "children": [
244
- {
245
- "type": "badge",
246
- "label": "Filtered",
247
- "variant": "primary"
248
- },
249
- {
250
- "type": "button",
251
- "label": "Clear All",
252
- "event": "CLEAR_FILTERS",
253
- "variant": "ghost",
254
- "icon": "x"
255
- }
256
- ]
257
- }
258
- ]
298
+ "size": "xl",
299
+ "name": "alert-triangle",
300
+ "type": "icon",
301
+ "color": "destructive"
259
302
  },
260
303
  {
261
- "type": "stack",
262
- "direction": "horizontal",
263
- "gap": "sm",
264
- "align": "center",
265
- "children": [
266
- {
267
- "type": "icon",
268
- "name": "filter",
269
- "size": "sm"
270
- },
271
- {
272
- "type": "typography",
273
- "variant": "caption",
274
- "color": "muted",
275
- "content": "Filtered by"
276
- },
277
- {
278
- "type": "badge",
279
- "label": "@payload.field",
280
- "variant": "secondary"
281
- },
282
- {
283
- "type": "typography",
284
- "variant": "caption",
285
- "content": "="
286
- },
287
- {
288
- "type": "badge",
289
- "label": "@payload.value",
290
- "variant": "primary"
291
- }
292
- ]
304
+ "type": "typography",
305
+ "variant": "h3",
306
+ "content": "Failed to load"
293
307
  },
294
308
  {
295
- "type": "divider"
296
- },
297
- {
298
- "type": "filter-group",
299
- "entity": "FilterTarget",
300
- "filters": [
301
- {
302
- "field": "status",
303
- "label": "Status",
304
- "options": [
305
- "active",
306
- "inactive",
307
- "pending"
308
- ],
309
- "filterType": "select"
310
- }
311
- ]
312
- },
313
- {
314
- "type": "divider"
309
+ "content": "@payload.message",
310
+ "color": "muted",
311
+ "type": "typography",
312
+ "variant": "body"
315
313
  },
316
314
  {
317
- "type": "data-grid",
318
- "entity": "FilterTarget",
319
- "emptyIcon": "inbox",
320
- "emptyTitle": "No filtertargets yet",
321
- "emptyDescription": "Add filtertargets to see them here.",
322
- "className": "transition-shadow hover:shadow-md cursor-pointer",
323
- "renderItem": [
324
- "fn",
325
- "item",
326
- {
327
- "type": "stack",
328
- "direction": "vertical",
329
- "gap": "sm",
330
- "children": [
331
- {
332
- "type": "typography",
333
- "variant": "h4",
334
- "content": "@item.name"
335
- },
336
- {
337
- "type": "typography",
338
- "variant": "caption",
339
- "color": "muted",
340
- "content": "@item.status"
341
- }
342
- ]
343
- }
344
- ]
315
+ "label": "Retry",
316
+ "variant": "primary",
317
+ "type": "button",
318
+ "icon": "rotate-ccw",
319
+ "event": "INIT"
345
320
  }
346
321
  ]
347
322
  }
@@ -349,43 +324,69 @@
349
324
  ]
350
325
  },
351
326
  {
352
- "from": "filtered",
327
+ "from": "browsing",
328
+ "to": "loading",
329
+ "event": "INIT",
330
+ "effects": [
331
+ [
332
+ "fetch",
333
+ "FilterTarget",
334
+ {
335
+ "emit": {
336
+ "failure": "FilterTargetLoadFailed",
337
+ "success": "FilterTargetLoaded"
338
+ }
339
+ }
340
+ ],
341
+ [
342
+ "render-ui",
343
+ "main",
344
+ {
345
+ "size": "lg",
346
+ "type": "spinner"
347
+ }
348
+ ]
349
+ ]
350
+ },
351
+ {
352
+ "from": "browsing",
353
353
  "to": "filtered",
354
354
  "event": "FILTER",
355
355
  "effects": [
356
356
  [
357
357
  "fetch",
358
358
  "FilterTarget",
359
- [
360
- "==",
361
- [
362
- "object/get",
363
- "@entity",
364
- "@payload.field"
359
+ {
360
+ "filter": [
361
+ "=",
362
+ [
363
+ "object/get",
364
+ "@entity",
365
+ "@payload.field"
366
+ ],
367
+ "@payload.value"
365
368
  ],
366
- "@payload.value"
367
- ]
369
+ "emit": {
370
+ "failure": "FilterTargetLoadFailed",
371
+ "success": "FilterTargetLoaded"
372
+ }
373
+ }
368
374
  ],
369
375
  [
370
376
  "render-ui",
371
377
  "main",
372
378
  {
373
379
  "type": "stack",
374
- "direction": "vertical",
375
- "gap": "lg",
376
380
  "children": [
377
381
  {
378
382
  "type": "stack",
379
- "direction": "horizontal",
380
383
  "gap": "md",
381
384
  "justify": "space-between",
382
- "align": "center",
383
385
  "children": [
384
386
  {
385
- "type": "stack",
386
- "direction": "horizontal",
387
- "gap": "sm",
388
387
  "align": "center",
388
+ "gap": "sm",
389
+ "direction": "horizontal",
389
390
  "children": [
390
391
  {
391
392
  "type": "icon",
@@ -393,17 +394,14 @@
393
394
  "size": "lg"
394
395
  },
395
396
  {
396
- "type": "typography",
397
397
  "content": "FilterTargets",
398
- "variant": "h2"
398
+ "variant": "h2",
399
+ "type": "typography"
399
400
  }
400
- ]
401
+ ],
402
+ "type": "stack"
401
403
  },
402
404
  {
403
- "type": "stack",
404
- "direction": "horizontal",
405
- "gap": "sm",
406
- "align": "center",
407
405
  "children": [
408
406
  {
409
407
  "type": "badge",
@@ -411,49 +409,55 @@
411
409
  "variant": "primary"
412
410
  },
413
411
  {
414
- "type": "button",
415
412
  "label": "Clear All",
413
+ "type": "button",
416
414
  "event": "CLEAR_FILTERS",
417
- "variant": "ghost",
418
- "icon": "x"
415
+ "icon": "x",
416
+ "variant": "ghost"
419
417
  }
420
- ]
418
+ ],
419
+ "align": "center",
420
+ "direction": "horizontal",
421
+ "type": "stack",
422
+ "gap": "sm"
421
423
  }
422
- ]
424
+ ],
425
+ "direction": "horizontal",
426
+ "align": "center"
423
427
  },
424
428
  {
425
- "type": "stack",
426
- "direction": "horizontal",
427
- "gap": "sm",
428
- "align": "center",
429
429
  "children": [
430
430
  {
431
+ "size": "sm",
431
432
  "type": "icon",
432
- "name": "filter",
433
- "size": "sm"
433
+ "name": "filter"
434
434
  },
435
435
  {
436
- "type": "typography",
437
436
  "variant": "caption",
438
- "color": "muted",
439
- "content": "Filtered by"
437
+ "content": "Filtered by",
438
+ "type": "typography",
439
+ "color": "muted"
440
440
  },
441
441
  {
442
- "type": "badge",
443
442
  "label": "@payload.field",
443
+ "type": "badge",
444
444
  "variant": "secondary"
445
445
  },
446
446
  {
447
- "type": "typography",
448
447
  "variant": "caption",
449
- "content": "="
448
+ "content": "=",
449
+ "type": "typography"
450
450
  },
451
451
  {
452
452
  "type": "badge",
453
- "label": "@payload.value",
454
- "variant": "primary"
453
+ "variant": "primary",
454
+ "label": "@payload.value"
455
455
  }
456
- ]
456
+ ],
457
+ "direction": "horizontal",
458
+ "align": "center",
459
+ "gap": "sm",
460
+ "type": "stack"
457
461
  },
458
462
  {
459
463
  "type": "divider"
@@ -463,14 +467,14 @@
463
467
  "entity": "FilterTarget",
464
468
  "filters": [
465
469
  {
466
- "field": "status",
467
- "label": "Status",
468
470
  "options": [
469
471
  "active",
470
472
  "inactive",
471
473
  "pending"
472
474
  ],
473
- "filterType": "select"
475
+ "filterType": "select",
476
+ "field": "status",
477
+ "label": "Status"
474
478
  }
475
479
  ]
476
480
  },
@@ -478,147 +482,128 @@
478
482
  "type": "divider"
479
483
  },
480
484
  {
481
- "type": "data-grid",
482
- "entity": "FilterTarget",
483
485
  "emptyIcon": "inbox",
484
- "emptyTitle": "No filtertargets yet",
485
486
  "emptyDescription": "Add filtertargets to see them here.",
486
- "className": "transition-shadow hover:shadow-md cursor-pointer",
487
487
  "renderItem": [
488
488
  "fn",
489
489
  "item",
490
490
  {
491
491
  "type": "stack",
492
- "direction": "vertical",
493
492
  "gap": "sm",
493
+ "direction": "vertical",
494
494
  "children": [
495
495
  {
496
+ "content": "@item.name",
496
497
  "type": "typography",
497
- "variant": "h4",
498
- "content": "@item.name"
498
+ "variant": "h4"
499
499
  },
500
500
  {
501
- "type": "typography",
502
501
  "variant": "caption",
502
+ "content": "@item.status",
503
503
  "color": "muted",
504
- "content": "@item.status"
504
+ "type": "typography"
505
505
  }
506
506
  ]
507
507
  }
508
- ]
508
+ ],
509
+ "emptyTitle": "No filtertargets yet",
510
+ "type": "data-grid",
511
+ "entity": "FilterTarget"
509
512
  }
513
+ ],
514
+ "gap": "lg",
515
+ "direction": "vertical"
516
+ }
517
+ ]
518
+ ]
519
+ },
520
+ {
521
+ "from": "filtered",
522
+ "to": "filtered",
523
+ "event": "FILTER",
524
+ "effects": [
525
+ [
526
+ "fetch",
527
+ "FilterTarget",
528
+ {
529
+ "emit": {
530
+ "failure": "FilterTargetLoadFailed",
531
+ "success": "FilterTargetLoaded"
532
+ },
533
+ "filter": [
534
+ "=",
535
+ [
536
+ "object/get",
537
+ "@entity",
538
+ "@payload.field"
539
+ ],
540
+ "@payload.value"
510
541
  ]
511
542
  }
543
+ ],
544
+ [
545
+ "render-ui",
546
+ "main",
547
+ {
548
+ "type": "spinner",
549
+ "size": "md"
550
+ }
512
551
  ]
513
552
  ]
514
553
  },
515
554
  {
516
555
  "from": "filtered",
517
- "to": "browsing",
556
+ "to": "loading",
518
557
  "event": "CLEAR_FILTERS",
519
558
  "effects": [
520
559
  [
521
560
  "fetch",
522
- "FilterTarget"
561
+ "FilterTarget",
562
+ {
563
+ "emit": {
564
+ "success": "FilterTargetLoaded",
565
+ "failure": "FilterTargetLoadFailed"
566
+ }
567
+ }
523
568
  ],
524
569
  [
525
570
  "render-ui",
526
571
  "main",
527
572
  {
528
- "type": "stack",
529
- "direction": "vertical",
530
- "gap": "lg",
531
- "children": [
532
- {
533
- "type": "stack",
534
- "direction": "horizontal",
535
- "gap": "md",
536
- "justify": "space-between",
537
- "align": "center",
538
- "children": [
539
- {
540
- "type": "stack",
541
- "direction": "horizontal",
542
- "gap": "md",
543
- "align": "center",
544
- "children": [
545
- {
546
- "type": "icon",
547
- "name": "filter",
548
- "size": "lg"
549
- },
550
- {
551
- "type": "typography",
552
- "content": "FilterTargets",
553
- "variant": "h2"
554
- }
555
- ]
556
- },
557
- {
558
- "type": "badge",
559
- "label": "All"
560
- }
561
- ]
562
- },
563
- {
564
- "type": "divider"
565
- },
566
- {
567
- "type": "filter-group",
568
- "entity": "FilterTarget",
569
- "filters": [
570
- {
571
- "field": "status",
572
- "label": "Status",
573
- "options": [
574
- "active",
575
- "inactive",
576
- "pending"
577
- ],
578
- "filterType": "select"
579
- }
580
- ]
581
- },
582
- {
583
- "type": "divider"
584
- },
585
- {
586
- "type": "data-grid",
587
- "entity": "FilterTarget",
588
- "emptyIcon": "inbox",
589
- "emptyTitle": "No filtertargets yet",
590
- "emptyDescription": "Add filtertargets to see them here.",
591
- "className": "transition-shadow hover:shadow-md cursor-pointer",
592
- "renderItem": [
593
- "fn",
594
- "item",
595
- {
596
- "type": "stack",
597
- "direction": "vertical",
598
- "gap": "sm",
599
- "children": [
600
- {
601
- "type": "typography",
602
- "variant": "h4",
603
- "content": "@item.name"
604
- },
605
- {
606
- "type": "typography",
607
- "variant": "caption",
608
- "color": "muted",
609
- "content": "@item.status"
610
- }
611
- ]
612
- }
613
- ]
614
- }
615
- ]
573
+ "type": "spinner",
574
+ "size": "lg"
575
+ }
576
+ ]
577
+ ]
578
+ },
579
+ {
580
+ "from": "error",
581
+ "to": "loading",
582
+ "event": "INIT",
583
+ "effects": [
584
+ [
585
+ "fetch",
586
+ "FilterTarget",
587
+ {
588
+ "emit": {
589
+ "success": "FilterTargetLoaded",
590
+ "failure": "FilterTargetLoadFailed"
591
+ }
592
+ }
593
+ ],
594
+ [
595
+ "render-ui",
596
+ "main",
597
+ {
598
+ "type": "spinner",
599
+ "size": "lg"
616
600
  }
617
601
  ]
618
602
  ]
619
603
  }
620
604
  ]
621
- }
605
+ },
606
+ "scope": "collection"
622
607
  }
623
608
  ],
624
609
  "pages": [
@@ -634,4 +619,4 @@
634
619
  ]
635
620
  }
636
621
  ]
637
- }
622
+ }