@almadar/std 5.0.0 → 5.2.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 (421) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  4. package/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  7. package/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  8. package/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  9. package/behaviors/exports/atoms/std-agent-search.orb +6 -27
  10. package/behaviors/exports/atoms/std-agent-session.orb +11 -85
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  14. package/behaviors/exports/atoms/std-async.orb +5 -8
  15. package/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  16. package/behaviors/exports/atoms/std-browse.orb +5 -4
  17. package/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  18. package/behaviors/exports/atoms/std-calendar.orb +5 -4
  19. package/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  20. package/behaviors/exports/atoms/std-collision.orb +5 -4
  21. package/behaviors/exports/atoms/std-combat-log.orb +5 -4
  22. package/behaviors/exports/atoms/std-combat.orb +5 -4
  23. package/behaviors/exports/atoms/std-confirmation.orb +10 -4
  24. package/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  25. package/behaviors/exports/atoms/std-display.orb +5 -4
  26. package/behaviors/exports/atoms/std-drawer.orb +5 -4
  27. package/behaviors/exports/atoms/std-filter.orb +5 -4
  28. package/behaviors/exports/atoms/std-flip-card.orb +5 -4
  29. package/behaviors/exports/atoms/std-gallery.orb +5 -4
  30. package/behaviors/exports/atoms/std-game-audio.orb +5 -4
  31. package/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  32. package/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  33. package/behaviors/exports/atoms/std-game-hud.orb +5 -4
  34. package/behaviors/exports/atoms/std-game-menu.orb +5 -4
  35. package/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  36. package/behaviors/exports/atoms/std-gameflow.orb +5 -4
  37. package/behaviors/exports/atoms/std-input.orb +5 -4
  38. package/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  39. package/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  40. package/behaviors/exports/atoms/std-loading.orb +5 -4
  41. package/behaviors/exports/atoms/std-modal.orb +89 -4
  42. package/behaviors/exports/atoms/std-movement.orb +5 -4
  43. package/behaviors/exports/atoms/std-notification.orb +5 -4
  44. package/behaviors/exports/atoms/std-overworld.orb +5 -4
  45. package/behaviors/exports/atoms/std-pagination.orb +5 -4
  46. package/behaviors/exports/atoms/std-physics2d.orb +5 -4
  47. package/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  48. package/behaviors/exports/atoms/std-quest.orb +5 -8
  49. package/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  50. package/behaviors/exports/atoms/std-rating.orb +5 -4
  51. package/behaviors/exports/atoms/std-score-board.orb +5 -4
  52. package/behaviors/exports/atoms/std-score.orb +5 -4
  53. package/behaviors/exports/atoms/std-search.orb +5 -4
  54. package/behaviors/exports/atoms/std-selection.orb +5 -4
  55. package/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  56. package/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  57. package/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  58. package/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  59. package/behaviors/exports/atoms/std-service-email.orb +5 -4
  60. package/behaviors/exports/atoms/std-service-github.orb +5 -4
  61. package/behaviors/exports/atoms/std-service-llm.orb +5 -4
  62. package/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  63. package/behaviors/exports/atoms/std-service-redis.orb +5 -4
  64. package/behaviors/exports/atoms/std-service-storage.orb +5 -4
  65. package/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  66. package/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  67. package/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  68. package/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  69. package/behaviors/exports/atoms/std-sort.orb +5 -4
  70. package/behaviors/exports/atoms/std-sprite.orb +5 -4
  71. package/behaviors/exports/atoms/std-tabs.orb +5 -4
  72. package/behaviors/exports/atoms/std-text-effects.orb +5 -4
  73. package/behaviors/exports/atoms/std-theme.orb +5 -4
  74. package/behaviors/exports/atoms/std-timer.orb +5 -4
  75. package/behaviors/exports/atoms/std-undo.orb +5 -4
  76. package/behaviors/exports/atoms/std-upload.orb +5 -4
  77. package/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  78. package/behaviors/exports/atoms/std-wizard.orb +5 -4
  79. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  80. package/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  81. package/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  82. package/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  83. package/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  84. package/behaviors/exports/molecules/std-builder-game.orb +5 -4
  85. package/behaviors/exports/molecules/std-cart.orb +196 -307
  86. package/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  87. package/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  88. package/behaviors/exports/molecules/std-detail.orb +309 -467
  89. package/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  90. package/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  91. package/behaviors/exports/molecules/std-geospatial.orb +363 -539
  92. package/behaviors/exports/molecules/std-inventory.orb +390 -720
  93. package/behaviors/exports/molecules/std-list.orb +526 -1156
  94. package/behaviors/exports/molecules/std-messaging.orb +295 -452
  95. package/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  96. package/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  97. package/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  98. package/behaviors/exports/molecules/std-quiz.orb +5 -4
  99. package/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  100. package/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  101. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  102. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  103. package/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  104. package/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  105. package/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  106. package/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  107. package/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  108. package/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  109. package/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  110. package/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  111. package/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  112. package/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  113. package/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  114. package/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  115. package/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  116. package/behaviors/exports/organisms/std-cms.orb +1274 -1972
  117. package/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  118. package/behaviors/exports/organisms/std-crm.orb +999 -1775
  119. package/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  120. package/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  121. package/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  122. package/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  123. package/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  124. package/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  125. package/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  126. package/behaviors/exports/organisms/std-lms.orb +284 -632
  127. package/behaviors/exports/organisms/std-logic-training.orb +4 -4
  128. package/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  129. package/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  130. package/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  131. package/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  132. package/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  133. package/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  134. package/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  135. package/behaviors/exports/organisms/std-social-feed.orb +62 -66
  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 +274 -620
  139. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +5 -45
  140. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +5 -55
  141. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +8 -8
  142. package/dist/behaviors/exports/atoms/std-agent-completion.orb +8 -8
  143. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +5 -4
  144. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +5 -71
  145. package/dist/behaviors/exports/atoms/std-agent-memory.orb +13 -127
  146. package/dist/behaviors/exports/atoms/std-agent-provider.orb +8 -8
  147. package/dist/behaviors/exports/atoms/std-agent-search.orb +6 -27
  148. package/dist/behaviors/exports/atoms/std-agent-session.orb +11 -85
  149. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +5 -4
  150. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +5 -4
  151. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +8 -8
  152. package/dist/behaviors/exports/atoms/std-async.orb +5 -8
  153. package/dist/behaviors/exports/atoms/std-autoregressive.orb +4 -2
  154. package/dist/behaviors/exports/atoms/std-browse.orb +5 -4
  155. package/dist/behaviors/exports/atoms/std-cache-aside.orb +5 -8
  156. package/dist/behaviors/exports/atoms/std-calendar.orb +5 -4
  157. package/dist/behaviors/exports/atoms/std-circuit-breaker.orb +5 -4
  158. package/dist/behaviors/exports/atoms/std-collision.orb +5 -4
  159. package/dist/behaviors/exports/atoms/std-combat-log.orb +5 -4
  160. package/dist/behaviors/exports/atoms/std-combat.orb +5 -4
  161. package/dist/behaviors/exports/atoms/std-confirmation.orb +10 -4
  162. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +5 -4
  163. package/dist/behaviors/exports/atoms/std-display.orb +5 -4
  164. package/dist/behaviors/exports/atoms/std-drawer.orb +5 -4
  165. package/dist/behaviors/exports/atoms/std-filter.orb +5 -4
  166. package/dist/behaviors/exports/atoms/std-flip-card.orb +5 -4
  167. package/dist/behaviors/exports/atoms/std-gallery.orb +5 -4
  168. package/dist/behaviors/exports/atoms/std-game-audio.orb +5 -4
  169. package/dist/behaviors/exports/atoms/std-game-canvas2d.orb +4 -2
  170. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +4 -2
  171. package/dist/behaviors/exports/atoms/std-game-hud.orb +5 -4
  172. package/dist/behaviors/exports/atoms/std-game-menu.orb +5 -4
  173. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +5 -4
  174. package/dist/behaviors/exports/atoms/std-gameflow.orb +5 -4
  175. package/dist/behaviors/exports/atoms/std-input.orb +5 -4
  176. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +5 -8
  177. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +5 -4
  178. package/dist/behaviors/exports/atoms/std-loading.orb +5 -4
  179. package/dist/behaviors/exports/atoms/std-modal.orb +89 -4
  180. package/dist/behaviors/exports/atoms/std-movement.orb +5 -4
  181. package/dist/behaviors/exports/atoms/std-notification.orb +5 -4
  182. package/dist/behaviors/exports/atoms/std-overworld.orb +5 -4
  183. package/dist/behaviors/exports/atoms/std-pagination.orb +5 -4
  184. package/dist/behaviors/exports/atoms/std-physics2d.orb +5 -4
  185. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +5 -4
  186. package/dist/behaviors/exports/atoms/std-quest.orb +5 -8
  187. package/dist/behaviors/exports/atoms/std-rate-limiter.orb +5 -4
  188. package/dist/behaviors/exports/atoms/std-rating.orb +5 -4
  189. package/dist/behaviors/exports/atoms/std-score-board.orb +5 -4
  190. package/dist/behaviors/exports/atoms/std-score.orb +5 -4
  191. package/dist/behaviors/exports/atoms/std-search.orb +5 -4
  192. package/dist/behaviors/exports/atoms/std-selection.orb +5 -4
  193. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +5 -15
  194. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +5 -17
  195. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +5 -11
  196. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +5 -17
  197. package/dist/behaviors/exports/atoms/std-service-email.orb +5 -4
  198. package/dist/behaviors/exports/atoms/std-service-github.orb +5 -4
  199. package/dist/behaviors/exports/atoms/std-service-llm.orb +5 -4
  200. package/dist/behaviors/exports/atoms/std-service-oauth.orb +5 -4
  201. package/dist/behaviors/exports/atoms/std-service-redis.orb +5 -4
  202. package/dist/behaviors/exports/atoms/std-service-storage.orb +5 -4
  203. package/dist/behaviors/exports/atoms/std-service-stripe.orb +5 -4
  204. package/dist/behaviors/exports/atoms/std-service-twilio.orb +5 -4
  205. package/dist/behaviors/exports/atoms/std-service-youtube.orb +5 -4
  206. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +5 -4
  207. package/dist/behaviors/exports/atoms/std-sort.orb +5 -4
  208. package/dist/behaviors/exports/atoms/std-sprite.orb +5 -4
  209. package/dist/behaviors/exports/atoms/std-tabs.orb +5 -4
  210. package/dist/behaviors/exports/atoms/std-text-effects.orb +5 -4
  211. package/dist/behaviors/exports/atoms/std-theme.orb +5 -4
  212. package/dist/behaviors/exports/atoms/std-timer.orb +5 -4
  213. package/dist/behaviors/exports/atoms/std-undo.orb +5 -4
  214. package/dist/behaviors/exports/atoms/std-upload.orb +5 -4
  215. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +5 -32
  216. package/dist/behaviors/exports/atoms/std-wizard.orb +5 -4
  217. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  218. package/dist/behaviors/exports/molecules/std-agent-learner.orb +608 -938
  219. package/dist/behaviors/exports/molecules/std-agent-planner.orb +613 -961
  220. package/dist/behaviors/exports/molecules/std-agent-rag.orb +586 -915
  221. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +915 -2846
  222. package/dist/behaviors/exports/molecules/std-builder-game.orb +5 -4
  223. package/dist/behaviors/exports/molecules/std-cart.orb +196 -307
  224. package/dist/behaviors/exports/molecules/std-classifier-game.orb +5 -4
  225. package/dist/behaviors/exports/molecules/std-debugger-game.orb +5 -4
  226. package/dist/behaviors/exports/molecules/std-detail.orb +309 -467
  227. package/dist/behaviors/exports/molecules/std-event-handler-game.orb +5 -4
  228. package/dist/behaviors/exports/molecules/std-form-advanced.orb +5 -8
  229. package/dist/behaviors/exports/molecules/std-geospatial.orb +363 -539
  230. package/dist/behaviors/exports/molecules/std-inventory.orb +390 -720
  231. package/dist/behaviors/exports/molecules/std-list.orb +526 -1156
  232. package/dist/behaviors/exports/molecules/std-messaging.orb +295 -452
  233. package/dist/behaviors/exports/molecules/std-negotiator-game.orb +5 -4
  234. package/dist/behaviors/exports/molecules/std-platformer-game.orb +5 -4
  235. package/dist/behaviors/exports/molecules/std-puzzle-game.orb +5 -4
  236. package/dist/behaviors/exports/molecules/std-quiz.orb +5 -4
  237. package/dist/behaviors/exports/molecules/std-sequencer-game.orb +5 -4
  238. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +5 -4
  239. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +5 -42
  240. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +5 -4
  241. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +5 -4
  242. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +5 -4
  243. package/dist/behaviors/exports/molecules/std-simulator-game.orb +5 -4
  244. package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +5 -4
  245. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +15 -143
  246. package/dist/behaviors/exports/organisms/std-agent-builder.orb +814 -1476
  247. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +785 -1567
  248. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +299 -502
  249. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +306 -493
  250. package/dist/behaviors/exports/organisms/std-api-gateway.orb +284 -626
  251. package/dist/behaviors/exports/organisms/std-arcade-game.orb +4 -4
  252. package/dist/behaviors/exports/organisms/std-booking-system.orb +1422 -2160
  253. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +274 -617
  254. package/dist/behaviors/exports/organisms/std-cms.orb +1274 -1972
  255. package/dist/behaviors/exports/organisms/std-coding-academy.orb +4 -4
  256. package/dist/behaviors/exports/organisms/std-crm.orb +999 -1775
  257. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +284 -638
  258. package/dist/behaviors/exports/organisms/std-ecommerce.orb +1653 -2398
  259. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +340 -684
  260. package/dist/behaviors/exports/organisms/std-healthcare.orb +984 -1838
  261. package/dist/behaviors/exports/organisms/std-helpdesk.orb +340 -744
  262. package/dist/behaviors/exports/organisms/std-hr-portal.orb +1401 -2151
  263. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +284 -626
  264. package/dist/behaviors/exports/organisms/std-lms.orb +284 -632
  265. package/dist/behaviors/exports/organisms/std-logic-training.orb +4 -4
  266. package/dist/behaviors/exports/organisms/std-platformer-app.orb +15 -98
  267. package/dist/behaviors/exports/organisms/std-project-manager.orb +970 -1774
  268. package/dist/behaviors/exports/organisms/std-puzzle-app.orb +4 -4
  269. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +364 -714
  270. package/dist/behaviors/exports/organisms/std-rpg-game.orb +15 -102
  271. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +1589 -2361
  272. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +4 -15
  273. package/dist/behaviors/exports/organisms/std-social-feed.orb +62 -66
  274. package/dist/behaviors/exports/organisms/std-stem-lab.orb +4 -4
  275. package/dist/behaviors/exports/organisms/std-strategy-game.orb +4 -4
  276. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +274 -620
  277. package/dist/behaviors/exports-reader.js.map +1 -1
  278. package/dist/behaviors/functions/index.d.ts +2192 -0
  279. package/dist/behaviors/functions/index.js.map +1 -1
  280. package/dist/behaviors/index.js.map +1 -1
  281. package/dist/behaviors/query.js.map +1 -1
  282. package/dist/exports/atoms/std-agent-activity-log.orb +5 -45
  283. package/dist/exports/atoms/std-agent-chat-thread.orb +5 -55
  284. package/dist/exports/atoms/std-agent-classifier.orb +8 -8
  285. package/dist/exports/atoms/std-agent-completion.orb +8 -8
  286. package/dist/exports/atoms/std-agent-context-window.orb +5 -4
  287. package/dist/exports/atoms/std-agent-conversation.orb +5 -71
  288. package/dist/exports/atoms/std-agent-memory.orb +13 -127
  289. package/dist/exports/atoms/std-agent-provider.orb +8 -8
  290. package/dist/exports/atoms/std-agent-search.orb +6 -27
  291. package/dist/exports/atoms/std-agent-session.orb +11 -85
  292. package/dist/exports/atoms/std-agent-step-progress.orb +5 -4
  293. package/dist/exports/atoms/std-agent-token-gauge.orb +5 -4
  294. package/dist/exports/atoms/std-agent-tool-call.orb +8 -8
  295. package/dist/exports/atoms/std-async.orb +5 -8
  296. package/dist/exports/atoms/std-autoregressive.orb +4 -2
  297. package/dist/exports/atoms/std-browse.orb +5 -4
  298. package/dist/exports/atoms/std-cache-aside.orb +5 -8
  299. package/dist/exports/atoms/std-calendar.orb +5 -4
  300. package/dist/exports/atoms/std-circuit-breaker.orb +5 -4
  301. package/dist/exports/atoms/std-collision.orb +5 -4
  302. package/dist/exports/atoms/std-combat-log.orb +5 -4
  303. package/dist/exports/atoms/std-combat.orb +5 -4
  304. package/dist/exports/atoms/std-confirmation.orb +10 -4
  305. package/dist/exports/atoms/std-dialogue-box.orb +5 -4
  306. package/dist/exports/atoms/std-display.orb +5 -4
  307. package/dist/exports/atoms/std-drawer.orb +5 -4
  308. package/dist/exports/atoms/std-filter.orb +5 -4
  309. package/dist/exports/atoms/std-flip-card.orb +5 -4
  310. package/dist/exports/atoms/std-gallery.orb +5 -4
  311. package/dist/exports/atoms/std-game-audio.orb +5 -4
  312. package/dist/exports/atoms/std-game-canvas2d.orb +4 -2
  313. package/dist/exports/atoms/std-game-canvas3d.orb +4 -2
  314. package/dist/exports/atoms/std-game-hud.orb +5 -4
  315. package/dist/exports/atoms/std-game-menu.orb +5 -4
  316. package/dist/exports/atoms/std-game-over-screen.orb +5 -4
  317. package/dist/exports/atoms/std-gameflow.orb +5 -4
  318. package/dist/exports/atoms/std-input.orb +5 -4
  319. package/dist/exports/atoms/std-inventory-panel.orb +5 -8
  320. package/dist/exports/atoms/std-isometric-canvas.orb +5 -4
  321. package/dist/exports/atoms/std-loading.orb +5 -4
  322. package/dist/exports/atoms/std-modal.orb +89 -4
  323. package/dist/exports/atoms/std-movement.orb +5 -4
  324. package/dist/exports/atoms/std-notification.orb +5 -4
  325. package/dist/exports/atoms/std-overworld.orb +5 -4
  326. package/dist/exports/atoms/std-pagination.orb +5 -4
  327. package/dist/exports/atoms/std-physics2d.orb +5 -4
  328. package/dist/exports/atoms/std-platformer-canvas.orb +5 -4
  329. package/dist/exports/atoms/std-quest.orb +5 -8
  330. package/dist/exports/atoms/std-rate-limiter.orb +5 -4
  331. package/dist/exports/atoms/std-rating.orb +5 -4
  332. package/dist/exports/atoms/std-score-board.orb +5 -4
  333. package/dist/exports/atoms/std-score.orb +5 -4
  334. package/dist/exports/atoms/std-search.orb +5 -4
  335. package/dist/exports/atoms/std-selection.orb +5 -4
  336. package/dist/exports/atoms/std-service-custom-bearer.orb +5 -15
  337. package/dist/exports/atoms/std-service-custom-header.orb +5 -17
  338. package/dist/exports/atoms/std-service-custom-noauth.orb +5 -11
  339. package/dist/exports/atoms/std-service-custom-query.orb +5 -17
  340. package/dist/exports/atoms/std-service-email.orb +5 -4
  341. package/dist/exports/atoms/std-service-github.orb +5 -4
  342. package/dist/exports/atoms/std-service-llm.orb +5 -4
  343. package/dist/exports/atoms/std-service-oauth.orb +5 -4
  344. package/dist/exports/atoms/std-service-redis.orb +5 -4
  345. package/dist/exports/atoms/std-service-storage.orb +5 -4
  346. package/dist/exports/atoms/std-service-stripe.orb +5 -4
  347. package/dist/exports/atoms/std-service-twilio.orb +5 -4
  348. package/dist/exports/atoms/std-service-youtube.orb +5 -4
  349. package/dist/exports/atoms/std-simulation-canvas.orb +5 -4
  350. package/dist/exports/atoms/std-sort.orb +5 -4
  351. package/dist/exports/atoms/std-sprite.orb +5 -4
  352. package/dist/exports/atoms/std-tabs.orb +5 -4
  353. package/dist/exports/atoms/std-text-effects.orb +5 -4
  354. package/dist/exports/atoms/std-theme.orb +5 -4
  355. package/dist/exports/atoms/std-timer.orb +5 -4
  356. package/dist/exports/atoms/std-undo.orb +5 -4
  357. package/dist/exports/atoms/std-upload.orb +5 -4
  358. package/dist/exports/atoms/std-validate-on-save.orb +5 -32
  359. package/dist/exports/atoms/std-wizard.orb +5 -4
  360. package/dist/exports/molecules/std-agent-fix-loop.orb +1141 -1709
  361. package/dist/exports/molecules/std-agent-learner.orb +608 -938
  362. package/dist/exports/molecules/std-agent-planner.orb +613 -961
  363. package/dist/exports/molecules/std-agent-rag.orb +586 -915
  364. package/dist/exports/molecules/std-agent-tool-loop.orb +915 -2846
  365. package/dist/exports/molecules/std-builder-game.orb +5 -4
  366. package/dist/exports/molecules/std-cart.orb +196 -307
  367. package/dist/exports/molecules/std-classifier-game.orb +5 -4
  368. package/dist/exports/molecules/std-debugger-game.orb +5 -4
  369. package/dist/exports/molecules/std-detail.orb +309 -467
  370. package/dist/exports/molecules/std-event-handler-game.orb +5 -4
  371. package/dist/exports/molecules/std-form-advanced.orb +5 -8
  372. package/dist/exports/molecules/std-geospatial.orb +363 -539
  373. package/dist/exports/molecules/std-inventory.orb +390 -720
  374. package/dist/exports/molecules/std-list.orb +526 -1156
  375. package/dist/exports/molecules/std-messaging.orb +295 -452
  376. package/dist/exports/molecules/std-negotiator-game.orb +5 -4
  377. package/dist/exports/molecules/std-platformer-game.orb +5 -4
  378. package/dist/exports/molecules/std-puzzle-game.orb +5 -4
  379. package/dist/exports/molecules/std-quiz.orb +5 -4
  380. package/dist/exports/molecules/std-sequencer-game.orb +5 -4
  381. package/dist/exports/molecules/std-service-content-pipeline.orb +5 -4
  382. package/dist/exports/molecules/std-service-custom-api-tester.orb +5 -42
  383. package/dist/exports/molecules/std-service-devops-toolkit.orb +5 -4
  384. package/dist/exports/molecules/std-service-notification-hub.orb +5 -4
  385. package/dist/exports/molecules/std-service-payment-flow.orb +5 -4
  386. package/dist/exports/molecules/std-simulator-game.orb +5 -4
  387. package/dist/exports/molecules/std-turn-based-battle.orb +5 -4
  388. package/dist/exports/organisms/std-agent-assistant.orb +15 -143
  389. package/dist/exports/organisms/std-agent-builder.orb +814 -1476
  390. package/dist/exports/organisms/std-agent-pipeline.orb +785 -1567
  391. package/dist/exports/organisms/std-agent-reviewer.orb +299 -502
  392. package/dist/exports/organisms/std-agent-tutor.orb +306 -493
  393. package/dist/exports/organisms/std-api-gateway.orb +284 -626
  394. package/dist/exports/organisms/std-arcade-game.orb +4 -4
  395. package/dist/exports/organisms/std-booking-system.orb +1422 -2160
  396. package/dist/exports/organisms/std-cicd-pipeline.orb +274 -617
  397. package/dist/exports/organisms/std-cms.orb +1274 -1972
  398. package/dist/exports/organisms/std-coding-academy.orb +4 -4
  399. package/dist/exports/organisms/std-crm.orb +999 -1775
  400. package/dist/exports/organisms/std-devops-dashboard.orb +284 -638
  401. package/dist/exports/organisms/std-ecommerce.orb +1653 -2398
  402. package/dist/exports/organisms/std-finance-tracker.orb +340 -684
  403. package/dist/exports/organisms/std-healthcare.orb +984 -1838
  404. package/dist/exports/organisms/std-helpdesk.orb +340 -744
  405. package/dist/exports/organisms/std-hr-portal.orb +1401 -2151
  406. package/dist/exports/organisms/std-iot-dashboard.orb +284 -626
  407. package/dist/exports/organisms/std-lms.orb +284 -632
  408. package/dist/exports/organisms/std-logic-training.orb +4 -4
  409. package/dist/exports/organisms/std-platformer-app.orb +15 -98
  410. package/dist/exports/organisms/std-project-manager.orb +970 -1774
  411. package/dist/exports/organisms/std-puzzle-app.orb +4 -4
  412. package/dist/exports/organisms/std-realtime-chat.orb +364 -714
  413. package/dist/exports/organisms/std-rpg-game.orb +15 -102
  414. package/dist/exports/organisms/std-service-marketplace.orb +1589 -2361
  415. package/dist/exports/organisms/std-service-research-assistant.orb +4 -15
  416. package/dist/exports/organisms/std-social-feed.orb +62 -66
  417. package/dist/exports/organisms/std-stem-lab.orb +4 -4
  418. package/dist/exports/organisms/std-strategy-game.orb +4 -4
  419. package/dist/exports/organisms/std-trading-dashboard.orb +274 -620
  420. package/dist/index.js.map +1 -1
  421. package/package.json +2 -2
