@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-devops-toolkit",
3
3
  "version": "1.0.0",
4
- "description": "DevOps toolkit molecule. Three independent traits on a single page sharing one entity via the event bus: - GitHubTrait: PR creation flow (ghIdle -> creatingPR -> prCreated / ghError) - RedisTrait: cache get/set/delete (redisIdle -> redisExecuting -> redisComplete / redisError) - StorageTrait: file upload/download/list/delete (storageIdle -> storageExecuting -> storageComplete / storageError)",
4
+ "description": "std-service-devops-toolkit as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "ServiceDevopsToolkitOrbital",
@@ -105,8 +105,100 @@
105
105
  "traits": [
106
106
  {
107
107
  "name": "ServiceDevopsToolkitGithub",
108
- "linkedEntity": "ServiceDevopsToolkit",
109
108
  "category": "interaction",
109
+ "linkedEntity": "ServiceDevopsToolkit",
110
+ "emits": [
111
+ {
112
+ "event": "ServiceDevopsToolkitLoaded",
113
+ "description": "Fired when ServiceDevopsToolkit finishes loading",
114
+ "scope": "internal",
115
+ "payload": [
116
+ {
117
+ "name": "id",
118
+ "type": "string"
119
+ },
120
+ {
121
+ "name": "name",
122
+ "type": "string"
123
+ },
124
+ {
125
+ "name": "description",
126
+ "type": "string"
127
+ },
128
+ {
129
+ "name": "status",
130
+ "type": "string"
131
+ },
132
+ {
133
+ "name": "createdAt",
134
+ "type": "string"
135
+ },
136
+ {
137
+ "name": "title",
138
+ "type": "string"
139
+ },
140
+ {
141
+ "name": "body",
142
+ "type": "string"
143
+ },
144
+ {
145
+ "name": "head",
146
+ "type": "string"
147
+ },
148
+ {
149
+ "name": "base",
150
+ "type": "string"
151
+ },
152
+ {
153
+ "name": "prUrl",
154
+ "type": "string"
155
+ },
156
+ {
157
+ "name": "cacheKey",
158
+ "type": "string"
159
+ },
160
+ {
161
+ "name": "cacheValue",
162
+ "type": "string"
163
+ },
164
+ {
165
+ "name": "bucket",
166
+ "type": "string"
167
+ },
168
+ {
169
+ "name": "fileKey",
170
+ "type": "string"
171
+ },
172
+ {
173
+ "name": "result",
174
+ "type": "string"
175
+ },
176
+ {
177
+ "name": "toolStatus",
178
+ "type": "string"
179
+ },
180
+ {
181
+ "name": "activeTab",
182
+ "type": "string"
183
+ },
184
+ {
185
+ "name": "error",
186
+ "type": "string"
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "event": "ServiceDevopsToolkitLoadFailed",
192
+ "description": "Fired when ServiceDevopsToolkit fails to load",
193
+ "scope": "internal",
194
+ "payload": [
195
+ {
196
+ "name": "message",
197
+ "type": "string"
198
+ }
199
+ ]
200
+ }
201
+ ],
110
202
  "stateMachine": {
111
203
  "states": [
112
204
  {
@@ -130,11 +222,11 @@
130
222
  },
131
223
  {
132
224
  "key": "CREATE_PR",
133
- "name": "Create Pull Request"
225
+ "name": "Create Pr"
134
226
  },
135
227
  {
136
228
  "key": "PR_CREATED",
137
- "name": "PR Created",
229
+ "name": "Pr Created",
138
230
  "payload": [
139
231
  {
140
232
  "name": "url",
@@ -145,7 +237,7 @@
145
237
  },
146
238
  {
147
239
  "key": "GH_FAILED",
148
- "name": "GitHub Failed",
240
+ "name": "Gh Failed",
149
241
  "payload": [
150
242
  {
151
243
  "name": "error",
@@ -154,13 +246,27 @@
154
246
  }
155
247
  ]
156
248
  },
249
+ {
250
+ "key": "GH_RESET",
251
+ "name": "Gh Reset"
252
+ },
157
253
  {
158
254
  "key": "GH_RETRY",
159
- "name": "GitHub Retry"
255
+ "name": "Gh Retry"
160
256
  },
161
257
  {
162
- "key": "GH_RESET",
163
- "name": "GitHub Reset"
258
+ "key": "ServiceDevopsToolkitLoaded",
259
+ "name": "ServiceDevopsToolkit loaded"
260
+ },
261
+ {
262
+ "key": "ServiceDevopsToolkitLoadFailed",
263
+ "name": "ServiceDevopsToolkit load failed",
264
+ "payload": [
265
+ {
266
+ "name": "message",
267
+ "type": "string"
268
+ }
269
+ ]
164
270
  }
165
271
  ],
166
272
  "transitions": [
@@ -171,69 +277,75 @@
171
277
  "effects": [
172
278
  [
173
279
  "fetch",
174
- "ServiceDevopsToolkit"
280
+ "ServiceDevopsToolkit",
281
+ {
282
+ "emit": {
283
+ "success": "ServiceDevopsToolkitLoaded",
284
+ "failure": "ServiceDevopsToolkitLoadFailed"
285
+ }
286
+ }
175
287
  ],
176
288
  [
177
289
  "render-ui",
178
290
  "main",
179
291
  {
180
- "type": "stack",
181
- "direction": "vertical",
182
- "gap": "lg",
183
292
  "children": [
184
293
  {
185
294
  "type": "stack",
186
- "direction": "horizontal",
187
- "gap": "md",
188
- "align": "center",
189
295
  "children": [
190
296
  {
191
- "type": "icon",
297
+ "size": "lg",
192
298
  "name": "git-pull-request",
193
- "size": "lg"
299
+ "type": "icon"
194
300
  },
195
301
  {
196
- "type": "typography",
302
+ "variant": "h3",
197
303
  "content": "GitHub: Create PR",
198
- "variant": "h3"
304
+ "type": "typography"
199
305
  }
200
- ]
306
+ ],
307
+ "align": "center",
308
+ "gap": "md",
309
+ "direction": "horizontal"
201
310
  },
202
311
  {
203
312
  "type": "divider"
204
313
  },
205
314
  {
206
315
  "type": "input",
316
+ "placeholder": "PR title",
207
317
  "label": "Title",
208
- "bind": "@entity.title",
209
- "placeholder": "PR title"
318
+ "bind": "@entity.title"
210
319
  },
211
320
  {
212
- "type": "textarea",
213
321
  "label": "Body",
322
+ "placeholder": "Describe your changes...",
214
323
  "bind": "@entity.body",
215
- "placeholder": "Describe your changes..."
324
+ "type": "textarea"
216
325
  },
217
326
  {
218
- "type": "input",
219
327
  "label": "Head Branch",
220
- "bind": "@entity.head",
221
- "placeholder": "feature-branch"
328
+ "type": "input",
329
+ "placeholder": "feature-branch",
330
+ "bind": "@entity.head"
222
331
  },
223
332
  {
224
- "type": "input",
225
333
  "label": "Base Branch",
226
334
  "bind": "@entity.base",
335
+ "type": "input",
227
336
  "placeholder": "main"
228
337
  },
229
338
  {
230
- "type": "button",
231
339
  "label": "Create PR",
232
340
  "event": "CREATE_PR",
233
341
  "variant": "primary",
342
+ "type": "button",
234
343
  "icon": "git-pull-request"
235
344
  }
236
- ]
345
+ ],
346
+ "type": "stack",
347
+ "gap": "lg",
348
+ "direction": "vertical"
237
349
  }
238
350
  ]
239
351
  ]
@@ -247,9 +359,9 @@
247
359
  "render-ui",
248
360
  "main",
249
361
  {
250
- "type": "loading-state",
251
362
  "title": "Creating pull request...",
252
- "message": "Submitting your PR to GitHub."
363
+ "message": "Submitting your PR to GitHub.",
364
+ "type": "loading-state"
253
365
  }
254
366
  ],
255
367
  [
@@ -257,9 +369,9 @@
257
369
  "github",
258
370
  "createPR",
259
371
  {
372
+ "head": "@entity.head",
260
373
  "title": "@entity.title",
261
374
  "body": "@entity.body",
262
- "head": "@entity.head",
263
375
  "base": "@entity.base"
264
376
  }
265
377
  ]
@@ -284,35 +396,35 @@
284
396
  "render-ui",
285
397
  "main",
286
398
  {
287
- "type": "stack",
288
399
  "direction": "vertical",
289
- "gap": "lg",
290
- "align": "center",
291
400
  "children": [
292
401
  {
293
- "type": "icon",
294
402
  "name": "check-circle",
295
- "size": "lg"
403
+ "size": "lg",
404
+ "type": "icon"
296
405
  },
297
406
  {
298
407
  "type": "alert",
299
- "variant": "success",
300
- "message": "Pull request created!"
408
+ "message": "Pull request created!",
409
+ "variant": "success"
301
410
  },
302
411
  {
303
- "type": "typography",
304
- "variant": "body",
305
412
  "color": "muted",
306
- "content": "@entity.prUrl"
413
+ "variant": "body",
414
+ "content": "@entity.prUrl",
415
+ "type": "typography"
307
416
  },
308
417
  {
309
418
  "type": "button",
310
419
  "label": "Create Another",
311
- "event": "GH_RESET",
312
420
  "variant": "ghost",
313
- "icon": "rotate-ccw"
421
+ "icon": "rotate-ccw",
422
+ "event": "GH_RESET"
314
423
  }
315
- ]
424
+ ],
425
+ "align": "center",
426
+ "type": "stack",
427
+ "gap": "lg"
316
428
  }
317
429
  ]
318
430
  ]
@@ -336,18 +448,18 @@
336
448
  "render-ui",
337
449
  "main",
338
450
  {
339
- "type": "error-state",
340
- "title": "PR Creation Failed",
341
451
  "message": "@entity.error",
452
+ "title": "PR Creation Failed",
453
+ "type": "error-state",
342
454
  "onRetry": "GH_RETRY"
343
455
  }
344
456
  ]
345
457
  ]
