@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-payment-flow",
3
3
  "version": "1.0.0",
4
- "description": "Payment flow molecule. Composes stripe payment and email receipt into a single orchestrated flow: pay, then auto-send receipt email.",
4
+ "description": "std-service-payment-flow as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "ServicePaymentFlowOrbital",
@@ -84,12 +84,89 @@
84
84
  "traits": [
85
85
  {
86
86
  "name": "ServicePaymentFlowPayment",
87
- "linkedEntity": "ServicePaymentFlow",
88
87
  "category": "interaction",
88
+ "linkedEntity": "ServicePaymentFlow",
89
89
  "emits": [
90
90
  {
91
- "event": "SEND_RECEIPT",
92
- "scope": "internal"
91
+ "event": "SEND_RECEIPT"
92
+ },
93
+ {
94
+ "event": "ServicePaymentFlowLoaded",
95
+ "description": "Fired when ServicePaymentFlow finishes loading",
96
+ "scope": "internal",
97
+ "payload": [
98
+ {
99
+ "name": "id",
100
+ "type": "string"
101
+ },
102
+ {
103
+ "name": "name",
104
+ "type": "string"
105
+ },
106
+ {
107
+ "name": "description",
108
+ "type": "string"
109
+ },
110
+ {
111
+ "name": "status",
112
+ "type": "string"
113
+ },
114
+ {
115
+ "name": "createdAt",
116
+ "type": "string"
117
+ },
118
+ {
119
+ "name": "amount",
120
+ "type": "number"
121
+ },
122
+ {
123
+ "name": "currency",
124
+ "type": "string"
125
+ },
126
+ {
127
+ "name": "paymentIntentId",
128
+ "type": "string"
129
+ },
130
+ {
131
+ "name": "clientSecret",
132
+ "type": "string"
133
+ },
134
+ {
135
+ "name": "paymentStatus",
136
+ "type": "string"
137
+ },
138
+ {
139
+ "name": "to",
140
+ "type": "string"
141
+ },
142
+ {
143
+ "name": "subject",
144
+ "type": "string"
145
+ },
146
+ {
147
+ "name": "body",
148
+ "type": "string"
149
+ },
150
+ {
151
+ "name": "sendStatus",
152
+ "type": "string"
153
+ },
154
+ {
155
+ "name": "error",
156
+ "type": "string"
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "event": "ServicePaymentFlowLoadFailed",
162
+ "description": "Fired when ServicePaymentFlow fails to load",
163
+ "scope": "internal",
164
+ "payload": [
165
+ {
166
+ "name": "message",
167
+ "type": "string"
168
+ }
169
+ ]
93
170
  }
94
171
  ],
95
172
  "stateMachine": {
@@ -136,10 +213,6 @@
136
213
  }
137
214
  ]
138
215
  },
139
- {
140
- "key": "PAYMENT_CONFIRMED",
141
- "name": "Payment Confirmed"
142
- },
143
216
  {
144
217
  "key": "FAILED",
145
218
  "name": "Failed",
@@ -152,12 +225,34 @@
152
225
  ]
153
226
  },
154
227
  {
155
- "key": "RETRY",
156
- "name": "Retry"
228
+ "key": "PAYMENT_CONFIRMED",
229
+ "name": "Payment Confirmed"
157
230
  },
158
231
  {
159
232
  "key": "RESET",
160
233
  "name": "Reset"
234
+ },
235
+ {
236
+ "key": "RETRY",
237
+ "name": "Retry"
238
+ },
239
+ {
240
+ "key": "SEND_RECEIPT",
241
+ "name": "Send Receipt"
242
+ },
243
+ {
244
+ "key": "ServicePaymentFlowLoaded",
245
+ "name": "ServicePaymentFlow loaded"
246
+ },
247
+ {
248
+ "key": "ServicePaymentFlowLoadFailed",
249
+ "name": "ServicePaymentFlow load failed",
250
+ "payload": [
251
+ {
252
+ "name": "message",
253
+ "type": "string"
254
+ }
255
+ ]
161
256
  }
162
257
  ],
