@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-inventory",
3
3
  "version": "1.0.0",
4
- "description": "Item collection molecule. Composes atoms via shared event bus: - stdBrowse: data-grid with item actions (fires ADD_ITEM, USE_ITEM, DROP) - stdModal (add): create form for adding items (responds to ADD_ITEM) - stdModal (use): item detail for using items (responds to USE_ITEM) - stdConfirmation: drop confirmation (responds to DROP)",
4
+ "description": "std-inventory as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "InventoryItemOrbital",
@@ -21,8 +21,8 @@
21
21
  ],
22
22
  "entity": {
23
23
  "name": "InventoryItem",
24
- "persistence": "persistent",
25
24
  "collection": "inventoryitems",
25
+ "persistence": "persistent",
26
26
  "fields": [
27
27
  {
28
28
  "name": "id",
@@ -55,29 +55,6 @@
55
55
  "type": "string",
56
56
  "default": ""
57
57
  }
58
- ],
59
- "instances": [
60
- {
61
- "id": "item-1",
62
- "name": "Health Potion",
63
- "description": "Restores 50 HP",
64
- "status": "active",
65
- "pendingId": ""
66
- },
67
- {
68
- "id": "item-2",
69
- "name": "Iron Sword",
70
- "description": "A sturdy blade",
71
- "status": "active",
72
- "pendingId": ""
73
- },
74
- {
75
- "id": "item-3",
76
- "name": "Wooden Shield",
77
- "description": "Basic protection",
78
- "status": "active",
79
- "pendingId": ""
80
- }
81
58
  ]
82
59
  },
83
60
  "traits": [
@@ -85,6 +62,32 @@
85
62
  "ref": "Browse.traits.BrowseItemBrowse",
86
63
  "name": "InventoryItemBrowse",
87
64
  "linkedEntity": "InventoryItem",
65
+ "listens": [
66
+ {
67
+ "event": "ITEM_ADDED",
68
+ "triggers": "INIT",
69
+ "source": {
70
+ "kind": "trait",
71
+ "trait": "InventoryItemAdd"
72
+ }
73
+ },
74
+ {
75
+ "event": "ITEM_USED",
76
+ "triggers": "INIT",
77
+ "source": {
78
+ "kind": "trait",
79
+ "trait": "InventoryItemUse"
80
+ }
81
+ },
82
+ {
83
+ "event": "CONFIRM_DROP",
84
+ "triggers": "INIT",
85
+ "source": {
86
+ "kind": "trait",
87
+ "trait": "InventoryItemDrop"
88
+ }
89
+ }
90
+ ],
88
91
  "effects": {
89
92
  "INIT": [
90
93
  [
@@ -95,67 +98,66 @@
95
98
  "render-ui",
96
99
  "main",
97
100
  {
98
- "type": "stack",
99
- "direction": "vertical",
100
- "gap": "lg",
101
101
  "className": "max-w-5xl mx-auto w-full",
102
+ "direction": "vertical",
103
+ "type": "stack",
102
104
  "children": [
103
105
  {
106
+ "justify": "space-between",
104
107
  "type": "stack",
105
108
  "direction": "horizontal",
106
- "gap": "md",
107
- "justify": "space-between",
108
109
  "align": "center",
109
110
  "children": [
110
111
  {
111
- "type": "stack",
112
- "direction": "horizontal",
113
- "gap": "sm",
114
112
  "align": "center",
113
+ "type": "stack",
115
114
  "children": [
116
115
  {
117
- "type": "icon",
118
116
  "name": "package",
119
- "size": "lg"
117
+ "size": "lg",
118
+ "type": "icon"
120
119
  },
121
120
  {
122
- "type": "typography",
123
121
  "content": "InventoryItems Inventory",
122
+ "type": "typography",
124
123
  "variant": "h2"
125
124
  }
126
- ]
125
+ ],
126
+ "direction": "horizontal",
127
+ "gap": "sm"
127
128
  },
128
129
  {
129
130
  "type": "stack",
130
- "direction": "horizontal",
131
- "gap": "sm",
132
131
  "children": [
133
132
  {
134
- "type": "button",
133
+ "icon": "plus",
135
134
  "label": "Add InventoryItem",
135
+ "type": "button",
136
136
  "event": "ADD_ITEM",
137
- "variant": "primary",
138
- "icon": "plus"
137
+ "variant": "primary"
139
138
  }
140
- ]
139
+ ],
140
+ "gap": "sm",
141
+ "direction": "horizontal"
141
142
  }
142
- ]
143
+ ],
144
+ "gap": "md"
143
145
  },
144
146
  {
145
147
  "type": "divider"
146
148
  },
147
149
  {
148
- "type": "data-grid",
150
+ "emptyDescription": "Add your first item to get started.",
149
151
  "entity": "InventoryItem",
150
152
  "emptyIcon": "inbox",
153
+ "type": "data-grid",
151
154
  "emptyTitle": "No items yet",
152
- "emptyDescription": "Add your first item to get started.",
153
155
  "itemActions": [
154
156
  {
155
- "label": "Use",
156
157
  "event": "USE_ITEM",
157
158
  "variant": "ghost",
158
- "size": "sm"
159
+ "size": "sm",
160
+ "label": "Use"
159
161
  },
160
162
  {
161
163
  "label": "Drop",
@@ -166,38 +168,39 @@
166
168
  ],
167
169
  "columns": [
168
170
  {
169
- "name": "name",
170
- "label": "Name",
171
+ "icon": "package",
171
172
  "variant": "h4",
172
- "icon": "package"
173
+ "label": "Name",
174
+ "name": "name"
173
175
  },
174
176
  {
175
177
  "name": "description",
176
- "label": "Description",
177
- "variant": "badge",
178
178
  "colorMap": {
179
+ "draft": "warning",
180
+ "archived": "neutral",
181
+ "disabled": "neutral",
179
182
  "active": "success",
183
+ "failed": "destructive",
184
+ "cancelled": "destructive",
180
185
  "completed": "success",
181
- "done": "success",
182
186
  "pending": "warning",
183
- "draft": "warning",
184
187
  "scheduled": "warning",
185
188
  "inactive": "neutral",
186
- "archived": "neutral",
187
- "disabled": "neutral",
188
- "error": "destructive",
189
- "cancelled": "destructive",
190
- "failed": "destructive"
191
- }
189
+ "done": "success",
190
+ "error": "destructive"
191
+ },
192
+ "variant": "badge",
193
+ "label": "Description"
192
194
  },
193
195
  {
194
- "name": "status",
195
196
  "label": "Status",
197
+ "name": "status",
196
198
  "variant": "caption"
197
199
  }
198
200
  ]
199
201
  }
200
- ]
202
+ ],
203
+ "gap": "lg"
201
204
  }