346
458
  },
347
459
  {
348
- "from": "ghError",
460
+ "from": "prCreated",
349
461
  "to": "ghIdle",
350
- "event": "GH_RETRY",
462
+ "event": "GH_RESET",
351
463
  "effects": [
352
464
  [
353
465
  "set",
@@ -358,61 +470,61 @@
358
470
  "render-ui",
359
471
  "main",
360
472
  {
361
- "type": "stack",
362
473
  "direction": "vertical",
474
+ "type": "stack",
363
475
  "gap": "lg",
364
476
  "children": [
365
477
  {
366
478
  "type": "stack",
367
- "direction": "horizontal",
368
- "gap": "md",
369
479
  "align": "center",
370
480
  "children": [
371
481
  {
372
- "type": "icon",
373
482
  "name": "git-pull-request",
374
- "size": "lg"
483
+ "size": "lg",
484
+ "type": "icon"
375
485
  },
376
486
  {
487
+ "variant": "h3",
377
488
  "type": "typography",
378
- "content": "GitHub: Create PR",
379
- "variant": "h3"
489
+ "content": "GitHub: Create PR"
380
490
  }
381
- ]
491
+ ],
492
+ "gap": "md",
493
+ "direction": "horizontal"
382
494
  },
383
495
  {
384
496
  "type": "divider"
385
497
  },
386
498
  {
387
- "type": "input",
388
- "label": "Title",
389
499
  "bind": "@entity.title",
500
+ "label": "Title",
501
+ "type": "input",
390
502
  "placeholder": "PR title"
391
503
  },
392
504
  {
393
505
  "type": "textarea",
394
- "label": "Body",
395
506
  "bind": "@entity.body",
396
- "placeholder": "Describe your changes..."
507
+ "placeholder": "Describe your changes...",
508
+ "label": "Body"
397
509
  },
398
510
  {
511
+ "placeholder": "feature-branch",
399
512
  "type": "input",
400
- "label": "Head Branch",
401
513
  "bind": "@entity.head",
402
- "placeholder": "feature-branch"
514
+ "label": "Head Branch"
403
515
  },
404
516
  {
405
- "type": "input",
406
- "label": "Base Branch",
407
517
  "bind": "@entity.base",
518
+ "label": "Base Branch",
519
+ "type": "input",
408
520
  "placeholder": "main"
409
521
  },
410
522
  {
411
- "type": "button",
412
523
  "label": "Create PR",
524
+ "icon": "git-pull-request",
413
525
  "event": "CREATE_PR",
414
526
  "variant": "primary",
415
- "icon": "git-pull-request"
527
+ "type": "button"
416
528
  }
417
529
  ]
418
530
  }
@@ -420,9 +532,9 @@
420
532
  ]
421
533
  },
