@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,7 +1,7 @@
1
1
  {
2
2
  "name": "std-agent-planner",
3
3
  "version": "1.0.0",
4
- "description": "std-agent-planner -- Task planning",
4
+ "description": "std-agent-planner as a Function",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "AgentPlannerOrbital",
@@ -71,7 +71,7 @@
71
71
  {
72
72
  "name": "confidence",
73
73
  "type": "number",
74
- "default": 0
74
+ "default": 0.0
75
75
  },
76
76
  {
77
77
  "name": "relevantMemories",
@@ -81,7 +81,7 @@
81
81
  {
82
82
  "name": "memoryCount",
83
83
  "type": "number",
84
- "default": 0
84
+ "default": 0.0
85
85
  },
86
86
  {
87
87
  "name": "error",
@@ -126,7 +126,7 @@
126
126
  {
127
127
  "name": "strength",
128
128
  "type": "number",
129
- "default": 1
129
+ "default": 1.0
130
130
  },
131
131
  {
132
132
  "name": "pinned",
@@ -151,7 +151,7 @@
151
151
  {
152
152
  "name": "duration",
153
153
  "type": "number",
154
- "default": 0
154
+ "default": 0.0
155
155
  },
156
156
  {
157
157
  "name": "icon",
@@ -163,8 +163,8 @@
163
163
  "traits": [
164
164
  {
165
165
  "name": "AgentPlannerPlanner",
166
- "linkedEntity": "AgentPlanner",
167
166
  "category": "interaction",
167
+ "linkedEntity": "AgentPlanner",
168
168
  "emits": [
169
169
  {
170
170
  "event": "PLAN_READY",
@@ -185,7 +185,18 @@
185
185
  {
186
186
  "event": "PLAN_READY",
187
187
  "triggers": "INIT",
188
- "scope": "external"
188
+ "source": {
189
+ "kind": "trait",
190
+ "trait": "AgentPlannerPlanner"
191
+ }
192
+ },
193
+ {
194
+ "event": "PLAN",
195
+ "triggers": "PLAN",
196
+ "source": {
197
+ "kind": "trait",
198
+ "trait": "PlannerTaskInput"
199
+ }
189
200
  }
190
201
  ],
191
202
  "stateMachine": {
@@ -214,11 +225,11 @@
214
225
  },
215
226
  {
216
227
  "key": "PLAN",
217
- "name": "Start Planning"
228
+ "name": "Plan"
218
229
  },
219
230
  {
220
231
  "key": "CLASSIFIED",
221
- "name": "Task Classified",
232
+ "name": "Classified",
222
233
  "payload": [
223
234
  {
224
235
  "name": "category",
@@ -227,6 +238,17 @@
227
238
  }
228
239
  ]
229
240
  },
241
+ {
242
+ "key": "FAILED",
243
+ "name": "Failed",
244
+ "payload": [
245
+ {
246
+ "name": "error",
247
+ "type": "string",
248
+ "required": true
249
+ }
250
+ ]
251
+ },
230
252
  {
231
253
  "key": "MEMORIES_LOADED",
232
254
  "name": "Memories Loaded",
@@ -259,20 +281,13 @@
259
281
  }
260
282
  ]
261
283
  },
262
- {
263
- "key": "FAILED",
264
- "name": "Failed",
265
- "payload": [
266
- {
267
- "name": "error",
268
- "type": "string",
269
- "required": true
270
- }
271
- ]
272
- },
273
284
  {
274
285
  "key": "RESET",
275
286
  "name": "Reset"
287
+ },
288
+ {
289
+ "key": "PLAN_READY",
290
+ "name": "Plan Ready"
276
291
  }
277
292
  ],
278
293
  "transitions": [
@@ -285,27 +300,26 @@
285
300
  "render-ui",
286
301
  "main",
287
302
  {
288
- "type": "stack",
289
303
  "direction": "vertical",
290
304
  "gap": "lg",
291
305
  "children": [
292
306
  {
293
307
  "type": "stack",
294
308
  "direction": "horizontal",
295
- "gap": "sm",
296
- "align": "center",
297
309
  "children": [
298
310
  {
299
- "type": "icon",
311
+ "size": "lg",
300
312
  "name": "map",
301
- "size": "lg"
313
+ "type": "icon"
302
314
  },
303
315
  {
304
316
  "type": "typography",
305
317
  "content": "Task Planner",
306
318
  "variant": "h2"
307
319
  }
308
- ]
320
+ ],
321
+ "align": "center",
322
+ "gap": "sm"
309
323
  },
310
324
  {
311
325
  "type": "divider"
@@ -315,28 +329,29 @@
315
329
  "children": [
316
330
  {
317
331
  "type": "stack",
318
- "direction": "vertical",
319
332
  "gap": "md",
333
+ "direction": "vertical",
320
334
  "children": [
321
335
  {
322
- "type": "typography",
323
336
  "content": "Describe the task to plan",
337
+ "type": "typography",
324
338
  "variant": "body"
325
339
  },
326
340
  {
327
- "type": "form-section",
328
- "entity": "AgentPlanner",
329
- "mode": "edit",
330
- "submitEvent": "PLAN",
331
341
  "fields": [
332
342
  "task"
333
- ]
343
+ ],
344
+ "submitEvent": "PLAN",
345
+ "type": "form-section",
346
+ "entity": "AgentPlanner",
347
+ "mode": "edit"
334
348
  }
335
349
  ]
336
350
  }
337
351
  ]
338
352
  }
339
- ]
353
+ ],
354
+ "type": "stack"
340
355
  }
341
356
  ]
342
357
  ]
@@ -370,28 +385,28 @@
370
385
  "main",
371
386
  {
372
387
  "type": "stack",
373
- "direction": "vertical",
374
- "gap": "lg",
375
388
  "align": "center",
389
+ "gap": "lg",
390
+ "direction": "vertical",
376
391
  "children": [
377
392
  {
378
393
  "type": "icon",
379
- "name": "tag",
380
- "size": "lg"
394
+ "size": "lg",
395
+ "name": "tag"
381
396
  },
382
397
  {
398
+ "variant": "h3",
383
399
  "type": "typography",
384
- "content": "Classifying task...",
385
- "variant": "h3"
400
+ "content": "Classifying task..."
386
401
  },
387
402
  {
388
- "type": "spinner",
389
- "size": "lg"
403
+ "size": "lg",
404
+ "type": "spinner"
390
405
  },
391
406
  {
392
- "type": "typography",
393
407
  "content": "@entity.task",
394
- "variant": "caption"
408
+ "variant": "caption",
409
+ "type": "typography"
395
410
  }
396
411
  ]
397
412
  }
@@ -421,21 +436,21 @@
421
436
  " ",
422
437
  "@entity.task"
423
438
  ],
424
- 5
439
+ 5.0
425
440
  ],
