@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,28 +1,9 @@
1
1
  {
2
- "name": "std-agent-learner",
2
+ "name": "AgentLearnerOrbital",
3
3
  "version": "1.0.0",
4
- "description": "std-agent-learner -- Outcome learning",
5
4
  "orbitals": [
6
5
  {
7
6
  "name": "AgentLearnerOrbital",
8
- "uses": [
9
- {
10
- "from": "std/behaviors/std-agent-completion",
11
- "as": "AgentCompletion"
12
- },
13
- {
14
- "from": "std/behaviors/std-agent-memory",
15
- "as": "AgentMemory"
16
- },
17
- {
18
- "from": "std/behaviors/std-agent-provider",
19
- "as": "AgentProvider"
20
- },
21
- {
22
- "from": "std/behaviors/std-browse",
23
- "as": "Browse"
24
- }
25
- ],
26
7
  "entity": {
27
8
  "name": "AgentLearner",
28
9
  "persistence": "runtime",
@@ -1262,799 +1243,1046 @@
1262
1243
  }
1263
1244
  },
1264
1245
  {
1265
- "ref": "Browse.traits.BrowseItemBrowse",
1266
1246
  "name": "LearnerRecordsBrowse",
1267
1247
  "linkedEntity": "AgentLearner",
1268
- "effects": {
1269
- "INIT": [
1270
- [
1271
- "ref",
1272
- "AgentLearner"
1273
- ],
1274
- [
1275
- "render-ui",
1276
- "main",
1277
- {
1278
- "type": "stack",
1279
- "direction": "vertical",
1280
- "gap": "lg",
1281
- "className": "max-w-5xl mx-auto w-full",
1282
- "children": [
1248
+ "category": "interaction",
1249
+ "stateMachine": {
1250
+ "states": [
1251
+ {
1252
+ "name": "browsing",
1253
+ "isInitial": true
1254
+ }
1255
+ ],
1256
+ "events": [
1257
+ {
1258
+ "key": "INIT",
1259
+ "name": "Initialize"
1260
+ },
1261
+ {
1262
+ "key": "VIEW",
1263
+ "name": "VIEW",
1264
+ "payload": [
1265
+ {
1266
+ "name": "id",
1267
+ "type": "string",
1268
+ "required": true
1269
+ },
1270
+ {
1271
+ "name": "row",
1272
+ "type": "object"
1273
+ }
1274
+ ]
1275
+ }
1276
+ ],
1277
+ "transitions": [
1278
+ {
1279
+ "from": "browsing",
1280
+ "to": "browsing",
1281
+ "event": "INIT",
1282
+ "effects": [
1283
+ [
1284
+ "ref",
1285
+ "AgentLearner"
1286
+ ],
1287
+ [
1288
+ "render-ui",
1289
+ "main",
1283
1290
  {
1284
1291
  "type": "stack",
1285
- "direction": "horizontal",
1286
- "gap": "md",
1287
- "justify": "space-between",
1288
- "align": "center",
1292
+ "direction": "vertical",
1293
+ "gap": "lg",
1294
+ "className": "max-w-5xl mx-auto w-full",
1289
1295
  "children": [
1290
1296
  {
1291
1297
  "type": "stack",
1292
1298
  "direction": "horizontal",
1293
- "gap": "sm",
1299
+ "gap": "md",
1300
+ "justify": "space-between",
1294
1301
  "align": "center",
1295
1302
  "children": [
1296
1303
  {
1297
- "type": "icon",
1298
- "name": "graduation-cap",
1299
- "size": "lg"
1300
- },
1301
- {
1302
- "type": "typography",
1303
- "content": "Learning Records",
1304
- "variant": "h2"
1304
+ "type": "stack",
1305
+ "direction": "horizontal",
1306
+ "gap": "sm",
1307
+ "align": "center",
1308
+ "children": [
1309
+ {
1310
+ "type": "icon",
1311
+ "name": "graduation-cap",
1312
+ "size": "lg"
1313
+ },
1314
+ {
1315
+ "type": "typography",
1316
+ "content": "Learning Records",
1317
+ "variant": "h2"
1318
+ }
1319
+ ]
1305
1320
  }
1306
1321
  ]
1307
- }
1308
- ]
1309
- },
1310
- {
1311
- "type": "divider"
1312
- },
1313
- {
1314
- "type": "data-grid",
1315
- "entity": "AgentLearner",
1316
- "emptyIcon": "inbox",
1317
- "emptyTitle": "No records yet",
1318
- "emptyDescription": "Task outcomes will appear here as they are recorded.",
1319
- "itemActions": [
1320
- {
1321
- "label": "View",
1322
- "event": "VIEW",
1323
- "variant": "ghost",
1324
- "size": "sm"
1325
- }
1326
- ],
1327
- "columns": [
1322
+ },
1328
1323
  {
1329
- "name": "outcome",
1330
- "label": "Outcome",
1331
- "variant": "h4",
1332
- "icon": "graduation-cap"
1324
+ "type": "divider"
1333
1325
  },
1334
1326
  {
1335
- "name": "category",
1336
- "label": "Category",
1337
- "variant": "badge",
1338
- "colorMap": {
1339
- "active": "success",
1340
- "completed": "success",
1341
- "done": "success",
1342
- "pending": "warning",
1343
- "draft": "warning",
1344
- "scheduled": "warning",
1345
- "inactive": "neutral",
1346
- "archived": "neutral",
1347
- "disabled": "neutral",
1348
- "error": "destructive",
1349
- "cancelled": "destructive",
1350
- "failed": "destructive"
1351
- }
1327
+ "type": "data-grid",
1328
+ "entity": "AgentLearner",
1329
+ "emptyIcon": "inbox",
1330
+ "emptyTitle": "No records yet",
1331
+ "emptyDescription": "Task outcomes will appear here as they are recorded.",
1332
+ "itemActions": [
1333
+ {
1334
+ "label": "View",
1335
+ "event": "VIEW",
1336
+ "variant": "ghost",
1337
+ "size": "sm"
1338
+ }
1339
+ ],
1340
+ "columns": [
1341
+ {
1342
+ "name": "outcome",
1343
+ "label": "Outcome",
1344
+ "variant": "h4",
1345
+ "icon": "graduation-cap"
1346
+ },
1347
+ {
1348
+ "name": "category",
1349
+ "label": "Category",
1350
+ "variant": "badge",
1351
+ "colorMap": {
1352
+ "active": "success",
1353
+ "completed": "success",
1354
+ "done": "success",
1355
+ "pending": "warning",
1356
+ "draft": "warning",
1357
+ "scheduled": "warning",
1358
+ "inactive": "neutral",
1359
+ "archived": "neutral",
1360
+ "disabled": "neutral",
1361
+ "error": "destructive",
1362
+ "cancelled": "destructive",
1363
+ "failed": "destructive"
1364
+ }
1365
+ },
1366
+ {
1367
+ "name": "status",
1368
+ "label": "Status",
1369
+ "variant": "caption"
1370
+ }
1371
+ ]
1352
1372
  },
1353
1373
  {
1354
- "name": "status",
1355
- "label": "Status",
1356
- "variant": "caption"
1374
+ "type": "floating-action-button",
1375
+ "icon": "plus",
1376
+ "event": "INIT",
1377
+ "label": "Create",
1378
+ "tooltip": "Create"
1357
1379
  }
1358
1380
  ]
1359
- },
1360
- {
1361
- "type": "floating-action-button",
1362
- "icon": "plus",
1363
- "event": "INIT",
1364
- "label": "Create",
1365
- "tooltip": "Create"
1366
1381
  }
1367
1382
  ]
1368
- }
1369
- ]
1383
+ ]
1384
+ }
1370
1385
  ]
1371
1386
  }
1372
1387
  },
1373
1388
  {
1374
- "ref": "AgentMemory.traits.AgentMemoryBrowse",
1375
1389
  "name": "LearnerMemoryLifecycle",
1376
1390
  "linkedEntity": "AgentLearner",
1391
+ "category": "interaction",
1377
1392
  "listens": [],
1378
- "emitsScope": "internal",
1379
- "effects": {
1380
- "INIT": [
1381
- [
1382
- "ref",
1383
- "AgentLearner"
1384
- ],
1385
- [
1386
- "render-ui",
1387
- "main",
1388
- {
1389
- "type": "stack",
1390
- "direction": "vertical",
1391
- "gap": "lg",
1392
- "className": "max-w-5xl mx-auto w-full",
1393
- "children": [
1393
+ "stateMachine": {
1394
+ "states": [
1395
+ {
1396
+ "name": "browsing",
1397
+ "isInitial": true
1398
+ }
1399
+ ],
1400
+ "events": [
1401
+ {
1402
+ "key": "INIT",
1403
+ "name": "Initialize"
1404
+ },
1405
+ {
1406
+ "key": "MEMORIZE",
1407
+ "name": "MEMORIZE"
1408
+ },
1409
+ {
1410
+ "key": "RECALL",
1411
+ "name": "RECALL"
1412
+ },
1413
+ {
1414
+ "key": "DECAY",
1415
+ "name": "DECAY"
1416
+ },
1417
+ {
1418
+ "key": "PIN",
1419
+ "name": "PIN",
1420
+ "payload": [
1421
+ {
1422
+ "name": "id",
1423
+ "type": "string",
1424
+ "required": true
1425
+ },
1426
+ {
1427
+ "name": "row",
1428
+ "type": "object"
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ "key": "REINFORCE",
1434
+ "name": "REINFORCE",
1435
+ "payload": [
1436
+ {
1437
+ "name": "id",
1438
+ "type": "string",
1439
+ "required": true
1440
+ },
1441
+ {
1442
+ "name": "row",
1443
+ "type": "object"
1444
+ }
1445
+ ]
1446
+ },
1447
+ {
1448
+ "key": "FORGET",
1449
+ "name": "FORGET",
1450
+ "payload": [
1451
+ {
1452
+ "name": "id",
1453
+ "type": "string",
1454
+ "required": true
1455
+ },
1456
+ {
1457
+ "name": "row",
1458
+ "type": "object"
1459
+ }
1460
+ ]
1461
+ }
1462
+ ],
1463
+ "transitions": [
1464
+ {
1465
+ "from": "browsing",
1466
+ "to": "browsing",
1467
+ "event": "INIT",
1468
+ "effects": [
1469
+ [
1470
+ "ref",
1471
+ "AgentLearner"
1472
+ ],
1473
+ [
1474
+ "render-ui",
1475
+ "main",
1394
1476
  {
1395
1477
  "type": "stack",
1396
- "direction": "horizontal",
1397
- "gap": "md",
1398
- "justify": "space-between",
1399
- "align": "center",
1478
+ "direction": "vertical",
1479
+ "gap": "lg",
1480
+ "className": "max-w-5xl mx-auto w-full",
1400
1481
  "children": [
1401
1482
  {
1402
1483
  "type": "stack",
1403
1484
  "direction": "horizontal",
1404
- "gap": "sm",
1485
+ "gap": "md",
1486
+ "justify": "space-between",
1405
1487
  "align": "center",
1406
1488
  "children": [
1407
1489
  {
1408
- "type": "icon",
1409
- "name": "brain",
1410
- "size": "lg"
1490
+ "type": "stack",
1491
+ "direction": "horizontal",
1492
+ "gap": "sm",
1493
+ "align": "center",
1494
+ "children": [
1495
+ {
1496
+ "type": "icon",
1497
+ "name": "brain",
1498
+ "size": "lg"
1499
+ },
1500
+ {
1501
+ "type": "typography",
1502
+ "content": "AgentLearner Manager",
1503
+ "variant": "h2"
1504
+ }
1505
+ ]
1411
1506
  },
1412
1507
  {
1413
- "type": "typography",
1414
- "content": "AgentLearner Manager",
1415
- "variant": "h2"
1508
+ "type": "stack",
1509
+ "direction": "horizontal",
1510
+ "gap": "sm",
1511
+ "children": [
1512
+ {
1513
+ "type": "button",
1514
+ "label": "Memorize",
1515
+ "event": "MEMORIZE",
1516
+ "variant": "primary",
1517
+ "icon": "plus"
1518
+ },
1519
+ {
1520
+ "type": "button",
1521
+ "label": "Recall",
1522
+ "event": "RECALL",
1523
+ "variant": "secondary",
1524
+ "icon": "search"
1525
+ },
1526
+ {
1527
+ "type": "button",
1528
+ "label": "Decay All",
1529
+ "event": "DECAY",
1530
+ "variant": "ghost",
1531
+ "icon": "clock"
1532
+ }
1533
+ ]
1416
1534
  }
1417
1535
  ]
1418
1536
  },
1419
1537
  {
1420
- "type": "stack",
1421
- "direction": "horizontal",
1422
- "gap": "sm",
1423
- "children": [
1538
+ "type": "divider"
1539
+ },
1540
+ {
1541
+ "type": "data-grid",
1542
+ "entity": "AgentLearner",
1543
+ "emptyIcon": "inbox",
1544
+ "emptyTitle": "No memories yet",
1545
+ "emptyDescription": "Create your first memory to get started.",
1546
+ "itemActions": [
1424
1547
  {
1425
- "type": "button",
1426
- "label": "Memorize",
1427
- "event": "MEMORIZE",
1428
- "variant": "primary",
1429
- "icon": "plus"
1548
+ "label": "Pin",
1549
+ "event": "PIN",
1550
+ "variant": "ghost",
1551
+ "size": "sm"
1430
1552
  },
1431
1553
  {
1432
- "type": "button",
1433
- "label": "Recall",
1434
- "event": "RECALL",
1435
- "variant": "secondary",
1436
- "icon": "search"
1554
+ "label": "Reinforce",
1555
+ "event": "REINFORCE",
1556
+ "variant": "ghost",
1557
+ "size": "sm"
1437
1558
  },
1438
1559
  {
1439
- "type": "button",
1440
- "label": "Decay All",
1441
- "event": "DECAY",
1442
- "variant": "ghost",
1443
- "icon": "clock"
1560
+ "label": "Forget",
1561
+ "event": "FORGET",
1562
+ "variant": "danger",
1563
+ "size": "sm"
1564
+ }
1565
+ ],
1566
+ "columns": [
1567
+ {
1568
+ "name": "content",
1569
+ "label": "Content",
1570
+ "variant": "h4",
1571
+ "icon": "brain"
1572
+ },
1573
+ {
1574
+ "name": "category",
1575
+ "label": "Category",
1576
+ "variant": "badge",
1577
+ "colorMap": {
1578
+ "active": "success",
1579
+ "completed": "success",
1580
+ "done": "success",
1581
+ "pending": "warning",
1582
+ "draft": "warning",
1583
+ "scheduled": "warning",
1584
+ "inactive": "neutral",
1585
+ "archived": "neutral",
1586
+ "disabled": "neutral",
1587
+ "error": "destructive",
1588
+ "cancelled": "destructive",
1589
+ "failed": "destructive"
1590
+ }
1591
+ },
1592
+ {
1593
+ "name": "strength",
1594
+ "label": "Strength",
1595
+ "variant": "caption"
1444
1596
  }
1445
1597
  ]
1446
1598
  }
1447
1599
  ]
1448
- },
1449
- {
1450
- "type": "divider"
1451
- },
1452
- {
1453
- "type": "data-grid",
1454
- "entity": "AgentLearner",
1455
- "emptyIcon": "inbox",
1456
- "emptyTitle": "No memories yet",
1457
- "emptyDescription": "Create your first memory to get started.",
1458
- "itemActions": [
1459
- {
1460
- "label": "Pin",
1461
- "event": "PIN",
1462
- "variant": "ghost",
1463
- "size": "sm"
1464
- },
1465
- {
1466
- "label": "Reinforce",
1467
- "event": "REINFORCE",
1468
- "variant": "ghost",
1469
- "size": "sm"
1470
- },
1471
- {
1472
- "label": "Forget",
1473
- "event": "FORGET",
1474
- "variant": "danger",
1475
- "size": "sm"
1476
- }
1477
- ],
1478
- "columns": [
1479
- {
1480
- "name": "content",
1481
- "label": "Content",
1482
- "variant": "h4",
1483
- "icon": "brain"
1484
- },
1485
- {
1486
- "name": "category",
1487
- "label": "Category",
1488
- "variant": "badge",
1489
- "colorMap": {
1490
- "active": "success",
1491
- "completed": "success",
1492
- "done": "success",
1493
- "pending": "warning",
1494
- "draft": "warning",
1495
- "scheduled": "warning",
1496
- "inactive": "neutral",
1497
- "archived": "neutral",
1498
- "disabled": "neutral",
1499
- "error": "destructive",
1500
- "cancelled": "destructive",
1501
- "failed": "destructive"
1502
- }
1503
- },
1504
- {
1505
- "name": "strength",
1506
- "label": "Strength",
1507
- "variant": "caption"
1508
- }
1509
- ]
1510
1600
  }
1511
1601
  ]
1512
- }
1513
- ]
1602
+ ]
1603
+ }
1514
1604
  ]
1515
1605
  }
1516
1606
  },
1517
1607
  {
1518
- "ref": "AgentCompletion.traits.AgentCompletionModal",
1519
1608
  "name": "LearnerCompletionFlow",
1520
1609
  "linkedEntity": "AgentLearner",
1521
- "listens": [],
1522
- "emitsScope": "internal",
1523
- "effects": {
1524
- "INIT": [
1525
- [
1526
- "ref",
1527
- "AgentLearner"
1528
- ],
1529
- [
1530
- "render-ui",
1531
- "main",
1532
- {
1533
- "type": "stack",
1534
- "direction": "vertical",
1535
- "gap": "lg",
1536
- "children": [
1537
- {
1538
- "type": "stack",
1539
- "direction": "horizontal",
1540
- "gap": "md",
1541
- "justify": "space-between",
1542
- "children": [
1543
- {
1544
- "type": "stack",
1545
- "direction": "horizontal",
1546
- "gap": "md",
1547
- "children": [
1548
- {
1549
- "type": "icon",
1550
- "name": "sparkles",
1551
- "size": "lg"
1552
- },
1553
- {
1554
- "type": "typography",
1555
- "content": "AgentLearner",
1556
- "variant": "h2"
1557
- }
1558
- ]
1559
- },
1560
- {
1561
- "type": "button",
1562
- "label": "Open",
1563
- "event": "GENERATE",
1564
- "variant": "primary",
1565
- "icon": "sparkles"
1566
- }
1567
- ]
1568
- },
1569
- {
1570
- "type": "divider"
1571
- },
1572
- {
1573
- "type": "empty-state",
1574
- "icon": "sparkles",
1575
- "title": "Nothing open",
1576
- "description": "Click Open to view details in a modal overlay."
1577
- }
1578
- ]
1579
- }
1580
- ]
1581
- ],
1582
- "GENERATE": [
1583
- [
1584
- "render-ui",
1585
- "modal",
1586
- {
1587
- "type": "stack",
1588
- "direction": "vertical",
1589
- "gap": "md",
1590
- "children": [
1591
- {
1592
- "type": "stack",
1593
- "direction": "horizontal",
1594
- "gap": "sm",
1595
- "children": [
1596
- {
1597
- "type": "icon",
1598
- "name": "sparkles",
1599
- "size": "md"
1600
- },
1601
- {
1602
- "type": "typography",
1603
- "content": "AgentLearner",
1604
- "variant": "h3"
1605
- }
1606
- ]
1607
- },
1608
- {
1609
- "type": "divider"
1610
- },
1610
+ "category": "interaction",
1611
+ "emits": [
1612
+ {
1613
+ "event": "SAVE",
1614
+ "scope": "internal"
1615
+ },
1616
+ {
1617
+ "event": "GENERATED",
1618
+ "scope": "internal"
1619
+ }
1620
+ ],
1621
+ "stateMachine": {
1622
+ "states": [
1623
+ {
1624
+ "name": "closed",
1625
+ "isInitial": true
1626
+ },
1627
+ {
1628
+ "name": "open"
1629
+ }
1630
+ ],
1631
+ "events": [
1632
+ {
1633
+ "key": "INIT",
1634
+ "name": "Initialize"
1635
+ },
1636
+ {
1637
+ "key": "GENERATE",
1638
+ "name": "Open"
1639
+ },
1640
+ {
1641
+ "key": "CLOSE",
1642
+ "name": "Close"
1643
+ },
1644
+ {
1645
+ "key": "SAVE",
1646
+ "name": "Save",
1647
+ "payload": [
1648
+ {
1649
+ "name": "data",
1650
+ "type": "object",
1651
+ "required": true
1652
+ }
1653
+ ]
1654
+ }
1655
+ ],
1656
+ "transitions": [
1657
+ {
1658
+ "from": "closed",
1659
+ "to": "closed",
1660
+ "event": "INIT",
1661
+ "effects": [
1662
+ [
1663
+ "ref",
1664
+ "AgentLearner"
1665
+ ],
1666
+ [
1667
+ "render-ui",
1668
+ "main",
1611
1669
  {
1612
1670
  "type": "stack",
1613
- "direction": "horizontal",
1614
- "gap": "sm",
1671
+ "direction": "vertical",
1672
+ "gap": "lg",
1615
1673
  "children": [
1616
1674
  {
1617
- "type": "badge",
1618
- "label": "@entity.provider"
1675
+ "type": "stack",
1676
+ "direction": "horizontal",
1677
+ "gap": "md",
1678
+ "justify": "space-between",
1679
+ "children": [
1680
+ {
1681
+ "type": "stack",
1682
+ "direction": "horizontal",
1683
+ "gap": "md",
1684
+ "children": [
1685
+ {
1686
+ "type": "icon",
1687
+ "name": "sparkles",
1688
+ "size": "lg"
1689
+ },
1690
+ {
1691
+ "type": "typography",
1692
+ "content": "AgentLearner",
1693
+ "variant": "h2"
1694
+ }
1695
+ ]
1696
+ },
1697
+ {
1698
+ "type": "button",
1699
+ "label": "Open",
1700
+ "event": "GENERATE",
1701
+ "variant": "primary",
1702
+ "icon": "sparkles"
1703
+ }
1704
+ ]
1619
1705
  },
1620
1706
  {
1621
- "type": "badge",
1622
- "label": "@entity.model"
1707
+ "type": "divider"
1708
+ },
1709
+ {
1710
+ "type": "empty-state",
1711
+ "icon": "sparkles",
1712
+ "title": "Nothing open",
1713
+ "description": "Click Open to view details in a modal overlay."
1623
1714
  }
1624
1715
  ]
1625
- },
1626
- {
1627
- "type": "form-section",
1628
- "entity": "AgentLearner",
1629
- "mode": "create",
1630
- "submitEvent": "SAVE",
1631
- "cancelEvent": "CLOSE",
1632
- "fields": [
1633
- "prompt"
1634
- ]
1635
1716
  }
1636
1717
  ]
1637
- }
1638
- ]
1639
- ],
1640
- "CLOSE": [
1641
- [
1642
- "render-ui",
1643
- "modal",
1644
- null
1645
- ],
1646
- [
1647
- "notify",
1648
- "Cancelled",
1649
- "info"
1650
- ],
1651
- [
1652
- "ref",
1653
- "AgentLearner"
1654
- ],
1655
- [
1656
- "render-ui",
1657
- "main",
1658
- {
1659
- "type": "stack",
1660
- "direction": "vertical",
1661
- "gap": "lg",
1662
- "children": [
1718
+ ]
1719
+ },
1720
+ {
1721
+ "from": "closed",
1722
+ "to": "open",
1723
+ "event": "GENERATE",
1724
+ "effects": [
1725
+ [
1726
+ "render-ui",
1727
+ "modal",
1663
1728
  {
1664
1729
  "type": "stack",
1665
- "direction": "horizontal",
1730
+ "direction": "vertical",
1666
1731
  "gap": "md",
1667
- "justify": "space-between",
1668
1732
  "children": [
1669
1733
  {
1670
1734
  "type": "stack",
1671
1735
  "direction": "horizontal",
1672
- "gap": "md",
1736
+ "gap": "sm",
1673
1737
  "children": [
1674
1738
  {
1675
1739
  "type": "icon",
1676
1740
  "name": "sparkles",
1677
- "size": "lg"
1741
+ "size": "md"
1678
1742
  },
1679
1743
  {
1680
1744
  "type": "typography",
1681
1745
  "content": "AgentLearner",
1682
- "variant": "h2"
1746
+ "variant": "h3"
1747
+ }
1748
+ ]
1749
+ },
1750
+ {
1751
+ "type": "divider"
1752
+ },
1753
+ {
1754
+ "type": "stack",
1755
+ "direction": "horizontal",
1756
+ "gap": "sm",
1757
+ "children": [
1758
+ {
1759
+ "type": "badge",
1760
+ "label": "@entity.provider"
1761
+ },
1762
+ {
1763
+ "type": "badge",
1764
+ "label": "@entity.model"
1683
1765
  }
1684
1766
  ]
1685
1767
  },
1686
1768
  {
1687
- "type": "button",
1688
- "label": "Open",
1689
- "event": "GENERATE",
1690
- "variant": "primary",
1691
- "icon": "sparkles"
1769
+ "type": "form-section",
1770
+ "entity": "AgentLearner",
1771
+ "mode": "create",
1772
+ "submitEvent": "SAVE",
1773
+ "cancelEvent": "CLOSE",
1774
+ "fields": [
1775
+ "prompt"
1776
+ ]
1692
1777
  }
1693
1778
  ]
1694
- },
1695
- {
1696
- "type": "divider"
1697
- },
1698
- {
1699
- "type": "empty-state",
1700
- "icon": "sparkles",
1701
- "title": "Nothing open",
1702
- "description": "Click Open to view details in a modal overlay."
1703
1779
  }
1704
1780
  ]
1705
- }
1706
- ]
1707
- ],
1708
- "SAVE": [
1709
- [
1710
- "persist",
1711
- "create",
1712
- "AgentLearner",
1713
- "@payload.data"
1714
- ],
1715
- [
1716
- "render-ui",
1717
- "modal",
1718
- null
1719
- ],
1720
- [
1721
- "emit",
1722
- "GENERATED"
1723
- ],
1724
- [
1725
- "ref",
1726
- "AgentLearner"
1727
- ],
1728
- [
1729
- "render-ui",
1730
- "main",
1731
- {
1732
- "type": "stack",
1733
- "direction": "vertical",
1734
- "gap": "lg",
1735
- "children": [
1781
+ ]
1782
+ },
1783
+ {
1784
+ "from": "open",
1785
+ "to": "closed",
1786
+ "event": "CLOSE",
1787
+ "effects": [
1788
+ [
1789
+ "render-ui",
1790
+ "modal",
1791
+ null
1792
+ ],
1793
+ [
1794
+ "notify",
1795
+ "Cancelled",
1796
+ "info"
1797
+ ],
1798
+ [
1799
+ "ref",
1800
+ "AgentLearner"
1801
+ ],
1802
+ [
1803
+ "render-ui",
1804
+ "main",
1736
1805
  {
1737
1806
  "type": "stack",
1738
- "direction": "horizontal",
1739
- "gap": "md",
1740
- "justify": "space-between",
1807
+ "direction": "vertical",
1808
+ "gap": "lg",
1741
1809
  "children": [
1742
1810
  {
1743
1811
  "type": "stack",
1744
1812
  "direction": "horizontal",
1745
1813
  "gap": "md",
1814
+ "justify": "space-between",
1746
1815
  "children": [
1747
1816
  {
1748
- "type": "icon",
1749
- "name": "sparkles",
1750
- "size": "lg"
1817
+ "type": "stack",
1818
+ "direction": "horizontal",
1819
+ "gap": "md",
1820
+ "children": [
1821
+ {
1822
+ "type": "icon",
1823
+ "name": "sparkles",
1824
+ "size": "lg"
1825
+ },
1826
+ {
1827
+ "type": "typography",
1828
+ "content": "AgentLearner",
1829
+ "variant": "h2"
1830
+ }
1831
+ ]
1751
1832
  },
1752
1833
  {
1753
- "type": "typography",
1754
- "content": "AgentLearner",
1755
- "variant": "h2"
1834
+ "type": "button",
1835
+ "label": "Open",
1836
+ "event": "GENERATE",
1837
+ "variant": "primary",
1838
+ "icon": "sparkles"
1756
1839
  }
1757
1840
  ]
1758
1841
  },
1759
1842
  {
1760
- "type": "button",
1761
- "label": "Open",
1762
- "event": "GENERATE",
1763
- "variant": "primary",
1764
- "icon": "sparkles"
1843
+ "type": "divider"
1844
+ },
1845
+ {
1846
+ "type": "empty-state",
1847
+ "icon": "sparkles",
1848
+ "title": "Nothing open",
1849
+ "description": "Click Open to view details in a modal overlay."
1765
1850
  }
1766
1851
  ]
1767
- },
1768
- {
1769
- "type": "divider"
1770
- },
1771
- {
1772
- "type": "empty-state",
1773
- "icon": "sparkles",
1774
- "title": "Nothing open",
1775
- "description": "Click Open to view details in a modal overlay."
1776
1852
  }
1777
1853
  ]
1778
- }
1779
- ]
1780
- ]
1781
- }
1782
- },
1783
- {
1784
- "ref": "AgentProvider.traits.AgentProviderModal",
1785
- "name": "LearnerProviderManager",
1786
- "linkedEntity": "AgentLearner",
1787
- "listens": [],
1788
- "emitsScope": "internal",
1789
- "effects": {
1790
- "INIT": [
1791
- [
1792
- "ref",
1793
- "AgentLearner"
1794
- ],
1795
- [
1796
- "render-ui",
1797
- "main",
1798
- {
1799
- "type": "stack",
1800
- "direction": "vertical",
1801
- "gap": "lg",
1802
- "children": [
1854
+ ]
1855
+ },
1856
+ {
1857
+ "from": "open",
1858
+ "to": "closed",
1859
+ "event": "SAVE",
1860
+ "effects": [
1861
+ [
1862
+ "persist",
1863
+ "create",
1864
+ "AgentLearner",
1865
+ "@payload.data"
1866
+ ],
1867
+ [
1868
+ "render-ui",
1869
+ "modal",
1870
+ null
1871
+ ],
1872
+ [
1873
+ "emit",
1874
+ "GENERATED"
1875
+ ],
1876
+ [
1877
+ "ref",
1878
+ "AgentLearner"
1879
+ ],
1880
+ [
1881
+ "render-ui",
1882
+ "main",
1803
1883
  {
1804
1884
  "type": "stack",
1805
- "direction": "horizontal",
1806
- "gap": "md",
1807
- "justify": "space-between",
1885
+ "direction": "vertical",
1886
+ "gap": "lg",
1808
1887
  "children": [
1809
1888
  {
1810
1889
  "type": "stack",
1811
1890
  "direction": "horizontal",
1812
1891
  "gap": "md",
1892
+ "justify": "space-between",
1813
1893
  "children": [
1814
1894
  {
1815
- "type": "icon",
1816
- "name": "repeat",
1817
- "size": "lg"
1895
+ "type": "stack",
1896
+ "direction": "horizontal",
1897
+ "gap": "md",
1898
+ "children": [
1899
+ {
1900
+ "type": "icon",
1901
+ "name": "sparkles",
1902
+ "size": "lg"
1903
+ },
1904
+ {
1905
+ "type": "typography",
1906
+ "content": "AgentLearner",
1907
+ "variant": "h2"
1908
+ }
1909
+ ]
1818
1910
  },
1819
1911
  {
1820
- "type": "typography",
1821
- "content": "Switch Provider",
1822
- "variant": "h2"
1912
+ "type": "button",
1913
+ "label": "Open",
1914
+ "event": "GENERATE",
1915
+ "variant": "primary",
1916
+ "icon": "sparkles"
1823
1917
  }
1824
1918
  ]
1825
1919
  },
1826
1920
  {
1827
- "type": "button",
1828
- "label": "Open",
1829
- "event": "SWITCH",
1830
- "variant": "primary",
1831
- "icon": "repeat"
1921
+ "type": "divider"
1922
+ },
1923
+ {
1924
+ "type": "empty-state",
1925
+ "icon": "sparkles",
1926
+ "title": "Nothing open",
1927
+ "description": "Click Open to view details in a modal overlay."
1832
1928
  }
1833
1929
  ]
1834
- },
1835
- {
1836
- "type": "divider"
1837
- },
1838
- {
1839
- "type": "empty-state",
1840
- "icon": "repeat",
1841
- "title": "Nothing open",
1842
- "description": "Click Open to view details in a modal overlay."
1843
1930
  }
1931
+ ],
1932
+ [
1933
+ "notify",
1934
+ "AgentLearner created successfully"
1844
1935
  ]
1845
- }
1846
- ]
1936
+ ]
1937
+ }
1938
+ ]
1939
+ },
1940
+ "listens": []
1941
+ },
1942
+ {
1943
+ "name": "LearnerProviderManager",
1944
+ "linkedEntity": "AgentLearner",
1945
+ "category": "interaction",
1946
+ "emits": [
1947
+ {
1948
+ "event": "SAVE",
1949
+ "scope": "internal"
1950
+ },
1951
+ {
1952
+ "event": "SWITCHED",
1953
+ "scope": "internal"
1954
+ }
1955
+ ],
1956
+ "stateMachine": {
1957
+ "states": [
1958
+ {
1959
+ "name": "closed",
1960
+ "isInitial": true
1961
+ },
1962
+ {
1963
+ "name": "open"
1964
+ }
1847
1965
  ],
1848
- "SWITCH": [
1849
- [
1850
- "fetch",
1851
- "AgentLearner"
1852
- ],
1853
- [
1854
- "render-ui",
1855
- "modal",
1856
- {
1857
- "type": "stack",
1858
- "direction": "vertical",
1859
- "gap": "md",
1860
- "children": [
1966
+ "events": [
1967
+ {
1968
+ "key": "INIT",
1969
+ "name": "Initialize"
1970
+ },
1971
+ {
1972
+ "key": "SWITCH",
1973
+ "name": "Open"
1974
+ },
1975
+ {
1976
+ "key": "CLOSE",
1977
+ "name": "Close"
1978
+ },
1979
+ {
1980
+ "key": "SAVE",
1981
+ "name": "Save",
1982
+ "payload": [
1983
+ {
1984
+ "name": "data",
1985
+ "type": "object",
1986
+ "required": true
1987
+ }
1988
+ ]
1989
+ }
1990
+ ],
1991
+ "transitions": [
1992
+ {
1993
+ "from": "closed",
1994
+ "to": "closed",
1995
+ "event": "INIT",
1996
+ "effects": [
1997
+ [
1998
+ "ref",
1999
+ "AgentLearner"
2000
+ ],
2001
+ [
2002
+ "render-ui",
2003
+ "main",
1861
2004
  {
1862
2005
  "type": "stack",
1863
- "direction": "horizontal",
1864
- "gap": "sm",
2006
+ "direction": "vertical",
2007
+ "gap": "lg",
1865
2008
  "children": [
1866
2009
  {
1867
- "type": "icon",
1868
- "name": "repeat",
1869
- "size": "md"
2010
+ "type": "stack",
2011
+ "direction": "horizontal",
2012
+ "gap": "md",
2013
+ "justify": "space-between",
2014
+ "children": [
2015
+ {
2016
+ "type": "stack",
2017
+ "direction": "horizontal",
2018
+ "gap": "md",
2019
+ "children": [
2020
+ {
2021
+ "type": "icon",
2022
+ "name": "repeat",
2023
+ "size": "lg"
2024
+ },
2025
+ {
2026
+ "type": "typography",
2027
+ "content": "Switch Provider",
2028
+ "variant": "h2"
2029
+ }
2030
+ ]
2031
+ },
2032
+ {
2033
+ "type": "button",
2034
+ "label": "Open",
2035
+ "event": "SWITCH",
2036
+ "variant": "primary",
2037
+ "icon": "repeat"
2038
+ }
2039
+ ]
1870
2040
  },
1871
2041
  {
1872
- "type": "typography",
1873
- "content": "Switch Provider",
1874
- "variant": "h3"
2042
+ "type": "divider"
2043
+ },
2044
+ {
2045
+ "type": "empty-state",
2046
+ "icon": "repeat",
2047
+ "title": "Nothing open",
2048
+ "description": "Click Open to view details in a modal overlay."
1875
2049
  }
1876
2050
  ]
1877
- },
1878
- {
1879
- "type": "divider"
1880
- },
2051
+ }
2052
+ ]
2053
+ ]
2054
+ },
2055
+ {
2056
+ "from": "closed",
2057
+ "to": "open",
2058
+ "event": "SWITCH",
2059
+ "effects": [
2060
+ [
2061
+ "fetch",
2062
+ "AgentLearner"
2063
+ ],
2064
+ [
2065
+ "render-ui",
2066
+ "modal",
1881
2067
  {
1882
2068
  "type": "stack",
1883
- "direction": "horizontal",
2069
+ "direction": "vertical",
1884
2070
  "gap": "md",
1885
2071
  "children": [
1886
2072
  {
1887
- "type": "typography",
1888
- "variant": "caption",
1889
- "content": "Current:"
2073
+ "type": "stack",
2074
+ "direction": "horizontal",
2075
+ "gap": "sm",
2076
+ "children": [
2077
+ {
2078
+ "type": "icon",
2079
+ "name": "repeat",
2080
+ "size": "md"
2081
+ },
2082
+ {
2083
+ "type": "typography",
2084
+ "content": "Switch Provider",
2085
+ "variant": "h3"
2086
+ }
2087
+ ]
1890
2088
  },
1891
2089
  {
1892
- "type": "badge",
1893
- "label": "@entity.currentProvider"
2090
+ "type": "divider"
1894
2091
  },
1895
2092
  {
1896
- "type": "badge",
1897
- "label": "@entity.currentModel"
2093
+ "type": "stack",
2094
+ "direction": "horizontal",
2095
+ "gap": "md",
2096
+ "children": [
2097
+ {
2098
+ "type": "typography",
2099
+ "variant": "caption",
2100
+ "content": "Current:"
2101
+ },
2102
+ {
2103
+ "type": "badge",
2104
+ "label": "@entity.currentProvider"
2105
+ },
2106
+ {
2107
+ "type": "badge",
2108
+ "label": "@entity.currentModel"
2109
+ }
2110
+ ]
2111
+ },
2112
+ {
2113
+ "type": "form-section",
2114
+ "entity": "AgentLearner",
2115
+ "mode": "edit",
2116
+ "submitEvent": "SAVE",
2117
+ "cancelEvent": "CLOSE",
2118
+ "fields": [
2119
+ "currentProvider",
2120
+ "currentModel"
2121
+ ]
1898
2122
  }
1899
2123
  ]
1900
- },
1901
- {
1902
- "type": "form-section",
1903
- "entity": "AgentLearner",
1904
- "mode": "edit",
1905
- "submitEvent": "SAVE",
1906
- "cancelEvent": "CLOSE",
1907
- "fields": [
1908
- "currentProvider",
1909
- "currentModel"
1910
- ]
1911
2124
  }
1912
2125
  ]
1913
- }
1914
- ]
1915
- ],
1916
- "CLOSE": [
1917
- [
1918
- "render-ui",
1919
- "modal",
1920
- null
1921
- ],
1922
- [
1923
- "notify",
1924
- "Cancelled",
1925
- "info"
1926
- ],
1927
- [
1928
- "ref",
1929
- "AgentLearner"
1930
- ],
1931
- [
1932
- "render-ui",
1933
- "main",
1934
- {
1935
- "type": "stack",
1936
- "direction": "vertical",
1937
- "gap": "lg",
1938
- "children": [
2126
+ ]
2127
+ },
2128
+ {
2129
+ "from": "open",
2130
+ "to": "closed",
2131
+ "event": "CLOSE",
2132
+ "effects": [
2133
+ [
2134
+ "render-ui",
2135
+ "modal",
2136
+ null
2137
+ ],
2138
+ [
2139
+ "notify",
2140
+ "Cancelled",
2141
+ "info"
2142
+ ],
2143
+ [
2144
+ "ref",
2145
+ "AgentLearner"
2146
+ ],
2147
+ [
2148
+ "render-ui",
2149
+ "main",
1939
2150
  {
1940
2151
  "type": "stack",
1941
- "direction": "horizontal",
1942
- "gap": "md",
1943
- "justify": "space-between",
2152
+ "direction": "vertical",
2153
+ "gap": "lg",
1944
2154
  "children": [
1945
2155
  {
1946
2156
  "type": "stack",
1947
2157
  "direction": "horizontal",
1948
2158
  "gap": "md",
2159
+ "justify": "space-between",
1949
2160
  "children": [
1950
2161
  {
1951
- "type": "icon",
1952
- "name": "repeat",
1953
- "size": "lg"
2162
+ "type": "stack",
2163
+ "direction": "horizontal",
2164
+ "gap": "md",
2165
+ "children": [
2166
+ {
2167
+ "type": "icon",
2168
+ "name": "repeat",
2169
+ "size": "lg"
2170
+ },
2171
+ {
2172
+ "type": "typography",
2173
+ "content": "Switch Provider",
2174
+ "variant": "h2"
2175
+ }
2176
+ ]
1954
2177
  },
1955
2178
  {
1956
- "type": "typography",
1957
- "content": "Switch Provider",
1958
- "variant": "h2"
2179
+ "type": "button",
2180
+ "label": "Open",
2181
+ "event": "SWITCH",
2182
+ "variant": "primary",
2183
+ "icon": "repeat"
1959
2184
  }
1960
2185
  ]
1961
2186
  },
1962
2187
  {
1963
- "type": "button",
1964
- "label": "Open",
1965
- "event": "SWITCH",
1966
- "variant": "primary",
1967
- "icon": "repeat"
2188
+ "type": "divider"
2189
+ },
2190
+ {
2191
+ "type": "empty-state",
2192
+ "icon": "repeat",
2193
+ "title": "Nothing open",
2194
+ "description": "Click Open to view details in a modal overlay."
1968
2195
  }
1969
2196
  ]
1970
- },
1971
- {
1972
- "type": "divider"
1973
- },
1974
- {
1975
- "type": "empty-state",
1976
- "icon": "repeat",
1977
- "title": "Nothing open",
1978
- "description": "Click Open to view details in a modal overlay."
1979
2197
  }
1980
2198
  ]
1981
- }
1982
- ]
1983
- ],
1984
- "SAVE": [
1985
- [
1986
- "persist",
1987
- "update",
1988
- "AgentLearner",
1989
- "@payload.data"
1990
- ],
1991
- [
1992
- "render-ui",
1993
- "modal",
1994
- null
1995
- ],
1996
- [
1997
- "emit",
1998
- "SWITCHED"
1999
- ],
2000
- [
2001
- "ref",
2002
- "AgentLearner"
2003
- ],
2004
- [
2005
- "render-ui",
2006
- "main",
2007
- {
2008
- "type": "stack",
2009
- "direction": "vertical",
2010
- "gap": "lg",
2011
- "children": [
2199
+ ]
2200
+ },
2201
+ {
2202
+ "from": "open",
2203
+ "to": "closed",
2204
+ "event": "SAVE",
2205
+ "effects": [
2206
+ [
2207
+ "persist",
2208
+ "update",
2209
+ "AgentLearner",
2210
+ "@payload.data"
2211
+ ],
2212
+ [
2213
+ "render-ui",
2214
+ "modal",
2215
+ null
2216
+ ],
2217
+ [
2218
+ "emit",
2219
+ "SWITCHED"
2220
+ ],
2221
+ [
2222
+ "ref",
2223
+ "AgentLearner"
2224
+ ],
2225
+ [
2226
+ "render-ui",
2227
+ "main",
2012
2228
  {
2013
2229
  "type": "stack",
2014
- "direction": "horizontal",
2015
- "gap": "md",
2016
- "justify": "space-between",
2230
+ "direction": "vertical",
2231
+ "gap": "lg",
2017
2232
  "children": [
2018
2233
  {
2019
2234
  "type": "stack",
2020
2235
  "direction": "horizontal",
2021
2236
  "gap": "md",
2237
+ "justify": "space-between",
2022
2238
  "children": [
2023
2239
  {
2024
- "type": "icon",
2025
- "name": "repeat",
2026
- "size": "lg"
2240
+ "type": "stack",
2241
+ "direction": "horizontal",
2242
+ "gap": "md",
2243
+ "children": [
2244
+ {
2245
+ "type": "icon",
2246
+ "name": "repeat",
2247
+ "size": "lg"
2248
+ },
2249
+ {
2250
+ "type": "typography",
2251
+ "content": "Switch Provider",
2252
+ "variant": "h2"
2253
+ }
2254
+ ]
2027
2255
  },
2028
2256
  {
2029
- "type": "typography",
2030
- "content": "Switch Provider",
2031
- "variant": "h2"
2257
+ "type": "button",
2258
+ "label": "Open",
2259
+ "event": "SWITCH",
2260
+ "variant": "primary",
2261
+ "icon": "repeat"
2032
2262
  }
2033
2263
  ]
2034
2264
  },
2035
2265
  {
2036
- "type": "button",
2037
- "label": "Open",
2038
- "event": "SWITCH",
2039
- "variant": "primary",
2040
- "icon": "repeat"
2266
+ "type": "divider"
2267
+ },
2268
+ {
2269
+ "type": "empty-state",
2270
+ "icon": "repeat",
2271
+ "title": "Nothing open",
2272
+ "description": "Click Open to view details in a modal overlay."
2041
2273
  }
2042
2274
  ]
2043
- },
2044
- {
2045
- "type": "divider"
2046
- },
2047
- {
2048
- "type": "empty-state",
2049
- "icon": "repeat",
2050
- "title": "Nothing open",
2051
- "description": "Click Open to view details in a modal overlay."
2052
2275
  }
2276
+ ],
2277
+ [
2278
+ "notify",
2279
+ "AgentLearner updated successfully"
2053
2280
  ]
2054
- }
2055
- ]
2281
+ ]
2282
+ }
2056
2283
  ]
2057
- }
2284
+ },
2285
+ "listens": []
2058
2286
  }
2059
2287
  ],
2060
2288
  "pages": [
@@ -2081,5 +2309,6 @@
2081
2309
  }
2082
2310
  ]
2083
2311
  }
2084
- ]
2085
- }
2312
+ ],
2313
+ "description": "Composes agent atoms + UI atoms into an outcome learning pipeline with an activity log for learning history and a browse list for records. Listens for task success/failure events, memorizes outcomes, reinforces memories for successes, applies decay for failures, and adjusts provider routing based on accumulated results. Composed atoms: - stdAgentMemory: memorize outcomes, reinforce/decay based on results - stdAgentCompletion: analyze outcome impact via LLM - stdAgentProvider: adjust provider routing based on success patterns - stdAgentActivityLog: chronological learning timeline - stdBrowse: browsable records list (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."
2314
+ }