@almadar/std 8.5.1 → 10.0.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  27. package/behaviors/registry/app/organisms/std-cms.orb +587 -587
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  29. package/behaviors/registry/app/organisms/std-crm.orb +966 -966
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  37. package/behaviors/registry/app/organisms/std-lms.orb +876 -876
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  42. package/behaviors/registry/core/atoms/std-browse.orb +67 -67
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  44. package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  47. package/behaviors/registry/core/atoms/std-display.orb +370 -370
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +63 -63
  50. package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  51. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  52. package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  53. package/behaviors/registry/core/atoms/std-push.orb +49 -49
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  55. package/behaviors/registry/core/atoms/std-related.orb +39 -39
  56. package/behaviors/registry/core/atoms/std-search.orb +73 -73
  57. package/behaviors/registry/core/atoms/std-selection.orb +110 -110
  58. package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  59. package/behaviors/registry/core/molecules/std-cart.orb +68 -72
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  62. package/behaviors/registry/core/molecules/std-list.orb +68 -68
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  64. package/behaviors/registry/game/atoms/std-collision.orb +140 -140
  65. package/behaviors/registry/game/atoms/std-combat.orb +76 -76
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  69. package/behaviors/registry/game/atoms/std-movement.orb +276 -276
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  72. package/behaviors/registry/game/atoms/std-quest.orb +129 -129
  73. package/behaviors/registry/game/atoms/std-timer.orb +285 -285
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  83. package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  84. package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +49 -49
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +68 -72
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
  187. package/package.json +1 -1
@@ -84,7 +84,7 @@
84
84
  "event": "AgentMemoryLoaded",
85
85
  "description": "Fired when the AgentMemory collection finishes loading; payload.data holds the list",
86
86
  "scope": "internal",
