@almadar/std 5.0.0 → 5.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 (421) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  4. package/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  7. package/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  8. package/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  9. package/behaviors/exports/atoms/std-agent-search.orb +6 -27
  10. package/behaviors/exports/atoms/std-agent-session.orb +11 -85
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  14. package/behaviors/exports/atoms/std-async.orb +5 -8
  15. package/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  16. package/behaviors/exports/atoms/std-browse.orb +5 -4
  17. package/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  18. package/behaviors/exports/atoms/std-calendar.orb +5 -4
  19. package/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  20. package/behaviors/exports/atoms/std-collision.orb +5 -4
  21. package/behaviors/exports/atoms/std-combat-log.orb +5 -4
  22. package/behaviors/exports/atoms/std-combat.orb +5 -4
  23. package/behaviors/exports/atoms/std-confirmation.orb +10 -4
  24. package/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  25. package/behaviors/exports/atoms/std-display.orb +5 -4
  26. package/behaviors/exports/atoms/std-drawer.orb +5 -4
  27. package/behaviors/exports/atoms/std-filter.orb +5 -4
  28. package/behaviors/exports/atoms/std-flip-card.orb +5 -4
  29. package/behaviors/exports/atoms/std-gallery.orb +5 -4
  30. package/behaviors/exports/atoms/std-game-audio.orb +5 -4
  31. package/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  32. package/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  33. package/behaviors/exports/atoms/std-game-hud.orb +5 -4
  34. package/behaviors/exports/atoms/std-game-menu.orb +5 -4
  35. package/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  36. package/behaviors/exports/atoms/std-gameflow.orb +5 -4
  37. package/behaviors/exports/atoms/std-input.orb +5 -4
  38. package/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  39. package/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  40. package/behaviors/exports/atoms/std-loading.orb +5 -4
  41. package/behaviors/exports/atoms/std-modal.orb +89 -4
  42. package/behaviors/exports/atoms/std-movement.orb +5 -4
  43. package/behaviors/exports/atoms/std-notification.orb +5 -4
  44. package/behaviors/exports/atoms/std-overworld.orb +5 -4
  45. package/behaviors/exports/atoms/std-pagination.orb +5 -4
  46. package/behaviors/exports/atoms/std-physics2d.orb +5 -4
  47. package/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  48. package/behaviors/exports/atoms/std-quest.orb +5 -8
  49. package/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  50. package/behaviors/exports/atoms/std-rating.orb +5 -4
  51. package/behaviors/exports/atoms/std-score-board.orb +5 -4
  52. package/behaviors/exports/atoms/std-score.orb +5 -4
  53. package/behaviors/exports/atoms/std-search.orb +5 -4
  54. package/behaviors/exports/atoms/std-selection.orb +5 -4
  55. package/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  56. package/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  57. package/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  58. package/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  59. package/behaviors/exports/atoms/std-service-email.orb +5 -4
  60. package/behaviors/exports/atoms/std-service-github.orb +5 -4
  61. package/behaviors/exports/atoms/std-service-llm.orb +5 -4
  62. package/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  63. package/behaviors/exports/atoms/std-service-redis.orb +5 -4
  64. package/behaviors/exports/atoms/std-service-storage.orb +5 -4
  65. package/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  66. package/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  67. package/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  68. package/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  69. package/behaviors/exports/atoms/std-sort.orb +5 -4
  70. package/behaviors/exports/atoms/std-sprite.orb +5 -4
  71. package/behaviors/exports/atoms/std-tabs.orb +5 -4
  72. package/behaviors/exports/atoms/std-text-effects.orb +5 -4
  73. package/behaviors/exports/atoms/std-theme.orb +5 -4
  74. package/behaviors/exports/atoms/std-timer.orb +5 -4
  75. package/behaviors/exports/atoms/std-undo.orb +5 -4
  76. package/behaviors/exports/atoms/std-upload.orb +5 -4
  77. package/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  78. package/behaviors/exports/atoms/std-wizard.orb +5 -4
  79. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  80. package/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  81. package/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  82. package/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  83. package/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  84. package/behaviors/exports/molecules/std-builder-game.orb +5 -4
  85. package/behaviors/exports/molecules/std-cart.orb +196 -307
  86. package/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  87. package/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  88. package/behaviors/exports/molecules/std-detail.orb +309 -467
  89. package/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  90. package/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  91. package/behaviors/exports/molecules/std-geospatial.orb +363 -539
  92. package/behaviors/exports/molecules/std-inventory.orb +390 -720
  93. package/behaviors/exports/molecules/std-list.orb +526 -1156
  94. package/behaviors/exports/molecules/std-messaging.orb +295 -452
  95. package/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  96. package/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  97. package/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  98. package/behaviors/exports/molecules/std-quiz.orb +5 -4
  99. package/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  100. package/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  101. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  102. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  103. package/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  104. package/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  105. package/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  106. package/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  107. package/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  108. package/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  109. package/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  110. package/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  111. package/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  112. package/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  113. package/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  114. package/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  115. package/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  116. package/behaviors/exports/organisms/std-cms.orb +1274 -1972
  117. package/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  118. package/behaviors/exports/organisms/std-crm.orb +999 -1775
  119. package/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  120. package/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  121. package/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  122. package/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  123. package/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  124. package/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  125. package/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  126. package/behaviors/exports/organisms/std-lms.orb +284 -632
  127. package/behaviors/exports/organisms/std-logic-training.orb +4 -4
  128. package/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  129. package/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  130. package/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  131. package/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  132. package/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  133. package/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  134. package/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  135. package/behaviors/exports/organisms/std-social-feed.orb +62 -66
  136. package/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  137. package/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  138. package/behaviors/exports/organisms/std-trading-dashboard.orb +274 -620
  139. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  140. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  141. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  142. package/dist/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  143. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  144. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  145. package/dist/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  146. package/dist/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  147. package/dist/behaviors/exports/atoms/std-agent-search.orb +6 -27
  148. package/dist/behaviors/exports/atoms/std-agent-session.orb +11 -85
  149. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  150. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  151. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  152. package/dist/behaviors/exports/atoms/std-async.orb +5 -8
  153. package/dist/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  154. package/dist/behaviors/exports/atoms/std-browse.orb +5 -4
  155. package/dist/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  156. package/dist/behaviors/exports/atoms/std-calendar.orb +5 -4
  157. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  158. package/dist/behaviors/exports/atoms/std-collision.orb +5 -4
  159. package/dist/behaviors/exports/atoms/std-combat-log.orb +5 -4
  160. package/dist/behaviors/exports/atoms/std-combat.orb +5 -4
  161. package/dist/behaviors/exports/atoms/std-confirmation.orb +10 -4
  162. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  163. package/dist/behaviors/exports/atoms/std-display.orb +5 -4
  164. package/dist/behaviors/exports/atoms/std-drawer.orb +5 -4
  165. package/dist/behaviors/exports/atoms/std-filter.orb +5 -4
  166. package/dist/behaviors/exports/atoms/std-flip-card.orb +5 -4
  167. package/dist/behaviors/exports/atoms/std-gallery.orb +5 -4
  168. package/dist/behaviors/exports/atoms/std-game-audio.orb +5 -4
  169. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  170. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  171. package/dist/behaviors/exports/atoms/std-game-hud.orb +5 -4
  172. package/dist/behaviors/exports/atoms/std-game-menu.orb +5 -4
  173. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  174. package/dist/behaviors/exports/atoms/std-gameflow.orb +5 -4
  175. package/dist/behaviors/exports/atoms/std-input.orb +5 -4
  176. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  177. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  178. package/dist/behaviors/exports/atoms/std-loading.orb +5 -4
  179. package/dist/behaviors/exports/atoms/std-modal.orb +89 -4
  180. package/dist/behaviors/exports/atoms/std-movement.orb +5 -4
  181. package/dist/behaviors/exports/atoms/std-notification.orb +5 -4
  182. package/dist/behaviors/exports/atoms/std-overworld.orb +5 -4
  183. package/dist/behaviors/exports/atoms/std-pagination.orb +5 -4
  184. package/dist/behaviors/exports/atoms/std-physics2d.orb +5 -4
  185. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  186. package/dist/behaviors/exports/atoms/std-quest.orb +5 -8
  187. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  188. package/dist/behaviors/exports/atoms/std-rating.orb +5 -4
  189. package/dist/behaviors/exports/atoms/std-score-board.orb +5 -4
  190. package/dist/behaviors/exports/atoms/std-score.orb +5 -4
  191. package/dist/behaviors/exports/atoms/std-search.orb +5 -4
  192. package/dist/behaviors/exports/atoms/std-selection.orb +5 -4
  193. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  194. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  195. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  196. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  197. package/dist/behaviors/exports/atoms/std-service-email.orb +5 -4
  198. package/dist/behaviors/exports/atoms/std-service-github.orb +5 -4
  199. package/dist/behaviors/exports/atoms/std-service-llm.orb +5 -4
  200. package/dist/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  201. package/dist/behaviors/exports/atoms/std-service-redis.orb +5 -4
  202. package/dist/behaviors/exports/atoms/std-service-storage.orb +5 -4
  203. package/dist/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  204. package/dist/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  205. package/dist/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  206. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  207. package/dist/behaviors/exports/atoms/std-sort.orb +5 -4
  208. package/dist/behaviors/exports/atoms/std-sprite.orb +5 -4
  209. package/dist/behaviors/exports/atoms/std-tabs.orb +5 -4
  210. package/dist/behaviors/exports/atoms/std-text-effects.orb +5 -4
  211. package/dist/behaviors/exports/atoms/std-theme.orb +5 -4
  212. package/dist/behaviors/exports/atoms/std-timer.orb +5 -4
  213. package/dist/behaviors/exports/atoms/std-undo.orb +5 -4
  214. package/dist/behaviors/exports/atoms/std-upload.orb +5 -4
  215. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  216. package/dist/behaviors/exports/atoms/std-wizard.orb +5 -4
  217. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  218. package/dist/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  219. package/dist/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  220. package/dist/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  221. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  222. package/dist/behaviors/exports/molecules/std-builder-game.orb +5 -4
  223. package/dist/behaviors/exports/molecules/std-cart.orb +196 -307
  224. package/dist/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  225. package/dist/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  226. package/dist/behaviors/exports/molecules/std-detail.orb +309 -467
  227. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  228. package/dist/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  229. package/dist/behaviors/exports/molecules/std-geospatial.orb +363 -539
  230. package/dist/behaviors/exports/molecules/std-inventory.orb +390 -720
  231. package/dist/behaviors/exports/molecules/std-list.orb +526 -1156
  232. package/dist/behaviors/exports/molecules/std-messaging.orb +295 -452
  233. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  234. package/dist/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  235. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  236. package/dist/behaviors/exports/molecules/std-quiz.orb +5 -4
  237. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  238. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  239. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  240. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  241. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  242. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  243. package/dist/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  244. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  245. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  246. package/dist/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  247. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  248. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  249. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  250. package/dist/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  251. package/dist/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  252. package/dist/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  253. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  254. package/dist/behaviors/exports/organisms/std-cms.orb +1274 -1972
  255. package/dist/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  256. package/dist/behaviors/exports/organisms/std-crm.orb +999 -1775
  257. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  258. package/dist/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  259. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  260. package/dist/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  261. package/dist/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  262. package/dist/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  263. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  264. package/dist/behaviors/exports/organisms/std-lms.orb +284 -632
  265. package/dist/behaviors/exports/organisms/std-logic-training.orb +4 -4
  266. package/dist/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  267. package/dist/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  268. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  269. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  270. package/dist/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  271. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  272. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  273. package/dist/behaviors/exports/organisms/std-social-feed.orb +62 -66
  274. package/dist/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  275. package/dist/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  276. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +274 -620
  277. package/dist/behaviors/exports-reader.js.map +1 -1
  278. package/dist/behaviors/functions/index.d.ts +2192 -0
  279. package/dist/behaviors/functions/index.js.map +1 -1
  280. package/dist/behaviors/index.js.map +1 -1
  281. package/dist/behaviors/query.js.map +1 -1
  282. package/dist/exports/atoms/std-agent-activity-log.orb +5 -45
  283. package/dist/exports/atoms/std-agent-chat-thread.orb +5 -55
  284. package/dist/exports/atoms/std-agent-classifier.orb +8 -8
  285. package/dist/exports/atoms/std-agent-completion.orb +8 -8
  286. package/dist/exports/atoms/std-agent-context-window.orb +5 -4
  287. package/dist/exports/atoms/std-agent-conversation.orb +5 -71
  288. package/dist/exports/atoms/std-agent-memory.orb +13 -127
  289. package/dist/exports/atoms/std-agent-provider.orb +8 -8
  290. package/dist/exports/atoms/std-agent-search.orb +6 -27
  291. package/dist/exports/atoms/std-agent-session.orb +11 -85
  292. package/dist/exports/atoms/std-agent-step-progress.orb +5 -4
  293. package/dist/exports/atoms/std-agent-token-gauge.orb +5 -4
  294. package/dist/exports/atoms/std-agent-tool-call.orb +8 -8
  295. package/dist/exports/atoms/std-async.orb +5 -8
  296. package/dist/exports/atoms/std-autoregressive.orb +4 -2
  297. package/dist/exports/atoms/std-browse.orb +5 -4
  298. package/dist/exports/atoms/std-cache-aside.orb +5 -8
  299. package/dist/exports/atoms/std-calendar.orb +5 -4
  300. package/dist/exports/atoms/std-circuit-breaker.orb +5 -4
  301. package/dist/exports/atoms/std-collision.orb +5 -4
  302. package/dist/exports/atoms/std-combat-log.orb +5 -4
  303. package/dist/exports/atoms/std-combat.orb +5 -4
  304. package/dist/exports/atoms/std-confirmation.orb +10 -4
  305. package/dist/exports/atoms/std-dialogue-box.orb +5 -4
  306. package/dist/exports/atoms/std-display.orb +5 -4
  307. package/dist/exports/atoms/std-drawer.orb +5 -4
  308. package/dist/exports/atoms/std-filter.orb +5 -4
  309. package/dist/exports/atoms/std-flip-card.orb +5 -4
  310. package/dist/exports/atoms/std-gallery.orb +5 -4
  311. package/dist/exports/atoms/std-game-audio.orb +5 -4
  312. package/dist/exports/atoms/std-game-canvas2d.orb +4 -2
  313. package/dist/exports/atoms/std-game-canvas3d.orb +4 -2
  314. package/dist/exports/atoms/std-game-hud.orb +5 -4
  315. package/dist/exports/atoms/std-game-menu.orb +5 -4
  316. package/dist/exports/atoms/std-game-over-screen.orb +5 -4
  317. package/dist/exports/atoms/std-gameflow.orb +5 -4
  318. package/dist/exports/atoms/std-input.orb +5 -4
  319. package/dist/exports/atoms/std-inventory-panel.orb +5 -8
  320. package/dist/exports/atoms/std-isometric-canvas.orb +5 -4
  321. package/dist/exports/atoms/std-loading.orb +5 -4
  322. package/dist/exports/atoms/std-modal.orb +89 -4
  323. package/dist/exports/atoms/std-movement.orb +5 -4
  324. package/dist/exports/atoms/std-notification.orb +5 -4
  325. package/dist/exports/atoms/std-overworld.orb +5 -4
  326. package/dist/exports/atoms/std-pagination.orb +5 -4
  327. package/dist/exports/atoms/std-physics2d.orb +5 -4
  328. package/dist/exports/atoms/std-platformer-canvas.orb +5 -4
  329. package/dist/exports/atoms/std-quest.orb +5 -8
  330. package/dist/exports/atoms/std-rate-limiter.orb +5 -4
  331. package/dist/exports/atoms/std-rating.orb +5 -4
  332. package/dist/exports/atoms/std-score-board.orb +5 -4
  333. package/dist/exports/atoms/std-score.orb +5 -4
  334. package/dist/exports/atoms/std-search.orb +5 -4
  335. package/dist/exports/atoms/std-selection.orb +5 -4
  336. package/dist/exports/atoms/std-service-custom-bearer.orb +5 -15
  337. package/dist/exports/atoms/std-service-custom-header.orb +5 -17
  338. package/dist/exports/atoms/std-service-custom-noauth.orb +5 -11
  339. package/dist/exports/atoms/std-service-custom-query.orb +5 -17
  340. package/dist/exports/atoms/std-service-email.orb +5 -4
  341. package/dist/exports/atoms/std-service-github.orb +5 -4
  342. package/dist/exports/atoms/std-service-llm.orb +5 -4
  343. package/dist/exports/atoms/std-service-oauth.orb +5 -4
  344. package/dist/exports/atoms/std-service-redis.orb +5 -4
  345. package/dist/exports/atoms/std-service-storage.orb +5 -4
  346. package/dist/exports/atoms/std-service-stripe.orb +5 -4
  347. package/dist/exports/atoms/std-service-twilio.orb +5 -4
  348. package/dist/exports/atoms/std-service-youtube.orb +5 -4
  349. package/dist/exports/atoms/std-simulation-canvas.orb +5 -4
  350. package/dist/exports/atoms/std-sort.orb +5 -4
  351. package/dist/exports/atoms/std-sprite.orb +5 -4
  352. package/dist/exports/atoms/std-tabs.orb +5 -4
  353. package/dist/exports/atoms/std-text-effects.orb +5 -4
  354. package/dist/exports/atoms/std-theme.orb +5 -4
  355. package/dist/exports/atoms/std-timer.orb +5 -4
  356. package/dist/exports/atoms/std-undo.orb +5 -4
  357. package/dist/exports/atoms/std-upload.orb +5 -4
  358. package/dist/exports/atoms/std-validate-on-save.orb +5 -32
  359. package/dist/exports/atoms/std-wizard.orb +5 -4
  360. package/dist/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  361. package/dist/exports/molecules/std-agent-learner.orb +608 -938
  362. package/dist/exports/molecules/std-agent-planner.orb +613 -961
  363. package/dist/exports/molecules/std-agent-rag.orb +586 -915
  364. package/dist/exports/molecules/std-agent-tool-loop.orb +915 -2846
  365. package/dist/exports/molecules/std-builder-game.orb +5 -4
  366. package/dist/exports/molecules/std-cart.orb +196 -307
  367. package/dist/exports/molecules/std-classifier-game.orb +5 -4
  368. package/dist/exports/molecules/std-debugger-game.orb +5 -4
  369. package/dist/exports/molecules/std-detail.orb +309 -467
  370. package/dist/exports/molecules/std-event-handler-game.orb +5 -4
  371. package/dist/exports/molecules/std-form-advanced.orb +5 -8
  372. package/dist/exports/molecules/std-geospatial.orb +363 -539
  373. package/dist/exports/molecules/std-inventory.orb +390 -720
  374. package/dist/exports/molecules/std-list.orb +526 -1156
  375. package/dist/exports/molecules/std-messaging.orb +295 -452
  376. package/dist/exports/molecules/std-negotiator-game.orb +5 -4
  377. package/dist/exports/molecules/std-platformer-game.orb +5 -4
  378. package/dist/exports/molecules/std-puzzle-game.orb +5 -4
  379. package/dist/exports/molecules/std-quiz.orb +5 -4
  380. package/dist/exports/molecules/std-sequencer-game.orb +5 -4
  381. package/dist/exports/molecules/std-service-content-pipeline.orb +5 -4
  382. package/dist/exports/molecules/std-service-custom-api-tester.orb +5 -42
  383. package/dist/exports/molecules/std-service-devops-toolkit.orb +5 -4
  384. package/dist/exports/molecules/std-service-notification-hub.orb +5 -4
  385. package/dist/exports/molecules/std-service-payment-flow.orb +5 -4
  386. package/dist/exports/molecules/std-simulator-game.orb +5 -4
  387. package/dist/exports/molecules/std-turn-based-battle.orb +5 -4
  388. package/dist/exports/organisms/std-agent-assistant.orb +15 -143
  389. package/dist/exports/organisms/std-agent-builder.orb +814 -1476
  390. package/dist/exports/organisms/std-agent-pipeline.orb +785 -1567
  391. package/dist/exports/organisms/std-agent-reviewer.orb +299 -502
  392. package/dist/exports/organisms/std-agent-tutor.orb +306 -493
  393. package/dist/exports/organisms/std-api-gateway.orb +284 -626
  394. package/dist/exports/organisms/std-arcade-game.orb +4 -4
  395. package/dist/exports/organisms/std-booking-system.orb +1422 -2160
  396. package/dist/exports/organisms/std-cicd-pipeline.orb +274 -617
  397. package/dist/exports/organisms/std-cms.orb +1274 -1972
  398. package/dist/exports/organisms/std-coding-academy.orb +4 -4
  399. package/dist/exports/organisms/std-crm.orb +999 -1775
  400. package/dist/exports/organisms/std-devops-dashboard.orb +284 -638
  401. package/dist/exports/organisms/std-ecommerce.orb +1653 -2398
  402. package/dist/exports/organisms/std-finance-tracker.orb +340 -684
  403. package/dist/exports/organisms/std-healthcare.orb +984 -1838
  404. package/dist/exports/organisms/std-helpdesk.orb +340 -744
  405. package/dist/exports/organisms/std-hr-portal.orb +1401 -2151
  406. package/dist/exports/organisms/std-iot-dashboard.orb +284 -626
  407. package/dist/exports/organisms/std-lms.orb +284 -632
  408. package/dist/exports/organisms/std-logic-training.orb +4 -4
  409. package/dist/exports/organisms/std-platformer-app.orb +15 -98
  410. package/dist/exports/organisms/std-project-manager.orb +970 -1774
  411. package/dist/exports/organisms/std-puzzle-app.orb +4 -4
  412. package/dist/exports/organisms/std-realtime-chat.orb +364 -714
  413. package/dist/exports/organisms/std-rpg-game.orb +15 -102
  414. package/dist/exports/organisms/std-service-marketplace.orb +1589 -2361
  415. package/dist/exports/organisms/std-service-research-assistant.orb +4 -15
  416. package/dist/exports/organisms/std-social-feed.orb +62 -66
  417. package/dist/exports/organisms/std-stem-lab.orb +4 -4
  418. package/dist/exports/organisms/std-strategy-game.orb +4 -4
  419. package/dist/exports/organisms/std-trading-dashboard.orb +274 -620
  420. package/dist/index.js.map +1 -1
  421. package/package.json +2 -2
