@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-turn-based-battle",
3
3
  "version": "1.0.0",
4
- "description": "Turn-based strategy game molecule (Fire Emblem, XCOM style). Composes game atoms into a two-trait orbital:",
4
+ "description": "std-turn-based-battle as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "BattleUnitOrbital",
@@ -38,46 +38,68 @@
38
38
  {
39
39
  "name": "turn",
40
40
  "type": "number",
41
- "default": 0
41
+ "default": 0.0
42
42
  },
43
43
  {
44
44
  "name": "score",
45
45
  "type": "number",
46
- "default": 0
47
- }
48
- ],
49
- "instances": [
50
- {
51
- "id": "unit-1",
52
- "name": "Knight",
53
- "description": "Armored warrior",
54
- "status": "active",
55
- "turn": 0,
56
- "score": 0
57
- },
58
- {
59
- "id": "unit-2",
60
- "name": "Archer",
61
- "description": "Ranged attacker",
62
- "status": "active",
63
- "turn": 0,
64
- "score": 0
65
- },
66
- {
67
- "id": "unit-3",
68
- "name": "Mage",
69
- "description": "Magic caster",
70
- "status": "active",
71
- "turn": 0,
72
- "score": 0
46
+ "default": 0.0
73
47
  }
74
48
  ]
75
49
  },
