@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-provider",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-agent-provider as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "AgentProviderOrbital",
|
|
8
8
|
"entity": {
|
|
9
9
|
"name": "AgentProvider",
|
|
10
|
-
"persistence": "persistent",
|
|
11
10
|
"collection": "agentproviders",
|
|
11
|
+
"persistence": "persistent",
|
|
12
12
|
"fields": [
|
|
13
13
|
{
|
|
14
14
|
"name": "id",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
{
|
|
55
55
|
"name": "requestCount",
|
|
56
56
|
"type": "number",
|
|
57
|
-
"default": 0
|
|
57
|
+
"default": 0.0
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"name": "message",
|
|
@@ -71,16 +71,80 @@
|
|
|
71
71
|
"traits": [
|
|
72
72
|
{
|
|
73
73
|
"name": "AgentProviderModal",
|
|
74
|
-
"linkedEntity": "AgentProvider",
|
|
75
74
|
"category": "interaction",
|
|
75
|
+
"linkedEntity": "AgentProvider",
|
|
76
76
|
"emits": [
|
|
77
77
|
{
|
|
78
|
-
"event": "
|
|
79
|
-
"scope": "external"
|
|
78
|
+
"event": "SWITCHED",
|
|
79
|
+
"scope": "external",
|
|
80
|
+
"payload": [
|
|
81
|
+
{
|
|
82
|
+
"name": "id",
|
|
83
|
+
"type": "string"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
80
86
|
},
|
|
81
87
|
{
|
|
82
|
-
"event": "
|
|
83
|
-
"
|
|
88
|
+
"event": "AgentProviderLoaded",
|
|
89
|
+
"description": "Fired when AgentProvider finishes loading",
|
|
90
|
+
"scope": "internal",
|
|
91
|
+
"payload": [
|
|
92
|
+
{
|
|
93
|
+
"name": "id",
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "name",
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "description",
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "status",
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "createdAt",
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "currentProvider",
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "currentModel",
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "fallbackProvider",
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "requestCount",
|
|
126
|
+
"type": "number"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "message",
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "notificationType",
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"event": "AgentProviderLoadFailed",
|
|
140
|
+
"description": "Fired when AgentProvider fails to load",
|
|
141
|
+
"scope": "internal",
|
|
142
|
+
"payload": [
|
|
143
|
+
{
|
|
144
|
+
"name": "message",
|
|
145
|
+
"type": "string"
|
|
146
|
+
}
|
|
147
|
+
]
|
|
84
148
|
}
|
|
85
149
|
],
|
|
86
150
|
"stateMachine": {
|
|
@@ -100,7 +164,7 @@
|
|
|
100
164
|
},
|
|
101
165
|
{
|
|
102
166
|
"key": "SWITCH",
|
|
103
|
-
"name": "
|
|
167
|
+
"name": "Switch"
|
|
104
168
|
},
|
|
105
169
|
{
|
|
106
170
|
"key": "CLOSE",
|
|
@@ -116,6 +180,24 @@
|
|
|
116
180
|
"required": true
|
|
117
181
|
}
|
|
118
182
|
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"key": "SWITCHED",
|
|
186
|
+
"name": "Switched"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"key": "AgentProviderLoaded",
|
|
190
|
+
"name": "AgentProvider loaded"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"key": "AgentProviderLoadFailed",
|
|
194
|
+
"name": "AgentProvider load failed",
|
|
195
|
+
"payload": [
|
|
196
|
+
{
|
|
197
|
+
"name": "message",
|
|
198
|
+
"type": "string"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
119
201
|
}
|
|
120
202
|
],
|
|
121
203
|
"transitions": [
|
|
@@ -132,20 +214,13 @@
|
|
|
132
214
|
"render-ui",
|
|
133
215
|
"main",
|
|
134
216
|
{
|
|
135
|
-
"type": "stack",
|
|
136
|
-
"direction": "vertical",
|
|
137
217
|
"gap": "lg",
|
|
218
|
+
"type": "stack",
|
|
138
219
|
"children": [
|
|
139
220
|
{
|
|
140
|
-
"type": "stack",
|
|
141
221
|
"direction": "horizontal",
|
|
142
|
-
"gap": "md",
|
|
143
|
-
"justify": "space-between",
|
|
144
222
|
"children": [
|
|
145
223
|
{
|
|
146
|
-
"type": "stack",
|
|
147
|
-
"direction": "horizontal",
|
|
148
|
-
"gap": "md",
|
|
149
224
|
"children": [
|
|
150
225
|
{
|
|
151
226
|
"type": "icon",
|
|
@@ -153,31 +228,38 @@
|
|
|
153
228
|
"size": "lg"
|
|
154
229
|
},
|
|
155
230
|
{
|
|
156
|
-
"type": "typography",
|
|
157
231
|
"content": "Switch Provider",
|
|
158
|
-
"variant": "h2"
|
|
232
|
+
"variant": "h2",
|
|
233
|
+
"type": "typography"
|
|
159
234
|
}
|
|
160
|
-
]
|
|
235
|
+
],
|
|
236
|
+
"gap": "md",
|
|
237
|
+
"direction": "horizontal",
|
|
238
|
+
"type": "stack"
|
|
161
239
|
},
|
|
162
240
|
{
|
|
163
|
-
"type": "button",
|
|
164
|
-
"label": "Open",
|
|
165
|
-
"event": "SWITCH",
|
|
166
241
|
"variant": "primary",
|
|
167
|
-
"
|
|
242
|
+
"event": "SWITCH",
|
|
243
|
+
"icon": "repeat",
|
|
244
|
+
"type": "button",
|
|
245
|
+
"label": "Open"
|
|
168
246
|
}
|
|
169
|
-
]
|
|
247
|
+
],
|
|
248
|
+
"type": "stack",
|
|
249
|
+
"justify": "space-between",
|
|
250
|
+
"gap": "md"
|
|
170
251
|
},
|
|
171
252
|
{
|
|
172
253
|
"type": "divider"
|
|
173
254
|
},
|
|
174
255
|
{
|
|
256
|
+
"title": "Nothing open",
|
|
175
257
|
"type": "empty-state",
|
|
176
258
|
"icon": "repeat",
|
|
177
|
-
"title": "Nothing open",
|
|
178
259
|
"description": "Click Open to view details in a modal overlay."
|
|
179
260
|
}
|
|
180
|
-
]
|
|
261
|
+
],
|
|
262
|
+
"direction": "vertical"
|
|
181
263
|
}
|
|
182
264
|
]
|
|
183
265
|
]
|
|
@@ -189,30 +271,33 @@
|
|
|
189
271
|
"effects": [
|
|
190
272
|
[
|
|
191
273
|
"fetch",
|
|
192
|
-
"AgentProvider"
|
|
274
|
+
"AgentProvider",
|
|
275
|
+
{
|
|
276
|
+
"emit": {
|
|
277
|
+
"failure": "AgentProviderLoadFailed",
|
|
278
|
+
"success": "AgentProviderLoaded"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
193
281
|
],
|
|
194
282
|
[
|
|
195
283
|
"render-ui",
|
|
196
284
|
"modal",
|
|
197
285
|
{
|
|
198
|
-
"type": "stack",
|
|
199
|
-
"direction": "vertical",
|
|
200
|
-
"gap": "md",
|
|
201
286
|
"children": [
|
|
202
287
|
{
|
|
288
|
+
"gap": "sm",
|
|
203
289
|
"type": "stack",
|
|
204
290
|
"direction": "horizontal",
|
|
205
|
-
"gap": "sm",
|
|
206
291
|
"children": [
|
|
207
292
|
{
|
|
293
|
+
"size": "md",
|
|
208
294
|
"type": "icon",
|
|
209
|
-
"name": "repeat"
|
|
210
|
-
"size": "md"
|
|
295
|
+
"name": "repeat"
|
|
211
296
|
},
|
|
212
297
|
{
|
|
298
|
+
"variant": "h3",
|
|
213
299
|
"type": "typography",
|
|
214
|
-
"content": "Switch Provider"
|
|
215
|
-
"variant": "h3"
|
|
300
|
+
"content": "Switch Provider"
|
|
216
301
|
}
|
|
217
302
|
]
|
|
218
303
|
},
|
|
@@ -220,37 +305,40 @@
|
|
|
220
305
|
"type": "divider"
|
|
221
306
|
},
|
|
222
307
|
{
|
|
223
|
-
"type": "stack",
|
|
224
|
-
"direction": "horizontal",
|
|
225
308
|
"gap": "md",
|
|
309
|
+
"type": "stack",
|
|
226
310
|
"children": [
|
|
227
311
|
{
|
|
312
|
+
"content": "Current:",
|
|
228
313
|
"type": "typography",
|
|
229
|
-
"variant": "caption"
|
|
230
|
-
"content": "Current:"
|
|
314
|
+
"variant": "caption"
|
|
231
315
|
},
|
|
232
316
|
{
|
|
233
317
|
"type": "badge",
|
|
234
318
|
"label": "@entity.currentProvider"
|
|
235
319
|
},
|
|
236
320
|
{
|
|
237
|
-
"
|
|
238
|
-
"
|
|
321
|
+
"label": "@entity.currentModel",
|
|
322
|
+
"type": "badge"
|
|
239
323
|
}
|
|
240
|
-
]
|
|
324
|
+
],
|
|
325
|
+
"direction": "horizontal"
|
|
241
326
|
},
|
|
242
327
|
{
|
|
243
|
-
"type": "form-section",
|
|
244
|
-
"entity": "AgentProvider",
|
|
245
328
|
"mode": "edit",
|
|
246
|
-
"
|
|
247
|
-
"cancelEvent": "CLOSE",
|
|
329
|
+
"type": "form-section",
|
|
248
330
|
"fields": [
|
|
249
331
|
"currentProvider",
|
|
250
332
|
"currentModel"
|
|
251
|
-
]
|
|
333
|
+
],
|
|
334
|
+
"submitEvent": "SAVE",
|
|
335
|
+
"entity": "AgentProvider",
|
|
336
|
+
"cancelEvent": "CLOSE"
|
|
252
337
|
}
|
|
253
|
-
]
|
|
338
|
+
],
|
|
339
|
+
"type": "stack",
|
|
340
|
+
"gap": "md",
|
|
341
|
+
"direction": "vertical"
|
|
254
342
|
}
|
|
255
343
|
]
|
|
256
344
|
]
|
|
@@ -278,15 +366,11 @@
|
|
|
278
366
|
"render-ui",
|
|
279
367
|
"main",
|
|
280
368
|
{
|
|
281
|
-
"type": "stack",
|
|
282
|
-
"direction": "vertical",
|
|
283
|
-
"gap": "lg",
|
|
284
369
|
"children": [
|
|
285
370
|
{
|
|
371
|
+
"justify": "space-between",
|
|
286
372
|
"type": "stack",
|
|
287
373
|
"direction": "horizontal",
|
|
288
|
-
"gap": "md",
|
|
289
|
-
"justify": "space-between",
|
|
290
374
|
"children": [
|
|
291
375
|
{
|
|
292
376
|
"type": "stack",
|
|
@@ -294,25 +378,26 @@
|
|
|
294
378
|
"gap": "md",
|
|
295
379
|
"children": [
|
|
296
380
|
{
|
|
381
|
+
"size": "lg",
|
|
297
382
|
"type": "icon",
|
|
298
|
-
"name": "repeat"
|
|
299
|
-
"size": "lg"
|
|
383
|
+
"name": "repeat"
|
|
300
384
|
},
|
|
301
385
|
{
|
|
302
|
-
"type": "typography",
|
|
303
386
|
"content": "Switch Provider",
|
|
304
|
-
"variant": "h2"
|
|
387
|
+
"variant": "h2",
|
|
388
|
+
"type": "typography"
|
|
305
389
|
}
|
|
306
390
|
]
|
|
307
391
|
},
|
|
308
392
|
{
|
|
309
|
-
"type": "button",
|
|
310
|
-
"label": "Open",
|
|
311
393
|
"event": "SWITCH",
|
|
394
|
+
"label": "Open",
|
|
312
395
|
"variant": "primary",
|
|
396
|
+
"type": "button",
|
|
313
397
|
"icon": "repeat"
|
|
314
398
|
}
|
|
315
|
-
]
|
|
399
|
+
],
|
|
400
|
+
"gap": "md"
|
|
316
401
|
},
|
|
317
402
|
{
|
|
318
403
|
"type": "divider"
|
|
@@ -320,10 +405,13 @@
|
|
|
320
405
|
{
|
|
321
406
|
"type": "empty-state",
|
|
322
407
|
"icon": "repeat",
|
|
323
|
-
"
|
|
324
|
-
"
|
|
408
|
+
"description": "Click Open to view details in a modal overlay.",
|
|
409
|
+
"title": "Nothing open"
|
|
325
410
|
}
|
|
326
|
-
]
|
|
411
|
+
],
|
|
412
|
+
"direction": "vertical",
|
|
413
|
+
"type": "stack",
|
|
414
|
+
"gap": "lg"
|
|
327
415
|
}
|
|
328
416
|
]
|
|
329
417
|
]
|
|
@@ -356,39 +444,36 @@
|
|
|
356
444
|
"render-ui",
|
|
357
445
|
"main",
|
|
358
446
|
{
|
|
359
|
-
"type": "stack",
|
|
360
|
-
"direction": "vertical",
|
|
361
|
-
"gap": "lg",
|
|
362
447
|
"children": [
|
|
363
448
|
{
|
|
364
|
-
"
|
|
449
|
+
"justify": "space-between",
|
|
365
450
|
"direction": "horizontal",
|
|
366
451
|
"gap": "md",
|
|
367
|
-
"
|
|
452
|
+
"type": "stack",
|
|
368
453
|
"children": [
|
|
369
454
|
{
|
|
370
455
|
"type": "stack",
|
|
371
|
-
"direction": "horizontal",
|
|
372
|
-
"gap": "md",
|
|
373
456
|
"children": [
|
|
374
457
|
{
|
|
375
|
-
"type": "icon",
|
|
376
458
|
"name": "repeat",
|
|
377
|
-
"size": "lg"
|
|
459
|
+
"size": "lg",
|
|
460
|
+
"type": "icon"
|
|
378
461
|
},
|
|
379
462
|
{
|
|
380
463
|
"type": "typography",
|
|
381
|
-
"
|
|
382
|
-
"
|
|
464
|
+
"variant": "h2",
|
|
465
|
+
"content": "Switch Provider"
|
|
383
466
|
}
|
|
384
|
-
]
|
|
467
|
+
],
|
|
468
|
+
"gap": "md",
|
|
469
|
+
"direction": "horizontal"
|
|
385
470
|
},
|
|
386
471
|
{
|
|
472
|
+
"variant": "primary",
|
|
473
|
+
"icon": "repeat",
|
|
387
474
|
"type": "button",
|
|
388
475
|
"label": "Open",
|
|
389
|
-
"event": "SWITCH"
|
|
390
|
-
"variant": "primary",
|
|
391
|
-
"icon": "repeat"
|
|
476
|
+
"event": "SWITCH"
|
|
392
477
|
}
|
|
393
478
|
]
|
|
394
479
|
},
|
|
@@ -397,22 +482,90 @@
|
|
|
397
482
|
},
|
|
398
483
|
{
|
|
399
484
|
"type": "empty-state",
|
|
400
|
-
"icon": "repeat",
|
|
401
485
|
"title": "Nothing open",
|
|
402
|
-
"description": "Click Open to view details in a modal overlay."
|
|
486
|
+
"description": "Click Open to view details in a modal overlay.",
|
|
487
|
+
"icon": "repeat"
|
|
403
488
|
}
|
|
404
|
-
]
|
|
489
|
+
],
|
|
490
|
+
"gap": "lg",
|
|
491
|
+
"type": "stack",
|
|
492
|
+
"direction": "vertical"
|
|
405
493
|
}
|
|
406
494
|
]
|
|
407
495
|
]
|
|
408
496
|
}
|
|
409
497
|
]
|
|
410
|
-
}
|
|
498
|
+
},
|
|
499
|
+
"scope": "instance"
|
|
411
500
|
},
|
|
412
501
|
{
|
|
413
502
|
"name": "AgentProviderNotification",
|
|
414
|
-
"linkedEntity": "AgentProvider",
|
|
415
503
|
"category": "interaction",
|
|
504
|
+
"linkedEntity": "AgentProvider",
|
|
505
|
+
"emits": [
|
|
506
|
+
{
|
|
507
|
+
"event": "AgentProviderLoaded",
|
|
508
|
+
"description": "Fired when AgentProvider finishes loading",
|
|
509
|
+
"scope": "internal",
|
|
510
|
+
"payload": [
|
|
511
|
+
{
|
|
512
|
+
"name": "id",
|
|
513
|
+
"type": "string"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "name",
|
|
517
|
+
"type": "string"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "description",
|
|
521
|
+
"type": "string"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "status",
|
|
525
|
+
"type": "string"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "createdAt",
|
|
529
|
+
"type": "string"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "currentProvider",
|
|
533
|
+
"type": "string"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "currentModel",
|
|
537
|
+
"type": "string"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "fallbackProvider",
|
|
541
|
+
"type": "string"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "requestCount",
|
|
545
|
+
"type": "number"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "message",
|
|
549
|
+
"type": "string"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "notificationType",
|
|
553
|
+
"type": "string"
|
|
554
|
+
}
|
|
555
|
+
]
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"event": "AgentProviderLoadFailed",
|
|
559
|
+
"description": "Fired when AgentProvider fails to load",
|
|
560
|
+
"scope": "internal",
|
|
561
|
+
"payload": [
|
|
562
|
+
{
|
|
563
|
+
"name": "message",
|
|
564
|
+
"type": "string"
|
|
565
|
+
}
|
|
566
|
+
]
|
|
567
|
+
}
|
|
568
|
+
],
|
|
416
569
|
"stateMachine": {
|
|
417
570
|
"states": [
|
|
418
571
|
{
|
|
@@ -430,7 +583,7 @@
|
|
|
430
583
|
},
|
|
431
584
|
{
|
|
432
585
|
"key": "SHOW",
|
|
433
|
-
"name": "Show
|
|
586
|
+
"name": "Show",
|
|
434
587
|
"payload": [
|
|
435
588
|
{
|
|
436
589
|
"name": "message",
|
|
@@ -445,7 +598,21 @@
|
|
|
445
598
|
},
|
|
446
599
|
{
|
|
447
600
|
"key": "HIDE",
|
|
448
|
-
"name": "Hide
|
|
601
|
+
"name": "Hide"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"key": "AgentProviderLoaded",
|
|
605
|
+
"name": "AgentProvider loaded"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"key": "AgentProviderLoadFailed",
|
|
609
|
+
"name": "AgentProvider load failed",
|
|
610
|
+
"payload": [
|
|
611
|
+
{
|
|
612
|
+
"name": "message",
|
|
613
|
+
"type": "string"
|
|
614
|
+
}
|
|
615
|
+
]
|
|
449
616
|
}
|
|
450
617
|
],
|
|
451
618
|
"transitions": [
|
|
@@ -456,7 +623,13 @@
|
|
|
456
623
|
"effects": [
|
|
457
624
|
[
|
|
458
625
|
"fetch",
|
|
459
|
-
"AgentProvider"
|
|
626
|
+
"AgentProvider",
|
|
627
|
+
{
|
|
628
|
+
"emit": {
|
|
629
|
+
"success": "AgentProviderLoaded",
|
|
630
|
+
"failure": "AgentProviderLoadFailed"
|
|
631
|
+
}
|
|
632
|
+
}
|
|
460
633
|
]
|
|
461
634
|
]
|
|
462
635
|
},
|
|
@@ -479,49 +652,47 @@
|
|
|
479
652
|
"render-ui",
|
|
480
653
|
"main",
|
|
481
654
|
{
|
|
482
|
-
"type": "stack",
|
|
483
|
-
"direction": "vertical",
|
|
484
655
|
"gap": "lg",
|
|
656
|
+
"type": "stack",
|
|
485
657
|
"children": [
|
|
486
658
|
{
|
|
487
659
|
"type": "stack",
|
|
488
660
|
"direction": "horizontal",
|
|
489
|
-
"gap": "md",
|
|
490
661
|
"justify": "space-between",
|
|
491
662
|
"align": "center",
|
|
492
663
|
"children": [
|
|
493
664
|
{
|
|
494
|
-
"type": "stack",
|
|
495
665
|
"direction": "horizontal",
|
|
496
|
-
"
|
|
666
|
+
"type": "stack",
|
|
497
667
|
"align": "center",
|
|
498
668
|
"children": [
|
|
499
669
|
{
|
|
500
|
-
"type": "icon",
|
|
501
670
|
"name": "server",
|
|
502
|
-
"size": "lg"
|
|
671
|
+
"size": "lg",
|
|
672
|
+
"type": "icon"
|
|
503
673
|
},
|
|
504
674
|
{
|
|
505
675
|
"type": "typography",
|
|
506
676
|
"content": "Provider Status",
|
|
507
677
|
"variant": "h2"
|
|
508
678
|
}
|
|
509
|
-
]
|
|
679
|
+
],
|
|
680
|
+
"gap": "md"
|
|
510
681
|
},
|
|
511
682
|
{
|
|
512
683
|
"type": "button",
|
|
513
|
-
"label": "Dismiss",
|
|
514
684
|
"event": "HIDE",
|
|
685
|
+
"icon": "x",
|
|
515
686
|
"variant": "ghost",
|
|
516
|
-
"
|
|
687
|
+
"label": "Dismiss"
|
|
517
688
|
}
|
|
518
|
-
]
|
|
689
|
+
],
|
|
690
|
+
"gap": "md"
|
|
519
691
|
},
|
|
520
692
|
{
|
|
521
693
|
"type": "divider"
|
|
522
694
|
},
|
|
523
695
|
{
|
|
524
|
-
"type": "alert",
|
|
525
696
|
"variant": [
|
|
526
697
|
"object/get",
|
|
527
698
|
[
|
|
@@ -530,6 +701,7 @@
|
|
|
530
701
|
],
|
|
531
702
|
"notificationType"
|
|
532
703
|
],
|
|
704
|
+
"type": "alert",
|
|
533
705
|
"message": [
|
|
534
706
|
"object/get",
|
|
535
707
|
[
|
|
@@ -556,7 +728,8 @@
|
|
|
556
728
|
],
|
|
557
729
|
"category": "compliance"
|
|
558
730
|
}
|
|
559
|
-
]
|
|
731
|
+
],
|
|
732
|
+
"direction": "vertical"
|
|
560
733
|
}
|
|
561
734
|
]
|
|
562
735
|
]
|
|
@@ -580,64 +753,64 @@
|
|
|
580
753
|
"render-ui",
|
|
581
754
|
"main",
|
|
582
755
|
{
|
|
583
|
-
"type": "stack",
|
|
584
756
|
"direction": "vertical",
|
|
757
|
+
"type": "stack",
|
|
585
758
|
"gap": "lg",
|
|
586
759
|
"children": [
|
|
587
760
|
{
|
|
588
|
-
"type": "stack",
|
|
589
|
-
"direction": "horizontal",
|
|
590
|
-
"gap": "md",
|
|
591
|
-
"justify": "space-between",
|
|
592
|
-
"align": "center",
|
|
593
761
|
"children": [
|
|
594
762
|
{
|
|
595
|
-
"type": "stack",
|
|
596
|
-
"direction": "horizontal",
|
|
597
|
-
"gap": "md",
|
|
598
|
-
"align": "center",
|
|
599
763
|
"children": [
|
|
600
764
|
{
|
|
765
|
+
"size": "lg",
|
|
601
766
|
"type": "icon",
|
|
602
|
-
"name": "server"
|
|
603
|
-
"size": "lg"
|
|
767
|
+
"name": "server"
|
|
604
768
|
},
|
|
605
769
|
{
|
|
606
|
-
"type": "typography",
|
|
607
770
|
"content": "Provider Status",
|
|
771
|
+
"type": "typography",
|
|
608
772
|
"variant": "h2"
|
|
609
773
|
}
|
|
610
|
-
]
|
|
774
|
+
],
|
|
775
|
+
"gap": "md",
|
|
776
|
+
"align": "center",
|
|
777
|
+
"type": "stack",
|
|
778
|
+
"direction": "horizontal"
|
|
611
779
|
},
|
|
612
780
|
{
|
|
613
781
|
"type": "button",
|
|
614
|
-
"label": "Dismiss",
|
|
615
|
-
"event": "HIDE",
|
|
616
782
|
"variant": "ghost",
|
|
617
|
-
"
|
|
783
|
+
"event": "HIDE",
|
|
784
|
+
"icon": "x",
|
|
785
|
+
"label": "Dismiss"
|
|
618
786
|
}
|
|
619
|
-
]
|
|
787
|
+
],
|
|
788
|
+
"direction": "horizontal",
|
|
789
|
+
"gap": "md",
|
|
790
|
+
"type": "stack",
|
|
791
|
+
"align": "center",
|
|
792
|
+
"justify": "space-between"
|
|
620
793
|
},
|
|
621
794
|
{
|
|
622
795
|
"type": "divider"
|
|
623
796
|
},
|
|
624
797
|
{
|
|
625
|
-
"
|
|
626
|
-
"variant": [
|
|
798
|
+
"message": [
|
|
627
799
|
"object/get",
|
|
628
800
|
[
|
|
629
801
|
"array/first",
|
|
630
802
|
"@entity"
|
|
631
803
|
],
|
|
632
|
-
"
|
|
804
|
+
"message"
|
|
633
805
|
],
|
|
634
|
-
"
|
|
806
|
+
"type": "alert",
|
|
807
|
+
"variant": [
|
|
635
808
|
"object/get",
|
|
636
809
|
[
|
|
637
810
|
"array/first",
|
|
638
811
|
"@entity"
|
|
639
812
|
],
|
|
640
|
-
"
|
|
813
|
+
"notificationType"
|
|
641
814
|
]
|
|
642
815
|
},
|
|
643
816
|
{
|
|
@@ -646,7 +819,6 @@
|
|
|
646
819
|
},
|
|
647
820
|
{
|
|
648
821
|
"type": "violation-alert",
|
|
649
|
-
"severity": "warning",
|
|
650
822
|
"message": [
|
|
651
823
|
"object/get",
|
|
652
824
|
[
|
|
@@ -655,6 +827,7 @@
|
|
|
655
827
|
],
|
|
656
828
|
"message"
|
|
657
829
|
],
|
|
830
|
+
"severity": "warning",
|
|
658
831
|
"category": "compliance"
|
|
659
832
|
}
|
|
660
833
|
]
|
|
@@ -675,12 +848,13 @@
|
|
|
675
848
|
]
|
|
676
849
|
}
|
|
677
850
|
]
|
|
678
|
-
}
|
|
851
|
+
},
|
|
852
|
+
"scope": "instance"
|
|
679
853
|
},
|
|
680
854
|
{
|
|
681
855
|
"name": "AgentProviderAgent",
|
|
682
|
-
"linkedEntity": "AgentProvider",
|
|
683
856
|
"category": "interaction",
|
|
857
|
+
"linkedEntity": "AgentProvider",
|
|
684
858
|
"emits": [
|
|
685
859
|
{
|
|
686
860
|
"event": "SHOW",
|
|
@@ -695,13 +869,78 @@
|
|
|
695
869
|
"type": "string"
|
|
696
870
|
}
|
|
697
871
|
]
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"event": "AgentProviderLoaded",
|
|
875
|
+
"description": "Fired when AgentProvider finishes loading",
|
|
876
|
+
"scope": "internal",
|
|
877
|
+
"payload": [
|
|
878
|
+
{
|
|
879
|
+
"name": "id",
|
|
880
|
+
"type": "string"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "name",
|
|
884
|
+
"type": "string"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"name": "description",
|
|
888
|
+
"type": "string"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "status",
|
|
892
|
+
"type": "string"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"name": "createdAt",
|
|
896
|
+
"type": "string"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "currentProvider",
|
|
900
|
+
"type": "string"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "currentModel",
|
|
904
|
+
"type": "string"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "fallbackProvider",
|
|
908
|
+
"type": "string"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "requestCount",
|
|
912
|
+
"type": "number"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "message",
|
|
916
|
+
"type": "string"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "notificationType",
|
|
920
|
+
"type": "string"
|
|
921
|
+
}
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"event": "AgentProviderLoadFailed",
|
|
926
|
+
"description": "Fired when AgentProvider fails to load",
|
|
927
|
+
"scope": "internal",
|
|
928
|
+
"payload": [
|
|
929
|
+
{
|
|
930
|
+
"name": "message",
|
|
931
|
+
"type": "string"
|
|
932
|
+
}
|
|
933
|
+
]
|
|
698
934
|
}
|
|
699
935
|
],
|
|
700
936
|
"listens": [
|
|
701
937
|
{
|
|
702
938
|
"event": "SWITCHED",
|
|
703
|
-
"
|
|
704
|
-
"
|
|
939
|
+
"triggers": "SWITCHED",
|
|
940
|
+
"source": {
|
|
941
|
+
"kind": "trait",
|
|
942
|
+
"trait": "AgentProviderModal"
|
|
943
|
+
}
|
|
705
944
|
}
|
|
706
945
|
],
|
|
707
946
|
"stateMachine": {
|
|
@@ -733,18 +972,29 @@
|
|
|
733
972
|
}
|
|
734
973
|
]
|
|
735
974
|
},
|
|
975
|
+
{
|
|
976
|
+
"key": "SWITCHED",
|
|
977
|
+
"name": "Switched"
|
|
978
|
+
},
|
|
736
979
|
{
|
|
737
980
|
"key": "SWITCH_AUTO",
|
|
738
|
-
"name": "
|
|
981
|
+
"name": "Switch Auto"
|
|
739
982
|
},
|
|
740
983
|
{
|
|
741
|
-
"key": "
|
|
742
|
-
"name": "
|
|
984
|
+
"key": "SHOW",
|
|
985
|
+
"name": "Show"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"key": "AgentProviderLoaded",
|
|
989
|
+
"name": "AgentProvider loaded"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"key": "AgentProviderLoadFailed",
|
|
993
|
+
"name": "AgentProvider load failed",
|
|
743
994
|
"payload": [
|
|
744
995
|
{
|
|
745
|
-
"name": "
|
|
746
|
-
"type": "
|
|
747
|
-
"required": true
|
|
996
|
+
"name": "message",
|
|
997
|
+
"type": "string"
|
|
748
998
|
}
|
|
749
999
|
]
|
|
750
1000
|
}
|
|
@@ -757,7 +1007,13 @@
|
|
|
757
1007
|
"effects": [
|
|
758
1008
|
[
|
|
759
1009
|
"fetch",
|
|
760
|
-
"AgentProvider"
|
|
1010
|
+
"AgentProvider",
|
|
1011
|
+
{
|
|
1012
|
+
"emit": {
|
|
1013
|
+
"success": "AgentProviderLoaded",
|
|
1014
|
+
"failure": "AgentProviderLoadFailed"
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
761
1017
|
],
|
|
762
1018
|
[
|
|
763
1019
|
"agent/provider"
|
|
@@ -769,16 +1025,16 @@
|
|
|
769
1025
|
"render-ui",
|
|
770
1026
|
"main",
|
|
771
1027
|
{
|
|
772
|
-
"type": "empty-state",
|
|
773
1028
|
"icon": "repeat",
|
|
774
|
-
"
|
|
775
|
-
"description": "Provider is ready"
|
|
1029
|
+
"type": "empty-state",
|
|
1030
|
+
"description": "Provider is ready",
|
|
1031
|
+
"title": "Provider"
|
|
776
1032
|
}
|
|
777
1033
|
]
|
|
778
1034
|
]
|
|
779
1035
|
},
|
|
780
1036
|
{
|
|
781
|
-
"from": "
|
|
1037
|
+
"from": "idle",
|
|
782
1038
|
"to": "switching",
|
|
783
1039
|
"event": "DO_SWITCH",
|
|
784
1040
|
"effects": [
|
|
@@ -802,38 +1058,34 @@
|
|
|
802
1058
|
{
|
|
803
1059
|
"from": "active",
|
|
804
1060
|
"to": "switching",
|
|
805
|
-
"event": "
|
|
1061
|
+
"event": "DO_SWITCH",
|
|
806
1062
|
"effects": [
|
|
807
1063
|
[
|
|
808
1064
|
"agent/switch-provider",
|
|
1065
|
+
"@payload.data.currentProvider",
|
|
1066
|
+
"@payload.data.currentModel"
|
|
1067
|
+
],
|
|
1068
|
+
[
|
|
1069
|
+
"set",
|
|
809
1070
|
"@entity.currentProvider",
|
|
810
|
-
"@
|
|
1071
|
+
"@payload.data.currentProvider"
|
|
1072
|
+
],
|
|
1073
|
+
[
|
|
1074
|
+
"set",
|
|
1075
|
+
"@entity.currentModel",
|
|
1076
|
+
"@payload.data.currentModel"
|
|
811
1077
|
]
|
|
812
1078
|
]
|
|
813
1079
|
},
|
|
814
1080
|
{
|
|
815
|
-
"from": "
|
|
816
|
-
"to": "
|
|
817
|
-
"event": "
|
|
1081
|
+
"from": "active",
|
|
1082
|
+
"to": "switching",
|
|
1083
|
+
"event": "SWITCHED",
|
|
818
1084
|
"effects": [
|
|
819
1085
|
[
|
|
820
|
-
"agent/provider"
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
"agent/model"
|
|
824
|
-
],
|
|
825
|
-
[
|
|
826
|
-
"set",
|
|
827
|
-
"@entity.requestCount",
|
|
828
|
-
[
|
|
829
|
-
"+",
|
|
830
|
-
"@entity.requestCount",
|
|
831
|
-
1
|
|
832
|
-
]
|
|
833
|
-
],
|
|
834
|
-
[
|
|
835
|
-
"emit",
|
|
836
|
-
"SHOW"
|
|
1086
|
+
"agent/switch-provider",
|
|
1087
|
+
"@entity.currentProvider",
|
|
1088
|
+
"@entity.currentModel"
|
|
837
1089
|
]
|
|
838
1090
|
]
|
|
839
1091
|
},
|
|
@@ -854,29 +1106,34 @@
|
|
|
854
1106
|
]
|
|
855
1107
|
},
|
|
856
1108
|
{
|
|
857
|
-
"from": "
|
|
858
|
-
"to": "
|
|
859
|
-
"event": "
|
|
1109
|
+
"from": "switching",
|
|
1110
|
+
"to": "active",
|
|
1111
|
+
"event": "INIT",
|
|
860
1112
|
"effects": [
|
|
861
1113
|
[
|
|
862
|
-
"agent/
|
|
863
|
-
"@payload.data.currentProvider",
|
|
864
|
-
"@payload.data.currentModel"
|
|
1114
|
+
"agent/provider"
|
|
865
1115
|
],
|
|
866
1116
|
[
|
|
867
|
-
"
|
|
868
|
-
"@entity.currentProvider",
|
|
869
|
-
"@payload.data.currentProvider"
|
|
1117
|
+
"agent/model"
|
|
870
1118
|
],
|
|
871
1119
|
[
|
|
872
1120
|
"set",
|
|
873
|
-
"@entity.
|
|
874
|
-
|
|
1121
|
+
"@entity.requestCount",
|
|
1122
|
+
[
|
|
1123
|
+
"+",
|
|
1124
|
+
"@entity.requestCount",
|
|
1125
|
+
1.0
|
|
1126
|
+
]
|
|
1127
|
+
],
|
|
1128
|
+
[
|
|
1129
|
+
"emit",
|
|
1130
|
+
"SHOW"
|
|
875
1131
|
]
|
|
876
1132
|
]
|
|
877
1133
|
}
|
|
878
1134
|
]
|
|
879
|
-
}
|
|
1135
|
+
},
|
|
1136
|
+
"scope": "instance"
|
|
880
1137
|
}
|
|
881
1138
|
],
|
|
882
1139
|
"pages": [
|
|
@@ -898,4 +1155,4 @@
|
|
|
898
1155
|
]
|
|
899
1156
|
}
|
|
900
1157
|
]
|
|
901
|
-
}
|
|
1158
|
+
}
|