426
441
  [
427
442
  "render-ui",
428
443
  "main",
429
444
  {
430
- "type": "stack",
431
445
  "direction": "vertical",
432
446
  "gap": "lg",
447
+ "type": "stack",
433
448
  "align": "center",
434
449
  "children": [
435
450
  {
436
451
  "type": "icon",
437
- "name": "brain",
438
- "size": "lg"
452
+ "size": "lg",
453
+ "name": "brain"
439
454
  },
440
455
  {
441
456
  "type": "typography",
@@ -459,6 +474,57 @@
459
474
  ]
460
475
  ]
461
476
  },
477
+ {
478
+ "from": "classifying",
479
+ "to": "idle",
480
+ "event": "FAILED",
481
+ "effects": [
482
+ [
483
+ "set",
484
+ "@entity.error",
485
+ "@payload.error"
486
+ ],
487
+ [
488
+ "set",
489
+ "@entity.status",
490
+ "error"
491
+ ],
492
+ [
493
+ "render-ui",
494
+ "main",
495
+ {
496
+ "align": "center",
497
+ "children": [
498
+ {
499
+ "type": "icon",
500
+ "name": "alert-triangle",
501
+ "size": "lg"
502
+ },
503
+ {
504
+ "variant": "h2",
505
+ "content": "Planning Failed",
506
+ "type": "typography"
507
+ },
508
+ {
509
+ "type": "alert",
510
+ "variant": "error",
511
+ "message": "@entity.error"
512
+ },
513
+ {
514
+ "icon": "rotate-ccw",
515
+ "event": "RESET",
516
+ "label": "Try Again",
517
+ "variant": "primary",
518
+ "type": "button"
519
+ }
520
+ ],
521
+ "direction": "vertical",
522
+ "type": "stack",
523
+ "gap": "lg"
524
+ }
525
+ ]
526
+ ]
527
+ },
462
528
  {
463
529
  "from": "recalling",
464
530
  "to": "planning",
@@ -500,10 +566,9 @@
500
566
  "render-ui",
501
567
  "main",
502
568
  {
503
- "type": "stack",
504
569
  "direction": "vertical",
570
+ "type": "stack",
505
571
  "gap": "lg",
506
- "align": "center",
507
572
  "children": [
508
573
  {
509
574
  "type": "icon",
@@ -511,19 +576,17 @@
511
576
  "size": "lg"
512
577
  },
513
578
  {
514
- "type": "typography",
515
579
  "content": "Generating plan...",
516
- "variant": "h3"
580
+ "variant": "h3",
581
+ "type": "typography"
517
582
  },
518
583
  {
519
- "type": "spinner",
520
- "size": "lg"
584
+ "size": "lg",
585
+ "type": "spinner"
521
586
  },
522
587
  {
523
- "type": "stack",
524
588
  "direction": "horizontal",
525
- "gap": "md",
526
- "justify": "center",
589
+ "type": "stack",
527
590
  "children": [
528
591
  {
529
592
  "type": "badge",
@@ -534,16 +597,73 @@
534
597
  ]
535
598
  },
536
599
  {
537
- "type": "badge",
538
600
  "label": [
539
601
  "str/concat",
540
- "@entity.memoryCount",
602
+ [
603
+ "str/concat",
604
+ "@entity.memoryCount"
605
+ ],
541
606
  " memories loaded"
542
- ]
607
+ ],
608
+ "type": "badge"
543
609
  }
544
- ]
610
+ ],
611
+ "justify": "center",
612
+ "gap": "md"
545
613
  }
546
- ]
614
+ ],
615
+ "align": "center"
616
+ }
617
+ ]
618
+ ]
619
+ },
620
+ {
621
+ "from": "recalling",
622
+ "to": "idle",
623
+ "event": "FAILED",
624
+ "effects": [
625
+ [
626
+ "set",
627
+ "@entity.error",
628
+ "@payload.error"
629
+ ],
630
+ [
631
+ "set",
632
+ "@entity.status",
633
+ "error"
634
+ ],
635
+ [
636
+ "render-ui",
637
+ "main",
638
+ {
639
+ "align": "center",
640
+ "children": [
641
+ {
642
+ "size": "lg",
643
+ "name": "alert-triangle",
644
+ "type": "icon"
645
+ },
646
+ {
647
+ "variant": "h2",
648
+ "type": "typography",
649
+ "content": "Planning Failed"
650
+ },
651
+ {
652
+ "type": "alert",
653
+ "message": "@entity.error",
654
+ "variant": "error"
655
+ },
656
+ {
657
+ "type": "button",
658
+ "label": "Try Again",
659
+ "event": "RESET",
660
+ "variant": "primary",
661
+ "icon": "rotate-ccw"
662
+ }
663
+ ],
664
+ "type": "stack",
665
+ "gap": "lg",
666
+ "direction": "vertical"
547
667
  }
548
668
  ]
549
669
  ]
@@ -587,27 +707,24 @@
587
707
  "render-ui",
588
708
  "main",
589
709
  {
590
- "type": "stack",
591
- "direction": "vertical",
592
710
  "gap": "lg",
711
+ "type": "stack",
593
712
  "children": [
594
713
  {
595
714
  "type": "stack",
596
- "direction": "horizontal",
597
- "gap": "sm",
598
- "align": "center",
599
715
  "justify": "space-between",
716
+ "align": "center",
600
717
  "children": [
601
718
  {
602
- "type": "stack",
603
- "direction": "horizontal",
604
719
  "gap": "sm",
720
+ "direction": "horizontal",
605
721
  "align": "center",
722
+ "type": "stack",
606
723
  "children": [
607
724
  {
608
- "type": "icon",
725
+ "size": "lg",
609
726
  "name": "check-circle",
610
- "size": "lg"
727
+ "type": "icon"
611
728
  },
612
729
  {
613
730
  "type": "typography",
@@ -617,42 +734,47 @@
617
734
  ]
618
735
  },
619
736
  {
620
- "type": "button",
621
737
  "label": "New Plan",
622
738
  "event": "RESET",
623
739
  "variant": "ghost",
740
+ "type": "button",
624
741
  "icon": "rotate-ccw"
625
742
  }
626
- ]
743
+ ],
744
+ "gap": "sm",
745
+ "direction": "horizontal"
627
746
  },
628
747
  {
629
748
  "type": "divider"
630
749
  },
631
750
  {
751
+ "columns": 3.0,
632
752
  "type": "simple-grid",
633
- "columns": 3,
634
753
  "children": [
635
754
  {
636
- "type": "stat-display",
637
755
  "label": "Category",
638
756
  "value": "@entity.category",
639
- "icon": "tag"
757
+ "icon": "tag",
758
+ "type": "stat-display"
640
759
  },
641
760
  {
642
- "type": "stat-display",
643
761
  "label": "Confidence",
644
762
  "value": [
645
763
  "str/concat",
646
- "@entity.confidence",
764
+ [
765
+ "str/concat",
766
+ "@entity.confidence"
767
+ ],
647
768
  "%"
648
769
  ],
770
+ "type": "stat-display",
649
771
  "icon": "target"
650
772
  },
651
773
  {
652
- "type": "stat-display",
653
774
  "label": "Memories Used",
654
- "value": "@entity.memoryCount",
655
- "icon": "brain"
775
+ "icon": "brain",
776
+ "type": "stat-display",
777
+ "value": "@entity.memoryCount"
656
778
  }
657
779
  ]
658
780
  },
@@ -664,25 +786,24 @@
664
786
  "children": [
665
787
  {
666
788
  "type": "stack",
667
- "direction": "vertical",
668
789
  "gap": "md",
669
790
  "children": [
670
791
  {
671
- "type": "typography",
672
792
  "content": "Task",
793
+ "type": "typography",
673
794
  "variant": "caption"
674
795
  },
675
796
  {
676
- "type": "typography",
677
797
  "content": "@entity.task",
678
- "variant": "body"
798
+ "variant": "body",
799
+ "type": "typography"
679
800
  },
680
801
  {
681
802
  "type": "divider"
682
803
  },
683
804
  {
684
- "type": "typography",
685
805
  "content": "Execution Plan",
806
+ "type": "typography",
686
807
  "variant": "caption"
687
808
  },
688
809
  {
@@ -690,39 +811,41 @@
690
811
  "content": "@entity.steps",
691
812
  "variant": "body"
692
813
  }
693
- ]
814
+ ],
815
+ "direction": "vertical"
694
816
  }
695
817
  ]
696
818
  },
697
819
  {
698
- "type": "card",
699
820
  "children": [
700
821
  {
701
- "type": "stack",
702
- "direction": "vertical",
703
- "gap": "sm",
704
822
  "children": [
705
823
  {
706
- "type": "typography",
824
+ "variant": "caption",
707
825
  "content": "Relevant Memories",
708
- "variant": "caption"
826
+ "type": "typography"
709
827
  },
710
828
  {
711
- "type": "typography",
712
829
  "content": "@entity.relevantMemories",
713
- "variant": "body"
830
+ "variant": "body",
831
+ "type": "typography"
714
832
  }
715
- ]
833
+ ],
834
+ "gap": "sm",
835
+ "type": "stack",
836
+ "direction": "vertical"
716
837
  }
717
- ]
838
+ ],
839
+ "type": "card"
718
840
  }
