@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-conversation",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-agent-conversation as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "AgentConversationOrbital",
|
|
8
8
|
"entity": {
|
|
9
9
|
"name": "AgentConversation",
|
|
10
|
-
"persistence": "persistent",
|
|
11
10
|
"collection": "agentconversations",
|
|
11
|
+
"persistence": "persistent",
|
|
12
12
|
"fields": [
|
|
13
13
|
{
|
|
14
14
|
"name": "id",
|
|
@@ -39,12 +39,15 @@
|
|
|
39
39
|
{
|
|
40
40
|
"name": "messages",
|
|
41
41
|
"type": "array",
|
|
42
|
-
"default": []
|
|
42
|
+
"default": [],
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
}
|
|
43
46
|
},
|
|
44
47
|
{
|
|
45
48
|
"name": "turnCount",
|
|
46
49
|
"type": "number",
|
|
47
|
-
"default": 0
|
|
50
|
+
"default": 0.0
|
|
48
51
|
},
|
|
49
52
|
{
|
|
50
53
|
"name": "lastMessage",
|
|
@@ -54,7 +57,7 @@
|
|
|
54
57
|
{
|
|
55
58
|
"name": "tokenCount",
|
|
56
59
|
"type": "number",
|
|
57
|
-
"default": 0
|
|
60
|
+
"default": 0.0
|
|
58
61
|
},
|
|
59
62
|
{
|
|
60
63
|
"name": "role",
|
|
@@ -81,8 +84,8 @@
|
|
|
81
84
|
"traits": [
|
|
82
85
|
{
|
|
83
86
|
"name": "AgentConversationThread",
|
|
84
|
-
"linkedEntity": "AgentConversation",
|
|
85
87
|
"category": "interaction",
|
|
88
|
+
"linkedEntity": "AgentConversation",
|
|
86
89
|
"emits": [
|
|
87
90
|
{
|
|
88
91
|
"event": "SEND_MESSAGE",
|
|
@@ -93,6 +96,76 @@
|
|
|
93
96
|
"type": "string"
|
|
94
97
|
}
|
|
95
98
|
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"event": "AgentConversationLoaded",
|
|
102
|
+
"description": "Fired when AgentConversation finishes loading",
|
|
103
|
+
"scope": "internal",
|
|
104
|
+
"payload": [
|
|
105
|
+
{
|
|
106
|
+
"name": "id",
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "name",
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "description",
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "status",
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "createdAt",
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "messages",
|
|
127
|
+
"type": "[string]"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "turnCount",
|
|
131
|
+
"type": "number"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "lastMessage",
|
|
135
|
+
"type": "string"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "tokenCount",
|
|
139
|
+
"type": "number"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "role",
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "content",
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "timestamp",
|
|
151
|
+
"type": "string"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "toolName",
|
|
155
|
+
"type": "string"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"event": "AgentConversationLoadFailed",
|
|
161
|
+
"description": "Fired when AgentConversation fails to load",
|
|
162
|
+
"scope": "internal",
|
|
163
|
+
"payload": [
|
|
164
|
+
{
|
|
165
|
+
"name": "message",
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
96
169
|
}
|
|
97
170
|
],
|
|
98
171
|
"stateMachine": {
|
|
@@ -112,11 +185,15 @@
|
|
|
112
185
|
},
|
|
113
186
|
{
|
|
114
187
|
"key": "COMPOSE",
|
|
115
|
-
"name": "Compose
|
|
188
|
+
"name": "Compose"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"key": "CLEAR",
|
|
192
|
+
"name": "Clear"
|
|
116
193
|
},
|
|
117
194
|
{
|
|
118
195
|
"key": "SEND",
|
|
119
|
-
"name": "Send
|
|
196
|
+
"name": "Send",
|
|
120
197
|
"payload": [
|
|
121
198
|
{
|
|
122
199
|
"name": "content",
|
|
@@ -126,8 +203,22 @@
|
|
|
126
203
|
]
|
|
127
204
|
},
|
|
128
205
|
{
|
|
129
|
-
"key": "
|
|
130
|
-
"name": "
|
|
206
|
+
"key": "SEND_MESSAGE",
|
|
207
|
+
"name": "Send Message"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"key": "AgentConversationLoaded",
|
|
211
|
+
"name": "AgentConversation loaded"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"key": "AgentConversationLoadFailed",
|
|
215
|
+
"name": "AgentConversation load failed",
|
|
216
|
+
"payload": [
|
|
217
|
+
{
|
|
218
|
+
"name": "message",
|
|
219
|
+
"type": "string"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
131
222
|
}
|
|
132
223
|
],
|
|
133
224
|
"transitions": [
|
|
@@ -138,27 +229,27 @@
|
|
|
138
229
|
"effects": [
|
|
139
230
|
[
|
|
140
231
|
"fetch",
|
|
141
|
-
"AgentConversation"
|
|
232
|
+
"AgentConversation",
|
|
233
|
+
{
|
|
234
|
+
"emit": {
|
|
235
|
+
"failure": "AgentConversationLoadFailed",
|
|
236
|
+
"success": "AgentConversationLoaded"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
142
239
|
],
|
|
143
240
|
[
|
|
144
241
|
"render-ui",
|
|
145
242
|
"main",
|
|
146
243
|
{
|
|
147
244
|
"type": "stack",
|
|
148
|
-
"direction": "vertical",
|
|
149
245
|
"gap": "lg",
|
|
246
|
+
"direction": "vertical",
|
|
150
247
|
"children": [
|
|
151
248
|
{
|
|
152
|
-
"type": "stack",
|
|
153
|
-
"direction": "horizontal",
|
|
154
|
-
"gap": "sm",
|
|
155
249
|
"justify": "space-between",
|
|
156
|
-
"align": "center",
|
|
157
250
|
"children": [
|
|
158
251
|
{
|
|
159
252
|
"type": "stack",
|
|
160
|
-
"direction": "horizontal",
|
|
161
|
-
"gap": "sm",
|
|
162
253
|
"align": "center",
|
|
163
254
|
"children": [
|
|
164
255
|
{
|
|
@@ -167,60 +258,64 @@
|
|
|
167
258
|
"size": "lg"
|
|
168
259
|
},
|
|
169
260
|
{
|
|
170
|
-
"
|
|
261
|
+
"variant": "h2",
|
|
171
262
|
"content": "AgentConversation Thread",
|
|
172
|
-
"
|
|
263
|
+
"type": "typography"
|
|
173
264
|
}
|
|
174
|
-
]
|
|
265
|
+
],
|
|
266
|
+
"direction": "horizontal",
|
|
267
|
+
"gap": "sm"
|
|
175
268
|
},
|
|
176
269
|
{
|
|
177
|
-
"type": "button",
|
|
178
270
|
"label": "New Message",
|
|
179
|
-
"
|
|
271
|
+
"type": "button",
|
|
180
272
|
"variant": "primary",
|
|
273
|
+
"event": "COMPOSE",
|
|
181
274
|
"icon": "plus"
|
|
182
275
|
}
|
|
183
|
-
]
|
|
276
|
+
],
|
|
277
|
+
"type": "stack",
|
|
278
|
+
"align": "center",
|
|
279
|
+
"direction": "horizontal",
|
|
280
|
+
"gap": "sm"
|
|
184
281
|
},
|
|
185
282
|
{
|
|
186
283
|
"type": "divider"
|
|
187
284
|
},
|
|
188
285
|
{
|
|
189
|
-
"
|
|
286
|
+
"emptyDescription": "Start a conversation by sending a message.",
|
|
190
287
|
"entity": "AgentConversation",
|
|
191
288
|
"emptyIcon": "message-circle",
|
|
192
|
-
"emptyTitle": "No messages yet",
|
|
193
|
-
"emptyDescription": "Start a conversation by sending a message.",
|
|
194
289
|
"renderItem": [
|
|
195
290
|
"fn",
|
|
196
291
|
"item",
|
|
197
292
|
{
|
|
198
|
-
"type": "stack",
|
|
199
293
|
"direction": "vertical",
|
|
200
294
|
"gap": "xs",
|
|
295
|
+
"type": "stack",
|
|
201
296
|
"children": [
|
|
202
297
|
{
|
|
203
|
-
"type": "stack",
|
|
204
|
-
"direction": "horizontal",
|
|
205
|
-
"gap": "sm",
|
|
206
|
-
"align": "center",
|
|
207
298
|
"children": [
|
|
208
299
|
{
|
|
209
300
|
"type": "badge",
|
|
210
301
|
"label": "@item.role"
|
|
211
302
|
},
|
|
212
303
|
{
|
|
304
|
+
"variant": "outline",
|
|
213
305
|
"type": "badge",
|
|
214
|
-
"label": "@item.status"
|
|
215
|
-
"variant": "outline"
|
|
306
|
+
"label": "@item.status"
|
|
216
307
|
},
|
|
217
308
|
{
|
|
218
309
|
"type": "typography",
|
|
219
|
-
"variant": "caption",
|
|
220
310
|
"color": "muted",
|
|
221
|
-
"content": "@item.timestamp"
|
|
311
|
+
"content": "@item.timestamp",
|
|
312
|
+
"variant": "caption"
|
|
222
313
|
}
|
|
223
|
-
]
|
|
314
|
+
],
|
|
315
|
+
"type": "stack",
|
|
316
|
+
"direction": "horizontal",
|
|
317
|
+
"gap": "sm",
|
|
318
|
+
"align": "center"
|
|
224
319
|
},
|
|
225
320
|
{
|
|
226
321
|
"type": "typography",
|
|
@@ -229,7 +324,9 @@
|
|
|
229
324
|
}
|
|
230
325
|
]
|
|
231
326
|
}
|
|
232
|
-
]
|
|
327
|
+
],
|
|
328
|
+
"emptyTitle": "No messages yet",
|
|
329
|
+
"type": "data-list"
|
|
233
330
|
}
|
|
234
331
|
]
|
|
235
332
|
}
|
|
@@ -245,22 +342,15 @@
|
|
|
245
342
|
"render-ui",
|
|
246
343
|
"main",
|
|
247
344
|
{
|
|
345
|
+
"gap": "lg",
|
|
248
346
|
"type": "stack",
|
|
249
347
|
"direction": "vertical",
|
|
250
|
-
"gap": "lg",
|
|
251
348
|
"children": [
|
|
252
349
|
{
|
|
253
|
-
"type": "stack",
|
|
254
|
-
"direction": "horizontal",
|
|
255
|
-
"gap": "sm",
|
|
256
350
|
"justify": "space-between",
|
|
257
351
|
"align": "center",
|
|
258
352
|
"children": [
|
|
259
353
|
{
|
|
260
|
-
"type": "stack",
|
|
261
|
-
"direction": "horizontal",
|
|
262
|
-
"gap": "sm",
|
|
263
|
-
"align": "center",
|
|
264
354
|
"children": [
|
|
265
355
|
{
|
|
266
356
|
"type": "icon",
|
|
@@ -268,96 +358,103 @@
|
|
|
268
358
|
"size": "lg"
|
|
269
359
|
},
|
|
270
360
|
{
|
|
271
|
-
"type": "typography",
|
|
272
361
|
"content": "AgentConversation Thread",
|
|
273
|
-
"variant": "h2"
|
|
362
|
+
"variant": "h2",
|
|
363
|
+
"type": "typography"
|
|
274
364
|
}
|
|
275
|
-
]
|
|
365
|
+
],
|
|
366
|
+
"gap": "sm",
|
|
367
|
+
"type": "stack",
|
|
368
|
+
"align": "center",
|
|
369
|
+
"direction": "horizontal"
|
|
276
370
|
},
|
|
277
371
|
{
|
|
278
|
-
"
|
|
279
|
-
"label": "New Message",
|
|
372
|
+
"disabled": true,
|
|
280
373
|
"event": "COMPOSE",
|
|
374
|
+
"label": "New Message",
|
|
375
|
+
"type": "button",
|
|
281
376
|
"variant": "primary",
|
|
282
|
-
"icon": "plus"
|
|
283
|
-
"disabled": true
|
|
377
|
+
"icon": "plus"
|
|
284
378
|
}
|
|
285
|
-
]
|
|
379
|
+
],
|
|
380
|
+
"type": "stack",
|
|
381
|
+
"direction": "horizontal",
|
|
382
|
+
"gap": "sm"
|
|
286
383
|
},
|
|
287
384
|
{
|
|
288
385
|
"type": "divider"
|
|
289
386
|
},
|
|
290
387
|
{
|
|
291
|
-
"type": "data-list",
|
|
292
|
-
"entity": "AgentConversation",
|
|
293
|
-
"emptyIcon": "message-circle",
|
|
294
|
-
"emptyTitle": "No messages yet",
|
|
295
388
|
"emptyDescription": "Start a conversation by sending a message.",
|
|
296
389
|
"renderItem": [
|
|
297
390
|
"fn",
|
|
298
391
|
"item",
|
|
299
392
|
{
|
|
300
|
-
"type": "stack",
|
|
301
|
-
"direction": "vertical",
|
|
302
|
-
"gap": "xs",
|
|
303
393
|
"children": [
|
|
304
394
|
{
|
|
305
395
|
"type": "stack",
|
|
306
|
-
"direction": "horizontal",
|
|
307
|
-
"gap": "sm",
|
|
308
|
-
"align": "center",
|
|
309
396
|
"children": [
|
|
310
397
|
{
|
|
311
398
|
"type": "badge",
|
|
312
399
|
"label": "@item.role"
|
|
313
400
|
},
|
|
314
401
|
{
|
|
402
|
+
"variant": "outline",
|
|
315
403
|
"type": "badge",
|
|
316
|
-
"label": "@item.status"
|
|
317
|
-
"variant": "outline"
|
|
404
|
+
"label": "@item.status"
|
|
318
405
|
},
|
|
319
406
|
{
|
|
407
|
+
"color": "muted",
|
|
320
408
|
"type": "typography",
|
|
321
409
|
"variant": "caption",
|
|
322
|
-
"color": "muted",
|
|
323
410
|
"content": "@item.timestamp"
|
|
324
411
|
}
|
|
325
|
-
]
|
|
412
|
+
],
|
|
413
|
+
"direction": "horizontal",
|
|
414
|
+
"gap": "sm",
|
|
415
|
+
"align": "center"
|
|
326
416
|
},
|
|
327
417
|
{
|
|
328
418
|
"type": "typography",
|
|
329
419
|
"variant": "body",
|
|
330
420
|
"content": "@item.content"
|
|
331
421
|
}
|
|
332
|
-
]
|
|
422
|
+
],
|
|
423
|
+
"type": "stack",
|
|
424
|
+
"direction": "vertical",
|
|
425
|
+
"gap": "xs"
|
|
333
426
|
}
|
|
334
|
-
]
|
|
427
|
+
],
|
|
428
|
+
"type": "data-list",
|
|
429
|
+
"entity": "AgentConversation",
|
|
430
|
+
"emptyTitle": "No messages yet",
|
|
431
|
+
"emptyIcon": "message-circle"
|
|
335
432
|
},
|
|
336
433
|
{
|
|
337
|
-
"type": "form-section",
|
|
338
|
-
"title": "Compose Message",
|
|
339
434
|
"children": [
|
|
340
435
|
{
|
|
341
|
-
"type": "textarea",
|
|
342
436
|
"label": "Message",
|
|
437
|
+
"type": "textarea",
|
|
343
438
|
"bind": "@entity.content",
|
|
344
439
|
"placeholder": "Type your message..."
|
|
345
440
|
},
|
|
346
441
|
{
|
|
347
|
-
"type": "stack",
|
|
348
|
-
"direction": "horizontal",
|
|
349
|
-
"gap": "sm",
|
|
350
442
|
"children": [
|
|
351
443
|
{
|
|
352
|
-
"type": "button",
|
|
353
|
-
"label": "Send",
|
|
354
444
|
"event": "SEND",
|
|
445
|
+
"icon": "send",
|
|
446
|
+
"label": "Send",
|
|
355
447
|
"variant": "primary",
|
|
356
|
-
"
|
|
448
|
+
"type": "button"
|
|
357
449
|
}
|
|
358
|
-
]
|
|
450
|
+
],
|
|
451
|
+
"gap": "sm",
|
|
452
|
+
"type": "stack",
|
|
453
|
+
"direction": "horizontal"
|
|
359
454
|
}
|
|
360
|
-
]
|
|
455
|
+
],
|
|
456
|
+
"title": "Compose Message",
|
|
457
|
+
"type": "form-section"
|
|
361
458
|
}
|
|
362
459
|
]
|
|
363
460
|
}
|
|
@@ -365,88 +462,61 @@
|
|
|
365
462
|
]
|
|
366
463
|
},
|
|
367
464
|
{
|
|
368
|
-
"from": "
|
|
465
|
+
"from": "idle",
|
|
369
466
|
"to": "idle",
|
|
370
|
-
"event": "
|
|
467
|
+
"event": "CLEAR",
|
|
371
468
|
"effects": [
|
|
372
469
|
[
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
],
|
|
377
|
-
[
|
|
378
|
-
"set",
|
|
379
|
-
"@entity.role",
|
|
380
|
-
"user"
|
|
381
|
-
],
|
|
382
|
-
[
|
|
383
|
-
"set",
|
|
384
|
-
"@entity.timestamp",
|
|
385
|
-
"@now"
|
|
386
|
-
],
|
|
387
|
-
[
|
|
388
|
-
"set",
|
|
389
|
-
"@entity.status",
|
|
390
|
-
"sent"
|
|
470
|
+
"persist",
|
|
471
|
+
"delete",
|
|
472
|
+
"AgentConversation"
|
|
391
473
|
],
|
|
392
474
|
[
|
|
393
|
-
"
|
|
394
|
-
"create",
|
|
475
|
+
"fetch",
|
|
395
476
|
"AgentConversation",
|
|
396
477
|
{
|
|
397
|
-
"
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
478
|
+
"emit": {
|
|
479
|
+
"failure": "AgentConversationLoadFailed",
|
|
480
|
+
"success": "AgentConversationLoaded"
|
|
481
|
+
}
|
|
401
482
|
}
|
|
402
483
|
],
|
|
403
|
-
[
|
|
404
|
-
"emit",
|
|
405
|
-
"SEND_MESSAGE"
|
|
406
|
-
],
|
|
407
|
-
[
|
|
408
|
-
"fetch",
|
|
409
|
-
"AgentConversation"
|
|
410
|
-
],
|
|
411
484
|
[
|
|
412
485
|
"render-ui",
|
|
413
486
|
"main",
|
|
414
487
|
{
|
|
415
|
-
"type": "stack",
|
|
416
|
-
"direction": "vertical",
|
|
417
|
-
"gap": "lg",
|
|
418
488
|
"children": [
|
|
419
489
|
{
|
|
420
|
-
"type": "stack",
|
|
421
490
|
"direction": "horizontal",
|
|
422
491
|
"gap": "sm",
|
|
423
|
-
"justify": "space-between",
|
|
424
492
|
"align": "center",
|
|
493
|
+
"justify": "space-between",
|
|
494
|
+
"type": "stack",
|
|
425
495
|
"children": [
|
|
426
496
|
{
|
|
427
497
|
"type": "stack",
|
|
428
|
-
"direction": "horizontal",
|
|
429
498
|
"gap": "sm",
|
|
430
499
|
"align": "center",
|
|
431
500
|
"children": [
|
|
432
501
|
{
|
|
502
|
+
"size": "lg",
|
|
433
503
|
"type": "icon",
|
|
434
|
-
"name": "message-circle"
|
|
435
|
-
"size": "lg"
|
|
504
|
+
"name": "message-circle"
|
|
436
505
|
},
|
|
437
506
|
{
|
|
438
507
|
"type": "typography",
|
|
439
508
|
"content": "AgentConversation Thread",
|
|
440
509
|
"variant": "h2"
|
|
441
510
|
}
|
|
442
|
-
]
|
|
511
|
+
],
|
|
512
|
+
"direction": "horizontal"
|
|
443
513
|
},
|
|
444
514
|
{
|
|
445
515
|
"type": "button",
|
|
516
|
+
"icon": "plus",
|
|
446
517
|
"label": "New Message",
|
|
447
|
-
"event": "COMPOSE",
|
|
448
518
|
"variant": "primary",
|
|
449
|
-
"
|
|
519
|
+
"event": "COMPOSE"
|
|
450
520
|
}
|
|
451
521
|
]
|
|
452
522
|
},
|
|
@@ -454,11 +524,6 @@
|
|
|
454
524
|
"type": "divider"
|
|
455
525
|
},
|
|
456
526
|
{
|
|
457
|
-
"type": "data-list",
|
|
458
|
-
"entity": "AgentConversation",
|
|
459
|
-
"emptyIcon": "message-circle",
|
|
460
|
-
"emptyTitle": "No messages yet",
|
|
461
|
-
"emptyDescription": "Start a conversation by sending a message.",
|
|
462
527
|
"renderItem": [
|
|
463
528
|
"fn",
|
|
464
529
|
"item",
|
|
@@ -468,135 +533,176 @@
|
|
|
468
533
|
"gap": "xs",
|
|
469
534
|
"children": [
|
|
470
535
|
{
|
|
471
|
-
"type": "stack",
|
|
472
|
-
"direction": "horizontal",
|
|
473
|
-
"gap": "sm",
|
|
474
536
|
"align": "center",
|
|
475
537
|
"children": [
|
|
476
538
|
{
|
|
477
|
-
"
|
|
478
|
-
"
|
|
539
|
+
"label": "@item.role",
|
|
540
|
+
"type": "badge"
|
|
479
541
|
},
|
|
480
542
|
{
|
|
481
543
|
"type": "badge",
|
|
482
|
-
"
|
|
483
|
-
"
|
|
544
|
+
"variant": "outline",
|
|
545
|
+
"label": "@item.status"
|
|
484
546
|
},
|
|
485
547
|
{
|
|
486
548
|
"type": "typography",
|
|
549
|
+
"content": "@item.timestamp",
|
|
487
550
|
"variant": "caption",
|
|
488
|
-
"color": "muted"
|
|
489
|
-
"content": "@item.timestamp"
|
|
551
|
+
"color": "muted"
|
|
490
552
|
}
|
|
491
|
-
]
|
|
553
|
+
],
|
|
554
|
+
"direction": "horizontal",
|
|
555
|
+
"gap": "sm",
|
|
556
|
+
"type": "stack"
|
|
492
557
|
},
|
|
493
558
|
{
|
|
494
|
-
"type": "typography",
|
|
495
559
|
"variant": "body",
|
|
496
|
-
"content": "@item.content"
|
|
560
|
+
"content": "@item.content",
|
|
561
|
+
"type": "typography"
|
|
497
562
|
}
|
|
498
563
|
]
|
|
499
564
|
}
|
|
500
|
-
]
|
|
565
|
+
],
|
|
566
|
+
"entity": "AgentConversation",
|
|
567
|
+
"emptyTitle": "No messages yet",
|
|
568
|
+
"type": "data-list",
|
|
569
|
+
"emptyIcon": "message-circle",
|
|
570
|
+
"emptyDescription": "Start a conversation by sending a message."
|
|
501
571
|
}
|
|
502
|
-
]
|
|
572
|
+
],
|
|
573
|
+
"gap": "lg",
|
|
574
|
+
"direction": "vertical",
|
|
575
|
+
"type": "stack"
|
|
503
576
|
}
|
|
504
577
|
]
|
|
505
578
|
]
|
|
506
579
|
},
|
|
507
580
|
{
|
|
508
|
-
"from": "
|
|
581
|
+
"from": "composing",
|
|
509
582
|
"to": "idle",
|
|
510
|
-
"event": "
|
|
583
|
+
"event": "SEND",
|
|
511
584
|
"effects": [
|
|
585
|
+
[
|
|
586
|
+
"set",
|
|
587
|
+
"@entity.content",
|
|
588
|
+
"@payload.content"
|
|
589
|
+
],
|
|
590
|
+
[
|
|
591
|
+
"set",
|
|
592
|
+
"@entity.role",
|
|
593
|
+
"user"
|
|
594
|
+
],
|
|
595
|
+
[
|
|
596
|
+
"set",
|
|
597
|
+
"@entity.timestamp",
|
|
598
|
+
"@now"
|
|
599
|
+
],
|
|
600
|
+
[
|
|
601
|
+
"set",
|
|
602
|
+
"@entity.status",
|
|
603
|
+
"sent"
|
|
604
|
+
],
|
|
512
605
|
[
|
|
513
606
|
"persist",
|
|
514
|
-
"
|
|
515
|
-
"AgentConversation"
|
|
607
|
+
"create",
|
|
608
|
+
"AgentConversation",
|
|
609
|
+
{
|
|
610
|
+
"status": "sent",
|
|
611
|
+
"content": "@payload.content",
|
|
612
|
+
"role": "user",
|
|
613
|
+
"timestamp": "@now"
|
|
614
|
+
}
|
|
615
|
+
],
|
|
616
|
+
[
|
|
617
|
+
"emit",
|
|
618
|
+
"SEND_MESSAGE"
|
|
516
619
|
],
|
|
517
620
|
[
|
|
518
621
|
"fetch",
|
|
519
|
-
"AgentConversation"
|
|
622
|
+
"AgentConversation",
|
|
623
|
+
{
|
|
624
|
+
"emit": {
|
|
625
|
+
"failure": "AgentConversationLoadFailed",
|
|
626
|
+
"success": "AgentConversationLoaded"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
520
629
|
],
|
|
521
630
|
[
|
|
522
631
|
"render-ui",
|
|
523
632
|
"main",
|
|
524
633
|
{
|
|
525
634
|
"type": "stack",
|
|
526
|
-
"direction": "vertical",
|
|
527
635
|
"gap": "lg",
|
|
528
636
|
"children": [
|
|
529
637
|
{
|
|
530
|
-
"type": "stack",
|
|
531
638
|
"direction": "horizontal",
|
|
532
|
-
"
|
|
639
|
+
"type": "stack",
|
|
533
640
|
"justify": "space-between",
|
|
534
641
|
"align": "center",
|
|
535
642
|
"children": [
|
|
536
643
|
{
|
|
644
|
+
"align": "center",
|
|
537
645
|
"type": "stack",
|
|
538
|
-
"direction": "horizontal",
|
|
539
646
|
"gap": "sm",
|
|
540
|
-
"
|
|
647
|
+
"direction": "horizontal",
|
|
541
648
|
"children": [
|
|
542
649
|
{
|
|
543
|
-
"type": "icon",
|
|
544
650
|
"name": "message-circle",
|
|
651
|
+
"type": "icon",
|
|
545
652
|
"size": "lg"
|
|
546
653
|
},
|
|
547
654
|
{
|
|
655
|
+
"variant": "h2",
|
|
548
656
|
"type": "typography",
|
|
549
|
-
"content": "AgentConversation Thread"
|
|
550
|
-
"variant": "h2"
|
|
657
|
+
"content": "AgentConversation Thread"
|
|
551
658
|
}
|
|
552
659
|
]
|
|
553
660
|
},
|
|
554
661
|
{
|
|
555
|
-
"type": "button",
|
|
556
662
|
"label": "New Message",
|
|
663
|
+
"type": "button",
|
|
664
|
+
"icon": "plus",
|
|
557
665
|
"event": "COMPOSE",
|
|
558
|
-
"variant": "primary"
|
|
559
|
-
"icon": "plus"
|
|
666
|
+
"variant": "primary"
|
|
560
667
|
}
|
|
561
|
-
]
|
|
668
|
+
],
|
|
669
|
+
"gap": "sm"
|
|
562
670
|
},
|
|
563
671
|
{
|
|
564
672
|
"type": "divider"
|
|
565
673
|
},
|
|
566
674
|
{
|
|
567
675
|
"type": "data-list",
|
|
568
|
-
"entity": "AgentConversation",
|
|
569
|
-
"emptyIcon": "message-circle",
|
|
570
|
-
"emptyTitle": "No messages yet",
|
|
571
676
|
"emptyDescription": "Start a conversation by sending a message.",
|
|
677
|
+
"entity": "AgentConversation",
|
|
572
678
|
"renderItem": [
|
|
573
679
|
"fn",
|
|
574
680
|
"item",
|
|
575
681
|
{
|
|
576
|
-
"type": "stack",
|
|
577
|
-
"direction": "vertical",
|
|
578
682
|
"gap": "xs",
|
|
683
|
+
"direction": "vertical",
|
|
684
|
+
"type": "stack",
|
|
579
685
|
"children": [
|
|
580
686
|
{
|
|
581
|
-
"
|
|
687
|
+
"align": "center",
|
|
582
688
|
"direction": "horizontal",
|
|
583
689
|
"gap": "sm",
|
|
584
|
-
"
|
|
690
|
+
"type": "stack",
|
|
585
691
|
"children": [
|
|
586
692
|
{
|
|
587
693
|
"type": "badge",
|
|
588
694
|
"label": "@item.role"
|
|
589
695
|
},
|
|
590
696
|
{
|
|
591
|
-
"type": "badge",
|
|
592
697
|
"label": "@item.status",
|
|
593
|
-
"variant": "outline"
|
|
698
|
+
"variant": "outline",
|
|
699
|
+
"type": "badge"
|
|
594
700
|
},
|
|
595
701
|
{
|
|
596
702
|
"type": "typography",
|
|
597
|
-
"variant": "caption",
|
|
598
703
|
"color": "muted",
|
|
599
|
-
"content": "@item.timestamp"
|
|
704
|
+
"content": "@item.timestamp",
|
|
705
|
+
"variant": "caption"
|
|
600
706
|
}
|
|
601
707
|
]
|
|
602
708
|
},
|
|
@@ -607,9 +713,12 @@
|
|
|
607
713
|
}
|
|
608
714
|
]
|
|
609
715
|
}
|
|
610
|
-
]
|
|
716
|
+
],
|
|
717
|
+
"emptyTitle": "No messages yet",
|
|
718
|
+
"emptyIcon": "message-circle"
|
|
611
719
|
}
|
|
612
|
-
]
|
|
720
|
+
],
|
|
721
|
+
"direction": "vertical"
|
|
613
722
|
}
|
|
614
723
|
]
|
|
615
724
|
]
|
|
@@ -626,111 +735,118 @@
|
|
|
626
735
|
],
|
|
627
736
|
[
|
|
628
737
|
"fetch",
|
|
629
|
-
"AgentConversation"
|
|
738
|
+
"AgentConversation",
|
|
739
|
+
{
|
|
740
|
+
"emit": {
|
|
741
|
+
"success": "AgentConversationLoaded",
|
|
742
|
+
"failure": "AgentConversationLoadFailed"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
630
745
|
],
|
|
631
746
|
[
|
|
632
747
|
"render-ui",
|
|
633
748
|
"main",
|
|
634
749
|
{
|
|
635
|
-
"type": "stack",
|
|
636
|
-
"direction": "vertical",
|
|
637
|
-
"gap": "lg",
|
|
638
750
|
"children": [
|
|
639
751
|
{
|
|
640
752
|
"type": "stack",
|
|
641
|
-
"direction": "horizontal",
|
|
642
|
-
"gap": "sm",
|
|
643
|
-
"justify": "space-between",
|
|
644
753
|
"align": "center",
|
|
754
|
+
"justify": "space-between",
|
|
645
755
|
"children": [
|
|
646
756
|
{
|
|
647
|
-
"type": "stack",
|
|
648
|
-
"direction": "horizontal",
|
|
649
|
-
"gap": "sm",
|
|
650
|
-
"align": "center",
|
|
651
757
|
"children": [
|
|
652
758
|
{
|
|
653
|
-
"type": "icon",
|
|
654
759
|
"name": "message-circle",
|
|
655
|
-
"size": "lg"
|
|
760
|
+
"size": "lg",
|
|
761
|
+
"type": "icon"
|
|
656
762
|
},
|
|
657
763
|
{
|
|
658
|
-
"
|
|
764
|
+
"variant": "h2",
|
|
659
765
|
"content": "AgentConversation Thread",
|
|
660
|
-
"
|
|
766
|
+
"type": "typography"
|
|
661
767
|
}
|
|
662
|
-
]
|
|
768
|
+
],
|
|
769
|
+
"direction": "horizontal",
|
|
770
|
+
"type": "stack",
|
|
771
|
+
"align": "center",
|
|
772
|
+
"gap": "sm"
|
|
663
773
|
},
|
|
664
774
|
{
|
|
665
|
-
"type": "button",
|
|
666
|
-
"label": "New Message",
|
|
667
775
|
"event": "COMPOSE",
|
|
668
776
|
"variant": "primary",
|
|
669
|
-
"
|
|
777
|
+
"type": "button",
|
|
778
|
+
"icon": "plus",
|
|
779
|
+
"label": "New Message"
|
|
670
780
|
}
|
|
671
|
-
]
|
|
781
|
+
],
|
|
782
|
+
"gap": "sm",
|
|
783
|
+
"direction": "horizontal"
|
|
672
784
|
},
|
|
673
785
|
{
|
|
674
786
|
"type": "divider"
|
|
675
787
|
},
|
|
676
788
|
{
|
|
677
|
-
"type": "data-list",
|
|
678
789
|
"entity": "AgentConversation",
|
|
679
|
-
"emptyIcon": "message-circle",
|
|
680
|
-
"emptyTitle": "No messages yet",
|
|
681
790
|
"emptyDescription": "Start a conversation by sending a message.",
|
|
791
|
+
"emptyTitle": "No messages yet",
|
|
682
792
|
"renderItem": [
|
|
683
793
|
"fn",
|
|
684
794
|
"item",
|
|
685
795
|
{
|
|
686
796
|
"type": "stack",
|
|
687
|
-
"direction": "vertical",
|
|
688
|
-
"gap": "xs",
|
|
689
797
|
"children": [
|
|
690
798
|
{
|
|
691
|
-
"type": "stack",
|
|
692
|
-
"direction": "horizontal",
|
|
693
799
|
"gap": "sm",
|
|
800
|
+
"type": "stack",
|
|
694
801
|
"align": "center",
|
|
695
802
|
"children": [
|
|
696
803
|
{
|
|
697
|
-
"
|
|
698
|
-
"
|
|
804
|
+
"label": "@item.role",
|
|
805
|
+
"type": "badge"
|
|
699
806
|
},
|
|
700
807
|
{
|
|
701
|
-
"type": "badge",
|
|
702
808
|
"label": "@item.status",
|
|
809
|
+
"type": "badge",
|
|
703
810
|
"variant": "outline"
|
|
704
811
|
},
|
|
705
812
|
{
|
|
706
813
|
"type": "typography",
|
|
707
|
-
"
|
|
814
|
+
"content": "@item.timestamp",
|
|
708
815
|
"color": "muted",
|
|
709
|
-
"
|
|
816
|
+
"variant": "caption"
|
|
710
817
|
}
|
|
711
|
-
]
|
|
818
|
+
],
|
|
819
|
+
"direction": "horizontal"
|
|
712
820
|
},
|
|
713
821
|
{
|
|
714
822
|
"type": "typography",
|
|
715
823
|
"variant": "body",
|
|
716
824
|
"content": "@item.content"
|
|
717
825
|
}
|
|
718
|
-
]
|
|
826
|
+
],
|
|
827
|
+
"gap": "xs",
|
|
828
|
+
"direction": "vertical"
|
|
719
829
|
}
|
|
720
|
-
]
|
|
830
|
+
],
|
|
831
|
+
"type": "data-list",
|
|
832
|
+
"emptyIcon": "message-circle"
|
|
721
833
|
}
|
|
722
|
-
]
|
|
834
|
+
],
|
|
835
|
+
"direction": "vertical",
|
|
836
|
+
"gap": "lg",
|
|
837
|
+
"type": "stack"
|
|
723
838
|
}
|
|
724
839
|
]
|
|
725
840
|
]
|
|
726
841
|
}
|
|
727
842
|
]
|
|
728
|
-
}
|
|
843
|
+
},
|
|
844
|
+
"scope": "collection"
|
|
729
845
|
},
|
|
730
846
|
{
|
|
731
847
|
"name": "AgentConversationAgent",
|
|
732
|
-
"linkedEntity": "AgentConversation",
|
|
733
848
|
"category": "interaction",
|
|
849
|
+
"linkedEntity": "AgentConversation",
|
|
734
850
|
"emits": [
|
|
735
851
|
{
|
|
736
852
|
"event": "TOKEN_UPDATE",
|
|
@@ -741,6 +857,76 @@
|
|
|
741
857
|
"type": "number"
|
|
742
858
|
}
|
|
743
859
|
]
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"event": "AgentConversationLoaded",
|
|
863
|
+
"description": "Fired when AgentConversation finishes loading",
|
|
864
|
+
"scope": "internal",
|
|
865
|
+
"payload": [
|
|
866
|
+
{
|
|
867
|
+
"name": "id",
|
|
868
|
+
"type": "string"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "name",
|
|
872
|
+
"type": "string"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "description",
|
|
876
|
+
"type": "string"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "status",
|
|
880
|
+
"type": "string"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "createdAt",
|
|
884
|
+
"type": "string"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"name": "messages",
|
|
888
|
+
"type": "[string]"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "turnCount",
|
|
892
|
+
"type": "number"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"name": "lastMessage",
|
|
896
|
+
"type": "string"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "tokenCount",
|
|
900
|
+
"type": "number"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "role",
|
|
904
|
+
"type": "string"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "content",
|
|
908
|
+
"type": "string"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "timestamp",
|
|
912
|
+
"type": "string"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "toolName",
|
|
916
|
+
"type": "string"
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"event": "AgentConversationLoadFailed",
|
|
922
|
+
"description": "Fired when AgentConversation fails to load",
|
|
923
|
+
"scope": "internal",
|
|
924
|
+
"payload": [
|
|
925
|
+
{
|
|
926
|
+
"name": "message",
|
|
927
|
+
"type": "string"
|
|
928
|
+
}
|
|
929
|
+
]
|
|
744
930
|
}
|
|
745
931
|
],
|
|
746
932
|
"stateMachine": {
|
|
@@ -776,13 +962,31 @@
|
|
|
776
962
|
"key": "PAUSE",
|
|
777
963
|
"name": "Pause"
|
|
778
964
|
},
|
|
965
|
+
{
|
|
966
|
+
"key": "CLEAR",
|
|
967
|
+
"name": "Clear"
|
|
968
|
+
},
|
|
779
969
|
{
|
|
780
970
|
"key": "RESUME",
|
|
781
971
|
"name": "Resume"
|
|
782
972
|
},
|
|
783
973
|
{
|
|
784
|
-
"key": "
|
|
785
|
-
"name": "
|
|
974
|
+
"key": "TOKEN_UPDATE",
|
|
975
|
+
"name": "Token Update"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"key": "AgentConversationLoaded",
|
|
979
|
+
"name": "AgentConversation loaded"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"key": "AgentConversationLoadFailed",
|
|
983
|
+
"name": "AgentConversation load failed",
|
|
984
|
+
"payload": [
|
|
985
|
+
{
|
|
986
|
+
"name": "message",
|
|
987
|
+
"type": "string"
|
|
988
|
+
}
|
|
989
|
+
]
|
|
786
990
|
}
|
|
787
991
|
],
|
|
788
992
|
"transitions": [
|
|
@@ -793,16 +997,22 @@
|
|
|
793
997
|
"effects": [
|
|
794
998
|
[
|
|
795
999
|
"fetch",
|
|
796
|
-
"AgentConversation"
|
|
1000
|
+
"AgentConversation",
|
|
1001
|
+
{
|
|
1002
|
+
"emit": {
|
|
1003
|
+
"failure": "AgentConversationLoadFailed",
|
|
1004
|
+
"success": "AgentConversationLoaded"
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
797
1007
|
],
|
|
798
1008
|
[
|
|
799
1009
|
"render-ui",
|
|
800
1010
|
"main",
|
|
801
1011
|
{
|
|
802
1012
|
"type": "empty-state",
|
|
803
|
-
"icon": "message-circle",
|
|
804
1013
|
"title": "Conversation",
|
|
805
|
-
"description": "Conversation is ready"
|
|
1014
|
+
"description": "Conversation is ready",
|
|
1015
|
+
"icon": "message-circle"
|
|
806
1016
|
}
|
|
807
1017
|
]
|
|
808
1018
|
]
|
|
@@ -823,7 +1033,7 @@
|
|
|
823
1033
|
[
|
|
824
1034
|
"+",
|
|
825
1035
|
"@entity.turnCount",
|
|
826
|
-
1
|
|
1036
|
+
1.0
|
|
827
1037
|
]
|
|
828
1038
|
],
|
|
829
1039
|
[
|
|
@@ -852,7 +1062,7 @@
|
|
|
852
1062
|
[
|
|
853
1063
|
"+",
|
|
854
1064
|
"@entity.turnCount",
|
|
855
|
-
1
|
|
1065
|
+
1.0
|
|
856
1066
|
]
|
|
857
1067
|
],
|
|
858
1068
|
[
|
|
@@ -868,14 +1078,7 @@
|
|
|
868
1078
|
{
|
|
869
1079
|
"from": "active",
|
|
870
1080
|
"to": "paused",
|
|
871
|
-
"event": "PAUSE"
|
|
872
|
-
"effects": []
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"from": "paused",
|
|
876
|
-
"to": "active",
|
|
877
|
-
"event": "RESUME",
|
|
878
|
-
"effects": []
|
|
1081
|
+
"event": "PAUSE"
|
|
879
1082
|
},
|
|
880
1083
|
{
|
|
881
1084
|
"from": "active",
|
|
@@ -890,7 +1093,7 @@
|
|
|
890
1093
|
[
|
|
891
1094
|
"set",
|
|
892
1095
|
"@entity.turnCount",
|
|
893
|
-
0
|
|
1096
|
+
0.0
|
|
894
1097
|
],
|
|
895
1098
|
[
|
|
896
1099
|
"set",
|
|
@@ -900,10 +1103,15 @@
|
|
|
900
1103
|
[
|
|
901
1104
|
"set",
|
|
902
1105
|
"@entity.tokenCount",
|
|
903
|
-
0
|
|
1106
|
+
0.0
|
|
904
1107
|
]
|
|
905
1108
|
]
|
|
906
1109
|
},
|
|
1110
|
+
{
|
|
1111
|
+
"from": "paused",
|
|
1112
|
+
"to": "active",
|
|
1113
|
+
"event": "RESUME"
|
|
1114
|
+
},
|
|
907
1115
|
{
|
|
908
1116
|
"from": "paused",
|
|
909
1117
|
"to": "idle",
|
|
@@ -917,7 +1125,7 @@
|
|
|
917
1125
|
[
|
|
918
1126
|
"set",
|
|
919
1127
|
"@entity.turnCount",
|
|
920
|
-
0
|
|
1128
|
+
0.0
|
|
921
1129
|
],
|
|
922
1130
|
[
|
|
923
1131
|
"set",
|
|
@@ -927,12 +1135,13 @@
|
|
|
927
1135
|
[
|
|
928
1136
|
"set",
|
|
929
1137
|
"@entity.tokenCount",
|
|
930
|
-
0
|
|
1138
|
+
0.0
|
|
931
1139
|
]
|
|
932
1140
|
]
|
|
933
1141
|
}
|
|
934
1142
|
]
|
|
935
|
-
}
|
|
1143
|
+
},
|
|
1144
|
+
"scope": "collection"
|
|
936
1145
|
}
|
|
937
1146
|
],
|
|
938
1147
|
"pages": [
|
|
@@ -951,4 +1160,4 @@
|
|
|
951
1160
|
]
|
|
952
1161
|
}
|
|
953
1162
|
]
|
|
954
|
-
}
|
|
1163
|
+
}
|