@almadar/std 6.5.2 → 7.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 (307) hide show
  1. package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  2. package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  3. package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  4. package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  5. package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  6. package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  7. package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  8. package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  9. package/behaviors/registry/atoms/std-agent-search.orb +217 -61
  10. package/behaviors/registry/atoms/std-agent-session.orb +406 -159
  11. package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  12. package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  13. package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  14. package/behaviors/registry/atoms/std-async.orb +147 -86
  15. package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  16. package/behaviors/registry/atoms/std-browse.orb +260 -126
  17. package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  18. package/behaviors/registry/atoms/std-calendar.orb +280 -215
  19. package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  20. package/behaviors/registry/atoms/std-collision.orb +136 -135
  21. package/behaviors/registry/atoms/std-combat-log.orb +108 -90
  22. package/behaviors/registry/atoms/std-combat.orb +171 -98
  23. package/behaviors/registry/atoms/std-confirmation.orb +28 -300
  24. package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  25. package/behaviors/registry/atoms/std-display.orb +491 -587
  26. package/behaviors/registry/atoms/std-drawer.orb +194 -121
  27. package/behaviors/registry/atoms/std-filter.orb +311 -326
  28. package/behaviors/registry/atoms/std-flip-card.orb +223 -177
  29. package/behaviors/registry/atoms/std-gallery.orb +130 -151
  30. package/behaviors/registry/atoms/std-game-audio.orb +133 -72
  31. package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  32. package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  33. package/behaviors/registry/atoms/std-game-hud.orb +87 -20
  34. package/behaviors/registry/atoms/std-game-menu.orb +32 -32
  35. package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  36. package/behaviors/registry/atoms/std-gameflow.orb +147 -80
  37. package/behaviors/registry/atoms/std-input.orb +128 -393
  38. package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  39. package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  40. package/behaviors/registry/atoms/std-loading.orb +127 -126
  41. package/behaviors/registry/atoms/std-modal.orb +30 -267
  42. package/behaviors/registry/atoms/std-movement.orb +391 -292
  43. package/behaviors/registry/atoms/std-notification.orb +133 -75
  44. package/behaviors/registry/atoms/std-overworld.orb +194 -121
  45. package/behaviors/registry/atoms/std-pagination.orb +120 -53
  46. package/behaviors/registry/atoms/std-physics2d.orb +94 -93
  47. package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  48. package/behaviors/registry/atoms/std-push.orb +172 -36
  49. package/behaviors/registry/atoms/std-quest.orb +552 -449
  50. package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  51. package/behaviors/registry/atoms/std-rating.orb +123 -65
  52. package/behaviors/registry/atoms/std-related.orb +202 -26
  53. package/behaviors/registry/atoms/std-score-board.orb +109 -28
  54. package/behaviors/registry/atoms/std-score.orb +210 -146
  55. package/behaviors/registry/atoms/std-search.orb +265 -138
  56. package/behaviors/registry/atoms/std-selection.orb +311 -220
  57. package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  58. package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  59. package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  60. package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  61. package/behaviors/registry/atoms/std-service-email.orb +195 -107
  62. package/behaviors/registry/atoms/std-service-github.orb +216 -122
  63. package/behaviors/registry/atoms/std-service-llm.orb +204 -122
  64. package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  65. package/behaviors/registry/atoms/std-service-redis.orb +177 -92
  66. package/behaviors/registry/atoms/std-service-storage.orb +211 -122
  67. package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  68. package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  69. package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  70. package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  71. package/behaviors/registry/atoms/std-sort.orb +284 -207
  72. package/behaviors/registry/atoms/std-sprite.orb +150 -74
  73. package/behaviors/registry/atoms/std-tabs.orb +129 -62
  74. package/behaviors/registry/atoms/std-text-effects.orb +251 -190
  75. package/behaviors/registry/atoms/std-theme.orb +193 -135
  76. package/behaviors/registry/atoms/std-timer.orb +320 -344
  77. package/behaviors/registry/atoms/std-undo.orb +278 -199
  78. package/behaviors/registry/atoms/std-upload.orb +112 -111
  79. package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  80. package/behaviors/registry/atoms/std-wizard.orb +445 -336
  81. package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  82. package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  83. package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  84. package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  85. package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  86. package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  87. package/behaviors/registry/molecules/std-builder-game.orb +86 -28
  88. package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  89. package/behaviors/registry/molecules/std-cart.orb +347 -406
  90. package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  91. package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  92. package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  93. package/behaviors/registry/molecules/std-detail.orb +133 -138
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  96. package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  97. package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  98. package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  99. package/behaviors/registry/molecules/std-geospatial.orb +175 -122
  100. package/behaviors/registry/molecules/std-inventory.orb +216 -170
  101. package/behaviors/registry/molecules/std-list.orb +280 -205
  102. package/behaviors/registry/molecules/std-messaging.orb +146 -99
  103. package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  104. package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  105. package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  106. package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  107. package/behaviors/registry/molecules/std-quiz.orb +322 -263
  108. package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  109. package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  110. package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  111. package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  112. package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  113. package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  114. package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  115. package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  116. package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  117. package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  118. package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  119. package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  120. package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  121. package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  122. package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  123. package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  124. package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  125. package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  126. package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  127. package/behaviors/registry/organisms/std-cms.orb +1549 -566
  128. package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  129. package/behaviors/registry/organisms/std-crm.orb +1997 -1014
  130. package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  131. package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  132. package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  133. package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  134. package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  135. package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  136. package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  137. package/behaviors/registry/organisms/std-lms.orb +1629 -1046
  138. package/behaviors/registry/organisms/std-logic-training.orb +321 -134
  139. package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  140. package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  141. package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  142. package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  143. package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  144. package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  145. package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  146. package/behaviors/registry/organisms/std-social-feed.orb +612 -252
  147. package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  148. package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  149. package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  150. package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
  151. package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
  152. package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
  153. package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
  154. package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
  155. package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
  156. package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
  157. package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
  158. package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
  159. package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
  160. package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
  161. package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
  162. package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
  163. package/dist/behaviors/registry/atoms/std-async.orb +147 -86
  164. package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
  165. package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
  166. package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
  167. package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
  168. package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
  169. package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
  170. package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
  171. package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
  172. package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
  173. package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
  174. package/dist/behaviors/registry/atoms/std-display.orb +491 -587
  175. package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
  176. package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
  177. package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
  178. package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
  179. package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
  180. package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
  181. package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
  182. package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
  183. package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
  184. package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
  185. package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
  186. package/dist/behaviors/registry/atoms/std-input.orb +128 -393
  187. package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
  188. package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
  189. package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
  190. package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
  191. package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
  192. package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
  193. package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
  194. package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
  195. package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
  196. package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
  197. package/dist/behaviors/registry/atoms/std-push.orb +172 -36
  198. package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
  199. package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
  200. package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
  201. package/dist/behaviors/registry/atoms/std-related.orb +202 -26
  202. package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
  203. package/dist/behaviors/registry/atoms/std-score.orb +210 -146
  204. package/dist/behaviors/registry/atoms/std-search.orb +265 -138
  205. package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
  206. package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
  207. package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
  208. package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
  209. package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
  210. package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
  211. package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
  212. package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
  213. package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
  214. package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
  215. package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
  216. package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
  217. package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
  218. package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
  219. package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
  220. package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
  221. package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
  222. package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
  223. package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
  224. package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
  225. package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
  226. package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
  227. package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
  228. package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
  229. package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
  230. package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
  231. package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
  232. package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
  233. package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
  234. package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
  235. package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
  236. package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
  237. package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
  238. package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
  239. package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
  240. package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
  241. package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
  242. package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
  243. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
  244. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  245. package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
  246. package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
  247. package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
  248. package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
  249. package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
  250. package/dist/behaviors/registry/molecules/std-list.orb +280 -205
  251. package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
  252. package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
  253. package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
  254. package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
  255. package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
  256. package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
  257. package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
  258. package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
  259. package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
  260. package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
  261. package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
  262. package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
  263. package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
  264. package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
  265. package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
  266. package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
  267. package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
  268. package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
  269. package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
  270. package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
  271. package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
  272. package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
  273. package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
  274. package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
  275. package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
  276. package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
  277. package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
  278. package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
  279. package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
  280. package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
  281. package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
  282. package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
  283. package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
  284. package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
  285. package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
  286. package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
  287. package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
  288. package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
  289. package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
  290. package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
  291. package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
  292. package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
  293. package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
  294. package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
  295. package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
  296. package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
  297. package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
  298. package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
  299. package/dist/index.js +16 -4
  300. package/dist/index.js.map +1 -1
  301. package/dist/modules/core.js +16 -4
  302. package/dist/modules/core.js.map +1 -1
  303. package/dist/modules/index.js +16 -4
  304. package/dist/modules/index.js.map +1 -1
  305. package/dist/registry.js +16 -4
  306. package/dist/registry.js.map +1 -1
  307. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "std-agent-memory",