719
- ]
841
+ ],
842
+ "direction": "vertical"
720
843
  }
721
844
  ]
722
845
  ]
723
846
  },
724
847
  {
725
- "from": "classifying",
848
+ "from": "planning",
726
849
  "to": "idle",
727
850
  "event": "FAILED",
728
851
  "effects": [
@@ -741,8 +864,6 @@
741
864
  "main",
742
865
  {
743
866
  "type": "stack",
744
- "direction": "vertical",
745
- "gap": "lg",
746
867
  "align": "center",
747
868
  "children": [
748
869
  {
@@ -761,133 +882,33 @@
761
882
  "message": "@entity.error"
762
883
  },
763
884
  {
764
- "type": "button",
765
- "label": "Try Again",
766
- "event": "RESET",
767
885
  "variant": "primary",
768
- "icon": "rotate-ccw"
886
+ "icon": "rotate-ccw",
887
+ "label": "Try Again",
888
+ "type": "button",
889
+ "event": "RESET"
769
890
  }
770
- ]
891
+ ],
892
+ "direction": "vertical",
893
+ "gap": "lg"
771
894
  }
772
895
  ]
773
896
  ]
774
897
  },
775
898
  {
776
- "from": "recalling",
899
+ "from": "ready",
777
900
  "to": "idle",
778
- "event": "FAILED",
901
+ "event": "RESET",
779
902
  "effects": [
780
903
  [
781
904
  "set",
782
- "@entity.error",
783
- "@payload.error"
905
+ "@entity.status",
906
+ "idle"
784
907
  ],
785
908
  [
786
909
  "set",
787
- "@entity.status",
788
- "error"
789
- ],
790
- [
791
- "render-ui",
792
- "main",
793
- {
794
- "type": "stack",
795
- "direction": "vertical",
796
- "gap": "lg",
797
- "align": "center",
798
- "children": [
799
- {
800
- "type": "icon",
801
- "name": "alert-triangle",
802
- "size": "lg"
803
- },
804
- {
805
- "type": "typography",
806
- "content": "Planning Failed",
807
- "variant": "h2"
808
- },
809
- {
810
- "type": "alert",
811
- "variant": "error",
812
- "message": "@entity.error"
813
- },
814
- {
815
- "type": "button",
816
- "label": "Try Again",
817
- "event": "RESET",
818
- "variant": "primary",
819
- "icon": "rotate-ccw"
820
- }
821
- ]
822
- }
823
- ]
824
- ]
825
- },
826
- {
827
- "from": "planning",
828
- "to": "idle",
829
- "event": "FAILED",
830
- "effects": [
831
- [
832
- "set",
833
- "@entity.error",
834
- "@payload.error"
835
- ],
836
- [
837
- "set",
838
- "@entity.status",
839
- "error"
840
- ],
841
- [
842
- "render-ui",
843
- "main",
844
- {
845
- "type": "stack",
846
- "direction": "vertical",
847
- "gap": "lg",
848
- "align": "center",
849
- "children": [
850
- {
851
- "type": "icon",
852
- "name": "alert-triangle",
853
- "size": "lg"
854
- },
855
- {
856
- "type": "typography",
857
- "content": "Planning Failed",
858
- "variant": "h2"
859
- },
860
- {
861
- "type": "alert",
862
- "variant": "error",
863
- "message": "@entity.error"
864
- },
865
- {
866
- "type": "button",
867
- "label": "Try Again",
868
- "event": "RESET",
869
- "variant": "primary",
870
- "icon": "rotate-ccw"
871
- }
872
- ]
873
- }
874
- ]
875
- ]
876
- },
877
- {
878
- "from": "ready",
879
- "to": "idle",
880
- "event": "RESET",
881
- "effects": [
882
- [
883
- "set",
884
- "@entity.status",
885
- "idle"
886
- ],
887
- [
888
- "set",
889
- "@entity.task",
890
- ""
910
+ "@entity.task",
911
+ ""
891
912
  ],
892
913
  [
893
914
  "set",
@@ -902,7 +923,7 @@
902
923
  [
903
924
  "set",
904
925
  "@entity.confidence",
905
- 0
926
+ 0.0
906
927
  ],
907
928
  [
908
929
  "set",
@@ -912,7 +933,7 @@
912
933
  [
913
934
  "set",
914
935
  "@entity.memoryCount",
915
- 0
936
+ 0.0
916
937
  ],
917
938
  [
918
939
  "set",
@@ -923,15 +944,9 @@
923
944
  "render-ui",
924
945
  "main",
925
946
  {
926
- "type": "stack",
927
- "direction": "vertical",
928
- "gap": "lg",
929
947
  "children": [
930
948
  {
931
- "type": "stack",
932
- "direction": "horizontal",
933
949
  "gap": "sm",
934
- "align": "center",
935
950
  "children": [
936
951
  {
937
952
  "type": "icon",
@@ -943,7 +958,10 @@
943
958
  "content": "Task Planner",
944
959
  "variant": "h2"
945
960
  }
946
- ]
961
+ ],
962
+ "direction": "horizontal",
963
+ "type": "stack",
964
+ "align": "center"
947
965
  },
948
966
  {
949
967
  "type": "divider"
@@ -952,43 +970,47 @@
952
970
  "type": "card",
953
971
  "children": [
954
972
  {
955
- "type": "stack",
956
- "direction": "vertical",
957
973
  "gap": "md",
974
+ "direction": "vertical",
975
+ "type": "stack",
958
976
  "children": [
959
977
  {
978
+ "variant": "body",
960
979
  "type": "typography",
961
- "content": "Describe the task to plan",
962
- "variant": "body"
980
+ "content": "Describe the task to plan"
963
981
  },
964
982
  {
965
- "type": "form-section",
966
- "entity": "AgentPlanner",
967
- "mode": "edit",
968
- "submitEvent": "PLAN",
969
983
  "fields": [
970
984
  "task"
971
- ]
985
+ ],
986
+ "entity": "AgentPlanner",
987
+ "type": "form-section",
988
+ "mode": "edit",
989
+ "submitEvent": "PLAN"
972
990
  }
973
991
  ]
974
992
  }
975
993
  ]
976
994
  }
977
- ]
995
+ ],
996
+ "direction": "vertical",
997
+ "gap": "lg",
998
+ "type": "stack"
978
999
  }
979
1000
  ]
980
1001
  ]
