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