@almadar/std 7.0.0 → 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 +501 -224
  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 +232 -135
  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 +26 -373
  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 +309 -325
  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 +29 -331
  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 +170 -35
  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 +164 -29
  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 +263 -137
  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 +326 -462
  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 +132 -137
  94. package/behaviors/registry/molecules/std-drawer-master-list.orb +10 -5
  95. package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  96. package/behaviors/registry/molecules/std-filtered-list.orb +12 -7
  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 +58 -8
  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 +501 -224
  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 +232 -135
  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 +26 -373
  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 +309 -325
  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 +29 -331
  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 +170 -35
  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 +164 -29
  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 +263 -137
  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 +326 -462
  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 +132 -137
  243. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +10 -5
  244. package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
  245. package/dist/behaviors/registry/molecules/std-filtered-list.orb +12 -7
  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 +58 -8
  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 +1 -1
@@ -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"
118
- },
119
- {
120
- "key": "RECALL",
121
- "name": "RECALL"
200
+ "key": "AgentMemoryLoaded",
201
+ "name": "AgentMemory loaded"
122
202
  },
123
203
  {
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",
@@ -168,20 +254,12 @@
168
254
  "type": "object"
169
255
  }
170
256
  ]
171
- },
172
- {
173
- "key": "AgentMemoryLoaded",
174
- "name": "AgentMemory loaded"
175
- },
176
- {
177
- "key": "AgentMemoryLoadFailed",
178
- "name": "AgentMemory load failed"
179
257
  }
180
258
  ],
181
259
  "transitions": [
182
260
  {
183
- "from": "browsing",
184
- "to": "browsing",
261
+ "from": "loading",
262
+ "to": "loading",
185
263
  "event": "INIT",
186
264
  "effects": [
187
265
  [
@@ -198,218 +276,266 @@
198
276
  "render-ui",
199
277
  "main",
200
278
  {
279
+ "direction": "vertical",
280
+ "className": "py-12",
201
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
+ {
202
309
  "direction": "vertical",
203
- "gap": "lg",
204
310
  "className": "max-w-5xl mx-auto w-full",
205
311
  "children": [
206
312
  {
313
+ "align": "center",
314
+ "gap": "md",
207
315
  "type": "stack",
208
316
  "direction": "horizontal",
209
- "gap": "md",
210
- "justify": "space-between",
211
- "align": "center",
212
317
  "children": [
213
318
  {
214
319
  "type": "stack",
215
- "direction": "horizontal",
216
- "gap": "sm",
217
320
  "align": "center",
218
321
  "children": [
219
322
  {
220
323
  "type": "icon",
221
- "name": "brain",
222
- "size": "lg"
324
+ "size": "lg",
325
+ "name": "brain"
223
326
  },
224
327
  {
225
- "type": "typography",
226
328
  "content": "AgentMemory Manager",
227
- "variant": "h2"
329
+ "variant": "h2",
330
+ "type": "typography"
228
331
  }
229
- ]
332
+ ],
333
+ "direction": "horizontal",
334
+ "gap": "sm"
230
335
  },
231
336
  {
232
337
  "type": "stack",
233
- "direction": "horizontal",
234
338
  "gap": "sm",
339
+ "direction": "horizontal",
235
340
  "children": [
236
341
  {
237
- "type": "button",
238
342
  "label": "Memorize",
239
343
  "event": "MEMORIZE",
240
344
  "variant": "primary",
241
- "icon": "plus"
345
+ "icon": "plus",
346
+ "type": "button"
242
347
  },
243
348
  {
244
349
  "type": "button",
245
350
  "label": "Recall",
351
+ "icon": "search",
246
352
  "event": "RECALL",
247
- "variant": "secondary",
248
- "icon": "search"
353
+ "variant": "secondary"
249
354
  },
250
355
  {
356
+ "icon": "clock",
251
357
  "type": "button",
252
- "label": "Decay All",
253
358
  "event": "DECAY",
254
- "variant": "ghost",
255
- "icon": "clock"
359
+ "label": "Decay All",
360
+ "variant": "ghost"
256
361
  }
257
362
  ]
258
363
  }
259
- ]
364
+ ],
365
+ "justify": "space-between"
260
366
  },
261
367
  {
262
368
  "type": "divider"
263
369
  },
264
370
  {
265
- "type": "data-grid",
266
- "entity": "AgentMemory",
267
- "emptyIcon": "inbox",
268
- "emptyTitle": "No memories yet",
269
- "emptyDescription": "Create your first memory to get started.",
270
371
  "itemActions": [
271
372
  {
272
- "label": "Pin",
273
373
  "event": "PIN",
274
374
  "variant": "ghost",
375
+ "label": "Pin",
275
376
  "size": "sm"
276
377
  },
277
378
  {
278
- "label": "Reinforce",
279
- "event": "REINFORCE",
379
+ "size": "sm",
280
380
  "variant": "ghost",
281
- "size": "sm"
381
+ "label": "Reinforce",
382
+ "event": "REINFORCE"
282
383
  },
283
384
  {
284
- "label": "Forget",
285
- "event": "FORGET",
385
+ "size": "sm",
286
386
  "variant": "danger",
287
- "size": "sm"
387
+ "event": "FORGET",
388
+ "label": "Forget"
288
389
  }
289
390
  ],
290
391
  "columns": [
291
392
  {
393
+ "variant": "h4",
292
394
  "name": "content",
293
395
  "label": "Content",
294
- "variant": "h4",
295
396
  "icon": "brain"
296
397
  },
297
398
  {
298
399
  "name": "category",
299
400
  "label": "Category",
300
- "variant": "badge",
301
- "colorMap": {
302
- "active": "success",
303
- "completed": "success",
304
- "done": "success",
305
- "pending": "warning",
306
- "draft": "warning",
307
- "scheduled": "warning",
308
- "inactive": "neutral",
309
- "archived": "neutral",
310
- "disabled": "neutral",
311
- "error": "destructive",
312
- "cancelled": "destructive",
313
- "failed": "destructive"
314
- }
401
+ "variant": "badge"
315
402
  },
316
403
  {
317
- "name": "strength",
318
404
  "label": "Strength",
319
- "variant": "caption"
405
+ "variant": "caption",
406
+ "name": "strength"
320
407
  }
321
- ]
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"
322
414
  }
323
- ]
415
+ ],
416
+ "type": "stack",
417
+ "gap": "lg"
324
418
  }
325
419
  ]
326
420
  ]