@@ -1,6 +1,7 @@
1
1
  {
2
- "name": "Finance Tracker",
2
+ "name": "std-finance-tracker",
3
3
  "version": "1.0.0",
4
+ "description": "Finance tracker organism. Composes: stdList(Transaction) + stdDisplay(FinanceSummary) + stdDetail(FinanceReport)",
4
5
  "orbitals": [
5
6
  {
6
7
  "name": "TransactionOrbital",
@@ -42,659 +43,87 @@
42
43
  "listens": [
43
44
  {
44
45
  "event": "TRANSACTION_CREATED",
45
- "triggers": "TRANSACTION_CREATED"
46
+ "triggers": "INIT"
46
47
  },
47
48
  {
48
49
  "event": "TRANSACTION_UPDATED",
49
- "triggers": "TRANSACTION_UPDATED"
50
- }
51
- ],
52
- "stateMachine": {
53
- "states": [
54
- {
55
- "name": "browsing",
56
- "isInitial": true
57
- },
58
- {
59
- "name": "deleting"
60
- }
61
- ],
62
- "events": [
63
- {
64
- "key": "INIT",
65
- "name": "Initialize"
66
- },
67
- {
68
- "key": "CREATE",
69
- "name": "CREATE"
70
- },
71
- {
72
- "key": "VIEW",
73
- "name": "VIEW",
74
- "payload": [
75
- {
76
- "name": "id",
77
- "type": "string",
78
- "required": true
79
- },
80
- {
81
- "name": "row",
82
- "type": "object"
83
- }
84
- ]
85
- },
86
- {
87
- "key": "EDIT",
88
- "name": "EDIT",
89
- "payload": [
90
- {
91
- "name": "id",
92
- "type": "string",
93
- "required": true
94
- },
95
- {
96
- "name": "row",
97
- "type": "object"
98
- }
99
- ]
100
- },
101
- {
102
- "key": "DELETE",
103
- "name": "DELETE",
104
- "payload": [
105
- {
106
- "name": "id",
107
- "type": "string",
108
- "required": true
109
- },
110
- {
111
- "name": "row",
112
- "type": "object"
113
- }
114
- ]
115
- },
116
- {
117
- "key": "TRANSACTION_CREATED",
118
- "name": "TRANSACTION_CREATED",
119
- "payload": [
120
- {
121
- "name": "data",
122
- "type": "object",
123
- "required": true
124
- }
125
- ]
126
- },
127
- {
128
- "key": "TRANSACTION_UPDATED",
129
- "name": "TRANSACTION_UPDATED",
130
- "payload": [
131
- {
132
- "name": "data",
133
- "type": "object",
134
- "required": true
135
- }
136
- ]
137
- },
138
- {
139
- "key": "CONFIRM_DELETE",
140
- "name": "Confirm Delete"
141
- },
142
- {
143
- "key": "CANCEL",
144
- "name": "Cancel"
145
- },
146
- {
147
- "key": "CLOSE",
148
- "name": "Close"
149
- }
150
- ],
151
- "transitions": [
152
- {
153
- "from": "browsing",
154
- "to": "browsing",
155
- "event": "INIT",
156
- "effects": [
157
- [
158
- "ref",
159
- "Transaction"
160
- ],
161
- [
162
- "render-ui",
163
- "main",
164
- {
165
- "type": "dashboard-layout",
166
- "appName": "Finance Tracker",
167
- "navItems": [
168
- {
169
- "label": "Transactions",
170
- "href": "/transactions",
171
- "icon": "dollar-sign"
172
- },
173
- {
174
- "label": "Summary",
175
- "href": "/summary",
176
- "icon": "layout-list"
177
- },
178
- {
179
- "label": "Reports",
180
- "href": "/reports",
181
- "icon": "bar-chart"
182
- }
183
- ],
184
- "children": [
185
- {
186
- "type": "stack",
187
- "direction": "vertical",
188
- "gap": "lg",
189
- "className": "max-w-5xl mx-auto w-full",
190
- "children": [
191
- {
192
- "type": "stack",
193
- "direction": "horizontal",
194
- "gap": "md",
195
- "justify": "space-between",
196
- "align": "center",
197
- "children": [
198
- {
199
- "type": "stack",
200
- "direction": "horizontal",
201
- "gap": "sm",
202
- "align": "center",
203
- "children": [
204
- {
205
- "type": "icon",
206
- "name": "credit-card",
207
- "size": "lg"
208
- },
209
- {
210
- "type": "typography",
211
- "content": "Transactions",
212
- "variant": "h2"
213
- }
214
- ]
215
- },
216
- {
217
- "type": "stack",
218
- "direction": "horizontal",
219
- "gap": "sm",
220
- "children": [
221
- {
222
- "type": "button",
223
- "label": "Create Transaction",
224
- "event": "CREATE",
225
- "variant": "primary",
226
- "icon": "plus"
227
- }
228
- ]
229
- }
230
- ]
231
- },
232
- {
233
- "type": "divider"
234
- },
235
- {
236
- "type": "data-list",
237
- "entity": "Transaction",
238
- "emptyIcon": "inbox",
239
- "emptyTitle": "No transactions yet",
240
- "emptyDescription": "Record your first transaction.",
241
- "itemActions": [
242
- {
243
- "label": "View",
244
- "event": "VIEW",
245
- "variant": "ghost",
246
- "size": "sm"
247
- },
248
- {
249
- "label": "Edit",
250
- "event": "EDIT",
251
- "variant": "ghost",
252
- "size": "sm"
253
- },
254
- {
255
- "label": "Delete",
256
- "event": "DELETE",
257
- "variant": "danger",
258
- "size": "sm"
259
- }
260
- ],
261
- "columns": [
262
- {
263
- "name": "description",
264
- "variant": "h3",
265
- "icon": "credit-card"
266
- },
267
- {
268
- "name": "category",
269
- "variant": "badge"
270
- },
271
- {
272
- "name": "amount",
273
- "variant": "h4",
274
- "format": "currency"
275
- },
276
- {
277
- "name": "date",
278
- "variant": "caption",
279
- "format": "date"
280
- }
281
- ],
282
- "variant": "card",
283
- "gap": "sm"
284
- }
285
- ]
286
- }
287
- ]
288
- }
289
- ]
290
- ]
291
- },
292
- {
293
- "from": "browsing",
294
- "to": "browsing",
295
- "event": "TRANSACTION_CREATED",
296
- "effects": [
297
- [
298
- "ref",
299
- "Transaction"
300
- ]
301
- ]
302
- },
303
- {
304
- "from": "browsing",
305
- "to": "browsing",
306
- "event": "TRANSACTION_UPDATED",
307
- "effects": [
308
- [
309
- "ref",
310
- "Transaction"
311
- ]
312
- ]
313
- },
314
- {
315
- "from": "browsing",
316
- "to": "deleting",
317
- "event": "DELETE",
318
- "effects": [
319
- [
320
- "fetch",
321
- "Transaction",
322
- {
323
- "id": "@payload.id"
324
- }
325
- ],
326
- [
327
- "render-ui",
328
- "modal",
329
- {
330
- "type": "stack",
331
- "direction": "vertical",
332
- "gap": "md",
333
- "children": [
334
- {
335
- "type": "stack",
336
- "direction": "horizontal",
337
- "gap": "sm",
338
- "children": [
339
- {
340
- "type": "icon",
341
- "name": "trash-2",
342
- "size": "md"
343
- },
344
- {
345
- "type": "typography",
346
- "content": "Delete Transaction",
347
- "variant": "h3"
348
- }
349
- ]
350
- },
351
- {
352
- "type": "divider"
353
- },
354
- {
355
- "type": "typography",
356
- "content": "@entity.description",
357
- "variant": "h4"
358
- },
359
- {
360
- "type": "typography",
361
- "content": "This action cannot be undone.",
362
- "variant": "body"
363
- },
364
- {
365
- "type": "stack",
366
- "direction": "horizontal",
367
- "gap": "sm",
368
- "justify": "end",
369
- "children": [
370
- {
371
- "type": "button",
372
- "label": "Cancel",
373
- "event": "CANCEL",
374
- "variant": "ghost"
375
- },
376
- {
377
- "type": "button",
378
- "label": "Delete",
379
- "event": "CONFIRM_DELETE",
380
- "variant": "danger",
381
- "icon": "trash"
382
- }
383
- ]
384
- }
385
- ]
386
- }
387
- ]
388
- ]
389
- },
390
- {
391
- "from": "deleting",
392
- "to": "browsing",
393
- "event": "CONFIRM_DELETE",
394
- "effects": [
395
- [
396
- "persist",
397
- "delete",
398
- "Transaction",
399
- "@entity.id"
400
- ],
401
- [
402
- "render-ui",
403
- "modal",
404
- null
405
- ],
406
- [
407
- "render-ui",
408
- "main",
409
- {
410
- "type": "dashboard-layout",
411
- "appName": "Finance Tracker",
412
- "navItems": [
413
- {
414
- "label": "Transactions",
415
- "href": "/transactions",
416
- "icon": "dollar-sign"
417
- },
418
- {
419
- "label": "Summary",
420
- "href": "/summary",
421
- "icon": "layout-list"
422
- },
423
- {
424
- "label": "Reports",
425
- "href": "/reports",
426
- "icon": "bar-chart"
427
- }
428
- ],
429
- "children": [
430
- {
431
- "type": "stack",
432
- "direction": "vertical",
433
- "gap": "lg",
434
- "className": "max-w-5xl mx-auto w-full",
435
- "children": [
436
- {
437
- "type": "stack",
438
- "direction": "horizontal",
439
- "gap": "md",
440
- "justify": "space-between",
441
- "align": "center",
442
- "children": [
443
- {
444
- "type": "stack",
445
- "direction": "horizontal",
446
- "gap": "sm",
447
- "align": "center",
448
- "children": [
449
- {
450
- "type": "icon",
451
- "name": "credit-card",
452
- "size": "lg"
453
- },
454
- {
455
- "type": "typography",
456
- "content": "Transactions",
457
- "variant": "h2"
458
- }
459
- ]
460
- },
461
- {
462
- "type": "stack",
463
- "direction": "horizontal",
464
- "gap": "sm",
465
- "children": [
466
- {
467
- "type": "button",
468
- "label": "Create Transaction",
469
- "event": "CREATE",
470
- "variant": "primary",
471
- "icon": "plus"
472
- }
473
- ]
474
- }
475
- ]
476
- },
477
- {
478
- "type": "divider"
479
- },
480
- {
481
- "type": "data-list",
482
- "entity": "Transaction",
483
- "emptyIcon": "inbox",
484
- "emptyTitle": "No transactions yet",
485
- "emptyDescription": "Record your first transaction.",
486
- "itemActions": [
487
- {
488
- "label": "View",
489
- "event": "VIEW",
490
- "variant": "ghost",
491
- "size": "sm"
492
- },
493
- {
494
- "label": "Edit",
495
- "event": "EDIT",
496
- "variant": "ghost",
497
- "size": "sm"
498
- },
499
- {
500
- "label": "Delete",
501
- "event": "DELETE",
502
- "variant": "danger",
503
- "size": "sm"
504
- }
505
- ],
506
- "columns": [
507
- {
508
- "name": "description",
509
- "variant": "h3",
510
- "icon": "credit-card"
511
- },
512
- {
513
- "name": "category",
514
- "variant": "badge"
515
- },
516
- {
517
- "name": "amount",
518
- "variant": "h4",
519
- "format": "currency"
520
- },
521
- {
522
- "name": "date",
523
- "variant": "caption",
524
- "format": "date"
525
- }
526
- ],
527
- "variant": "card",
528
- "gap": "sm"
529
- }
530
- ]
531
- }
532
- ]
533
- }
534
- ],
535
- [
536
- "notify",
537
- "Transaction deleted successfully"
538
- ]
50
+ "triggers": "INIT"
51
+ },
52
+ {
53
+ "event": "TRANSACTION_DELETED",
54
+ "triggers": "INIT"
55
+ }
56
+ ],
57
+ "stateMachine": {
58
+ "states": [
59
+ {
60
+ "name": "browsing",
61
+ "isInitial": true
62
+ }
63
+ ],
64
+ "events": [
65
+ {
66
+ "key": "INIT",
67
+ "name": "Initialize"
68
+ },
69
+ {
70
+ "key": "CREATE",
71
+ "name": "CREATE"
72
+ },
73
+ {
74
+ "key": "VIEW",
75
+ "name": "VIEW",
76
+ "payload": [
77
+ {
78
+ "name": "id",
79
+ "type": "string",
80
+ "required": true
81
+ },
82
+ {
83
+ "name": "row",
84
+ "type": "object"
85
+ }
539
86
  ]
540
87
  },
541
88
  {
542
- "from": "deleting",
543
- "to": "browsing",
544
- "event": "CANCEL",
545
- "effects": [
546
- [
547
- "render-ui",
548
- "modal",
549
- null
550
- ],
551
- [
552
- "fetch",
553
- "Transaction"
554
- ],
555
- [
556
- "render-ui",
557
- "main",
558
- {
559
- "type": "dashboard-layout",
560
- "appName": "Finance Tracker",
561
- "navItems": [
562
- {
563
- "label": "Transactions",
564
- "href": "/transactions",
565
- "icon": "dollar-sign"
566
- },
567
- {
568
- "label": "Summary",
569
- "href": "/summary",
570
- "icon": "layout-list"
571
- },
572
- {
573
- "label": "Reports",
574
- "href": "/reports",
575
- "icon": "bar-chart"
576
- }
577
- ],
578
- "children": [
579
- {
580
- "type": "stack",
581
- "direction": "vertical",
582
- "gap": "lg",
583
- "className": "max-w-5xl mx-auto w-full",
584
- "children": [
585
- {
586
- "type": "stack",
587
- "direction": "horizontal",
588
- "gap": "md",
589
- "justify": "space-between",
590
- "align": "center",
591
- "children": [
592
- {
593
- "type": "stack",
594
- "direction": "horizontal",
595
- "gap": "sm",
596
- "align": "center",
597
- "children": [
598
- {
599
- "type": "icon",
600
- "name": "credit-card",
601
- "size": "lg"
602
- },
603
- {
604
- "type": "typography",
605
- "content": "Transactions",
606
- "variant": "h2"
607
- }
608
- ]
609
- },
610
- {
611
- "type": "stack",
612
- "direction": "horizontal",
613
- "gap": "sm",
614
- "children": [
615
- {
616
- "type": "button",
617
- "label": "Create Transaction",
618
- "event": "CREATE",
619
- "variant": "primary",
620
- "icon": "plus"
621
- }
622
- ]
623
- }
624
- ]
625
- },
626
- {
627
- "type": "divider"
628
- },
629
- {
630
- "type": "data-list",
631
- "entity": "Transaction",
632
- "emptyIcon": "inbox",
633
- "emptyTitle": "No transactions yet",
634
- "emptyDescription": "Record your first transaction.",
635
- "itemActions": [
636
- {
637
- "label": "View",
638
- "event": "VIEW",
639
- "variant": "ghost",
640
- "size": "sm"
641
- },
642
- {
643
- "label": "Edit",
644
- "event": "EDIT",
645
- "variant": "ghost",
646
- "size": "sm"
647
- },
648
- {
649
- "label": "Delete",
650
- "event": "DELETE",
651
- "variant": "danger",
652
- "size": "sm"
653
- }
654
- ],
655
- "columns": [
656
- {
657
- "name": "description",
658
- "variant": "h3",
659
- "icon": "credit-card"
660
- },
661
- {
662
- "name": "category",
663
- "variant": "badge"
664
- },
665
- {
666
- "name": "amount",
667
- "variant": "h4",
668
- "format": "currency"
669
- },
670
- {
671
- "name": "date",
672
- "variant": "caption",
673
- "format": "date"
674
- }
675
- ],
676
- "variant": "card",
677
- "gap": "sm"
678
- }
679
- ]
680
- }
681
- ]
682
- }
683
- ]
89
+ "key": "EDIT",
90
+ "name": "EDIT",
91
+ "payload": [
92
+ {
93
+ "name": "id",
94
+ "type": "string",
95
+ "required": true
96
+ },
97
+ {
98
+ "name": "row",
99
+ "type": "object"
100
+ }
684
101
  ]
685
102
  },
686
103
  {
687
- "from": "deleting",
104
+ "key": "DELETE",
105
+ "name": "DELETE",
106
+ "payload": [
107
+ {
108
+ "name": "id",
109
+ "type": "string",
110
+ "required": true
111
+ },
112
+ {
113
+ "name": "row",
114
+ "type": "object"
115
+ }
116
+ ]
117
+ }
118
+ ],
119
+ "transitions": [
120
+ {
121
+ "from": "browsing",
688
122
  "to": "browsing",
689
- "event": "CLOSE",
123
+ "event": "INIT",
690
124
  "effects": [
691
125
  [
692
- "render-ui",
693
- "modal",
694
- null
695
- ],
696
- [
697
- "fetch",
126
+ "ref",
698
127
  "Transaction"
699
128
  ],
700
129
  [
@@ -836,6 +265,9 @@
836
265
  "linkedEntity": "Transaction",
837
266
  "category": "interaction",
838
267
  "emits": [
268
+ {
269
+ "event": "SAVE"
270
+ },
839
271
  {
840
272
  "event": "TRANSACTION_CREATED"
841
273
  }
@@ -978,10 +410,6 @@
978
410
  [
979
411
  "emit",
980
412
  "TRANSACTION_CREATED"
981
- ],
982
- [
983
- "notify",
984
- "Transaction created successfully"
985
413
  ]
986
414
  ]
987
415
  }
@@ -993,6 +421,9 @@
993
421
  "linkedEntity": "Transaction",
994
422
  "category": "interaction",
995
423
  "emits": [
424
+ {
425
+ "event": "SAVE"
426
+ },
996
427
  {
997
428
  "event": "TRANSACTION_UPDATED"
998
429
  }
@@ -1146,10 +577,6 @@
1146
577
  [
1147
578
  "emit",
1148
579
  "TRANSACTION_UPDATED"
1149
- ],
1150
- [
1151
- "notify",
1152
- "Transaction updated successfully"
1153
580
  ]
1154
581
  ]
1155
582
  }
@@ -1160,6 +587,11 @@
1160
587
  "name": "TransactionView",
1161
588
  "linkedEntity": "Transaction",
1162
589
  "category": "interaction",
590
+ "emits": [
591
+ {
592
+ "event": "SAVE"
593
+ }
594
+ ],
1163
595
  "stateMachine": {
1164
596
  "states": [
1165
597
  {
@@ -1189,6 +621,17 @@
1189
621
  {
1190
622
  "key": "CLOSE",
1191
623
  "name": "Close"
624
+ },
625
+ {
626
+ "key": "SAVE",
627
+ "name": "Save",
628
+ "payload": [
629
+ {
630
+ "name": "data",
631
+ "type": "object",
632
+ "required": true
633
+ }
634
+ ]
1192
635
  }
1193
636
  ],
1194
637
  "transitions": [
@@ -1357,6 +800,219 @@
1357
800
  "info"
1358
801
  ]
1359
802
  ]
803
+ },
804
+ {
805
+ "from": "open",
806
+ "to": "closed",
807
+ "event": "SAVE",
808
+ "effects": [
809
+ [
810
+ "render-ui",
811
+ "modal",
812
+ null
813
+ ]
814
+ ]
815
+ }
816
+ ]
817
+ }
818
+ },
819
+ {
820
+ "name": "TransactionDelete",
821
+ "linkedEntity": "Transaction",
822
+ "category": "interaction",
823
+ "emits": [
824
+ {
825
+ "event": "CONFIRM_DELETE"
826
+ },
827
+ {
828
+ "event": "TRANSACTION_DELETED"
829
+ }
830
+ ],
831
+ "stateMachine": {
832
+ "states": [
833
+ {
834
+ "name": "idle",
835
+ "isInitial": true
836
+ },
837
+ {
838
+ "name": "confirming"
839
+ }
840
+ ],
841
+ "events": [
842
+ {
843
+ "key": "INIT",
844
+ "name": "Initialize"
845
+ },
846
+ {
847
+ "key": "DELETE",
848
+ "name": "Request Confirmation",
849
+ "payload": [
850
+ {
851
+ "name": "id",
852
+ "type": "string",
853
+ "required": true
854
+ }
855
+ ]
856
+ },
857
+ {
858
+ "key": "CONFIRM_DELETE",
859
+ "name": "Confirm"
860
+ },
861
+ {
862
+ "key": "CANCEL",
863
+ "name": "Cancel"
864
+ },
865
+ {
866
+ "key": "CLOSE",
867
+ "name": "Close"
868
+ }
869
+ ],
870
+ "transitions": [
871
+ {
872
+ "from": "idle",
873
+ "to": "idle",
874
+ "event": "INIT",
875
+ "effects": [
876
+ [
877
+ "ref",
878
+ "Transaction"
879
+ ]
880
+ ]
881
+ },
882
+ {
883
+ "from": "idle",
884
+ "to": "confirming",
885
+ "event": "DELETE",
886
+ "effects": [
887
+ [
888
+ "set",
889
+ "@entity.pendingId",
890
+ "@payload.id"
891
+ ],
892
+ [
893
+ "fetch",
894
+ "Transaction",
895
+ {
896
+ "id": "@payload.id"
897
+ }
898
+ ],
899
+ [
900
+ "render-ui",
901
+ "modal",
902
+ {
903
+ "type": "stack",
904
+ "direction": "vertical",
905
+ "gap": "md",
906
+ "children": [
907
+ {
908
+ "type": "stack",
909
+ "direction": "horizontal",
910
+ "gap": "sm",
911
+ "align": "center",
912
+ "children": [
913
+ {
914
+ "type": "icon",
915
+ "name": "alert-triangle",
916
+ "size": "md"
917
+ },
918
+ {
919
+ "type": "typography",
920
+ "content": "Delete Transaction",
921
+ "variant": "h3"
922
+ }
923
+ ]
924
+ },
925
+ {
926
+ "type": "divider"
927
+ },
928
+ {
929
+ "type": "alert",
930
+ "variant": "danger",
931
+ "message": "This action cannot be undone."
932
+ },
933
+ {
934
+ "type": "stack",
935
+ "direction": "horizontal",
936
+ "gap": "sm",
937
+ "justify": "end",
938
+ "children": [
939
+ {
940
+ "type": "button",
941
+ "label": "Cancel",
942
+ "event": "CANCEL",
943
+ "variant": "ghost"
944
+ },
945
+ {
946
+ "type": "button",
947
+ "label": "Delete",
948
+ "event": "CONFIRM_DELETE",
949
+ "variant": "danger",
950
+ "icon": "check"
951
+ }
952
+ ]
953
+ }
954
+ ]
955
+ }
956
+ ]
957
+ ]
958
+ },
959
+ {
960
+ "from": "confirming",
961
+ "to": "idle",
962
+ "event": "CONFIRM_DELETE",
963
+ "effects": [
964
+ [
965
+ "persist",
966
+ "delete",
967
+ "Transaction",
968
+ "@entity.pendingId"
969
+ ],
970
+ [
971
+ "render-ui",
972
+ "modal",
973
+ null
974
+ ],
975
+ [
976
+ "ref",
977
+ "Transaction"
978
+ ],
979
+ [
980
+ "emit",
981
+ "TRANSACTION_DELETED"
982
+ ]
983
+ ]
984
+ },
985
+ {
986
+ "from": "confirming",
987
+ "to": "idle",
988
+ "event": "CANCEL",
989
+ "effects": [
990
+ [
991
+ "render-ui",
992
+ "modal",
993
+ null
994
+ ],
995
+ [
996
+ "ref",
997
+ "Transaction"
998
+ ]
999
+ ]
1000
+ },
1001
+ {
1002
+ "from": "confirming",
1003
+ "to": "idle",
1004
+ "event": "CLOSE",
1005
+ "effects": [
1006
+ [
1007
+ "render-ui",
1008
+ "modal",
1009
+ null
1010
+ ],
1011
+ [
1012
+ "ref",
1013
+ "Transaction"
1014
+ ]
1015
+ ]
1360
1016
  }
1361
1017
  ]
1362
1018
  }
@@ -1379,6 +1035,9 @@
1379
1035
  },
1380
1036
  {
1381
1037
  "ref": "TransactionView"
1038
+ },
1039
+ {
1040
+ "ref": "TransactionDelete"
1382
1041
  }
1383
1042
  ]
1384
1043
  }
@@ -2845,7 +2504,7 @@
2845
2504
  "listens": [
2846
2505
  {
2847
2506
  "event": "SAVE",
2848
- "triggers": "SAVE"
2507
+ "triggers": "INIT"
2849
2508
  }
2850
2509
  ],
2851
2510
  "stateMachine": {
@@ -2878,17 +2537,6 @@
2878
2537
  "type": "object"
2879
2538
  }
2880
2539
  ]
2881
- },
2882
- {
2883
- "key": "SAVE",
2884
- "name": "SAVE",
2885
- "payload": [
2886
- {
2887
- "name": "data",
2888
- "type": "object",
2889
- "required": true
2890
- }
2891
- ]
2892
2540
  }
2893
2541
  ],
2894
2542
  "transitions": [
@@ -3020,17 +2668,6 @@
3020
2668
  }
3021
2669
  ]
