@almadar/std 5.2.2 → 5.3.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 (431) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +213 -10
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +55 -4
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +8 -4
  4. package/behaviors/exports/atoms/std-agent-completion.orb +8 -4
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +4 -4
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +71 -4
  7. package/behaviors/exports/atoms/std-agent-memory.orb +12 -4
  8. package/behaviors/exports/atoms/std-agent-provider.orb +8 -4
  9. package/behaviors/exports/atoms/std-agent-search.orb +4 -4
  10. package/behaviors/exports/atoms/std-agent-session.orb +16 -4
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +4 -4
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +4 -4
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +8 -4
  14. package/behaviors/exports/atoms/std-async.orb +8 -4
  15. package/behaviors/exports/atoms/std-autoregressive.orb +2 -3
  16. package/behaviors/exports/atoms/std-browse.orb +4 -4
  17. package/behaviors/exports/atoms/std-cache-aside.orb +8 -4
  18. package/behaviors/exports/atoms/std-calendar.orb +4 -4
  19. package/behaviors/exports/atoms/std-circuit-breaker.orb +4 -4
  20. package/behaviors/exports/atoms/std-collision.orb +4 -4
  21. package/behaviors/exports/atoms/std-combat-log.orb +4 -4
  22. package/behaviors/exports/atoms/std-combat.orb +4 -4
  23. package/behaviors/exports/atoms/std-confirmation.orb +4 -4
  24. package/behaviors/exports/atoms/std-dialogue-box.orb +4 -4
  25. package/behaviors/exports/atoms/std-display.orb +4 -4
  26. package/behaviors/exports/atoms/std-drawer.orb +4 -4
  27. package/behaviors/exports/atoms/std-filter.orb +4 -4
  28. package/behaviors/exports/atoms/std-flip-card.orb +4 -4
  29. package/behaviors/exports/atoms/std-gallery.orb +4 -4
  30. package/behaviors/exports/atoms/std-game-audio.orb +4 -4
  31. package/behaviors/exports/atoms/std-game-canvas2d.orb +2 -3
  32. package/behaviors/exports/atoms/std-game-canvas3d.orb +2 -3
  33. package/behaviors/exports/atoms/std-game-hud.orb +4 -4
  34. package/behaviors/exports/atoms/std-game-menu.orb +4 -4
  35. package/behaviors/exports/atoms/std-game-over-screen.orb +4 -4
  36. package/behaviors/exports/atoms/std-gameflow.orb +4 -4
  37. package/behaviors/exports/atoms/std-input.orb +4 -4
  38. package/behaviors/exports/atoms/std-inventory-panel.orb +8 -4
  39. package/behaviors/exports/atoms/std-isometric-canvas.orb +4 -4
  40. package/behaviors/exports/atoms/std-loading.orb +4 -4
  41. package/behaviors/exports/atoms/std-modal.orb +4 -4
  42. package/behaviors/exports/atoms/std-movement.orb +4 -4
  43. package/behaviors/exports/atoms/std-notification.orb +4 -4
  44. package/behaviors/exports/atoms/std-overworld.orb +4 -4
  45. package/behaviors/exports/atoms/std-pagination.orb +4 -4
  46. package/behaviors/exports/atoms/std-physics2d.orb +4 -4
  47. package/behaviors/exports/atoms/std-platformer-canvas.orb +4 -4
  48. package/behaviors/exports/atoms/std-quest.orb +8 -4
  49. package/behaviors/exports/atoms/std-rate-limiter.orb +4 -4
  50. package/behaviors/exports/atoms/std-rating.orb +4 -4
  51. package/behaviors/exports/atoms/std-score-board.orb +4 -4
  52. package/behaviors/exports/atoms/std-score.orb +4 -4
  53. package/behaviors/exports/atoms/std-search.orb +4 -4
  54. package/behaviors/exports/atoms/std-selection.orb +4 -4
  55. package/behaviors/exports/atoms/std-service-custom-bearer.orb +15 -4
  56. package/behaviors/exports/atoms/std-service-custom-header.orb +17 -4
  57. package/behaviors/exports/atoms/std-service-custom-noauth.orb +11 -4
  58. package/behaviors/exports/atoms/std-service-custom-query.orb +17 -4
  59. package/behaviors/exports/atoms/std-service-email.orb +4 -4
  60. package/behaviors/exports/atoms/std-service-github.orb +4 -4
  61. package/behaviors/exports/atoms/std-service-llm.orb +4 -4
  62. package/behaviors/exports/atoms/std-service-oauth.orb +4 -4
  63. package/behaviors/exports/atoms/std-service-redis.orb +4 -4
  64. package/behaviors/exports/atoms/std-service-storage.orb +4 -4
  65. package/behaviors/exports/atoms/std-service-stripe.orb +4 -4
  66. package/behaviors/exports/atoms/std-service-twilio.orb +4 -4
  67. package/behaviors/exports/atoms/std-service-youtube.orb +4 -4
  68. package/behaviors/exports/atoms/std-simulation-canvas.orb +4 -4
  69. package/behaviors/exports/atoms/std-sort.orb +4 -4
  70. package/behaviors/exports/atoms/std-sprite.orb +4 -4
  71. package/behaviors/exports/atoms/std-tabs.orb +4 -4
  72. package/behaviors/exports/atoms/std-text-effects.orb +4 -4
  73. package/behaviors/exports/atoms/std-theme.orb +4 -4
  74. package/behaviors/exports/atoms/std-timer.orb +4 -4
  75. package/behaviors/exports/atoms/std-undo.orb +4 -4
  76. package/behaviors/exports/atoms/std-upload.orb +4 -4
  77. package/behaviors/exports/atoms/std-validate-on-save.orb +32 -4
  78. package/behaviors/exports/atoms/std-wizard.orb +4 -4
  79. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1720 -1139
  80. package/behaviors/exports/molecules/std-agent-learner.orb +851 -622
  81. package/behaviors/exports/molecules/std-agent-planner.orb +869 -617
  82. package/behaviors/exports/molecules/std-agent-rag.orb +765 -563
  83. package/behaviors/exports/molecules/std-agent-tool-loop.orb +2838 -898
  84. package/behaviors/exports/molecules/std-builder-game.orb +4 -4
  85. package/behaviors/exports/molecules/std-cart.orb +317 -195
  86. package/behaviors/exports/molecules/std-classifier-game.orb +4 -4
  87. package/behaviors/exports/molecules/std-debugger-game.orb +4 -4
  88. package/behaviors/exports/molecules/std-detail.orb +469 -308
  89. package/behaviors/exports/molecules/std-event-handler-game.orb +4 -4
  90. package/behaviors/exports/molecules/std-form-advanced.orb +8 -4
  91. package/behaviors/exports/molecules/std-geospatial.orb +518 -362
  92. package/behaviors/exports/molecules/std-inventory.orb +649 -389
  93. package/behaviors/exports/molecules/std-list.orb +870 -527
  94. package/behaviors/exports/molecules/std-messaging.orb +454 -294
  95. package/behaviors/exports/molecules/std-negotiator-game.orb +4 -4
  96. package/behaviors/exports/molecules/std-platformer-game.orb +4 -4
  97. package/behaviors/exports/molecules/std-puzzle-game.orb +4 -4
  98. package/behaviors/exports/molecules/std-quiz.orb +4 -4
  99. package/behaviors/exports/molecules/std-sequencer-game.orb +4 -4
  100. package/behaviors/exports/molecules/std-service-content-pipeline.orb +4 -4
  101. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +42 -4
  102. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +4 -4
  103. package/behaviors/exports/molecules/std-service-notification-hub.orb +4 -4
  104. package/behaviors/exports/molecules/std-service-payment-flow.orb +4 -4
  105. package/behaviors/exports/molecules/std-simulator-game.orb +4 -4
  106. package/behaviors/exports/molecules/std-turn-based-battle.orb +4 -4
  107. package/behaviors/exports/organisms/std-agent-assistant.orb +28 -4
  108. package/behaviors/exports/organisms/std-agent-builder.orb +1309 -787
  109. package/behaviors/exports/organisms/std-agent-pipeline.orb +1271 -748
  110. package/behaviors/exports/organisms/std-agent-reviewer.orb +370 -292
  111. package/behaviors/exports/organisms/std-agent-tutor.orb +378 -295
  112. package/behaviors/exports/organisms/std-api-gateway.orb +16 -4
  113. package/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  114. package/behaviors/exports/organisms/std-booking-system.orb +28 -4
  115. package/behaviors/exports/organisms/std-cicd-pipeline.orb +20 -4
  116. package/behaviors/exports/organisms/std-cms.orb +32 -4
  117. package/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  118. package/behaviors/exports/organisms/std-crm.orb +32 -4
  119. package/behaviors/exports/organisms/std-devops-dashboard.orb +16 -4
  120. package/behaviors/exports/organisms/std-ecommerce.orb +36 -4
  121. package/behaviors/exports/organisms/std-finance-tracker.orb +20 -4
  122. package/behaviors/exports/organisms/std-healthcare.orb +32 -4
  123. package/behaviors/exports/organisms/std-helpdesk.orb +20 -4
  124. package/behaviors/exports/organisms/std-hr-portal.orb +28 -4
  125. package/behaviors/exports/organisms/std-iot-dashboard.orb +16 -4
  126. package/behaviors/exports/organisms/std-lms.orb +16 -4
  127. package/behaviors/exports/organisms/std-logic-training.orb +4 -4
  128. package/behaviors/exports/organisms/std-platformer-app.orb +16 -4
  129. package/behaviors/exports/organisms/std-project-manager.orb +28 -4
  130. package/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  131. package/behaviors/exports/organisms/std-realtime-chat.orb +20 -4
  132. package/behaviors/exports/organisms/std-rpg-game.orb +20 -4
  133. package/behaviors/exports/organisms/std-service-marketplace.orb +36 -8
  134. package/behaviors/exports/organisms/std-service-research-assistant.orb +15 -4
  135. package/behaviors/exports/organisms/std-social-feed.orb +12 -4
  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 +20 -4
  139. package/behaviors/exports/validation-report.json +1803 -1
  140. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +213 -10
  141. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +55 -4
  142. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +8 -4
  143. package/dist/behaviors/exports/atoms/std-agent-completion.orb +8 -4
  144. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +4 -4
  145. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +71 -4
  146. package/dist/behaviors/exports/atoms/std-agent-memory.orb +12 -4
  147. package/dist/behaviors/exports/atoms/std-agent-provider.orb +8 -4
  148. package/dist/behaviors/exports/atoms/std-agent-search.orb +4 -4
  149. package/dist/behaviors/exports/atoms/std-agent-session.orb +16 -4
  150. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +4 -4
  151. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +4 -4
  152. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +8 -4
  153. package/dist/behaviors/exports/atoms/std-async.orb +8 -4
  154. package/dist/behaviors/exports/atoms/std-autoregressive.orb +2 -3
  155. package/dist/behaviors/exports/atoms/std-browse.orb +4 -4
  156. package/dist/behaviors/exports/atoms/std-cache-aside.orb +8 -4
  157. package/dist/behaviors/exports/atoms/std-calendar.orb +4 -4
  158. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +4 -4
  159. package/dist/behaviors/exports/atoms/std-collision.orb +4 -4
  160. package/dist/behaviors/exports/atoms/std-combat-log.orb +4 -4
  161. package/dist/behaviors/exports/atoms/std-combat.orb +4 -4
  162. package/dist/behaviors/exports/atoms/std-confirmation.orb +4 -4
  163. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +4 -4
  164. package/dist/behaviors/exports/atoms/std-display.orb +4 -4
  165. package/dist/behaviors/exports/atoms/std-drawer.orb +4 -4
  166. package/dist/behaviors/exports/atoms/std-filter.orb +4 -4
  167. package/dist/behaviors/exports/atoms/std-flip-card.orb +4 -4
  168. package/dist/behaviors/exports/atoms/std-gallery.orb +4 -4
  169. package/dist/behaviors/exports/atoms/std-game-audio.orb +4 -4
  170. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +2 -3
  171. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +2 -3
  172. package/dist/behaviors/exports/atoms/std-game-hud.orb +4 -4
  173. package/dist/behaviors/exports/atoms/std-game-menu.orb +4 -4
  174. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +4 -4
  175. package/dist/behaviors/exports/atoms/std-gameflow.orb +4 -4
  176. package/dist/behaviors/exports/atoms/std-input.orb +4 -4
  177. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +8 -4
  178. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +4 -4
  179. package/dist/behaviors/exports/atoms/std-loading.orb +4 -4
  180. package/dist/behaviors/exports/atoms/std-modal.orb +4 -4
  181. package/dist/behaviors/exports/atoms/std-movement.orb +4 -4
  182. package/dist/behaviors/exports/atoms/std-notification.orb +4 -4
  183. package/dist/behaviors/exports/atoms/std-overworld.orb +4 -4
  184. package/dist/behaviors/exports/atoms/std-pagination.orb +4 -4
  185. package/dist/behaviors/exports/atoms/std-physics2d.orb +4 -4
  186. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +4 -4
  187. package/dist/behaviors/exports/atoms/std-quest.orb +8 -4
  188. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +4 -4
  189. package/dist/behaviors/exports/atoms/std-rating.orb +4 -4
  190. package/dist/behaviors/exports/atoms/std-score-board.orb +4 -4
  191. package/dist/behaviors/exports/atoms/std-score.orb +4 -4
  192. package/dist/behaviors/exports/atoms/std-search.orb +4 -4
  193. package/dist/behaviors/exports/atoms/std-selection.orb +4 -4
  194. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +15 -4
  195. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +17 -4
  196. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +11 -4
  197. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +17 -4
  198. package/dist/behaviors/exports/atoms/std-service-email.orb +4 -4
  199. package/dist/behaviors/exports/atoms/std-service-github.orb +4 -4
  200. package/dist/behaviors/exports/atoms/std-service-llm.orb +4 -4
  201. package/dist/behaviors/exports/atoms/std-service-oauth.orb +4 -4
  202. package/dist/behaviors/exports/atoms/std-service-redis.orb +4 -4
  203. package/dist/behaviors/exports/atoms/std-service-storage.orb +4 -4
  204. package/dist/behaviors/exports/atoms/std-service-stripe.orb +4 -4
  205. package/dist/behaviors/exports/atoms/std-service-twilio.orb +4 -4
  206. package/dist/behaviors/exports/atoms/std-service-youtube.orb +4 -4
  207. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +4 -4
  208. package/dist/behaviors/exports/atoms/std-sort.orb +4 -4
  209. package/dist/behaviors/exports/atoms/std-sprite.orb +4 -4
  210. package/dist/behaviors/exports/atoms/std-tabs.orb +4 -4
  211. package/dist/behaviors/exports/atoms/std-text-effects.orb +4 -4
  212. package/dist/behaviors/exports/atoms/std-theme.orb +4 -4
  213. package/dist/behaviors/exports/atoms/std-timer.orb +4 -4
  214. package/dist/behaviors/exports/atoms/std-undo.orb +4 -4
  215. package/dist/behaviors/exports/atoms/std-upload.orb +4 -4
  216. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +32 -4
  217. package/dist/behaviors/exports/atoms/std-wizard.orb +4 -4
  218. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1720 -1139
  219. package/dist/behaviors/exports/molecules/std-agent-learner.orb +851 -622
  220. package/dist/behaviors/exports/molecules/std-agent-planner.orb +869 -617
  221. package/dist/behaviors/exports/molecules/std-agent-rag.orb +765 -563
  222. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +2838 -898
  223. package/dist/behaviors/exports/molecules/std-builder-game.orb +4 -4
  224. package/dist/behaviors/exports/molecules/std-cart.orb +317 -195
  225. package/dist/behaviors/exports/molecules/std-classifier-game.orb +4 -4
  226. package/dist/behaviors/exports/molecules/std-debugger-game.orb +4 -4
  227. package/dist/behaviors/exports/molecules/std-detail.orb +469 -308
  228. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +4 -4
  229. package/dist/behaviors/exports/molecules/std-form-advanced.orb +8 -4
  230. package/dist/behaviors/exports/molecules/std-geospatial.orb +518 -362
  231. package/dist/behaviors/exports/molecules/std-inventory.orb +649 -389
  232. package/dist/behaviors/exports/molecules/std-list.orb +870 -527
  233. package/dist/behaviors/exports/molecules/std-messaging.orb +454 -294
  234. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +4 -4
  235. package/dist/behaviors/exports/molecules/std-platformer-game.orb +4 -4
  236. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +4 -4
  237. package/dist/behaviors/exports/molecules/std-quiz.orb +4 -4
  238. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +4 -4
  239. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +4 -4
  240. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +42 -4
  241. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +4 -4
  242. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +4 -4
  243. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +4 -4
  244. package/dist/behaviors/exports/molecules/std-simulator-game.orb +4 -4
  245. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +4 -4
  246. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +28 -4
  247. package/dist/behaviors/exports/organisms/std-agent-builder.orb +1309 -787
  248. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +1271 -748
  249. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +370 -292
  250. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +378 -295
  251. package/dist/behaviors/exports/organisms/std-api-gateway.orb +16 -4
  252. package/dist/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  253. package/dist/behaviors/exports/organisms/std-booking-system.orb +28 -4
  254. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +20 -4
  255. package/dist/behaviors/exports/organisms/std-cms.orb +32 -4
  256. package/dist/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  257. package/dist/behaviors/exports/organisms/std-crm.orb +32 -4
  258. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +16 -4
  259. package/dist/behaviors/exports/organisms/std-ecommerce.orb +36 -4
  260. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +20 -4
  261. package/dist/behaviors/exports/organisms/std-healthcare.orb +32 -4
  262. package/dist/behaviors/exports/organisms/std-helpdesk.orb +20 -4
  263. package/dist/behaviors/exports/organisms/std-hr-portal.orb +28 -4
  264. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +16 -4
  265. package/dist/behaviors/exports/organisms/std-lms.orb +16 -4
  266. package/dist/behaviors/exports/organisms/std-logic-training.orb +4 -4
  267. package/dist/behaviors/exports/organisms/std-platformer-app.orb +16 -4
  268. package/dist/behaviors/exports/organisms/std-project-manager.orb +28 -4
  269. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  270. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +20 -4
  271. package/dist/behaviors/exports/organisms/std-rpg-game.orb +20 -4
  272. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +36 -8
  273. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +15 -4
  274. package/dist/behaviors/exports/organisms/std-social-feed.orb +12 -4
  275. package/dist/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  276. package/dist/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  277. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +20 -4
  278. package/dist/behaviors/exports/validation-report.json +1803 -1
  279. package/dist/behaviors/exports-reader.js +208 -193
  280. package/dist/behaviors/exports-reader.js.map +1 -1
  281. package/dist/behaviors/functions/index.d.ts +113 -113
  282. package/dist/behaviors/functions/index.js +208 -194
  283. package/dist/behaviors/functions/index.js.map +1 -1
  284. package/dist/behaviors/index.d.ts +1 -1
  285. package/dist/behaviors/index.js +209 -194
  286. package/dist/behaviors/index.js.map +1 -1
  287. package/dist/behaviors/query.js +208 -193
  288. package/dist/behaviors/query.js.map +1 -1
  289. package/dist/exports/atoms/std-agent-activity-log.orb +213 -10
  290. package/dist/exports/atoms/std-agent-chat-thread.orb +55 -4
  291. package/dist/exports/atoms/std-agent-classifier.orb +8 -4
  292. package/dist/exports/atoms/std-agent-completion.orb +8 -4
  293. package/dist/exports/atoms/std-agent-context-window.orb +4 -4
  294. package/dist/exports/atoms/std-agent-conversation.orb +71 -4
  295. package/dist/exports/atoms/std-agent-memory.orb +12 -4
  296. package/dist/exports/atoms/std-agent-provider.orb +8 -4
  297. package/dist/exports/atoms/std-agent-search.orb +4 -4
  298. package/dist/exports/atoms/std-agent-session.orb +16 -4
  299. package/dist/exports/atoms/std-agent-step-progress.orb +4 -4
  300. package/dist/exports/atoms/std-agent-token-gauge.orb +4 -4
  301. package/dist/exports/atoms/std-agent-tool-call.orb +8 -4
  302. package/dist/exports/atoms/std-async.orb +8 -4
  303. package/dist/exports/atoms/std-autoregressive.orb +2 -3
  304. package/dist/exports/atoms/std-browse.orb +4 -4
  305. package/dist/exports/atoms/std-cache-aside.orb +8 -4
  306. package/dist/exports/atoms/std-calendar.orb +4 -4
  307. package/dist/exports/atoms/std-circuit-breaker.orb +4 -4
  308. package/dist/exports/atoms/std-collision.orb +4 -4
  309. package/dist/exports/atoms/std-combat-log.orb +4 -4
  310. package/dist/exports/atoms/std-combat.orb +4 -4
  311. package/dist/exports/atoms/std-confirmation.orb +4 -4
  312. package/dist/exports/atoms/std-dialogue-box.orb +4 -4
  313. package/dist/exports/atoms/std-display.orb +4 -4
  314. package/dist/exports/atoms/std-drawer.orb +4 -4
  315. package/dist/exports/atoms/std-filter.orb +4 -4
  316. package/dist/exports/atoms/std-flip-card.orb +4 -4
  317. package/dist/exports/atoms/std-gallery.orb +4 -4
  318. package/dist/exports/atoms/std-game-audio.orb +4 -4
  319. package/dist/exports/atoms/std-game-canvas2d.orb +2 -3
  320. package/dist/exports/atoms/std-game-canvas3d.orb +2 -3
  321. package/dist/exports/atoms/std-game-hud.orb +4 -4
  322. package/dist/exports/atoms/std-game-menu.orb +4 -4
  323. package/dist/exports/atoms/std-game-over-screen.orb +4 -4
  324. package/dist/exports/atoms/std-gameflow.orb +4 -4
  325. package/dist/exports/atoms/std-input.orb +4 -4
  326. package/dist/exports/atoms/std-inventory-panel.orb +8 -4
  327. package/dist/exports/atoms/std-isometric-canvas.orb +4 -4
  328. package/dist/exports/atoms/std-loading.orb +4 -4
  329. package/dist/exports/atoms/std-modal.orb +4 -4
  330. package/dist/exports/atoms/std-movement.orb +4 -4
  331. package/dist/exports/atoms/std-notification.orb +4 -4
  332. package/dist/exports/atoms/std-overworld.orb +4 -4
  333. package/dist/exports/atoms/std-pagination.orb +4 -4
  334. package/dist/exports/atoms/std-physics2d.orb +4 -4
  335. package/dist/exports/atoms/std-platformer-canvas.orb +4 -4
  336. package/dist/exports/atoms/std-quest.orb +8 -4
  337. package/dist/exports/atoms/std-rate-limiter.orb +4 -4
  338. package/dist/exports/atoms/std-rating.orb +4 -4
  339. package/dist/exports/atoms/std-score-board.orb +4 -4
  340. package/dist/exports/atoms/std-score.orb +4 -4
  341. package/dist/exports/atoms/std-search.orb +4 -4
  342. package/dist/exports/atoms/std-selection.orb +4 -4
  343. package/dist/exports/atoms/std-service-custom-bearer.orb +15 -4
  344. package/dist/exports/atoms/std-service-custom-header.orb +17 -4
  345. package/dist/exports/atoms/std-service-custom-noauth.orb +11 -4
  346. package/dist/exports/atoms/std-service-custom-query.orb +17 -4
  347. package/dist/exports/atoms/std-service-email.orb +4 -4
  348. package/dist/exports/atoms/std-service-github.orb +4 -4
  349. package/dist/exports/atoms/std-service-llm.orb +4 -4
  350. package/dist/exports/atoms/std-service-oauth.orb +4 -4
  351. package/dist/exports/atoms/std-service-redis.orb +4 -4
  352. package/dist/exports/atoms/std-service-storage.orb +4 -4
  353. package/dist/exports/atoms/std-service-stripe.orb +4 -4
  354. package/dist/exports/atoms/std-service-twilio.orb +4 -4
  355. package/dist/exports/atoms/std-service-youtube.orb +4 -4
  356. package/dist/exports/atoms/std-simulation-canvas.orb +4 -4
  357. package/dist/exports/atoms/std-sort.orb +4 -4
  358. package/dist/exports/atoms/std-sprite.orb +4 -4
  359. package/dist/exports/atoms/std-tabs.orb +4 -4
  360. package/dist/exports/atoms/std-text-effects.orb +4 -4
  361. package/dist/exports/atoms/std-theme.orb +4 -4
  362. package/dist/exports/atoms/std-timer.orb +4 -4
  363. package/dist/exports/atoms/std-undo.orb +4 -4
  364. package/dist/exports/atoms/std-upload.orb +4 -4
  365. package/dist/exports/atoms/std-validate-on-save.orb +32 -4
  366. package/dist/exports/atoms/std-wizard.orb +4 -4
  367. package/dist/exports/molecules/std-agent-fix-loop.orb +1720 -1139
  368. package/dist/exports/molecules/std-agent-learner.orb +851 -622
  369. package/dist/exports/molecules/std-agent-planner.orb +869 -617
  370. package/dist/exports/molecules/std-agent-rag.orb +765 -563
  371. package/dist/exports/molecules/std-agent-tool-loop.orb +2838 -898
  372. package/dist/exports/molecules/std-builder-game.orb +4 -4
  373. package/dist/exports/molecules/std-cart.orb +317 -195
  374. package/dist/exports/molecules/std-classifier-game.orb +4 -4
  375. package/dist/exports/molecules/std-debugger-game.orb +4 -4
  376. package/dist/exports/molecules/std-detail.orb +469 -308
  377. package/dist/exports/molecules/std-event-handler-game.orb +4 -4
  378. package/dist/exports/molecules/std-form-advanced.orb +8 -4
  379. package/dist/exports/molecules/std-geospatial.orb +518 -362
  380. package/dist/exports/molecules/std-inventory.orb +649 -389
  381. package/dist/exports/molecules/std-list.orb +870 -527
  382. package/dist/exports/molecules/std-messaging.orb +454 -294
  383. package/dist/exports/molecules/std-negotiator-game.orb +4 -4
  384. package/dist/exports/molecules/std-platformer-game.orb +4 -4
  385. package/dist/exports/molecules/std-puzzle-game.orb +4 -4
  386. package/dist/exports/molecules/std-quiz.orb +4 -4
  387. package/dist/exports/molecules/std-sequencer-game.orb +4 -4
  388. package/dist/exports/molecules/std-service-content-pipeline.orb +4 -4
  389. package/dist/exports/molecules/std-service-custom-api-tester.orb +42 -4
  390. package/dist/exports/molecules/std-service-devops-toolkit.orb +4 -4
  391. package/dist/exports/molecules/std-service-notification-hub.orb +4 -4
  392. package/dist/exports/molecules/std-service-payment-flow.orb +4 -4
  393. package/dist/exports/molecules/std-simulator-game.orb +4 -4
  394. package/dist/exports/molecules/std-turn-based-battle.orb +4 -4
  395. package/dist/exports/organisms/std-agent-assistant.orb +28 -4
  396. package/dist/exports/organisms/std-agent-builder.orb +1309 -787
  397. package/dist/exports/organisms/std-agent-pipeline.orb +1271 -748
  398. package/dist/exports/organisms/std-agent-reviewer.orb +370 -292
  399. package/dist/exports/organisms/std-agent-tutor.orb +378 -295
  400. package/dist/exports/organisms/std-api-gateway.orb +16 -4
  401. package/dist/exports/organisms/std-arcade-game.orb +4 -4
  402. package/dist/exports/organisms/std-booking-system.orb +28 -4
  403. package/dist/exports/organisms/std-cicd-pipeline.orb +20 -4
  404. package/dist/exports/organisms/std-cms.orb +32 -4
  405. package/dist/exports/organisms/std-coding-academy.orb +4 -4
  406. package/dist/exports/organisms/std-crm.orb +32 -4
  407. package/dist/exports/organisms/std-devops-dashboard.orb +16 -4
  408. package/dist/exports/organisms/std-ecommerce.orb +36 -4
  409. package/dist/exports/organisms/std-finance-tracker.orb +20 -4
  410. package/dist/exports/organisms/std-healthcare.orb +32 -4
  411. package/dist/exports/organisms/std-helpdesk.orb +20 -4
  412. package/dist/exports/organisms/std-hr-portal.orb +28 -4
  413. package/dist/exports/organisms/std-iot-dashboard.orb +16 -4
  414. package/dist/exports/organisms/std-lms.orb +16 -4
  415. package/dist/exports/organisms/std-logic-training.orb +4 -4
  416. package/dist/exports/organisms/std-platformer-app.orb +16 -4
  417. package/dist/exports/organisms/std-project-manager.orb +28 -4
  418. package/dist/exports/organisms/std-puzzle-app.orb +4 -4
  419. package/dist/exports/organisms/std-realtime-chat.orb +20 -4
  420. package/dist/exports/organisms/std-rpg-game.orb +20 -4
  421. package/dist/exports/organisms/std-service-marketplace.orb +36 -8
  422. package/dist/exports/organisms/std-service-research-assistant.orb +15 -4
  423. package/dist/exports/organisms/std-social-feed.orb +12 -4
  424. package/dist/exports/organisms/std-stem-lab.orb +4 -4
  425. package/dist/exports/organisms/std-strategy-game.orb +4 -4
  426. package/dist/exports/organisms/std-trading-dashboard.orb +20 -4
  427. package/dist/exports/validation-report.json +1803 -1
  428. package/dist/index.d.ts +1 -1
  429. package/dist/index.js +209 -194
  430. package/dist/index.js.map +1 -1
  431. package/package.json +5 -5