76
50
  "traits": [
77
51
  {
78
52
  "name": "BattleUnitBattleFlow",
79
- "linkedEntity": "BattleUnit",
80
53
  "category": "interaction",
54
+ "linkedEntity": "BattleUnit",
55
+ "emits": [
56
+ {
57
+ "event": "BattleUnitLoaded",
58
+ "description": "Fired when BattleUnit finishes loading",
59
+ "scope": "internal",
60
+ "payload": [
61
+ {
62
+ "name": "id",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "name": "name",
67
+ "type": "string"
68
+ },
69
+ {
70
+ "name": "description",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "name": "status",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "name": "createdAt",
79
+ "type": "string"
80
+ },
81
+ {
82
+ "name": "turn",
83
+ "type": "number"
84
+ },
85
+ {
86
+ "name": "score",
87
+ "type": "number"
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "event": "BattleUnitLoadFailed",
93
+ "description": "Fired when BattleUnit fails to load",
94
+ "scope": "internal",
95
+ "payload": [
96
+ {
97
+ "name": "message",
98
+ "type": "string"
99
+ }
100
+ ]
101
+ }
102
+ ],
81
103
  "stateMachine": {
82
104
  "states": [
83
105
  {
@@ -101,7 +123,11 @@
101
123
  },
102
124
  {
103
125
  "key": "START",
104
- "name": "Start Battle"
126
+ "name": "Start"
127
+ },
128
+ {
129
+ "key": "NAVIGATE",
130
+ "name": "Navigate"
105
131
  },
106
132
  {
107
133
  "key": "END_TURN",
@@ -111,25 +137,35 @@
111
137
  "key": "PAUSE",
112
138
  "name": "Pause"
113
139
  },
140
+ {
141
+ "key": "GAME_OVER",
142
+ "name": "Game Over"
143
+ },
114
144
  {
115
145
  "key": "RESUME",
116
146
  "name": "Resume"
117
147
  },
118
148
  {
119
- "key": "GAME_OVER",
120
- "name": "Game Over"
149
+ "key": "CLOSE",
150
+ "name": "Close"
121
151
  },
122
152
  {
123
153
  "key": "RESTART",
124
154
  "name": "Restart"
125
155
  },
126
156
  {
127
- "key": "CLOSE",
128
- "name": "Close"
157
+ "key": "BattleUnitLoaded",
158
+ "name": "BattleUnit loaded"
129
159
  },
130
160
  {
131
- "key": "NAVIGATE",
132
- "name": "Navigate"
161
+ "key": "BattleUnitLoadFailed",
162
+ "name": "BattleUnit load failed",
163
+ "payload": [
164
+ {
165
+ "name": "message",
166
+ "type": "string"
167
+ }
168
+ ]
133
169
  }
134
170
  ],
135
171
  "transitions": [
@@ -140,22 +176,28 @@
140
176
  "effects": [
141
177
  [
142
178
  "fetch",
143
- "BattleUnit"
179
+ "BattleUnit",
180
+ {
181
+ "emit": {
182
+ "failure": "BattleUnitLoadFailed",
183
+ "success": "BattleUnitLoaded"
184
+ }
185
+ }
144
186
  ],
145
187
  [
146
188
  "render-ui",
147
189
  "main",
148
190
  {
149
- "type": "game-menu",
150
- "title": "Battle Arena",
151
- "subtitle": "Turn-Based Strategy",
152
191
  "menuItems": [
153
192
  {
154
193
  "label": "Start Battle",
155
194
  "event": "START",
156
195
  "variant": "primary"
157
196
  }
158
- ]
197
+ ],
198
+ "title": "Battle Arena",
199
+ "subtitle": "Turn-Based Strategy",
200
+ "type": "game-menu"
159
201
  }
160
202
  ]
161
203
  ]
@@ -169,21 +211,26 @@
169
211
  "render-ui",
170
212
  "main",
171
213
  {
172
- "type": "game-hud",
173
214
  "stats": [
174
215
  {
175
216
  "label": "Turn",
176
217
  "value": "@entity.turn"
177
218
  },
178
219
  {
179
- "label": "Score",
180
- "value": "@entity.score"
220
+ "value": "@entity.score",
221
+ "label": "Score"
181
222
  }
182
- ]
223
+ ],
224
+ "type": "game-hud"
183
225
  }
184
226
  ]
185
227
  ]
186
228
  },
229
+ {
230
+ "from": "menu",
231
+ "to": "menu",
232
+ "event": "NAVIGATE"
233
+ },
187
234
  {
188
235
  "from": "playing",
189
236
  "to": "playing",
@@ -195,7 +242,7 @@
195
242
  [
196
243
  "+",
197
244
  "@entity.turn",
198
- 1
245
+ 1.0
199
246
  ]
200
247
  ],
201
248
  [
@@ -205,8 +252,8 @@
205
252
  "type": "game-hud",
206
253
  "stats": [
207
254
  {
208
- "label": "Turn",
209
- "value": "@entity.turn"
255
+ "value": "@entity.turn",
256
+ "label": "Turn"
210
257
  },
211
258
  {
212
259
  "label": "Score",
@@ -217,18 +264,6 @@
217
264
  ]
218
265
  ]
219
266
  },
220
- {
221
- "from": "menu",
222
- "to": "menu",
223
- "event": "NAVIGATE",
224
- "effects": []
225
- },
226
- {
227
- "from": "paused",
228
- "to": "paused",
229
- "event": "NAVIGATE",
230
- "effects": []
231
- },
232
267
  {
233
268
  "from": "playing",
234
269
  "to": "paused",
@@ -238,57 +273,70 @@
238
273
  "render-ui",
239
274
  "modal",
240
275
  {
241
- "type": "game-menu",
242
- "title": "Paused",
243
276
  "menuItems": [
244
277
  {
245
- "label": "Resume",
246
278
  "event": "RESUME",
247
- "variant": "primary"
279
+ "variant": "primary",
280
+ "label": "Resume"
248
281
  },
249
282
  {
250
- "label": "Quit",
251
283
  "event": "RESTART",
252
- "variant": "ghost"
284
+ "variant": "ghost",
285
+ "label": "Quit"
253
286
  }
254
- ]
287
+ ],
288
+ "type": "game-menu",
289
+ "title": "Paused"
255
290
  }
256
291
  ]
257
292
  ]
258
293
  },
259
294
  {
260
- "from": "paused",
261
- "to": "playing",
262
- "event": "RESUME",
295
+ "from": "playing",
296
+ "to": "gameover",
297
+ "event": "GAME_OVER",
263
298
  "effects": [
264
- [
265
- "render-ui",
266
- "modal",
267
- null
268
- ],
269
299
  [
270
300
  "render-ui",
271
301
  "main",
272
302
  {
273
- "type": "game-hud",
303
+ "title": "Battle Over",
304
+ "type": "game-over-screen",
274
305
  "stats": [
275
306
  {
276
- "label": "Turn",
307
+ "label": "Turns",
277
308
  "value": "@entity.turn"
278
309
  },
279
310
  {
280
- "label": "Score",
281
- "value": "@entity.score"
311
+ "value": "@entity.score",
312
+ "label": "Score"
313
+ }
314
+ ],
315
+ "menuItems": [
316
+ {
317
+ "label": "Play Again",
318
+ "variant": "primary",
319
+ "event": "RESTART"
320
+ },
321
+ {
322
+ "event": "RESTART",
323
+ "variant": "secondary",
324
+ "label": "Main Menu"
282
325
  }
283
326
  ]
284
327
  }
285
328
  ]
286
329
  ]
287
330
  },
