@almadar/std 5.2.2 → 5.4.0

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