422
534
  {
423
- "from": "prCreated",
535
+ "from": "ghError",
424
536
  "to": "ghIdle",
425
- "event": "GH_RESET",
537
+ "event": "GH_RETRY",
426
538
  "effects": [
427
539
  [
428
540
  "set",
@@ -433,25 +545,22 @@
433
545
  "render-ui",
434
546
  "main",
435
547
  {
436
- "type": "stack",
437
- "direction": "vertical",
438
- "gap": "lg",
439
548
  "children": [
440
549
  {
441
- "type": "stack",
442
550
  "direction": "horizontal",
443
- "gap": "md",
444
551
  "align": "center",
552
+ "type": "stack",
553
+ "gap": "md",
445
554
  "children": [
446
555
  {
447
556
  "type": "icon",
448
- "name": "git-pull-request",
449
- "size": "lg"
557
+ "size": "lg",
558
+ "name": "git-pull-request"
450
559
  },
451
560
  {
452
- "type": "typography",
561
+ "variant": "h3",
453
562
  "content": "GitHub: Create PR",
454
- "variant": "h3"
563
+ "type": "typography"
455
564
  }
456
565
  ]
457
566
  },
@@ -460,47 +569,143 @@
460
569
  },
461
570
  {
462
571
  "type": "input",
463
- "label": "Title",
572
+ "placeholder": "PR title",
464
573
  "bind": "@entity.title",
465
- "placeholder": "PR title"
574
+ "label": "Title"
466
575
  },
467
576
  {
468
- "type": "textarea",
577
+ "placeholder": "Describe your changes...",
469
578
  "label": "Body",
470
- "bind": "@entity.body",
471
- "placeholder": "Describe your changes..."
579
+ "type": "textarea",
580
+ "bind": "@entity.body"
472
581
  },
473
582
  {
474
- "type": "input",
475
- "label": "Head Branch",
476
583
  "bind": "@entity.head",
477
- "placeholder": "feature-branch"
584
+ "type": "input",
585
+ "placeholder": "feature-branch",
586
+ "label": "Head Branch"
478
587
  },
479
588
  {
480
- "type": "input",
481
- "label": "Base Branch",
589
+ "placeholder": "main",
482
590
  "bind": "@entity.base",
483
- "placeholder": "main"
591
+ "label": "Base Branch",
592
+ "type": "input"
484
593
  },
485
594
  {
486
595
  "type": "button",
487
596
  "label": "Create PR",
488
- "event": "CREATE_PR",
489
597
  "variant": "primary",
598
+ "event": "CREATE_PR",
490
599
  "icon": "git-pull-request"
491
600
  }
492
- ]
601
+ ],
602
+ "type": "stack",
603
+ "direction": "vertical",
604
+ "gap": "lg"
493
605
  }
494
606
  ]
495
607
  ]
496
608
  }
497
609
  ]
498
- }
610
+ },
611
+ "scope": "instance"
499
612
  },