327
- }
328
- ]
329
- },
330
- "scope": "collection",
331
- "emits": [
332
- {
333
- "event": "AgentMemoryLoaded",
334
- "scope": "internal",
335
- "description": "Fired when AgentMemory finishes loading",
336
- "payload": [
337
- {
338
- "name": "id",
339
- "type": "string"
340
- },
341
- {
342
- "name": "name",
343
- "type": "string"
344
- },
345
- {
346
- "name": "description",
347
- "type": "string"
348
- },
349
- {
350
- "name": "status",
351
- "type": "string"
352
- },
353
- {
354
- "name": "createdAt",
355
- "type": "string"
356
- },
357
- {
358
- "name": "content",
359
- "type": "string"
360
- },
361
- {
362
- "name": "category",
363
- "type": "string"
364
- },
365
- {
366
- "name": "strength",
367
- "type": "number"
368
- },
369
- {
370
- "name": "pinned",
371
- "type": "boolean"
372
- },
373
- {
374
- "name": "scope",
375
- "type": "string"
376
- },
377
- {
378
- "name": "lastAccessedAt",
379
- "type": "string"
380
- }
381
- ]
382
- },
383
- {
384
- "event": "AgentMemoryLoadFailed",
385
- "scope": "internal",
386
- "description": "Fired when AgentMemory fails to load",
387
- "payload": [
388
- {
389
- "name": "message",
390
- "type": "string"
391
- }
392
- ]
393
- }
394
- ]
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"
512
+ }
513
+ ]
514
+ ]
515
+ }
516
+ ]
517
+ },
518
+ "scope": "collection"
395
519
  },
