@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-service-oauth",
3
3
  "version": "1.0.0",
4
- "description": "OAuth service integration behavior: authorize, token exchange, refresh. Wraps the `oauth` integration with a multi-step authorization flow. Pure function: params in, OrbitalDefinition out.",
4
+ "description": "std-service-oauth as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "ServiceOauthOrbital",
@@ -71,8 +71,73 @@
71
71
  "traits": [
72
72
  {
73
73
  "name": "ServiceOauthOauth",
74
- "linkedEntity": "ServiceOauth",
75
74
  "category": "interaction",
75
+ "linkedEntity": "ServiceOauth",
76
+ "emits": [
77
+ {
78
+ "event": "ServiceOauthLoaded",
79
+ "description": "Fired when ServiceOauth finishes loading",
80
+ "scope": "internal",
81
+ "payload": [
82
+ {
83
+ "name": "id",
84
+ "type": "string",
85
+ "required": true
86
+ },
87
+ {
88
+ "name": "provider",
89
+ "type": "string"
90
+ },
91
+ {
92
+ "name": "authUrl",
93
+ "type": "string"
94
+ },
95
+ {
96
+ "name": "accessToken",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "name": "refreshToken",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "name": "authStatus",
105
+ "type": "string"
106
+ },
107
+ {
108
+ "name": "error",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "name": "name",
113
+ "type": "string"
114
+ },
115
+ {
116
+ "name": "description",
117
+ "type": "string"
118
+ },
119
+ {
120
+ "name": "status",
121
+ "type": "string"
122
+ },
123
+ {
124
+ "name": "createdAt",
125
+ "type": "string"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "event": "ServiceOauthLoadFailed",
131
+ "description": "Fired when ServiceOauth fails to load",
132
+ "scope": "internal",
133
+ "payload": [
134
+ {
135
+ "name": "message",
136
+ "type": "string"
137
+ }
138
+ ]
139
+ }
140
+ ],
76
141
  "stateMachine": {
77
142
  "states": [
78
143
  {
@@ -103,7 +168,7 @@
103
168
  },
104
169
  {
105
170
  "key": "AUTH_URL_RECEIVED",
106
- "name": "Auth URL Received",
171
+ "name": "Auth Url Received",
107
172
  "payload": [
108
173
  {
109
174
  "name": "authUrl",
@@ -114,7 +179,7 @@
114
179
  },
115
180
  {
116
181
  "key": "CALLBACK",
117
- "name": "Authorization Callback",
182
+ "name": "Callback",
118
183
  "payload": [
119
184
  {
120
185
  "name": "code",
@@ -123,6 +188,17 @@
123
188
  }
124
189
  ]
125
190
  },
191
+ {
192
+ "key": "FAILED",
193
+ "name": "Failed",
194
+ "payload": [
195
+ {
196
+ "name": "error",
197
+ "type": "string",
198
+ "required": true
199
+ }
200
+ ]
201
+ },
126
202
  {
127
203
  "key": "TOKEN_RECEIVED",
128
204
  "name": "Token Received",
@@ -141,7 +217,11 @@
141
217
  },
142
218
  {
143
219
  "key": "REFRESH",
144
- "name": "Refresh Token"
220
+ "name": "Refresh"
221
+ },
222
+ {
223
+ "key": "LOGOUT",
224
+ "name": "Logout"
145
225
  },
146
226
  {
147
227
  "key": "TOKEN_REFRESHED",
@@ -155,23 +235,22 @@
155
235
  ]
156
236
  },
157
237
  {
158
- "key": "LOGOUT",
159
- "name": "Logout"
238
+ "key": "RETRY",
239
+ "name": "Retry"
160
240
  },
161
241
  {
162
- "key": "FAILED",
163
- "name": "Failed",
242
+ "key": "ServiceOauthLoaded",
243
+ "name": "ServiceOauth loaded"
244
+ },
245
+ {
246
+ "key": "ServiceOauthLoadFailed",
247
+ "name": "ServiceOauth load failed",
164
248
  "payload": [
165
249
  {
166
- "name": "error",
167
- "type": "string",
168
- "required": true
250
+ "name": "message",
251
+ "type": "string"
169
252
  }
170
253
  ]
171
- },
172
- {
173
- "key": "RETRY",
174
- "name": "Retry"
175
254
  }
176
255
  ],
177
256
  "transitions": [
@@ -182,43 +261,42 @@
182
261
  "effects": [
183
262
  [
184
263
  "fetch",
185
- "ServiceOauth"
264
+ "ServiceOauth",
265
+ {
266
+ "emit": {
267
+ "success": "ServiceOauthLoaded",
268
+ "failure": "ServiceOauthLoadFailed"
269
+ }
270
+ }
186
271
  ],
187
272
  [
188
273
  "render-ui",
189
274
  "main",
190
275
  {
191
- "type": "stack",
192
- "direction": "vertical",
193
- "gap": "lg",
194
- "align": "center",
195
276
  "children": [
196
277
  {
197
- "type": "stack",
198
- "direction": "horizontal",
199
- "gap": "md",
200
- "align": "center",
201
278
  "children": [
202
279
  {
203
280
  "type": "icon",
204
- "name": "lock",
205
- "size": "lg"
281
+ "size": "lg",
282
+ "name": "lock"
206
283
  },
207
284
  {
208
- "type": "typography",
209
285
  "content": "Sign In",
286
+ "type": "typography",
210
287
  "variant": "h2"
211
288
  }
212
- ]
289
+ ],
290
+ "type": "stack",
291
+ "direction": "horizontal",
292
+ "align": "center",
293
+ "gap": "md"
213
294
  },
214
295
  {
215
296
  "type": "divider"
216
297
  },
217
298
  {
218
- "type": "select",
219
299
  "label": "Provider",
220
- "field": "provider",
221
- "bind": "@entity.provider",
222
300
  "options": [
223
301
  {
224
302
  "label": "Google",
@@ -229,19 +307,26 @@
229
307
  "value": "github"
230
308
  },
231
309
  {
232
- "label": "Microsoft",
233
- "value": "microsoft"
310
+ "value": "microsoft",
311
+ "label": "Microsoft"
234
312
  }
235
- ]
313
+ ],
314
+ "type": "select",
315
+ "field": "provider",
316
+ "bind": "@entity.provider"
236
317
  },
237
318
  {
238
- "type": "button",
319
+ "variant": "primary",
320
+ "icon": "log-in",
239
321
  "label": "Login",
240
322
  "event": "LOGIN",
241
- "variant": "primary",
242
- "icon": "log-in"
323
+ "type": "button"
243
324
  }
244
- ]
325
+ ],
326
+ "align": "center",
327
+ "gap": "lg",
328
+ "direction": "vertical",
329
+ "type": "stack"
245
330
  }
246
331
  ]
247
332
  ]
@@ -255,9 +340,9 @@
255
340
  "render-ui",
256
341
  "main",
257
342
  {
343
+ "message": "Redirecting to provider for authorization.",
258
344
  "type": "loading-state",
259
- "title": "Authorizing...",
260
- "message": "Redirecting to provider for authorization."
345
+ "title": "Authorizing..."
261
346
  }
262
347
  ],
263
348
  [
@@ -265,11 +350,11 @@
265
350
  "oauth",
266
351
  "authorize",
267
352
  {
268
- "provider": "@entity.provider",
269
353
  "scopes": [
270
354
  "openid",
271
355
  "email"
272
- ]
356
+ ],
357
+ "provider": "@entity.provider"
273
358
  }
274
359
  ]
275
360
  ]
@@ -288,10 +373,10 @@
288
373
  "render-ui",
289
374
  "main",
290
375
  {
291
- "type": "stack",
292
376
  "direction": "vertical",
293
- "gap": "lg",
377
+ "type": "stack",
294
378
  "align": "center",
379
+ "gap": "lg",
295
380
  "children": [
296
381
  {
297
382
  "type": "icon",
@@ -299,28 +384,28 @@
299
384
  "size": "lg"
300
385
  },
301
386
  {
302
- "type": "typography",
303
387
  "content": "Authorization Required",
388
+ "type": "typography",
304
389
  "variant": "h2"
305
390
  },
306
391
  {
307
- "type": "typography",
308
392
  "content": "@entity.authUrl",
309
393
  "variant": "body",
394
+ "type": "typography",
310
395
  "color": "muted"
311
396
  },
312
397
  {
313
398
  "type": "input",
314
- "label": "Authorization Code",
315
399
  "field": "code",
316
- "placeholder": "Paste authorization code here"
400
+ "placeholder": "Paste authorization code here",
401
+ "label": "Authorization Code"
317
402
  },
318
403
  {
319
- "type": "button",
320
404
  "label": "Submit",
321
405
  "event": "CALLBACK",
322
406
  "variant": "primary",
323
- "icon": "check"
407
+ "icon": "check",
408
+ "type": "button"
324
409
  }
325
410
  ]
326
411
  }
@@ -344,10 +429,10 @@
344
429
  "render-ui",
345
430
  "main",
346
431
  {
432
+ "align": "center",
347
433
  "type": "stack",
348
434
  "direction": "vertical",
349
435
  "gap": "lg",
350
- "align": "center",
351
436
  "children": [
352
437
  {
353
438
  "type": "icon",
@@ -355,37 +440,74 @@
355
440
  "size": "lg"
356
441
  },
357
442
  {
358
- "type": "alert",
359
443
  "variant": "success",
360
- "message": "Authenticated successfully"
444
+ "message": "Authenticated successfully",
445
+ "type": "alert"
361
446
  },
362
447
  {
363
- "type": "stack",
364
- "direction": "horizontal",
365
448
  "gap": "sm",
366
449
  "justify": "center",
367
450
  "children": [
368
451
  {
369
- "type": "button",
370
452
  "label": "Refresh Token",
371
- "event": "REFRESH",
453
+ "icon": "refresh-cw",
372
454
  "variant": "outline",
373
- "icon": "refresh-cw"
455
+ "type": "button",
456
+ "event": "REFRESH"
374
457
  },
375
458
  {
376
- "type": "button",
377
459
  "label": "Logout",
378
- "event": "LOGOUT",
460
+ "icon": "log-out",
461
+ "type": "button",
379
462
  "variant": "ghost",
380
- "icon": "log-out"
463
+ "event": "LOGOUT"
381
464
  }
382
- ]
465
+ ],
466
+ "direction": "horizontal",
467
+ "type": "stack"
383
468
  }
384
469
  ]
385
470
  }