500
613
  {
501
614
  "name": "ServiceDevopsToolkitRedis",
502
- "linkedEntity": "ServiceDevopsToolkit",
503
615
  "category": "interaction",
616
+ "linkedEntity": "ServiceDevopsToolkit",
617
+ "emits": [
618
+ {
619
+ "event": "ServiceDevopsToolkitLoaded",
620
+ "description": "Fired when ServiceDevopsToolkit finishes loading",
621
+ "scope": "internal",
622
+ "payload": [
623
+ {
624
+ "name": "id",
625
+ "type": "string"
626
+ },
627
+ {
628
+ "name": "name",
629
+ "type": "string"
630
+ },
631
+ {
632
+ "name": "description",
633
+ "type": "string"
634
+ },
635
+ {
636
+ "name": "status",
637
+ "type": "string"
638
+ },
639
+ {
640
+ "name": "createdAt",
641
+ "type": "string"
642
+ },
643
+ {
644
+ "name": "title",
645
+ "type": "string"
646
+ },
647
+ {
648
+ "name": "body",
649
+ "type": "string"
650
+ },
651
+ {
652
+ "name": "head",
653
+ "type": "string"
654
+ },
655
+ {
656
+ "name": "base",
657
+ "type": "string"
658
+ },
659
+ {
660
+ "name": "prUrl",
661
+ "type": "string"
662
+ },
663
+ {
664
+ "name": "cacheKey",
665
+ "type": "string"
666
+ },
667
+ {
668
+ "name": "cacheValue",
669
+ "type": "string"
670
+ },
671
+ {
672
+ "name": "bucket",
673
+ "type": "string"
674
+ },
675
+ {
676
+ "name": "fileKey",
677
+ "type": "string"
678
+ },
679
+ {
680
+ "name": "result",
681
+ "type": "string"
682
+ },
683
+ {
684
+ "name": "toolStatus",
685
+ "type": "string"
686
+ },
687
+ {
688
+ "name": "activeTab",
689
+ "type": "string"
690
+ },
691
+ {
692
+ "name": "error",
693
+ "type": "string"
694
+ }
695
+ ]
696
+ },
697
+ {
698
+ "event": "ServiceDevopsToolkitLoadFailed",
699
+ "description": "Fired when ServiceDevopsToolkit fails to load",
700
+ "scope": "internal",
701
+ "payload": [
702
+ {
703
+ "name": "message",
704
+ "type": "string"
705
+ }
706
+ ]
707
+ }
708
+ ],
504
709
  "stateMachine": {
505
710
  "states": [
506
711
  {
@@ -563,6 +768,20 @@
563
768
  {
564
769
  "key": "REDIS_RETRY",
565
770
  "name": "Redis Retry"
771
+ },
772
+ {
773
+ "key": "ServiceDevopsToolkitLoaded",
774
+ "name": "ServiceDevopsToolkit loaded"
775
+ },
776
+ {
777
+ "key": "ServiceDevopsToolkitLoadFailed",
778
+ "name": "ServiceDevopsToolkit load failed",
779
+ "payload": [
780
+ {
781
+ "name": "message",
782
+ "type": "string"
783
+ }
784
+ ]
566
785
  }
567
786
  ],
568
787
  "transitions": [
@@ -573,26 +792,30 @@
573
792
  "effects": [
574
793
  [
575
794
  "fetch",
576
- "ServiceDevopsToolkit"
795
+ "ServiceDevopsToolkit",
796
+ {
797
+ "emit": {
798
+ "success": "ServiceDevopsToolkitLoaded",
799
+ "failure": "ServiceDevopsToolkitLoadFailed"
800
+ }
801
+ }
577
802
  ],
578
803
  [
579
804
  "render-ui",
580
805
  "main",
581
806
  {
582
- "type": "stack",
583
- "direction": "vertical",
584
807
  "gap": "lg",
585
808
  "children": [
586
809
  {
587
- "type": "stack",
588
810
  "direction": "horizontal",
589
- "gap": "md",
590
811
  "align": "center",
812
+ "type": "stack",
813
+ "gap": "md",
591
814
  "children": [
592
815
  {
816
+ "size": "lg",
593
817
  "type": "icon",
594
- "name": "database",
595
- "size": "lg"
818
+ "name": "database"
596
819
  },
597
820
  {
598
821
  "type": "typography",
@@ -605,47 +828,49 @@
605
828
  "type": "divider"
606
829
  },
607
830
  {
608
- "type": "input",
831
+ "placeholder": "cache-key",
609
832
  "label": "Key",
610
- "bind": "@entity.cacheKey",
611
- "placeholder": "cache-key"
833
+ "type": "input",
834
+ "bind": "@entity.cacheKey"
612
835
  },
613
836
  {
614
- "type": "input",
615
- "label": "Value",
837
+ "placeholder": "cache-value",
616
838
  "bind": "@entity.cacheValue",
617
- "placeholder": "cache-value"
839
+ "label": "Value",
840
+ "type": "input"
618
841
  },
619
842
  {
620
- "type": "stack",
621
- "direction": "horizontal",
622
- "gap": "sm",
623
843
  "justify": "center",
844
+ "direction": "horizontal",
624
845
  "children": [
625
846
  {
626
- "type": "button",
627
- "label": "Get",
628
- "event": "GET_KEY",
629
847
  "variant": "primary",
630
- "icon": "download"
848
+ "event": "GET_KEY",
849
+ "icon": "download",
850
+ "label": "Get",
851
+ "type": "button"
631
852
  },
632
853
  {
633
854
  "type": "button",
855
+ "icon": "upload",
634
856
  "label": "Set",
635
- "event": "SET_KEY",
636
857
  "variant": "primary",
637
- "icon": "upload"
858
+ "event": "SET_KEY"
638
859
  },
639
860
  {
640
- "type": "button",
641
861
  "label": "Delete",
642
862
  "event": "DELETE_KEY",
643
863
  "variant": "destructive",
644
- "icon": "trash-2"
864
+ "icon": "trash-2",
865
+ "type": "button"
645
866
  }
646
- ]
867
+ ],
868
+ "gap": "sm",
869
+ "type": "stack"
647
870
  }
648
- ]
871
+ ],
872
+ "direction": "vertical",
873
+ "type": "stack"
649
874
  }
650
875
  ]
651
876
  ]
@@ -683,9 +908,9 @@
683
908
  "render-ui",
684
909
  "main",
685
910
  {
911
+ "message": "Running Redis operation...",
686
912
  "type": "loading-state",
687
- "title": "Executing...",
688
- "message": "Running Redis operation..."
913
+ "title": "Executing..."
689
914
  }
690
915
  ],
691
916
  [
@@ -693,8 +918,8 @@
693
918
  "redis",
694
919
  "set",
695
920
  {
696
- "key": "@entity.cacheKey",
697
- "value": "@entity.cacheValue"
921
+ "value": "@entity.cacheValue",
922
+ "key": "@entity.cacheKey"
698
923
  }
699
924
  ]
700
925
  ]
@@ -708,9 +933,9 @@
708
933
  "render-ui",
709
934
  "main",
710
935
  {
711
- "type": "loading-state",
712
936
  "title": "Executing...",
713
- "message": "Running Redis operation..."
937
+ "message": "Running Redis operation...",
938
+ "type": "loading-state"
714
939
  }
715
940
  ],
716
941
  [
@@ -742,10 +967,6 @@
742
967
  "render-ui",
743
968
  "main",
744
969
  {
745
- "type": "stack",
746
- "direction": "vertical",
747
- "gap": "lg",
748
- "align": "center",
749
970
  "children": [
750
971
  {
751
972
  "type": "icon",
@@ -753,24 +974,28 @@
753
974
  "size": "lg"
754
975
  },
755
976
  {
756
- "type": "alert",
757
977
  "variant": "success",
978
+ "type": "alert",
758
979
  "message": "Redis operation complete"
759
980
  },
760
981
  {
761
- "type": "typography",
762
- "variant": "body",
763
982
  "color": "muted",
983
+ "variant": "body",
984
+ "type": "typography",
764
985
  "content": "@entity.result"
765
986
  },
766
987
  {
767
988
  "type": "button",
989
+ "icon": "rotate-ccw",
768
990
  "label": "Reset",
769
991
  "event": "REDIS_RESET",
770
- "variant": "ghost",
771
- "icon": "rotate-ccw"
992
+ "variant": "ghost"
772
993
  }
773
- ]
994
+ ],
995
+ "gap": "lg",
996
+ "direction": "vertical",
997
+ "type": "stack",
998
+ "align": "center"
774
999
  }
775
1000
  ]
