@almadar/std 5.2.1 → 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 +45 -4
  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 +45 -4
  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 +45 -4
  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-rag",
2
+ "name": "AgentRagOrbital",
3
3
  "version": "1.0.0",
4
- "description": "std-agent-rag -- Retrieval-Augmented Generation",
5
4
  "orbitals": [
6
5
  {
7
6
  "name": "AgentRagOrbital",
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-search",
19
- "as": "AgentSearch"
20
- },
21
- {
22
- "from": "std/behaviors/std-tabs",
23
- "as": "Tabs"
24
- }
25
- ],
26
7
  "entity": {
27
8
  "name": "AgentRag",
28
9
  "persistence": "runtime",
@@ -794,220 +775,145 @@
794
775
  }
795
776
  },
796
777
  {
797
- "ref": "Tabs.traits.TabContentTabs",
798
778
  "name": "RagTabs",
799
779
  "linkedEntity": "AgentRag",
800
- "effects": {
801
- "INIT": [
802
- [
803
- "fetch",
804
- "AgentRag"
805
- ],
806
- [
807
- "render-ui",
808
- "main",
809
- {
810
- "type": "stack",
811
- "direction": "vertical",
812
- "gap": "lg",
813
- "children": [
780
+ "category": "interaction",
781
+ "stateMachine": {
782
+ "states": [
783
+ {
784
+ "name": "idle",
785
+ "isInitial": true
786
+ }
787
+ ],
788
+ "events": [
789
+ {
790
+ "key": "INIT",
791
+ "name": "Initialize"
792
+ },
793
+ {
794
+ "key": "SELECT_TAB",
795
+ "name": "Select Tab",
796
+ "payload": [
797
+ {
798
+ "name": "tab",
799
+ "type": "string",
800
+ "required": true
801
+ }
802
+ ]
803
+ }
804
+ ],
805
+ "transitions": [
806
+ {
807
+ "from": "idle",
808
+ "to": "idle",
809
+ "event": "INIT",
810
+ "effects": [
811
+ [
812
+ "fetch",
813
+ "AgentRag"
814
+ ],
815
+ [
816
+ "render-ui",
817
+ "main",
814
818
  {
815
819
  "type": "stack",
816
- "direction": "horizontal",
817
- "gap": "sm",
818
- "align": "center",
820
+ "direction": "vertical",
821
+ "gap": "lg",
819
822
  "children": [
820
- {
821
- "type": "icon",
822
- "name": "brain",
823
- "size": "lg"
824
- },
825
- {
826
- "type": "typography",
827
- "content": "RAG Pipeline",
828
- "variant": "h2"
829
- }
830
- ]
831
- },
832
- {
833
- "type": "divider"
834
- },
835
- {
836
- "type": "tabs",
837
- "tabs": [
838
- {
839
- "label": "Query",
840
- "value": "query"
841
- },
842
- {
843
- "label": "Sources",
844
- "value": "sources"
845
- },
846
- {
847
- "label": "Response",
848
- "value": "response"
849
- }
850
- ],
851
- "defaultActiveTab": "query",
852
- "onTabChange": "SELECT_TAB"
853
- },
854
- {
855
- "type": "divider"
856
- },
857
- {
858
- "type": "data-grid",
859
- "entity": "AgentRag",
860
- "emptyIcon": "inbox",
861
- "emptyTitle": "No agentrags yet",
862
- "emptyDescription": "Add agentrags to see them here.",
863
- "className": "transition-shadow hover:shadow-md cursor-pointer",
864
- "renderItem": [
865
- "fn",
866
- "item",
867
823
  {
868
824
  "type": "stack",
869
- "direction": "vertical",
825
+ "direction": "horizontal",
870
826
  "gap": "sm",
827
+ "align": "center",
871
828
  "children": [
872
829
  {
873
- "type": "typography",
874
- "variant": "h4",
875
- "content": "@item.name"
830
+ "type": "icon",
831
+ "name": "brain",
832
+ "size": "lg"
876
833
  },
877
834
  {
878
835
  "type": "typography",
879
- "variant": "caption",
880
- "color": "muted",
881
- "content": "@item.query"
836
+ "content": "RAG Pipeline",
837
+ "variant": "h2"
882
838
  }
883
839
  ]
884
- }
885
- ]
886
- }
887
- ]
888
- }
889
- ]
890
- ],
891
- "SELECT_TAB": [
892
- [
893
- "fetch",
894
- "AgentRag"
895
- ],
896
- [
897
- "render-ui",
898
- "main",
899
- {
900
- "type": "stack",
901
- "direction": "vertical",
902
- "gap": "lg",
903
- "children": [
904
- {
905
- "type": "stack",
906
- "direction": "horizontal",
907
- "gap": "sm",
908
- "align": "center",
909
- "children": [
910
- {
911
- "type": "icon",
912
- "name": "brain",
913
- "size": "lg"
914
840
  },
915
841
  {
916
- "type": "typography",
917
- "content": "RAG Pipeline",
918
- "variant": "h2"
919
- }
920
- ]
921
- },
922
- {
923
- "type": "divider"
924
- },
925
- {
926
- "type": "tabs",
927
- "tabs": [
928
- {
929
- "label": "Query",
930
- "value": "query"
842
+ "type": "divider"
931
843
  },
932
844
  {
933
- "label": "Sources",
934
- "value": "sources"
845
+ "type": "tabs",
846
+ "tabs": [
847
+ {
848
+ "label": "Query",
849
+ "value": "query"
850
+ },
851
+ {
852
+ "label": "Sources",
853
+ "value": "sources"
854
+ },
855
+ {
856
+ "label": "Response",
857
+ "value": "response"
858
+ }
859
+ ],
860
+ "defaultActiveTab": "query",
861
+ "onTabChange": "SELECT_TAB"
935
862
  },
936
863
  {
937
- "label": "Response",
938
- "value": "response"
939
- }
940
- ],
941
- "defaultActiveTab": "query",
942
- "activeTab": "@payload.tab",
943
- "onTabChange": "SELECT_TAB"
944
- },
945
- {
946
- "type": "divider"
947
- },
948
- {
949
- "type": "data-grid",
950
- "entity": "AgentRag",
951
- "emptyIcon": "inbox",
952
- "emptyTitle": "No agentrags yet",
953
- "emptyDescription": "Add agentrags to see them here.",
954
- "className": "transition-shadow hover:shadow-md cursor-pointer",
955
- "renderItem": [
956
- "fn",
957
- "item",
864
+ "type": "divider"
865
+ },
958
866
  {
959
- "type": "stack",
960
- "direction": "vertical",
961
- "gap": "sm",
962
- "children": [
963
- {
964
- "type": "typography",
965
- "variant": "h4",
966
- "content": "@item.name"
967
- },
867
+ "type": "data-grid",
868
+ "entity": "AgentRag",
869
+ "emptyIcon": "inbox",
870
+ "emptyTitle": "No agentrags yet",
871
+ "emptyDescription": "Add agentrags to see them here.",
872
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
873
+ "renderItem": [
874
+ "fn",
875
+ "item",
968
876
  {
969
- "type": "typography",
970
- "variant": "caption",
971
- "color": "muted",
972
- "content": "@item.query"
877
+ "type": "stack",
878
+ "direction": "vertical",
879
+ "gap": "sm",
880
+ "children": [
881
+ {
882
+ "type": "typography",
883
+ "variant": "h4",
884
+ "content": "@item.name"
885
+ },
886
+ {
887
+ "type": "typography",
888
+ "variant": "caption",
889
+ "color": "muted",
890
+ "content": "@item.query"
891
+ }
892
+ ]
973
893
  }
974
894
  ]
975
895
  }
976
896
  ]
977
897
  }
978
898
  ]
979
- }
980
- ]
981
- ]
982
- }
983
- },
984
- {
985
- "ref": "AgentMemory.traits.AgentMemoryBrowse",
986
- "name": "RagMemoryLifecycle",
987
- "linkedEntity": "AgentRag",
988
- "listens": [],
989
- "emitsScope": "internal",
990
- "effects": {
991
- "INIT": [
992
- [
993
- "ref",
994
- "AgentRag"
995
- ],
996
- [
997
- "render-ui",
998
- "main",
999
- {
1000
- "type": "stack",
1001
- "direction": "vertical",
1002
- "gap": "lg",
1003
- "className": "max-w-5xl mx-auto w-full",
1004
- "children": [
899
+ ]
900
+ },
901
+ {
902
+ "from": "idle",
903
+ "to": "idle",
904
+ "event": "SELECT_TAB",
905
+ "effects": [
906
+ [
907
+ "fetch",
908
+ "AgentRag"
909
+ ],
910
+ [
911
+ "render-ui",
912
+ "main",
1005
913
  {
1006
914
  "type": "stack",
1007
- "direction": "horizontal",
1008
- "gap": "md",
1009
- "justify": "space-between",
1010
- "align": "center",
915
+ "direction": "vertical",
916
+ "gap": "lg",
1011
917
  "children": [
1012
918
  {
1013
919
  "type": "stack",
@@ -1022,499 +928,794 @@
1022
928
  },
1023
929
  {
1024
930
  "type": "typography",
1025
- "content": "AgentRag Manager",
931
+ "content": "RAG Pipeline",
1026
932
  "variant": "h2"
1027
933
  }
1028
934
  ]
1029
935
  },
1030
936
  {
1031
- "type": "stack",
1032
- "direction": "horizontal",
1033
- "gap": "sm",
1034
- "children": [
937
+ "type": "divider"
938
+ },
939
+ {
940
+ "type": "tabs",
941
+ "tabs": [
1035
942
  {
1036
- "type": "button",
1037
- "label": "Memorize",
1038
- "event": "MEMORIZE",
1039
- "variant": "primary",
1040
- "icon": "plus"
943
+ "label": "Query",
944
+ "value": "query"
1041
945
  },
1042
946
  {
1043
- "type": "button",
1044
- "label": "Recall",
1045
- "event": "RECALL",
1046
- "variant": "secondary",
1047
- "icon": "search"
947
+ "label": "Sources",
948
+ "value": "sources"
1048
949
  },
1049
950
  {
1050
- "type": "button",
1051
- "label": "Decay All",
1052
- "event": "DECAY",
1053
- "variant": "ghost",
1054
- "icon": "clock"
951
+ "label": "Response",
952
+ "value": "response"
1055
953
  }
1056
- ]
1057
- }
1058
- ]
1059
- },
1060
- {
1061
- "type": "divider"
1062
- },
1063
- {
1064
- "type": "data-grid",
1065
- "entity": "AgentRag",
1066
- "emptyIcon": "inbox",
1067
- "emptyTitle": "No memories yet",
1068
- "emptyDescription": "Create your first memory to get started.",
1069
- "itemActions": [
1070
- {
1071
- "label": "Pin",
1072
- "event": "PIN",
1073
- "variant": "ghost",
1074
- "size": "sm"
1075
- },
1076
- {
1077
- "label": "Reinforce",
1078
- "event": "REINFORCE",
1079
- "variant": "ghost",
1080
- "size": "sm"
1081
- },
1082
- {
1083
- "label": "Forget",
1084
- "event": "FORGET",
1085
- "variant": "danger",
1086
- "size": "sm"
1087
- }
1088
- ],
1089
- "columns": [
1090
- {
1091
- "name": "content",
1092
- "label": "Content",
1093
- "variant": "h4",
1094
- "icon": "brain"
954
+ ],
955
+ "defaultActiveTab": "query",
956
+ "activeTab": "@payload.tab",
957
+ "onTabChange": "SELECT_TAB"
1095
958
  },
1096
959
  {
1097
- "name": "category",
1098
- "label": "Category",
1099
- "variant": "badge",
1100
- "colorMap": {
1101
- "active": "success",
1102
- "completed": "success",
1103
- "done": "success",
1104
- "pending": "warning",
1105
- "draft": "warning",
1106
- "scheduled": "warning",
1107
- "inactive": "neutral",
1108
- "archived": "neutral",
1109
- "disabled": "neutral",
1110
- "error": "destructive",
1111
- "cancelled": "destructive",
1112
- "failed": "destructive"
1113
- }
960
+ "type": "divider"
1114
961
  },
1115
962
  {
1116
- "name": "strength",
1117
- "label": "Strength",
1118
- "variant": "caption"
963
+ "type": "data-grid",
964
+ "entity": "AgentRag",
965
+ "emptyIcon": "inbox",
966
+ "emptyTitle": "No agentrags yet",
967
+ "emptyDescription": "Add agentrags to see them here.",
968
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
969
+ "renderItem": [
970
+ "fn",
971
+ "item",
972
+ {
973
+ "type": "stack",
974
+ "direction": "vertical",
975
+ "gap": "sm",
976
+ "children": [
977
+ {
978
+ "type": "typography",
979
+ "variant": "h4",
980
+ "content": "@item.name"
981
+ },
982
+ {
983
+ "type": "typography",
984
+ "variant": "caption",
985
+ "color": "muted",
986
+ "content": "@item.query"
987
+ }
988
+ ]
989
+ }
990
+ ]
1119
991
  }
1120
992
  ]
1121
993
  }
1122
994
  ]
1123
- }
1124
- ]
995
+ ]
996
+ }
1125
997
  ]
1126
998
  }
1127
999
  },
1128
1000
  {
1129
- "ref": "AgentSearch.traits.AgentSearchBrowse",
1130
- "name": "RagSearchLifecycle",
1001
+ "name": "RagMemoryLifecycle",
1131
1002
  "linkedEntity": "AgentRag",
1003
+ "category": "interaction",
1132
1004
  "listens": [],
1133
- "emitsScope": "internal",
1134
- "effects": {
1135
- "INIT": [
1136
- [
1137
- "ref",
1138
- "AgentRag"
1139
- ],
1140
- [
1141
- "render-ui",
1142
- "main",
1143
- {
1144
- "type": "stack",
1145
- "direction": "vertical",
1146
- "gap": "lg",
1147
- "className": "max-w-5xl mx-auto w-full",
1148
- "children": [
1005
+ "stateMachine": {
1006
+ "states": [
1007
+ {
1008
+ "name": "browsing",
1009
+ "isInitial": true
1010
+ }
1011
+ ],
1012
+ "events": [
1013
+ {
1014
+ "key": "INIT",
1015
+ "name": "Initialize"
1016
+ },
1017
+ {
1018
+ "key": "MEMORIZE",
1019
+ "name": "MEMORIZE"
1020
+ },
1021
+ {
1022
+ "key": "RECALL",
1023
+ "name": "RECALL"
1024
+ },
1025
+ {
1026
+ "key": "DECAY",
1027
+ "name": "DECAY"
1028
+ },
1029
+ {
1030
+ "key": "PIN",
1031
+ "name": "PIN",
1032
+ "payload": [
1033
+ {
1034
+ "name": "id",
1035
+ "type": "string",
1036
+ "required": true
1037
+ },
1038
+ {
1039
+ "name": "row",
1040
+ "type": "object"
1041
+ }
1042
+ ]
1043
+ },
1044
+ {
1045
+ "key": "REINFORCE",
1046
+ "name": "REINFORCE",
1047
+ "payload": [
1048
+ {
1049
+ "name": "id",
1050
+ "type": "string",
1051
+ "required": true
1052
+ },
1053
+ {
1054
+ "name": "row",
1055
+ "type": "object"
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "key": "FORGET",
1061
+ "name": "FORGET",
1062
+ "payload": [
1063
+ {
1064
+ "name": "id",
1065
+ "type": "string",
1066
+ "required": true
1067
+ },
1068
+ {
1069
+ "name": "row",
1070
+ "type": "object"
1071
+ }
1072
+ ]
1073
+ }
1074
+ ],
1075
+ "transitions": [
1076
+ {
1077
+ "from": "browsing",
1078
+ "to": "browsing",
1079
+ "event": "INIT",
1080
+ "effects": [
1081
+ [
1082
+ "ref",
1083
+ "AgentRag"
1084
+ ],
1085
+ [
1086
+ "render-ui",
1087
+ "main",
1149
1088
  {
1150
1089
  "type": "stack",
1151
- "direction": "horizontal",
1152
- "gap": "md",
1153
- "justify": "space-between",
1154
- "align": "center",
1090
+ "direction": "vertical",
1091
+ "gap": "lg",
1092
+ "className": "max-w-5xl mx-auto w-full",
1155
1093
  "children": [
1156
1094
  {
1157
1095
  "type": "stack",
1158
1096
  "direction": "horizontal",
1159
- "gap": "sm",
1097
+ "gap": "md",
1098
+ "justify": "space-between",
1160
1099
  "align": "center",
1161
1100
  "children": [
1162
1101
  {
1163
- "type": "icon",
1164
- "name": "search",
1165
- "size": "lg"
1102
+ "type": "stack",
1103
+ "direction": "horizontal",
1104
+ "gap": "sm",
1105
+ "align": "center",
1106
+ "children": [
1107
+ {
1108
+ "type": "icon",
1109
+ "name": "brain",
1110
+ "size": "lg"
1111
+ },
1112
+ {
1113
+ "type": "typography",
1114
+ "content": "AgentRag Manager",
1115
+ "variant": "h2"
1116
+ }
1117
+ ]
1166
1118
  },
1167
1119
  {
1168
- "type": "typography",
1169
- "content": "AgentRag",
1170
- "variant": "h2"
1120
+ "type": "stack",
1121
+ "direction": "horizontal",
1122
+ "gap": "sm",
1123
+ "children": [
1124
+ {
1125
+ "type": "button",
1126
+ "label": "Memorize",
1127
+ "event": "MEMORIZE",
1128
+ "variant": "primary",
1129
+ "icon": "plus"
1130
+ },
1131
+ {
1132
+ "type": "button",
1133
+ "label": "Recall",
1134
+ "event": "RECALL",
1135
+ "variant": "secondary",
1136
+ "icon": "search"
1137
+ },
1138
+ {
1139
+ "type": "button",
1140
+ "label": "Decay All",
1141
+ "event": "DECAY",
1142
+ "variant": "ghost",
1143
+ "icon": "clock"
1144
+ }
1145
+ ]
1171
1146
  }
1172
1147
  ]
1173
1148
  },
1174
1149
  {
1175
- "type": "stack",
1176
- "direction": "horizontal",
1177
- "gap": "sm",
1178
- "children": [
1150
+ "type": "divider"
1151
+ },
1152
+ {
1153
+ "type": "data-grid",
1154
+ "entity": "AgentRag",
1155
+ "emptyIcon": "inbox",
1156
+ "emptyTitle": "No memories yet",
1157
+ "emptyDescription": "Create your first memory to get started.",
1158
+ "itemActions": [
1179
1159
  {
1180
- "type": "button",
1181
- "label": "Search",
1182
- "event": "SEARCH",
1183
- "variant": "primary",
1184
- "icon": "search"
1160
+ "label": "Pin",
1161
+ "event": "PIN",
1162
+ "variant": "ghost",
1163
+ "size": "sm"
1185
1164
  },
1186
1165
  {
1187
- "type": "button",
1188
- "label": "Clear",
1189
- "event": "CLEAR",
1166
+ "label": "Reinforce",
1167
+ "event": "REINFORCE",
1190
1168
  "variant": "ghost",
1191
- "icon": "x"
1169
+ "size": "sm"
1170
+ },
1171
+ {
1172
+ "label": "Forget",
1173
+ "event": "FORGET",
1174
+ "variant": "danger",
1175
+ "size": "sm"
1176
+ }
1177
+ ],
1178
+ "columns": [
1179
+ {
1180
+ "name": "content",
1181
+ "label": "Content",
1182
+ "variant": "h4",
1183
+ "icon": "brain"
1184
+ },
1185
+ {
1186
+ "name": "category",
1187
+ "label": "Category",
1188
+ "variant": "badge",
1189
+ "colorMap": {
1190
+ "active": "success",
1191
+ "completed": "success",
1192
+ "done": "success",
1193
+ "pending": "warning",
1194
+ "draft": "warning",
1195
+ "scheduled": "warning",
1196
+ "inactive": "neutral",
1197
+ "archived": "neutral",
1198
+ "disabled": "neutral",
1199
+ "error": "destructive",
1200
+ "cancelled": "destructive",
1201
+ "failed": "destructive"
1202
+ }
1203
+ },
1204
+ {
1205
+ "name": "strength",
1206
+ "label": "Strength",
1207
+ "variant": "caption"
1192
1208
  }
1193
1209
  ]
1194
1210
  }
1195
1211
  ]
1196
- },
1197
- {
1198
- "type": "divider"
1199
- },
1212
+ }
1213
+ ]
1214
+ ]
1215
+ }
1216
+ ]
1217
+ }
1218
+ },
1219
+ {
1220
+ "name": "RagSearchLifecycle",
1221
+ "linkedEntity": "AgentRag",
1222
+ "category": "interaction",
1223
+ "listens": [],
1224
+ "stateMachine": {
1225
+ "states": [
1226
+ {
1227
+ "name": "browsing",
1228
+ "isInitial": true
1229
+ }
1230
+ ],
1231
+ "events": [
1232
+ {
1233
+ "key": "INIT",
1234
+ "name": "Initialize"
1235
+ },
1236
+ {
1237
+ "key": "SEARCH",
1238
+ "name": "SEARCH"
1239
+ },
1240
+ {
1241
+ "key": "CLEAR",
1242
+ "name": "CLEAR"
1243
+ },
1244
+ {
1245
+ "key": "VIEW",
1246
+ "name": "VIEW",
1247
+ "payload": [
1248
+ {
1249
+ "name": "id",
1250
+ "type": "string",
1251
+ "required": true
1252
+ },
1253
+ {
1254
+ "name": "row",
1255
+ "type": "object"
1256
+ }
1257
+ ]
1258
+ }
1259
+ ],
1260
+ "transitions": [
1261
+ {
1262
+ "from": "browsing",
1263
+ "to": "browsing",
1264
+ "event": "INIT",
1265
+ "effects": [
1266
+ [
1267
+ "ref",
1268
+ "AgentRag"
1269
+ ],
1270
+ [
1271
+ "render-ui",
1272
+ "main",
1200
1273
  {
1201
- "type": "data-grid",
1202
- "entity": "AgentRag",
1203
- "emptyIcon": "inbox",
1204
- "emptyTitle": "No search results",
1205
- "emptyDescription": "Enter a query to search the codebase.",
1206
- "itemActions": [
1207
- {
1208
- "label": "View",
1209
- "event": "VIEW",
1210
- "variant": "ghost",
1211
- "size": "sm"
1212
- }
1213
- ],
1214
- "columns": [
1274
+ "type": "stack",
1275
+ "direction": "vertical",
1276
+ "gap": "lg",
1277
+ "className": "max-w-5xl mx-auto w-full",
1278
+ "children": [
1215
1279
  {
1216
- "name": "query",
1217
- "label": "Query",
1218
- "variant": "h4",
1219
- "icon": "search"
1280
+ "type": "stack",
1281
+ "direction": "horizontal",
1282
+ "gap": "md",
1283
+ "justify": "space-between",
1284
+ "align": "center",
1285
+ "children": [
1286
+ {
1287
+ "type": "stack",
1288
+ "direction": "horizontal",
1289
+ "gap": "sm",
1290
+ "align": "center",
1291
+ "children": [
1292
+ {
1293
+ "type": "icon",
1294
+ "name": "search",
1295
+ "size": "lg"
1296
+ },
1297
+ {
1298
+ "type": "typography",
1299
+ "content": "AgentRag",
1300
+ "variant": "h2"
1301
+ }
1302
+ ]
1303
+ },
1304
+ {
1305
+ "type": "stack",
1306
+ "direction": "horizontal",
1307
+ "gap": "sm",
1308
+ "children": [
1309
+ {
1310
+ "type": "button",
1311
+ "label": "Search",
1312
+ "event": "SEARCH",
1313
+ "variant": "primary",
1314
+ "icon": "search"
1315
+ },
1316
+ {
1317
+ "type": "button",
1318
+ "label": "Clear",
1319
+ "event": "CLEAR",
1320
+ "variant": "ghost",
1321
+ "icon": "x"
1322
+ }
1323
+ ]
1324
+ }
1325
+ ]
1220
1326
  },
1221
1327
  {
1222
- "name": "language",
1223
- "label": "Language",
1224
- "variant": "badge",
1225
- "colorMap": {
1226
- "active": "success",
1227
- "completed": "success",
1228
- "done": "success",
1229
- "pending": "warning",
1230
- "draft": "warning",
1231
- "scheduled": "warning",
1232
- "inactive": "neutral",
1233
- "archived": "neutral",
1234
- "disabled": "neutral",
1235
- "error": "destructive",
1236
- "cancelled": "destructive",
1237
- "failed": "destructive"
1238
- }
1328
+ "type": "divider"
1239
1329
  },
1240
1330
  {
1241
- "name": "resultCount",
1242
- "label": "Result Count",
1243
- "variant": "caption"
1331
+ "type": "data-grid",
1332
+ "entity": "AgentRag",
1333
+ "emptyIcon": "inbox",
1334
+ "emptyTitle": "No search results",
1335
+ "emptyDescription": "Enter a query to search the codebase.",
1336
+ "itemActions": [
1337
+ {
1338
+ "label": "View",
1339
+ "event": "VIEW",
1340
+ "variant": "ghost",
1341
+ "size": "sm"
1342
+ }
1343
+ ],
1344
+ "columns": [
1345
+ {
1346
+ "name": "query",
1347
+ "label": "Query",
1348
+ "variant": "h4",
1349
+ "icon": "search"
1350
+ },
1351
+ {
1352
+ "name": "language",
1353
+ "label": "Language",
1354
+ "variant": "badge",
1355
+ "colorMap": {
1356
+ "active": "success",
1357
+ "completed": "success",
1358
+ "done": "success",
1359
+ "pending": "warning",
1360
+ "draft": "warning",
1361
+ "scheduled": "warning",
1362
+ "inactive": "neutral",
1363
+ "archived": "neutral",
1364
+ "disabled": "neutral",
1365
+ "error": "destructive",
1366
+ "cancelled": "destructive",
1367
+ "failed": "destructive"
1368
+ }
1369
+ },
1370
+ {
1371
+ "name": "resultCount",
1372
+ "label": "Result Count",
1373
+ "variant": "caption"
1374
+ }
1375
+ ]
1244
1376
  }
1245
1377
  ]
1246
1378
  }
1247
1379
  ]
1248
- }
1249
- ]
1380
+ ]
1381
+ }
1250
1382
  ]
1251
1383
  }
1252
1384
  },
1253
1385
  {
1254
- "ref": "AgentCompletion.traits.AgentCompletionModal",
1255
1386
  "name": "RagCompletionFlow",
1256
1387
  "linkedEntity": "AgentRag",
1257
- "listens": [],
1258
- "emitsScope": "internal",
1259
- "effects": {
1260
- "INIT": [
1261
- [
1262
- "ref",
1263
- "AgentRag"
1264
- ],
1265
- [
1266
- "render-ui",
1267
- "main",
1268
- {
1269
- "type": "stack",
1270
- "direction": "vertical",
1271
- "gap": "lg",
1272
- "children": [
1388
+ "category": "interaction",
1389
+ "emits": [
1390
+ {
1391
+ "event": "SAVE",
1392
+ "scope": "internal"
1393
+ },
1394
+ {
1395
+ "event": "GENERATED",
1396
+ "scope": "internal"
1397
+ }
1398
+ ],
1399
+ "stateMachine": {
1400
+ "states": [
1401
+ {
1402
+ "name": "closed",
1403
+ "isInitial": true
1404
+ },
1405
+ {
1406
+ "name": "open"
1407
+ }
1408
+ ],
1409
+ "events": [
1410
+ {
1411
+ "key": "INIT",
1412
+ "name": "Initialize"
1413
+ },
1414
+ {
1415
+ "key": "GENERATE",
1416
+ "name": "Open"
1417
+ },
1418
+ {
1419
+ "key": "CLOSE",
1420
+ "name": "Close"
1421
+ },
1422
+ {
1423
+ "key": "SAVE",
1424
+ "name": "Save",
1425
+ "payload": [
1426
+ {
1427
+ "name": "data",
1428
+ "type": "object",
1429
+ "required": true
1430
+ }
1431
+ ]
1432
+ }
1433
+ ],
1434
+ "transitions": [
1435
+ {
1436
+ "from": "closed",
1437
+ "to": "closed",
1438
+ "event": "INIT",
1439
+ "effects": [
1440
+ [
1441
+ "ref",
1442
+ "AgentRag"
1443
+ ],
1444
+ [
1445
+ "render-ui",
1446
+ "main",
1273
1447
  {
1274
1448
  "type": "stack",
1275
- "direction": "horizontal",
1276
- "gap": "md",
1277
- "justify": "space-between",
1449
+ "direction": "vertical",
1450
+ "gap": "lg",
1278
1451
  "children": [
1279
1452
  {
1280
1453
  "type": "stack",
1281
1454
  "direction": "horizontal",
1282
1455
  "gap": "md",
1456
+ "justify": "space-between",
1283
1457
  "children": [
1284
1458
  {
1285
- "type": "icon",
1286
- "name": "sparkles",
1287
- "size": "lg"
1459
+ "type": "stack",
1460
+ "direction": "horizontal",
1461
+ "gap": "md",
1462
+ "children": [
1463
+ {
1464
+ "type": "icon",
1465
+ "name": "sparkles",
1466
+ "size": "lg"
1467
+ },
1468
+ {
1469
+ "type": "typography",
1470
+ "content": "AgentRag",
1471
+ "variant": "h2"
1472
+ }
1473
+ ]
1288
1474
  },
1289
1475
  {
1290
- "type": "typography",
1291
- "content": "AgentRag",
1292
- "variant": "h2"
1476
+ "type": "button",
1477
+ "label": "Open",
1478
+ "event": "GENERATE",
1479
+ "variant": "primary",
1480
+ "icon": "sparkles"
1293
1481
  }
1294
1482
  ]
1295
1483
  },
1296
1484
  {
1297
- "type": "button",
1298
- "label": "Open",
1299
- "event": "GENERATE",
1300
- "variant": "primary",
1301
- "icon": "sparkles"
1485
+ "type": "divider"
1486
+ },
1487
+ {
1488
+ "type": "empty-state",
1489
+ "icon": "sparkles",
1490
+ "title": "Nothing open",
1491
+ "description": "Click Open to view details in a modal overlay."
1302
1492
  }
1303
1493
  ]
1304
- },
1305
- {
1306
- "type": "divider"
1307
- },
1308
- {
1309
- "type": "empty-state",
1310
- "icon": "sparkles",
1311
- "title": "Nothing open",
1312
- "description": "Click Open to view details in a modal overlay."
1313
1494
  }
1314
1495
  ]
1315
- }
1316
- ]
1317
- ],
1318
- "GENERATE": [
1319
- [
1320
- "render-ui",
1321
- "modal",
1322
- {
1323
- "type": "stack",
1324
- "direction": "vertical",
1325
- "gap": "md",
1326
- "children": [
1496
+ ]
1497
+ },
1498
+ {
1499
+ "from": "closed",
1500
+ "to": "open",
1501
+ "event": "GENERATE",
1502
+ "effects": [
1503
+ [
1504
+ "render-ui",
1505
+ "modal",
1327
1506
  {
1328
1507
  "type": "stack",
1329
- "direction": "horizontal",
1330
- "gap": "sm",
1508
+ "direction": "vertical",
1509
+ "gap": "md",
1331
1510
  "children": [
1332
1511
  {
1333
- "type": "icon",
1334
- "name": "sparkles",
1335
- "size": "md"
1512
+ "type": "stack",
1513
+ "direction": "horizontal",
1514
+ "gap": "sm",
1515
+ "children": [
1516
+ {
1517
+ "type": "icon",
1518
+ "name": "sparkles",
1519
+ "size": "md"
1520
+ },
1521
+ {
1522
+ "type": "typography",
1523
+ "content": "AgentRag",
1524
+ "variant": "h3"
1525
+ }
1526
+ ]
1336
1527
  },
1337
1528
  {
1338
- "type": "typography",
1339
- "content": "AgentRag",
1340
- "variant": "h3"
1341
- }
1342
- ]
1343
- },
1344
- {
1345
- "type": "divider"
1346
- },
1347
- {
1348
- "type": "stack",
1349
- "direction": "horizontal",
1350
- "gap": "sm",
1351
- "children": [
1529
+ "type": "divider"
1530
+ },
1352
1531
  {
1353
- "type": "badge",
1354
- "label": "@entity.provider"
1532
+ "type": "stack",
1533
+ "direction": "horizontal",
1534
+ "gap": "sm",
1535
+ "children": [
1536
+ {
1537
+ "type": "badge",
1538
+ "label": "@entity.provider"
1539
+ },
1540
+ {
1541
+ "type": "badge",
1542
+ "label": "@entity.model"
1543
+ }
1544
+ ]
1355
1545
  },
1356
1546
  {
1357
- "type": "badge",
1358
- "label": "@entity.model"
1547
+ "type": "form-section",
1548
+ "entity": "AgentRag",
1549
+ "mode": "create",
1550
+ "submitEvent": "SAVE",
1551
+ "cancelEvent": "CLOSE",
1552
+ "fields": [
1553
+ "prompt"
1554
+ ]
1359
1555
  }
1360
1556
  ]
1361
- },
1362
- {
1363
- "type": "form-section",
1364
- "entity": "AgentRag",
1365
- "mode": "create",
1366
- "submitEvent": "SAVE",
1367
- "cancelEvent": "CLOSE",
1368
- "fields": [
1369
- "prompt"
1370
- ]
1371
1557
  }
1372
1558
  ]
1373
- }
1374
- ]
1375
- ],
1376
- "CLOSE": [
1377
- [
1378
- "render-ui",
1379
- "modal",
1380
- null
1381
- ],
1382
- [
1383
- "notify",
1384
- "Cancelled",
1385
- "info"
1386
- ],
1387
- [
1388
- "ref",
1389
- "AgentRag"
1390
- ],
1391
- [
1392
- "render-ui",
1393
- "main",
1394
- {
1395
- "type": "stack",
1396
- "direction": "vertical",
1397
- "gap": "lg",
1398
- "children": [
1559
+ ]
1560
+ },
1561
+ {
1562
+ "from": "open",
1563
+ "to": "closed",
1564
+ "event": "CLOSE",
1565
+ "effects": [
1566
+ [
1567
+ "render-ui",
1568
+ "modal",
1569
+ null
1570
+ ],
1571
+ [
1572
+ "notify",
1573
+ "Cancelled",
1574
+ "info"
1575
+ ],
1576
+ [
1577
+ "ref",
1578
+ "AgentRag"
1579
+ ],
1580
+ [
1581
+ "render-ui",
1582
+ "main",
1399
1583
  {
1400
1584
  "type": "stack",
1401
- "direction": "horizontal",
1402
- "gap": "md",
1403
- "justify": "space-between",
1585
+ "direction": "vertical",
1586
+ "gap": "lg",
1404
1587
  "children": [
1405
1588
  {
1406
1589
  "type": "stack",
1407
1590
  "direction": "horizontal",
1408
1591
  "gap": "md",
1592
+ "justify": "space-between",
1409
1593
  "children": [
1410
1594
  {
1411
- "type": "icon",
1412
- "name": "sparkles",
1413
- "size": "lg"
1595
+ "type": "stack",
1596
+ "direction": "horizontal",
1597
+ "gap": "md",
1598
+ "children": [
1599
+ {
1600
+ "type": "icon",
1601
+ "name": "sparkles",
1602
+ "size": "lg"
1603
+ },
1604
+ {
1605
+ "type": "typography",
1606
+ "content": "AgentRag",
1607
+ "variant": "h2"
1608
+ }
1609
+ ]
1414
1610
  },
1415
1611
  {
1416
- "type": "typography",
1417
- "content": "AgentRag",
1418
- "variant": "h2"
1612
+ "type": "button",
1613
+ "label": "Open",
1614
+ "event": "GENERATE",
1615
+ "variant": "primary",
1616
+ "icon": "sparkles"
1419
1617
  }
1420
1618
  ]
1421
1619
  },
1422
1620
  {
1423
- "type": "button",
1424
- "label": "Open",
1425
- "event": "GENERATE",
1426
- "variant": "primary",
1427
- "icon": "sparkles"
1621
+ "type": "divider"
1622
+ },
1623
+ {
1624
+ "type": "empty-state",
1625
+ "icon": "sparkles",
1626
+ "title": "Nothing open",
1627
+ "description": "Click Open to view details in a modal overlay."
1428
1628
  }
1429
1629
  ]
1430
- },
1431
- {
1432
- "type": "divider"
1433
- },
1434
- {
1435
- "type": "empty-state",
1436
- "icon": "sparkles",
1437
- "title": "Nothing open",
1438
- "description": "Click Open to view details in a modal overlay."
1439
1630
  }
1440
1631
  ]
1441
- }
1442
- ]
1443
- ],
1444
- "SAVE": [
1445
- [
1446
- "persist",
1447
- "create",
1448
- "AgentRag",
1449
- "@payload.data"
1450
- ],
1451
- [
1452
- "render-ui",
1453
- "modal",
1454
- null
1455
- ],
1456
- [
1457
- "emit",
1458
- "GENERATED"
1459
- ],
1460
- [
1461
- "ref",
1462
- "AgentRag"
1463
- ],
1464
- [
1465
- "render-ui",
1466
- "main",
1467
- {
1468
- "type": "stack",
1469
- "direction": "vertical",
1470
- "gap": "lg",
1471
- "children": [
1632
+ ]
1633
+ },
1634
+ {
1635
+ "from": "open",
1636
+ "to": "closed",
1637
+ "event": "SAVE",
1638
+ "effects": [
1639
+ [
1640
+ "persist",
1641
+ "create",
1642
+ "AgentRag",
1643
+ "@payload.data"
1644
+ ],
1645
+ [
1646
+ "render-ui",
1647
+ "modal",
1648
+ null
1649
+ ],
1650
+ [
1651
+ "emit",
1652
+ "GENERATED"
1653
+ ],
1654
+ [
1655
+ "ref",
1656
+ "AgentRag"
1657
+ ],
1658
+ [
1659
+ "render-ui",
1660
+ "main",
1472
1661
  {
1473
1662
  "type": "stack",
1474
- "direction": "horizontal",
1475
- "gap": "md",
1476
- "justify": "space-between",
1663
+ "direction": "vertical",
1664
+ "gap": "lg",
1477
1665
  "children": [
1478
1666
  {
1479
1667
  "type": "stack",
1480
1668
  "direction": "horizontal",
1481
1669
  "gap": "md",
1670
+ "justify": "space-between",
1482
1671
  "children": [
1483
1672
  {
1484
- "type": "icon",
1485
- "name": "sparkles",
1486
- "size": "lg"
1673
+ "type": "stack",
1674
+ "direction": "horizontal",
1675
+ "gap": "md",
1676
+ "children": [
1677
+ {
1678
+ "type": "icon",
1679
+ "name": "sparkles",
1680
+ "size": "lg"
1681
+ },
1682
+ {
1683
+ "type": "typography",
1684
+ "content": "AgentRag",
1685
+ "variant": "h2"
1686
+ }
1687
+ ]
1487
1688
  },
1488
1689
  {
1489
- "type": "typography",
1490
- "content": "AgentRag",
1491
- "variant": "h2"
1690
+ "type": "button",
1691
+ "label": "Open",
1692
+ "event": "GENERATE",
1693
+ "variant": "primary",
1694
+ "icon": "sparkles"
1492
1695
  }
1493
1696
  ]
1494
1697
  },
1495
1698
  {
1496
- "type": "button",
1497
- "label": "Open",
1498
- "event": "GENERATE",
1499
- "variant": "primary",
1500
- "icon": "sparkles"
1699
+ "type": "divider"
1700
+ },
1701
+ {
1702
+ "type": "empty-state",
1703
+ "icon": "sparkles",
1704
+ "title": "Nothing open",
1705
+ "description": "Click Open to view details in a modal overlay."
1501
1706
  }
1502
1707
  ]
1503
- },
1504
- {
1505
- "type": "divider"
1506
- },
1507
- {
1508
- "type": "empty-state",
1509
- "icon": "sparkles",
1510
- "title": "Nothing open",
1511
- "description": "Click Open to view details in a modal overlay."
1512
1708
  }
1709
+ ],
1710
+ [
1711
+ "notify",
1712
+ "AgentRag created successfully"
1513
1713
  ]
1514
- }
1515
- ]
1714
+ ]
1715
+ }
1516
1716
  ]
1517
- }
1717
+ },
1718
+ "listens": []
1518
1719
  }
1519
1720
  ],
1520
1721
  "pages": [
@@ -1541,5 +1742,6 @@
1541
1742
  }
1542
1743
  ]
1543
1744
  }
1544
- ]
1545
- }
1745
+ ],
1746
+ "description": "Composes agent atoms + UI atoms into a RAG pipeline with tabbed views. Retrieves relevant memories and code snippets, injects them as context, then generates a response with the augmented prompt. Composed atoms: - stdAgentMemory: recall memories by semantic query - stdAgentSearch: search code repositories for relevant snippets - stdAgentCompletion: generate response with augmented context - stdTabs: tabbed view for Query / Sources / Response Cross-trait events: - GENERATE (RagOrchestrator -> MemoryLifecycle): trigger recall - RETRIEVAL_DONE (RagOrchestrator -> SearchLifecycle): trigger search after recall - GENERATION_DONE (RagOrchestrator -> CompletionFlow): trigger completion (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."
1747
+ }