163
258
  "transitions": [
@@ -168,7 +263,13 @@
168
263
  "effects": [
169
264
  [
170
265
  "fetch",
171
- "ServicePaymentFlow"
266
+ "ServicePaymentFlow",
267
+ {
268
+ "emit": {
269
+ "success": "ServicePaymentFlowLoaded",
270
+ "failure": "ServicePaymentFlowLoadFailed"
271
+ }
272
+ }
172
273
  ],
173
274
  [
174
275
  "render-ui",
@@ -176,69 +277,69 @@
176
277
  {
177
278
  "type": "stack",
178
279
  "direction": "vertical",
179
- "gap": "lg",
180
280
  "align": "center",
281
+ "gap": "lg",
181
282
  "children": [
182
283
  {
183
284
  "type": "stack",
184
- "direction": "horizontal",
185
- "gap": "md",
186
285
  "align": "center",
286
+ "direction": "horizontal",
187
287
  "children": [
188
288
  {
189
- "type": "icon",
190
289
  "name": "credit-card",
191
- "size": "lg"
290
+ "size": "lg",
291
+ "type": "icon"
192
292
  },
193
293
  {
194
294
  "type": "typography",
195
- "content": "Payment",
196
- "variant": "h2"
295
+ "variant": "h2",
296
+ "content": "Payment"
197
297
  }
198
- ]
298
+ ],
299
+ "gap": "md"
199
300
  },
200
301
  {
201
302
  "type": "divider"
202
303
  },
203
304
  {
204
- "type": "stack",
205
- "direction": "vertical",
206
305
  "gap": "md",
306
+ "direction": "vertical",
307
+ "type": "stack",
207
308
  "children": [
208
309
  {
209
- "type": "input",
210
310
  "label": "Amount",
211
- "field": "amount",
311
+ "placeholder": "0.00",
312
+ "type": "input",
212
313
  "inputType": "number",
213
- "placeholder": "0.00"
314
+ "field": "amount"
214
315
  },
215
316
  {
216
- "type": "select",
217
- "label": "Currency",
218
- "field": "currency",
219
317
  "options": [
220
318
  {
221
- "label": "USD",
222
- "value": "usd"
319
+ "value": "usd",
320
+ "label": "USD"
223
321
  },
224
322
  {
225
323
  "label": "EUR",
226
324
  "value": "eur"
227
325
  },
228
326
  {
229
- "label": "GBP",
230
- "value": "gbp"
327
+ "value": "gbp",
328
+ "label": "GBP"
231
329
  }
232
- ]
330
+ ],
331
+ "label": "Currency",
332
+ "field": "currency",
333
+ "type": "select"
233
334
  }
234
335
  ]
235
336
  },
236
337
  {
237
338
  "type": "button",
238
- "label": "Pay",
239
- "event": "CREATE_PAYMENT",
240
339
  "variant": "primary",
241
- "icon": "credit-card"
340
+ "icon": "credit-card",
341
+ "event": "CREATE_PAYMENT",
342
+ "label": "Pay"
242
343
  }
243
344
  ]
244
345
  }
@@ -254,9 +355,9 @@
254
355
  "render-ui",
255
356
  "main",
256
357
  {
257
- "type": "loading-state",
258
358
  "title": "Creating payment...",
259
- "message": "Setting up your payment intent."
359
+ "message": "Setting up your payment intent.",
360
+ "type": "loading-state"
260
361
  }
261
362
  ],
262
363
  [
@@ -264,8 +365,8 @@
264
365
  "stripe",
265
366
  "createPaymentIntent",
266
367
  {
267
- "amount": "@entity.amount",
268
- "currency": "@entity.currency"
368
+ "currency": "@entity.currency",
369
+ "amount": "@entity.amount"
269
370
  }
270
371
  ]
271
372
  ]
@@ -289,8 +390,8 @@
289
390
  "render-ui",
290
391
  "main",
291
392
  {
292
- "type": "loading-state",
293
393
  "title": "Confirming payment...",
394
+ "type": "loading-state",
294
395
  "message": "Processing your payment."
295
396
  }
296
397
  ],
@@ -304,6 +405,28 @@
304
405
  ]
305
406
  ]
306
407
  },