386
471
  ]
387
472
  ]
388
473
  },
474
+ {
475
+ "from": "authorizing",
476
+ "to": "error",
477
+ "event": "FAILED",
478
+ "effects": [
479
+ [
480
+ "set",
481
+ "@entity.error",
482
+ "@payload.error"
483
+ ],
484
+ [
485
+ "render-ui",
486
+ "main",
487
+ {
488
+ "type": "stack",
489
+ "gap": "lg",
490
+ "direction": "vertical",
491
+ "children": [
492
+ {
493
+ "type": "error-state",
494
+ "onRetry": "RETRY",
495
+ "message": "@entity.error",
496
+ "title": "Authentication Failed"
497
+ },
498
+ {
499
+ "type": "button",
500
+ "variant": "primary",
501
+ "icon": "rotate-ccw",
502
+ "label": "Try Again",
503
+ "event": "RETRY"
504
+ }
505
+ ],
506
+ "align": "center"
507
+ }
508
+ ]
509
+ ]
510
+ },
389
511
  {
390
512
  "from": "authenticated",
391
513
  "to": "authenticated",
@@ -410,10 +532,10 @@
410
532
  "render-ui",
411
533
  "main",
412
534
  {
413
- "type": "stack",
414
- "direction": "vertical",
415
535
  "gap": "lg",
536
+ "direction": "vertical",
416
537
  "align": "center",
538
+ "type": "stack",
417
539
  "children": [
418
540
  {
419
541
  "type": "icon",
@@ -421,31 +543,31 @@
421
543
  "size": "lg"
422
544
  },
423
545
  {
546
+ "message": "Authenticated successfully",
424
547
  "type": "alert",
425
- "variant": "success",
426
- "message": "Authenticated successfully"
548
+ "variant": "success"
427
549
  },
428
550
  {
429
- "type": "stack",
430
- "direction": "horizontal",
431
- "gap": "sm",
432
551
  "justify": "center",
433
552
  "children": [
434
553
  {
554
+ "event": "REFRESH",
435
555
  "type": "button",
436
556
  "label": "Refresh Token",
437
- "event": "REFRESH",
438
- "variant": "outline",
439
- "icon": "refresh-cw"
557
+ "icon": "refresh-cw",
558
+ "variant": "outline"
440
559
  },
441
560
  {
442
- "type": "button",
443
- "label": "Logout",
444
561
  "event": "LOGOUT",
562
+ "label": "Logout",
563
+ "type": "button",
445
564
  "variant": "ghost",
446
565
  "icon": "log-out"
447
566
  }
448
- ]
567
+ ],
568
+ "type": "stack",
569
+ "direction": "horizontal",
570
+ "gap": "sm"
449
571
  }
450
572
  ]
451
573
  }