3
3
  "version": "1.0.0",
4
- "description": "Memory lifecycle atom for agent memory operations. Composes UI atoms (stdBrowse for memory table, stdModal for memorize form) with an agent trait that handles agent/memorize, agent/recall, agent/pin, agent/forget, agent/reinforce, and agent/decay operators.",
4
+ "description": "std-agent-memory as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "AgentMemoryOrbital",
8
8
  "entity": {
9
9
  "name": "AgentMemory",
10
- "persistence": "persistent",
11
10
  "collection": "agentmemorys",
11
+ "persistence": "persistent",
12
12
  "fields": [
13
13
  {
14
14
  "name": "id",
@@ -49,7 +49,7 @@
49
49
  {
50
50
  "name": "strength",
51
51
  "type": "number",
52
- "default": 1
52
+ "default": 1.0
53
53
  },
54
54
  {
55
55
  "name": "pinned",
@@ -71,40 +71,124 @@
71
71
  "traits": [
72
72
  {
73
73
  "name": "AgentMemoryBrowse",
74
- "linkedEntity": "AgentMemory",
75
74
  "category": "interaction",
75
+ "linkedEntity": "AgentMemory",
76
+ "emits": [
77
+ {
78
+ "event": "AgentMemoryLoaded",
79
+ "description": "Fired when AgentMemory finishes loading",
80
+ "scope": "internal",
81
+ "payload": [
82
+ {
83
+ "name": "id",
84
+ "type": "string"
85
+ },
86
+ {
87
+ "name": "name",
88
+ "type": "string"
89
+ },
90
+ {
91
+ "name": "description",
92
+ "type": "string"
93
+ },
94
+ {
95
+ "name": "status",
96
+ "type": "string"
97
+ },
98
+ {
99
+ "name": "createdAt",
100
+ "type": "string"
101
+ },
102
+ {
103
+ "name": "content",
104
+ "type": "string"
105
+ },
106
+ {
107
+ "name": "category",
108
+ "type": "string"
109
+ },
110
+ {
111
+ "name": "strength",
112
+ "type": "number"
113
+ },
114
+ {
115
+ "name": "pinned",
116
+ "type": "boolean"
117
+ },
118
+ {
119
+ "name": "scope",
120
+ "type": "string"
121
+ },
122
+ {
123
+ "name": "lastAccessedAt",
124
+ "type": "string"
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "event": "AgentMemoryLoadFailed",
130
+ "description": "Fired when AgentMemory fails to load",
131
+ "scope": "internal",
132
+ "payload": [
133
+ {
134
+ "name": "message",
135
+ "type": "string"
136
+ }
137
+ ]
138
+ }
139
+ ],
76
140
  "listens": [
77
141
  {
78
142
  "event": "MEMORIZED",
79
- "scope": "external",
80
- "triggers": "INIT"
143
+ "triggers": "INIT",
144
+ "source": {
145
+ "kind": "any"
146
+ }
81
147
  },
82
148
  {
83
149
  "event": "PINNED",
84
- "scope": "external",
85
- "triggers": "INIT"
150
+ "triggers": "INIT",
151
+ "source": {
152
+ "kind": "trait",
153
+ "trait": "AgentMemoryAgent"
154
+ }
86
155
  },
87
156
  {
88
157
  "event": "FORGOT",
89
- "scope": "external",
90
- "triggers": "INIT"
158
+ "triggers": "INIT",
159
+ "source": {
160
+ "kind": "trait",
161
+ "trait": "AgentMemoryAgent"
162
+ }
91
163
  },
92
164
  {
93
165
  "event": "REINFORCED",
94
- "scope": "external",
95
- "triggers": "INIT"
166
+ "triggers": "INIT",
167
+ "source": {
168
+ "kind": "trait",
169
+ "trait": "AgentMemoryAgent"
170
+ }
96
171
  },
97
172
  {
98
173
  "event": "DECAYED",
99
- "scope": "external",
100
- "triggers": "INIT"
174
+ "triggers": "INIT",
175
+ "source": {
176
+ "kind": "trait",
177
+ "trait": "AgentMemoryAgent"
178
+ }
101
179
  }
102
180
  ],
103
181
  "stateMachine": {
104
182
  "states": [
105
183
  {
106
- "name": "browsing",
184
+ "name": "loading",
107
185
  "isInitial": true
186
+ },
187
+ {
188
+ "name": "browsing"
189
+ },
190
+ {
191
+ "name": "error"
108
192
  }
109
193
  ],
110
194
  "events": [
@@ -113,20 +197,22 @@
113
197
  "name": "Initialize"
114
198
  },
115
199
  {
116
- "key": "MEMORIZE",
117
- "name": "MEMORIZE"
200
+ "key": "AgentMemoryLoaded",
201
+ "name": "AgentMemory loaded"
118
202
  },
119
203
  {
120
- "key": "RECALL",
121
- "name": "RECALL"
122
- },
123
- {
124
- "key": "DECAY",
125
- "name": "DECAY"
204
+ "key": "AgentMemoryLoadFailed",
205
+ "name": "AgentMemory load failed",
206
+ "payload": [
207
+ {
208
+ "name": "message",
209
+ "type": "string"
210
+ }
211
+ ]
126
212
  },
127
213
  {
128
214
  "key": "PIN",
129
- "name": "PIN",
215
+ "name": "Pin",
130
216
  "payload": [
131
217
  {
132
218
  "name": "id",
@@ -141,7 +227,7 @@
141
227
  },
142
228
  {
143
229
  "key": "REINFORCE",
144
- "name": "REINFORCE",
230
+ "name": "Reinforce",
145
231
  "payload": [
146
232
  {
147
233
  "name": "id",
@@ -156,7 +242,7 @@
156
242
  },
157
243
  {
158
244
  "key": "FORGET",
159
- "name": "FORGET",
245
+ "name": "Forget",
160
246
  "payload": [
161
247
  {
162
248
  "name": "id",
@@ -172,160 +258,341 @@
172
258
  ],
173
259
  "transitions": [
174
260
  {
175
- "from": "browsing",
176
- "to": "browsing",
261
+ "from": "loading",
262
+ "to": "loading",
177
263
  "event": "INIT",
178
264
  "effects": [
179
265
  [
180
- "ref",
181
- "AgentMemory"
266
+ "fetch",
267
+ "AgentMemory",
268
+ {
269
+ "emit": {
270
+ "success": "AgentMemoryLoaded",
271
+ "failure": "AgentMemoryLoadFailed"
272
+ }
273
+ }
182
274
  ],
183
275
  [
184
276
  "render-ui",
185
277
  "main",
186
278
  {
279
+ "direction": "vertical",
280
+ "className": "py-12",
187
281
  "type": "stack",
282
+ "children": [
283
+ {
284
+ "type": "spinner",
285
+ "size": "lg"
286
+ },
287
+ {
288
+ "variant": "caption",
289
+ "color": "muted",
290
+ "content": "Loading memories…",
291
+ "type": "typography"
292
+ }
293
+ ],
294
+ "gap": "md",
295
+ "align": "center"
296
+ }
297
+ ]
298
+ ]
299
+ },
300
+ {
301
+ "from": "loading",
302
+ "to": "browsing",
303
+ "event": "AgentMemoryLoaded",
304
+ "effects": [
305
+ [
306
+ "render-ui",
307
+ "main",
308
+ {
188
309
  "direction": "vertical",
189
- "gap": "lg",
190
310
  "className": "max-w-5xl mx-auto w-full",
191
311
  "children": [
192
312
  {
313
+ "align": "center",
314
+ "gap": "md",
193
315
  "type": "stack",
194
316
  "direction": "horizontal",
195
- "gap": "md",
196
- "justify": "space-between",
197
- "align": "center",
198
317
  "children": [
199
318
  {
200
319
  "type": "stack",
201
- "direction": "horizontal",
202
- "gap": "sm",
203
320
  "align": "center",
204
321
  "children": [
205
322
  {
206
323
  "type": "icon",
207
- "name": "brain",
208
- "size": "lg"
324
+ "size": "lg",
325
+ "name": "brain"
209
326
  },
210
327
  {
211
- "type": "typography",
212
328
  "content": "AgentMemory Manager",
213
- "variant": "h2"
329
+ "variant": "h2",
330
+ "type": "typography"
214
331
  }
215
- ]
332
+ ],
333
+ "direction": "horizontal",
334
+ "gap": "sm"
216
335
  },
217
336
  {
218
337
  "type": "stack",
219
- "direction": "horizontal",
220
338
  "gap": "sm",
339
+ "direction": "horizontal",
221
340
  "children": [
222
341
  {
223
- "type": "button",
224
342
  "label": "Memorize",
225
343
  "event": "MEMORIZE",
226
344
  "variant": "primary",
227
- "icon": "plus"
345
+ "icon": "plus",
346
+ "type": "button"
228
347
  },
229
348
  {
230
349
  "type": "button",
231
350
  "label": "Recall",
351
+ "icon": "search",
232
352
  "event": "RECALL",
233
- "variant": "secondary",
234
- "icon": "search"
353
+ "variant": "secondary"
235
354
  },
236
355
  {
356
+ "icon": "clock",
237
357
  "type": "button",
238
- "label": "Decay All",
239
358
  "event": "DECAY",
240
- "variant": "ghost",
241
- "icon": "clock"
359
+ "label": "Decay All",
360
+ "variant": "ghost"
242
361
  }
243
362
  ]
244
363
  }
245
- ]
364
+ ],
365
+ "justify": "space-between"
246
366
  },
247
367
  {
248
368
  "type": "divider"
249
369
  },
250
370
  {
251
- "type": "data-grid",
252
- "entity": "AgentMemory",
253
- "emptyIcon": "inbox",
254
- "emptyTitle": "No memories yet",
255
- "emptyDescription": "Create your first memory to get started.",
256
371
  "itemActions": [
257
372
  {
258
- "label": "Pin",
259
373
  "event": "PIN",
260
374
  "variant": "ghost",
375
+ "label": "Pin",
261
376
  "size": "sm"
262
377
  },
263
378
  {
264
- "label": "Reinforce",
265
- "event": "REINFORCE",
379
+ "size": "sm",
266
380
  "variant": "ghost",
267
- "size": "sm"
381
+ "label": "Reinforce",
382
+ "event": "REINFORCE"
268
383
  },
269
384
  {
270
- "label": "Forget",
271
- "event": "FORGET",
385
+ "size": "sm",
272
386
  "variant": "danger",
273
- "size": "sm"
387
+ "event": "FORGET",
388
+ "label": "Forget"
274
389
  }
275
390
  ],
276
391
  "columns": [
277
392
  {
393
+ "variant": "h4",
278
394
  "name": "content",
279
395
  "label": "Content",
280
- "variant": "h4",
281
396
  "icon": "brain"
282
397
  },
283
398
  {
284
399
  "name": "category",
285
400
  "label": "Category",
286
- "variant": "badge",
287
- "colorMap": {
288
- "active": "success",
289
- "completed": "success",
290
- "done": "success",
291
- "pending": "warning",
292
- "draft": "warning",
293
- "scheduled": "warning",
294
- "inactive": "neutral",
295
- "archived": "neutral",
296
- "disabled": "neutral",
297
- "error": "destructive",
298
- "cancelled": "destructive",
299
- "failed": "destructive"
300
- }
401
+ "variant": "badge"
301
402
  },
302
403
  {
303
- "name": "strength",
304
404
  "label": "Strength",
305
- "variant": "caption"
405
+ "variant": "caption",
406
+ "name": "strength"
306
407
  }
307
- ]
408
+ ],
409
+ "emptyDescription": "Create your first memory to get started.",
410
+ "type": "data-grid",
411
+ "entity": "AgentMemory",
412
+ "emptyTitle": "No memories yet",
413
+ "emptyIcon": "inbox"
308
414
  }
309
- ]
415
+ ],
416
+ "type": "stack",
417
+ "gap": "lg"
418
+ }
419
+ ]
420
+ ]
421
+ },
422
+ {
423
+ "from": "loading",
424
+ "to": "error",
425
+ "event": "AgentMemoryLoadFailed",
426
+ "effects": [
427
+ [
428
+ "render-ui",
429
+ "main",
430
+ {
431
+ "gap": "md",
432
+ "direction": "vertical",
433
+ "align": "center",
434
+ "children": [
435
+ {
436
+ "size": "xl",
437
+ "type": "icon",
438
+ "name": "alert-triangle",
439
+ "color": "destructive"
440
+ },
441
+ {
442
+ "content": "Failed to load memories",
443
+ "variant": "h3",
444
+ "type": "typography"
445
+ },
446
+ {
447
+ "color": "muted",
448
+ "type": "typography",
449
+ "content": "@payload.message",
450
+ "variant": "body"
451
+ },
452
+ {
453
+ "icon": "rotate-ccw",
454
+ "label": "Retry",
455
+ "event": "INIT",
456
+ "type": "button",
457
+ "variant": "primary"
458
+ }
459
+ ],
460
+ "type": "stack",
461
+ "className": "py-12"
462
+ }
463
+ ]
464
+ ]
465
+ },
466
+ {
467
+ "from": "browsing",
468
+ "to": "loading",
469
+ "event": "INIT",
470
+ "effects": [
471
+ [
472
+ "fetch",
473
+ "AgentMemory",
474
+ {
475
+ "emit": {
476
+ "failure": "AgentMemoryLoadFailed",
477
+ "success": "AgentMemoryLoaded"
478
+ }
479
+ }
480
+ ],
481
+ [
482
+ "render-ui",
483
+ "main",
484
+ {
485
+ "type": "spinner",
486
+ "size": "lg"
487
+ }
488
+ ]
489
+ ]
490
+ },
491
+ {
492
+ "from": "error",
493
+ "to": "loading",
494
+ "event": "INIT",
495
+ "effects": [
496
+ [
497
+ "fetch",
498
+ "AgentMemory",
499
+ {
500
+ "emit": {
501
+ "failure": "AgentMemoryLoadFailed",
502
+ "success": "AgentMemoryLoaded"
503
+ }
504
+ }
505
+ ],
506
+ [
507
+ "render-ui",
508
+ "main",
509
+ {
510
+ "size": "lg",
511
+ "type": "spinner"
310
512
  }
311
513
  ]
312
514
  ]
313
515
  }
314
516
  ]
315
- }
517
+ },
518
+ "scope": "collection"
316
519
  },
317
520
  {
318
521
  "name": "AgentMemoryCreate",
319
- "linkedEntity": "AgentMemory",
320
522
  "category": "interaction",
523
+ "linkedEntity": "AgentMemory",
321
524
  "emits": [
322
525
  {
323
- "event": "SAVE",
324
- "scope": "external"
526
+ "event": "MEMORIZED",
527
+ "scope": "external",
528
+ "payload": [
529
+ {
530
+ "name": "id",
531
+ "type": "string"
532
+ }
533
+ ]
325
534
  },
326
535
  {
327
- "event": "MEMORIZED",
328
- "scope": "external"
536
+ "event": "AgentMemoryLoaded",
537
+ "description": "Fired when AgentMemory finishes loading",
538
+ "scope": "internal",
539
+ "payload": [
540
+ {
541
+ "name": "id",
542
+ "type": "string"
543
+ },
544
+ {
545
+ "name": "name",
546
+ "type": "string"
547
+ },
548
+ {
549
+ "name": "description",
550
+ "type": "string"
551
+ },
552
+ {
553
+ "name": "status",
554
+ "type": "string"
555
+ },
556
+ {
557
+ "name": "createdAt",
558
+ "type": "string"
559
+ },
560
+ {
561
+ "name": "content",
562
+ "type": "string"
563
+ },
564
+ {
565
+ "name": "category",
566
+ "type": "string"
567
+ },
568
+ {
569
+ "name": "strength",
570
+ "type": "number"
571
+ },
572
+ {
573
+ "name": "pinned",
574
+ "type": "boolean"
575
+ },
576
+ {
577
+ "name": "scope",
578
+ "type": "string"
579
+ },
580
+ {
581
+ "name": "lastAccessedAt",
582
+ "type": "string"
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ "event": "AgentMemoryLoadFailed",
588
+ "description": "Fired when AgentMemory fails to load",
589
+ "scope": "internal",
590
+ "payload": [
591
+ {
592
+ "name": "message",
593
+ "type": "string"
594
+ }
595
+ ]
329
596
  }
330
597
  ],
331
598
  "stateMachine": {
@@ -345,7 +612,7 @@
345
612
  },
346
613
  {
347
614
  "key": "MEMORIZE",
348
- "name": "Open"
615
+ "name": "Memorize"
349
616
  },
350
617
  {
351
618
  "key": "CLOSE",
@@ -361,6 +628,18 @@
361
628
  "required": true
362
629
  }
363
630
  ]
631
+ },
632
+ {
633
+ "key": "MEMORIZED",
634
+ "name": "Memorized"
635
+ },
636
+ {
637
+ "key": "AgentMemoryLoaded",
638
+ "name": "AgentMemory loaded"
639
+ },
640
+ {
641
+ "key": "AgentMemoryLoadFailed",
642
+ "name": "AgentMemory load failed"
364
643
  }
365
644
  ],
366
645
  "transitions": [
@@ -370,8 +649,14 @@
370
649
  "event": "INIT",
371
650
  "effects": [
372
651
  [
373
- "ref",
374
- "AgentMemory"
652
+ "fetch",
653
+ "AgentMemory",
654
+ {
655
+ "emit": {
656
+ "failure": "AgentMemoryLoadFailed",
657
+ "success": "AgentMemoryLoaded"
658
+ }
659
+ }
375
660
  ]
376
661
  ]
377
662
  },
@@ -386,7 +671,6 @@
386
671
  {
387
672
  "type": "stack",
388
673
  "direction": "vertical",
389
- "gap": "md",
390
674
  "children": [
391
675
  {
392
676
  "type": "stack",
@@ -394,14 +678,14 @@
394
678
  "gap": "sm",
395
679
  "children": [
396
680
  {
681
+ "size": "md",
397
682
  "type": "icon",
398
- "name": "plus-circle",
399
- "size": "md"
683
+ "name": "plus-circle"
400
684
  },
401
685
  {
402
686
  "type": "typography",
403
- "content": "Memorize",
404
- "variant": "h3"
687
+ "variant": "h3",
688
+ "content": "Memorize"
405
689
  }
406
690
  ]
407
691
  },
@@ -409,18 +693,19 @@
409
693
  "type": "divider"
410
694
  },
411
695
  {
412
- "type": "form-section",
413
696
  "entity": "AgentMemory",
414
697
  "mode": "create",
415
- "submitEvent": "SAVE",
416
698
  "cancelEvent": "CLOSE",
699
+ "submitEvent": "SAVE",
417
700
  "fields": [
418
701
  "content",
419
702
  "category",
420
703
  "scope"
421
- ]
704
+ ],
705
+ "type": "form-section"
422
706
  }
423
- ]
707
+ ],
708
+ "gap": "md"
424
709
  }
425
710
  ]
426
711
  ]
@@ -435,6 +720,13 @@
435
720
  "modal",
436
721
  null
437
722
  ],
723
+ [
724
+ "render-ui",
725
+ "main",
726
+ {
727
+ "type": "box"
728
+ }
729
+ ],
438
730
  [
439
731
  "notify",
440
732
  "Cancelled",
@@ -453,24 +745,35 @@
453
745
  "AgentMemory",
454
746
  "@payload.data"
455
747
  ],
748
+ [
749
+ "emit",
750
+ "MEMORIZED",
751
+ {
752
+ "id": "@payload.data.id"
753
+ }
754
+ ],
456
755
  [
457
756
  "render-ui",
458
757
  "modal",
459
758
  null
460
759
  ],
461
760
  [
462
- "emit",
463
- "MEMORIZED"
761
+ "render-ui",
762
+ "main",
763
+ {
764
+ "type": "box"
765
+ }
464
766
  ]
465
767
  ]
466
768
  }