408
+ {
409
+ "from": "creating",
410
+ "to": "error",
411
+ "event": "FAILED",
412
+ "effects": [
413
+ [
414
+ "set",
415
+ "@entity.error",
416
+ "@payload.error"
417
+ ],
418
+ [
419
+ "render-ui",
420
+ "main",
421
+ {
422
+ "type": "error-state",
423
+ "title": "Payment Failed",
424
+ "message": "@entity.error",
425
+ "onRetry": "RETRY"
426
+ }
427
+ ]
428
+ ]
429
+ },
307
430
  {
308
431
  "from": "confirming",
309
432
  "to": "succeeded",
@@ -322,15 +445,15 @@
322
445
  "render-ui",
323
446
  "main",
324
447
  {
325
- "type": "stack",
326
448
  "direction": "vertical",
449
+ "type": "stack",
327
450
  "gap": "lg",
328
451
  "align": "center",
329
452
  "children": [
330
453
  {
331
- "type": "icon",
454
+ "size": "lg",
332
455
  "name": "check-circle",
333
- "size": "lg"
456
+ "type": "icon"
334
457
  },
335
458
  {
336
459
  "type": "alert",
@@ -338,45 +461,23 @@
338
461
  "message": "Payment successful! Sending receipt..."
339
462
  },
340
463
  {
341
- "type": "typography",
342
- "variant": "body",
343
464
  "color": "muted",
465
+ "variant": "body",
466
+ "type": "typography",
344
467
  "content": "@entity.paymentIntentId"
345
468
  },
346
469
  {
347
- "type": "button",
348
- "label": "New Payment",
349
470
  "event": "RESET",
471
+ "type": "button",
472
+ "icon": "rotate-ccw",
350
473
  "variant": "ghost",
351
- "icon": "rotate-ccw"
474
+ "label": "New Payment"
352
475
  }
353
476
  ]
354
477
  }
355
478
  ]
356
479
  ]
357
480
  },
358
- {
359
- "from": "creating",
360
- "to": "error",
361
- "event": "FAILED",
362
- "effects": [
363
- [
364
- "set",
365
- "@entity.error",
366
- "@payload.error"
367
- ],
368
- [
369
- "render-ui",
370
- "main",
371
- {
372
- "type": "error-state",
373
- "title": "Payment Failed",
374
- "message": "@entity.error",
375
- "onRetry": "RETRY"
376
- }
377
- ]
378
- ]
379
- },
380
481
  {
381
482
  "from": "confirming",
382
483
  "to": "error",
@@ -392,17 +493,17 @@
392
493
  "main",
393
494
  {
394
495
  "type": "error-state",
395
- "title": "Payment Failed",
396
496
  "message": "@entity.error",
497
+ "title": "Payment Failed",
397
498
  "onRetry": "RETRY"
398
499
  }
399
500
  ]
400
501
  ]
401
502
  },
402
503
  {
403
- "from": "error",
504
+ "from": "succeeded",
404
505
  "to": "idle",
405
- "event": "RETRY",
506
+ "event": "RESET",
406
507
  "effects": [
407
508
  [
408
509
  "render-ui",
@@ -410,69 +511,69 @@
410
511
  {
411
512
  "type": "stack",
412
513
  "direction": "vertical",
413
- "gap": "lg",
414
514
  "align": "center",
515
+ "gap": "lg",
415
516
  "children": [
416
517
  {
417
- "type": "stack",
418
- "direction": "horizontal",
419
- "gap": "md",
420
- "align": "center",
421
518
  "children": [
422
519
  {
423
- "type": "icon",
424
520
  "name": "credit-card",
425
- "size": "lg"
521
+ "size": "lg",
522
+ "type": "icon"
426
523
  },
427
524
  {
428
- "type": "typography",
429
525
  "content": "Payment",
430
- "variant": "h2"
526
+ "variant": "h2",
527
+ "type": "typography"
431
528
  }
432
- ]
529
+ ],
530
+ "align": "center",
531
+ "direction": "horizontal",
532
+ "type": "stack",
533
+ "gap": "md"
433
534
  },
434
535
  {
435
536
  "type": "divider"
436
537
  },
437
538
  {
438
- "type": "stack",
439
- "direction": "vertical",
440
539
  "gap": "md",
441
540
  "children": [
442
541
  {
443
- "type": "input",
444
- "label": "Amount",
445
- "field": "amount",
446
542
  "inputType": "number",
447
- "placeholder": "0.00"
543
+ "field": "amount",
544
+ "placeholder": "0.00",
545
+ "label": "Amount",
546
+ "type": "input"
448
547
  },
449
548
  {
450
- "type": "select",
451
- "label": "Currency",
452
549
  "field": "currency",
550
+ "type": "select",
453
551
  "options": [
454
552
  {
455
553
  "label": "USD",
456
554
  "value": "usd"
457
555
  },
458
556
  {
459
- "label": "EUR",
460
- "value": "eur"
557
+ "value": "eur",
558
+ "label": "EUR"
461
559
  },
462
560
  {
463
561
  "label": "GBP",
464
562
  "value": "gbp"
465
563
  }
466
- ]
564
+ ],
565
+ "label": "Currency"
467
566
  }
468
- ]
567
+ ],
568
+ "type": "stack",
569
+ "direction": "vertical"
469
570
  },
470
571
  {
471
- "type": "button",
472
- "label": "Pay",
473
572
  "event": "CREATE_PAYMENT",
573
+ "icon": "credit-card",
574
+ "type": "button",
474
575
  "variant": "primary",
475
- "icon": "credit-card"
576
+ "label": "Pay"
476
577
  }
477
578
  ]
478
579
  }