@@ -461,9 +583,9 @@
461
583
  "render-ui",
462
584
  "main",
463
585
  {
464
- "type": "loading-state",
465
586
  "title": "Refreshing token...",
466
- "message": "Obtaining a new access token."
587
+ "message": "Obtaining a new access token.",
588
+ "type": "loading-state"
467
589
  }
468
590
  ],
469
591
  [
@@ -476,62 +598,6 @@
476
598
  ]
477
599
  ]
478
600
  },
479
- {
480
- "from": "refreshing",
481
- "to": "authenticated",
482
- "event": "TOKEN_REFRESHED",
483
- "effects": [
484
- [
485
- "set",
486
- "@entity.accessToken",
487
- "@payload.accessToken"
488
- ],
489
- [
490
- "render-ui",
491
- "main",
492
- {
493
- "type": "stack",
494
- "direction": "vertical",
495
- "gap": "lg",
496
- "align": "center",
497
- "children": [
498
- {
499
- "type": "icon",
500
- "name": "check-circle",
501
- "size": "lg"
502
- },
503
- {
504
- "type": "alert",
505
- "variant": "success",
506
- "message": "Authenticated successfully"
507
- },
508
- {
509
- "type": "stack",
510
- "direction": "horizontal",
511
- "gap": "sm",
512
- "justify": "center",
513
- "children": [
514
- {
515
- "type": "button",
516
- "label": "Refresh Token",
517
- "event": "REFRESH",
518
- "variant": "outline",
519
- "icon": "refresh-cw"
520
- },
521
- {
522
- "type": "button",
523
- "label": "Logout",
524
- "event": "LOGOUT",
525
- "variant": "ghost",
526
- "icon": "log-out"
527
- }
528
- ]
529
- }
530
- ]
531
- }
532
- ]
533
- ]
534
- },
535
601
  {
536
602
  "from": "authenticated",
537
603
  "to": "unauthenticated",
@@ -546,15 +612,10 @@
546
612
  "render-ui",
547
613
  "main",
548
614
  {
549
- "type": "stack",
550
- "direction": "vertical",
551
- "gap": "lg",
552
- "align": "center",
553
615
  "children": [
554
616
  {
555
- "type": "stack",
556
- "direction": "horizontal",
557
617
  "gap": "md",
618
+ "direction": "horizontal",
558
619
  "align": "center",
559
620
  "children": [
560
621
  {
@@ -563,78 +624,102 @@
563
624
  "size": "lg"
564
625
  },
565
626
  {
566
- "type": "typography",
627
+ "variant": "h2",
567
628
  "content": "Sign In",
568
- "variant": "h2"
629
+ "type": "typography"
569
630
  }
570
- ]
631
+ ],
632
+ "type": "stack"
571
633
  },
572
634
  {
573
635
  "type": "divider"
574
636
  },
575
637
  {
638
+ "bind": "@entity.provider",
576
639
  "type": "select",
577
- "label": "Provider",
578
640
  "field": "provider",
579
- "bind": "@entity.provider",
580
641
  "options": [
581
642
  {
582
- "label": "Google",
583
- "value": "google"
643
+ "value": "google",
644
+ "label": "Google"
584
645
  },
585
646
  {
586
647
  "label": "GitHub",
587
648
  "value": "github"
588
649
  },
589
650
  {
590
- "label": "Microsoft",
591
- "value": "microsoft"
651
+ "value": "microsoft",
652
+ "label": "Microsoft"
592
653
  }
593
- ]
654
+ ],
655
+ "label": "Provider"
594
656
  },
595
657
  {
596
- "type": "button",
658
+ "icon": "log-in",
597
659
  "label": "Login",
598
660
  "event": "LOGIN",
599
661
  "variant": "primary",
600
- "icon": "log-in"
662
+ "type": "button"
601
663
  }
602
- ]
664
+ ],
665
+ "align": "center",
666
+ "type": "stack",
667
+ "gap": "lg",
668
+ "direction": "vertical"
603
669
  }