776
1001
  ]
@@ -794,10 +1019,10 @@
794
1019
  "render-ui",
795
1020
  "main",
796
1021
  {
797
- "type": "error-state",
1022
+ "onRetry": "REDIS_RETRY",
798
1023
  "title": "Redis Error",
799
- "message": "@entity.error",
800
- "onRetry": "REDIS_RETRY"
1024
+ "type": "error-state",
1025
+ "message": "@entity.error"
801
1026
  }
802
1027
  ]
803
1028
  ]
@@ -817,24 +1042,23 @@
817
1042
  "main",
818
1043
  {
819
1044
  "type": "stack",
820
- "direction": "vertical",
821
1045
  "gap": "lg",
822
1046
  "children": [
823
1047
  {
824
- "type": "stack",
825
1048
  "direction": "horizontal",
826
- "gap": "md",
1049
+ "type": "stack",
827
1050
  "align": "center",
1051
+ "gap": "md",
828
1052
  "children": [
829
1053
  {
1054
+ "size": "lg",
830
1055
  "type": "icon",
831
- "name": "database",
832
- "size": "lg"
1056
+ "name": "database"
833
1057
  },
834
1058
  {
835
- "type": "typography",
836
1059
  "content": "Redis Cache",
837
- "variant": "h3"
1060
+ "variant": "h3",
1061
+ "type": "typography"
838
1062
  }
839
1063
  ]
840
1064
  },
@@ -843,46 +1067,47 @@
843
1067
  },
844
1068
  {
845
1069
  "type": "input",
846
- "label": "Key",
847
1070
  "bind": "@entity.cacheKey",
848
- "placeholder": "cache-key"
1071
+ "placeholder": "cache-key",
1072
+ "label": "Key"
849
1073
  },
850
1074
  {
851
- "type": "input",
852
- "label": "Value",
853
1075
  "bind": "@entity.cacheValue",
854
- "placeholder": "cache-value"
1076
+ "label": "Value",
1077
+ "placeholder": "cache-value",
1078
+ "type": "input"
855
1079
  },
856
1080
  {
857
- "type": "stack",
858
1081
  "direction": "horizontal",
859
- "gap": "sm",
1082
+ "type": "stack",
860
1083
  "justify": "center",
861
1084
  "children": [
862
1085
  {
863
- "type": "button",
864
- "label": "Get",
1086
+ "icon": "download",
865
1087
  "event": "GET_KEY",
866
1088
  "variant": "primary",
867
- "icon": "download"
1089
+ "type": "button",
1090
+ "label": "Get"
868
1091
  },
869
1092
  {
1093
+ "event": "SET_KEY",
870
1094
  "type": "button",
871
1095
  "label": "Set",
872
- "event": "SET_KEY",
873
- "variant": "primary",
874
- "icon": "upload"
1096
+ "icon": "upload",
1097
+ "variant": "primary"
875
1098
  },
876
1099
  {
877
1100
  "type": "button",
878
- "label": "Delete",
1101
+ "icon": "trash-2",
879
1102
  "event": "DELETE_KEY",
880
1103
  "variant": "destructive",
881
- "icon": "trash-2"
1104
+ "label": "Delete"
882
1105
  }
883
- ]
1106
+ ],
1107
+ "gap": "sm"
884
1108
  }
885
- ]
1109
+ ],
1110
+ "direction": "vertical"
886
1111
  }
887
1112
  ]
888
1113
  ]
@@ -901,19 +1126,15 @@
901
1126
  "render-ui",
902
1127
  "main",
903
1128
  {
904
- "type": "stack",
905
- "direction": "vertical",
906
- "gap": "lg",
907
1129
  "children": [
908
1130
  {
909
1131
  "type": "stack",
910
1132
  "direction": "horizontal",
911
- "gap": "md",
912
1133
  "align": "center",
913
1134
  "children": [
914
1135
  {
915
- "type": "icon",
916
1136
  "name": "database",
1137
+ "type": "icon",
917
1138
  "size": "lg"
918
1139
  },
919
1140
  {
@@ -921,64 +1142,161 @@
921
1142
  "content": "Redis Cache",
922
1143
  "variant": "h3"
923
1144
  }
924
- ]
1145
+ ],
1146
+ "gap": "md"
925
1147
  },
926
1148
  {
927
1149
  "type": "divider"
928
1150
  },
929
1151
  {
930
- "type": "input",
931
- "label": "Key",
1152
+ "placeholder": "cache-key",
932
1153
  "bind": "@entity.cacheKey",
933
- "placeholder": "cache-key"
1154
+ "type": "input",
1155
+ "label": "Key"
934
1156
  },
935
1157
  {
936
- "type": "input",
937
1158
  "label": "Value",
938
1159
  "bind": "@entity.cacheValue",
1160
+ "type": "input",
939
1161
  "placeholder": "cache-value"
940
1162
  },
941
1163
  {
942
- "type": "stack",
943
- "direction": "horizontal",
944
- "gap": "sm",
945
- "justify": "center",
946
1164
  "children": [
947
1165
  {
948
- "type": "button",
949
- "label": "Get",
950
- "event": "GET_KEY",
951
1166
  "variant": "primary",
952
- "icon": "download"
1167
+ "icon": "download",
1168
+ "label": "Get",
1169
+ "type": "button",
1170
+ "event": "GET_KEY"
953
1171
  },
954
1172
  {
955
- "type": "button",
956
1173
  "label": "Set",
1174
+ "icon": "upload",
957
1175
  "event": "SET_KEY",
958
- "variant": "primary",
959
- "icon": "upload"
1176
+ "type": "button",
1177
+ "variant": "primary"
960
1178
  },
961
1179
  {
962
- "type": "button",
963
- "label": "Delete",
964
1180
  "event": "DELETE_KEY",
965
1181
  "variant": "destructive",
966
- "icon": "trash-2"
1182
+ "icon": "trash-2",
1183
+ "label": "Delete",
1184
+ "type": "button"
967
1185
  }
968
- ]
1186
+ ],
1187
+ "type": "stack",
1188
+ "direction": "horizontal",
1189
+ "justify": "center",
1190
+ "gap": "sm"
969
1191
  }