87
- "payload": [
87
+ "payloadSchema": [
88
88
  {
89
89
  "name": "data",
90
90
  "type": "[AgentMemory]"
@@ -95,7 +95,7 @@
95
95
  "event": "AgentMemoryLoadFailed",
96
96
  "description": "Fired when the AgentMemory collection fails to load",
97
97
  "scope": "internal",
98
- "payload": [
98
+ "payloadSchema": [
99
99
  {
100
100
  "name": "error",
101
101
  "type": "string"
@@ -110,7 +110,7 @@
110
110
  "event": "AgentMemorySaved",
111
111
  "description": "Fired when a new memory is persisted",
112
112
  "scope": "internal",
113
- "payload": [
113
+ "payloadSchema": [
114
114
  {
115
115
  "name": "id",
116
116
  "type": "string"
@@ -121,7 +121,7 @@
121
121
  "event": "AgentMemorySaveFailed",
122
122
  "description": "Fired when persisting a memory fails",
123
123
  "scope": "internal",
124
- "payload": [
124
+ "payloadSchema": [
125
125
  {
126
126
  "name": "error",
127
127
  "type": "string"
@@ -202,7 +202,7 @@
202
202
  {
203
203
  "key": "AgentMemoryLoaded",
204
204
  "name": "AgentMemory loaded",
205
- "payload": [
205
+ "payloadSchema": [
206
206
  {
207
207
  "name": "data",
208
208
  "type": "[AgentMemory]"
@@ -212,7 +212,7 @@
212
212
  {
213
213
  "key": "AgentMemoryLoadFailed",
214
214
  "name": "AgentMemory load failed",
215
- "payload": [
215
+ "payloadSchema": [
216
216
  {
217
217
  "name": "error",
218
218
  "type": "string"
@@ -226,7 +226,7 @@
226
226
  {
227
227
  "key": "AgentMemorySaved",
228
228
  "name": "AgentMemory saved",
229
- "payload": [
229
+ "payloadSchema": [
230
230
  {
231
231
  "name": "id",
232
232
  "type": "string"
@@ -236,7 +236,7 @@
236
236
  {
237
237
  "key": "AgentMemorySaveFailed",
238
238
  "name": "AgentMemory save failed",
239
- "payload": [
239
+ "payloadSchema": [
240
240
  {
241
241
  "name": "error",
242
242
  "type": "string"
@@ -250,7 +250,7 @@
250
250
  {
251
251
  "key": "PIN",
252
252
  "name": "Pin",
253
- "payload": [
253
+ "payloadSchema": [
254
254
  {
255
255
  "name": "id",
256
256
  "type": "string",
@@ -265,7 +265,7 @@
265
265
  {
266
266
  "key": "REINFORCE",
267
267
  "name": "Reinforce",
268
- "payload": [
268
+ "payloadSchema": [
269
269
  {
270
270
  "name": "id",
271
271
  "type": "string",
@@ -280,7 +280,7 @@
280
280
  {
281
281
  "key": "FORGET",
282
282
  "name": "Forget",
283
- "payload": [
283
+ "payloadSchema": [
284
284
  {
285
285
  "name": "id",
286
286
  "type": "string",
@@ -304,8 +304,8 @@
304
304
  "AgentMemory",
305
305
  {
306
306
  "emit": {
307
- "failure": "AgentMemoryLoadFailed",
308
- "success": "AgentMemoryLoaded"
307
+ "success": "AgentMemoryLoaded",
308
+ "failure": "AgentMemoryLoadFailed"
309
309
  }
310
310
  }
311
311
  ],
@@ -314,21 +314,21 @@
314
314
  "main",
315
315
  {
316
316
  "type": "stack",
317
+ "direction": "vertical",
318
+ "gap": "md",
319
+ "align": "center",
320
+ "className": "py-12",
317
321
  "children": [
318
322
  {
319
323
  "type": "spinner"
320
324
  },
321
325
  {
322
326
  "color": "muted",
323
- "content": "Loading memories…",
327
+ "variant": "caption",
324
328
  "type": "typography",
325
- "variant": "caption"
329
+ "content": "Loading memories…"
326
330
  }
327
- ],
328
- "className": "py-12",
329
- "align": "center",
330
- "gap": "md",
331
- "direction": "vertical"
331
+ ]
332
332
  }
333
333
  ]
334
334
  ]
@@ -343,107 +343,107 @@
343
343
  "main",
344
344
  {
345
345
  "direction": "vertical",
346
- "gap": "lg",
346
+ "className": "max-w-5xl mx-auto w-full",
347
347
  "type": "stack",
348
348
  "children": [
349
349
  {
350
- "justify": "between",
350
+ "direction": "horizontal",
351
+ "gap": "md",
351
352
  "align": "center",
352
353
  "children": [
353
354
  {
354
- "type": "stack",
355
355
  "direction": "horizontal",
356
- "gap": "sm",
356
+ "type": "stack",
357
357
  "align": "center",
358
+ "gap": "sm",
358
359
  "children": [
359
360
  {
360
- "name": "brain",
361
- "type": "icon"
361
+ "type": "icon",
362
+ "name": "brain"
362
363
  },
363
364
  {
364
- "variant": "h2",
365
+ "type": "typography",
365
366
  "content": "AgentMemory Manager",
366
- "type": "typography"
367
+ "variant": "h2"
367
368
  }
368
369
  ]
369
370
  },
370
371
  {
371
- "direction": "horizontal",
372
372
  "type": "stack",
373
+ "gap": "sm",
373
374
  "children": [
374
375
  {
376
+ "icon": "plus",
375
377
  "variant": "primary",
376
- "action": "MEMORIZE",
377
378
  "type": "button",
378
379
  "label": "Memorize",
379
- "icon": "plus"
380
+ "action": "MEMORIZE"
380
381
  },
381
382
  {
382
383
  "action": "RECALL",
383
384
  "label": "Recall",
384
- "type": "button",
385
+ "variant": "secondary",
385
386
  "icon": "search",
386
- "variant": "secondary"
387
+ "type": "button"
387
388
  },
388
389
  {
389
- "action": "DECAY",
390
+ "label": "Decay All",
390
391
  "variant": "ghost",
391
392
  "icon": "clock",
392
- "type": "button",
393
- "label": "Decay All"
393
+ "action": "DECAY",
394
+ "type": "button"
394
395
  }
395
396
  ],
396
- "gap": "sm"
397
+ "direction": "horizontal"
397
398
  }
398
399
  ],
399
- "type": "stack",
400
- "direction": "horizontal",
401
- "gap": "md"
400
+ "justify": "between",
401
+ "type": "stack"
402
402
  },
403
403
  {
404
404
  "type": "divider"
405
405
  },
406
406
  {
407
+ "type": "data-grid",
408
+ "entity": "@payload.data",
407
409
  "itemActions": [
408
410
  {
409
411
  "event": "PIN",
410
- "label": "Pin",
411
- "variant": "ghost"
412
+ "variant": "ghost",
413
+ "label": "Pin"
412
414
  },
413
415
  {
414
- "variant": "ghost",
415
416
  "label": "Reinforce",
417
+ "variant": "ghost",
416
418
  "event": "REINFORCE"
417
419
  },
418
420
  {
421
+ "variant": "danger",
419
422
  "event": "FORGET",
420
- "label": "Forget",
421
- "variant": "danger"
423
+ "label": "Forget"
422
424
  }
423
425
  ],
424
426
  "fields": [
425
427
  {
426
- "label": "Content",
427
- "variant": "h4",
428
428
  "name": "content",
429
- "icon": "brain"
429
+ "icon": "brain",
430
+ "label": "Content",
431
+ "variant": "h4"
430
432
  },
431
433
  {
432
- "label": "Category",
433
434
  "variant": "badge",
434
- "name": "category"
435
+ "name": "category",
436
+ "label": "Category"
435
437
  },
436
438
  {
437
- "label": "Strength",
438
439
  "name": "strength",
440
+ "label": "Strength",
439
441
  "variant": "caption"
440
442
  }
441
- ],
442
- "entity": "@payload.data",
443
- "type": "data-grid"
443
+ ]
444
444
  }
445
445
  ],
446
- "className": "max-w-5xl mx-auto w-full"
446
+ "gap": "lg"
447
447
  }
448
448
  ]
449
449
  ]
@@ -457,34 +457,34 @@
457
457
  "render-ui",
458
458
  "main",
459
459
  {
460
- "align": "center",
461
- "direction": "vertical",
462
460
  "type": "stack",
463
- "className": "py-12",
461
+ "direction": "vertical",
462
+ "align": "center",
464
463
  "gap": "md",
464
+ "className": "py-12",
465
465
  "children": [
466
466
  {
467
+ "type": "icon",
467
468
  "color": "destructive",
468
- "name": "alert-triangle",
469
- "type": "icon"
469
+ "name": "alert-triangle"
470
470
  },
471
471
  {
472
- "variant": "h3",
472
+ "type": "typography",
473
473
  "content": "Failed to load memories",
474
- "type": "typography"
474
+ "variant": "h3"
475
475
  },
476
476
  {
477
477
  "content": "@payload.error",
478
+ "type": "typography",
478
479
  "color": "muted",
479
- "variant": "body",
480
- "type": "typography"
480
+ "variant": "body"
481
481
  },
482
482
  {
483
483
  "action": "INIT",
484
- "variant": "primary",
485
484
  "label": "Retry",
486
- "type": "button",
487
- "icon": "rotate-ccw"
485
+ "variant": "primary",
486
+ "icon": "rotate-ccw",
487
+ "type": "button"
488
488
  }
489
489
  ]
490
490
  }
@@ -501,8 +501,8 @@
501
501
  "AgentMemory",
502
502
  {
503
503
  "emit": {
504
- "success": "AgentMemoryLoaded",
505
- "failure": "AgentMemoryLoadFailed"
504
+ "failure": "AgentMemoryLoadFailed",
505
+ "success": "AgentMemoryLoaded"
506
506
  }
507
507
  }
508
508
  ],
@@ -525,8 +525,8 @@
525
525
  "AgentMemory",
526
526
  {
527
527
  "emit": {
528
- "failure": "AgentMemoryLoadFailed",
529
- "success": "AgentMemoryLoaded"
528
+ "success": "AgentMemoryLoaded",
529
+ "failure": "AgentMemoryLoadFailed"
530
530
  }
531
531
  }
532
532
  ],
@@ -551,7 +551,7 @@
551
551
  {
552
552
  "event": "MEMORY_CREATED",
553
553
  "scope": "external",
554
- "payload": [
554
+ "payloadSchema": [
555
555
  {
556
556
  "name": "id",
557
557
  "type": "string",
@@ -563,7 +563,7 @@
563
563
  "event": "AgentMemoryLoaded",
564
564
  "description": "Fired when the AgentMemory collection finishes loading; payload.data holds the list",
565
565
  "scope": "internal",
566
- "payload": [
566
+ "payloadSchema": [
567
567
  {
568
568
  "name": "data",
569
569
  "type": "[AgentMemory]"
@@ -574,7 +574,7 @@
574
574
  "event": "AgentMemoryLoadFailed",
575
575
  "description": "Fired when the AgentMemory collection fails to load",
576
576
  "scope": "internal",
577
- "payload": [
577
+ "payloadSchema": [
578
578
  {
579
579
  "name": "error",
580
580
  "type": "string"
@@ -589,7 +589,7 @@
589
589
  "event": "AgentMemorySaved",
590
590
  "description": "Fired when a new memory is persisted",
591
591
  "scope": "internal",
592
- "payload": [
592
+ "payloadSchema": [
593
593
  {
594
594
  "name": "id",
595
595
  "type": "string"
@@ -600,7 +600,7 @@
600
600
  "event": "AgentMemorySaveFailed",
601
601
  "description": "Fired when persisting a memory fails",
602
602
  "scope": "internal",
603
- "payload": [
603
+ "payloadSchema": [
604
604
  {
605
605
  "name": "error",
606
606
  "type": "string"
@@ -638,7 +638,7 @@
638
638
  {
639
639
  "key": "SAVE",
640
640
  "name": "Save",
641
- "payload": [
641
+ "payloadSchema": [
642
642
  {
643
643
  "name": "data",
644
644
  "type": "AgentMemory"
@@ -652,7 +652,7 @@
652
652
  {
653
653
  "key": "AgentMemoryLoaded",
654
654
  "name": "AgentMemory loaded",
655
- "payload": [
655
+ "payloadSchema": [
656
656
  {
657
657
  "name": "data",
658
658
  "type": "[AgentMemory]"
@@ -662,7 +662,7 @@
662
662
  {
663
663
  "key": "AgentMemoryLoadFailed",
664
664
  "name": "AgentMemory load failed",
665
- "payload": [
665
+ "payloadSchema": [
666
666
  {
667
667
  "name": "error",
668
668
  "type": "string"
@@ -676,7 +676,7 @@
676
676
  {
677
677
  "key": "AgentMemorySaved",
678
678
  "name": "AgentMemory saved",
679
- "payload": [
679
+ "payloadSchema": [
680
680
  {
681
681
  "name": "id",
682
682
  "type": "string"
@@ -686,7 +686,7 @@
686
686
  {
687
687
  "key": "AgentMemorySaveFailed",
688
688
  "name": "AgentMemory save failed",
689
- "payload": [
689
+ "payloadSchema": [
690
690
  {
691
691
  "name": "error",
692
692
  "type": "string"
@@ -709,8 +709,8 @@
709
709
  "AgentMemory",
710
710
  {
711
711
  "emit": {
712
- "success": "AgentMemoryLoaded",
713
- "failure": "AgentMemoryLoadFailed"
712
+ "failure": "AgentMemoryLoadFailed",
713
+ "success": "AgentMemoryLoaded"
714
714
  }
715
715
  }
716
716
  ]
@@ -726,31 +726,30 @@
726
726
  "modal",
727
727
  {
728
728
  "direction": "vertical",
729
- "gap": "md",
730
729
  "type": "stack",
731
730
  "children": [
732
731
  {
733
- "gap": "sm",
734
732
  "type": "stack",
733
+ "direction": "horizontal",
734
+ "gap": "sm",
735
735
  "children": [
736
736
  {
737
- "type": "icon",
738
- "name": "plus-circle"
737
+ "name": "plus-circle",
738
+ "type": "icon"
739
739
  },
740
740
  {
741
741
  "variant": "h3",
742
742
  "type": "typography",
743
743
  "content": "Memorize"
744
744
  }
745
- ],
746
- "direction": "horizontal"
745
+ ]
747
746
  },
748
747
  {
749
748
  "type": "divider"
750
749
  },
751
750
  {
752
- "cancelEvent": "CLOSE",
753
751
  "submitEvent": "SAVE",
752
+ "cancelEvent": "CLOSE",
754
753
  "type": "form-section",
755
754
  "mode": "create",
756
755
  "fields": [
@@ -759,7 +758,8 @@
759
758
  "scope"
760
759
  ]
761
760
  }
762
- ]
761
+ ],
762
+ "gap": "md"
763
763
  }
764
764
  ]
765
765
  ]
@@ -838,7 +838,7 @@
838
838
  {
839
839
  "event": "FORGOT",
840
840
  "scope": "external",
841
- "payload": [
841
+ "payloadSchema": [
842
842
  {
843
843
  "name": "id",
844
844
  "type": "string",
@@ -849,7 +849,7 @@
849
849
  {
850
850
  "event": "REINFORCED",
851
851
  "scope": "external",
852
- "payload": [
852
+ "payloadSchema": [
853
853
  {
854
854
  "name": "id",
855
855
  "type": "string",
@@ -860,7 +860,7 @@
860
860
  {
861
861
  "event": "DECAYED",
862
862
  "scope": "external",
863
- "payload": [
863
+ "payloadSchema": [
864
864
  {
865
865
  "name": "id",
866
866
  "type": "string",
@@ -871,7 +871,7 @@
871
871
  {
872
872
  "event": "PINNED",
873
873
  "scope": "external",
874
- "payload": [
874
+ "payloadSchema": [
875
875
  {
876
876
  "name": "id",
877
877
  "type": "string",
@@ -882,7 +882,7 @@
882
882
  {
883
883
  "event": "MEMORIZED",
884
884
  "scope": "external",
885
- "payload": [
885
+ "payloadSchema": [
886
886
  {
887
887
  "name": "id",
888
888
  "type": "string",
@@ -894,7 +894,7 @@
894
894
  "event": "AgentMemoryLoaded",
895
895
  "description": "Fired when the AgentMemory collection finishes loading; payload.data holds the list",
896
896
  "scope": "internal",
897
- "payload": [
897
+ "payloadSchema": [
898
898
  {
899
899
  "name": "data",
900
900
  "type": "[AgentMemory]"
@@ -905,7 +905,7 @@
905
905
  "event": "AgentMemoryLoadFailed",
906
906
  "description": "Fired when the AgentMemory collection fails to load",
907
907
  "scope": "internal",
908
- "payload": [
908
+ "payloadSchema": [
909
909
  {
910
910
  "name": "error",
911
911
  "type": "string"
@@ -920,7 +920,7 @@
920
920
  "event": "AgentMemorySaved",
921
921
  "description": "Fired when a new memory is persisted",
922
922
  "scope": "internal",
923
- "payload": [
923
+ "payloadSchema": [
924
924
  {
925
925
  "name": "id",
926
926
  "type": "string"
@@ -931,7 +931,7 @@
931
931
  "event": "AgentMemorySaveFailed",
932
932
  "description": "Fired when persisting a memory fails",
933
933
  "scope": "internal",
934
- "payload": [
934
+ "payloadSchema": [
935
935
  {
936
936
  "name": "error",
937
937
  "type": "string"
@@ -961,7 +961,7 @@
961
961
  {
962
962
  "key": "DO_MEMORIZE",
963
963
  "name": "Do Memorize",
964
- "payload": [
964
+ "payloadSchema": [
965
965
  {
966
966
  "name": "data",
967
967
  "type": "AgentMemory"
@@ -975,7 +975,7 @@
975
975
  {
976
976
  "key": "MEMORIZED",
977
977
  "name": "Memorized",
978
- "payload": [
978
+ "payloadSchema": [
979
979
  {
980
980
  "name": "data",
981
981
  "type": "AgentMemory"
@@ -985,7 +985,7 @@
985
985
  {
986
986
  "key": "RECALL",
987
987
  "name": "Recall",
988
- "payload": [
988
+ "payloadSchema": [
989
989
  {
990
990
  "name": "query",
991
991
  "type": "string",
@@ -996,7 +996,7 @@
996
996
  {
997
997
  "key": "PIN",
998
998
  "name": "Pin",
999
- "payload": [
999
+ "payloadSchema": [
1000
1000
  {
1001
1001
  "name": "id",
1002
1002
  "type": "string",
@@ -1007,7 +1007,7 @@
1007
1007
  {
1008
1008
  "key": "FORGET",
1009
1009
  "name": "Forget",
1010
- "payload": [
1010
+ "payloadSchema": [
1011
1011
  {
1012
1012
  "name": "id",
1013
1013
  "type": "string",
@@ -1018,7 +1018,7 @@
1018
1018
  {
1019
1019
  "key": "REINFORCE",
1020
1020
  "name": "Reinforce",
1021
- "payload": [
1021
+ "payloadSchema": [
1022
1022
  {
1023
1023
  "name": "id",
1024
1024
  "type": "string",
@@ -1045,7 +1045,7 @@
1045
1045
  {
1046
1046
  "key": "AgentMemoryLoaded",
1047
1047
  "name": "AgentMemory loaded",
1048
- "payload": [
1048
+ "payloadSchema": [
1049
1049
  {
1050
1050
  "name": "data",
1051
1051
  "type": "[AgentMemory]"
@@ -1055,7 +1055,7 @@
1055
1055
  {
1056
1056
  "key": "AgentMemoryLoadFailed",
1057
1057
  "name": "AgentMemory load failed",
1058
- "payload": [
1058
+ "payloadSchema": [
1059
1059
  {
1060
1060
  "name": "error",
1061
1061
  "type": "string"
@@ -1069,7 +1069,7 @@
1069
1069
  {
1070
1070
  "key": "AgentMemorySaved",
1071
1071
  "name": "AgentMemory saved",
1072
- "payload": [
1072
+ "payloadSchema": [
1073
1073
  {
1074
1074
  "name": "id",
1075
1075
  "type": "string"
@@ -1079,7 +1079,7 @@
1079
1079
  {
1080
1080
  "key": "AgentMemorySaveFailed",
1081
1081
  "name": "AgentMemory save failed",
1082
- "payload": [
1082
+ "payloadSchema": [
1083
1083
  {
1084
1084
  "name": "error",
1085
1085
  "type": "string"
@@ -1111,8 +1111,8 @@
1111
1111
  "render-ui",
1112
1112
  "main",
1113
1113
  {
1114
- "type": "empty-state",
1115
1114
  "title": "Memory",
1115
+ "type": "empty-state",
1116
1116
  "description": "Memory is ready",
1117
1117
  "icon": "brain"
1118
1118
  }
@@ -1297,4 +1297,4 @@
1297
1297
  ]
1298
1298
  }
1299
1299
  ]
1300
- }
1300
+ }