@@ -480,9 +581,9 @@
480
581
  ]
481
582
  },
482
583
  {
483
- "from": "succeeded",
584
+ "from": "error",
484
585
  "to": "idle",
485
- "event": "RESET",
586
+ "event": "RETRY",
486
587
  "effects": [
487
588
  [
488
589
  "render-ui",
@@ -490,67 +591,67 @@
490
591
  {
491
592
  "type": "stack",
492
593
  "direction": "vertical",
493
- "gap": "lg",
494
594
  "align": "center",
595
+ "gap": "lg",
495
596
  "children": [
496
597
  {
497
- "type": "stack",
498
598
  "direction": "horizontal",
499
- "gap": "md",
500
599
  "align": "center",
501
600
  "children": [
502
601
  {
602
+ "size": "lg",
503
603
  "type": "icon",
504
- "name": "credit-card",
505
- "size": "lg"
604
+ "name": "credit-card"
506
605
  },
507
606
  {
508
- "type": "typography",
509
607
  "content": "Payment",
608
+ "type": "typography",
510
609
  "variant": "h2"
511
610
  }
512
- ]
611
+ ],
612
+ "type": "stack",
613
+ "gap": "md"
513
614
  },
514
615
  {
515
616
  "type": "divider"
516
617
  },
517
618
  {
518
619
  "type": "stack",
519
- "direction": "vertical",
520
620
  "gap": "md",
621
+ "direction": "vertical",
521
622
  "children": [
522
623
  {
523
- "type": "input",
524
- "label": "Amount",
525
624
  "field": "amount",
625
+ "placeholder": "0.00",
526
626
  "inputType": "number",
527
- "placeholder": "0.00"
627
+ "type": "input",
628
+ "label": "Amount"
528
629
  },
529
630
  {
530
- "type": "select",
531
- "label": "Currency",
532
- "field": "currency",
533
631
  "options": [
534
632
  {
535
- "label": "USD",
536
- "value": "usd"
633
+ "value": "usd",
634
+ "label": "USD"
537
635
  },
538
636
  {
539
- "label": "EUR",
540
- "value": "eur"
637
+ "value": "eur",
638
+ "label": "EUR"
541
639
  },
542
640
  {
543
- "label": "GBP",
544
- "value": "gbp"
641
+ "value": "gbp",
642
+ "label": "GBP"
545
643
  }
546
- ]
644
+ ],
645
+ "label": "Currency",
646
+ "type": "select",
647
+ "field": "currency"
547
648
  }
548
649
  ]
549
650
  },
550
651
  {
551
- "type": "button",
552
652
  "label": "Pay",
553
653
  "event": "CREATE_PAYMENT",
654
+ "type": "button",
554
655
  "variant": "primary",
555
656
  "icon": "credit-card"
556
657
  }
@@ -568,15 +669,14 @@
568
669
  "render-ui",
569
670
  "main",
570
671
  {
571
- "type": "stack",
572
672
  "direction": "vertical",
573
673
  "gap": "lg",
674
+ "type": "stack",
574
675
  "align": "center",
575
676
  "children": [
576
677
  {
577
- "type": "stack",
578
678
  "direction": "horizontal",
579
- "gap": "md",
679
+ "type": "stack",
580
680
  "align": "center",
581
681
  "children": [
582
682
  {
@@ -589,50 +689,51 @@
589
689
  "content": "Payment",
590
690
  "variant": "h2"
591
691
  }
592
- ]
692
+ ],
693
+ "gap": "md"
593
694
  },
594
695
  {
595
696
  "type": "divider"
596
697
  },
597
698
  {
598
699
  "type": "stack",
599
- "direction": "vertical",
600
- "gap": "md",
601
700
  "children": [
602
701
  {
603
702
  "type": "input",
604
- "label": "Amount",
605
703
  "field": "amount",
704
+ "placeholder": "0.00",
606
705
  "inputType": "number",
607
- "placeholder": "0.00"
706
+ "label": "Amount"
608
707
  },
609
708
  {
610
- "type": "select",
611
- "label": "Currency",
612
- "field": "currency",
613
709
  "options": [
614
710
  {
615
711
  "label": "USD",
616
712
  "value": "usd"
617
713
  },
618
714
  {
619
- "label": "EUR",
620
- "value": "eur"
715
+ "value": "eur",
716
+ "label": "EUR"
621
717
  },
622
718
  {
623
719
  "label": "GBP",
624
720
  "value": "gbp"
625
721
  }
626
- ]
722
+ ],
723
+ "type": "select",
724
+ "label": "Currency",
725
+ "field": "currency"
627
726
  }
628
- ]
727
+ ],
728
+ "direction": "vertical",
729
+ "gap": "md"
629
730
  },
630
731
  {
631
- "type": "button",
732
+ "icon": "credit-card",
632
733
  "label": "Pay",
633
- "event": "CREATE_PAYMENT",
634
734
  "variant": "primary",
635
- "icon": "credit-card"
735
+ "type": "button",
736
+ "event": "CREATE_PAYMENT"
636
737
  }
637
738
  ]
638
739
  }