970
- ]
1192
+ ],
1193
+ "type": "stack",
1194
+ "direction": "vertical",
1195
+ "gap": "lg"
971
1196
  }
972
1197
  ]
973
1198
  ]
974
1199
  }
975
1200
  ]
976
- }
1201
+ },
1202
+ "scope": "instance"
977
1203
  },
978
1204
  {
979
1205
  "name": "ServiceDevopsToolkitStorage",
980
- "linkedEntity": "ServiceDevopsToolkit",
981
1206
  "category": "interaction",
1207
+ "linkedEntity": "ServiceDevopsToolkit",
1208
+ "emits": [
1209
+ {
1210
+ "event": "ServiceDevopsToolkitLoaded",
1211
+ "description": "Fired when ServiceDevopsToolkit finishes loading",
1212
+ "scope": "internal",
1213
+ "payload": [
1214
+ {
1215
+ "name": "id",
1216
+ "type": "string"
1217
+ },
1218
+ {
1219
+ "name": "name",
1220
+ "type": "string"
1221
+ },
1222
+ {
1223
+ "name": "description",
1224
+ "type": "string"
1225
+ },
1226
+ {
1227
+ "name": "status",
1228
+ "type": "string"
1229
+ },
1230
+ {
1231
+ "name": "createdAt",
1232
+ "type": "string"
1233
+ },
1234
+ {
1235
+ "name": "title",
1236
+ "type": "string"
1237
+ },
1238
+ {
1239
+ "name": "body",
1240
+ "type": "string"
1241
+ },
1242
+ {
1243
+ "name": "head",
1244
+ "type": "string"
1245
+ },
1246
+ {
1247
+ "name": "base",
1248
+ "type": "string"
1249
+ },
1250
+ {
1251
+ "name": "prUrl",
1252
+ "type": "string"
1253
+ },
1254
+ {
1255
+ "name": "cacheKey",
1256
+ "type": "string"
1257
+ },
1258
+ {
1259
+ "name": "cacheValue",
1260
+ "type": "string"
1261
+ },
1262
+ {
1263
+ "name": "bucket",
1264
+ "type": "string"
1265
+ },
1266
+ {
1267
+ "name": "fileKey",
1268
+ "type": "string"
1269
+ },
1270
+ {
1271
+ "name": "result",
1272
+ "type": "string"
1273
+ },
1274
+ {
1275
+ "name": "toolStatus",
1276
+ "type": "string"
1277
+ },
1278
+ {
1279
+ "name": "activeTab",
1280
+ "type": "string"
1281
+ },
1282
+ {
1283
+ "name": "error",
1284
+ "type": "string"
1285
+ }
1286
+ ]
1287
+ },
1288
+ {
1289
+ "event": "ServiceDevopsToolkitLoadFailed",
1290
+ "description": "Fired when ServiceDevopsToolkit fails to load",
1291
+ "scope": "internal",
1292
+ "payload": [
1293
+ {
1294
+ "name": "message",
1295
+ "type": "string"
1296
+ }
1297
+ ]
1298
+ }
1299
+ ],
982
1300
  "stateMachine": {
983
1301
  "states": [
984
1302
  {
@@ -1002,15 +1320,15 @@
1002
1320
  },
1003
1321
  {
1004
1322
  "key": "UPLOAD",
1005
- "name": "Upload File"
1323
+ "name": "Upload"
1006
1324
  },
1007
1325
  {
1008
1326
  "key": "DOWNLOAD",
1009
- "name": "Download File"
1327
+ "name": "Download"
1010
1328
  },
1011
1329
  {
1012
1330
  "key": "LIST",
1013
- "name": "List Files"
1331
+ "name": "List"
1014
1332
  },
1015
1333
  {
1016
1334
  "key": "DELETE_FILE",
@@ -1045,6 +1363,20 @@
1045
1363
  {
1046
1364
  "key": "STORAGE_RETRY",
1047
1365
  "name": "Storage Retry"
1366
+ },
1367
+ {
1368
+ "key": "ServiceDevopsToolkitLoaded",
1369
+ "name": "ServiceDevopsToolkit loaded"
1370
+ },
1371
+ {
1372
+ "key": "ServiceDevopsToolkitLoadFailed",
1373
+ "name": "ServiceDevopsToolkit load failed",
1374
+ "payload": [
1375
+ {
1376
+ "name": "message",
1377
+ "type": "string"
1378
+ }
1379
+ ]
1048
1380
  }
1049
1381
  ],
1050
1382
  "transitions": [
@@ -1055,25 +1387,31 @@
1055
1387
  "effects": [
1056
1388
  [
1057
1389
  "fetch",
1058
- "ServiceDevopsToolkit"
1390
+ "ServiceDevopsToolkit",
1391
+ {
1392
+ "emit": {
1393
+ "success": "ServiceDevopsToolkitLoaded",
1394
+ "failure": "ServiceDevopsToolkitLoadFailed"
1395
+ }
1396
+ }
1059
1397
  ],
1060
1398
  [
1061
1399
  "render-ui",
1062
1400
  "main",
1063
1401
  {
1064
- "type": "stack",
1065
1402
  "direction": "vertical",
1066
1403
  "gap": "lg",
1404
+ "type": "stack",
1067
1405
  "children": [
1068
1406
  {
1069
- "type": "stack",
1070
- "direction": "horizontal",
1071
1407
  "gap": "md",
1072
1408
  "align": "center",
1409
+ "direction": "horizontal",
1410
+ "type": "stack",
1073
1411
  "children": [
1074
1412
  {
1075
- "type": "icon",
1076
1413
  "name": "hard-drive",
1414
+ "type": "icon",
1077
1415
  "size": "lg"
1078
1416
  },
1079
1417
  {
@@ -1089,26 +1427,24 @@
1089
1427
  {
1090
1428
  "type": "input",
1091
1429
  "label": "Bucket",
1092
- "bind": "@entity.bucket",
1093
- "placeholder": "bucket-name"
1430
+ "placeholder": "bucket-name",
1431
+ "bind": "@entity.bucket"
1094
1432
  },
1095
1433
  {
1096
- "type": "input",
1097
- "label": "File Key",
1098
1434
  "bind": "@entity.fileKey",
1435
+ "label": "File Key",
1436
+ "type": "input",
1099
1437
  "placeholder": "path/to/file.txt"
1100
1438
  },
1101
1439
  {
1102
- "type": "stack",
1103
- "direction": "horizontal",
1104
- "gap": "sm",
1105
1440
  "justify": "center",
1441
+ "type": "stack",
1106
1442
  "children": [
1107
1443
  {
1108
- "type": "button",
1109
1444
  "label": "Upload",
1110
- "event": "UPLOAD",
1445
+ "type": "button",
1111
1446
  "variant": "primary",
1447
+ "event": "UPLOAD",
1112
1448
  "icon": "upload"
1113
1449
  },
1114
1450
  {
@@ -1119,20 +1455,22 @@
1119
1455
  "icon": "download"
1120
1456
  },
1121
1457
  {
1122
- "type": "button",
1123
1458
  "label": "List",
1124
1459
  "event": "LIST",
1460
+ "type": "button",
1125
1461
  "variant": "secondary",
1126
1462
  "icon": "list"
1127
1463
  },
1128
1464
  {
1129
1465
  "type": "button",
1130
1466
  "label": "Delete",
1467
+ "icon": "trash-2",
1131
1468
  "event": "DELETE_FILE",
1132
- "variant": "destructive",
1133
- "icon": "trash-2"
1469
+ "variant": "destructive"
1134
1470
  }
1135
- ]
1471
+ ],
1472
+ "gap": "sm",
1473
+ "direction": "horizontal"
1136
1474
  }
1137
1475
  ]
1138
1476
  }
@@ -1183,8 +1521,8 @@
1183
1521
  "storage",
1184
1522
  "download",
1185
1523
  {
1186
- "bucket": "@entity.bucket",
1187
- "key": "@entity.fileKey"
1524
+ "key": "@entity.fileKey",
1525
+ "bucket": "@entity.bucket"
1188
1526
  }
1189
1527
  ]
1190
1528
  ]
@@ -1222,9 +1560,9 @@
1222
1560
  "render-ui",
1223
1561
  "main",
1224
1562
  {
1563
+ "message": "Executing storage operation...",
1225
1564
  "type": "loading-state",
1226
- "title": "Processing...",
1227
- "message": "Executing storage operation..."
1565
+ "title": "Processing..."
1228
1566
  }
1229
1567
  ],
1230
1568
  [
@@ -1257,35 +1595,35 @@
1257
1595
  "render-ui",
1258
1596
  "main",
1259
1597
  {
1260
- "type": "stack",
1261
- "direction": "vertical",
1262
1598
  "gap": "lg",
1599
+ "direction": "vertical",
1263
1600
  "align": "center",
1264
1601
  "children": [
1265
1602
  {
1266
- "type": "icon",
1267
1603
  "name": "check-circle",
1604
+ "type": "icon",
1268
1605
  "size": "lg"
1269
1606
  },
1270
1607
  {
1271
- "type": "alert",
1272
1608
  "variant": "success",
1273
- "message": "Storage operation complete"
1609
+ "message": "Storage operation complete",
1610
+ "type": "alert"
1274
1611
  },
1275
1612
  {
1613
+ "content": "@entity.result",
1276
1614
  "type": "typography",
1277
1615
  "variant": "body",
1278
- "color": "muted",
1279
- "content": "@entity.result"
1616
+ "color": "muted"
1280
1617
  },
1281
1618
  {
1282
- "type": "button",
1283
1619
  "label": "Back",
1284
- "event": "STORAGE_RESET",
1620
+ "type": "button",
1285
1621
  "variant": "ghost",
1286
- "icon": "rotate-ccw"
1622
+ "icon": "rotate-ccw",
1623
+ "event": "STORAGE_RESET"
1287
1624
  }
1288
- ]
1625
+ ],
1626
+ "type": "stack"
1289
1627
  }
1290
1628
  ]
1291
1629
  ]
@@ -1309,10 +1647,10 @@
1309
1647
  "render-ui",
1310
1648
  "main",
1311
1649
  {
1312
- "type": "error-state",
1313
- "title": "Storage Error",
1314
1650
  "message": "@entity.error",
1315
- "onRetry": "STORAGE_RETRY"
1651
+ "onRetry": "STORAGE_RETRY",
1652
+ "type": "error-state",
1653
+ "title": "Storage Error"
1316
1654
  }
1317
1655
  ]
1318
1656
  ]
@@ -1331,80 +1669,80 @@
1331
1669
  "render-ui",
1332
1670
  "main",
1333
1671
  {
1334
- "type": "stack",
1335
- "direction": "vertical",
1336
1672
  "gap": "lg",
1337
1673
  "children": [
1338
1674
  {
1339
- "type": "stack",
1340
- "direction": "horizontal",
1341
- "gap": "md",
1342
1675
  "align": "center",
1676
+ "gap": "md",
1343
1677
  "children": [
1344
1678
  {
1345
- "type": "icon",
1346
1679
  "name": "hard-drive",
1347
- "size": "lg"
1680
+ "size": "lg",
1681
+ "type": "icon"
1348
1682
  },
1349
1683
  {
1350
- "type": "typography",
1684
+ "variant": "h3",
1351
1685
  "content": "Storage Files",
1352
- "variant": "h3"
1686
+ "type": "typography"
1353
1687
  }
1354
- ]
1688
+ ],
1689
+ "type": "stack",
1690
+ "direction": "horizontal"
1355
1691
  },
1356
1692
  {
1357
1693
  "type": "divider"
1358
1694
  },
1359
1695
  {
1696
+ "bind": "@entity.bucket",
1360
1697
  "type": "input",
1361
1698
  "label": "Bucket",
1362
- "bind": "@entity.bucket",
1363
1699
  "placeholder": "bucket-name"
1364
1700
  },
1365
1701
  {
1366
- "type": "input",
1367
1702
  "label": "File Key",
1703
+ "placeholder": "path/to/file.txt",
1368
1704
  "bind": "@entity.fileKey",
1369
- "placeholder": "path/to/file.txt"
1705
+ "type": "input"
1370
1706
  },
1371
1707
  {
1372
1708
  "type": "stack",
1373
- "direction": "horizontal",
1374
- "gap": "sm",
1375
- "justify": "center",
1376
1709
  "children": [
1377
1710
  {
1378
- "type": "button",
1379
- "label": "Upload",
1380
1711
  "event": "UPLOAD",
1712
+ "label": "Upload",
1381
1713
  "variant": "primary",
1382
- "icon": "upload"
1714
+ "icon": "upload",
1715
+ "type": "button"
1383
1716
  },
1384
1717
  {
1718
+ "variant": "secondary",
1385
1719
  "type": "button",
1386
- "label": "Download",
1387
1720
  "event": "DOWNLOAD",
1388
- "variant": "secondary",
1721
+ "label": "Download",
1389
1722
  "icon": "download"
1390
1723
  },
1391
1724
  {
1392
- "type": "button",
1393
1725
  "label": "List",
1394
- "event": "LIST",
1726
+ "icon": "list",
1727
+ "type": "button",
1395
1728
  "variant": "secondary",
1396
- "icon": "list"
1729
+ "event": "LIST"
1397
1730
  },
1398
1731
  {
1399
1732
  "type": "button",
1400
- "label": "Delete",
1401
- "event": "DELETE_FILE",
1402
1733
  "variant": "destructive",
1403
- "icon": "trash-2"
1734
+ "event": "DELETE_FILE",
1735
+ "icon": "trash-2",
1736
+ "label": "Delete"
1404
1737
  }
1405
- ]
1738
+ ],
1739
+ "justify": "center",
1740
+ "direction": "horizontal",
1741
+ "gap": "sm"
1406
1742
  }
1407
- ]
1743
+ ],
1744
+ "direction": "vertical",
1745
+ "type": "stack"
1408
1746
  }