202
205
  ]
203
206
  ]
@@ -208,15 +211,10 @@
208
211
  "name": "InventoryItemAdd",
209
212
  "linkedEntity": "InventoryItem",
210
213
  "events": {
214
+ "SAVE": "ITEM_ADDED",
211
215
  "OPEN": "ADD_ITEM"
212
216
  },
213
217
  "effects": {
214
- "INIT": [
215
- [
216
- "ref",
217
- "InventoryItem"
218
- ]
219
- ],
220
218
  "ADD_ITEM": [
221
219
  [
222
220
  "fetch",
@@ -226,23 +224,20 @@
226
224
  "render-ui",
227
225
  "modal",
228
226
  {
229
- "type": "stack",
230
- "direction": "vertical",
231
- "gap": "md",
232
227
  "children": [
233
228
  {
234
- "type": "stack",
235
229
  "direction": "horizontal",
230
+ "type": "stack",
236
231
  "gap": "sm",
237
232
  "children": [
238
233
  {
239
- "type": "icon",
240
234
  "name": "plus-circle",
241
- "size": "md"
235
+ "size": "md",
236
+ "type": "icon"
242
237
  },
243
238
  {
244
- "type": "typography",
245
239
  "content": "Add InventoryItem",
240
+ "type": "typography",
246
241
  "variant": "h3"
247
242
  }
248
243
  ]
@@ -251,48 +246,67 @@
251
246
  "type": "divider"
252
247
  },
253
248
  {
254
- "type": "form-section",
255
- "entity": "InventoryItem",
256
249
  "mode": "create",
250
+ "entity": "InventoryItem",
257
251
  "submitEvent": "SAVE",
258
252
  "cancelEvent": "CLOSE",
253
+ "type": "form-section",
259
254
  "fields": [
260
255
  "name",
261
256
  "description",
262
257
  "status"
263
258
  ]
264
259
  }
265
- ]
260
+ ],
261
+ "type": "stack",
262
+ "gap": "md",
263
+ "direction": "vertical"
266
264
  }
267
265
  ]
268
266
  ],