@@ -1,8 +1,28 @@
1
1
  {
2
- "name": "AgentRagOrbital",
2
+ "name": "std-agent-rag",
3
+ "version": "1.0.0",
4
+ "description": "std-agent-rag -- Retrieval-Augmented Generation",
3
5
  "orbitals": [
4
6
  {
5
7
  "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
+ ],
6
26
  "entity": {
7
27
  "name": "AgentRag",
8
28
  "persistence": "runtime",
@@ -774,50 +794,220 @@
774
794
  }
775
795
  },
776
796
  {
797
+ "ref": "Tabs.traits.TabContentTabs",
777
798
  "name": "RagTabs",
778
799
  "linkedEntity": "AgentRag",
779
- "category": "interaction",
780
- "stateMachine": {
781
- "states": [
782
- {
783
- "name": "idle",
784
- "isInitial": true
785
- }
786
- ],
787
- "events": [
788
- {
789
- "key": "INIT",
790
- "name": "Initialize"
791
- },
792
- {
793
- "key": "SELECT_TAB",
794
- "name": "Select Tab",
795
- "payload": [
796
- {
797
- "name": "tab",
798
- "type": "string",
799
- "required": true
800
- }
801
- ]
802
- }
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": [
814
+ {
815
+ "type": "stack",
816
+ "direction": "horizontal",
817
+ "gap": "sm",
818
+ "align": "center",
819
+ "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
+ {
868
+ "type": "stack",
869
+ "direction": "vertical",
870
+ "gap": "sm",
871
+ "children": [
872
+ {
873
+ "type": "typography",
874
+ "variant": "h4",
875
+ "content": "@item.name"
876
+ },
877
+ {
878
+ "type": "typography",
879
+ "variant": "caption",
880
+ "color": "muted",
881
+ "content": "@item.query"
882
+ }
883
+ ]
884
+ }
885
+ ]
886
+ }
887
+ ]
888
+ }
889
+ ]
803
890
  ],