3022
2670
  ]
3023
- },
3024
- {
3025
- "from": "browsing",
3026
- "to": "browsing",
3027
- "event": "SAVE",
3028
- "effects": [
3029
- [
3030
- "ref",
3031
- "FinanceReport"
3032
- ]
3033
- ]
3034
2671
  }
3035
2672
  ]
3036
2673
  }
@@ -3178,14 +2815,6 @@
3178
2815
  "render-ui",
3179
2816
  "modal",
3180
2817
  null
3181
- ],
3182
- [
3183
- "emit",
3184
- "SAVE"
3185
- ],
3186
- [
3187
- "notify",
3188
- "FinanceReport created successfully"
3189
2818
  ]
3190
2819
  ]
3191
2820
  }
@@ -3196,6 +2825,11 @@
3196
2825
  "name": "FinanceReportView",
3197
2826
  "linkedEntity": "FinanceReport",
3198
2827
  "category": "interaction",
2828
+ "emits": [
2829
+ {
2830
+ "event": "SAVE"
2831
+ }
2832
+ ],
3199
2833
  "stateMachine": {
3200
2834
  "states": [
3201
2835
  {
@@ -3225,6 +2859,17 @@
3225
2859
  {
3226
2860
  "key": "CLOSE",
3227
2861
  "name": "Close"
2862
+ },
2863
+ {
2864
+ "key": "SAVE",
2865
+ "name": "Save",
2866
+ "payload": [
2867
+ {
2868
+ "name": "data",
2869
+ "type": "object",
2870
+ "required": true
2871
+ }
2872
+ ]
3228
2873
  }
3229
2874
  ],
3230
2875
  "transitions": [
@@ -3386,6 +3031,18 @@
3386
3031
  "info"
3387
3032
  ]
3388
3033
  ]
3034
+ },
3035
+ {
3036
+ "from": "open",
3037
+ "to": "closed",
3038
+ "event": "SAVE",
3039
+ "effects": [
3040
+ [
3041
+ "render-ui",
3042
+ "modal",
3043
+ null
3044
+ ]
3045
+ ]
3389
3046
  }
3390
3047
  ]
3391
3048
  }
@@ -3409,6 +3066,5 @@
3409
3066
  }
3410
3067
  ]
3411
3068
  }
3412
- ],
3413
- "description": "Finance tracker organism. Composes: stdList(Transaction) + stdDisplay(FinanceSummary) + stdDetail(FinanceReport) Pages: /transactions (initial), /summary, /reports"
3414
- }
3069
+ ]
3070
+ }