269
- "CLOSE": [
267
+ "ITEM_ADDED": [
268
+ [
269
+ "persist",
270
+ "create",
271
+ "InventoryItem",
272
+ "@payload.data"
273
+ ],
270
274
  [
271
275
  "render-ui",
272
276
  "modal",
273
277
  null
274
278
  ],
275
279
  [
276
- "notify",
277
- "Cancelled",
278
- "info"
280
+ "render-ui",
281
+ "main",
282
+ {
283
+ "type": "box"
284
+ }
279
285
  ]
280
286
  ],
281
- "SAVE": [
282
- [
283
- "persist",
284
- "create",
285
- "InventoryItem",
286
- "@payload.data"
287
- ],
287
+ "CLOSE": [
288
288
  [
289
289
  "render-ui",
290
290
  "modal",
291
291
  null
292
292
  ],
293
293
  [
294
- "emit",
295
- "ITEM_ADDED"
294
+ "render-ui",
295
+ "main",
296
+ {
297
+ "type": "box"
298
+ }
299
+ ],
300
+ [
301
+ "notify",
302
+ "Cancelled",
303
+ "info"
304
+ ]
305
+ ],
306
+ "INIT": [
307
+ [
308
+ "ref",
309
+ "InventoryItem"
296
310
  ]
297
311
  ]
298
312
  }
@@ -302,9 +316,49 @@
302
316
  "name": "InventoryItemUse",
303
317
  "linkedEntity": "InventoryItem",
304
318
  "events": {
319
+ "SAVE": "ITEM_USED",
305
320
  "OPEN": "USE_ITEM"
306
321
  },
307
322
  "effects": {
323
+ "CLOSE": [
324
+ [
325
+ "render-ui",
326
+ "modal",
327
+ null
328
+ ],
329
+ [
330
+ "render-ui",
331
+ "main",
332
+ {
333
+ "type": "box"
334
+ }
335
+ ],
336
+ [
337
+ "notify",
338
+ "Cancelled",
339
+ "info"
340
+ ]
341
+ ],
342
+ "ITEM_USED": [
343
+ [
344
+ "persist",
345
+ "update",
346
+ "InventoryItem",
347
+ "@payload.data"
348
+ ],
349
+ [
350
+ "render-ui",
351
+ "modal",
352
+ null
353
+ ],
354
+ [
355
+ "render-ui",
356
+ "main",
357
+ {
358
+ "type": "box"
359
+ }
360
+ ]
361
+ ],
308
362
  "INIT": [
309
363
  [
310
364
  "ref",
@@ -323,90 +377,61 @@
323
377
  "render-ui",
324
378
  "modal",
325
379
  {
326
- "type": "stack",
327
- "direction": "vertical",
328
380
  "gap": "md",
329
381
  "align": "center",
330
382
  "children": [
331
383
  {
332
- "type": "stack",
333
- "direction": "horizontal",
334
- "gap": "sm",
335
- "align": "center",
336
384
  "children": [
337
385
  {
338
- "type": "icon",
339
386
  "name": "zap",
340
- "size": "md"
387
+ "size": "md",
388
+ "type": "icon"
341
389
  },
342
390
  {
343
391
  "type": "typography",
344
- "content": "Use InventoryItem",
345
- "variant": "h3"
392
+ "variant": "h3",
393
+ "content": "Use InventoryItem"
346
394
  }
347
- ]
395
+ ],
396
+ "direction": "horizontal",
397
+ "gap": "sm",
398
+ "type": "stack",
399
+ "align": "center"
348
400
  },
349
401
  {
350
402
  "type": "divider"
351
403
  },
352
404
  {
353
405
  "type": "typography",
354
- "content": "@entity.name",
355
- "variant": "body"
406
+ "variant": "body",
407
+ "content": "@entity.name"
356
408
  },
357
409
  {
358
410
  "type": "stack",
359
- "direction": "horizontal",
360
- "gap": "sm",
361
- "justify": "center",
362
411
  "children": [
363
412
  {
364
- "type": "button",
365
413
  "label": "Cancel",
366
414
  "event": "CLOSE",
367
- "variant": "ghost"
415
+ "variant": "ghost",
416
+ "type": "button"
368
417
  },
369
418
  {
370
- "type": "button",
371
- "label": "Confirm Use",
372
- "event": "SAVE",
419
+ "event": "ITEM_USED",
373
420
  "variant": "primary",
374
- "icon": "check"
421
+ "label": "Confirm Use",
422
+ "icon": "check",
423
+ "type": "button"
375
424
  }
376
- ]
425
+ ],
426
+ "direction": "horizontal",
427
+ "gap": "sm",
428
+ "justify": "center"
377
429
  }
378
- ]
430
+ ],
431
+ "type": "stack",
432
+ "direction": "vertical"
379
433
  }
380
434
  ]