1409
1747
  ]
1410
1748
  ]
@@ -1423,86 +1761,87 @@
1423
1761
  "render-ui",
1424
1762
  "main",
1425
1763
  {
1426
- "type": "stack",
1427
- "direction": "vertical",
1428
- "gap": "lg",
1429
1764
  "children": [
1430
1765
  {
1431
- "type": "stack",
1432
- "direction": "horizontal",
1433
- "gap": "md",
1434
- "align": "center",
1435
1766
  "children": [
1436
1767
  {
1437
1768
  "type": "icon",
1438
- "name": "hard-drive",
1439
- "size": "lg"
1769
+ "size": "lg",
1770
+ "name": "hard-drive"
1440
1771
  },
1441
1772
  {
1773
+ "variant": "h3",
1442
1774
  "type": "typography",
1443
- "content": "Storage Files",
1444
- "variant": "h3"
1775
+ "content": "Storage Files"
1445
1776
  }
1446
- ]
1777
+ ],
1778
+ "direction": "horizontal",
1779
+ "align": "center",
1780
+ "type": "stack",
1781
+ "gap": "md"
1447
1782
  },
1448
1783
  {
1449
1784
  "type": "divider"
1450
1785
  },
1451
1786
  {
1452
- "type": "input",
1453
- "label": "Bucket",
1454
1787
  "bind": "@entity.bucket",
1455
- "placeholder": "bucket-name"
1788
+ "type": "input",
1789
+ "placeholder": "bucket-name",
1790
+ "label": "Bucket"
1456
1791
  },
1457
1792
  {
1458
- "type": "input",
1459
- "label": "File Key",
1460
1793
  "bind": "@entity.fileKey",
1794
+ "label": "File Key",
1795
+ "type": "input",
1461
1796
  "placeholder": "path/to/file.txt"
1462
1797
  },
1463
1798
  {
1464
- "type": "stack",
1465
- "direction": "horizontal",
1466
- "gap": "sm",
1467
1799
  "justify": "center",
1468
1800
  "children": [
1469
1801
  {
1470
- "type": "button",
1471
1802
  "label": "Upload",
1472
1803
  "event": "UPLOAD",
1804
+ "icon": "upload",
1473
1805
  "variant": "primary",
1474
- "icon": "upload"
1806
+ "type": "button"
1475
1807
  },
1476
1808
  {
1477
- "type": "button",
1478
1809
  "label": "Download",
1479
- "event": "DOWNLOAD",
1480
1810
  "variant": "secondary",
1481
- "icon": "download"
1811
+ "icon": "download",
1812
+ "type": "button",
1813
+ "event": "DOWNLOAD"
1482
1814
  },
1483
1815
  {
1484
1816
  "type": "button",
1485
- "label": "List",
1486
- "event": "LIST",
1487
1817
  "variant": "secondary",
1488
- "icon": "list"
1818
+ "icon": "list",
1819
+ "event": "LIST",
1820
+ "label": "List"
1489
1821
  },
1490
1822
  {
1491
- "type": "button",
1492
- "label": "Delete",
1493
1823
  "event": "DELETE_FILE",
1824
+ "type": "button",
1494
1825
  "variant": "destructive",
1495
- "icon": "trash-2"
1826
+ "icon": "trash-2",
1827
+ "label": "Delete"
1496
1828
  }
1497
- ]
1829
+ ],
1830
+ "type": "stack",
1831
+ "direction": "horizontal",
1832
+ "gap": "sm"
1498
1833
  }
1499
- ]
1834
+ ],
1835
+ "direction": "vertical",
1836
+ "gap": "lg",
1837
+ "type": "stack"
1500
1838
  }
1501
1839
  ]
1502
1840
  ]
1503
1841
  }
1504
1842
  ]
1505
- }
1843
+ },
1844
+ "scope": "instance"
1506
1845
  }
1507
1846
  ],
1508
1847
  "pages": [
@@ -1524,4 +1863,4 @@
1524
1863
  ]
1525
1864
  }
1526
1865
  ]
1527
- }
1866
+ }