331
+ {
332
+ "from": "paused",
333
+ "to": "paused",
334
+ "event": "NAVIGATE"
335
+ },
288
336
  {
289
337
  "from": "paused",
290
338
  "to": "playing",
291
- "event": "CLOSE",
339
+ "event": "RESUME",
292
340
  "effects": [
293
341
  [
294
342
  "render-ui",
@@ -299,52 +347,44 @@
299
347
  "render-ui",
300
348
  "main",
301
349
  {
302
- "type": "game-hud",
303
350
  "stats": [
304
351
  {
305
- "label": "Turn",
306
- "value": "@entity.turn"
352
+ "value": "@entity.turn",
353
+ "label": "Turn"
307
354
  },
308
355
  {
309
356
  "label": "Score",
310
357
  "value": "@entity.score"
311
358
  }
312
- ]
359
+ ],
360
+ "type": "game-hud"
313
361
  }
314
362
  ]
315
363
  ]
316
364
  },
317
365
  {
318
- "from": "playing",
319
- "to": "gameover",
320
- "event": "GAME_OVER",
366
+ "from": "paused",
367
+ "to": "playing",
368
+ "event": "CLOSE",
321
369
  "effects": [
370
+ [
371
+ "render-ui",
372
+ "modal",
373
+ null
374
+ ],
322
375
  [
323
376
  "render-ui",
324
377
  "main",
325
378
  {
326
- "type": "game-over-screen",
327
- "title": "Battle Over",
379
+ "type": "game-hud",
328
380
  "stats": [
329
381
  {
330
- "label": "Turns",
331
- "value": "@entity.turn"
382
+ "value": "@entity.turn",
383
+ "label": "Turn"
332
384
  },
333
385
  {
334
- "label": "Score",
335
- "value": "@entity.score"
336
- }
337
- ],
338
- "menuItems": [
339
- {
340
- "label": "Play Again",
341
- "event": "RESTART",
342
- "variant": "primary"
343
- },
344
- {
345
- "label": "Main Menu",
346
- "event": "RESTART",
347
- "variant": "secondary"
386
+ "value": "@entity.score",
387
+ "label": "Score"
348
388
  }
349
389
  ]
350
390
  }
@@ -352,63 +392,112 @@
352
392
  ]
353
393
  },
354
394
  {
355
- "from": "gameover",
395
+ "from": "paused",
356
396
  "to": "menu",
357
397
  "event": "RESTART",
358
398
  "effects": [
399
+ [
400
+ "render-ui",
401
+ "modal",
402
+ null
403
+ ],
359
404
  [
360
405
  "render-ui",
361
406
  "main",
362
407
  {
363
408
  "type": "game-menu",
364
- "title": "Battle Arena",
365
- "subtitle": "Turn-Based Strategy",
366
409
  "menuItems": [
367
410
  {
368
- "label": "Start Battle",
369
411
  "event": "START",
370
- "variant": "primary"
412
+ "variant": "primary",
413
+ "label": "Start Battle"
371
414
  }
372
- ]
415
+ ],
416
+ "title": "Battle Arena",
417
+ "subtitle": "Turn-Based Strategy"
373
418
  }
374
419
  ]
375
420
  ]
376
421
  },
377
422
  {
378
- "from": "paused",
423
+ "from": "gameover",
379
424
  "to": "menu",
380
425
  "event": "RESTART",
381
426
  "effects": [
382
- [
383
- "render-ui",
384
- "modal",
385
- null
386
- ],
387
427
  [
388
428
  "render-ui",
389
429
  "main",
390
430
  {
391
- "type": "game-menu",
392
- "title": "Battle Arena",
393
431
  "subtitle": "Turn-Based Strategy",
394
432
  "menuItems": [
395
433
  {
396
- "label": "Start Battle",
434
+ "variant": "primary",
397
435
  "event": "START",
398
- "variant": "primary"
436
+ "label": "Start Battle"
399
437
  }
400
- ]
438
+ ],
439
+ "type": "game-menu",
440
+ "title": "Battle Arena"
401
441
  }
402
442
  ]
403
443
  ]