804
- "transitions": [
805
- {
806
- "from": "idle",
807
- "to": "idle",
808
- "event": "INIT",
809
- "effects": [
810
- [
811
- "fetch",
812
- "AgentRag"
813
- ],
814
- [
815
- "render-ui",
816
- "main",
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": [
817
904
  {
818
905
  "type": "stack",
819
- "direction": "vertical",
820
- "gap": "lg",
906
+ "direction": "horizontal",
907
+ "gap": "sm",
908
+ "align": "center",
909
+ "children": [
910
+ {
911
+ "type": "icon",
912
+ "name": "brain",
913
+ "size": "lg"
914
+ },
915
+ {
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"
931
+ },
932
+ {
933
+ "label": "Sources",
934
+ "value": "sources"
935
+ },
936
+ {
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",
958
+ {
959
+ "type": "stack",
960
+ "direction": "vertical",
961
+ "gap": "sm",
962
+ "children": [
963
+ {
964
+ "type": "typography",
965
+ "variant": "h4",
966
+ "content": "@item.name"
967
+ },
968
+ {
969
+ "type": "typography",
970
+ "variant": "caption",
971
+ "color": "muted",
972
+ "content": "@item.query"
973
+ }
974
+ ]
975
+ }
976
+ ]
977
+ }
978
+ ]
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": [
1005
+ {
1006
+ "type": "stack",
1007
+ "direction": "horizontal",
1008
+ "gap": "md",
1009
+ "justify": "space-between",
1010
+ "align": "center",
821
1011
  "children": [
822
1012
  {
823
1013
  "type": "stack",
@@ -832,87 +1022,136 @@
832
1022
  },
833
1023
  {
834
1024
  "type": "typography",
835
- "content": "RAG Pipeline",
1025
+ "content": "AgentRag Manager",
836
1026
  "variant": "h2"
837
1027
  }
838
1028
  ]
839
1029
  },
840
1030
  {
841
- "type": "divider"
842
- },
843
- {
844
- "type": "tabs",
845
- "tabs": [
1031
+ "type": "stack",
1032
+ "direction": "horizontal",
1033
+ "gap": "sm",
1034
+ "children": [
846
1035
  {
847
- "label": "Query",
848
- "value": "query"
1036
+ "type": "button",
1037
+ "label": "Memorize",
1038
+ "event": "MEMORIZE",
1039
+ "variant": "primary",
1040
+ "icon": "plus"
849
1041
  },
850
1042
  {
851
- "label": "Sources",
852
- "value": "sources"
1043
+ "type": "button",
1044
+ "label": "Recall",
1045
+ "event": "RECALL",
1046
+ "variant": "secondary",
1047
+ "icon": "search"
853
1048
  },
854
1049
  {
855
- "label": "Response",
856
- "value": "response"
1050
+ "type": "button",
1051
+ "label": "Decay All",
1052
+ "event": "DECAY",
1053
+ "variant": "ghost",
1054
+ "icon": "clock"
857
1055
  }
858
- ],
859
- "defaultActiveTab": "query",
860
- "onTabChange": "SELECT_TAB"
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"
861
1075
  },
862
1076
  {
863
- "type": "divider"
1077
+ "label": "Reinforce",
1078
+ "event": "REINFORCE",
1079
+ "variant": "ghost",
1080
+ "size": "sm"
864
1081
  },
865
1082
  {
866
- "type": "data-grid",
867
- "entity": "AgentRag",
868
- "emptyIcon": "inbox",
869
- "emptyTitle": "No agentrags yet",
870
- "emptyDescription": "Add agentrags to see them here.",
871
- "className": "transition-shadow hover:shadow-md cursor-pointer",
872
- "renderItem": [
873
- "fn",
874
- "item",
875
- {
876
- "type": "stack",
877
- "direction": "vertical",
878
- "gap": "sm",
879
- "children": [
880
- {
881
- "type": "typography",
882
- "variant": "h4",
883
- "content": "@item.name"
884
- },
885
- {
886
- "type": "typography",
887
- "variant": "caption",
888
- "color": "muted",
889
- "content": "@item.query"
890
- }
891
- ]
892
- }
893
- ]
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"
1095
+ },
1096
+ {
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
+ }
1114
+ },
1115
+ {
1116
+ "name": "strength",
1117
+ "label": "Strength",
1118
+ "variant": "caption"
894
1119
  }
895
1120
  ]
896
1121
  }
897
1122
  ]
898
- ]
899
- },
900
- {
901
- "from": "idle",
902
- "to": "idle",
903
- "event": "SELECT_TAB",
904
- "effects": [
905
- [
906
- "fetch",
907
- "AgentRag"
908
- ],
909
- [
910
- "render-ui",
911
- "main",
1123
+ }
1124
+ ]
1125
+ ]
1126
+ }
1127
+ },
1128
+ {
1129
+ "ref": "AgentSearch.traits.AgentSearchBrowse",
1130
+ "name": "RagSearchLifecycle",
1131
+ "linkedEntity": "AgentRag",
1132
+ "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": [
912
1149
  {
913
1150
  "type": "stack",
914
- "direction": "vertical",
915
- "gap": "lg",
1151
+ "direction": "horizontal",
1152
+ "gap": "md",
1153
+ "justify": "space-between",
1154
+ "align": "center",
916
1155
  "children": [
917
1156
  {
918
1157
  "type": "stack",
@@ -922,927 +1161,360 @@
922
1161
  "children": [
923
1162
  {
924
1163
  "type": "icon",
925
- "name": "brain",
1164
+ "name": "search",
926
1165
  "size": "lg"
927
1166
  },
928
1167
  {
929
1168
  "type": "typography",
930
- "content": "RAG Pipeline",
1169
+ "content": "AgentRag",
931
1170
  "variant": "h2"
932
1171
  }
933
1172
  ]
934
1173
  },
935
1174
  {
936
- "type": "divider"
937
- },
938
- {
939
- "type": "tabs",
940
- "tabs": [
941
- {
942
- "label": "Query",
943
- "value": "query"
944
- },
1175
+ "type": "stack",
1176
+ "direction": "horizontal",
1177
+ "gap": "sm",
1178
+ "children": [
945
1179
  {
946
- "label": "Sources",
947
- "value": "sources"
1180
+ "type": "button",
1181
+ "label": "Search",
1182
+ "event": "SEARCH",
1183
+ "variant": "primary",
1184
+ "icon": "search"
948
1185
  },
949
1186
  {
950
- "label": "Response",
951
- "value": "response"
1187
+ "type": "button",
1188
+ "label": "Clear",
1189
+ "event": "CLEAR",
1190
+ "variant": "ghost",
1191
+ "icon": "x"
952
1192
  }
953
- ],
954
- "defaultActiveTab": "query",
955
- "activeTab": "@payload.tab",
956
- "onTabChange": "SELECT_TAB"
1193
+ ]
1194
+ }
1195
+ ]
1196
+ },
1197
+ {
1198
+ "type": "divider"
1199
+ },
1200
+ {
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": [
1215
+ {
1216
+ "name": "query",
1217
+ "label": "Query",
1218
+ "variant": "h4",
1219
+ "icon": "search"
957
1220
  },
958
1221
  {
959
- "type": "divider"
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
+ }
960
1239
  },
961
1240
  {
962
- "type": "data-grid",
963
- "entity": "AgentRag",
964
- "emptyIcon": "inbox",
965
- "emptyTitle": "No agentrags yet",
966
- "emptyDescription": "Add agentrags to see them here.",
967
- "className": "transition-shadow hover:shadow-md cursor-pointer",
968
- "renderItem": [
969
- "fn",
970
- "item",
971
- {
972
- "type": "stack",
973
- "direction": "vertical",
974
- "gap": "sm",
975
- "children": [
976
- {
977
- "type": "typography",
978
- "variant": "h4",
979
- "content": "@item.name"
980
- },
981
- {
982
- "type": "typography",
983
- "variant": "caption",
984
- "color": "muted",
985
- "content": "@item.query"
986
- }
987
- ]
988
- }
989
- ]
1241
+ "name": "resultCount",
1242
+ "label": "Result Count",
1243
+ "variant": "caption"
990
1244
  }
991
1245
  ]
992
1246
  }