396
520
  {
397
521
  "name": "AgentMemoryCreate",
398
- "linkedEntity": "AgentMemory",
399
522
  "category": "interaction",
523
+ "linkedEntity": "AgentMemory",
400
524
  "emits": [
401
- {
402
- "event": "SAVE",
403
- "scope": "external"
404
- },
405
525
  {
406
526
  "event": "MEMORIZED",
407
- "scope": "external"
527
+ "scope": "external",
528
+ "payload": [
529
+ {
530
+ "name": "id",
531
+ "type": "string"
532
+ }
533
+ ]
408
534
  },
409
535
  {
410
536
  "event": "AgentMemoryLoaded",
411
- "scope": "internal",
412
537
  "description": "Fired when AgentMemory finishes loading",
538
+ "scope": "internal",
413
539
  "payload": [
414
540
  {
415
541
  "name": "id",
@@ -459,8 +585,8 @@
459
585
  },
460
586
  {
461
587
  "event": "AgentMemoryLoadFailed",
462
- "scope": "internal",
463
588
  "description": "Fired when AgentMemory fails to load",
589
+ "scope": "internal",
464
590
  "payload": [
465
591
  {
466
592
  "name": "message",
@@ -486,7 +612,7 @@
486
612
  },
487
613
  {
488
614
  "key": "MEMORIZE",
489
- "name": "Open"
615
+ "name": "Memorize"
490
616
  },
491
617
  {
492
618
  "key": "CLOSE",
@@ -503,6 +629,10 @@
503
629
  }
504
630
  ]
505
631
  },
632
+ {
633
+ "key": "MEMORIZED",
634
+ "name": "Memorized"
635
+ },
506
636
  {
507
637
  "key": "AgentMemoryLoaded",
508
638
  "name": "AgentMemory loaded"
@@ -523,8 +653,8 @@
523
653
  "AgentMemory",
524
654
  {
525
655
  "emit": {
526
- "success": "AgentMemoryLoaded",
527
- "failure": "AgentMemoryLoadFailed"
656
+ "failure": "AgentMemoryLoadFailed",
657
+ "success": "AgentMemoryLoaded"
528
658
  }
529
659
  }
530
660
  ]
@@ -541,7 +671,6 @@
541
671
  {
542
672
  "type": "stack",
543
673
  "direction": "vertical",
544
- "gap": "md",
545
674
  "children": [
546
675
  {
547
676
  "type": "stack",
@@ -549,14 +678,14 @@
549
678
  "gap": "sm",
550
679
  "children": [
551
680
  {
681
+ "size": "md",
552
682
  "type": "icon",
553
- "name": "plus-circle",
554
- "size": "md"
683
+ "name": "plus-circle"
555
684
  },
556
685
  {
557
686
  "type": "typography",
558
- "content": "Memorize",
559
- "variant": "h3"
687
+ "variant": "h3",
688
+ "content": "Memorize"
560
689
  }
561
690
  ]
562
691
  },
@@ -564,18 +693,19 @@
564
693
  "type": "divider"
565
694
  },
566
695
  {
567
- "type": "form-section",
568
696
  "entity": "AgentMemory",
569
697
  "mode": "create",
570
- "submitEvent": "SAVE",
571
698
  "cancelEvent": "CLOSE",
699
+ "submitEvent": "SAVE",
572
700
  "fields": [
573
701
  "content",
574
702
  "category",
575
703
  "scope"
576
- ]
704
+ ],
705
+ "type": "form-section"
577
706
  }
578
- ]
707
+ ],
708
+ "gap": "md"
579
709
  }
580
710
  ]
581
711
  ]
@@ -590,6 +720,13 @@
590
720
  "modal",
591
721
  null
592
722
  ],
723
+ [
724
+ "render-ui",
725
+ "main",
726
+ {
727
+ "type": "box"
728
+ }
729
+ ],
593
730
  [
594
731
  "notify",
595
732
  "Cancelled",
@@ -608,14 +745,24 @@
608
745
  "AgentMemory",
609
746
  "@payload.data"
610
747
  ],
748
+ [
749
+ "emit",
750
+ "MEMORIZED",
751
+ {
752
+ "id": "@payload.data.id"
753
+ }
754
+ ],
611
755
  [
612
756
  "render-ui",
613
757
  "modal",
614
758
  null
615
759
  ],
616
760
  [
617
- "emit",
618
- "MEMORIZED"
761
+ "render-ui",
762
+ "main",
763
+ {
764
+ "type": "box"
765
+ }
619
766
  ]
620
767
  ]