404
444
  }
405
445
  ]
406
- }
446
+ },
447
+ "scope": "instance"
407
448
  },
408
449
  {
409
450
  "name": "BattleUnitCombatLog",
410
- "linkedEntity": "BattleUnit",
411
451
  "category": "interaction",
452
+ "linkedEntity": "BattleUnit",
453
+ "emits": [
454
+ {
455
+ "event": "BattleUnitLoaded",
456
+ "description": "Fired when BattleUnit finishes loading",
457
+ "scope": "internal",
458
+ "payload": [
459
+ {
460
+ "name": "id",
461
+ "type": "string"
462
+ },
463
+ {
464
+ "name": "name",
465
+ "type": "string"
466
+ },
467
+ {
468
+ "name": "description",
469
+ "type": "string"
470
+ },
471
+ {
472
+ "name": "status",
473
+ "type": "string"
474
+ },
475
+ {
476
+ "name": "createdAt",
477
+ "type": "string"
478
+ },
479
+ {
480
+ "name": "turn",
481
+ "type": "number"
482
+ },
483
+ {
484
+ "name": "score",
485
+ "type": "number"
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "event": "BattleUnitLoadFailed",
491
+ "description": "Fired when BattleUnit fails to load",
492
+ "scope": "internal",
493
+ "payload": [
494
+ {
495
+ "name": "message",
496
+ "type": "string"
497
+ }
498
+ ]
499
+ }
500
+ ],
412
501
  "stateMachine": {
413
502
  "states": [
414
503
  {
@@ -435,6 +524,20 @@
435
524
  {
436
525
  "key": "CLEAR",
437
526
  "name": "Clear"
527
+ },
528
+ {
529
+ "key": "BattleUnitLoaded",
530
+ "name": "BattleUnit loaded"
531
+ },
532
+ {
533
+ "key": "BattleUnitLoadFailed",
534
+ "name": "BattleUnit load failed",
535
+ "payload": [
536
+ {
537
+ "name": "message",
538
+ "type": "string"
539
+ }
540
+ ]
438
541
  }
439
542
  ],
440
543
  "transitions": [
@@ -445,7 +548,13 @@
445
548
  "effects": [
446
549
  [
447
550
  "fetch",
448
- "BattleUnit"
551
+ "BattleUnit",
552
+ {
553
+ "emit": {
554
+ "failure": "BattleUnitLoadFailed",
555
+ "success": "BattleUnitLoaded"
556
+ }
557
+ }
449
558
  ]
450
559
  ]
451
560
  },
@@ -458,12 +567,12 @@
458
567
  "render-ui",
459
568
  "main",
460
569
  {
461
- "type": "combat-log",
570
+ "title": "Combat Log",
571
+ "showTimestamps": true,
572
+ "maxVisible": 10.0,
462
573
  "events": "@BattleUnit",
463
- "maxVisible": 10,
464
574
  "autoScroll": true,
465
- "showTimestamps": true,
466
- "title": "Combat Log"
575
+ "type": "combat-log"
467
576
  }
468
577
  ]
469
578
  ]
@@ -477,18 +586,19 @@
477
586
  "render-ui",
478
587
  "main",
479
588
  {
480
- "type": "combat-log",
481
- "events": "@BattleUnit",
482
- "maxVisible": 10,
589
+ "maxVisible": 10.0,
483
590
  "autoScroll": true,
484
- "showTimestamps": true,
485
- "title": "Combat Log"
591
+ "title": "Combat Log",
592
+ "events": "@BattleUnit",
593
+ "type": "combat-log",
594
+ "showTimestamps": true
486
595
  }
487
596
  ]
488
597
  ]
489
598
  }
490
599
  ]
491
- }
600
+ },
601
+ "scope": "instance"
492
602
  }
493
603
  ],
494
604
  "pages": [
@@ -507,4 +617,4 @@
507
617
  ]
508
618
  }
509
619
  ]
510
- }
620
+ }