@@ -1,24 +1,9 @@
1
1
  {
2
- "name": "std-list",
2
+ "name": "ListItemOrbital",
3
3
  "version": "1.0.0",
4
- "description": "CRUD list molecule. Composes atoms via shared event bus: - stdBrowse: data-grid with item actions (fires CREATE, VIEW, EDIT, DELETE) - stdModal (x3): create form, edit form, detail view (responds to matching events) - stdConfirmation: delete confirmation (responds to DELETE → CONFIRM_DELETE)",
5
4
  "orbitals": [
6
5
  {
7
6
  "name": "ListItemOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-browse",
11
- "as": "Browse"
12
- },
13
- {
14
- "from": "std/behaviors/std-confirmation",
15
- "as": "Confirmation"
16
- },
17
- {
18
- "from": "std/behaviors/std-modal",
19
- "as": "Modal"
20
- }
21
- ],
22
7
  "entity": {
23
8
  "name": "ListItem",
24
9
  "persistence": "persistent",
@@ -54,622 +39,979 @@
54
39
  },
55
40
  "traits": [
56
41
  {
57
- "ref": "Browse.traits.BrowseItemBrowse",
58
42
  "name": "ListItemBrowse",
59
43
  "linkedEntity": "ListItem",
60
- "effects": {
61
- "INIT": [
62
- [
63
- "ref",
64
- "ListItem"
65
- ],
66
- [
67
- "render-ui",
68
- "main",
69
- {
70
- "type": "stack",
71
- "direction": "vertical",
72
- "gap": "lg",
73
- "className": "max-w-5xl mx-auto w-full",
74
- "children": [
44
+ "category": "interaction",
45
+ "listens": [
46
+ {
47
+ "event": "LIST_ITEM_CREATED",
48
+ "triggers": "INIT"
49
+ },
50
+ {
51
+ "event": "LIST_ITEM_UPDATED",
52
+ "triggers": "INIT"
53
+ },
54
+ {
55
+ "event": "LIST_ITEM_DELETED",
56
+ "triggers": "INIT"
57
+ }
58
+ ],
59
+ "stateMachine": {
60
+ "states": [
61
+ {
62
+ "name": "browsing",
63
+ "isInitial": true
64
+ }
65
+ ],
66
+ "events": [
67
+ {
68
+ "key": "INIT",
69
+ "name": "Initialize"
70
+ },
71
+ {
72
+ "key": "CREATE",
73
+ "name": "CREATE"
74
+ },
75
+ {
76
+ "key": "VIEW",
77
+ "name": "VIEW",
78
+ "payload": [
79
+ {
80
+ "name": "id",
81
+ "type": "string",
82
+ "required": true
83
+ },
84
+ {
85
+ "name": "row",
86
+ "type": "object"
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "key": "EDIT",
92
+ "name": "EDIT",
93
+ "payload": [
94
+ {
95
+ "name": "id",
96
+ "type": "string",
97
+ "required": true
98
+ },
99
+ {
100
+ "name": "row",
101
+ "type": "object"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "key": "DELETE",
107
+ "name": "DELETE",
108
+ "payload": [
109
+ {
110
+ "name": "id",
111
+ "type": "string",
112
+ "required": true
113
+ },
114
+ {
115
+ "name": "row",
116
+ "type": "object"
117
+ }
118
+ ]
119
+ }
120
+ ],
121
+ "transitions": [
122
+ {
123
+ "from": "browsing",
124
+ "to": "browsing",
125
+ "event": "INIT",
126
+ "effects": [
127
+ [
128
+ "ref",
129
+ "ListItem"
130
+ ],
131
+ [
132
+ "render-ui",
133
+ "main",
75
134
  {
76
135
  "type": "stack",
77
- "direction": "horizontal",
78
- "gap": "md",
79
- "justify": "space-between",
80
- "align": "center",
136
+ "direction": "vertical",
137
+ "gap": "lg",
138
+ "className": "max-w-5xl mx-auto w-full",
81
139
  "children": [
82
140
  {
83
141
  "type": "stack",
84
142
  "direction": "horizontal",
85
- "gap": "sm",
143
+ "gap": "md",
144
+ "justify": "space-between",
86
145
  "align": "center",
87
146
  "children": [
88
147
  {
89
- "type": "icon",
90
- "name": "list",
91
- "size": "lg"
148
+ "type": "stack",
149
+ "direction": "horizontal",
150
+ "gap": "sm",
151
+ "align": "center",
152
+ "children": [
153
+ {
154
+ "type": "icon",
155
+ "name": "list",
156
+ "size": "lg"
157
+ },
158
+ {
159
+ "type": "typography",
160
+ "content": "ListItems",
161
+ "variant": "h2"
162
+ }
163
+ ]
92
164
  },
93
165
  {
94
- "type": "typography",
95
- "content": "ListItems",
96
- "variant": "h2"
166
+ "type": "stack",
167
+ "direction": "horizontal",
168
+ "gap": "sm",
169
+ "children": [
170
+ {
171
+ "type": "button",
172
+ "label": "Create ListItem",
173
+ "event": "CREATE",
174
+ "variant": "primary",
175
+ "icon": "plus"
176
+ }
177
+ ]
97
178
  }
98
179
  ]
99
180
  },
100
181
  {
101
- "type": "stack",
102
- "direction": "horizontal",
103
- "gap": "sm",
104
- "children": [
182
+ "type": "divider"
183
+ },
184
+ {
185
+ "type": "data-grid",
186
+ "entity": "ListItem",
187
+ "emptyIcon": "inbox",
188
+ "emptyTitle": "No listitems yet",
189
+ "emptyDescription": "Create your first listitem to get started.",
190
+ "itemActions": [
105
191
  {
106
- "type": "button",
107
- "label": "Create ListItem",
108
- "event": "CREATE",
109
- "variant": "primary",
110
- "icon": "plus"
192
+ "label": "View",
193
+ "event": "VIEW",
194
+ "variant": "ghost",
195
+ "size": "sm"
196
+ },
197
+ {
198
+ "label": "Edit",
199
+ "event": "EDIT",
200
+ "variant": "ghost",
201
+ "size": "sm"
202
+ },
203
+ {
204
+ "label": "Delete",
205
+ "event": "DELETE",
206
+ "variant": "danger",
207
+ "size": "sm"
208
+ }
209
+ ],
210
+ "columns": [
211
+ {
212
+ "name": "name",
213
+ "label": "Name",
214
+ "variant": "h4",
215
+ "icon": "list"
216
+ },
217
+ {
218
+ "name": "description",
219
+ "label": "Description",
220
+ "variant": "badge",
221
+ "colorMap": {
222
+ "active": "success",
223
+ "completed": "success",
224
+ "done": "success",
225
+ "pending": "warning",
226
+ "draft": "warning",
227
+ "scheduled": "warning",
228
+ "inactive": "neutral",
229
+ "archived": "neutral",
230
+ "disabled": "neutral",
231
+ "error": "destructive",
232
+ "cancelled": "destructive",
233
+ "failed": "destructive"
234
+ }
235
+ },
236
+ {
237
+ "name": "status",
238
+ "label": "Status",
239
+ "variant": "caption"
111
240
  }
112
241
  ]
113
242
  }
114
243
  ]
115
- },
116
- {
117
- "type": "divider"
118
- },
119
- {
120
- "type": "data-grid",
121
- "entity": "ListItem",
122
- "emptyIcon": "inbox",
123
- "emptyTitle": "No listitems yet",
124
- "emptyDescription": "Create your first listitem to get started.",
125
- "itemActions": [
126
- {
127
- "label": "View",
128
- "event": "VIEW",
129
- "variant": "ghost",
130
- "size": "sm"
131
- },
132
- {
133
- "label": "Edit",
134
- "event": "EDIT",
135
- "variant": "ghost",
136
- "size": "sm"
137
- },
138
- {
139
- "label": "Delete",
140
- "event": "DELETE",
141
- "variant": "danger",
142
- "size": "sm"
143
- }
144
- ],
145
- "columns": [
146
- {
147
- "name": "name",
148
- "label": "Name",
149
- "variant": "h4",
150
- "icon": "list"
151
- },
152
- {
153
- "name": "description",
154
- "label": "Description",
155
- "variant": "badge",
156
- "colorMap": {
157
- "active": "success",
158
- "completed": "success",
159
- "done": "success",
160
- "pending": "warning",
161
- "draft": "warning",
162
- "scheduled": "warning",
163
- "inactive": "neutral",
164
- "archived": "neutral",
165
- "disabled": "neutral",
166
- "error": "destructive",
167
- "cancelled": "destructive",
168
- "failed": "destructive"
169
- }
170
- },
171
- {
172
- "name": "status",
173
- "label": "Status",
174
- "variant": "caption"
175
- }
176
- ]
177
244
  }
178
245
  ]
179
- }
180
- ]
246
+ ]
247
+ }
181
248
  ]
182
249
  }
183
250
  },
184
251
  {
185
- "ref": "Modal.traits.ModalRecordModal",
186
252
  "name": "ListItemCreate",
187
253
  "linkedEntity": "ListItem",
188
- "events": {
189
- "OPEN": "CREATE"
190
- },
191
- "effects": {
192
- "INIT": [
193
- [
194
- "ref",
195
- "ListItem"
196
- ]
254
+ "category": "interaction",
255
+ "emits": [
256
+ {
257
+ "event": "SAVE"
258
+ },
259
+ {
260
+ "event": "LIST_ITEM_CREATED"
261
+ }
262
+ ],
263
+ "stateMachine": {
264
+ "states": [
265
+ {
266
+ "name": "closed",
267
+ "isInitial": true
268
+ },
269
+ {
270
+ "name": "open"
271
+ }
197
272
  ],
198
- "CREATE": [
199
- [
200
- "fetch",
201
- "ListItem"
202
- ],
203
- [
204
- "render-ui",
205
- "modal",
206
- {
207
- "type": "stack",
208
- "direction": "vertical",
209
- "gap": "md",
210
- "children": [
273
+ "events": [
274
+ {
275
+ "key": "INIT",
276
+ "name": "Initialize"
277
+ },
278
+ {
279
+ "key": "CREATE",
280
+ "name": "Open"
281
+ },
282
+ {
283
+ "key": "CLOSE",
284
+ "name": "Close"
285
+ },
286
+ {
287
+ "key": "SAVE",
288
+ "name": "Save",
289
+ "payload": [
290
+ {
291
+ "name": "data",
292
+ "type": "object",
293
+ "required": true
294
+ }
295
+ ]
296
+ }
297
+ ],
298
+ "transitions": [
299
+ {
300
+ "from": "closed",
301
+ "to": "closed",
302
+ "event": "INIT",
303
+ "effects": [
304
+ [
305
+ "ref",
306
+ "ListItem"
307
+ ]
308
+ ]
309
+ },
310
+ {
311
+ "from": "closed",
312
+ "to": "open",
313
+ "event": "CREATE",
314
+ "effects": [
315
+ [
316
+ "fetch",
317
+ "ListItem"
318
+ ],
319
+ [
320
+ "render-ui",
321
+ "modal",
211
322
  {
212
323
  "type": "stack",
213
- "direction": "horizontal",
214
- "gap": "sm",
324
+ "direction": "vertical",
325
+ "gap": "md",
215
326
  "children": [
216
327
  {
217
- "type": "icon",
218
- "name": "plus-circle",
219
- "size": "md"
328
+ "type": "stack",
329
+ "direction": "horizontal",
330
+ "gap": "sm",
331
+ "children": [
332
+ {
333
+ "type": "icon",
334
+ "name": "plus-circle",
335
+ "size": "md"
336
+ },
337
+ {
338
+ "type": "typography",
339
+ "content": "Create ListItem",
340
+ "variant": "h3"
341
+ }
342
+ ]
220
343
  },
221
344
  {
222
- "type": "typography",
223
- "content": "Create ListItem",
224
- "variant": "h3"
345
+ "type": "divider"
346
+ },
347
+ {
348
+ "type": "form-section",
349
+ "entity": "ListItem",
350
+ "mode": "create",
351
+ "submitEvent": "SAVE",
352
+ "cancelEvent": "CLOSE",
353
+ "fields": [
354
+ "name",
355
+ "description",
356
+ "status"
357
+ ]
225
358
  }
226
359
  ]
227
- },
228
- {
229
- "type": "divider"
230
- },
231
- {
232
- "type": "form-section",
233
- "entity": "ListItem",
234
- "mode": "create",
235
- "submitEvent": "SAVE",
236
- "cancelEvent": "CLOSE",
237
- "fields": [
238
- "name",
239
- "description",
240
- "status"
241
- ]
242
360
  }
243
361
  ]
244
- }
245
- ]
246
- ],
247
- "CLOSE": [
248
- [
249
- "render-ui",
250
- "modal",
251
- null
252
- ],
253
- [
254
- "notify",
255
- "Cancelled",
256
- "info"
257
- ]
258
- ],
259
- "SAVE": [
260
- [
261
- "persist",
262
- "create",
263
- "ListItem",
264
- "@payload.data"
265
- ],
266
- [
267
- "render-ui",
268
- "modal",
269
- null
270
- ],
271
- [
272
- "emit",
273
- "LIST_ITEM_CREATED"
274
- ]
362
+ ]
363
+ },
364
+ {
365
+ "from": "open",
366
+ "to": "closed",
367
+ "event": "CLOSE",
368
+ "effects": [
369
+ [
370
+ "render-ui",
371
+ "modal",
372
+ null
373
+ ],
374
+ [
375
+ "notify",
376
+ "Cancelled",
377
+ "info"
378
+ ]
379
+ ]
380
+ },
381
+ {
382
+ "from": "open",
383
+ "to": "closed",
384
+ "event": "SAVE",
385
+ "effects": [
386
+ [
387
+ "persist",
388
+ "create",
389
+ "ListItem",
390
+ "@payload.data"
391
+ ],
392
+ [
393
+ "render-ui",
394
+ "modal",
395
+ null
396
+ ],
397
+ [
398
+ "emit",
399
+ "LIST_ITEM_CREATED"
400
+ ],
401
+ [
402
+ "notify",
403
+ "ListItem created successfully"
404
+ ]
405
+ ]
406
+ }
275
407
  ]
276
408
  }
277
409
  },
278
410
  {
279
- "ref": "Modal.traits.ModalRecordModal",
280
411
  "name": "ListItemEdit",
281
412
  "linkedEntity": "ListItem",
282
- "events": {
283
- "OPEN": "EDIT"
284
- },
285
- "effects": {
286
- "INIT": [
287
- [
288
- "ref",
289
- "ListItem"
290
- ]
413
+ "category": "interaction",
414
+ "emits": [
415
+ {
416
+ "event": "SAVE"
417
+ },
418
+ {
419
+ "event": "LIST_ITEM_UPDATED"
420
+ }
421
+ ],
422
+ "stateMachine": {
423
+ "states": [
424
+ {
425
+ "name": "closed",
426
+ "isInitial": true
427
+ },
428
+ {
429
+ "name": "open"
430
+ }
431
+ ],
432
+ "events": [
433
+ {
434
+ "key": "INIT",
435
+ "name": "Initialize"
436
+ },
437
+ {
438
+ "key": "EDIT",
439
+ "name": "Open",
440
+ "payload": [
441
+ {
442
+ "name": "id",
443
+ "type": "string",
444
+ "required": true
445
+ }
446
+ ]
447
+ },
448
+ {
449
+ "key": "CLOSE",
450
+ "name": "Close"
451
+ },
452
+ {
453
+ "key": "SAVE",
454
+ "name": "Save",
455
+ "payload": [
456
+ {
457
+ "name": "data",
458
+ "type": "object",
459
+ "required": true
460
+ }
461
+ ]
462
+ }
291
463
  ],
292
- "EDIT": [
293
- [
294
- "fetch",
295
- "ListItem",
296
- {
297
- "id": "@payload.id"
298
- }
299
- ],
300
- [
301
- "render-ui",
302
- "modal",
303
- {
304
- "type": "stack",
305
- "direction": "vertical",
306
- "gap": "md",
307
- "children": [
464
+ "transitions": [
465
+ {
466
+ "from": "closed",
467
+ "to": "closed",
468
+ "event": "INIT",
469
+ "effects": [
470
+ [
471
+ "ref",
472
+ "ListItem"
473
+ ]
474
+ ]
475
+ },
476
+ {
477
+ "from": "closed",
478
+ "to": "open",
479
+ "event": "EDIT",
480
+ "effects": [
481
+ [
482
+ "fetch",
483
+ "ListItem",
484
+ {
485
+ "id": "@payload.id"
486
+ }
487
+ ],
488
+ [
489
+ "render-ui",
490
+ "modal",
308
491
  {
309
492
  "type": "stack",
310
- "direction": "horizontal",
311
- "gap": "sm",
493
+ "direction": "vertical",
494
+ "gap": "md",
312
495
  "children": [
313
496
  {
314
- "type": "icon",
315
- "name": "edit",
316
- "size": "md"
497
+ "type": "stack",
498
+ "direction": "horizontal",
499
+ "gap": "sm",
500
+ "children": [
501
+ {
502
+ "type": "icon",
503
+ "name": "edit",
504
+ "size": "md"
505
+ },
506
+ {
507
+ "type": "typography",
508
+ "content": "Edit ListItem",
509
+ "variant": "h3"
510
+ }
511
+ ]
512
+ },
513
+ {
514
+ "type": "divider"
317
515
  },
318
516
  {
319
- "type": "typography",
320
- "content": "Edit ListItem",
321
- "variant": "h3"
517
+ "type": "form-section",
518
+ "entity": "ListItem",
519
+ "mode": "edit",
520
+ "submitEvent": "SAVE",
521
+ "cancelEvent": "CLOSE",
522
+ "fields": [
523
+ "name",
524
+ "description",
525
+ "status"
526
+ ],
527
+ "entityId": "@entity.id"
322
528
  }
323
529
  ]
324
- },
325
- {
326
- "type": "divider"
327
- },
328
- {
329
- "type": "form-section",
330
- "entity": "ListItem",
331
- "mode": "edit",
332
- "submitEvent": "SAVE",
333
- "cancelEvent": "CLOSE",
334
- "fields": [
335
- "name",
336
- "description",
337
- "status"
338
- ],
339
- "entityId": "@entity.id"
340
530
  }
341
531
  ]
342
- }
343
- ]
344
- ],
345
- "CLOSE": [
346
- [
347
- "render-ui",
348
- "modal",
349
- null
350
- ],
351
- [
352
- "notify",
353
- "Cancelled",
354
- "info"
355
- ]
356
- ],
357
- "SAVE": [
358
- [
359
- "persist",
360
- "update",
361
- "ListItem",
362
- "@payload.data"
363
- ],
364
- [
365
- "render-ui",
366
- "modal",
367
- null
368
- ],
369
- [
370
- "emit",
371
- "LIST_ITEM_UPDATED"
372
- ]
532
+ ]
533
+ },
534
+ {
535
+ "from": "open",
536
+ "to": "closed",
537
+ "event": "CLOSE",
538
+ "effects": [
539
+ [
540
+ "render-ui",
541
+ "modal",
542
+ null
543
+ ],
544
+ [
545
+ "notify",
546
+ "Cancelled",
547
+ "info"
548
+ ]
549
+ ]
550
+ },
551
+ {
552
+ "from": "open",
553
+ "to": "closed",
554
+ "event": "SAVE",
555
+ "effects": [
556
+ [
557
+ "persist",
558
+ "update",
559
+ "ListItem",
560
+ "@payload.data"
561
+ ],
562
+ [
563
+ "render-ui",
564
+ "modal",
565
+ null
566
+ ],
567
+ [
568
+ "emit",
569
+ "LIST_ITEM_UPDATED"
570
+ ],
571
+ [
572
+ "notify",
573
+ "ListItem updated successfully"
574
+ ]
575
+ ]
576
+ }
373
577
  ]
374
578
  }
375
579
  },
376
580
  {
377
- "ref": "Modal.traits.ModalRecordModal",
378
581
  "name": "ListItemView",
379
582
  "linkedEntity": "ListItem",
380
- "events": {
381
- "OPEN": "VIEW"
382
- },
383
- "effects": {
384
- "INIT": [
385
- [
386
- "ref",
387
- "ListItem"
388
- ]
583
+ "category": "interaction",
584
+ "emits": [
585
+ {
586
+ "event": "SAVE"
587
+ }
588
+ ],
589
+ "stateMachine": {
590
+ "states": [
591
+ {
592
+ "name": "closed",
593
+ "isInitial": true
594
+ },
595
+ {
596
+ "name": "open"
597
+ }
389
598
  ],
390
- "VIEW": [
391
- [
392
- "fetch",
393
- "ListItem",
394
- {
395
- "id": "@payload.id"
396
- }
397
- ],
398
- [
399
- "render-ui",
400
- "modal",
401
- {
402
- "type": "stack",
403
- "direction": "vertical",
404
- "gap": "md",
405
- "children": [
406
- {
407
- "type": "stack",
408
- "direction": "horizontal",
409
- "gap": "sm",
410
- "align": "center",
411
- "children": [
412
- {
413
- "type": "icon",
414
- "name": "eye",
415
- "size": "md"
416
- },
417
- {
418
- "type": "typography",
419
- "variant": "h3",
420
- "content": "@entity.name"
421
- }
422
- ]
423
- },
599
+ "events": [
600
+ {
601
+ "key": "INIT",
602
+ "name": "Initialize"
603
+ },
604
+ {
605
+ "key": "VIEW",
606
+ "name": "Open",
607
+ "payload": [
608
+ {
609
+ "name": "id",
610
+ "type": "string",
611
+ "required": true
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "key": "CLOSE",
617
+ "name": "Close"
618
+ },
619
+ {
620
+ "key": "SAVE",
621
+ "name": "Save",
622
+ "payload": [
623
+ {
624
+ "name": "data",
625
+ "type": "object",
626
+ "required": true
627
+ }
628
+ ]
629
+ }
630
+ ],
631
+ "transitions": [
632
+ {
633
+ "from": "closed",
634
+ "to": "closed",
635
+ "event": "INIT",
636
+ "effects": [
637
+ [
638
+ "ref",
639
+ "ListItem"
640
+ ]
641
+ ]
642
+ },
643
+ {
644
+ "from": "closed",
645
+ "to": "open",
646
+ "event": "VIEW",
647
+ "effects": [
648
+ [
649
+ "fetch",
650
+ "ListItem",
424
651
  {
425
- "type": "divider"
426
- },
652
+ "id": "@payload.id"
653
+ }
654
+ ],
655
+ [
656
+ "render-ui",
657
+ "modal",
427
658
  {
428
659
  "type": "stack",
429
- "direction": "horizontal",
660
+ "direction": "vertical",
430
661
  "gap": "md",
431
662
  "children": [
432
663
  {
433
- "type": "typography",
434
- "variant": "caption",
435
- "content": "Name"
664
+ "type": "stack",
665
+ "direction": "horizontal",
666
+ "gap": "sm",
667
+ "align": "center",
668
+ "children": [
669
+ {
670
+ "type": "icon",
671
+ "name": "eye",
672
+ "size": "md"
673
+ },
674
+ {
675
+ "type": "typography",
676
+ "variant": "h3",
677
+ "content": "@entity.name"
678
+ }
679
+ ]
436
680
  },
437
681
  {
438
- "type": "typography",
439
- "variant": "body",
440
- "content": "@entity.name"
441
- }
442
- ]
443
- },
444
- {
445
- "type": "stack",
446
- "direction": "horizontal",
447
- "gap": "md",
448
- "children": [
449
- {
450
- "type": "typography",
451
- "variant": "caption",
452
- "content": "Description"
682
+ "type": "divider"
453
683
  },
454
684
  {
455
- "type": "typography",
456
- "variant": "body",
457
- "content": "@entity.description"
458
- }
459
- ]
460
- },
461
- {
462
- "type": "stack",
463
- "direction": "horizontal",
464
- "gap": "md",
465
- "children": [
466
- {
467
- "type": "typography",
468
- "variant": "caption",
469
- "content": "Status"
685
+ "type": "stack",
686
+ "direction": "horizontal",
687
+ "gap": "md",
688
+ "children": [
689
+ {
690
+ "type": "typography",
691
+ "variant": "caption",
692
+ "content": "Name"
693
+ },
694
+ {
695
+ "type": "typography",
696
+ "variant": "body",
697
+ "content": "@entity.name"
698
+ }
699
+ ]
470
700
  },
471
701
  {
472
- "type": "typography",
473
- "variant": "body",
474
- "content": "@entity.status"
475
- }
476
- ]
477
- },
478
- {
479
- "type": "stack",
480
- "direction": "horizontal",
481
- "gap": "md",
482
- "children": [
702
+ "type": "stack",
703
+ "direction": "horizontal",
704
+ "gap": "md",
705
+ "children": [
706
+ {
707
+ "type": "typography",
708
+ "variant": "caption",
709
+ "content": "Description"
710
+ },
711
+ {
712
+ "type": "typography",
713
+ "variant": "body",
714
+ "content": "@entity.description"
715
+ }
716
+ ]
717
+ },
483
718
  {
484
- "type": "typography",
485
- "variant": "caption",
486
- "content": "Created At"
719
+ "type": "stack",
720
+ "direction": "horizontal",
721
+ "gap": "md",
722
+ "children": [
723
+ {
724
+ "type": "typography",
725
+ "variant": "caption",
726
+ "content": "Status"
727
+ },
728
+ {
729
+ "type": "typography",
730
+ "variant": "body",
731
+ "content": "@entity.status"
732
+ }
733
+ ]
487
734
  },
488
735
  {
489
- "type": "typography",
490
- "variant": "body",
491
- "content": "@entity.createdAt"
492
- }
493
- ]
494
- },
495
- {
496
- "type": "divider"
497
- },
498
- {
499
- "type": "stack",
500
- "direction": "horizontal",
501
- "gap": "sm",
502
- "justify": "end",
503
- "children": [
736
+ "type": "stack",
737
+ "direction": "horizontal",
738
+ "gap": "md",
739
+ "children": [
740
+ {
741
+ "type": "typography",
742
+ "variant": "caption",
743
+ "content": "Created At"
744
+ },
745
+ {
746
+ "type": "typography",
747
+ "variant": "body",
748
+ "content": "@entity.createdAt"
749
+ }
750
+ ]
751
+ },
504
752
  {
505
- "type": "button",
506
- "label": "Edit",
507
- "event": "EDIT",
508
- "variant": "primary",
509
- "icon": "edit"
753
+ "type": "divider"
510
754
  },
511
755
  {
512
- "type": "button",
513
- "label": "Close",
514
- "event": "CLOSE",
515
- "variant": "ghost"
756
+ "type": "stack",
757
+ "direction": "horizontal",
758
+ "gap": "sm",
759
+ "justify": "end",
760
+ "children": [
761
+ {
762
+ "type": "button",
763
+ "label": "Edit",
764
+ "event": "EDIT",
765
+ "variant": "primary",
766
+ "icon": "edit"
767
+ },
768
+ {
769
+ "type": "button",
770
+ "label": "Close",
771
+ "event": "CLOSE",
772
+ "variant": "ghost"
773
+ }
774
+ ]
516
775
  }
517
776
  ]
518
777
  }
519
778
  ]
520
- }
521
- ]
522
- ],
523
- "CLOSE": [
524
- [
525
- "render-ui",
526
- "modal",
527
- null
528
- ],
529
- [
530
- "notify",
531
- "Cancelled",
532
- "info"
533
- ]
534
- ],
535
- "SAVE": [
536
- [
537
- "render-ui",
538
- "modal",
539
- null
540
- ]
779
+ ]
780
+ },
781
+ {
782
+ "from": "open",
783
+ "to": "closed",
784
+ "event": "CLOSE",
785
+ "effects": [
786
+ [
787
+ "render-ui",
788
+ "modal",
789
+ null
790
+ ],
791
+ [
792
+ "notify",
793
+ "Cancelled",
794
+ "info"
795
+ ]
796
+ ]
797
+ },
798
+ {
799
+ "from": "open",
800
+ "to": "closed",
801
+ "event": "SAVE",
802
+ "effects": [
803
+ [
804
+ "render-ui",
805
+ "modal",
806
+ null
807
+ ]
808
+ ]
809
+ }
541
810
  ]
542
811
  }
543
812
  },
544
813
  {
545
- "ref": "Confirmation.traits.ConfirmActionConfirmation",
546
814
  "name": "ListItemDelete",
547
815
  "linkedEntity": "ListItem",
548
- "events": {
549
- "REQUEST": "DELETE",
550
- "CONFIRM": "CONFIRM_DELETE"
551
- },
552
- "effects": {
553
- "INIT": [
554
- [
555
- "ref",
556
- "ListItem"
557
- ]
816
+ "category": "interaction",
817
+ "emits": [
818
+ {
819
+ "event": "CONFIRM_DELETE"
820
+ },
821
+ {
822
+ "event": "LIST_ITEM_DELETED"
823
+ }
824
+ ],
825
+ "stateMachine": {
826
+ "states": [
827
+ {
828
+ "name": "idle",
829
+ "isInitial": true
830
+ },
831
+ {
832
+ "name": "confirming"
833
+ }
834
+ ],
835
+ "events": [
836
+ {
837
+ "key": "INIT",
838
+ "name": "Initialize"
839
+ },
840
+ {
841
+ "key": "DELETE",
842
+ "name": "Request Confirmation",
843
+ "payload": [
844
+ {
845
+ "name": "id",
846
+ "type": "string",
847
+ "required": true
848
+ }
849
+ ]
850
+ },
851
+ {
852
+ "key": "CONFIRM_DELETE",
853
+ "name": "Confirm"
854
+ },
855
+ {
856
+ "key": "CANCEL",
857
+ "name": "Cancel"
858
+ },
859
+ {
860
+ "key": "CLOSE",
861
+ "name": "Close"
862
+ }
558
863
  ],
559
- "DELETE": [
560
- [
561
- "set",
562
- "@entity.pendingId",
563
- "@payload.id"
564
- ],
565
- [
566
- "fetch",
567
- "ListItem",
568
- {
569
- "id": "@payload.id"
570
- }
571
- ],
572
- [
573
- "render-ui",
574
- "modal",
575
- {
576
- "type": "stack",
577
- "direction": "vertical",
578
- "gap": "md",
579
- "children": [
864
+ "transitions": [
865
+ {
866
+ "from": "idle",
867
+ "to": "idle",
868
+ "event": "INIT",
869
+ "effects": [
870
+ [
871
+ "ref",
872
+ "ListItem"
873
+ ]
874
+ ]
875
+ },
876
+ {
877
+ "from": "idle",
878
+ "to": "confirming",
879
+ "event": "DELETE",
880
+ "effects": [
881
+ [
882
+ "set",
883
+ "@entity.pendingId",
884
+ "@payload.id"
885
+ ],
886
+ [
887
+ "fetch",
888
+ "ListItem",
889
+ {
890
+ "id": "@payload.id"
891
+ }
892
+ ],
893
+ [
894
+ "render-ui",
895
+ "modal",
580
896
  {
581
897
  "type": "stack",
582
- "direction": "horizontal",
583
- "gap": "sm",
584
- "align": "center",
898
+ "direction": "vertical",
899
+ "gap": "md",
585
900
  "children": [
586
901
  {
587
- "type": "icon",
588
- "name": "alert-triangle",
589
- "size": "md"
902
+ "type": "stack",
903
+ "direction": "horizontal",
904
+ "gap": "sm",
905
+ "align": "center",
906
+ "children": [
907
+ {
908
+ "type": "icon",
909
+ "name": "alert-triangle",
910
+ "size": "md"
911
+ },
912
+ {
913
+ "type": "typography",
914
+ "content": "Delete ListItem",
915
+ "variant": "h3"
916
+ }
917
+ ]
590
918
  },
591
919
  {
592
- "type": "typography",
593
- "content": "Delete ListItem",
594
- "variant": "h3"
595
- }
596
- ]
597
- },
598
- {
599
- "type": "divider"
600
- },
601
- {
602
- "type": "alert",
603
- "variant": "danger",
604
- "message": "This action cannot be undone."
605
- },
606
- {
607
- "type": "stack",
608
- "direction": "horizontal",
609
- "gap": "sm",
610
- "justify": "end",
611
- "children": [
612
- {
613
- "type": "button",
614
- "label": "Cancel",
615
- "event": "CANCEL",
616
- "variant": "ghost"
920
+ "type": "divider"
617
921
  },
618
922
  {
619
- "type": "button",
620
- "label": "Delete",
621
- "event": "CONFIRM_DELETE",
923
+ "type": "alert",
622
924
  "variant": "danger",
623
- "icon": "check"
925
+ "message": "This action cannot be undone."
926
+ },
927
+ {
928
+ "type": "stack",
929
+ "direction": "horizontal",
930
+ "gap": "sm",
931
+ "justify": "end",
932
+ "children": [
933
+ {
934
+ "type": "button",
935
+ "label": "Cancel",
936
+ "event": "CANCEL",
937
+ "variant": "ghost"
938
+ },
939
+ {
940
+ "type": "button",
941
+ "label": "Delete",
942
+ "event": "CONFIRM_DELETE",
943
+ "variant": "danger",
944
+ "icon": "check"
945
+ }
946
+ ]
624
947
  }
625
948
  ]
626
949
  }
627
950
  ]
628
- }
629
- ]
630
- ],
631
- "CONFIRM_DELETE": [
632
- [
633
- "persist",
634
- "delete",
635
- "ListItem",
636
- "@entity.pendingId"
637
- ],
638
- [
639
- "render-ui",
640
- "modal",
641
- null
642
- ],
643
- [
644
- "ref",
645
- "ListItem"
646
- ],
647
- [
648
- "emit",
649
- "LIST_ITEM_DELETED"
650
- ]
651
- ],
652
- "CANCEL": [
653
- [
654
- "render-ui",
655
- "modal",
656
- null
657
- ],
658
- [
659
- "ref",
660
- "ListItem"
661
- ]
662
- ],
663
- "CLOSE": [
664
- [
665
- "render-ui",
666
- "modal",
667
- null
668
- ],
669
- [
670
- "ref",
671
- "ListItem"
672
- ]
951
+ ]
952
+ },
953
+ {
954
+ "from": "confirming",
955
+ "to": "idle",
956
+ "event": "CONFIRM_DELETE",
957
+ "effects": [
958
+ [
959
+ "persist",
960
+ "delete",
961
+ "ListItem",
962
+ "@entity.pendingId"
963
+ ],
964
+ [
965
+ "render-ui",
966
+ "modal",
967
+ null
968
+ ],
969
+ [
970
+ "ref",
971
+ "ListItem"
972
+ ],
973
+ [
974
+ "emit",
975
+ "LIST_ITEM_DELETED"
976
+ ],
977
+ [
978
+ "notify",
979
+ "ListItem deleted successfully"
980
+ ]
981
+ ]
982
+ },
983
+ {
984
+ "from": "confirming",
985
+ "to": "idle",
986
+ "event": "CANCEL",
987
+ "effects": [
988
+ [
989
+ "render-ui",
990
+ "modal",
991
+ null
992
+ ],
993
+ [
994
+ "ref",
995
+ "ListItem"
996
+ ]
997
+ ]
998
+ },
999
+ {
1000
+ "from": "confirming",
1001
+ "to": "idle",
1002
+ "event": "CLOSE",
1003
+ "effects": [
1004
+ [
1005
+ "render-ui",
1006
+ "modal",
1007
+ null
1008
+ ],
1009
+ [
1010
+ "ref",
1011
+ "ListItem"
1012
+ ]
1013
+ ]
1014
+ }
673
1015
  ]
674
1016
  }
675
1017
  }
@@ -698,5 +1040,6 @@
698
1040
  }
699
1041
  ]
700
1042
  }
701
- ]
702
- }
1043
+ ],
1044
+ "description": "CRUD list molecule. Composes atoms via shared event bus: - stdBrowse: data-grid with item actions (fires CREATE, VIEW, EDIT, DELETE) - stdModal (x3): create form, edit form, detail view (responds to matching events) - stdConfirmation: delete confirmation (responds to DELETE → CONFIRM_DELETE) Phase F.10: previously the delete confirmation was inlined into the browse trait via post-processing (added a `deleting` state, three new transitions, and patched the events array). That made std-list un-liftable AND prevented any organism from composing it as a clean molecule. The refactored version has 5 separate traits, all from extractTrait, no post-processing — so the converter lifts every trait into a reference and the molecule itself becomes a first-class composable unit that organisms can extend with the same override surface molecules use over atoms. (2026-04-08). The canonical source for std behaviors is now the registry `.orb` file at `packages/almadar-std/behaviors/registry/<level>/<name>.orb`, which is generated from this TS source by `tools/almadar-behavior-ts-to-orb/` and consumed by the compiler's embedded loader. Consumers should import behaviors via `.lolo`/`.orb` `uses` declarations and reference them as `Alias.entity` / `Alias.traits.X` / `Alias.pages.X`, applying overrides at the call site (`linkedEntity`, `name`, `events`, `effects`, `listens`, `emitsScope`). The TS `*Params` interface and the exported factory functions remain ONLY as the authoring path for the converter; they are NOT a stable public API and may change without notice. See `docs/Almadar_Orb_Behaviors.md` for the orbital-as-function model and `docs/LOLO_Gaps.md` for the migration plan."
1045
+ }