604
670
  ]
605
671
  ]
606
672
  },
607
673
  {
608
- "from": "authorizing",
609
- "to": "error",
610
- "event": "FAILED",
674
+ "from": "refreshing",
675
+ "to": "authenticated",
676
+ "event": "TOKEN_REFRESHED",
611
677
  "effects": [
612
678
  [
613
679
  "set",
614
- "@entity.error",
615
- "@payload.error"
680
+ "@entity.accessToken",
681
+ "@payload.accessToken"
616
682
  ],
617
683
  [
618
684
  "render-ui",
619
685
  "main",
620
686
  {
621
- "type": "stack",
622
687
  "direction": "vertical",
623
- "gap": "lg",
688
+ "type": "stack",
624
689
  "align": "center",
690
+ "gap": "lg",
625
691
  "children": [
626
692
  {
627
- "type": "error-state",
628
- "title": "Authentication Failed",
629
- "message": "@entity.error",
630
- "onRetry": "RETRY"
693
+ "type": "icon",
694
+ "name": "check-circle",
695
+ "size": "lg"
631
696
  },
632
697
  {
633
- "type": "button",
634
- "label": "Try Again",
635
- "event": "RETRY",
636
- "variant": "primary",
637
- "icon": "rotate-ccw"
698
+ "variant": "success",
699
+ "message": "Authenticated successfully",
700
+ "type": "alert"
701
+ },
702
+ {
703
+ "children": [
704
+ {
705
+ "event": "REFRESH",
706
+ "icon": "refresh-cw",
707
+ "label": "Refresh Token",
708
+ "variant": "outline",
709
+ "type": "button"
710
+ },
711
+ {
712
+ "variant": "ghost",
713
+ "label": "Logout",
714
+ "icon": "log-out",
715
+ "event": "LOGOUT",
716
+ "type": "button"
717
+ }
718
+ ],
719
+ "direction": "horizontal",
720
+ "gap": "sm",
721
+ "type": "stack",
722
+ "justify": "center"
638
723
  }
639
724
  ]
640
725
  }
@@ -655,25 +740,25 @@
655
740
  "render-ui",
656
741
  "main",
657
742
  {
658
- "type": "stack",
659
- "direction": "vertical",
660
743
  "gap": "lg",
661
- "align": "center",
744
+ "type": "stack",
662
745
  "children": [
663
746
  {
664
- "type": "error-state",
665
747
  "title": "Authentication Failed",
666
- "message": "@entity.error",
667
- "onRetry": "RETRY"
748
+ "type": "error-state",
749
+ "onRetry": "RETRY",
750
+ "message": "@entity.error"
668
751
  },
669
752
  {
670
753
  "type": "button",
671
- "label": "Try Again",
672
754
  "event": "RETRY",
673
755
  "variant": "primary",
674
- "icon": "rotate-ccw"
756
+ "icon": "rotate-ccw",
757
+ "label": "Try Again"
675
758
  }
676
- ]
759
+ ],
760
+ "direction": "vertical",
761
+ "align": "center"
677
762
  }
678
763
  ]
679
764
  ]