467
769
  ]
468
- }
770
+ },
771
+ "scope": "instance"
469
772
  },
470
773
  {
471
774
  "name": "AgentMemoryAgent",
472
- "linkedEntity": "AgentMemory",
473
775
  "category": "interaction",
776
+ "linkedEntity": "AgentMemory",
474
777
  "emits": [
475
778
  {
476
779
  "event": "FORGOT",
@@ -511,6 +814,78 @@
511
814
  "type": "string"
512
815
  }
513
816
  ]
817
+ },
818
+ {
819
+ "event": "MEMORIZED",
820
+ "scope": "external",
821
+ "payload": [
822
+ {
823
+ "name": "id",
824
+ "type": "string"
825
+ }
826
+ ]
827
+ },
828
+ {
829
+ "event": "AgentMemoryLoaded",
830
+ "description": "Fired when AgentMemory finishes loading",
831
+ "scope": "internal",
832
+ "payload": [
833
+ {
834
+ "name": "id",
835
+ "type": "string"
836
+ },
837
+ {
838
+ "name": "name",
839
+ "type": "string"
840
+ },
841
+ {
842
+ "name": "description",
843
+ "type": "string"
844
+ },
845
+ {
846
+ "name": "status",
847
+ "type": "string"
848
+ },
849
+ {
850
+ "name": "createdAt",
851
+ "type": "string"
852
+ },
853
+ {
854
+ "name": "content",
855
+ "type": "string"
856
+ },
857
+ {
858
+ "name": "category",
859
+ "type": "string"
860
+ },
861
+ {
862
+ "name": "strength",
863
+ "type": "number"
864
+ },
865
+ {
866
+ "name": "pinned",
867
+ "type": "boolean"
868
+ },
869
+ {
870
+ "name": "scope",
871
+ "type": "string"
872
+ },
873
+ {
874
+ "name": "lastAccessedAt",
875
+ "type": "string"
876
+ }
877
+ ]
878
+ },
879
+ {
880
+ "event": "AgentMemoryLoadFailed",
881
+ "description": "Fired when AgentMemory fails to load",
882
+ "scope": "internal",
883
+ "payload": [
884
+ {
885
+ "name": "message",
886
+ "type": "string"
887
+ }
888
+ ]
514
889
  }