981
1002
  }
982
1003
  ]
983
- }
1004
+ },
1005
+ "scope": "collection"
984
1006
  },
985
1007
  {
986
1008
  "ref": "Modal.traits.ModalRecordModal",
987
1009
  "name": "PlannerTaskInput",
988
1010
  "linkedEntity": "AgentPlanner",
989
1011
  "events": {
990
- "OPEN": "NEW_TASK",
991
- "SAVE": "PLAN"
1012
+ "SAVE": "PLAN",
1013
+ "OPEN": "NEW_TASK"
992
1014
  },
993
1015
  "effects": {
994
1016
  "INIT": [
@@ -997,42 +1019,83 @@
997
1019
  "AgentPlanner"
998
1020
  ]
999
1021
  ],
1022
+ "PLAN": [
1023
+ [
1024
+ "render-ui",
1025
+ "modal",
1026
+ null
1027
+ ],
1028
+ [
1029
+ "render-ui",
1030
+ "main",
1031
+ {
1032
+ "type": "box"
1033
+ }
1034
+ ]
1035
+ ],
1036
+ "CLOSE": [
1037
+ [
1038
+ "render-ui",
1039
+ "modal",
1040
+ null
1041
+ ],
1042
+ [
1043
+ "render-ui",
1044
+ "main",
1045
+ {
1046
+ "type": "box"
1047
+ }
1048
+ ],
1049
+ [
1050
+ "notify",
1051
+ "Cancelled",
1052
+ "info"
1053
+ ]
1054
+ ],
1000
1055
  "NEW_TASK": [
1001
1056
  [
1002
1057
  "render-ui",
1003
1058
  "modal",
1004
1059
  {
1005
- "type": "stack",
1006
- "direction": "vertical",
1007
1060
  "gap": "md",
1061
+ "type": "stack",
1008
1062
  "children": [
1009
1063
  {
1064
+ "size": "md",
1010
1065
  "type": "icon",
1011
- "name": "map",
1012
- "size": "md"
1066
+ "name": "map"
1013
1067
  },
1014
1068
  {
1069
+ "variant": "h3",
1015
1070
  "type": "typography",
1016
- "content": "Describe the task to plan",
1017
- "variant": "h3"
1071
+ "content": "Describe the task to plan"
1018
1072
  },
1019
1073
  {
1020
1074
  "type": "divider"
1021
1075
  },
1022
1076
  {
1023
- "type": "form-section",
1024
1077
  "entity": "AgentPlanner",
1025
- "mode": "edit",
1026
- "submitEvent": "PLAN",
1027
- "cancelEvent": "CLOSE",
1078
+ "type": "form-section",
1028
1079
  "fields": [
1029
1080
  "task"
1030
- ]
1081
+ ],
1082
+ "mode": "edit",
1083
+ "submitEvent": "PLAN",
1084
+ "cancelEvent": "CLOSE"
1031
1085
  }
1032
- ]
1086
+ ],
1087
+ "direction": "vertical"
1033
1088
  }
1034
1089
  ]
1035
- ],
1090
+ ]
1091
+ }
1092
+ },
1093
+ {
1094
+ "ref": "AgentClassifier.traits.AgentClassifierModal",
1095
+ "name": "PlannerClassifierFlow",
1096
+ "linkedEntity": "AgentPlanner",
1097
+ "emitsScope": "internal",
1098
+ "effects": {
1036
1099
  "CLOSE": [
1037
1100
  [
1038
1101
  "render-ui",
@@ -1043,25 +1106,7 @@
1043
1106
  "notify",
1044
1107
  "Cancelled",
1045
1108
  "info"
1046
- ]
1047
- ],
1048
- "PLAN": [
1049
- [
1050
- "render-ui",
1051
- "modal",
1052
- null
1053
- ]
1054
- ]
1055
- }
1056
- },
1057
- {
1058
- "ref": "AgentClassifier.traits.AgentClassifierModal",
1059
- "name": "PlannerClassifierFlow",
1060
- "linkedEntity": "AgentPlanner",
1061
- "listens": [],
1062
- "emitsScope": "internal",
1063
- "effects": {
1064
- "INIT": [
1109
+ ],
1065
1110
  [
1066
1111
  "ref",
1067
1112
  "AgentPlanner"
@@ -1071,19 +1116,14 @@
1071
1116
  "main",
1072
1117
  {
1073
1118
  "type": "stack",
1074
- "direction": "vertical",
1075
1119
  "gap": "lg",
1076
1120
  "children": [
1077
1121
  {
1078
- "type": "stack",
1079
1122
  "direction": "horizontal",
1080
- "gap": "md",
1081
1123
  "justify": "space-between",
1082
1124
  "children": [
1083
1125
  {
1084
1126
  "type": "stack",
1085
- "direction": "horizontal",
1086
- "gap": "md",
1087
1127
  "children": [
1088
1128
  {
1089
1129
  "type": "icon",
@@ -1091,124 +1131,54 @@
1091
1131
  "size": "lg"
1092
1132
  },
1093
1133
  {
1094
- "type": "typography",
1095
1134
  "content": "AgentPlanner",
1135
+ "type": "typography",
1096
1136
  "variant": "h2"
1097
1137
  }
1098
- ]
1138
+ ],
1139
+ "gap": "md",
1140
+ "direction": "horizontal"
1099
1141
  },
1100
1142
  {
1101
1143
  "type": "button",
1102
- "label": "Open",
1103
- "event": "CLASSIFY",
1144
+ "icon": "tag",
1104
1145
  "variant": "primary",
1105
- "icon": "tag"
1146
+ "label": "Open",
1147
+ "event": "CLASSIFY"
1106
1148
  }
1107
- ]
1149
+ ],
1150
+ "gap": "md",
1151
+ "type": "stack"
1108
1152
  },
1109
1153
  {
1110
1154
  "type": "divider"
1111
1155
  },
1112
1156
  {
1113
- "type": "empty-state",
1114
1157
  "icon": "tag",
1115
1158
  "title": "Nothing open",
1159
+ "type": "empty-state",
1116
1160
  "description": "Click Open to view details in a modal overlay."
1117
1161
  }
1118
- ]
1162
+ ],
1163
+ "direction": "vertical"
1119
1164
  }