@@ -688,65 +773,66 @@
688
773
  "main",
689
774
  {
690
775
  "type": "stack",
691
- "direction": "vertical",
692
776
  "gap": "lg",
693
- "align": "center",
694
777
  "children": [
695
778
  {
696
- "type": "stack",
697
- "direction": "horizontal",
698
- "gap": "md",
699
- "align": "center",
700
779
  "children": [
701
780
  {
702
781
  "type": "icon",
703
- "name": "lock",
704
- "size": "lg"
782
+ "size": "lg",
783
+ "name": "lock"
705
784
  },
706
785
  {
707
786
  "type": "typography",
708
- "content": "Sign In",
709
- "variant": "h2"
787
+ "variant": "h2",
788
+ "content": "Sign In"
710
789
  }
711
- ]
790
+ ],
791
+ "gap": "md",
792
+ "direction": "horizontal",
793
+ "type": "stack",
794
+ "align": "center"
712
795
  },
713
796
  {
714
797
  "type": "divider"
715
798
  },
716
799
  {
717
- "type": "select",
718
- "label": "Provider",
719
- "field": "provider",
720
- "bind": "@entity.provider",
721
800
  "options": [
722
801
  {
723
- "label": "Google",
724
- "value": "google"
802
+ "value": "google",
803
+ "label": "Google"
725
804
  },
726
805
  {
727
806
  "label": "GitHub",
728
807
  "value": "github"
729
808
  },
730
809
  {
731
- "label": "Microsoft",
732
- "value": "microsoft"
810
+ "value": "microsoft",
811
+ "label": "Microsoft"
733
812
  }
734
- ]
813
+ ],
814
+ "type": "select",
815
+ "bind": "@entity.provider",
816
+ "label": "Provider",
817
+ "field": "provider"
735
818
  },
736
819
  {
737
- "type": "button",
738
- "label": "Login",
739
820
  "event": "LOGIN",
821
+ "label": "Login",
740
822
  "variant": "primary",
741
- "icon": "log-in"
823
+ "icon": "log-in",
824
+ "type": "button"
742
825
  }
743
- ]
826
+ ],
827
+ "direction": "vertical",
828
+ "align": "center"
744
829
  }
745
830
  ]
746
831
  ]
747
832
  }
748
833
  ]
749
- }
834
+ },
835
+ "scope": "instance"
750
836
  }
751
837
  ],
752
838
  "pages": [
@@ -762,4 +848,4 @@
762
848
  ]
763
849
  }
764
850
  ]
765
- }
851
+ }