515
890
  ],
516
891
  "stateMachine": {
@@ -539,6 +914,21 @@
539
914
  }
540
915
  ]
541
916
  },
917
+ {
918
+ "key": "DECAY",
919
+ "name": "Decay"
920
+ },
921
+ {
922
+ "key": "MEMORIZED",
923
+ "name": "Memorized",
924
+ "payload": [
925
+ {
926
+ "name": "data",
927
+ "type": "object",
928
+ "required": true
929
+ }
930
+ ]
931
+ },
542
932
  {
543
933
  "key": "RECALL",
544
934
  "name": "Recall",
@@ -584,19 +974,28 @@
584
974
  ]
585
975
  },
586
976
  {
587
- "key": "DECAY",
588
- "name": "Decay"
977
+ "key": "FORGOT",
978
+ "name": "Forgot"
589
979
  },
590
980
  {
591
- "key": "MEMORIZED",
592
- "name": "Memorized",
593
- "payload": [
594
- {
595
- "name": "data",
596
- "type": "object",
597
- "required": true
598
- }
599
- ]
981
+ "key": "REINFORCED",
982
+ "name": "Reinforced"
983
+ },
984
+ {
985
+ "key": "DECAYED",
986
+ "name": "Decayed"
987
+ },
988
+ {
989
+ "key": "PINNED",
990
+ "name": "Pinned"
991
+ },
992
+ {
993
+ "key": "AgentMemoryLoaded",
994
+ "name": "AgentMemory loaded"
995
+ },
996
+ {
997
+ "key": "AgentMemoryLoadFailed",
998
+ "name": "AgentMemory load failed"
600
999
  }