1120
1165
  ]
1121
1166
  ],
1122
- "CLASSIFY": [
1167
+ "SAVE": [
1123
1168
  [
1124
- "render-ui",
1125
- "modal",
1126
- {
1127
- "type": "stack",
1128
- "direction": "vertical",
1129
- "gap": "md",
1130
- "children": [
1131
- {
1132
- "type": "stack",
1133
- "direction": "horizontal",
1134
- "gap": "sm",
1135
- "children": [
1136
- {
1137
- "type": "icon",
1138
- "name": "tag",
1139
- "size": "md"
1140
- },
1141
- {
1142
- "type": "typography",
1143
- "content": "AgentPlanner",
1144
- "variant": "h3"
1145
- }
1146
- ]
1147
- },
1148
- {
1149
- "type": "divider"
1150
- },
1151
- {
1152
- "type": "stack",
1153
- "direction": "horizontal",
1154
- "gap": "sm",
1155
- "children": [
1156
- {
1157
- "type": "typography",
1158
- "variant": "caption",
1159
- "content": "Categories:"
1160
- },
1161
- {
1162
- "type": "badge",
1163
- "label": "code",
1164
- "variant": "secondary"
1165
- },
1166
- {
1167
- "type": "badge",
1168
- "label": "schema",
1169
- "variant": "secondary"
1170
- },
1171
- {
1172
- "type": "badge",
1173
- "label": "design",
1174
- "variant": "secondary"
1175
- },
1176
- {
1177
- "type": "badge",
1178
- "label": "debug",
1179
- "variant": "secondary"
1180
- },
1181
- {
1182
- "type": "badge",
1183
- "label": "deploy",
1184
- "variant": "secondary"
1185
- }
1186
- ]
1187
- },
1188
- {
1189
- "type": "form-section",
1190
- "entity": "AgentPlanner",
1191
- "mode": "create",
1192
- "submitEvent": "SAVE",
1193
- "cancelEvent": "CLOSE",
1194
- "fields": [
1195
- "input"
1196
- ]
1197
- }
1198
- ]
1199
- }
1200
- ]
1201
- ],
1202
- "CLOSE": [
1169
+ "persist",
1170
+ "create",
1171
+ "AgentPlanner",
1172
+ "@payload.data"
1173
+ ],
1203
1174
  [
1204
1175
  "render-ui",
1205
1176
  "modal",
1206
1177
  null
1207
1178
  ],
1208
1179
  [
1209
- "notify",
1210
- "Cancelled",
1211
- "info"
1180
+ "emit",
1181
+ "CLASSIFIED"
1212
1182
  ],
1213
1183
  [
1214
1184
  "ref",
@@ -1218,20 +1188,17 @@
1218
1188
  "render-ui",
1219
1189
  "main",
1220
1190
  {
1221
- "type": "stack",
1222
1191
  "direction": "vertical",
1223
1192
  "gap": "lg",
1193
+ "type": "stack",
1224
1194
  "children": [
1225
1195
  {
1226
- "type": "stack",
1227
- "direction": "horizontal",
1228
1196
  "gap": "md",
1229
1197
  "justify": "space-between",
1230
1198
  "children": [
1231
1199
  {
1232
- "type": "stack",
1233
- "direction": "horizontal",
1234
1200
  "gap": "md",
1201
+ "type": "stack",
1235
1202
  "children": [
1236
1203
  {
1237
1204
  "type": "icon",
@@ -1239,50 +1206,38 @@
1239
1206
  "size": "lg"
1240
1207
  },
1241
1208
  {
1242
- "type": "typography",
1243
1209
  "content": "AgentPlanner",
1244
- "variant": "h2"
1210
+ "variant": "h2",
1211
+ "type": "typography"
1245
1212
  }
1246
- ]
1213
+ ],
1214
+ "direction": "horizontal"
1247
1215
  },
1248
1216
  {
1249
1217
  "type": "button",
1250
1218
  "label": "Open",
1251
- "event": "CLASSIFY",
1252
1219
  "variant": "primary",
1253
- "icon": "tag"
1220
+ "icon": "tag",
1221
+ "event": "CLASSIFY"
1254
1222
  }
1255
- ]
1223
+ ],
1224
+ "type": "stack",
1225
+ "direction": "horizontal"
1256
1226
  },
1257
1227
  {
1258
1228
  "type": "divider"
1259
1229
  },
1260
1230
  {
1261
- "type": "empty-state",
1262
1231
  "icon": "tag",
1263
- "title": "Nothing open",
1264
- "description": "Click Open to view details in a modal overlay."
1232
+ "type": "empty-state",
1233
+ "description": "Click Open to view details in a modal overlay.",
1234
+ "title": "Nothing open"
1265
1235
  }
1266
1236
  ]
1267
1237
  }
1268
1238
  ]
1269
1239
  ],
