@almadar/std 6.1.0 → 6.1.7

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 (446) hide show
  1. package/behaviors/{exports → registry}/atoms/std-agent-activity-log.orb +154 -124
  2. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-chat-thread.orb +4 -63
  3. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-classifier.orb +8 -14
  4. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-completion.orb +8 -14
  5. package/behaviors/{exports → registry}/atoms/std-agent-context-window.orb +4 -8
  6. package/behaviors/{exports → registry}/atoms/std-agent-conversation.orb +4 -79
  7. package/{dist/exports → behaviors/registry}/atoms/std-agent-memory.orb +13 -18
  8. package/behaviors/{exports → registry}/atoms/std-agent-provider.orb +9 -14
  9. package/{dist/exports → behaviors/registry}/atoms/std-agent-search.orb +5 -8
  10. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-agent-session.orb +11 -22
  11. package/behaviors/{exports → registry}/atoms/std-agent-step-progress.orb +4 -8
  12. package/{dist/exports → behaviors/registry}/atoms/std-agent-token-gauge.orb +4 -8
  13. package/behaviors/{exports → registry}/atoms/std-agent-tool-call.orb +8 -14
  14. package/behaviors/{exports → registry}/atoms/std-async.orb +4 -12
  15. package/{dist/exports → behaviors/registry}/atoms/std-autoregressive.orb +13 -2
  16. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-browse.orb +4 -8
  17. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-cache-aside.orb +4 -12
  18. package/{dist/exports → behaviors/registry}/atoms/std-calendar.orb +4 -8
  19. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-circuit-breaker.orb +4 -8
  20. package/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +7 -0
  21. package/behaviors/{exports → registry}/atoms/std-collision.orb +4 -8
  22. package/{dist/exports → behaviors/registry}/atoms/std-combat-log.orb +4 -8
  23. package/behaviors/{exports → registry}/atoms/std-combat.orb +4 -8
  24. package/{dist/exports → behaviors/registry}/atoms/std-confirmation.orb +6 -5
  25. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-dialogue-box.orb +4 -8
  26. package/behaviors/{exports → registry}/atoms/std-display.orb +4 -153
  27. package/{dist/exports → behaviors/registry}/atoms/std-drawer.orb +4 -58
  28. package/behaviors/{exports → registry}/atoms/std-filter.orb +4 -8
  29. package/{dist/exports → behaviors/registry}/atoms/std-flip-card.orb +4 -8
  30. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-gallery.orb +4 -8
  31. package/{dist/exports → behaviors/registry}/atoms/std-game-audio.orb +4 -8
  32. package/{dist/exports → behaviors/registry}/atoms/std-game-canvas2d.orb +3 -6
  33. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-canvas3d.orb +3 -6
  34. package/{dist/exports → behaviors/registry}/atoms/std-game-hud.orb +4 -16
  35. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-menu.orb +4 -8
  36. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-game-over-screen.orb +4 -8
  37. package/{dist/exports → behaviors/registry}/atoms/std-gameflow.orb +4 -8
  38. package/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +7 -0
  39. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-input.orb +4 -8
  40. package/{dist/exports → behaviors/registry}/atoms/std-inventory-panel.orb +4 -12
  41. package/{dist/exports → behaviors/registry}/atoms/std-isometric-canvas.orb +4 -8
  42. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-loading.orb +4 -8
  43. package/behaviors/{exports → registry}/atoms/std-modal.orb +12 -9
  44. package/behaviors/{exports → registry}/atoms/std-movement.orb +4 -8
  45. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-notification.orb +4 -8
  46. package/{dist/exports → behaviors/registry}/atoms/std-overworld.orb +4 -8
  47. package/behaviors/{exports → registry}/atoms/std-pagination.orb +4 -8
  48. package/behaviors/{exports → registry}/atoms/std-physics2d.orb +4 -8
  49. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-platformer-canvas.orb +4 -8
  50. package/{dist/exports → behaviors/registry}/atoms/std-quest.orb +5 -14
  51. package/{dist/exports → behaviors/registry}/atoms/std-rate-limiter.orb +4 -8
  52. package/{dist/exports → behaviors/registry}/atoms/std-rating.orb +4 -8
  53. package/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +7 -0
  54. package/{dist/exports → behaviors/registry}/atoms/std-score-board.orb +4 -8
  55. package/{dist/exports → behaviors/registry}/atoms/std-score.orb +4 -8
  56. package/{dist/exports → behaviors/registry}/atoms/std-search.orb +4 -8
  57. package/{dist/exports → behaviors/registry}/atoms/std-selection.orb +4 -8
  58. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-bearer.orb +4 -19
  59. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-header.orb +4 -21
  60. package/behaviors/{exports → registry}/atoms/std-service-custom-noauth.orb +4 -15
  61. package/{dist/exports → behaviors/registry}/atoms/std-service-custom-query.orb +4 -21
  62. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-email.orb +4 -8
  63. package/{dist/exports → behaviors/registry}/atoms/std-service-github.orb +4 -8
  64. package/behaviors/{exports → registry}/atoms/std-service-llm.orb +4 -8
  65. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-oauth.orb +4 -8
  66. package/behaviors/{exports → registry}/atoms/std-service-redis.orb +4 -8
  67. package/{dist/exports → behaviors/registry}/atoms/std-service-storage.orb +4 -8
  68. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-stripe.orb +4 -8
  69. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-service-twilio.orb +4 -8
  70. package/{dist/exports → behaviors/registry}/atoms/std-service-youtube.orb +4 -8
  71. package/{dist/exports → behaviors/registry}/atoms/std-simulation-canvas.orb +4 -8
  72. package/{dist/exports → behaviors/registry}/atoms/std-sort.orb +4 -52
  73. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-sprite.orb +4 -8
  74. package/behaviors/{exports → registry}/atoms/std-tabs.orb +4 -16
  75. package/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +7 -0
  76. package/{dist/exports → behaviors/registry}/atoms/std-text-effects.orb +4 -8
  77. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-theme.orb +4 -8
  78. package/behaviors/{exports → registry}/atoms/std-timer.orb +4 -8
  79. package/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +7 -0
  80. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-undo.orb +4 -8
  81. package/{dist/behaviors/exports → behaviors/registry}/atoms/std-upload.orb +4 -8
  82. package/{dist/exports → behaviors/registry}/atoms/std-validate-on-save.orb +4 -32
  83. package/{dist/exports → behaviors/registry}/atoms/std-wizard.orb +4 -26
  84. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-agent-fix-loop.orb +1136 -1721
  85. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-agent-learner.orb +606 -839
  86. package/behaviors/{exports → registry}/molecules/std-agent-planner.orb +613 -869
  87. package/behaviors/{exports → registry}/molecules/std-agent-rag.orb +562 -768
  88. package/behaviors/registry/molecules/std-agent-tool-loop.orb +2507 -0
  89. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-builder-game.orb +4 -8
  90. package/{dist/exports → behaviors/registry}/molecules/std-cart.orb +197 -318
  91. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-classifier-game.orb +4 -8
  92. package/{dist/exports → behaviors/registry}/molecules/std-debugger-game.orb +4 -8
  93. package/behaviors/registry/molecules/std-detail.orb +439 -0
  94. package/behaviors/{exports → registry}/molecules/std-event-handler-game.orb +4 -8
  95. package/{dist/exports → behaviors/registry}/molecules/std-form-advanced.orb +4 -12
  96. package/behaviors/registry/molecules/std-geospatial.orb +502 -0
  97. package/behaviors/registry/molecules/std-inventory.orb +564 -0
  98. package/behaviors/registry/molecules/std-list.orb +707 -0
  99. package/behaviors/registry/molecules/std-messaging.orb +424 -0
  100. package/behaviors/{exports → registry}/molecules/std-negotiator-game.orb +4 -8
  101. package/behaviors/{exports → registry}/molecules/std-platformer-game.orb +4 -8
  102. package/behaviors/{exports → registry}/molecules/std-puzzle-game.orb +4 -8
  103. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-quiz.orb +4 -8
  104. package/{dist/exports → behaviors/registry}/molecules/std-sequencer-game.orb +4 -8
  105. package/behaviors/{exports → registry}/molecules/std-service-content-pipeline.orb +4 -8
  106. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-service-custom-api-tester.orb +4 -46
  107. package/{dist/exports → behaviors/registry}/molecules/std-service-devops-toolkit.orb +4 -8
  108. package/{dist/exports → behaviors/registry}/molecules/std-service-notification-hub.orb +4 -8
  109. package/{dist/exports → behaviors/registry}/molecules/std-service-payment-flow.orb +8 -10
  110. package/behaviors/{exports → registry}/molecules/std-simulator-game.orb +4 -8
  111. package/{dist/behaviors/exports → behaviors/registry}/molecules/std-turn-based-battle.orb +4 -8
  112. package/{dist/exports → behaviors/registry}/organisms/std-agent-assistant.orb +24 -38
  113. package/behaviors/{exports → registry}/organisms/std-agent-builder.orb +816 -1320
  114. package/{dist/exports → behaviors/registry}/organisms/std-agent-pipeline.orb +785 -1283
  115. package/{dist/exports → behaviors/registry}/organisms/std-agent-reviewer.orb +308 -372
  116. package/{dist/exports → behaviors/registry}/organisms/std-agent-tutor.orb +325 -387
  117. package/{dist/exports → behaviors/registry}/organisms/std-api-gateway.orb +24 -26
  118. package/{dist/exports → behaviors/registry}/organisms/std-arcade-game.orb +4 -4
  119. package/{dist/exports → behaviors/registry}/organisms/std-booking-system.orb +44 -48
  120. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-cicd-pipeline.orb +24 -30
  121. package/behaviors/{exports → registry}/organisms/std-cms.orb +50 -55
  122. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-coding-academy.orb +4 -4
  123. package/{dist/exports → behaviors/registry}/organisms/std-crm.orb +50 -55
  124. package/{dist/exports → behaviors/registry}/organisms/std-devops-dashboard.orb +24 -26
  125. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-ecommerce.orb +48 -58
  126. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-finance-tracker.orb +30 -33
  127. package/{dist/exports → behaviors/registry}/organisms/std-healthcare.orb +50 -55
  128. package/{dist/exports → behaviors/registry}/organisms/std-helpdesk.orb +30 -33
  129. package/behaviors/{exports → registry}/organisms/std-hr-portal.orb +44 -48
  130. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-iot-dashboard.orb +24 -26
  131. package/{dist/exports → behaviors/registry}/organisms/std-lms.orb +24 -26
  132. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-logic-training.orb +4 -4
  133. package/behaviors/{exports → registry}/organisms/std-platformer-app.orb +20 -24
  134. package/behaviors/{exports → registry}/organisms/std-project-manager.orb +44 -48
  135. package/{dist/exports → behaviors/registry}/organisms/std-puzzle-app.orb +4 -4
  136. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-realtime-chat.orb +30 -33
  137. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-rpg-game.orb +20 -28
  138. package/{dist/exports → behaviors/registry}/organisms/std-service-marketplace.orb +52 -58
  139. package/{dist/exports → behaviors/registry}/organisms/std-service-research-assistant.orb +4 -15
  140. package/behaviors/{exports → registry}/organisms/std-social-feed.orb +16 -18
  141. package/behaviors/{exports → registry}/organisms/std-stem-lab.orb +4 -4
  142. package/{dist/behaviors/exports → behaviors/registry}/organisms/std-strategy-game.orb +4 -4
  143. package/{dist/exports → behaviors/registry}/organisms/std-trading-dashboard.orb +24 -30
  144. package/dist/behaviors/{exports → registry}/atoms/std-agent-activity-log.orb +154 -124
  145. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-chat-thread.orb +4 -63
  146. package/dist/{exports → behaviors/registry}/atoms/std-agent-classifier.orb +8 -14
  147. package/dist/{exports → behaviors/registry}/atoms/std-agent-completion.orb +8 -14
  148. package/dist/{exports → behaviors/registry}/atoms/std-agent-context-window.orb +4 -8
  149. package/dist/{exports → behaviors/registry}/atoms/std-agent-conversation.orb +4 -79
  150. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-memory.orb +13 -18
  151. package/dist/{exports → behaviors/registry}/atoms/std-agent-provider.orb +9 -14
  152. package/dist/behaviors/{exports → registry}/atoms/std-agent-search.orb +5 -8
  153. package/dist/{exports → behaviors/registry}/atoms/std-agent-session.orb +11 -22
  154. package/dist/{exports → behaviors/registry}/atoms/std-agent-step-progress.orb +4 -8
  155. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-agent-token-gauge.orb +4 -8
  156. package/dist/behaviors/{exports → registry}/atoms/std-agent-tool-call.orb +8 -14
  157. package/dist/behaviors/{exports → registry}/atoms/std-async.orb +4 -12
  158. package/dist/behaviors/{exports → registry}/atoms/std-autoregressive.orb +13 -2
  159. package/dist/{exports → behaviors/registry}/atoms/std-browse.orb +4 -8
  160. package/dist/{exports → behaviors/registry}/atoms/std-cache-aside.orb +4 -12
  161. package/dist/behaviors/{exports → registry}/atoms/std-calendar.orb +4 -8
  162. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-circuit-breaker.orb +4 -8
  163. package/dist/behaviors/registry/atoms/std-classifier.orb.unconvertible.txt +7 -0
  164. package/dist/behaviors/{exports → registry}/atoms/std-collision.orb +4 -8
  165. package/dist/behaviors/{exports → registry}/atoms/std-combat-log.orb +4 -8
  166. package/dist/{exports → behaviors/registry}/atoms/std-combat.orb +4 -8
  167. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-confirmation.orb +6 -5
  168. package/dist/{exports → behaviors/registry}/atoms/std-dialogue-box.orb +4 -8
  169. package/dist/{exports → behaviors/registry}/atoms/std-display.orb +4 -153
  170. package/dist/behaviors/{exports → registry}/atoms/std-drawer.orb +4 -58
  171. package/dist/behaviors/{exports → registry}/atoms/std-filter.orb +4 -8
  172. package/dist/behaviors/{exports → registry}/atoms/std-flip-card.orb +4 -8
  173. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-gallery.orb +4 -8
  174. package/dist/behaviors/{exports → registry}/atoms/std-game-audio.orb +4 -8
  175. package/dist/behaviors/{exports → registry}/atoms/std-game-canvas2d.orb +3 -6
  176. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-game-canvas3d.orb +3 -6
  177. package/dist/behaviors/{exports → registry}/atoms/std-game-hud.orb +4 -16
  178. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-game-menu.orb +4 -8
  179. package/dist/{exports → behaviors/registry}/atoms/std-game-over-screen.orb +4 -8
  180. package/dist/behaviors/{exports → registry}/atoms/std-gameflow.orb +4 -8
  181. package/dist/behaviors/registry/atoms/std-graph-classifier.orb.unconvertible.txt +7 -0
  182. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-input.orb +4 -8
  183. package/dist/behaviors/{exports → registry}/atoms/std-inventory-panel.orb +4 -12
  184. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-isometric-canvas.orb +4 -8
  185. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-loading.orb +4 -8
  186. package/dist/{exports → behaviors/registry}/atoms/std-modal.orb +12 -9
  187. package/dist/behaviors/{exports → registry}/atoms/std-movement.orb +4 -8
  188. package/dist/{exports → behaviors/registry}/atoms/std-notification.orb +4 -8
  189. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-overworld.orb +4 -8
  190. package/dist/behaviors/{exports → registry}/atoms/std-pagination.orb +4 -8
  191. package/dist/behaviors/{exports → registry}/atoms/std-physics2d.orb +4 -8
  192. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-platformer-canvas.orb +4 -8
  193. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-quest.orb +5 -14
  194. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-rate-limiter.orb +4 -8
  195. package/dist/behaviors/{exports → registry}/atoms/std-rating.orb +4 -8
  196. package/dist/behaviors/registry/atoms/std-rl-agent.orb.unconvertible.txt +7 -0
  197. package/dist/behaviors/{exports → registry}/atoms/std-score-board.orb +4 -8
  198. package/dist/behaviors/{exports → registry}/atoms/std-score.orb +4 -8
  199. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-search.orb +4 -8
  200. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-selection.orb +4 -8
  201. package/dist/behaviors/{exports → registry}/atoms/std-service-custom-bearer.orb +4 -19
  202. package/dist/behaviors/{exports → registry}/atoms/std-service-custom-header.orb +4 -21
  203. package/dist/{exports → behaviors/registry}/atoms/std-service-custom-noauth.orb +4 -15
  204. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-service-custom-query.orb +4 -21
  205. package/dist/{exports → behaviors/registry}/atoms/std-service-email.orb +4 -8
  206. package/dist/behaviors/{exports → registry}/atoms/std-service-github.orb +4 -8
  207. package/dist/{exports → behaviors/registry}/atoms/std-service-llm.orb +4 -8
  208. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-service-oauth.orb +4 -8
  209. package/dist/behaviors/{exports → registry}/atoms/std-service-redis.orb +4 -8
  210. package/dist/behaviors/{exports → registry}/atoms/std-service-storage.orb +4 -8
  211. package/dist/{exports → behaviors/registry}/atoms/std-service-stripe.orb +4 -8
  212. package/dist/{exports → behaviors/registry}/atoms/std-service-twilio.orb +4 -8
  213. package/dist/behaviors/{exports → registry}/atoms/std-service-youtube.orb +4 -8
  214. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-simulation-canvas.orb +4 -8
  215. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-sort.orb +4 -52
  216. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-sprite.orb +4 -8
  217. package/dist/{exports → behaviors/registry}/atoms/std-tabs.orb +4 -16
  218. package/dist/behaviors/registry/atoms/std-text-classifier.orb.unconvertible.txt +7 -0
  219. package/dist/behaviors/{exports → registry}/atoms/std-text-effects.orb +4 -8
  220. package/dist/{exports → behaviors/registry}/atoms/std-theme.orb +4 -8
  221. package/dist/{exports → behaviors/registry}/atoms/std-timer.orb +4 -8
  222. package/dist/behaviors/registry/atoms/std-trainer.orb.unconvertible.txt +7 -0
  223. package/dist/{exports → behaviors/registry}/atoms/std-undo.orb +4 -8
  224. package/dist/{exports → behaviors/registry}/atoms/std-upload.orb +4 -8
  225. package/{behaviors/exports → dist/behaviors/registry}/atoms/std-validate-on-save.orb +4 -32
  226. package/dist/behaviors/{exports → registry}/atoms/std-wizard.orb +4 -26
  227. package/dist/{exports → behaviors/registry}/molecules/std-agent-fix-loop.orb +1136 -1721
  228. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-agent-learner.orb +606 -839
  229. package/dist/{exports → behaviors/registry}/molecules/std-agent-planner.orb +613 -869
  230. package/dist/behaviors/{exports → registry}/molecules/std-agent-rag.orb +562 -768
  231. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +2507 -0
  232. package/dist/{exports → behaviors/registry}/molecules/std-builder-game.orb +4 -8
  233. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-cart.orb +197 -318
  234. package/dist/{exports → behaviors/registry}/molecules/std-classifier-game.orb +4 -8
  235. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-debugger-game.orb +4 -8
  236. package/dist/behaviors/registry/molecules/std-detail.orb +439 -0
  237. package/dist/{exports → behaviors/registry}/molecules/std-event-handler-game.orb +4 -8
  238. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-form-advanced.orb +4 -12
  239. package/dist/behaviors/registry/molecules/std-geospatial.orb +502 -0
  240. package/dist/behaviors/registry/molecules/std-inventory.orb +564 -0
  241. package/dist/behaviors/registry/molecules/std-list.orb +707 -0
  242. package/dist/behaviors/registry/molecules/std-messaging.orb +424 -0
  243. package/dist/{exports → behaviors/registry}/molecules/std-negotiator-game.orb +4 -8
  244. package/dist/{exports → behaviors/registry}/molecules/std-platformer-game.orb +4 -8
  245. package/dist/behaviors/{exports → registry}/molecules/std-puzzle-game.orb +4 -8
  246. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-quiz.orb +4 -8
  247. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-sequencer-game.orb +4 -8
  248. package/dist/{exports → behaviors/registry}/molecules/std-service-content-pipeline.orb +4 -8
  249. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-custom-api-tester.orb +4 -46
  250. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-devops-toolkit.orb +4 -8
  251. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-notification-hub.orb +4 -8
  252. package/{behaviors/exports → dist/behaviors/registry}/molecules/std-service-payment-flow.orb +8 -10
  253. package/dist/{exports → behaviors/registry}/molecules/std-simulator-game.orb +4 -8
  254. package/dist/{exports → behaviors/registry}/molecules/std-turn-based-battle.orb +4 -8
  255. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-assistant.orb +24 -38
  256. package/dist/{exports → behaviors/registry}/organisms/std-agent-builder.orb +816 -1320
  257. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-pipeline.orb +785 -1283
  258. package/dist/behaviors/{exports → registry}/organisms/std-agent-reviewer.orb +308 -372
  259. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-agent-tutor.orb +325 -387
  260. package/dist/behaviors/{exports → registry}/organisms/std-api-gateway.orb +24 -26
  261. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-arcade-game.orb +4 -4
  262. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-booking-system.orb +44 -48
  263. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-cicd-pipeline.orb +24 -30
  264. package/dist/{exports → behaviors/registry}/organisms/std-cms.orb +50 -55
  265. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-coding-academy.orb +4 -4
  266. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-crm.orb +50 -55
  267. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-devops-dashboard.orb +24 -26
  268. package/dist/{exports → behaviors/registry}/organisms/std-ecommerce.orb +48 -58
  269. package/dist/{exports → behaviors/registry}/organisms/std-finance-tracker.orb +30 -33
  270. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-healthcare.orb +50 -55
  271. package/dist/behaviors/{exports → registry}/organisms/std-helpdesk.orb +30 -33
  272. package/dist/behaviors/{exports → registry}/organisms/std-hr-portal.orb +44 -48
  273. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-iot-dashboard.orb +24 -26
  274. package/dist/behaviors/{exports → registry}/organisms/std-lms.orb +24 -26
  275. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-logic-training.orb +4 -4
  276. package/dist/behaviors/{exports → registry}/organisms/std-platformer-app.orb +20 -24
  277. package/dist/{exports → behaviors/registry}/organisms/std-project-manager.orb +44 -48
  278. package/dist/behaviors/{exports → registry}/organisms/std-puzzle-app.orb +4 -4
  279. package/dist/{exports → behaviors/registry}/organisms/std-realtime-chat.orb +30 -33
  280. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-rpg-game.orb +20 -28
  281. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-service-marketplace.orb +52 -58
  282. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-service-research-assistant.orb +4 -15
  283. package/dist/{exports → behaviors/registry}/organisms/std-social-feed.orb +16 -18
  284. package/dist/{exports → behaviors/registry}/organisms/std-stem-lab.orb +4 -4
  285. package/{behaviors/exports → dist/behaviors/registry}/organisms/std-strategy-game.orb +4 -4
  286. package/dist/behaviors/{exports → registry}/organisms/std-trading-dashboard.orb +24 -30
  287. package/package.json +2 -2
  288. package/behaviors/exports/atoms/std-agent-classifier.orb +0 -879
  289. package/behaviors/exports/atoms/std-agent-completion.orb +0 -941
  290. package/behaviors/exports/atoms/std-agent-search.orb +0 -431
  291. package/behaviors/exports/atoms/std-agent-session.orb +0 -777
  292. package/behaviors/exports/atoms/std-autoregressive.orb +0 -420
  293. package/behaviors/exports/atoms/std-browse.orb +0 -251
  294. package/behaviors/exports/atoms/std-cache-aside.orb +0 -1101
  295. package/behaviors/exports/atoms/std-calendar.orb +0 -775
  296. package/behaviors/exports/atoms/std-combat-log.orb +0 -268
  297. package/behaviors/exports/atoms/std-dialogue-box.orb +0 -249
  298. package/behaviors/exports/atoms/std-drawer.orb +0 -578
  299. package/behaviors/exports/atoms/std-flip-card.orb +0 -601
  300. package/behaviors/exports/atoms/std-game-audio.orb +0 -350
  301. package/behaviors/exports/atoms/std-game-canvas2d.orb +0 -263
  302. package/behaviors/exports/atoms/std-game-hud.orb +0 -170
  303. package/behaviors/exports/atoms/std-game-over-screen.orb +0 -206
  304. package/behaviors/exports/atoms/std-gameflow.orb +0 -419
  305. package/behaviors/exports/atoms/std-inventory-panel.orb +0 -266
  306. package/behaviors/exports/atoms/std-notification.orb +0 -446
  307. package/behaviors/exports/atoms/std-rating.orb +0 -333
  308. package/behaviors/exports/atoms/std-score-board.orb +0 -249
  309. package/behaviors/exports/atoms/std-score.orb +0 -713
  310. package/behaviors/exports/atoms/std-service-custom-bearer.orb +0 -562
  311. package/behaviors/exports/atoms/std-service-custom-header.orb +0 -564
  312. package/behaviors/exports/atoms/std-service-email.orb +0 -545
  313. package/behaviors/exports/atoms/std-service-github.orb +0 -591
  314. package/behaviors/exports/atoms/std-service-storage.orb +0 -669
  315. package/behaviors/exports/atoms/std-service-stripe.orb +0 -644
  316. package/behaviors/exports/atoms/std-service-twilio.orb +0 -616
  317. package/behaviors/exports/atoms/std-service-youtube.orb +0 -701
  318. package/behaviors/exports/atoms/std-text-effects.orb +0 -663
  319. package/behaviors/exports/atoms/std-theme.orb +0 -578
  320. package/behaviors/exports/atoms/std-undo.orb +0 -830
  321. package/behaviors/exports/atoms/std-upload.orb +0 -540
  322. package/behaviors/exports/atoms/std-wizard.orb +0 -1120
  323. package/behaviors/exports/molecules/std-agent-fix-loop.orb +0 -3327
  324. package/behaviors/exports/molecules/std-agent-tool-loop.orb +0 -4451
  325. package/behaviors/exports/molecules/std-builder-game.orb +0 -234
  326. package/behaviors/exports/molecules/std-classifier-game.orb +0 -234
  327. package/behaviors/exports/molecules/std-detail.orb +0 -621
  328. package/behaviors/exports/molecules/std-geospatial.orb +0 -657
  329. package/behaviors/exports/molecules/std-inventory.orb +0 -823
  330. package/behaviors/exports/molecules/std-list.orb +0 -1066
  331. package/behaviors/exports/molecules/std-messaging.orb +0 -605
  332. package/behaviors/exports/molecules/std-turn-based-battle.orb +0 -514
  333. package/behaviors/exports/organisms/std-agent-reviewer.orb +0 -5277
  334. package/behaviors/exports/organisms/std-api-gateway.orb +0 -3745
  335. package/behaviors/exports/organisms/std-ecommerce.orb +0 -4553
  336. package/behaviors/exports/organisms/std-finance-tracker.orb +0 -3091
  337. package/behaviors/exports/organisms/std-helpdesk.orb +0 -3328
  338. package/behaviors/exports/organisms/std-lms.orb +0 -3885
  339. package/behaviors/exports/organisms/std-puzzle-app.orb +0 -889
  340. package/behaviors/exports/organisms/std-realtime-chat.orb +0 -3428
  341. package/behaviors/exports/organisms/std-trading-dashboard.orb +0 -3080
  342. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +0 -202
  343. package/behaviors/exports/validation-report.json +0 -1672
  344. package/behaviors/exports/verify-results.json +0 -126
  345. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +0 -2299
  346. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +0 -1029
  347. package/dist/behaviors/exports/atoms/std-agent-memory.orb +0 -777
  348. package/dist/behaviors/exports/atoms/std-agent-provider.orb +0 -906
  349. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +0 -994
  350. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +0 -1621
  351. package/dist/behaviors/exports/atoms/std-combat.orb +0 -421
  352. package/dist/behaviors/exports/atoms/std-confirmation.orb +0 -496
  353. package/dist/behaviors/exports/atoms/std-display.orb +0 -1803
  354. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +0 -642
  355. package/dist/behaviors/exports/atoms/std-modal.orb +0 -425
  356. package/dist/behaviors/exports/atoms/std-overworld.orb +0 -517
  357. package/dist/behaviors/exports/atoms/std-quest.orb +0 -1262
  358. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +0 -897
  359. package/dist/behaviors/exports/atoms/std-search.orb +0 -394
  360. package/dist/behaviors/exports/atoms/std-selection.orb +0 -810
  361. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +0 -558
  362. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +0 -564
  363. package/dist/behaviors/exports/atoms/std-service-llm.orb +0 -676
  364. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +0 -194
  365. package/dist/behaviors/exports/atoms/std-sort.orb +0 -760
  366. package/dist/behaviors/exports/atoms/std-tabs.orb +0 -298
  367. package/dist/behaviors/exports/atoms/std-timer.orb +0 -1428
  368. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +0 -624
  369. package/dist/behaviors/exports/molecules/std-agent-planner.orb +0 -2037
  370. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +0 -4451
  371. package/dist/behaviors/exports/molecules/std-cart.orb +0 -754
  372. package/dist/behaviors/exports/molecules/std-debugger-game.orb +0 -234
  373. package/dist/behaviors/exports/molecules/std-detail.orb +0 -621
  374. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +0 -234
  375. package/dist/behaviors/exports/molecules/std-form-advanced.orb +0 -659
  376. package/dist/behaviors/exports/molecules/std-geospatial.orb +0 -657
  377. package/dist/behaviors/exports/molecules/std-inventory.orb +0 -823
  378. package/dist/behaviors/exports/molecules/std-list.orb +0 -1066
  379. package/dist/behaviors/exports/molecules/std-messaging.orb +0 -605
  380. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +0 -234
  381. package/dist/behaviors/exports/molecules/std-platformer-game.orb +0 -557
  382. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +0 -234
  383. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +0 -920
  384. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +0 -1531
  385. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +0 -701
  386. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +0 -878
  387. package/dist/behaviors/exports/molecules/std-simulator-game.orb +0 -234
  388. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +0 -6336
  389. package/dist/behaviors/exports/organisms/std-agent-builder.orb +0 -14139
  390. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +0 -10974
  391. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +0 -5003
  392. package/dist/behaviors/exports/organisms/std-arcade-game.orb +0 -1144
  393. package/dist/behaviors/exports/organisms/std-booking-system.orb +0 -5142
  394. package/dist/behaviors/exports/organisms/std-cms.orb +0 -2887
  395. package/dist/behaviors/exports/organisms/std-crm.orb +0 -4366
  396. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +0 -5772
  397. package/dist/behaviors/exports/organisms/std-healthcare.orb +0 -6001
  398. package/dist/behaviors/exports/organisms/std-project-manager.orb +0 -3819
  399. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +0 -4479
  400. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +0 -3568
  401. package/dist/behaviors/exports/organisms/std-social-feed.orb +0 -1246
  402. package/dist/behaviors/exports/organisms/std-stem-lab.orb +0 -1922
  403. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +0 -202
  404. package/dist/behaviors/exports/validation-report.json +0 -1672
  405. package/dist/behaviors/exports/verify-results.json +0 -126
  406. package/dist/exports/atoms/std-agent-activity-log.orb +0 -575
  407. package/dist/exports/atoms/std-agent-chat-thread.orb +0 -783
  408. package/dist/exports/atoms/std-agent-tool-call.orb +0 -746
  409. package/dist/exports/atoms/std-async.orb +0 -443
  410. package/dist/exports/atoms/std-circuit-breaker.orb +0 -999
  411. package/dist/exports/atoms/std-collision.orb +0 -694
  412. package/dist/exports/atoms/std-filter.orb +0 -641
  413. package/dist/exports/atoms/std-gallery.orb +0 -387
  414. package/dist/exports/atoms/std-game-canvas3d.orb +0 -401
  415. package/dist/exports/atoms/std-game-menu.orb +0 -222
  416. package/dist/exports/atoms/std-input.orb +0 -640
  417. package/dist/exports/atoms/std-loading.orb +0 -496
  418. package/dist/exports/atoms/std-movement.orb +0 -1413
  419. package/dist/exports/atoms/std-pagination.orb +0 -266
  420. package/dist/exports/atoms/std-physics2d.orb +0 -430
  421. package/dist/exports/atoms/std-platformer-canvas.orb +0 -268
  422. package/dist/exports/atoms/std-service-oauth.orb +0 -769
  423. package/dist/exports/atoms/std-service-redis.orb +0 -585
  424. package/dist/exports/atoms/std-sprite.orb +0 -315
  425. package/dist/exports/molecules/std-agent-learner.orb +0 -2315
  426. package/dist/exports/molecules/std-agent-rag.orb +0 -1745
  427. package/dist/exports/molecules/std-agent-tool-loop.orb +0 -4451
  428. package/dist/exports/molecules/std-detail.orb +0 -621
  429. package/dist/exports/molecules/std-geospatial.orb +0 -657
  430. package/dist/exports/molecules/std-inventory.orb +0 -823
  431. package/dist/exports/molecules/std-list.orb +0 -1066
  432. package/dist/exports/molecules/std-messaging.orb +0 -605
  433. package/dist/exports/molecules/std-puzzle-game.orb +0 -584
  434. package/dist/exports/molecules/std-quiz.orb +0 -1074
  435. package/dist/exports/molecules/std-service-custom-api-tester.orb +0 -865
  436. package/dist/exports/organisms/std-cicd-pipeline.orb +0 -3425
  437. package/dist/exports/organisms/std-coding-academy.orb +0 -2084
  438. package/dist/exports/organisms/std-hr-portal.orb +0 -5236
  439. package/dist/exports/organisms/std-iot-dashboard.orb +0 -3914
  440. package/dist/exports/organisms/std-logic-training.orb +0 -753
  441. package/dist/exports/organisms/std-platformer-app.orb +0 -1679
  442. package/dist/exports/organisms/std-rpg-game.orb +0 -3298
  443. package/dist/exports/organisms/std-strategy-game.orb +0 -2443
  444. package/dist/exports/test-schemas/os-trigger-simulation.orb +0 -202
  445. package/dist/exports/validation-report.json +0 -1672
  446. package/dist/exports/verify-results.json +0 -126