601
1000
  ],
602
1001
  "transitions": [
@@ -607,16 +1006,22 @@
607
1006
  "effects": [
608
1007
  [
609
1008
  "fetch",
610
- "AgentMemory"
1009
+ "AgentMemory",
1010
+ {
1011
+ "emit": {
1012
+ "success": "AgentMemoryLoaded",
1013
+ "failure": "AgentMemoryLoadFailed"
1014
+ }
1015
+ }
611
1016
  ],
612
1017
  [
613
1018
  "render-ui",
614
1019
  "main",
615
1020
  {
616
- "type": "empty-state",
617
- "icon": "brain",
618
1021
  "title": "Memory",
619
- "description": "Memory is ready"
1022
+ "icon": "brain",
1023
+ "description": "Memory is ready",
1024
+ "type": "empty-state"
620
1025
  }
621
1026
  ]
622
1027
  ]
@@ -636,6 +1041,47 @@
636
1041
  "create",
637
1042
  "AgentMemory",
638
1043
  "@payload.data"
1044
+ ],
1045
+ [
1046
+ "emit",
1047
+ "MEMORIZED",
1048
+ {
1049
+ "id": "@payload.data.id"
1050
+ }
1051
+ ]
1052
+ ]
1053
+ },
1054
+ {
1055
+ "from": "idle",
1056
+ "to": "idle",
1057
+ "event": "DECAY",
1058
+ "effects": [
1059
+ [
1060
+ "agent/decay"
1061
+ ],
1062
+ [
1063
+ "emit",
1064
+ "DECAYED",
1065
+ {
1066
+ "id": ""
1067
+ }
1068
+ ]
1069
+ ]
1070
+ },
1071
+ {
1072
+ "from": "idle",
1073
+ "to": "active",
1074
+ "event": "MEMORIZED",
1075
+ "effects": [
1076
+ [
1077
+ "fetch",
1078
+ "AgentMemory",
1079
+ {
1080
+ "emit": {
1081
+ "failure": "AgentMemoryLoadFailed",
1082
+ "success": "AgentMemoryLoaded"
1083
+ }
1084
+ }
639
1085
  ]
640
1086
  ]
641
1087
  },
