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