993
1247
  ]
994
- ]
995
- }
1248
+ }
1249
+ ]
996
1250
  ]
997
1251
  }
998
1252
  },
999
1253
  {
1000
- "name": "RagMemoryLifecycle",
1254
+ "ref": "AgentCompletion.traits.AgentCompletionModal",
1255
+ "name": "RagCompletionFlow",
1001
1256
  "linkedEntity": "AgentRag",
1002
- "category": "interaction",
1003
1257
  "listens": [],
1004
- "stateMachine": {
1005
- "states": [
1006
- {
1007
- "name": "browsing",
1008
- "isInitial": true
1009
- }
1010
- ],
1011
- "events": [
1012
- {
1013
- "key": "INIT",
1014
- "name": "Initialize"
1015
- },
1016
- {
1017
- "key": "MEMORIZE",
1018
- "name": "MEMORIZE"
1019
- },
1020
- {
1021
- "key": "RECALL",
1022
- "name": "RECALL"
1023
- },
1024
- {
1025
- "key": "DECAY",
1026
- "name": "DECAY"
1027
- },
1028
- {
1029
- "key": "PIN",
1030
- "name": "PIN",
1031
- "payload": [
1032
- {
1033
- "name": "id",
1034
- "type": "string",
1035
- "required": true
1036
- },
1037
- {
1038
- "name": "row",
1039
- "type": "object"
1040
- }
1041
- ]
1042
- },
1043
- {
1044
- "key": "REINFORCE",
1045
- "name": "REINFORCE",
1046
- "payload": [
1047
- {
1048
- "name": "id",
1049
- "type": "string",
1050
- "required": true
1051
- },
1052
- {
1053
- "name": "row",
1054
- "type": "object"
1055
- }
1056
- ]
1057
- },
1058
- {
1059
- "key": "FORGET",
1060
- "name": "FORGET",
1061
- "payload": [
1062
- {
1063
- "name": "id",
1064
- "type": "string",
1065
- "required": true
1066
- },
1067
- {
1068
- "name": "row",
1069
- "type": "object"
1070
- }
1071
- ]
1072
- },
1073
- {
1074
- "key": "MEMORIZED",
1075
- "name": "MEMORIZED",
1076
- "payload": [
1077
- {
1078
- "name": "data",
1079
- "type": "object",
1080
- "required": true
1081
- }
1082
- ]
1083
- },
1084
- {
1085
- "key": "PINNED",
1086
- "name": "PINNED",
1087
- "payload": [
1088
- {
1089
- "name": "data",
1090
- "type": "object",
1091
- "required": true
1092
- }
1093
- ]
1094
- },
1095
- {
1096
- "key": "FORGOT",
1097
- "name": "FORGOT",
1098
- "payload": [
1099
- {
1100
- "name": "data",
1101
- "type": "object",
1102
- "required": true
1103
- }
1104
- ]
1105
- },
1106
- {
1107
- "key": "REINFORCED",
1108
- "name": "REINFORCED",
1109
- "payload": [
1110
- {
1111
- "name": "data",
1112
- "type": "object",
1113
- "required": true
1114
- }
1115
- ]
1116
- },
1117
- {
1118
- "key": "DECAYED",
1119
- "name": "DECAYED",
1120
- "payload": [
1121
- {
1122
- "name": "data",
1123
- "type": "object",
1124
- "required": true
1125
- }
1126
- ]
1127
- }
1128
- ],
1129
- "transitions": [
1130
- {
1131
- "from": "browsing",
1132
- "to": "browsing",
1133
- "event": "INIT",
1134
- "effects": [
1135
- [
1136
- "ref",
1137
- "AgentRag"
1138
- ],
1139
- [
1140
- "render-ui",
1141
- "main",
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": [
1142
1273
  {
1143
1274
  "type": "stack",
1144
- "direction": "vertical",
1145
- "gap": "lg",
1146
- "className": "max-w-5xl mx-auto w-full",
1275
+ "direction": "horizontal",
1276
+ "gap": "md",
1277
+ "justify": "space-between",
1147
1278
  "children": [
1148
1279
  {
1149
1280
  "type": "stack",
1150
1281
  "direction": "horizontal",
1151
1282
  "gap": "md",
1152
- "justify": "space-between",
1153
- "align": "center",
1154
1283
  "children": [
1155
1284
  {
1156
- "type": "stack",
1157
- "direction": "horizontal",
1158
- "gap": "sm",
1159
- "align": "center",
1160
- "children": [
1161
- {
1162
- "type": "icon",
1163
- "name": "brain",
1164
- "size": "lg"
1165
- },
1166
- {
1167
- "type": "typography",
1168
- "content": "AgentRag Manager",
1169
- "variant": "h2"
1170
- }
1171
- ]
1285
+ "type": "icon",
1286
+ "name": "sparkles",
1287
+ "size": "lg"
1172
1288
  },
1173
1289
  {
1174
- "type": "stack",
1175
- "direction": "horizontal",
1176
- "gap": "sm",
1177
- "children": [
1178
- {
1179
- "type": "button",
1180
- "label": "Memorize",
1181
- "event": "MEMORIZE",
1182
- "variant": "primary",
1183
- "icon": "plus"
1184
- },
1185
- {
1186
- "type": "button",
1187
- "label": "Recall",
1188
- "event": "RECALL",
1189
- "variant": "secondary",
1190
- "icon": "search"
1191
- },
1192
- {
1193
- "type": "button",
1194
- "label": "Decay All",
1195
- "event": "DECAY",
1196
- "variant": "ghost",
1197
- "icon": "clock"
1198
- }
1199
- ]
1290
+ "type": "typography",
1291
+ "content": "AgentRag",
1292
+ "variant": "h2"
1200
1293
  }
1201
1294
  ]
1202
1295
  },
1203
1296
  {
1204
- "type": "divider"
1205
- },
1206
- {
1207
- "type": "data-grid",
1208
- "entity": "AgentRag",
1209
- "emptyIcon": "inbox",
1210
- "emptyTitle": "No memories yet",
1211
- "emptyDescription": "Create your first memory to get started.",
1212
- "itemActions": [
1213
- {
1214
- "label": "Pin",
1215
- "event": "PIN",
1216
- "variant": "ghost",
1217
- "size": "sm"
1218
- },
1219
- {
1220
- "label": "Reinforce",
1221
- "event": "REINFORCE",
1222
- "variant": "ghost",
1223
- "size": "sm"
1224
- },
1225
- {
1226
- "label": "Forget",
1227
- "event": "FORGET",
1228
- "variant": "danger",
1229
- "size": "sm"
1230
- }
1231
- ],
1232
- "columns": [
1233
- {
1234
- "name": "content",
1235
- "label": "Content",
1236
- "variant": "h4",
1237
- "icon": "brain"
1238
- },
1239
- {
1240
- "name": "category",
1241
- "label": "Category",
1242
- "variant": "badge",
1243
- "colorMap": {
1244
- "active": "success",
1245
- "completed": "success",
1246
- "done": "success",
1247
- "pending": "warning",
1248
- "draft": "warning",
1249
- "scheduled": "warning",
1250
- "inactive": "neutral",
1251
- "archived": "neutral",
1252
- "disabled": "neutral",
1253
- "error": "destructive",
1254
- "cancelled": "destructive",
1255
- "failed": "destructive"
1256
- }
1257
- },
1258
- {
1259
- "name": "strength",
1260
- "label": "Strength",
1261
- "variant": "caption"
1262
- }
1263
- ]
1297
+ "type": "button",
1298
+ "label": "Open",
1299
+ "event": "GENERATE",
1300
+ "variant": "primary",
1301
+ "icon": "sparkles"
1264
1302
  }
1265
1303
  ]
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."
1266
1313
  }
1267
1314
  ]
1268
- ]
1269
- },
1270
- {
1271
- "from": "browsing",
1272
- "to": "browsing",
1273
- "event": "MEMORIZED",
1274
- "effects": [
1275
- [
1276
- "ref",
1277
- "AgentRag"
1278
- ]
1279
- ]
1280
- },
1281
- {
1282
- "from": "browsing",
1283
- "to": "browsing",
1284
- "event": "PINNED",
1285
- "effects": [
1286
- [
1287
- "ref",
1288
- "AgentRag"
1289
- ]
1290
- ]
1291
- },
1292
- {
1293
- "from": "browsing",
1294
- "to": "browsing",
1295
- "event": "FORGOT",
1296
- "effects": [
1297
- [
1298
- "ref",
1299
- "AgentRag"
1300
- ]
1301
- ]
1302
- },
1303
- {
1304
- "from": "browsing",
1305
- "to": "browsing",
1306
- "event": "REINFORCED",
1307
- "effects": [
1308
- [
1309
- "ref",
1310
- "AgentRag"
1311
- ]
1312
- ]
1313
- },
1314
- {
1315
- "from": "browsing",
1316
- "to": "browsing",
1317
- "event": "DECAYED",
1318
- "effects": [
1319
- [
1320
- "ref",
1321
- "AgentRag"
1322
- ]
1323
- ]
1324
- }
1325
- ]
1326
- }
1327
- },
1328
- {
1329
- "name": "RagSearchLifecycle",
1330
- "linkedEntity": "AgentRag",
1331
- "category": "interaction",
1332
- "listens": [],
1333
- "stateMachine": {
1334
- "states": [
1335
- {
1336
- "name": "browsing",
1337
- "isInitial": true
1338
- }
1339
- ],
1340
- "events": [
1341
- {
1342
- "key": "INIT",
1343
- "name": "Initialize"
1344
- },
1345
- {
1346
- "key": "SEARCH",
1347
- "name": "SEARCH"
1348
- },
1349
- {
1350
- "key": "CLEAR",
1351
- "name": "CLEAR"
1352
- },
1353
- {
1354
- "key": "VIEW",
1355
- "name": "VIEW",
1356
- "payload": [
1357
- {
1358
- "name": "id",
1359
- "type": "string",
1360
- "required": true
1361
- },
1362
- {
1363
- "name": "row",
1364
- "type": "object"
1365
- }
1366
- ]
1367
- },
1368
- {
1369
- "key": "SEARCHED",
1370
- "name": "SEARCHED",
1371
- "payload": [
1372
- {
1373
- "name": "data",
1374
- "type": "object",
1375
- "required": true
1376
- }
1377
- ]
1378
- }
1315
+ }
1316
+ ]
1379
1317
  ],