381
- ],
382
- "CLOSE": [
383
- [
384
- "render-ui",
385
- "modal",
386
- null
387
- ],
388
- [
389
- "notify",
390
- "Cancelled",
391
- "info"
392
- ]
393
- ],
394
- "SAVE": [
395
- [
396
- "persist",
397
- "update",
398
- "InventoryItem",
399
- "@payload.data"
400
- ],
401
- [
402
- "render-ui",
403
- "modal",
404
- null
405
- ],
406
- [
407
- "emit",
408
- "ITEM_USED"
409
- ]
410
435
  ]
411
436
  }
412
437
  },
@@ -442,41 +467,39 @@
442
467
  "render-ui",
443
468
  "modal",
444
469
  {
445
- "type": "stack",
446
- "direction": "vertical",
447
470
  "gap": "md",
471
+ "type": "stack",
448
472
  "children": [
449
473
  {
474
+ "gap": "sm",
450
475
  "type": "stack",
451
476
  "direction": "horizontal",
452
- "gap": "sm",
453
- "align": "center",
454
477
  "children": [
455
478
  {
479
+ "size": "md",
456
480
  "type": "icon",
457
- "name": "alert-triangle",
458
- "size": "md"
481
+ "name": "alert-triangle"
459
482
  },
460
483
  {
461
- "type": "typography",
462
484
  "content": "Drop InventoryItem",
485
+ "type": "typography",
463
486
  "variant": "h3"
464
487
  }
465
- ]
488
+ ],
489
+ "align": "center"
466
490
  },
467
491
  {
468
492
  "type": "divider"
469
493
  },
470
494
  {
471
- "type": "alert",
472
495
  "variant": "danger",
473
- "message": "Are you sure you want to drop this inventoryitem?"
496
+ "message": "Are you sure you want to drop this inventoryitem?",
497
+ "type": "alert"
474
498
  },
475
499
  {
476
500
  "type": "stack",
477
501
  "direction": "horizontal",
478
502
  "gap": "sm",
479
- "justify": "end",
480
503
  "children": [
481
504
  {
482
505
  "type": "button",
@@ -485,41 +508,57 @@
485
508
  "variant": "ghost"
486
509
  },
487
510
  {
488
- "type": "button",
489
511
  "label": "Drop",
490
- "event": "CONFIRM_DROP",
491
512
  "variant": "danger",
492
- "icon": "check"
513
+ "type": "button",
514
+ "icon": "check",
515
+ "event": "CONFIRM_DROP"
493
516
  }
494
- ]
517
+ ],
518
+ "justify": "end"
495
519
  }
496
- ]
520
+ ],
521
+ "direction": "vertical"
497
522
  }
498
523
  ]
499
524
  ],
500
- "CONFIRM_DROP": [
501
- [
502
- "persist",
503
- "delete",
504
- "InventoryItem",
505
- "@entity.pendingId"
506
- ],
525
+ "CANCEL": [
507
526
  [
508
527
  "render-ui",
509
528
  "modal",
510
529
  null
511
530
  ],
531
+ [
532
+ "render-ui",
533
+ "main",
534
+ {
535
+ "type": "box"
536
+ }
537
+ ],
512
538
  [
513
539
  "ref",
514
540
  "InventoryItem"
515
541
  ]
516
542
  ],
517
- "CANCEL": [
543
+ "CONFIRM_DROP": [
544
+ [
545
+ "persist",
546
+ "delete",
547
+ "InventoryItem",
548
+ "@entity.pendingId"
549
+ ],
518
550
  [
519
551
  "render-ui",
520
552
  "modal",
521
553
  null
522
554
  ],
555
+ [
556
+ "render-ui",
557
+ "main",
558
+ {
559
+ "type": "box"
560
+ }
561
+ ],
523
562
  [
524
563
  "ref",
525
564
  "InventoryItem"
@@ -531,6 +570,13 @@
531
570
  "modal",
532
571
  null
533
572
  ],
573
+ [
574
+ "render-ui",
575
+ "main",
576
+ {
577
+ "type": "box"
578
+ }
579
+ ],
534
580
  [
535
581
  "ref",
536
582
  "InventoryItem"
@@ -561,4 +607,4 @@
561
607
  ]
562
608
  }
563
609
  ]
564
- }
610
+ }