@@ -640,17 +741,21 @@
640
741
  ]
641
742
  }
642
743
  ]
643
- }
744
+ },
745
+ "scope": "instance"
644
746
  },
645
747
  {
646
748
  "name": "ServicePaymentFlowReceipt",
647
- "linkedEntity": "ServicePaymentFlow",
648
749
  "category": "interaction",
750
+ "linkedEntity": "ServicePaymentFlow",
649
751
  "listens": [
650
752
  {
651
753
  "event": "SEND_RECEIPT",
652
754
  "triggers": "SEND_RECEIPT",
653
- "scope": "internal"
755
+ "source": {
756
+ "kind": "trait",
757
+ "trait": "ServicePaymentFlowPayment"
758
+ }
654
759
  }
655
760
  ],
656
761
  "stateMachine": {
@@ -663,8 +768,7 @@
663
768
  "name": "sending"
664
769
  },
665
770
  {
666
- "name": "sent",
667
- "isTerminal": true
771
+ "name": "sent"
668
772
  },
669
773
  {
670
774
  "name": "receiptError"
@@ -681,11 +785,11 @@
681
785
  },
682
786
  {
683
787
  "key": "SENT",
684
- "name": "Receipt Sent"
788
+ "name": "Sent"
685
789
  },
686
790
  {
687
791
  "key": "FAILED",
688
- "name": "Send Failed",
792
+ "name": "Failed",
689
793
  "payload": [
690
794
  {
691
795
  "name": "error",
@@ -709,23 +813,23 @@
709
813
  "render-ui",
710
814
  "main",
711
815
  {
712
- "type": "stack",
713
- "direction": "vertical",
714
- "gap": "md",
715
- "align": "center",
716
816
  "children": [
717
817
  {
718
- "type": "icon",
719
818
  "name": "mail",
720
- "size": "md"
819
+ "size": "md",
820
+ "type": "icon"
721
821
  },
722
822
  {
723
823
  "type": "typography",
824
+ "color": "muted",
724
825
  "content": "Receipt will be sent after payment.",
725
- "variant": "body",
726
- "color": "muted"
826
+ "variant": "body"
727
827
  }
728
- ]
828
+ ],
829
+ "align": "center",
830
+ "type": "stack",
831
+ "gap": "md",
832
+ "direction": "vertical"
729
833
  }
730
834
  ]
731
835
  ]
@@ -739,9 +843,9 @@
739
843
  "render-ui",
740
844
  "main",
741
845
  {
846
+ "message": "Delivering your payment receipt.",
742
847
  "type": "loading-state",
743
- "title": "Sending receipt...",
744
- "message": "Delivering your payment receipt."
848
+ "title": "Sending receipt..."
745
849
  }
746
850
  ],