621
768
  }
@@ -625,8 +772,8 @@
625
772
  },
626
773
  {
627
774
  "name": "AgentMemoryAgent",
628
- "linkedEntity": "AgentMemory",
629
775
  "category": "interaction",
776
+ "linkedEntity": "AgentMemory",
630
777
  "emits": [
631
778
  {
632
779
  "event": "FORGOT",
@@ -667,6 +814,78 @@
667
814
  "type": "string"
668
815
  }
669
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
+ ]
670
889
  }
671
890
  ],
672
891
  "stateMachine": {
@@ -695,6 +914,21 @@
695
914
  }
696
915
  ]
697
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
+ },
698
932
  {
699
933
  "key": "RECALL",
700
934
  "name": "Recall",
@@ -740,19 +974,28 @@
740
974
  ]
741
975
  },
742
976
  {
743
- "key": "DECAY",
744
- "name": "Decay"
977
+ "key": "FORGOT",
978
+ "name": "Forgot"
745
979
  },
746
980
  {
747
- "key": "MEMORIZED",
748
- "name": "Memorized",
749
- "payload": [
750
- {
751
- "name": "data",
752
- "type": "object",
753
- "required": true
754
- }
755
- ]
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"
756
999
  }
757
1000
  ],
758
1001
  "transitions": [
@@ -763,16 +1006,22 @@
763
1006
  "effects": [
764
1007
  [
765
1008
  "fetch",
766
- "AgentMemory"
1009
+ "AgentMemory",
1010
+ {
1011
+ "emit": {
1012
+ "success": "AgentMemoryLoaded",
1013
+ "failure": "AgentMemoryLoadFailed"
1014
+ }
1015
+ }
767
1016
  ],
768
1017
  [
769
1018
  "render-ui",
770
1019
  "main",
771
1020
  {
772
- "type": "empty-state",
773
- "icon": "brain",
774
1021
  "title": "Memory",
775
- "description": "Memory is ready"
1022
+ "icon": "brain",
1023
+ "description": "Memory is ready",
1024
+ "type": "empty-state"
776
1025
  }
777
1026
  ]
778
1027
  ]
@@ -792,6 +1041,47 @@
792
1041
  "create",
793
1042
  "AgentMemory",
794
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
+ }
795
1085
  ]
796
1086
  ]
797
1087
  },
@@ -829,7 +1119,10 @@
829
1119
  ],
830
1120
  [
831
1121
  "emit",
832
- "PINNED"
1122
+ "PINNED",
1123
+ {
1124
+ "id": "@payload.id"
1125
+ }
833
1126
  ]
834
1127
  ]
835
1128
  },
@@ -844,7 +1137,10 @@
844
1137
  ],
845
1138
  [
846
1139
  "emit",
847
- "FORGOT"
1140
+ "FORGOT",
1141
+ {
1142
+ "id": "@payload.id"
1143
+ }
848
1144
  ]
849
1145
  ]
850
1146
  },
@@ -859,21 +1155,10 @@
859
1155
  ],
860
1156
  [
861
1157
  "emit",
862
- "REINFORCED"
863
- ]
864
- ]
865
- },
866
- {
867
- "from": "idle",
868
- "to": "idle",
869
- "event": "DECAY",
870
- "effects": [
871
- [
872
- "agent/decay"
873
- ],
874
- [
875
- "emit",
876
- "DECAYED"
1158
+ "REINFORCED",
1159
+ {
1160
+ "id": "@payload.id"
1161
+ }
877
1162
  ]
878
1163
  ]
879
1164
  },
@@ -887,18 +1172,10 @@
887
1172
  ],
888
1173
  [
889
1174
  "emit",
890
- "DECAYED"
891
- ]
892
- ]
893
- },
894
- {
895
- "from": "idle",
896
- "to": "active",
897
- "event": "MEMORIZED",
898
- "effects": [
899
- [
900
- "fetch",
901
- "AgentMemory"
1175
+ "DECAYED",
1176
+ {
1177
+ "id": ""
1178
+ }
902
1179
  ]
903
1180
  ]
904
1181
  }
@@ -926,4 +1203,4 @@
926
1203
  ]
927
1204
  }
928
1205
  ]
929
- }
1206
+ }