@@ -673,7 +1119,10 @@
673
1119
  ],
674
1120
  [
675
1121
  "emit",
676
- "PINNED"
1122
+ "PINNED",
1123
+ {
1124
+ "id": "@payload.id"
1125
+ }
677
1126
  ]
678
1127
  ]
679
1128
  },
@@ -688,7 +1137,10 @@
688
1137
  ],
689
1138
  [
690
1139
  "emit",
691
- "FORGOT"
1140
+ "FORGOT",
1141
+ {
1142
+ "id": "@payload.id"
1143
+ }
692
1144
  ]
693
1145
  ]
694
1146
  },
@@ -703,21 +1155,10 @@
703
1155
  ],
704
1156
  [
705
1157
  "emit",
706
- "REINFORCED"
707
- ]
708
- ]
709
- },
710
- {
711
- "from": "idle",
712
- "to": "idle",
713
- "event": "DECAY",
714
- "effects": [
715
- [
716
- "agent/decay"
717
- ],
718
- [
719
- "emit",
720
- "DECAYED"
1158
+ "REINFORCED",
1159
+ {
1160
+ "id": "@payload.id"
1161
+ }
721
1162
  ]
722
1163
  ]
723
1164
  },
@@ -731,23 +1172,16 @@
731
1172
  ],
732
1173
  [
733
1174
  "emit",
734
- "DECAYED"
735
- ]
736
- ]
737
- },
738
- {
739
- "from": "idle",
740
- "to": "active",
741
- "event": "MEMORIZED",
742
- "effects": [
743
- [
744
- "fetch",
745
- "AgentMemory"
1175
+ "DECAYED",
1176
+ {
1177
+ "id": ""
1178
+ }
746
1179
  ]
747
1180
  ]
748
1181
  }
749
1182
  ]
750
- }
1183
+ },
1184
+ "scope": "collection"
751
1185
  }
752
1186
  ],
753
1187
  "pages": [
@@ -769,4 +1203,4 @@
769
1203
  ]
770
1204
  }
771
1205
  ]
772
- }
1206
+ }