1380
- "transitions": [
1381
- {
1382
- "from": "browsing",
1383
- "to": "browsing",
1384
- "event": "INIT",
1385
- "effects": [
1386
- [
1387
- "ref",
1388
- "AgentRag"
1389
- ],
1390
- [
1391
- "render-ui",
1392
- "main",
1318
+ "GENERATE": [
1319
+ [
1320
+ "render-ui",
1321
+ "modal",
1322
+ {
1323
+ "type": "stack",
1324
+ "direction": "vertical",
1325
+ "gap": "md",
1326
+ "children": [
1393
1327
  {
1394
1328
  "type": "stack",
1395
- "direction": "vertical",
1396
- "gap": "lg",
1397
- "className": "max-w-5xl mx-auto w-full",
1329
+ "direction": "horizontal",
1330
+ "gap": "sm",
1398
1331
  "children": [
1399
1332
  {
1400
- "type": "stack",
1401
- "direction": "horizontal",
1402
- "gap": "md",
1403
- "justify": "space-between",
1404
- "align": "center",
1405
- "children": [
1406
- {
1407
- "type": "stack",
1408
- "direction": "horizontal",
1409
- "gap": "sm",
1410
- "align": "center",
1411
- "children": [
1412
- {
1413
- "type": "icon",
1414
- "name": "search",
1415
- "size": "lg"
1416
- },
1417
- {
1418
- "type": "typography",
1419
- "content": "AgentRag",
1420
- "variant": "h2"
1421
- }
1422
- ]
1423
- },
1424
- {
1425
- "type": "stack",
1426
- "direction": "horizontal",
1427
- "gap": "sm",
1428
- "children": [
1429
- {
1430
- "type": "button",
1431
- "label": "Search",
1432
- "event": "SEARCH",
1433
- "variant": "primary",
1434
- "icon": "search"
1435
- },
1436
- {
1437
- "type": "button",
1438
- "label": "Clear",
1439
- "event": "CLEAR",
1440
- "variant": "ghost",
1441
- "icon": "x"
1442
- }
1443
- ]
1444
- }
1445
- ]
1446
- },
1447
- {
1448
- "type": "divider"
1333
+ "type": "icon",
1334
+ "name": "sparkles",
1335
+ "size": "md"
1449
1336
  },
1450
1337
  {
1451
- "type": "data-grid",
1452
- "entity": "AgentRag",
1453
- "emptyIcon": "inbox",
1454
- "emptyTitle": "No search results",
1455
- "emptyDescription": "Enter a query to search the codebase.",
1456
- "itemActions": [
1457
- {
1458
- "label": "View",
1459
- "event": "VIEW",
1460
- "variant": "ghost",
1461
- "size": "sm"
1462
- }
1463
- ],
1464
- "columns": [
1465
- {
1466
- "name": "query",
1467
- "label": "Query",
1468
- "variant": "h4",
1469
- "icon": "search"
1470
- },
1471
- {
1472
- "name": "language",
1473
- "label": "Language",
1474
- "variant": "badge",
1475
- "colorMap": {
1476
- "active": "success",
1477
- "completed": "success",
1478
- "done": "success",
1479
- "pending": "warning",
1480
- "draft": "warning",
1481
- "scheduled": "warning",
1482
- "inactive": "neutral",
1483
- "archived": "neutral",
1484
- "disabled": "neutral",
1485
- "error": "destructive",
1486
- "cancelled": "destructive",
1487
- "failed": "destructive"
1488
- }
1489
- },
1490
- {
1491
- "name": "resultCount",
1492
- "label": "Result Count",
1493
- "variant": "caption"
1494
- }
1495
- ]
1338
+ "type": "typography",
1339
+ "content": "AgentRag",
1340
+ "variant": "h3"
1496
1341
  }
1497
1342
  ]
1498
- }
1499
- ]
1500
- ]
1501
- },
1502
- {
1503
- "from": "browsing",
1504
- "to": "browsing",
1505
- "event": "SEARCHED",
1506
- "effects": [
1507
- [
1508
- "ref",
1509
- "AgentRag"
1510
- ]
1511
- ]
1512
- }
1513
- ]
1514
- }
1515
- },
1516
- {
1517
- "name": "RagCompletionFlow",
1518
- "linkedEntity": "AgentRag",
1519
- "category": "interaction",
1520
- "emits": [
1521
- {
1522
- "event": "GENERATED",
1523
- "scope": "internal"
1524
- }
1525
- ],
1526
- "stateMachine": {
1527
- "states": [
1528
- {
1529
- "name": "closed",
1530
- "isInitial": true
1531
- },
1532
- {
1533
- "name": "open"
1534
- }
1535
- ],
1536
- "events": [
1537
- {
1538
- "key": "INIT",
1539
- "name": "Initialize"
1540
- },
1541
- {
1542
- "key": "GENERATE",
1543
- "name": "Open"
1544
- },
1545
- {
1546
- "key": "CLOSE",
1547
- "name": "Close"
1548
- },
1549
- {
1550
- "key": "SAVE",
1551
- "name": "Save",
1552
- "payload": [
1553
- {
1554
- "name": "data",
1555
- "type": "object",
1556
- "required": true
1557
- }
1558
- ]
1559
- }
1560
- ],
1561
- "transitions": [
1562
- {
1563
- "from": "closed",
1564
- "to": "closed",
1565
- "event": "INIT",
1566
- "effects": [
1567
- [
1568
- "ref",
1569
- "AgentRag"
1570
- ],
1571
- [
1572
- "render-ui",
1573
- "main",
1343
+ },
1344
+ {
1345
+ "type": "divider"
1346
+ },
1574
1347
  {
1575
1348
  "type": "stack",
1576
- "direction": "vertical",
1577
- "gap": "lg",
1349
+ "direction": "horizontal",
1350
+ "gap": "sm",
1578
1351
  "children": [
1579
1352
  {
1580
- "type": "stack",
1581
- "direction": "horizontal",
1582
- "gap": "md",
1583
- "justify": "space-between",
1584
- "children": [
1585
- {
1586
- "type": "stack",
1587
- "direction": "horizontal",
1588
- "gap": "md",
1589
- "children": [
1590
- {
1591
- "type": "icon",
1592
- "name": "sparkles",
1593
- "size": "lg"
1594
- },
1595
- {
1596
- "type": "typography",
1597
- "content": "AgentRag",
1598
- "variant": "h2"
1599
- }
1600
- ]
1601
- },
1602
- {
1603
- "type": "button",
1604
- "label": "Open",
1605
- "event": "GENERATE",
1606
- "variant": "primary",
1607
- "icon": "sparkles"
1608
- }
1609
- ]
1610
- },
1611
- {
1612
- "type": "divider"
1353
+ "type": "badge",
1354
+ "label": "@entity.provider"
1613
1355
  },
1614
1356
  {
1615
- "type": "empty-state",
1616
- "icon": "sparkles",
1617
- "title": "Nothing open",
1618
- "description": "Click Open to view details in a modal overlay."
1357
+ "type": "badge",
1358
+ "label": "@entity.model"
1619
1359
  }
1620
1360
  ]
1361
+ },
1362
+ {
1363
+ "type": "form-section",
1364
+ "entity": "AgentRag",
1365
+ "mode": "create",
1366
+ "submitEvent": "SAVE",
1367
+ "cancelEvent": "CLOSE",
1368
+ "fields": [
1369
+ "prompt"
1370
+ ]
1621
1371
  }
1622
1372
  ]
1623
- ]
1624
- },
1625
- {
1626
- "from": "closed",
1627
- "to": "open",
1628
- "event": "GENERATE",
1629
- "effects": [
1630
- [
1631
- "render-ui",
1632
- "modal",
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": [
1633
1399
  {
1634
1400
  "type": "stack",
1635
- "direction": "vertical",
1401
+ "direction": "horizontal",
1636
1402
  "gap": "md",
1403
+ "justify": "space-between",
1637
1404
  "children": [
1638
1405
  {
1639
1406
  "type": "stack",
1640
1407
  "direction": "horizontal",
1641
- "gap": "sm",
1408
+ "gap": "md",
1642
1409
  "children": [
1643
1410
  {
1644
1411
  "type": "icon",
1645
1412
  "name": "sparkles",
1646
- "size": "md"
1413
+ "size": "lg"
1647
1414
  },
1648
1415
  {
1649
1416
  "type": "typography",
1650
1417
  "content": "AgentRag",
1651
- "variant": "h3"
1652
- }
1653
- ]
1654
- },
1655
- {
1656
- "type": "divider"
1657
- },
1658
- {
1659
- "type": "stack",
1660
- "direction": "horizontal",
1661
- "gap": "sm",
1662
- "children": [
1663
- {
1664
- "type": "badge",
1665
- "label": "@entity.provider"
1666
- },
1667
- {
1668
- "type": "badge",
1669
- "label": "@entity.model"
1418
+ "variant": "h2"
1670
1419
  }
1671
1420
  ]
1672
1421
  },
1673
1422
  {
1674
- "type": "form-section",
1675
- "entity": "AgentRag",
1676
- "mode": "create",
1677
- "submitEvent": "SAVE",
1678
- "cancelEvent": "CLOSE",
1679
- "fields": [
1680
- "prompt"
1681
- ]
1423
+ "type": "button",
1424
+ "label": "Open",
1425
+ "event": "GENERATE",
1426
+ "variant": "primary",
1427
+ "icon": "sparkles"
1682
1428
  }
1683
1429
  ]
1684
- }
1685
- ]
1686
- ]
1687
- },
1688
- {
1689
- "from": "open",
1690
- "to": "closed",
1691
- "event": "CLOSE",
1692
- "effects": [
1693
- [
1694
- "render-ui",
1695
- "modal",
1696
- null
1697
- ],
1698
- [
1699
- "notify",
1700
- "Cancelled",
1701
- "info"
1702
- ],
1703
- [
1704
- "ref",
1705
- "AgentRag"
1706
- ],
1707
- [
1708
- "render-ui",
1709
- "main",
1430
+ },
1710
1431
  {
1711
- "type": "stack",
1712
- "direction": "vertical",
1713
- "gap": "lg",
1714
- "children": [
1715
- {
1716
- "type": "stack",
1717
- "direction": "horizontal",
1718
- "gap": "md",
1719
- "justify": "space-between",
1720
- "children": [
1721
- {
1722
- "type": "stack",
1723
- "direction": "horizontal",
1724
- "gap": "md",
1725
- "children": [
1726
- {
1727
- "type": "icon",
1728
- "name": "sparkles",
1729
- "size": "lg"
1730
- },
1731
- {
1732
- "type": "typography",
1733
- "content": "AgentRag",
1734
- "variant": "h2"
1735
- }
1736
- ]
1737
- },
1738
- {
1739
- "type": "button",
1740
- "label": "Open",
1741
- "event": "GENERATE",
1742
- "variant": "primary",
1743
- "icon": "sparkles"
1744
- }
1745
- ]
1746
- },
1747
- {
1748
- "type": "divider"
1749
- },
1750
- {
1751
- "type": "empty-state",
1752
- "icon": "sparkles",
1753
- "title": "Nothing open",
1754
- "description": "Click Open to view details in a modal overlay."
1755
- }
1756
- ]
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."
1757
1439
  }
1758
1440
  ]
1759
- ]
1760
- },
1761
- {
1762
- "from": "open",
1763
- "to": "closed",
1764
- "event": "SAVE",
1765
- "effects": [
1766
- [
1767
- "persist",
1768
- "create",
1769
- "AgentRag",
1770
- "@payload.data"
1771
- ],
1772
- [
1773
- "render-ui",
1774
- "modal",
1775
- null
1776
- ],
1777
- [
1778
- "emit",
1779
- "GENERATED"
1780
- ],
1781
- [
1782
- "ref",
1783
- "AgentRag"
1784
- ],
1785
- [
1786
- "render-ui",
1787
- "main",
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": [
1788
1472
  {
1789
1473
  "type": "stack",
1790
- "direction": "vertical",
1791
- "gap": "lg",
1474
+ "direction": "horizontal",
1475
+ "gap": "md",
1476
+ "justify": "space-between",
1792
1477
  "children": [
1793
1478
  {
1794
1479
  "type": "stack",
1795
1480
  "direction": "horizontal",
1796
1481
  "gap": "md",
1797
- "justify": "space-between",
1798
1482
  "children": [
1799
1483
  {
1800
- "type": "stack",
1801
- "direction": "horizontal",
1802
- "gap": "md",
1803
- "children": [
1804
- {
1805
- "type": "icon",
1806
- "name": "sparkles",
1807
- "size": "lg"
1808
- },
1809
- {
1810
- "type": "typography",
1811
- "content": "AgentRag",
1812
- "variant": "h2"
1813
- }
1814
- ]
1484
+ "type": "icon",
1485
+ "name": "sparkles",
1486
+ "size": "lg"
1815
1487
  },
1816
1488
  {
1817
- "type": "button",
1818
- "label": "Open",
1819
- "event": "GENERATE",
1820
- "variant": "primary",
1821
- "icon": "sparkles"
1489
+ "type": "typography",
1490
+ "content": "AgentRag",
1491
+ "variant": "h2"
1822
1492
  }
1823
1493
  ]
1824
1494
  },
1825
1495
  {
1826
- "type": "divider"
1827
- },
1828
- {
1829
- "type": "empty-state",
1830
- "icon": "sparkles",
1831
- "title": "Nothing open",
1832
- "description": "Click Open to view details in a modal overlay."
1496
+ "type": "button",
1497
+ "label": "Open",
1498
+ "event": "GENERATE",
1499
+ "variant": "primary",
1500
+ "icon": "sparkles"
1833
1501
  }
1834
1502
  ]
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."
1835
1512
  }
1836
- ],
1837
- [
1838
- "notify",
1839
- "AgentRag created successfully"
1840
1513
  ]
1841
- ]
1842
- }
1514
+ }
1515
+ ]
1843
1516
  ]
1844
- },
1845
- "listens": []
1517
+ }
1846
1518
  }
1847
1519
  ],
1848
1520
  "pages": [
@@ -1869,6 +1541,5 @@
1869
1541
  }
1870
1542
  ]
1871
1543
  }
1872
- ],
1873
- "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"
1874
- }
1544
+ ]
1545
+ }