@@ -1,2315 +0,0 @@
1
- {
2
- "name": "AgentLearnerOrbital",
3
- "version": "1.0.0",
4
- "orbitals": [
5
- {
6
- "name": "AgentLearnerOrbital",
7
- "entity": {
8
- "name": "AgentLearner",
9
- "persistence": "runtime",
10
- "fields": [
11
- {
12
- "name": "id",
13
- "type": "string"
14
- },
15
- {
16
- "name": "name",
17
- "type": "string"
18
- },
19
- {
20
- "name": "description",
21
- "type": "string"
22
- },
23
- {
24
- "name": "status",
25
- "type": "string",
26
- "default": "active",
27
- "values": [
28
- "active",
29
- "inactive",
30
- "pending"
31
- ]
32
- },
33
- {
34
- "name": "createdAt",
35
- "type": "string"
36
- },
37
- {
38
- "name": "pendingId",
39
- "type": "string"
40
- },
41
- {
42
- "name": "outcome",
43
- "type": "string",
44
- "default": ""
45
- },
46
- {
47
- "name": "category",
48
- "type": "string",
49
- "default": ""
50
- },
51
- {
52
- "name": "impact",
53
- "type": "string",
54
- "default": ""
55
- },
56
- {
57
- "name": "memoryId",
58
- "type": "string",
59
- "default": ""
60
- },
61
- {
62
- "name": "isSuccess",
63
- "type": "boolean",
64
- "default": false
65
- },
66
- {
67
- "name": "provider",
68
- "type": "string",
69
- "default": ""
70
- },
71
- {
72
- "name": "consecutiveFailures",
73
- "type": "number",
74
- "default": 0
75
- },
76
- {
77
- "name": "totalSuccesses",
78
- "type": "number",
79
- "default": 0
80
- },
81
- {
82
- "name": "totalFailures",
83
- "type": "number",
84
- "default": 0
85
- },
86
- {
87
- "name": "error",
88
- "type": "string",
89
- "default": ""
90
- },
91
- {
92
- "name": "content",
93
- "type": "string",
94
- "default": ""
95
- },
96
- {
97
- "name": "scope",
98
- "type": "string",
99
- "default": ""
100
- },
101
- {
102
- "name": "strength",
103
- "type": "number",
104
- "default": 1
105
- },
106
- {
107
- "name": "pinned",
108
- "type": "boolean",
109
- "default": false
110
- },
111
- {
112
- "name": "prompt",
113
- "type": "string",
114
- "default": ""
115
- },
116
- {
117
- "name": "response",
118
- "type": "string",
119
- "default": ""
120
- },
121
- {
122
- "name": "model",
123
- "type": "string",
124
- "default": "claude-sonnet-4-20250514"
125
- },
126
- {
127
- "name": "currentProvider",
128
- "type": "string",
129
- "default": "anthropic"
130
- },
131
- {
132
- "name": "currentModel",
133
- "type": "string",
134
- "default": "claude-sonnet-4-20250514"
135
- },
136
- {
137
- "name": "fallbackProvider",
138
- "type": "string",
139
- "default": "anthropic"
140
- },
141
- {
142
- "name": "requestCount",
143
- "type": "number",
144
- "default": 0
145
- },
146
- {
147
- "name": "action",
148
- "type": "string",
149
- "default": ""
150
- },
151
- {
152
- "name": "detail",
153
- "type": "string",
154
- "default": ""
155
- },
156
- {
157
- "name": "timestamp",
158
- "type": "string",
159
- "default": ""
160
- },
161
- {
162
- "name": "duration",
163
- "type": "number",
164
- "default": 0
165
- },
166
- {
167
- "name": "icon",
168
- "type": "string",
169
- "default": "circle"
170
- }
171
- ]
172
- },
173
- "traits": [
174
- {
175
- "name": "AgentLearnerLearner",
176
- "linkedEntity": "AgentLearner",
177
- "category": "interaction",
178
- "emits": [
179
- {
180
- "event": "TASK_SUCCEEDED",
181
- "scope": "external",
182
- "payload": [
183
- {
184
- "name": "outcome",
185
- "type": "string"
186
- },
187
- {
188
- "name": "category",
189
- "type": "string"
190
- }
191
- ]
192
- },
193
- {
194
- "event": "TASK_FAILED",
195
- "scope": "external",
196
- "payload": [
197
- {
198
- "name": "outcome",
199
- "type": "string"
200
- },
201
- {
202
- "name": "category",
203
- "type": "string"
204
- }
205
- ]
206
- }
207
- ],
208
- "listens": [
209
- {
210
- "event": "TASK_SUCCEEDED",
211
- "triggers": "TASK_SUCCEEDED",
212
- "scope": "external"
213
- },
214
- {
215
- "event": "TASK_FAILED",
216
- "triggers": "TASK_FAILED",
217
- "scope": "external"
218
- }
219
- ],
220
- "stateMachine": {
221
- "states": [
222
- {
223
- "name": "idle",
224
- "isInitial": true
225
- },
226
- {
227
- "name": "recording"
228
- },
229
- {
230
- "name": "analyzing"
231
- }
232
- ],
233
- "events": [
234
- {
235
- "key": "INIT",
236
- "name": "Initialize"
237
- },
238
- {
239
- "key": "TASK_SUCCEEDED",
240
- "name": "Task Succeeded",
241
- "payload": [
242
- {
243
- "name": "outcome",
244
- "type": "string",
245
- "required": true
246
- },
247
- {
248
- "name": "category",
249
- "type": "string",
250
- "required": true
251
- }
252
- ]
253
- },
254
- {
255
- "key": "TASK_FAILED",
256
- "name": "Task Failed",
257
- "payload": [
258
- {
259
- "name": "outcome",
260
- "type": "string",
261
- "required": true
262
- },
263
- {
264
- "name": "category",
265
- "type": "string",
266
- "required": true
267
- }
268
- ]
269
- },
270
- {
271
- "key": "RECORDED",
272
- "name": "Memory Recorded",
273
- "payload": [
274
- {
275
- "name": "memoryId",
276
- "type": "string",
277
- "required": true
278
- }
279
- ]
280
- },
281
- {
282
- "key": "ANALYSIS_DONE",
283
- "name": "Analysis Done",
284
- "payload": [
285
- {
286
- "name": "impact",
287
- "type": "string",
288
- "required": true
289
- }
290
- ]
291
- },
292
- {
293
- "key": "FAILED",
294
- "name": "Processing Failed",
295
- "payload": [
296
- {
297
- "name": "error",
298
- "type": "string",
299
- "required": true
300
- }
301
- ]
302
- },
303
- {
304
- "key": "RESET",
305
- "name": "Reset View"
306
- }
307
- ],
308
- "transitions": [
309
- {
310
- "from": "idle",
311
- "to": "idle",
312
- "event": "INIT",
313
- "effects": [
314
- [
315
- "set",
316
- "@entity.provider",
317
- [
318
- "agent/provider"
319
- ]
320
- ],
321
- [
322
- "render-ui",
323
- "main",
324
- {
325
- "type": "stack",
326
- "direction": "vertical",
327
- "gap": "lg",
328
- "children": [
329
- {
330
- "type": "stack",
331
- "direction": "horizontal",
332
- "gap": "sm",
333
- "align": "center",
334
- "children": [
335
- {
336
- "type": "icon",
337
- "name": "graduation-cap",
338
- "size": "lg"
339
- },
340
- {
341
- "type": "typography",
342
- "content": "Outcome Learner",
343
- "variant": "h2"
344
- }
345
- ]
346
- },
347
- {
348
- "type": "divider"
349
- },
350
- {
351
- "type": "simple-grid",
352
- "cols": 3,
353
- "children": [
354
- {
355
- "type": "stat-display",
356
- "label": "Successes",
357
- "value": "@entity.totalSuccesses",
358
- "icon": "check-circle"
359
- },
360
- {
361
- "type": "stat-display",
362
- "label": "Failures",
363
- "value": "@entity.totalFailures",
364
- "icon": "x-circle"
365
- },
366
- {
367
- "type": "stat-display",
368
- "label": "Current Provider",
369
- "value": "@entity.provider",
370
- "icon": "cpu"
371
- }
372
- ]
373
- },
374
- {
375
- "type": "divider"
376
- },
377
- {
378
- "type": "card",
379
- "children": [
380
- {
381
- "type": "stack",
382
- "direction": "vertical",
383
- "gap": "md",
384
- "children": [
385
- {
386
- "type": "typography",
387
- "content": "Listening for task outcomes...",
388
- "variant": "body"
389
- },
390
- {
391
- "type": "typography",
392
- "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
393
- "variant": "caption"
394
- }
395
- ]
396
- }
397
- ]
398
- },
399
- {
400
- "type": "card",
401
- "children": [
402
- {
403
- "type": "stack",
404
- "direction": "vertical",
405
- "gap": "sm",
406
- "children": [
407
- {
408
- "type": "typography",
409
- "content": "Last Outcome",
410
- "variant": "caption"
411
- },
412
- {
413
- "type": "typography",
414
- "content": "@entity.outcome",
415
- "variant": "body"
416
- },
417
- {
418
- "type": "typography",
419
- "content": "Impact Analysis",
420
- "variant": "caption"
421
- },
422
- {
423
- "type": "typography",
424
- "content": "@entity.impact",
425
- "variant": "body"
426
- }
427
- ]
428
- }
429
- ]
430
- }
431
- ]
432
- }
433
- ]
434
- ]
435
- },
436
- {
437
- "from": "idle",
438
- "to": "recording",
439
- "event": "TASK_SUCCEEDED",
440
- "effects": [
441
- [
442
- "set",
443
- "@entity.outcome",
444
- "@payload.outcome"
445
- ],
446
- [
447
- "set",
448
- "@entity.category",
449
- "@payload.category"
450
- ],
451
- [
452
- "set",
453
- "@entity.isSuccess",
454
- true
455
- ],
456
- [
457
- "set",
458
- "@entity.consecutiveFailures",
459
- 0
460
- ],
461
- [
462
- "set",
463
- "@entity.totalSuccesses",
464
- [
465
- "+",
466
- "@entity.totalSuccesses",
467
- 1
468
- ]
469
- ],
470
- [
471
- "set",
472
- "@entity.status",
473
- "recording"
474
- ],
475
- [
476
- "agent/memorize",
477
- [
478
- "str/concat",
479
- "Success: ",
480
- "@payload.outcome"
481
- ],
482
- "@payload.category"
483
- ],
484
- [
485
- "render-ui",
486
- "main",
487
- {
488
- "type": "stack",
489
- "direction": "vertical",
490
- "gap": "lg",
491
- "align": "center",
492
- "children": [
493
- {
494
- "type": "icon",
495
- "name": "save",
496
- "size": "lg"
497
- },
498
- {
499
- "type": "typography",
500
- "content": "Recording outcome...",
501
- "variant": "h3"
502
- },
503
- {
504
- "type": "spinner",
505
- "size": "lg"
506
- },
507
- {
508
- "type": "badge",
509
- "label": "@entity.outcome"
510
- }
511
- ]
512
- }
513
- ]
514
- ]
515
- },
516
- {
517
- "from": "idle",
518
- "to": "recording",
519
- "event": "TASK_FAILED",
520
- "effects": [
521
- [
522
- "set",
523
- "@entity.outcome",
524
- "@payload.outcome"
525
- ],
526
- [
527
- "set",
528
- "@entity.category",
529
- "@payload.category"
530
- ],
531
- [
532
- "set",
533
- "@entity.isSuccess",
534
- false
535
- ],
536
- [
537
- "set",
538
- "@entity.consecutiveFailures",
539
- [
540
- "+",
541
- "@entity.consecutiveFailures",
542
- 1
543
- ]
544
- ],
545
- [
546
- "set",
547
- "@entity.totalFailures",
548
- [
549
- "+",
550
- "@entity.totalFailures",
551
- 1
552
- ]
553
- ],
554
- [
555
- "set",
556
- "@entity.status",
557
- "recording"
558
- ],
559
- [
560
- "agent/memorize",
561
- [
562
- "str/concat",
563
- "Failure: ",
564
- "@payload.outcome"
565
- ],
566
- "@payload.category"
567
- ],
568
- [
569
- "render-ui",
570
- "main",
571
- {
572
- "type": "stack",
573
- "direction": "vertical",
574
- "gap": "lg",
575
- "align": "center",
576
- "children": [
577
- {
578
- "type": "icon",
579
- "name": "save",
580
- "size": "lg"
581
- },
582
- {
583
- "type": "typography",
584
- "content": "Recording outcome...",
585
- "variant": "h3"
586
- },
587
- {
588
- "type": "spinner",
589
- "size": "lg"
590
- },
591
- {
592
- "type": "badge",
593
- "label": "@entity.outcome"
594
- }
595
- ]
596
- }
597
- ]
598
- ]
599
- },
600
- {
601
- "from": "recording",
602
- "to": "analyzing",
603
- "event": "RECORDED",
604
- "effects": [
605
- [
606
- "set",
607
- "@entity.memoryId",
608
- "@payload.memoryId"
609
- ],
610
- [
611
- "if",
612
- "@entity.isSuccess",
613
- [
614
- "agent/reinforce",
615
- "@payload.memoryId"
616
- ],
617
- [
618
- "agent/decay"
619
- ]
620
- ],
621
- [
622
- "if",
623
- [
624
- ">=",
625
- "@entity.consecutiveFailures",
626
- 3
627
- ],
628
- [
629
- "agent/switch-provider",
630
- "anthropic"
631
- ],
632
- [
633
- "log",
634
- "No provider switch needed"
635
- ]
636
- ],
637
- [
638
- "set",
639
- "@entity.status",
640
- "analyzing"
641
- ],
642
- [
643
- "agent/generate",
644
- [
645
- "str/concat",
646
- "Outcome: ",
647
- "@entity.outcome",
648
- "\n",
649
- "Category: ",
650
- "@entity.category",
651
- "\n",
652
- "Result: ",
653
- [
654
- "if",
655
- "@entity.isSuccess",
656
- "success",
657
- "failure"
658
- ],
659
- "\n",
660
- "Consecutive failures: ",
661
- "@entity.consecutiveFailures",
662
- "\n\n",
663
- "Analyze the impact of this outcome. What should be learned? Keep it to 1-2 sentences."
664
- ]
665
- ],
666
- [
667
- "render-ui",
668
- "main",
669
- {
670
- "type": "stack",
671
- "direction": "vertical",
672
- "gap": "lg",
673
- "align": "center",
674
- "children": [
675
- {
676
- "type": "icon",
677
- "name": "cpu",
678
- "size": "lg"
679
- },
680
- {
681
- "type": "typography",
682
- "content": "Analyzing impact...",
683
- "variant": "h3"
684
- },
685
- {
686
- "type": "spinner",
687
- "size": "lg"
688
- },
689
- {
690
- "type": "stack",
691
- "direction": "horizontal",
692
- "gap": "md",
693
- "justify": "center",
694
- "children": [
695
- {
696
- "type": "badge",
697
- "label": [
698
- "str/concat",
699
- "Category: ",
700
- "@entity.category"
701
- ]
702
- },
703
- {
704
- "type": "badge",
705
- "label": [
706
- "if",
707
- "@entity.isSuccess",
708
- "Success",
709
- "Failure"
710
- ]
711
- }
712
- ]
713
- }
714
- ]
715
- }
716
- ]
717
- ]
718
- },
719
- {
720
- "from": "analyzing",
721
- "to": "idle",
722
- "event": "ANALYSIS_DONE",
723
- "effects": [
724
- [
725
- "set",
726
- "@entity.impact",
727
- "@payload.impact"
728
- ],
729
- [
730
- "set",
731
- "@entity.status",
732
- "idle"
733
- ],
734
- [
735
- "set",
736
- "@entity.provider",
737
- [
738
- "agent/provider"
739
- ]
740
- ],
741
- [
742
- "render-ui",
743
- "main",
744
- {
745
- "type": "stack",
746
- "direction": "vertical",
747
- "gap": "lg",
748
- "children": [
749
- {
750
- "type": "stack",
751
- "direction": "horizontal",
752
- "gap": "sm",
753
- "align": "center",
754
- "children": [
755
- {
756
- "type": "icon",
757
- "name": "graduation-cap",
758
- "size": "lg"
759
- },
760
- {
761
- "type": "typography",
762
- "content": "Outcome Learner",
763
- "variant": "h2"
764
- }
765
- ]
766
- },
767
- {
768
- "type": "divider"
769
- },
770
- {
771
- "type": "simple-grid",
772
- "cols": 3,
773
- "children": [
774
- {
775
- "type": "stat-display",
776
- "label": "Successes",
777
- "value": "@entity.totalSuccesses",
778
- "icon": "check-circle"
779
- },
780
- {
781
- "type": "stat-display",
782
- "label": "Failures",
783
- "value": "@entity.totalFailures",
784
- "icon": "x-circle"
785
- },
786
- {
787
- "type": "stat-display",
788
- "label": "Current Provider",
789
- "value": "@entity.provider",
790
- "icon": "cpu"
791
- }
792
- ]
793
- },
794
- {
795
- "type": "divider"
796
- },
797
- {
798
- "type": "card",
799
- "children": [
800
- {
801
- "type": "stack",
802
- "direction": "vertical",
803
- "gap": "md",
804
- "children": [
805
- {
806
- "type": "typography",
807
- "content": "Listening for task outcomes...",
808
- "variant": "body"
809
- },
810
- {
811
- "type": "typography",
812
- "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
813
- "variant": "caption"
814
- }
815
- ]
816
- }
817
- ]
818
- },
819
- {
820
- "type": "card",
821
- "children": [
822
- {
823
- "type": "stack",
824
- "direction": "vertical",
825
- "gap": "sm",
826
- "children": [
827
- {
828
- "type": "typography",
829
- "content": "Last Outcome",
830
- "variant": "caption"
831
- },
832
- {
833
- "type": "typography",
834
- "content": "@entity.outcome",
835
- "variant": "body"
836
- },
837
- {
838
- "type": "typography",
839
- "content": "Impact Analysis",
840
- "variant": "caption"
841
- },
842
- {
843
- "type": "typography",
844
- "content": "@entity.impact",
845
- "variant": "body"
846
- }
847
- ]
848
- }
849
- ]
850
- }
851
- ]
852
- }
853
- ]
854
- ]
855
- },
856
- {
857
- "from": "recording",
858
- "to": "idle",
859
- "event": "FAILED",
860
- "effects": [
861
- [
862
- "set",
863
- "@entity.error",
864
- "@payload.error"
865
- ],
866
- [
867
- "set",
868
- "@entity.status",
869
- "idle"
870
- ],
871
- [
872
- "render-ui",
873
- "main",
874
- {
875
- "type": "stack",
876
- "direction": "vertical",
877
- "gap": "lg",
878
- "children": [
879
- {
880
- "type": "stack",
881
- "direction": "horizontal",
882
- "gap": "sm",
883
- "align": "center",
884
- "children": [
885
- {
886
- "type": "icon",
887
- "name": "graduation-cap",
888
- "size": "lg"
889
- },
890
- {
891
- "type": "typography",
892
- "content": "Outcome Learner",
893
- "variant": "h2"
894
- }
895
- ]
896
- },
897
- {
898
- "type": "divider"
899
- },
900
- {
901
- "type": "simple-grid",
902
- "cols": 3,
903
- "children": [
904
- {
905
- "type": "stat-display",
906
- "label": "Successes",
907
- "value": "@entity.totalSuccesses",
908
- "icon": "check-circle"
909
- },
910
- {
911
- "type": "stat-display",
912
- "label": "Failures",
913
- "value": "@entity.totalFailures",
914
- "icon": "x-circle"
915
- },
916
- {
917
- "type": "stat-display",
918
- "label": "Current Provider",
919
- "value": "@entity.provider",
920
- "icon": "cpu"
921
- }
922
- ]
923
- },
924
- {
925
- "type": "divider"
926
- },
927
- {
928
- "type": "card",
929
- "children": [
930
- {
931
- "type": "stack",
932
- "direction": "vertical",
933
- "gap": "md",
934
- "children": [
935
- {
936
- "type": "typography",
937
- "content": "Listening for task outcomes...",
938
- "variant": "body"
939
- },
940
- {
941
- "type": "typography",
942
- "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
943
- "variant": "caption"
944
- }
945
- ]
946
- }
947
- ]
948
- },
949
- {
950
- "type": "card",
951
- "children": [
952
- {
953
- "type": "stack",
954
- "direction": "vertical",
955
- "gap": "sm",
956
- "children": [
957
- {
958
- "type": "typography",
959
- "content": "Last Outcome",
960
- "variant": "caption"
961
- },
962
- {
963
- "type": "typography",
964
- "content": "@entity.outcome",
965
- "variant": "body"
966
- },
967
- {
968
- "type": "typography",
969
- "content": "Impact Analysis",
970
- "variant": "caption"
971
- },
972
- {
973
- "type": "typography",
974
- "content": "@entity.impact",
975
- "variant": "body"
976
- }
977
- ]
978
- }
979
- ]
980
- }
981
- ]
982
- }
983
- ]
984
- ]
985
- },
986
- {
987
- "from": "analyzing",
988
- "to": "idle",
989
- "event": "FAILED",
990
- "effects": [
991
- [
992
- "set",
993
- "@entity.error",
994
- "@payload.error"
995
- ],
996
- [
997
- "set",
998
- "@entity.status",
999
- "idle"
1000
- ],
1001
- [
1002
- "render-ui",
1003
- "main",
1004
- {
1005
- "type": "stack",
1006
- "direction": "vertical",
1007
- "gap": "lg",
1008
- "children": [
1009
- {
1010
- "type": "stack",
1011
- "direction": "horizontal",
1012
- "gap": "sm",
1013
- "align": "center",
1014
- "children": [
1015
- {
1016
- "type": "icon",
1017
- "name": "graduation-cap",
1018
- "size": "lg"
1019
- },
1020
- {
1021
- "type": "typography",
1022
- "content": "Outcome Learner",
1023
- "variant": "h2"
1024
- }
1025
- ]
1026
- },
1027
- {
1028
- "type": "divider"
1029
- },
1030
- {
1031
- "type": "simple-grid",
1032
- "cols": 3,
1033
- "children": [
1034
- {
1035
- "type": "stat-display",
1036
- "label": "Successes",
1037
- "value": "@entity.totalSuccesses",
1038
- "icon": "check-circle"
1039
- },
1040
- {
1041
- "type": "stat-display",
1042
- "label": "Failures",
1043
- "value": "@entity.totalFailures",
1044
- "icon": "x-circle"
1045
- },
1046
- {
1047
- "type": "stat-display",
1048
- "label": "Current Provider",
1049
- "value": "@entity.provider",
1050
- "icon": "cpu"
1051
- }
1052
- ]
1053
- },
1054
- {
1055
- "type": "divider"
1056
- },
1057
- {
1058
- "type": "card",
1059
- "children": [
1060
- {
1061
- "type": "stack",
1062
- "direction": "vertical",
1063
- "gap": "md",
1064
- "children": [
1065
- {
1066
- "type": "typography",
1067
- "content": "Listening for task outcomes...",
1068
- "variant": "body"
1069
- },
1070
- {
1071
- "type": "typography",
1072
- "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
1073
- "variant": "caption"
1074
- }
1075
- ]
1076
- }
1077
- ]
1078
- },
1079
- {
1080
- "type": "card",
1081
- "children": [
1082
- {
1083
- "type": "stack",
1084
- "direction": "vertical",
1085
- "gap": "sm",
1086
- "children": [
1087
- {
1088
- "type": "typography",
1089
- "content": "Last Outcome",
1090
- "variant": "caption"
1091
- },
1092
- {
1093
- "type": "typography",
1094
- "content": "@entity.outcome",
1095
- "variant": "body"
1096
- },
1097
- {
1098
- "type": "typography",
1099
- "content": "Impact Analysis",
1100
- "variant": "caption"
1101
- },
1102
- {
1103
- "type": "typography",
1104
- "content": "@entity.impact",
1105
- "variant": "body"
1106
- }
1107
- ]
1108
- }
1109
- ]
1110
- }
1111
- ]
1112
- }
1113
- ]
1114
- ]
1115
- },
1116
- {
1117
- "from": "idle",
1118
- "to": "idle",
1119
- "event": "RESET",
1120
- "effects": [
1121
- [
1122
- "set",
1123
- "@entity.provider",
1124
- [
1125
- "agent/provider"
1126
- ]
1127
- ],
1128
- [
1129
- "render-ui",
1130
- "main",
1131
- {
1132
- "type": "stack",
1133
- "direction": "vertical",
1134
- "gap": "lg",
1135
- "children": [
1136
- {
1137
- "type": "stack",
1138
- "direction": "horizontal",
1139
- "gap": "sm",
1140
- "align": "center",
1141
- "children": [
1142
- {
1143
- "type": "icon",
1144
- "name": "graduation-cap",
1145
- "size": "lg"
1146
- },
1147
- {
1148
- "type": "typography",
1149
- "content": "Outcome Learner",
1150
- "variant": "h2"
1151
- }
1152
- ]
1153
- },
1154
- {
1155
- "type": "divider"
1156
- },
1157
- {
1158
- "type": "simple-grid",
1159
- "cols": 3,
1160
- "children": [
1161
- {
1162
- "type": "stat-display",
1163
- "label": "Successes",
1164
- "value": "@entity.totalSuccesses",
1165
- "icon": "check-circle"
1166
- },
1167
- {
1168
- "type": "stat-display",
1169
- "label": "Failures",
1170
- "value": "@entity.totalFailures",
1171
- "icon": "x-circle"
1172
- },
1173
- {
1174
- "type": "stat-display",
1175
- "label": "Current Provider",
1176
- "value": "@entity.provider",
1177
- "icon": "cpu"
1178
- }
1179
- ]
1180
- },
1181
- {
1182
- "type": "divider"
1183
- },
1184
- {
1185
- "type": "card",
1186
- "children": [
1187
- {
1188
- "type": "stack",
1189
- "direction": "vertical",
1190
- "gap": "md",
1191
- "children": [
1192
- {
1193
- "type": "typography",
1194
- "content": "Listening for task outcomes...",
1195
- "variant": "body"
1196
- },
1197
- {
1198
- "type": "typography",
1199
- "content": "This module records TASK_SUCCEEDED and TASK_FAILED events automatically.",
1200
- "variant": "caption"
1201
- }
1202
- ]
1203
- }
1204
- ]
1205
- },
1206
- {
1207
- "type": "card",
1208
- "children": [
1209
- {
1210
- "type": "stack",
1211
- "direction": "vertical",
1212
- "gap": "sm",
1213
- "children": [
1214
- {
1215
- "type": "typography",
1216
- "content": "Last Outcome",
1217
- "variant": "caption"
1218
- },
1219
- {
1220
- "type": "typography",
1221
- "content": "@entity.outcome",
1222
- "variant": "body"
1223
- },
1224
- {
1225
- "type": "typography",
1226
- "content": "Impact Analysis",
1227
- "variant": "caption"
1228
- },
1229
- {
1230
- "type": "typography",
1231
- "content": "@entity.impact",
1232
- "variant": "body"
1233
- }
1234
- ]
1235
- }
1236
- ]
1237
- }
1238
- ]
1239
- }
1240
- ]
1241
- ]
1242
- }
1243
- ]
1244
- }
1245
- },
1246
- {
1247
- "name": "LearnerRecordsBrowse",
1248
- "linkedEntity": "AgentLearner",
1249
- "category": "interaction",
1250
- "stateMachine": {
1251
- "states": [
1252
- {
1253
- "name": "browsing",
1254
- "isInitial": true
1255
- }
1256
- ],
1257
- "events": [
1258
- {
1259
- "key": "INIT",
1260
- "name": "Initialize"
1261
- },
1262
- {
1263
- "key": "VIEW",
1264
- "name": "VIEW",
1265
- "payload": [
1266
- {
1267
- "name": "id",
1268
- "type": "string",
1269
- "required": true
1270
- },
1271
- {
1272
- "name": "row",
1273
- "type": "object"
1274
- }
1275
- ]
1276
- }
1277
- ],
1278
- "transitions": [
1279
- {
1280
- "from": "browsing",
1281
- "to": "browsing",
1282
- "event": "INIT",
1283
- "effects": [
1284
- [
1285
- "ref",
1286
- "AgentLearner"
1287
- ],
1288
- [
1289
- "render-ui",
1290
- "main",
1291
- {
1292
- "type": "stack",
1293
- "direction": "vertical",
1294
- "gap": "lg",
1295
- "className": "max-w-5xl mx-auto w-full",
1296
- "children": [
1297
- {
1298
- "type": "stack",
1299
- "direction": "horizontal",
1300
- "gap": "md",
1301
- "justify": "space-between",
1302
- "align": "center",
1303
- "children": [
1304
- {
1305
- "type": "stack",
1306
- "direction": "horizontal",
1307
- "gap": "sm",
1308
- "align": "center",
1309
- "children": [
1310
- {
1311
- "type": "icon",
1312
- "name": "graduation-cap",
1313
- "size": "lg"
1314
- },
1315
- {
1316
- "type": "typography",
1317
- "content": "Learning Records",
1318
- "variant": "h2"
1319
- }
1320
- ]
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- "type": "divider"
1326
- },
1327
- {
1328
- "type": "data-grid",
1329
- "entity": "AgentLearner",
1330
- "emptyIcon": "inbox",
1331
- "emptyTitle": "No records yet",
1332
- "emptyDescription": "Task outcomes will appear here as they are recorded.",
1333
- "itemActions": [
1334
- {
1335
- "label": "View",
1336
- "event": "VIEW",
1337
- "variant": "ghost",
1338
- "size": "sm"
1339
- }
1340
- ],
1341
- "columns": [
1342
- {
1343
- "name": "outcome",
1344
- "label": "Outcome",
1345
- "variant": "h4",
1346
- "icon": "graduation-cap"
1347
- },
1348
- {
1349
- "name": "category",
1350
- "label": "Category",
1351
- "variant": "badge",
1352
- "colorMap": {
1353
- "active": "success",
1354
- "completed": "success",
1355
- "done": "success",
1356
- "pending": "warning",
1357
- "draft": "warning",
1358
- "scheduled": "warning",
1359
- "inactive": "neutral",
1360
- "archived": "neutral",
1361
- "disabled": "neutral",
1362
- "error": "destructive",
1363
- "cancelled": "destructive",
1364
- "failed": "destructive"
1365
- }
1366
- },
1367
- {
1368
- "name": "status",
1369
- "label": "Status",
1370
- "variant": "caption"
1371
- }
1372
- ]
1373
- },
1374
- {
1375
- "type": "floating-action-button",
1376
- "icon": "plus",
1377
- "event": "INIT",
1378
- "label": "Create",
1379
- "tooltip": "Create"
1380
- }
1381
- ]
1382
- }
1383
- ]
1384
- ]
1385
- }
1386
- ]
1387
- }
1388
- },
1389
- {
1390
- "name": "LearnerMemoryLifecycle",
1391
- "linkedEntity": "AgentLearner",
1392
- "category": "interaction",
1393
- "listens": [],
1394
- "stateMachine": {
1395
- "states": [
1396
- {
1397
- "name": "browsing",
1398
- "isInitial": true
1399
- }
1400
- ],
1401
- "events": [
1402
- {
1403
- "key": "INIT",
1404
- "name": "Initialize"
1405
- },
1406
- {
1407
- "key": "MEMORIZE",
1408
- "name": "MEMORIZE"
1409
- },
1410
- {
1411
- "key": "RECALL",
1412
- "name": "RECALL"
1413
- },
1414
- {
1415
- "key": "DECAY",
1416
- "name": "DECAY"
1417
- },
1418
- {
1419
- "key": "PIN",
1420
- "name": "PIN",
1421
- "payload": [
1422
- {
1423
- "name": "id",
1424
- "type": "string",
1425
- "required": true
1426
- },
1427
- {
1428
- "name": "row",
1429
- "type": "object"
1430
- }
1431
- ]
1432
- },
1433
- {
1434
- "key": "REINFORCE",
1435
- "name": "REINFORCE",
1436
- "payload": [
1437
- {
1438
- "name": "id",
1439
- "type": "string",
1440
- "required": true
1441
- },
1442
- {
1443
- "name": "row",
1444
- "type": "object"
1445
- }
1446
- ]
1447
- },
1448
- {
1449
- "key": "FORGET",
1450
- "name": "FORGET",
1451
- "payload": [
1452
- {
1453
- "name": "id",
1454
- "type": "string",
1455
- "required": true
1456
- },
1457
- {
1458
- "name": "row",
1459
- "type": "object"
1460
- }
1461
- ]
1462
- }
1463
- ],
1464
- "transitions": [
1465
- {
1466
- "from": "browsing",
1467
- "to": "browsing",
1468
- "event": "INIT",
1469
- "effects": [
1470
- [
1471
- "ref",
1472
- "AgentLearner"
1473
- ],
1474
- [
1475
- "render-ui",
1476
- "main",
1477
- {
1478
- "type": "stack",
1479
- "direction": "vertical",
1480
- "gap": "lg",
1481
- "className": "max-w-5xl mx-auto w-full",
1482
- "children": [
1483
- {
1484
- "type": "stack",
1485
- "direction": "horizontal",
1486
- "gap": "md",
1487
- "justify": "space-between",
1488
- "align": "center",
1489
- "children": [
1490
- {
1491
- "type": "stack",
1492
- "direction": "horizontal",
1493
- "gap": "sm",
1494
- "align": "center",
1495
- "children": [
1496
- {
1497
- "type": "icon",
1498
- "name": "brain",
1499
- "size": "lg"
1500
- },
1501
- {
1502
- "type": "typography",
1503
- "content": "AgentLearner Manager",
1504
- "variant": "h2"
1505
- }
1506
- ]
1507
- },
1508
- {
1509
- "type": "stack",
1510
- "direction": "horizontal",
1511
- "gap": "sm",
1512
- "children": [
1513
- {
1514
- "type": "button",
1515
- "label": "Memorize",
1516
- "event": "MEMORIZE",
1517
- "variant": "primary",
1518
- "icon": "plus"
1519
- },
1520
- {
1521
- "type": "button",
1522
- "label": "Recall",
1523
- "event": "RECALL",
1524
- "variant": "secondary",
1525
- "icon": "search"
1526
- },
1527
- {
1528
- "type": "button",
1529
- "label": "Decay All",
1530
- "event": "DECAY",
1531
- "variant": "ghost",
1532
- "icon": "clock"
1533
- }
1534
- ]
1535
- }
1536
- ]
1537
- },
1538
- {
1539
- "type": "divider"
1540
- },
1541
- {
1542
- "type": "data-grid",
1543
- "entity": "AgentLearner",
1544
- "emptyIcon": "inbox",
1545
- "emptyTitle": "No memories yet",
1546
- "emptyDescription": "Create your first memory to get started.",
1547
- "itemActions": [
1548
- {
1549
- "label": "Pin",
1550
- "event": "PIN",
1551
- "variant": "ghost",
1552
- "size": "sm"
1553
- },
1554
- {
1555
- "label": "Reinforce",
1556
- "event": "REINFORCE",
1557
- "variant": "ghost",
1558
- "size": "sm"
1559
- },
1560
- {
1561
- "label": "Forget",
1562
- "event": "FORGET",
1563
- "variant": "danger",
1564
- "size": "sm"
1565
- }
1566
- ],
1567
- "columns": [
1568
- {
1569
- "name": "content",
1570
- "label": "Content",
1571
- "variant": "h4",
1572
- "icon": "brain"
1573
- },
1574
- {
1575
- "name": "category",
1576
- "label": "Category",
1577
- "variant": "badge",
1578
- "colorMap": {
1579
- "active": "success",
1580
- "completed": "success",
1581
- "done": "success",
1582
- "pending": "warning",
1583
- "draft": "warning",
1584
- "scheduled": "warning",
1585
- "inactive": "neutral",
1586
- "archived": "neutral",
1587
- "disabled": "neutral",
1588
- "error": "destructive",
1589
- "cancelled": "destructive",
1590
- "failed": "destructive"
1591
- }
1592
- },
1593
- {
1594
- "name": "strength",
1595
- "label": "Strength",
1596
- "variant": "caption"
1597
- }
1598
- ]
1599
- }
1600
- ]
1601
- }
1602
- ]
1603
- ]
1604
- }
1605
- ]
1606
- }
1607
- },
1608
- {
1609
- "name": "LearnerCompletionFlow",
1610
- "linkedEntity": "AgentLearner",
1611
- "category": "interaction",
1612
- "emits": [
1613
- {
1614
- "event": "SAVE",
1615
- "scope": "internal"
1616
- },
1617
- {
1618
- "event": "GENERATED",
1619
- "scope": "internal"
1620
- }
1621
- ],
1622
- "stateMachine": {
1623
- "states": [
1624
- {
1625
- "name": "closed",
1626
- "isInitial": true
1627
- },
1628
- {
1629
- "name": "open"
1630
- }
1631
- ],
1632
- "events": [
1633
- {
1634
- "key": "INIT",
1635
- "name": "Initialize"
1636
- },
1637
- {
1638
- "key": "GENERATE",
1639
- "name": "Open"
1640
- },
1641
- {
1642
- "key": "CLOSE",
1643
- "name": "Close"
1644
- },
1645
- {
1646
- "key": "SAVE",
1647
- "name": "Save",
1648
- "payload": [
1649
- {
1650
- "name": "data",
1651
- "type": "object",
1652
- "required": true
1653
- }
1654
- ]
1655
- }
1656
- ],
1657
- "transitions": [
1658
- {
1659
- "from": "closed",
1660
- "to": "closed",
1661
- "event": "INIT",
1662
- "effects": [
1663
- [
1664
- "ref",
1665
- "AgentLearner"
1666
- ],
1667
- [
1668
- "render-ui",
1669
- "main",
1670
- {
1671
- "type": "stack",
1672
- "direction": "vertical",
1673
- "gap": "lg",
1674
- "children": [
1675
- {
1676
- "type": "stack",
1677
- "direction": "horizontal",
1678
- "gap": "md",
1679
- "justify": "space-between",
1680
- "children": [
1681
- {
1682
- "type": "stack",
1683
- "direction": "horizontal",
1684
- "gap": "md",
1685
- "children": [
1686
- {
1687
- "type": "icon",
1688
- "name": "sparkles",
1689
- "size": "lg"
1690
- },
1691
- {
1692
- "type": "typography",
1693
- "content": "AgentLearner",
1694
- "variant": "h2"
1695
- }
1696
- ]
1697
- },
1698
- {
1699
- "type": "button",
1700
- "label": "Open",
1701
- "event": "GENERATE",
1702
- "variant": "primary",
1703
- "icon": "sparkles"
1704
- }
1705
- ]
1706
- },
1707
- {
1708
- "type": "divider"
1709
- },
1710
- {
1711
- "type": "empty-state",
1712
- "icon": "sparkles",
1713
- "title": "Nothing open",
1714
- "description": "Click Open to view details in a modal overlay."
1715
- }
1716
- ]
1717
- }
1718
- ]
1719
- ]
1720
- },
1721
- {
1722
- "from": "closed",
1723
- "to": "open",
1724
- "event": "GENERATE",
1725
- "effects": [
1726
- [
1727
- "render-ui",
1728
- "modal",
1729
- {
1730
- "type": "stack",
1731
- "direction": "vertical",
1732
- "gap": "md",
1733
- "children": [
1734
- {
1735
- "type": "stack",
1736
- "direction": "horizontal",
1737
- "gap": "sm",
1738
- "children": [
1739
- {
1740
- "type": "icon",
1741
- "name": "sparkles",
1742
- "size": "md"
1743
- },
1744
- {
1745
- "type": "typography",
1746
- "content": "AgentLearner",
1747
- "variant": "h3"
1748
- }
1749
- ]
1750
- },
1751
- {
1752
- "type": "divider"
1753
- },
1754
- {
1755
- "type": "stack",
1756
- "direction": "horizontal",
1757
- "gap": "sm",
1758
- "children": [
1759
- {
1760
- "type": "badge",
1761
- "label": "@entity.provider"
1762
- },
1763
- {
1764
- "type": "badge",
1765
- "label": "@entity.model"
1766
- }
1767
- ]
1768
- },
1769
- {
1770
- "type": "form-section",
1771
- "entity": "AgentLearner",
1772
- "mode": "create",
1773
- "submitEvent": "SAVE",
1774
- "cancelEvent": "CLOSE",
1775
- "fields": [
1776
- "prompt"
1777
- ]
1778
- }
1779
- ]
1780
- }
1781
- ]
1782
- ]
1783
- },
1784
- {
1785
- "from": "open",
1786
- "to": "closed",
1787
- "event": "CLOSE",
1788
- "effects": [
1789
- [
1790
- "render-ui",
1791
- "modal",
1792
- null
1793
- ],
1794
- [
1795
- "notify",
1796
- "Cancelled",
1797
- "info"
1798
- ],
1799
- [
1800
- "ref",
1801
- "AgentLearner"
1802
- ],
1803
- [
1804
- "render-ui",
1805
- "main",
1806
- {
1807
- "type": "stack",
1808
- "direction": "vertical",
1809
- "gap": "lg",
1810
- "children": [
1811
- {
1812
- "type": "stack",
1813
- "direction": "horizontal",
1814
- "gap": "md",
1815
- "justify": "space-between",
1816
- "children": [
1817
- {
1818
- "type": "stack",
1819
- "direction": "horizontal",
1820
- "gap": "md",
1821
- "children": [
1822
- {
1823
- "type": "icon",
1824
- "name": "sparkles",
1825
- "size": "lg"
1826
- },
1827
- {
1828
- "type": "typography",
1829
- "content": "AgentLearner",
1830
- "variant": "h2"
1831
- }
1832
- ]
1833
- },
1834
- {
1835
- "type": "button",
1836
- "label": "Open",
1837
- "event": "GENERATE",
1838
- "variant": "primary",
1839
- "icon": "sparkles"
1840
- }
1841
- ]
1842
- },
1843
- {
1844
- "type": "divider"
1845
- },
1846
- {
1847
- "type": "empty-state",
1848
- "icon": "sparkles",
1849
- "title": "Nothing open",
1850
- "description": "Click Open to view details in a modal overlay."
1851
- }
1852
- ]
1853
- }
1854
- ]
1855
- ]
1856
- },
1857
- {
1858
- "from": "open",
1859
- "to": "closed",
1860
- "event": "SAVE",
1861
- "effects": [
1862
- [
1863
- "persist",
1864
- "create",
1865
- "AgentLearner",
1866
- "@payload.data"
1867
- ],
1868
- [
1869
- "render-ui",
1870
- "modal",
1871
- null
1872
- ],
1873
- [
1874
- "emit",
1875
- "GENERATED"
1876
- ],
1877
- [
1878
- "ref",
1879
- "AgentLearner"
1880
- ],
1881
- [
1882
- "render-ui",
1883
- "main",
1884
- {
1885
- "type": "stack",
1886
- "direction": "vertical",
1887
- "gap": "lg",
1888
- "children": [
1889
- {
1890
- "type": "stack",
1891
- "direction": "horizontal",
1892
- "gap": "md",
1893
- "justify": "space-between",
1894
- "children": [
1895
- {
1896
- "type": "stack",
1897
- "direction": "horizontal",
1898
- "gap": "md",
1899
- "children": [
1900
- {
1901
- "type": "icon",
1902
- "name": "sparkles",
1903
- "size": "lg"
1904
- },
1905
- {
1906
- "type": "typography",
1907
- "content": "AgentLearner",
1908
- "variant": "h2"
1909
- }
1910
- ]
1911
- },
1912
- {
1913
- "type": "button",
1914
- "label": "Open",
1915
- "event": "GENERATE",
1916
- "variant": "primary",
1917
- "icon": "sparkles"
1918
- }
1919
- ]
1920
- },
1921
- {
1922
- "type": "divider"
1923
- },
1924
- {
1925
- "type": "empty-state",
1926
- "icon": "sparkles",
1927
- "title": "Nothing open",
1928
- "description": "Click Open to view details in a modal overlay."
1929
- }
1930
- ]
1931
- }
1932
- ],
1933
- [
1934
- "notify",
1935
- "AgentLearner created successfully"
1936
- ]
1937
- ]
1938
- }
1939
- ]
1940
- },
1941
- "listens": []
1942
- },
1943
- {
1944
- "name": "LearnerProviderManager",
1945
- "linkedEntity": "AgentLearner",
1946
- "category": "interaction",
1947
- "emits": [
1948
- {
1949
- "event": "SAVE",
1950
- "scope": "internal"
1951
- },
1952
- {
1953
- "event": "SWITCHED",
1954
- "scope": "internal"
1955
- }
1956
- ],
1957
- "stateMachine": {
1958
- "states": [
1959
- {
1960
- "name": "closed",
1961
- "isInitial": true
1962
- },
1963
- {
1964
- "name": "open"
1965
- }
1966
- ],
1967
- "events": [
1968
- {
1969
- "key": "INIT",
1970
- "name": "Initialize"
1971
- },
1972
- {
1973
- "key": "SWITCH",
1974
- "name": "Open"
1975
- },
1976
- {
1977
- "key": "CLOSE",
1978
- "name": "Close"
1979
- },
1980
- {
1981
- "key": "SAVE",
1982
- "name": "Save",
1983
- "payload": [
1984
- {
1985
- "name": "data",
1986
- "type": "object",
1987
- "required": true
1988
- }
1989
- ]
1990
- }
1991
- ],
1992
- "transitions": [
1993
- {
1994
- "from": "closed",
1995
- "to": "closed",
1996
- "event": "INIT",
1997
- "effects": [
1998
- [
1999
- "ref",
2000
- "AgentLearner"
2001
- ],
2002
- [
2003
- "render-ui",
2004
- "main",
2005
- {
2006
- "type": "stack",
2007
- "direction": "vertical",
2008
- "gap": "lg",
2009
- "children": [
2010
- {
2011
- "type": "stack",
2012
- "direction": "horizontal",
2013
- "gap": "md",
2014
- "justify": "space-between",
2015
- "children": [
2016
- {
2017
- "type": "stack",
2018
- "direction": "horizontal",
2019
- "gap": "md",
2020
- "children": [
2021
- {
2022
- "type": "icon",
2023
- "name": "repeat",
2024
- "size": "lg"
2025
- },
2026
- {
2027
- "type": "typography",
2028
- "content": "Switch Provider",
2029
- "variant": "h2"
2030
- }
2031
- ]
2032
- },
2033
- {
2034
- "type": "button",
2035
- "label": "Open",
2036
- "event": "SWITCH",
2037
- "variant": "primary",
2038
- "icon": "repeat"
2039
- }
2040
- ]
2041
- },
2042
- {
2043
- "type": "divider"
2044
- },
2045
- {
2046
- "type": "empty-state",
2047
- "icon": "repeat",
2048
- "title": "Nothing open",
2049
- "description": "Click Open to view details in a modal overlay."
2050
- }
2051
- ]
2052
- }
2053
- ]
2054
- ]
2055
- },
2056
- {
2057
- "from": "closed",
2058
- "to": "open",
2059
- "event": "SWITCH",
2060
- "effects": [
2061
- [
2062
- "fetch",
2063
- "AgentLearner"
2064
- ],
2065
- [
2066
- "render-ui",
2067
- "modal",
2068
- {
2069
- "type": "stack",
2070
- "direction": "vertical",
2071
- "gap": "md",
2072
- "children": [
2073
- {
2074
- "type": "stack",
2075
- "direction": "horizontal",
2076
- "gap": "sm",
2077
- "children": [
2078
- {
2079
- "type": "icon",
2080
- "name": "repeat",
2081
- "size": "md"
2082
- },
2083
- {
2084
- "type": "typography",
2085
- "content": "Switch Provider",
2086
- "variant": "h3"
2087
- }
2088
- ]
2089
- },
2090
- {
2091
- "type": "divider"
2092
- },
2093
- {
2094
- "type": "stack",
2095
- "direction": "horizontal",
2096
- "gap": "md",
2097
- "children": [
2098
- {
2099
- "type": "typography",
2100
- "variant": "caption",
2101
- "content": "Current:"
2102
- },
2103
- {
2104
- "type": "badge",
2105
- "label": "@entity.currentProvider"
2106
- },
2107
- {
2108
- "type": "badge",
2109
- "label": "@entity.currentModel"
2110
- }
2111
- ]
2112
- },
2113
- {
2114
- "type": "form-section",
2115
- "entity": "AgentLearner",
2116
- "mode": "edit",
2117
- "submitEvent": "SAVE",
2118
- "cancelEvent": "CLOSE",
2119
- "fields": [
2120
- "currentProvider",
2121
- "currentModel"
2122
- ]
2123
- }
2124
- ]
2125
- }
2126
- ]
2127
- ]
2128
- },
2129
- {
2130
- "from": "open",
2131
- "to": "closed",
2132
- "event": "CLOSE",
2133
- "effects": [
2134
- [
2135
- "render-ui",
2136
- "modal",
2137
- null
2138
- ],
2139
- [
2140
- "notify",
2141
- "Cancelled",
2142
- "info"
2143
- ],
2144
- [
2145
- "ref",
2146
- "AgentLearner"
2147
- ],
2148
- [
2149
- "render-ui",
2150
- "main",
2151
- {
2152
- "type": "stack",
2153
- "direction": "vertical",
2154
- "gap": "lg",
2155
- "children": [
2156
- {
2157
- "type": "stack",
2158
- "direction": "horizontal",
2159
- "gap": "md",
2160
- "justify": "space-between",
2161
- "children": [
2162
- {
2163
- "type": "stack",
2164
- "direction": "horizontal",
2165
- "gap": "md",
2166
- "children": [
2167
- {
2168
- "type": "icon",
2169
- "name": "repeat",
2170
- "size": "lg"
2171
- },
2172
- {
2173
- "type": "typography",
2174
- "content": "Switch Provider",
2175
- "variant": "h2"
2176
- }
2177
- ]
2178
- },
2179
- {
2180
- "type": "button",
2181
- "label": "Open",
2182
- "event": "SWITCH",
2183
- "variant": "primary",
2184
- "icon": "repeat"
2185
- }
2186
- ]
2187
- },
2188
- {
2189
- "type": "divider"
2190
- },
2191
- {
2192
- "type": "empty-state",
2193
- "icon": "repeat",
2194
- "title": "Nothing open",
2195
- "description": "Click Open to view details in a modal overlay."
2196
- }
2197
- ]
2198
- }
2199
- ]
2200
- ]
2201
- },
2202
- {
2203
- "from": "open",
2204
- "to": "closed",
2205
- "event": "SAVE",
2206
- "effects": [
2207
- [
2208
- "persist",
2209
- "update",
2210
- "AgentLearner",
2211
- "@payload.data"
2212
- ],
2213
- [
2214
- "render-ui",
2215
- "modal",
2216
- null
2217
- ],
2218
- [
2219
- "emit",
2220
- "SWITCHED"
2221
- ],
2222
- [
2223
- "ref",
2224
- "AgentLearner"
2225
- ],
2226
- [
2227
- "render-ui",
2228
- "main",
2229
- {
2230
- "type": "stack",
2231
- "direction": "vertical",
2232
- "gap": "lg",
2233
- "children": [
2234
- {
2235
- "type": "stack",
2236
- "direction": "horizontal",
2237
- "gap": "md",
2238
- "justify": "space-between",
2239
- "children": [
2240
- {
2241
- "type": "stack",
2242
- "direction": "horizontal",
2243
- "gap": "md",
2244
- "children": [
2245
- {
2246
- "type": "icon",
2247
- "name": "repeat",
2248
- "size": "lg"
2249
- },
2250
- {
2251
- "type": "typography",
2252
- "content": "Switch Provider",
2253
- "variant": "h2"
2254
- }
2255
- ]
2256
- },
2257
- {
2258
- "type": "button",
2259
- "label": "Open",
2260
- "event": "SWITCH",
2261
- "variant": "primary",
2262
- "icon": "repeat"
2263
- }
2264
- ]
2265
- },
2266
- {
2267
- "type": "divider"
2268
- },
2269
- {
2270
- "type": "empty-state",
2271
- "icon": "repeat",
2272
- "title": "Nothing open",
2273
- "description": "Click Open to view details in a modal overlay."
2274
- }
2275
- ]
2276
- }
2277
- ],
2278
- [
2279
- "notify",
2280
- "AgentLearner updated successfully"
2281
- ]
2282
- ]
2283
- }
2284
- ]
2285
- },
2286
- "listens": []
2287
- }
2288
- ],
2289
- "pages": [
2290
- {
2291
- "name": "AgentLearnerPage",
2292
- "path": "/agentlearners",
2293
- "traits": [
2294
- {
2295
- "ref": "AgentLearnerLearner"
2296
- },
2297
- {
2298
- "ref": "LearnerRecordsBrowse"
2299
- },
2300
- {
2301
- "ref": "LearnerMemoryLifecycle"
2302
- },
2303
- {
2304
- "ref": "LearnerCompletionFlow"
2305
- },
2306
- {
2307
- "ref": "LearnerProviderManager"
2308
- }
2309
- ]
2310
- }
2311
- ]
2312
- }
2313
- ],
2314
- "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."
2315
- }