1270
- "SAVE": [
1271
- [
1272
- "persist",
1273
- "create",
1274
- "AgentPlanner",
1275
- "@payload.data"
1276
- ],
1277
- [
1278
- "render-ui",
1279
- "modal",
1280
- null
1281
- ],
1282
- [
1283
- "emit",
1284
- "CLASSIFIED"
1285
- ],
1240
+ "INIT": [
1286
1241
  [
1287
1242
  "ref",
1288
1243
  "AgentPlanner"
@@ -1291,52 +1246,132 @@
1291
1246
  "render-ui",
1292
1247
  "main",
1293
1248
  {
1294
- "type": "stack",
1295
- "direction": "vertical",
1296
- "gap": "lg",
1297
1249
  "children": [
1298
1250
  {
1299
- "type": "stack",
1300
1251
  "direction": "horizontal",
1301
- "gap": "md",
1302
1252
  "justify": "space-between",
1253
+ "type": "stack",
1254
+ "gap": "md",
1303
1255
  "children": [
1304
1256
  {
1305
- "type": "stack",
1306
- "direction": "horizontal",
1307
1257
  "gap": "md",
1258
+ "direction": "horizontal",
1259
+ "type": "stack",
1308
1260
  "children": [
1309
1261
  {
1310
- "type": "icon",
1262
+ "size": "lg",
1311
1263
  "name": "tag",
1312
- "size": "lg"
1264
+ "type": "icon"
1313
1265
  },
1314
1266
  {
1315
- "type": "typography",
1316
1267
  "content": "AgentPlanner",
1317
- "variant": "h2"
1268
+ "variant": "h2",
1269
+ "type": "typography"
1318
1270
  }
1319
1271
  ]
1320
1272
  },
1321
1273
  {
1274
+ "icon": "tag",
1275
+ "event": "CLASSIFY",
1322
1276
  "type": "button",
1323
1277
  "label": "Open",
1324
- "event": "CLASSIFY",
1325
- "variant": "primary",
1326
- "icon": "tag"
1278
+ "variant": "primary"
1279
+ }
1280
+ ]
1281
+ },
1282
+ {
1283
+ "type": "divider"
1284
+ },
1285
+ {
1286
+ "type": "empty-state",
1287
+ "title": "Nothing open",
1288
+ "description": "Click Open to view details in a modal overlay.",
1289
+ "icon": "tag"
1290
+ }
1291
+ ],
1292
+ "type": "stack",
1293
+ "direction": "vertical",
1294
+ "gap": "lg"
1295
+ }
1296
+ ]
1297
+ ],
1298
+ "CLASSIFY": [
1299
+ [
1300
+ "render-ui",
1301
+ "modal",
1302
+ {
1303
+ "gap": "md",
1304
+ "type": "stack",
1305
+ "children": [
1306
+ {
1307
+ "gap": "sm",
1308
+ "type": "stack",
1309
+ "children": [
1310
+ {
1311
+ "name": "tag",
1312
+ "size": "md",
1313
+ "type": "icon"
1314
+ },
1315
+ {
1316
+ "type": "typography",
1317
+ "content": "AgentPlanner",
1318
+ "variant": "h3"
1327
1319
  }
1328
- ]
1320
+ ],
1321
+ "direction": "horizontal"
1329
1322
  },
1330
1323
  {
1331
1324
  "type": "divider"
1332
1325
  },
1333
1326
  {
1334
- "type": "empty-state",
1335
- "icon": "tag",
1336
- "title": "Nothing open",
1337
- "description": "Click Open to view details in a modal overlay."
1327
+ "direction": "horizontal",
1328
+ "children": [
1329
+ {
1330
+ "content": "Categories:",
1331
+ "variant": "caption",
1332
+ "type": "typography"
1333
+ },
1334
+ {
1335
+ "variant": "secondary",
1336
+ "label": "code",
1337
+ "type": "badge"
1338
+ },
1339
+ {
1340
+ "variant": "secondary",
1341
+ "label": "schema",
1342
+ "type": "badge"
1343
+ },
1344
+ {
1345
+ "label": "design",
1346
+ "variant": "secondary",
1347
+ "type": "badge"
1348
+ },
1349
+ {
1350
+ "label": "debug",
1351
+ "variant": "secondary",
1352
+ "type": "badge"
1353
+ },
1354
+ {
1355
+ "label": "deploy",
1356
+ "type": "badge",
1357
+ "variant": "secondary"
1358
+ }
1359
+ ],
1360
+ "type": "stack",
1361
+ "gap": "sm"
1362
+ },
1363
+ {
1364
+ "fields": [
1365
+ "input"
1366
+ ],
1367
+ "submitEvent": "SAVE",
1368
+ "type": "form-section",
1369
+ "entity": "AgentPlanner",
1370
+ "mode": "create",
1371
+ "cancelEvent": "CLOSE"
1338
1372
  }
1339
- ]
1373
+ ],
1374
+ "direction": "vertical"
1340
1375
  }
1341
1376
  ]
1342
1377
  ]
@@ -1346,10 +1381,24 @@
1346
1381
  "ref": "AgentCompletion.traits.AgentCompletionModal",
1347
1382
  "name": "PlannerCompletionFlow",
1348
1383
  "linkedEntity": "AgentPlanner",
1349
- "listens": [],
1350
1384
  "emitsScope": "internal",
1351
1385
  "effects": {
1352
- "INIT": [
1386
+ "SAVE": [
1387
+ [
1388
+ "persist",
1389
+ "create",
1390
+ "AgentPlanner",
1391
+ "@payload.data"
1392
+ ],
1393
+ [
1394
+ "render-ui",
1395
+ "modal",
1396
+ null
1397
+ ],
1398
+ [
1399
+ "emit",
1400
+ "GENERATED"
1401
+ ],
1353
1402
  [
1354
1403
  "ref",
1355
1404
  "AgentPlanner"
@@ -1358,52 +1407,52 @@
1358
1407
  "render-ui",
1359
1408
  "main",
1360
1409
  {
1361
- "type": "stack",
1362
1410
  "direction": "vertical",
1363
- "gap": "lg",
1364
1411
  "children": [
1365
1412
  {
1366
- "type": "stack",
1367
1413
  "direction": "horizontal",
1368
- "gap": "md",
1369
- "justify": "space-between",
1370
1414
  "children": [
1371
1415
  {
1372
- "type": "stack",
1373
- "direction": "horizontal",
1374
1416
  "gap": "md",
1375
1417
  "children": [
1376
1418
  {
1377
1419
  "type": "icon",
1378
- "name": "sparkles",
1379
- "size": "lg"
1420
+ "size": "lg",
1421
+ "name": "sparkles"
1380
1422
  },
1381
1423
  {
1382
- "type": "typography",
1383
1424
  "content": "AgentPlanner",
1384
- "variant": "h2"
1425
+ "variant": "h2",
1426
+ "type": "typography"
1385
1427
  }
1386
- ]
1428
+ ],
1429
+ "type": "stack",
1430
+ "direction": "horizontal"
1387
1431
  },
1388
1432
  {
1433
+ "icon": "sparkles",
1434
+ "variant": "primary",
1389
1435
  "type": "button",
1390
1436
  "label": "Open",
1391
- "event": "GENERATE",
1392
- "variant": "primary",
1393
- "icon": "sparkles"
1437
+ "event": "GENERATE"
1394
1438
  }
1395
- ]
1439
+ ],
1440
+ "gap": "md",
1441
+ "type": "stack",
1442
+ "justify": "space-between"
1396
1443
  },
1397
1444
  {
1398
1445
  "type": "divider"
1399
1446
  },
1400
1447
  {
1401
- "type": "empty-state",
1402
1448
  "icon": "sparkles",
1403
1449
  "title": "Nothing open",
1404
- "description": "Click Open to view details in a modal overlay."
1450
+ "description": "Click Open to view details in a modal overlay.",
1451
+ "type": "empty-state"
1405
1452
  }
1406
- ]
1453
+ ],
1454
+ "type": "stack",
1455
+ "gap": "lg"
1407
1456
  }
1408
1457
  ]