747
851
  [
@@ -749,9 +853,9 @@
749
853
  "email",
750
854
  "send",
751
855
  {
752
- "to": "@entity.to",
753
856
  "subject": "@entity.subject",
754
- "body": "@entity.body"
857
+ "body": "@entity.body",
858
+ "to": "@entity.to"
755
859
  }
756
860
  ]
757
861
  ]
@@ -770,10 +874,7 @@
770
874
  "render-ui",
771
875
  "main",
772
876
  {
773
- "type": "stack",
774
877
  "direction": "vertical",
775
- "gap": "md",
776
- "align": "center",
777
878
  "children": [
778
879
  {
779
880
  "type": "icon",
@@ -781,11 +882,14 @@
781
882
  "size": "md"
782
883
  },
783
884
  {
784
- "type": "alert",
885
+ "message": "Receipt sent successfully",
785
886
  "variant": "success",
786
- "message": "Receipt sent successfully"
887
+ "type": "alert"
787
888
  }
788
- ]
889
+ ],
890
+ "gap": "md",
891
+ "align": "center",
892
+ "type": "stack"
789
893
  }
790
894
  ]
791
895
  ]
@@ -804,29 +908,54 @@
804
908
  "render-ui",
805
909
  "main",
806
910
  {
807
- "type": "stack",
808
911
  "direction": "vertical",
809
912
  "gap": "md",
913
+ "type": "stack",
810
914
  "align": "center",
811
915
  "children": [
812
916
  {
813
- "type": "error-state",
814
- "title": "Receipt Failed",
815
917
  "message": "Could not send receipt email.",
816
- "onRetry": "RETRY_RECEIPT"
918
+ "onRetry": "RETRY_RECEIPT",
919
+ "type": "error-state",
920
+ "title": "Receipt Failed"
817
921
  },
818
922
  {
819
- "type": "button",
820
- "label": "Retry",
821
923
  "event": "RETRY_RECEIPT",
822
- "variant": "primary",
823
- "icon": "refresh-cw"
924
+ "icon": "refresh-cw",
925
+ "label": "Retry",
926
+ "type": "button",
927
+ "variant": "primary"
824
928
  }
825
929
  ]
826
930
  }
827
931
  ]
828
932
  ]
829
933
  },
934
+ {
935
+ "from": "sent",
936
+ "to": "sending",
937
+ "event": "SEND_RECEIPT",
938
+ "effects": [
939
+ [
940
+ "render-ui",
941
+ "main",
942
+ {
943
+ "title": "Resending receipt...",
944
+ "type": "loading-state"
945
+ }
946
+ ],
947
+ [
948
+ "call-service",
949
+ "email",
950
+ "send",
951
+ {
952
+ "subject": "@entity.subject",
953
+ "to": "@entity.to",
954
+ "body": "@entity.body"
955
+ }
956
+ ]
957
+ ]
958
+ },
830
959
  {
831
960
  "from": "receiptError",
832
961
  "to": "sending",
@@ -836,9 +965,9 @@
836
965
  "render-ui",
837
966
  "main",
838
967
  {
839
- "type": "loading-state",
840
968
  "title": "Sending receipt...",
841
- "message": "Delivering your payment receipt."
969
+ "message": "Delivering your payment receipt.",
970
+ "type": "loading-state"
842
971
  }
843
972
  ],
844
973
  [
@@ -847,14 +976,15 @@
847
976
  "send",
848
977
  {
849
978
  "to": "@entity.to",
850
- "subject": "@entity.subject",
851
- "body": "@entity.body"
979
+ "body": "@entity.body",
980
+ "subject": "@entity.subject"
852
981
  }
853
982
  ]
854
983
  ]
855
984
  }
856
985
  ]
857
- }
986
+ },
987
+ "scope": "instance"
858
988
  }
859
989
  ],
860
990
  "pages": [
@@ -873,4 +1003,4 @@
873
1003
  ]
874
1004
  }
875
1005
  ]
876
- }
1006
+ }