1409
1458
  ],
@@ -1412,24 +1461,21 @@
1412
1461
  "render-ui",
1413
1462
  "modal",
1414
1463
  {
1415
- "type": "stack",
1416
- "direction": "vertical",
1417
- "gap": "md",
1418
1464
  "children": [
1419
1465
  {
1466
+ "gap": "sm",
1420
1467
  "type": "stack",
1421
1468
  "direction": "horizontal",
1422
- "gap": "sm",
1423
1469
  "children": [
1424
1470
  {
1425
- "type": "icon",
1426
1471
  "name": "sparkles",
1472
+ "type": "icon",
1427
1473
  "size": "md"
1428
1474
  },
1429
1475
  {
1476
+ "variant": "h3",
1430
1477
  "type": "typography",
1431
- "content": "AgentPlanner",
1432
- "variant": "h3"
1478
+ "content": "AgentPlanner"
1433
1479
  }
1434
1480
  ]
1435
1481
  },
@@ -1437,9 +1483,6 @@
1437
1483
  "type": "divider"
1438
1484
  },
1439
1485
  {
1440
- "type": "stack",
1441
- "direction": "horizontal",
1442
- "gap": "sm",
1443
1486
  "children": [
1444
1487
  {
1445
1488
  "type": "badge",
@@ -1449,33 +1492,29 @@
1449
1492
  "type": "badge",
1450
1493
  "label": "@entity.model"
1451
1494
  }
1452
- ]
1495
+ ],
1496
+ "gap": "sm",
1497
+ "type": "stack",
1498
+ "direction": "horizontal"
1453
1499
  },
1454
1500
  {
1501
+ "cancelEvent": "CLOSE",
1502
+ "submitEvent": "SAVE",
1455
1503
  "type": "form-section",
1456
- "entity": "AgentPlanner",
1457
1504
  "mode": "create",
1458
- "submitEvent": "SAVE",
1459
- "cancelEvent": "CLOSE",
1505
+ "entity": "AgentPlanner",
1460
1506
  "fields": [
1461
1507
  "prompt"
1462
1508
  ]
1463
1509
  }
1464
- ]
1510
+ ],
1511
+ "type": "stack",
1512
+ "direction": "vertical",
1513
+ "gap": "md"
1465
1514
  }
1466
1515
  ]
1467
1516
  ],
1468
- "CLOSE": [
1469
- [
1470
- "render-ui",
1471
- "modal",
1472
- null
1473
- ],
1474
- [
1475
- "notify",
1476
- "Cancelled",
1477
- "info"
1478
- ],
1517
+ "INIT": [
1479
1518
  [
1480
1519
  "ref",
1481
1520
  "AgentPlanner"
@@ -1485,19 +1524,16 @@
1485
1524
  "main",
1486
1525
  {
1487
1526
  "type": "stack",
1488
- "direction": "vertical",
1489
1527
  "gap": "lg",
1528
+ "direction": "vertical",
1490
1529
  "children": [
1491
1530
  {
1531
+ "justify": "space-between",
1492
1532
  "type": "stack",
1493
1533
  "direction": "horizontal",
1494
- "gap": "md",
1495
- "justify": "space-between",
1496
1534
  "children": [
1497
1535
  {
1498
1536
  "type": "stack",
1499
- "direction": "horizontal",
1500
- "gap": "md",
1501
1537
  "children": [
1502
1538
  {
1503
1539
  "type": "icon",
@@ -1505,20 +1541,23 @@
1505
1541
  "size": "lg"
1506
1542
  },
1507
1543
  {
1508
- "type": "typography",
1509
1544
  "content": "AgentPlanner",
1545
+ "type": "typography",
1510
1546
  "variant": "h2"
1511
1547
  }
1512
- ]
1548
+ ],
1549
+ "gap": "md",
1550
+ "direction": "horizontal"
1513
1551
  },
1514
1552
  {
1515
- "type": "button",
1516
1553
  "label": "Open",
1517
- "event": "GENERATE",
1554
+ "type": "button",
1555
+ "icon": "sparkles",
1518
1556
  "variant": "primary",
1519
- "icon": "sparkles"
1557
+ "event": "GENERATE"
1520
1558
  }
1521
- ]
1559
+ ],
1560
+ "gap": "md"
1522
1561
  },
1523
1562
  {
1524
1563
  "type": "divider"
@@ -1526,28 +1565,23 @@
1526
1565
  {
1527
1566
  "type": "empty-state",
1528
1567
  "icon": "sparkles",
1529
- "title": "Nothing open",
1530
- "description": "Click Open to view details in a modal overlay."
1568
+ "description": "Click Open to view details in a modal overlay.",
1569
+ "title": "Nothing open"
1531
1570
  }
1532
1571
  ]
1533
1572
  }
1534
1573
  ]
1535
1574
  ],
1536
- "SAVE": [
1537
- [
1538
- "persist",
1539
- "create",
1540
- "AgentPlanner",
1541
- "@payload.data"
1542
- ],
1575
+ "CLOSE": [
1543
1576
  [
1544
1577
  "render-ui",
1545
1578
  "modal",
1546
1579
  null
1547
1580
  ],
1548
1581
  [
1549
- "emit",
1550
- "GENERATED"
1582
+ "notify",
1583
+ "Cancelled",
1584
+ "info"
1551
1585
  ],
1552
1586
  [
1553
1587
  "ref",
@@ -1557,39 +1591,37 @@
1557
1591
  "render-ui",
1558
1592
  "main",
1559
1593
  {
1560
- "type": "stack",
1561
1594
  "direction": "vertical",
1562
- "gap": "lg",
1563
1595
  "children": [
1564
1596
  {
1565
- "type": "stack",
1566
1597
  "direction": "horizontal",
1598
+ "type": "stack",
1567
1599
  "gap": "md",
1568
1600
  "justify": "space-between",
1569
1601
  "children": [
1570
1602
  {
1571
- "type": "stack",
1572
- "direction": "horizontal",
1573
- "gap": "md",
1574
1603
  "children": [
1575
1604
  {
1576
- "type": "icon",
1577
1605
  "name": "sparkles",
1578
- "size": "lg"
1606
+ "size": "lg",
1607
+ "type": "icon"
1579
1608
  },
1580
1609
  {
1581
- "type": "typography",
1582
1610
  "content": "AgentPlanner",
1583
- "variant": "h2"
1611
+ "variant": "h2",
1612
+ "type": "typography"
1584
1613
  }
1585
- ]
1614
+ ],
1615
+ "direction": "horizontal",
1616
+ "gap": "md",
1617
+ "type": "stack"
1586
1618
  },
1587
1619
  {
1588
- "type": "button",
1589
- "label": "Open",
1620
+ "icon": "sparkles",
1590
1621
  "event": "GENERATE",
1622
+ "type": "button",
1591
1623
  "variant": "primary",
1592
- "icon": "sparkles"
1624
+ "label": "Open"
1593
1625
  }
1594
1626
  ]
1595
1627
  },
@@ -1602,7 +1634,9 @@
1602
1634
  "title": "Nothing open",
1603
1635
  "description": "Click Open to view details in a modal overlay."
1604
1636
  }
1605
- ]
1637
+ ],
1638
+ "type": "stack",
1639
+ "gap": "lg"
1606
1640
  }
1607
1641
  ]
1608
1642
  ]
@@ -1612,7 +1646,6 @@
1612
1646
  "ref": "AgentMemory.traits.AgentMemoryBrowse",
1613
1647
  "name": "PlannerMemoryLifecycle",
1614
1648
  "linkedEntity": "AgentPlanner",
1615
- "listens": [],
1616
1649
  "emitsScope": "internal",
1617
1650
  "effects": {
1618
1651
  "INIT": [
@@ -1624,28 +1657,26 @@
1624
1657
  "render-ui",
1625
1658
  "main",
1626
1659
  {
1627
- "type": "stack",
1660
+ "className": "max-w-5xl mx-auto w-full",
1628
1661
  "direction": "vertical",
1662
+ "type": "stack",
1629
1663
  "gap": "lg",
1630
- "className": "max-w-5xl mx-auto w-full",
1631
1664
  "children": [
1632
1665
  {
1633
1666
  "type": "stack",
1634
1667
  "direction": "horizontal",
1635
- "gap": "md",
1636
- "justify": "space-between",
1637
1668
  "align": "center",
1638
1669
  "children": [
1639
1670
  {
1640
- "type": "stack",
1641
1671
  "direction": "horizontal",
1672
+ "type": "stack",
1642
1673
  "gap": "sm",
1643
1674
  "align": "center",
1644
1675
  "children": [
1645
1676
  {
1646
1677
  "type": "icon",
1647
- "name": "brain",
1648
- "size": "lg"
1678
+ "size": "lg",
1679
+ "name": "brain"
1649
1680
  },
1650
1681
  {
1651
1682
  "type": "typography",
@@ -1655,88 +1686,69 @@
1655
1686
  ]
1656
1687
  },
1657
1688
  {
1658
- "type": "stack",
1659
- "direction": "horizontal",
1660
- "gap": "sm",
1661
1689
  "children": [
1662
1690
  {
1663
1691
  "type": "button",
1692
+ "variant": "primary",
1664
1693
  "label": "Memorize",
1665
1694
  "event": "MEMORIZE",
1666
- "variant": "primary",
1667
1695
  "icon": "plus"
1668
1696
  },
1669
1697
  {
1670
- "type": "button",
1698
+ "variant": "secondary",
1671
1699
  "label": "Recall",
1700
+ "type": "button",
1672
1701
  "event": "RECALL",
1673
- "variant": "secondary",
1674
1702
  "icon": "search"
1675
1703
  },
1676
1704
  {
1677
- "type": "button",
1705
+ "variant": "ghost",
1678
1706
  "label": "Decay All",
1679
1707
  "event": "DECAY",
1680
- "variant": "ghost",
1708
+ "type": "button",
1681
1709
  "icon": "clock"
1682
1710
  }
1683
- ]
1711
+ ],
1712
+ "type": "stack",
1713
+ "direction": "horizontal",
1714
+ "gap": "sm"
1684
1715
  }
1685
- ]
1716
+ ],
1717
+ "gap": "md",
1718
+ "justify": "space-between"
1686
1719
  },
1687
1720
  {
1688
1721
  "type": "divider"
1689
1722
  },
1690
1723
  {
1691
- "type": "data-grid",
1692
- "entity": "AgentPlanner",
1693
- "emptyIcon": "inbox",
1694
1724
  "emptyTitle": "No memories yet",
1725
+ "entity": "AgentPlanner",
1695
1726
  "emptyDescription": "Create your first memory to get started.",
1696
- "itemActions": [
1697
- {
1698
- "label": "Pin",
1699
- "event": "PIN",
1700
- "variant": "ghost",
1701
- "size": "sm"
1702
- },
1703
- {
1704
- "label": "Reinforce",
1705
- "event": "REINFORCE",
1706
- "variant": "ghost",
1707
- "size": "sm"
1708
- },
1709
- {
1710
- "label": "Forget",
1711
- "event": "FORGET",
1712
- "variant": "danger",
1713
- "size": "sm"
1714
- }
1715
- ],
1727
+ "emptyIcon": "inbox",
1716
1728
  "columns": [
1717
1729
  {
1718
- "name": "content",
1719
1730
  "label": "Content",
1720
1731
  "variant": "h4",
1721
- "icon": "brain"
1732
+ "icon": "brain",
1733
+ "name": "content"
1722
1734
  },
1723
1735
  {
1724
1736
  "name": "category",
1725
1737
  "label": "Category",
1726
1738
  "variant": "badge",
1727
1739
  "colorMap": {
1728
- "active": "success",
1729
- "completed": "success",
1740
+ "disabled": "neutral",
1730
1741
  "done": "success",
1731
- "pending": "warning",
1742
+ "cancelled": "destructive",
1743
+ "failed": "destructive",
1744
+ "inactive": "neutral",
1732
1745
  "draft": "warning",
1733
1746
  "scheduled": "warning",
1734
- "inactive": "neutral",
1747
+ "active": "success",
1735
1748
  "archived": "neutral",
1736
- "disabled": "neutral",
1749
+ "completed": "success",
1737
1750
  "error": "destructive",
1738
- "cancelled": "destructive",
1739
- "failed": "destructive"
1751
+ "pending": "warning"
1740
1752
  }
1741
1753
  },
1742
1754
  {
@@ -1744,6 +1756,27 @@
1744
1756
  "label": "Strength",
1745
1757
  "variant": "caption"
1746
1758
  }
1759
+ ],
1760
+ "type": "data-grid",
1761
+ "itemActions": [
1762
+ {
1763
+ "variant": "ghost",
1764
+ "label": "Pin",
1765
+ "event": "PIN",
1766
+ "size": "sm"
1767
+ },
1768
+ {
1769
+ "size": "sm",
1770
+ "event": "REINFORCE",
1771
+ "variant": "ghost",
1772
+ "label": "Reinforce"
1773
+ },
1774
+ {
1775
+ "label": "Forget",
1776
+ "event": "FORGET",
1777
+ "variant": "danger",
1778
+ "size": "sm"
1779
+ }
1747
1780
  ]
1748
1781
  }
1749
1782
  ]