@almadar/std 8.2.0 → 8.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  27. package/behaviors/registry/app/organisms/std-cms.orb +432 -432
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  29. package/behaviors/registry/app/organisms/std-crm.orb +813 -813
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  37. package/behaviors/registry/app/organisms/std-lms.orb +858 -858
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  42. package/behaviors/registry/core/atoms/std-browse.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  44. package/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +413 -413
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +50 -50
  50. package/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  51. package/behaviors/registry/core/atoms/std-modal.orb +13 -31
  52. package/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  53. package/behaviors/registry/core/atoms/std-push.orb +47 -47
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  55. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  56. package/behaviors/registry/core/atoms/std-search.orb +75 -75
  57. package/behaviors/registry/core/atoms/std-selection.orb +91 -91
  58. package/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  59. package/behaviors/registry/core/molecules/std-cart.orb +49 -49
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  62. package/behaviors/registry/core/molecules/std-list.orb +58 -58
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  64. package/behaviors/registry/game/atoms/std-collision.orb +132 -132
  65. package/behaviors/registry/game/atoms/std-combat.orb +59 -59
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  69. package/behaviors/registry/game/atoms/std-movement.orb +287 -287
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +266 -275
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  83. package/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  84. package/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +432 -432
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +813 -813
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +858 -858
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +64 -64
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +413 -413
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +50 -50
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +13 -31
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +47 -47
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +75 -75
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +91 -91
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +49 -49
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +58 -58
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +132 -132
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +59 -59
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +287 -287
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -275
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  187. package/package.json +1 -1
@@ -394,8 +394,8 @@
394
394
  "Assistant",
395
395
  {
396
396
  "emit": {
397
- "failure": "AssistantLoadFailed",
398
- "success": "AssistantLoaded"
397
+ "success": "AssistantLoaded",
398
+ "failure": "AssistantLoadFailed"
399
399
  }
400
400
  }
401
401
  ],
@@ -405,20 +405,20 @@
405
405
  {
406
406
  "align": "center",
407
407
  "direction": "vertical",
408
- "gap": "md",
409
- "className": "py-12",
408
+ "type": "stack",
410
409
  "children": [
411
410
  {
412
411
  "type": "spinner"
413
412
  },
414
413
  {
415
- "content": "Loading assistant…",
416
- "type": "typography",
417
414
  "variant": "caption",
418
- "color": "muted"
415
+ "type": "typography",
416
+ "color": "muted",
417
+ "content": "Loading assistant…"
419
418
  }
420
419
  ],
421
- "type": "stack"
420
+ "className": "py-12",
421
+ "gap": "md"
422
422
  }
423
423
  ]
424
424
  ]
@@ -432,14 +432,35 @@
432
432
  "render-ui",
433
433
  "main",
434
434
  {
435
+ "navItems": [
436
+ {
437
+ "label": "Chat",
438
+ "icon": "message-circle",
439
+ "href": "/chat"
440
+ },
441
+ {
442
+ "icon": "brain",
443
+ "label": "Memory",
444
+ "href": "/memory"
445
+ },
446
+ {
447
+ "href": "/settings",
448
+ "icon": "settings",
449
+ "label": "Settings"
450
+ }
451
+ ],
452
+ "appName": "Agent Assistant",
435
453
  "children": [
436
454
  {
455
+ "direction": "vertical",
456
+ "gap": "lg",
457
+ "type": "stack",
437
458
  "children": [
438
459
  {
439
- "justify": "between",
440
- "align": "center",
460
+ "type": "stack",
441
461
  "children": [
442
462
  {
463
+ "direction": "horizontal",
443
464
  "children": [
444
465
  {
445
466
  "type": "icon",
@@ -451,95 +472,74 @@
451
472
  "type": "typography"
452
473
  }
453
474
  ],
454
- "align": "center",
455
- "gap": "sm",
456
475
  "type": "stack",
457
- "direction": "horizontal"
476
+ "gap": "sm",
477
+ "align": "center"
458
478
  },
459
479
  {
480
+ "type": "button",
481
+ "variant": "primary",
460
482
  "action": "COMPOSE",
461
483
  "label": "New Message",
462
- "variant": "primary",
463
- "icon": "plus",
464
- "type": "button"
484
+ "icon": "plus"
465
485
  }
466
486
  ],
487
+ "gap": "sm",
488
+ "justify": "between",
467
489
  "direction": "horizontal",
468
- "type": "stack",
469
- "gap": "sm"
490
+ "align": "center"
470
491
  },
471
492
  {
472
493
  "type": "divider"
473
494
  },
474
495
  {
496
+ "fields": [],
475
497
  "type": "data-list",
498
+ "entity": "@payload.data",
476
499
  "renderItem": [
477
500
  "fn",
478
501
  "item",
479
502
  {
480
- "type": "stack",
481
503
  "children": [
482
504
  {
483
505
  "align": "center",
484
506
  "type": "stack",
485
- "direction": "horizontal",
486
- "gap": "sm",
487
507
  "children": [
488
508
  {
489
509
  "type": "badge",
490
510
  "label": "@item.role"
491
511
  },
492
512
  {
493
- "label": "@item.status",
494
513
  "type": "badge",
495
- "variant": "secondary"
514
+ "variant": "secondary",
515
+ "label": "@item.status"
496
516
  },
497
517
  {
498
- "variant": "caption",
518
+ "content": "@item.timestamp",
499
519
  "color": "muted",
500
- "type": "typography",
501
- "content": "@item.timestamp"
520
+ "variant": "caption",
521
+ "type": "typography"
502
522
  }
503
- ]
523
+ ],
524
+ "direction": "horizontal",
525
+ "gap": "sm"
504
526
  },
505
527
  {
506
- "content": "@item.content",
507
528
  "type": "typography",
508
- "variant": "body"
529
+ "variant": "body",
530
+ "content": "@item.content"
509
531
  }
510
532
  ],
511
- "direction": "vertical",
512
- "gap": "xs"
533
+ "gap": "xs",
534
+ "type": "stack",
535
+ "direction": "vertical"
513
536
  }
514
- ],
515
- "fields": [],
516
- "entity": "@payload.data"
537
+ ]
517
538
  }
518
- ],
519
- "direction": "vertical",
520
- "gap": "lg",
521
- "type": "stack"
539
+ ]
522
540
  }
523
541
  ],
524
- "appName": "Agent Assistant",
525
- "type": "dashboard-layout",
526
- "navItems": [
527
- {
528
- "icon": "message-circle",
529
- "label": "Chat",
530
- "href": "/chat"
531
- },
532
- {
533
- "label": "Memory",
534
- "href": "/memory",
535
- "icon": "brain"
536
- },
537
- {
538
- "icon": "settings",
539
- "href": "/settings",
540
- "label": "Settings"
541
- }
542
- ]
542
+ "type": "dashboard-layout"
543
543
  }
544
544
  ]
545
545
  ]
@@ -554,9 +554,10 @@
554
554
  "main",
555
555
  {
556
556
  "direction": "vertical",
557
- "className": "py-12",
558
- "align": "center",
557
+ "gap": "md",
559
558
  "type": "stack",
559
+ "align": "center",
560
+ "className": "py-12",
560
561
  "children": [
561
562
  {
562
563
  "type": "icon",
@@ -564,25 +565,24 @@
564
565
  "color": "destructive"
565
566
  },
566
567
  {
568
+ "type": "typography",
567
569
  "variant": "h3",
568
- "content": "Failed to load assistant",
569
- "type": "typography"
570
+ "content": "Failed to load assistant"
570
571
  },
571
572
  {
573
+ "type": "typography",
572
574
  "variant": "body",
573
- "color": "muted",
574
575
  "content": "@payload.error",
575
- "type": "typography"
576
+ "color": "muted"
576
577
  },
577
578
  {
578
579
  "type": "button",
579
580
  "label": "Retry",
580
- "action": "INIT",
581
581
  "icon": "rotate-ccw",
582
- "variant": "primary"
582
+ "variant": "primary",
583
+ "action": "INIT"
583
584
  }
584
- ],
585
- "gap": "md"
585
+ ]
586
586
  }
587
587
  ]
588
588
  ]
@@ -596,19 +596,19 @@
596
596
  "render-ui",
597
597
  "main",
598
598
  {
599
+ "direction": "vertical",
599
600
  "gap": "lg",
600
601
  "type": "stack",
601
- "direction": "vertical",
602
602
  "children": [
603
603
  {
604
- "gap": "sm",
605
604
  "type": "stack",
605
+ "gap": "sm",
606
606
  "align": "center",
607
607
  "direction": "horizontal",
608
608
  "children": [
609
609
  {
610
- "name": "message-circle",
611
- "type": "icon"
610
+ "type": "icon",
611
+ "name": "message-circle"
612
612
  },
613
613
  {
614
614
  "content": "Assistant Thread",
@@ -621,13 +621,13 @@
621
621
  "type": "divider"
622
622
  },
623
623
  {
624
+ "type": "form-section",
624
625
  "submitEvent": "SEND",
625
- "cancelEvent": "CANCEL_COMPOSE",
626
626
  "fields": [
627
627
  "content"
628
628
  ],
629
- "type": "form-section",
630
- "mode": "create"
629
+ "mode": "create",
630
+ "cancelEvent": "CANCEL_COMPOSE"
631
631
  }
632
632
  ]
633
633
  }
@@ -655,8 +655,8 @@
655
655
  "Assistant",
656
656
  {
657
657
  "emit": {
658
- "failure": "AssistantLoadFailed",
659
- "success": "AssistantLoaded"
658
+ "success": "AssistantLoaded",
659
+ "failure": "AssistantLoadFailed"
660
660
  }
661
661
  }
662
662
  ],
@@ -680,9 +680,9 @@
680
680
  "Assistant",
681
681
  {
682
682
  "timestamp": "@now",
683
- "role": "user",
684
683
  "content": "@payload.content",
685
- "status": "sent"
684
+ "status": "sent",
685
+ "role": "user"
686
686
  }
687
687
  ],
688
688
  [
@@ -694,8 +694,8 @@
694
694
  "Assistant",
695
695
  {
696
696
  "emit": {
697
- "failure": "AssistantLoadFailed",
698
- "success": "AssistantLoaded"
697
+ "success": "AssistantLoaded",
698
+ "failure": "AssistantLoadFailed"
699
699
  }
700
700
  }
701
701
  ],
@@ -718,8 +718,8 @@
718
718
  "Assistant",
719
719
  {
720
720
  "emit": {
721
- "failure": "AssistantLoadFailed",
722
- "success": "AssistantLoaded"
721
+ "success": "AssistantLoaded",
722
+ "failure": "AssistantLoadFailed"
723
723
  }
724
724
  }
725
725
  ],
@@ -903,19 +903,20 @@
903
903
  "render-ui",
904
904
  "main",
905
905
  {
906
+ "appName": "Agent Assistant",
907
+ "type": "dashboard-layout",
906
908
  "children": [
907
909
  {
910
+ "type": "empty-state",
908
911
  "title": "Conversation",
909
- "description": "Conversation is ready",
910
912
  "icon": "message-circle",
911
- "type": "empty-state"
913
+ "description": "Conversation is ready"
912
914
  }
913
915
  ],
914
- "type": "dashboard-layout",
915
916
  "navItems": [
916
917
  {
917
- "label": "Chat",
918
918
  "icon": "message-circle",
919
+ "label": "Chat",
919
920
  "href": "/chat"
920
921
  },
921
922
  {
@@ -924,12 +925,11 @@
924
925
  "href": "/memory"
925
926
  },
926
927
  {
927
- "icon": "settings",
928
928
  "label": "Settings",
929
- "href": "/settings"
929
+ "href": "/settings",
930
+ "icon": "settings"
930
931
  }
931
- ],
932
- "appName": "Agent Assistant"
932
+ ]
933
933
  }
934
934
  ]
935
935
  ]
@@ -1249,9 +1249,9 @@
1249
1249
  "main",
1250
1250
  {
1251
1251
  "type": "stack",
1252
- "gap": "md",
1253
1252
  "direction": "vertical",
1254
1253
  "align": "center",
1254
+ "gap": "md",
1255
1255
  "className": "py-12",
1256
1256
  "children": [
1257
1257
  {
@@ -1277,67 +1277,49 @@
1277
1277
  "render-ui",
1278
1278
  "main",
1279
1279
  {
1280
- "appName": "Agent Assistant",
1281
- "navItems": [
1282
- {
1283
- "href": "/chat",
1284
- "label": "Chat",
1285
- "icon": "message-circle"
1286
- },
1287
- {
1288
- "label": "Memory",
1289
- "href": "/memory",
1290
- "icon": "brain"
1291
- },
1292
- {
1293
- "label": "Settings",
1294
- "icon": "settings",
1295
- "href": "/settings"
1296
- }
1297
- ],
1298
- "type": "dashboard-layout",
1299
1280
  "children": [
1300
1281
  {
1301
1282
  "gap": "lg",
1302
- "type": "stack",
1303
1283
  "direction": "vertical",
1284
+ "className": "max-w-5xl mx-auto w-full",
1304
1285
  "children": [
1305
1286
  {
1287
+ "gap": "md",
1288
+ "justify": "between",
1306
1289
  "children": [
1307
1290
  {
1308
- "type": "stack",
1309
- "direction": "horizontal",
1310
1291
  "children": [
1311
1292
  {
1312
- "type": "icon",
1313
- "name": "brain"
1293
+ "name": "brain",
1294
+ "type": "icon"
1314
1295
  },
1315
1296
  {
1297
+ "type": "typography",
1316
1298
  "content": "Memory Manager",
1317
- "variant": "h2",
1318
- "type": "typography"
1299
+ "variant": "h2"
1319
1300
  }
1320
1301
  ],
1321
1302
  "align": "center",
1303
+ "type": "stack",
1304
+ "direction": "horizontal",
1322
1305
  "gap": "sm"
1323
1306
  },
1324
1307
  {
1325
- "type": "stack",
1326
- "gap": "sm",
1308
+ "direction": "horizontal",
1327
1309
  "children": [
1328
1310
  {
1329
- "label": "Memorize",
1311
+ "icon": "plus",
1330
1312
  "action": "MEMORIZE",
1313
+ "label": "Memorize",
1331
1314
  "variant": "primary",
1332
- "icon": "plus",
1333
1315
  "type": "button"
1334
1316
  },
1335
1317
  {
1336
- "type": "button",
1337
- "action": "RECALL",
1338
- "label": "Recall",
1339
1318
  "variant": "secondary",
1340
- "icon": "search"
1319
+ "icon": "search",
1320
+ "action": "RECALL",
1321
+ "type": "button",
1322
+ "label": "Recall"
1341
1323
  },
1342
1324
  {
1343
1325
  "action": "DECAY",
@@ -1347,118 +1329,136 @@
1347
1329
  "variant": "ghost"
1348
1330
  }
1349
1331
  ],
1350
- "direction": "horizontal"
1332
+ "type": "stack",
1333
+ "gap": "sm"
1351
1334
  }
1352
1335
  ],
1353
1336
  "direction": "horizontal",
1354
- "justify": "between",
1355
- "align": "center",
1356
1337
  "type": "stack",
1357
- "gap": "md"
1338
+ "align": "center"
1358
1339
  },
1359
1340
  {
1360
1341
  "type": "divider"
1361
1342
  },
1362
1343
  {
1344
+ "type": "data-grid",
1345
+ "itemActions": [
1346
+ {
1347
+ "event": "PIN",
1348
+ "label": "Pin",
1349
+ "variant": "ghost"
1350
+ },
1351
+ {
1352
+ "label": "Reinforce",
1353
+ "event": "REINFORCE",
1354
+ "variant": "ghost"
1355
+ },
1356
+ {
1357
+ "event": "FORGET",
1358
+ "variant": "danger",
1359
+ "label": "Forget"
1360
+ }
1361
+ ],
1363
1362
  "fields": [
1364
1363
  {
1365
- "variant": "h4",
1366
1364
  "name": "content",
1367
- "label": "Content",
1368
- "icon": "brain"
1365
+ "icon": "brain",
1366
+ "variant": "h4",
1367
+ "label": "Content"
1369
1368
  },
1370
1369
  {
1371
- "variant": "badge",
1372
1370
  "label": "Category",
1373
- "name": "category",
1371
+ "variant": "badge",
1374
1372
  "colorMap": {
1375
- "cancelled": "destructive",
1376
- "pending": "warning",
1377
1373
  "scheduled": "warning",
1378
- "archived": "neutral",
1379
- "failed": "destructive",
1380
- "draft": "warning",
1381
1374
  "done": "success",
1375
+ "active": "success",
1382
1376
  "completed": "success",
1383
- "error": "destructive",
1377
+ "draft": "warning",
1378
+ "cancelled": "destructive",
1379
+ "failed": "destructive",
1380
+ "pending": "warning",
1381
+ "disabled": "neutral",
1382
+ "archived": "neutral",
1384
1383
  "inactive": "neutral",
1385
- "active": "success",
1386
- "disabled": "neutral"
1387
- }
1384
+ "error": "destructive"
1385
+ },
1386
+ "name": "category"
1388
1387
  },
1389
1388
  {
1390
- "variant": "caption",
1389
+ "name": "strength",
1391
1390
  "label": "Strength",
1392
- "name": "strength"
1393
- }
1394
- ],
1395
- "itemActions": [
1396
- {
1397
- "event": "PIN",
1398
- "variant": "ghost",
1399
- "label": "Pin"
1400
- },
1401
- {
1402
- "variant": "ghost",
1403
- "event": "REINFORCE",
1404
- "label": "Reinforce"
1405
- },
1406
- {
1407
- "label": "Forget",
1408
- "event": "FORGET",
1409
- "variant": "danger"
1391
+ "variant": "caption"
1410
1392
  }
1411
1393
  ],
1412
- "entity": "@payload.data",
1413
- "type": "data-grid"
1394
+ "entity": "@payload.data"
1414
1395
  }
1415
1396
  ],
1416
- "className": "max-w-5xl mx-auto w-full"
1397
+ "type": "stack"
1417
1398
  }
1418
- ]
1419
- }
1420
- ]
1421
- ]
1422
- },
1423
- {
1424
- "from": "browsing",
1425
- "to": "browsing",
1426
- "event": "MemoryLoadFailed",
1427
- "effects": [
1428
- [
1429
- "render-ui",
1430
- "main",
1399
+ ],
1400
+ "navItems": [
1401
+ {
1402
+ "icon": "message-circle",
1403
+ "label": "Chat",
1404
+ "href": "/chat"
1405
+ },
1406
+ {
1407
+ "href": "/memory",
1408
+ "label": "Memory",
1409
+ "icon": "brain"
1410
+ },
1411
+ {
1412
+ "label": "Settings",
1413
+ "icon": "settings",
1414
+ "href": "/settings"
1415
+ }
1416
+ ],
1417
+ "type": "dashboard-layout",
1418
+ "appName": "Agent Assistant"
1419
+ }
1420
+ ]
1421
+ ]
1422
+ },
1423
+ {
1424
+ "from": "browsing",
1425
+ "to": "browsing",
1426
+ "event": "MemoryLoadFailed",
1427
+ "effects": [
1428
+ [
1429
+ "render-ui",
1430
+ "main",
1431
1431
  {
1432
- "align": "center",
1433
- "type": "stack",
1434
- "gap": "md",
1435
- "direction": "vertical",
1436
- "className": "py-12",
1437
1432
  "children": [
1438
1433
  {
1434
+ "name": "alert-triangle",
1439
1435
  "type": "icon",
1440
- "color": "destructive",
1441
- "name": "alert-triangle"
1436
+ "color": "destructive"
1442
1437
  },
1443
1438
  {
1439
+ "content": "Failed to load memory",
1444
1440
  "type": "typography",
1445
- "variant": "h3",
1446
- "content": "Failed to load memory"
1441
+ "variant": "h3"
1447
1442
  },
1448
1443
  {
1449
- "variant": "body",
1450
- "content": "@payload.error",
1451
1444
  "color": "muted",
1452
- "type": "typography"
1445
+ "content": "@payload.error",
1446
+ "type": "typography",
1447
+ "variant": "body"
1453
1448
  },
1454
1449
  {
1455
- "label": "Retry",
1456
- "icon": "rotate-ccw",
1450
+ "type": "button",
1457
1451
  "action": "INIT",
1458
1452
  "variant": "primary",
1459
- "type": "button"
1453
+ "icon": "rotate-ccw",
1454
+ "label": "Retry"
1460
1455
  }
1461
- ]
1456
+ ],
1457
+ "align": "center",
1458
+ "className": "py-12",
1459
+ "type": "stack",
1460
+ "direction": "vertical",
1461
+ "gap": "md"
1462
1462
  }
1463
1463
  ]
1464
1464
  ]
@@ -1633,39 +1633,39 @@
1633
1633
  "render-ui",
1634
1634
  "modal",
1635
1635
  {
1636
+ "direction": "vertical",
1636
1637
  "type": "stack",
1637
1638
  "gap": "md",
1638
- "direction": "vertical",
1639
1639
  "children": [
1640
1640
  {
1641
- "direction": "horizontal",
1642
- "type": "stack",
1643
- "gap": "sm",
1644
1641
  "children": [
1645
1642
  {
1646
- "name": "plus-circle",
1647
- "type": "icon"
1643
+ "type": "icon",
1644
+ "name": "plus-circle"
1648
1645
  },
1649
1646
  {
1650
1647
  "variant": "h3",
1651
- "type": "typography",
1652
- "content": "Memorize"
1648
+ "content": "Memorize",
1649
+ "type": "typography"
1653
1650
  }
1654
- ]
1651
+ ],
1652
+ "direction": "horizontal",
1653
+ "type": "stack",
1654
+ "gap": "sm"
1655
1655
  },
1656
1656
  {
1657
1657
  "type": "divider"
1658
1658
  },
1659
1659
  {
1660
+ "submitEvent": "SAVE",
1661
+ "type": "form-section",
1660
1662
  "fields": [
1661
1663
  "content",
1662
1664
  "category",
1663
1665
  "scope"
1664
1666
  ],
1665
1667
  "cancelEvent": "CLOSE",
1666
- "mode": "create",
1667
- "submitEvent": "SAVE",
1668
- "type": "form-section"
1668
+ "mode": "create"
1669
1669
  }
1670
1670
  ]
1671
1671
  }
@@ -1708,8 +1708,8 @@
1708
1708
  "@payload.data",
1709
1709
  {
1710
1710
  "emit": {
1711
- "failure": "MemorySaveFailed",
1712
- "success": "MemorySaved"
1711
+ "success": "MemorySaved",
1712
+ "failure": "MemorySaveFailed"
1713
1713
  }
1714
1714
  }
1715
1715
  ],
@@ -1998,6 +1998,16 @@
1998
1998
  "render-ui",
1999
1999
  "main",
2000
2000
  {
2001
+ "type": "dashboard-layout",
2002
+ "appName": "Agent Assistant",
2003
+ "children": [
2004
+ {
2005
+ "type": "empty-state",
2006
+ "icon": "brain",
2007
+ "title": "Memory",
2008
+ "description": "Memory is ready"
2009
+ }
2010
+ ],
2001
2011
  "navItems": [
2002
2012
  {
2003
2013
  "href": "/chat",
@@ -2006,23 +2016,13 @@
2006
2016
  },
2007
2017
  {
2008
2018
  "href": "/memory",
2009
- "label": "Memory",
2010
- "icon": "brain"
2019
+ "icon": "brain",
2020
+ "label": "Memory"
2011
2021
  },
2012
2022
  {
2023
+ "icon": "settings",
2013
2024
  "label": "Settings",
2014
- "href": "/settings",
2015
- "icon": "settings"
2016
- }
2017
- ],
2018
- "type": "dashboard-layout",
2019
- "appName": "Agent Assistant",
2020
- "children": [
2021
- {
2022
- "type": "empty-state",
2023
- "icon": "brain",
2024
- "title": "Memory",
2025
- "description": "Memory is ready"
2025
+ "href": "/settings"
2026
2026
  }
2027
2027
  ]
2028
2028
  }
@@ -2046,8 +2046,8 @@
2046
2046
  "@payload.data",
2047
2047
  {
2048
2048
  "emit": {
2049
- "failure": "MemorySaveFailed",
2050
- "success": "MemorySaved"
2049
+ "success": "MemorySaved",
2050
+ "failure": "MemorySaveFailed"
2051
2051
  }
2052
2052
  }
2053
2053
  ]
@@ -2344,8 +2344,8 @@
2344
2344
  "AssistantContext",
2345
2345
  {
2346
2346
  "emit": {
2347
- "failure": "AssistantContextLoadFailed",
2348
- "success": "AssistantContextLoaded"
2347
+ "success": "AssistantContextLoaded",
2348
+ "failure": "AssistantContextLoadFailed"
2349
2349
  }
2350
2350
  }
2351
2351
  ],
@@ -2353,27 +2353,27 @@
2353
2353
  "render-ui",
2354
2354
  "main",
2355
2355
  {
2356
- "appName": "Agent Assistant",
2357
2356
  "navItems": [
2358
2357
  {
2359
- "href": "/chat",
2360
2358
  "icon": "message-circle",
2359
+ "href": "/chat",
2361
2360
  "label": "Chat"
2362
2361
  },
2363
2362
  {
2364
- "icon": "brain",
2363
+ "label": "Memory",
2365
2364
  "href": "/memory",
2366
- "label": "Memory"
2365
+ "icon": "brain"
2367
2366
  },
2368
2367
  {
2369
- "label": "Settings",
2370
2368
  "href": "/settings",
2371
- "icon": "settings"
2369
+ "icon": "settings",
2370
+ "label": "Settings"
2372
2371
  }
2373
2372
  ],
2374
- "type": "dashboard-layout",
2375
2373
  "children": [
2376
2374
  {
2375
+ "type": "stack",
2376
+ "direction": "vertical",
2377
2377
  "children": [
2378
2378
  {
2379
2379
  "children": [
@@ -2382,9 +2382,9 @@
2382
2382
  "type": "icon"
2383
2383
  },
2384
2384
  {
2385
+ "type": "typography",
2385
2386
  "content": "Token Usage",
2386
- "variant": "h2",
2387
- "type": "typography"
2387
+ "variant": "h2"
2388
2388
  },
2389
2389
  {
2390
2390
  "type": "badge",
@@ -2392,49 +2392,49 @@
2392
2392
  "variant": "default"
2393
2393
  }
2394
2394
  ],
2395
- "gap": "sm",
2396
- "align": "center",
2395
+ "type": "stack",
2397
2396
  "direction": "horizontal",
2398
- "type": "stack"
2397
+ "align": "center",
2398
+ "gap": "sm"
2399
2399
  },
2400
2400
  {
2401
2401
  "type": "divider"
2402
2402
  },
2403
2403
  {
2404
2404
  "type": "progress-bar",
2405
- "value": "@entity.current",
2406
- "max": "@entity.max"
2405
+ "max": "@entity.max",
2406
+ "value": "@entity.current"
2407
2407
  },
2408
2408
  {
2409
2409
  "direction": "horizontal",
2410
2410
  "gap": "md",
2411
+ "type": "stack",
2411
2412
  "children": [
2412
2413
  {
2413
2414
  "type": "stat-display",
2414
- "value": "@entity.current",
2415
- "label": "Tokens Used"
2415
+ "label": "Tokens Used",
2416
+ "value": "@entity.current"
2416
2417
  },
2417
2418
  {
2418
2419
  "label": "Max Tokens",
2419
2420
  "value": "@entity.max",
2420
2421
  "type": "stat-display"
2421
2422
  }
2422
- ],
2423
- "type": "stack"
2423
+ ]
2424
2424
  },
2425
2425
  {
2426
- "type": "button",
2427
- "icon": "rotate-ccw",
2428
- "label": "Reset",
2429
2426
  "action": "RESET",
2430
- "variant": "ghost"
2427
+ "variant": "ghost",
2428
+ "label": "Reset",
2429
+ "type": "button",
2430
+ "icon": "rotate-ccw"
2431
2431
  }
2432
2432
  ],
2433
- "gap": "lg",
2434
- "type": "stack",
2435
- "direction": "vertical"
2433
+ "gap": "lg"
2436
2434
  }
2437
- ]
2435
+ ],
2436
+ "appName": "Agent Assistant",
2437
+ "type": "dashboard-layout"
2438
2438
  }
2439
2439
  ]
2440
2440
  ]
@@ -2462,11 +2462,27 @@
2462
2462
  "render-ui",
2463
2463
  "main",
2464
2464
  {
2465
+ "navItems": [
2466
+ {
2467
+ "label": "Chat",
2468
+ "href": "/chat",
2469
+ "icon": "message-circle"
2470
+ },
2471
+ {
2472
+ "href": "/memory",
2473
+ "label": "Memory",
2474
+ "icon": "brain"
2475
+ },
2476
+ {
2477
+ "href": "/settings",
2478
+ "label": "Settings",
2479
+ "icon": "settings"
2480
+ }
2481
+ ],
2465
2482
  "type": "dashboard-layout",
2466
- "appName": "Agent Assistant",
2467
2483
  "children": [
2468
2484
  {
2469
- "direction": "vertical",
2485
+ "type": "stack",
2470
2486
  "gap": "lg",
2471
2487
  "children": [
2472
2488
  {
@@ -2475,18 +2491,18 @@
2475
2491
  "direction": "horizontal",
2476
2492
  "children": [
2477
2493
  {
2478
- "type": "icon",
2479
- "name": "gauge"
2494
+ "name": "gauge",
2495
+ "type": "icon"
2480
2496
  },
2481
2497
  {
2498
+ "content": "Token Usage",
2482
2499
  "variant": "h2",
2483
- "type": "typography",
2484
- "content": "Token Usage"
2500
+ "type": "typography"
2485
2501
  },
2486
2502
  {
2503
+ "variant": "default",
2487
2504
  "type": "badge",
2488
- "label": "Normal",
2489
- "variant": "default"
2505
+ "label": "Normal"
2490
2506
  }
2491
2507
  ],
2492
2508
  "type": "stack"
@@ -2495,19 +2511,19 @@
2495
2511
  "type": "divider"
2496
2512
  },
2497
2513
  {
2498
- "type": "progress-bar",
2499
2514
  "max": "@entity.max",
2515
+ "type": "progress-bar",
2500
2516
  "value": "@entity.current"
2501
2517
  },
2502
2518
  {
2503
- "gap": "md",
2504
2519
  "direction": "horizontal",
2505
2520
  "type": "stack",
2521
+ "gap": "md",
2506
2522
  "children": [
2507
2523
  {
2508
- "value": "@entity.current",
2509
2524
  "type": "stat-display",
2510
- "label": "Tokens Used"
2525
+ "label": "Tokens Used",
2526
+ "value": "@entity.current"
2511
2527
  },
2512
2528
  {
2513
2529
  "label": "Max Tokens",
@@ -2517,33 +2533,17 @@
2517
2533
  ]
2518
2534
  },
2519
2535
  {
2520
- "label": "Reset",
2536
+ "variant": "ghost",
2521
2537
  "type": "button",
2538
+ "icon": "rotate-ccw",
2522
2539
  "action": "RESET",
2523
- "variant": "ghost",
2524
- "icon": "rotate-ccw"
2540
+ "label": "Reset"
2525
2541
  }
2526
2542
  ],
2527
- "type": "stack"
2543
+ "direction": "vertical"
2528
2544
  }
2529
2545
  ],
2530
- "navItems": [
2531
- {
2532
- "label": "Chat",
2533
- "href": "/chat",
2534
- "icon": "message-circle"
2535
- },
2536
- {
2537
- "href": "/memory",
2538
- "icon": "brain",
2539
- "label": "Memory"
2540
- },
2541
- {
2542
- "href": "/settings",
2543
- "label": "Settings",
2544
- "icon": "settings"
2545
- }
2546
- ]
2546
+ "appName": "Agent Assistant"
2547
2547
  }
2548
2548
  ]
2549
2549
  ]
@@ -2583,10 +2583,26 @@
2583
2583
  "render-ui",
2584
2584
  "main",
2585
2585
  {
2586
+ "navItems": [
2587
+ {
2588
+ "label": "Chat",
2589
+ "icon": "message-circle",
2590
+ "href": "/chat"
2591
+ },
2592
+ {
2593
+ "icon": "brain",
2594
+ "label": "Memory",
2595
+ "href": "/memory"
2596
+ },
2597
+ {
2598
+ "icon": "settings",
2599
+ "label": "Settings",
2600
+ "href": "/settings"
2601
+ }
2602
+ ],
2586
2603
  "appName": "Agent Assistant",
2587
2604
  "children": [
2588
2605
  {
2589
- "type": "stack",
2590
2606
  "children": [
2591
2607
  {
2592
2608
  "children": [
@@ -2595,92 +2611,76 @@
2595
2611
  "name": "alert-triangle"
2596
2612
  },
2597
2613
  {
2598
- "type": "typography",
2599
2614
  "content": "Token Usage",
2615
+ "type": "typography",
2600
2616
  "variant": "h2"
2601
2617
  },
2602
2618
  {
2603
2619
  "variant": "warning",
2604
- "type": "badge",
2605
- "label": "Warning"
2620
+ "label": "Warning",
2621
+ "type": "badge"
2606
2622
  }
2607
2623
  ],
2608
- "gap": "sm",
2609
- "type": "stack",
2610
2624
  "align": "center",
2611
- "direction": "horizontal"
2625
+ "type": "stack",
2626
+ "direction": "horizontal",
2627
+ "gap": "sm"
2612
2628
  },
2613
2629
  {
2614
2630
  "type": "divider"
2615
2631
  },
2616
2632
  {
2617
- "message": "Token usage approaching limit. Consider compacting.",
2633
+ "type": "alert",
2618
2634
  "variant": "warning",
2619
- "type": "alert"
2635
+ "message": "Token usage approaching limit. Consider compacting."
2620
2636
  },
2621
2637
  {
2622
- "type": "progress-bar",
2623
2638
  "value": "@entity.current",
2639
+ "type": "progress-bar",
2624
2640
  "max": "@entity.max"
2625
2641
  },
2626
2642
  {
2643
+ "direction": "horizontal",
2644
+ "type": "stack",
2627
2645
  "children": [
2628
2646
  {
2629
- "value": "@entity.current",
2630
2647
  "type": "stat-display",
2648
+ "value": "@entity.current",
2631
2649
  "label": "Tokens Used"
2632
2650
  },
2633
2651
  {
2634
2652
  "label": "Max Tokens",
2635
- "type": "stat-display",
2636
- "value": "@entity.max"
2653
+ "value": "@entity.max",
2654
+ "type": "stat-display"
2637
2655
  }
2638
2656
  ],
2639
- "gap": "md",
2640
- "type": "stack",
2641
- "direction": "horizontal"
2657
+ "gap": "md"
2642
2658
  },
2643
2659
  {
2644
- "direction": "horizontal",
2645
2660
  "gap": "sm",
2646
2661
  "children": [
2647
2662
  {
2648
- "label": "Compact",
2649
2663
  "variant": "primary",
2650
- "icon": "minimize-2",
2664
+ "label": "Compact",
2665
+ "type": "button",
2651
2666
  "action": "COMPACT",
2652
- "type": "button"
2667
+ "icon": "minimize-2"
2653
2668
  },
2654
2669
  {
2655
- "icon": "rotate-ccw",
2656
- "label": "Reset",
2657
- "action": "RESET",
2658
2670
  "type": "button",
2659
- "variant": "ghost"
2671
+ "label": "Reset",
2672
+ "icon": "rotate-ccw",
2673
+ "variant": "ghost",
2674
+ "action": "RESET"
2660
2675
  }
2661
2676
  ],
2662
- "type": "stack"
2677
+ "type": "stack",
2678
+ "direction": "horizontal"
2663
2679
  }
2664
2680
  ],
2665
2681
  "direction": "vertical",
2666
- "gap": "lg"
2667
- }
2668
- ],
2669
- "navItems": [
2670
- {
2671
- "label": "Chat",
2672
- "href": "/chat",
2673
- "icon": "message-circle"
2674
- },
2675
- {
2676
- "icon": "brain",
2677
- "href": "/memory",
2678
- "label": "Memory"
2679
- },
2680
- {
2681
- "label": "Settings",
2682
- "href": "/settings",
2683
- "icon": "settings"
2682
+ "gap": "lg",
2683
+ "type": "stack"
2684
2684
  }
2685
2685
  ],
2686
2686
  "type": "dashboard-layout"
@@ -2711,20 +2711,42 @@
2711
2711
  "render-ui",
2712
2712
  "main",
2713
2713
  {
2714
+ "type": "dashboard-layout",
2715
+ "appName": "Agent Assistant",
2716
+ "navItems": [
2717
+ {
2718
+ "href": "/chat",
2719
+ "label": "Chat",
2720
+ "icon": "message-circle"
2721
+ },
2722
+ {
2723
+ "href": "/memory",
2724
+ "label": "Memory",
2725
+ "icon": "brain"
2726
+ },
2727
+ {
2728
+ "label": "Settings",
2729
+ "href": "/settings",
2730
+ "icon": "settings"
2731
+ }
2732
+ ],
2714
2733
  "children": [
2715
2734
  {
2716
- "type": "stack",
2735
+ "direction": "vertical",
2717
2736
  "children": [
2718
2737
  {
2738
+ "type": "stack",
2739
+ "gap": "sm",
2740
+ "align": "center",
2719
2741
  "children": [
2720
2742
  {
2721
- "type": "icon",
2722
- "name": "alert-octagon"
2743
+ "name": "alert-octagon",
2744
+ "type": "icon"
2723
2745
  },
2724
2746
  {
2725
- "content": "Token Usage",
2726
2747
  "variant": "h2",
2727
- "type": "typography"
2748
+ "type": "typography",
2749
+ "content": "Token Usage"
2728
2750
  },
2729
2751
  {
2730
2752
  "type": "badge",
@@ -2732,86 +2754,64 @@
2732
2754
  "label": "Critical"
2733
2755
  }
2734
2756
  ],
2735
- "direction": "horizontal",
2736
- "gap": "sm",
2737
- "align": "center",
2738
- "type": "stack"
2757
+ "direction": "horizontal"
2739
2758
  },
2740
2759
  {
2741
2760
  "type": "divider"
2742
2761
  },
2743
2762
  {
2763
+ "variant": "error",
2744
2764
  "message": "Token usage critical. Compact immediately to avoid truncation.",
2745
- "type": "alert",
2746
- "variant": "error"
2765
+ "type": "alert"
2747
2766
  },
2748
2767
  {
2749
- "value": "@entity.current",
2750
2768
  "type": "progress-bar",
2769
+ "value": "@entity.current",
2751
2770
  "max": "@entity.max"
2752
2771
  },
2753
2772
  {
2754
- "type": "stack",
2755
- "gap": "md",
2756
2773
  "children": [
2757
2774
  {
2758
- "label": "Tokens Used",
2759
2775
  "value": "@entity.current",
2776
+ "label": "Tokens Used",
2760
2777
  "type": "stat-display"
2761
2778
  },
2762
2779
  {
2763
- "type": "stat-display",
2764
2780
  "value": "@entity.max",
2765
- "label": "Max Tokens"
2781
+ "label": "Max Tokens",
2782
+ "type": "stat-display"
2766
2783
  }
2767
2784
  ],
2785
+ "gap": "md",
2786
+ "type": "stack",
2768
2787
  "direction": "horizontal"
2769
2788
  },
2770
2789
  {
2771
- "gap": "sm",
2790
+ "type": "stack",
2772
2791
  "direction": "horizontal",
2792
+ "gap": "sm",
2773
2793
  "children": [
2774
2794
  {
2775
- "action": "COMPACT",
2776
2795
  "type": "button",
2777
2796
  "label": "Compact Now",
2778
2797
  "variant": "primary",
2798
+ "action": "COMPACT",
2779
2799
  "icon": "minimize-2"
2780
2800
  },
2781
2801
  {
2782
- "label": "Reset",
2802
+ "type": "button",
2783
2803
  "icon": "rotate-ccw",
2784
2804
  "variant": "ghost",
2785
- "type": "button",
2805
+ "label": "Reset",
2786
2806
  "action": "RESET"
2787
2807
  }
2788
- ],
2789
- "type": "stack"
2808
+ ]
2790
2809
  }
2791
2810
  ],
2792
- "direction": "vertical",
2793
- "gap": "lg"
2794
- }
2795
- ],
2796
- "navItems": [
2797
- {
2798
- "href": "/chat",
2799
- "icon": "message-circle",
2800
- "label": "Chat"
2801
- },
2802
- {
2803
- "icon": "brain",
2804
- "href": "/memory",
2805
- "label": "Memory"
2806
- },
2807
- {
2808
- "label": "Settings",
2809
- "href": "/settings",
2810
- "icon": "settings"
2811
+ "gap": "lg",
2812
+ "type": "stack"
2811
2813
  }
2812
- ],
2813
- "appName": "Agent Assistant",
2814
- "type": "dashboard-layout"
2814
+ ]
2815
2815
  }
2816
2816
  ]
2817
2817
  ]
@@ -2836,41 +2836,24 @@
2836
2836
  "render-ui",
2837
2837
  "main",
2838
2838
  {
2839
- "navItems": [
2840
- {
2841
- "href": "/chat",
2842
- "label": "Chat",
2843
- "icon": "message-circle"
2844
- },
2845
- {
2846
- "href": "/memory",
2847
- "label": "Memory",
2848
- "icon": "brain"
2849
- },
2850
- {
2851
- "href": "/settings",
2852
- "label": "Settings",
2853
- "icon": "settings"
2854
- }
2855
- ],
2856
2839
  "appName": "Agent Assistant",
2857
2840
  "children": [
2858
2841
  {
2859
- "gap": "lg",
2860
2842
  "type": "stack",
2843
+ "gap": "lg",
2861
2844
  "children": [
2862
2845
  {
2846
+ "type": "stack",
2863
2847
  "gap": "sm",
2864
- "align": "center",
2865
2848
  "children": [
2866
2849
  {
2867
- "type": "icon",
2868
- "name": "gauge"
2850
+ "name": "gauge",
2851
+ "type": "icon"
2869
2852
  },
2870
2853
  {
2871
2854
  "content": "Token Usage",
2872
- "variant": "h2",
2873
- "type": "typography"
2855
+ "type": "typography",
2856
+ "variant": "h2"
2874
2857
  },
2875
2858
  {
2876
2859
  "label": "Normal",
@@ -2878,7 +2861,7 @@
2878
2861
  "variant": "default"
2879
2862
  }
2880
2863
  ],
2881
- "type": "stack",
2864
+ "align": "center",
2882
2865
  "direction": "horizontal"
2883
2866
  },
2884
2867
  {
@@ -2886,37 +2869,54 @@
2886
2869
  },
2887
2870
  {
2888
2871
  "type": "progress-bar",
2889
- "max": "@entity.max",
2890
- "value": "@entity.current"
2872
+ "value": "@entity.current",
2873
+ "max": "@entity.max"
2891
2874
  },
2892
2875
  {
2893
2876
  "direction": "horizontal",
2894
- "type": "stack",
2895
- "gap": "md",
2896
2877
  "children": [
2897
2878
  {
2898
- "type": "stat-display",
2879
+ "label": "Tokens Used",
2899
2880
  "value": "@entity.current",
2900
- "label": "Tokens Used"
2881
+ "type": "stat-display"
2901
2882
  },
2902
2883
  {
2903
- "label": "Max Tokens",
2904
2884
  "type": "stat-display",
2885
+ "label": "Max Tokens",
2905
2886
  "value": "@entity.max"
2906
2887
  }
2907
- ]
2888
+ ],
2889
+ "gap": "md",
2890
+ "type": "stack"
2908
2891
  },
2909
2892
  {
2893
+ "action": "RESET",
2910
2894
  "type": "button",
2911
2895
  "icon": "rotate-ccw",
2912
2896
  "variant": "ghost",
2913
- "action": "RESET",
2914
2897
  "label": "Reset"
2915
2898
  }
2916
2899
  ],
2917
2900
  "direction": "vertical"
2918
2901
  }
2919
2902
  ],
2903
+ "navItems": [
2904
+ {
2905
+ "href": "/chat",
2906
+ "label": "Chat",
2907
+ "icon": "message-circle"
2908
+ },
2909
+ {
2910
+ "icon": "brain",
2911
+ "label": "Memory",
2912
+ "href": "/memory"
2913
+ },
2914
+ {
2915
+ "label": "Settings",
2916
+ "href": "/settings",
2917
+ "icon": "settings"
2918
+ }
2919
+ ],
2920
2920
  "type": "dashboard-layout"
2921
2921
  }
2922
2922
  ]
@@ -2937,85 +2937,85 @@
2937
2937
  "main",
2938
2938
  {
2939
2939
  "appName": "Agent Assistant",
2940
+ "type": "dashboard-layout",
2941
+ "navItems": [
2942
+ {
2943
+ "href": "/chat",
2944
+ "icon": "message-circle",
2945
+ "label": "Chat"
2946
+ },
2947
+ {
2948
+ "href": "/memory",
2949
+ "icon": "brain",
2950
+ "label": "Memory"
2951
+ },
2952
+ {
2953
+ "href": "/settings",
2954
+ "icon": "settings",
2955
+ "label": "Settings"
2956
+ }
2957
+ ],
2940
2958
  "children": [
2941
2959
  {
2942
2960
  "type": "stack",
2961
+ "direction": "vertical",
2962
+ "gap": "lg",
2943
2963
  "children": [
2944
2964
  {
2945
- "direction": "horizontal",
2946
- "gap": "sm",
2947
2965
  "align": "center",
2966
+ "gap": "sm",
2948
2967
  "type": "stack",
2949
2968
  "children": [
2950
2969
  {
2951
- "type": "icon",
2952
- "name": "gauge"
2970
+ "name": "gauge",
2971
+ "type": "icon"
2953
2972
  },
2954
2973
  {
2955
- "type": "typography",
2974
+ "content": "Token Usage",
2956
2975
  "variant": "h2",
2957
- "content": "Token Usage"
2976
+ "type": "typography"
2958
2977
  },
2959
2978
  {
2960
2979
  "label": "Normal",
2961
- "variant": "default",
2962
- "type": "badge"
2980
+ "type": "badge",
2981
+ "variant": "default"
2963
2982
  }
2964
- ]
2983
+ ],
2984
+ "direction": "horizontal"
2965
2985
  },
2966
2986
  {
2967
2987
  "type": "divider"
2968
2988
  },
2969
2989
  {
2970
2990
  "value": "@entity.current",
2971
- "max": "@entity.max",
2972
- "type": "progress-bar"
2991
+ "type": "progress-bar",
2992
+ "max": "@entity.max"
2973
2993
  },
2974
2994
  {
2975
2995
  "gap": "md",
2996
+ "type": "stack",
2976
2997
  "direction": "horizontal",
2977
2998
  "children": [
2978
2999
  {
2979
- "value": "@entity.current",
2980
3000
  "type": "stat-display",
3001
+ "value": "@entity.current",
2981
3002
  "label": "Tokens Used"
2982
3003
  },
2983
3004
  {
2984
- "value": "@entity.max",
2985
3005
  "type": "stat-display",
2986
- "label": "Max Tokens"
3006
+ "label": "Max Tokens",
3007
+ "value": "@entity.max"
2987
3008
  }
2988
- ],
2989
- "type": "stack"
3009
+ ]
2990
3010
  },
2991
3011
  {
2992
- "type": "button",
2993
- "icon": "rotate-ccw",
2994
- "label": "Reset",
2995
3012
  "action": "RESET",
2996
- "variant": "ghost"
3013
+ "icon": "rotate-ccw",
3014
+ "variant": "ghost",
3015
+ "type": "button",
3016
+ "label": "Reset"
2997
3017
  }
2998
- ],
2999
- "direction": "vertical",
3000
- "gap": "lg"
3001
- }
3002
- ],
3003
- "type": "dashboard-layout",
3004
- "navItems": [
3005
- {
3006
- "label": "Chat",
3007
- "href": "/chat",
3008
- "icon": "message-circle"
3009
- },
3010
- {
3011
- "href": "/memory",
3012
- "icon": "brain",
3013
- "label": "Memory"
3014
- },
3015
- {
3016
- "href": "/settings",
3017
- "icon": "settings",
3018
- "label": "Settings"
3018
+ ]
3019
3019
  }
3020
3020
  ]
3021
3021
  }
@@ -3057,67 +3057,66 @@
3057
3057
  "render-ui",
3058
3058
  "main",
3059
3059
  {
3060
+ "type": "dashboard-layout",
3061
+ "appName": "Agent Assistant",
3060
3062
  "children": [
3061
3063
  {
3062
- "type": "stack",
3063
- "direction": "vertical",
3064
+ "gap": "lg",
3064
3065
  "children": [
3065
3066
  {
3067
+ "gap": "sm",
3066
3068
  "type": "stack",
3067
3069
  "direction": "horizontal",
3068
- "align": "center",
3069
- "gap": "sm",
3070
3070
  "children": [
3071
3071
  {
3072
3072
  "name": "alert-triangle",
3073
3073
  "type": "icon"
3074
3074
  },
3075
3075
  {
3076
- "content": "Token Usage",
3077
3076
  "type": "typography",
3077
+ "content": "Token Usage",
3078
3078
  "variant": "h2"
3079
3079
  },
3080
3080
  {
3081
3081
  "variant": "warning",
3082
- "type": "badge",
3083
- "label": "Warning"
3082
+ "label": "Warning",
3083
+ "type": "badge"
3084
3084
  }
3085
- ]
3085
+ ],
3086
+ "align": "center"
3086
3087
  },
3087
3088
  {
3088
3089
  "type": "divider"
3089
3090
  },
3090
3091
  {
3091
3092
  "type": "alert",
3092
- "variant": "warning",
3093
- "message": "Token usage approaching limit. Consider compacting."
3093
+ "message": "Token usage approaching limit. Consider compacting.",
3094
+ "variant": "warning"
3094
3095
  },
3095
3096
  {
3096
- "max": "@entity.max",
3097
3097
  "value": "@entity.current",
3098
+ "max": "@entity.max",
3098
3099
  "type": "progress-bar"
3099
3100
  },
3100
3101
  {
3102
+ "direction": "horizontal",
3103
+ "gap": "md",
3104
+ "type": "stack",
3101
3105
  "children": [
3102
3106
  {
3103
- "value": "@entity.current",
3104
3107
  "type": "stat-display",
3105
- "label": "Tokens Used"
3108
+ "label": "Tokens Used",
3109
+ "value": "@entity.current"
3106
3110
  },
3107
3111
  {
3112
+ "value": "@entity.max",
3108
3113
  "type": "stat-display",
3109
- "label": "Max Tokens",
3110
- "value": "@entity.max"
3114
+ "label": "Max Tokens"
3111
3115
  }
3112
- ],
3113
- "gap": "md",
3114
- "type": "stack",
3115
- "direction": "horizontal"
3116
+ ]
3116
3117
  },
3117
3118
  {
3118
- "direction": "horizontal",
3119
3119
  "gap": "sm",
3120
- "type": "stack",
3121
3120
  "children": [
3122
3121
  {
3123
3122
  "type": "button",
@@ -3127,35 +3126,36 @@
3127
3126
  "label": "Compact"
3128
3127
  },
3129
3128
  {
3130
- "variant": "ghost",
3131
- "label": "Reset",
3132
- "type": "button",
3133
3129
  "action": "RESET",
3134
- "icon": "rotate-ccw"
3130
+ "icon": "rotate-ccw",
3131
+ "label": "Reset",
3132
+ "variant": "ghost",
3133
+ "type": "button"
3135
3134
  }
3136
- ]
3135
+ ],
3136
+ "type": "stack",
3137
+ "direction": "horizontal"
3137
3138
  }
3138
3139
  ],
3139
- "gap": "lg"
3140
+ "type": "stack",
3141
+ "direction": "vertical"
3140
3142
  }
3141
3143
  ],
3142
- "type": "dashboard-layout",
3143
- "appName": "Agent Assistant",
3144
3144
  "navItems": [
3145
3145
  {
3146
3146
  "href": "/chat",
3147
- "label": "Chat",
3148
- "icon": "message-circle"
3147
+ "icon": "message-circle",
3148
+ "label": "Chat"
3149
3149
  },
3150
3150
  {
3151
3151
  "label": "Memory",
3152
- "icon": "brain",
3153
- "href": "/memory"
3152
+ "href": "/memory",
3153
+ "icon": "brain"
3154
3154
  },
3155
3155
  {
3156
+ "icon": "settings",
3156
3157
  "href": "/settings",
3157
- "label": "Settings",
3158
- "icon": "settings"
3158
+ "label": "Settings"
3159
3159
  }
3160
3160
  ]
3161
3161
  }
@@ -3185,107 +3185,107 @@
3185
3185
  "render-ui",
3186
3186
  "main",
3187
3187
  {
3188
- "type": "dashboard-layout",
3189
3188
  "navItems": [
3190
3189
  {
3191
- "href": "/chat",
3192
3190
  "label": "Chat",
3191
+ "href": "/chat",
3193
3192
  "icon": "message-circle"
3194
3193
  },
3195
3194
  {
3196
- "label": "Memory",
3197
3195
  "href": "/memory",
3196
+ "label": "Memory",
3198
3197
  "icon": "brain"
3199
3198
  },
3200
3199
  {
3201
3200
  "label": "Settings",
3202
- "href": "/settings",
3203
- "icon": "settings"
3201
+ "icon": "settings",
3202
+ "href": "/settings"
3204
3203
  }
3205
3204
  ],
3206
- "appName": "Agent Assistant",
3205
+ "type": "dashboard-layout",
3207
3206
  "children": [
3208
3207
  {
3209
3208
  "gap": "lg",
3210
- "type": "stack",
3209
+ "direction": "vertical",
3211
3210
  "children": [
3212
3211
  {
3212
+ "align": "center",
3213
+ "type": "stack",
3214
+ "gap": "sm",
3215
+ "direction": "horizontal",
3213
3216
  "children": [
3214
3217
  {
3215
3218
  "type": "icon",
3216
3219
  "name": "alert-octagon"
3217
3220
  },
3218
3221
  {
3222
+ "content": "Token Usage",
3219
3223
  "variant": "h2",
3220
- "type": "typography",
3221
- "content": "Token Usage"
3224
+ "type": "typography"
3222
3225
  },
3223
3226
  {
3224
3227
  "variant": "danger",
3225
- "label": "Critical",
3226
- "type": "badge"
3228
+ "type": "badge",
3229
+ "label": "Critical"
3227
3230
  }
3228
- ],
3229
- "align": "center",
3230
- "type": "stack",
3231
- "gap": "sm",
3232
- "direction": "horizontal"
3231
+ ]
3233
3232
  },
3234
3233
  {
3235
3234
  "type": "divider"
3236
3235
  },
3237
3236
  {
3238
- "type": "alert",
3239
3237
  "variant": "error",
3240
- "message": "Token usage critical. Compact immediately to avoid truncation."
3238
+ "message": "Token usage critical. Compact immediately to avoid truncation.",
3239
+ "type": "alert"
3241
3240
  },
3242
3241
  {
3243
- "value": "@entity.current",
3242
+ "type": "progress-bar",
3244
3243
  "max": "@entity.max",
3245
- "type": "progress-bar"
3244
+ "value": "@entity.current"
3246
3245
  },
3247
3246
  {
3248
- "gap": "md",
3249
3247
  "type": "stack",
3250
- "direction": "horizontal",
3251
3248
  "children": [
3252
3249
  {
3250
+ "value": "@entity.current",
3253
3251
  "type": "stat-display",
3254
- "label": "Tokens Used",
3255
- "value": "@entity.current"
3252
+ "label": "Tokens Used"
3256
3253
  },
3257
3254
  {
3255
+ "label": "Max Tokens",
3258
3256
  "value": "@entity.max",
3259
- "type": "stat-display",
3260
- "label": "Max Tokens"
3257
+ "type": "stat-display"
3261
3258
  }
3262
- ]
3259
+ ],
3260
+ "direction": "horizontal",
3261
+ "gap": "md"
3263
3262
  },
3264
3263
  {
3265
- "direction": "horizontal",
3266
- "gap": "sm",
3267
- "type": "stack",
3268
3264
  "children": [
3269
3265
  {
3270
- "action": "COMPACT",
3271
3266
  "label": "Compact Now",
3272
- "variant": "primary",
3267
+ "action": "COMPACT",
3273
3268
  "icon": "minimize-2",
3274
- "type": "button"
3269
+ "type": "button",
3270
+ "variant": "primary"
3275
3271
  },
3276
3272
  {
3277
- "label": "Reset",
3273
+ "type": "button",
3274
+ "action": "RESET",
3278
3275
  "variant": "ghost",
3279
3276
  "icon": "rotate-ccw",
3280
- "action": "RESET",
3281
- "type": "button"
3277
+ "label": "Reset"
3282
3278
  }
3283
- ]
3279
+ ],
3280
+ "direction": "horizontal",
3281
+ "type": "stack",
3282
+ "gap": "sm"
3284
3283
  }
3285
3284
  ],
3286
- "direction": "vertical"
3285
+ "type": "stack"
3287
3286
  }
3288
- ]
3287
+ ],
3288
+ "appName": "Agent Assistant"
3289
3289
  }
3290
3290
  ]
3291
3291
  ]
@@ -3313,18 +3313,32 @@
3313
3313
  "render-ui",
3314
3314
  "main",
3315
3315
  {
3316
- "appName": "Agent Assistant",
3317
3316
  "type": "dashboard-layout",
3317
+ "navItems": [
3318
+ {
3319
+ "href": "/chat",
3320
+ "icon": "message-circle",
3321
+ "label": "Chat"
3322
+ },
3323
+ {
3324
+ "label": "Memory",
3325
+ "href": "/memory",
3326
+ "icon": "brain"
3327
+ },
3328
+ {
3329
+ "href": "/settings",
3330
+ "label": "Settings",
3331
+ "icon": "settings"
3332
+ }
3333
+ ],
3318
3334
  "children": [
3319
3335
  {
3320
- "gap": "lg",
3321
3336
  "type": "stack",
3337
+ "gap": "lg",
3322
3338
  "direction": "vertical",
3323
3339
  "children": [
3324
3340
  {
3325
3341
  "type": "stack",
3326
- "gap": "sm",
3327
- "align": "center",
3328
3342
  "direction": "horizontal",
3329
3343
  "children": [
3330
3344
  {
@@ -3332,16 +3346,18 @@
3332
3346
  "name": "gauge"
3333
3347
  },
3334
3348
  {
3335
- "type": "typography",
3336
3349
  "content": "Token Usage",
3350
+ "type": "typography",
3337
3351
  "variant": "h2"
3338
3352
  },
3339
3353
  {
3340
3354
  "label": "Normal",
3341
- "type": "badge",
3342
- "variant": "default"
3355
+ "variant": "default",
3356
+ "type": "badge"
3343
3357
  }
3344
- ]
3358
+ ],
3359
+ "align": "center",
3360
+ "gap": "sm"
3345
3361
  },
3346
3362
  {
3347
3363
  "type": "divider"
@@ -3352,6 +3368,7 @@
3352
3368
  "value": "@entity.current"
3353
3369
  },
3354
3370
  {
3371
+ "direction": "horizontal",
3355
3372
  "children": [
3356
3373
  {
3357
3374
  "type": "stat-display",
@@ -3359,42 +3376,25 @@
3359
3376
  "value": "@entity.current"
3360
3377
  },
3361
3378
  {
3362
- "label": "Max Tokens",
3363
3379
  "type": "stat-display",
3380
+ "label": "Max Tokens",
3364
3381
  "value": "@entity.max"
3365
3382
  }
3366
3383
  ],
3367
3384
  "type": "stack",
3368
- "direction": "horizontal",
3369
3385
  "gap": "md"
3370
3386
  },
3371
3387
  {
3372
- "action": "RESET",
3373
- "icon": "rotate-ccw",
3374
- "label": "Reset",
3375
3388
  "variant": "ghost",
3376
- "type": "button"
3389
+ "label": "Reset",
3390
+ "type": "button",
3391
+ "icon": "rotate-ccw",
3392
+ "action": "RESET"
3377
3393
  }
3378
3394
  ]
3379
3395
  }
3380
3396
  ],
3381
- "navItems": [
3382
- {
3383
- "icon": "message-circle",
3384
- "label": "Chat",
3385
- "href": "/chat"
3386
- },
3387
- {
3388
- "label": "Memory",
3389
- "icon": "brain",
3390
- "href": "/memory"
3391
- },
3392
- {
3393
- "label": "Settings",
3394
- "icon": "settings",
3395
- "href": "/settings"
3396
- }
3397
- ]
3397
+ "appName": "Agent Assistant"
3398
3398
  }
3399
3399
  ]
3400
3400
  ]
@@ -3423,14 +3423,14 @@
3423
3423
  "appName": "Agent Assistant",
3424
3424
  "navItems": [
3425
3425
  {
3426
+ "icon": "message-circle",
3426
3427
  "href": "/chat",
3427
- "label": "Chat",
3428
- "icon": "message-circle"
3428
+ "label": "Chat"
3429
3429
  },
3430
3430
  {
3431
3431
  "icon": "brain",
3432
- "href": "/memory",
3433
- "label": "Memory"
3432
+ "label": "Memory",
3433
+ "href": "/memory"
3434
3434
  },
3435
3435
  {
3436
3436
  "label": "Settings",
@@ -3440,65 +3440,65 @@
3440
3440
  ],
3441
3441
  "children": [
3442
3442
  {
3443
- "type": "stack",
3444
3443
  "gap": "lg",
3445
- "direction": "vertical",
3446
3444
  "children": [
3447
3445
  {
3448
3446
  "children": [
3449
3447
  {
3450
- "type": "icon",
3451
- "name": "gauge"
3448
+ "name": "gauge",
3449
+ "type": "icon"
3452
3450
  },
3453
3451
  {
3454
- "content": "Token Usage",
3452
+ "type": "typography",
3455
3453
  "variant": "h2",
3456
- "type": "typography"
3454
+ "content": "Token Usage"
3457
3455
  },
3458
3456
  {
3459
3457
  "type": "badge",
3460
- "label": "Normal",
3461
- "variant": "default"
3458
+ "variant": "default",
3459
+ "label": "Normal"
3462
3460
  }
3463
3461
  ],
3464
3462
  "gap": "sm",
3465
- "type": "stack",
3463
+ "align": "center",
3466
3464
  "direction": "horizontal",
3467
- "align": "center"
3465
+ "type": "stack"
3468
3466
  },
3469
3467
  {
3470
3468
  "type": "divider"
3471
3469
  },
3472
3470
  {
3473
- "max": "@entity.max",
3474
3471
  "type": "progress-bar",
3475
- "value": "@entity.current"
3472
+ "value": "@entity.current",
3473
+ "max": "@entity.max"
3476
3474
  },
3477
3475
  {
3478
3476
  "direction": "horizontal",
3479
3477
  "children": [
3480
3478
  {
3479
+ "value": "@entity.current",
3481
3480
  "type": "stat-display",
3482
- "label": "Tokens Used",
3483
- "value": "@entity.current"
3481
+ "label": "Tokens Used"
3484
3482
  },
3485
3483
  {
3486
3484
  "value": "@entity.max",
3487
- "type": "stat-display",
3488
- "label": "Max Tokens"
3485
+ "label": "Max Tokens",
3486
+ "type": "stat-display"
3489
3487
  }
3490
3488
  ],
3491
- "type": "stack",
3492
- "gap": "md"
3489
+ "gap": "md",
3490
+ "type": "stack"
3493
3491
  },
3494
3492
  {
3495
- "action": "RESET",
3496
- "label": "Reset",
3497
- "variant": "ghost",
3498
3493
  "icon": "rotate-ccw",
3499
- "type": "button"
3494
+ "label": "Reset",
3495
+ "action": "RESET",
3496
+ "type": "button",
3497
+ "variant": "ghost"
3500
3498
  }
3501
- ]
3499
+ ],
3500
+ "type": "stack",
3501
+ "direction": "vertical"
3502
3502
  }
3503
3503
  ]
3504
3504
  }
@@ -3523,27 +3523,26 @@
3523
3523
  "children": [
3524
3524
  {
3525
3525
  "direction": "vertical",
3526
- "gap": "lg",
3527
3526
  "children": [
3528
3527
  {
3529
3528
  "gap": "sm",
3530
- "align": "center",
3531
3529
  "type": "stack",
3532
3530
  "direction": "horizontal",
3531
+ "align": "center",
3533
3532
  "children": [
3534
3533
  {
3535
- "name": "gauge",
3536
- "type": "icon"
3534
+ "type": "icon",
3535
+ "name": "gauge"
3537
3536
  },
3538
3537
  {
3539
- "type": "typography",
3540
3538
  "content": "Token Usage",
3539
+ "type": "typography",
3541
3540
  "variant": "h2"
3542
3541
  },
3543
3542
  {
3543
+ "label": "Normal",
3544
3544
  "type": "badge",
3545
- "variant": "default",
3546
- "label": "Normal"
3545
+ "variant": "default"
3547
3546
  }
3548
3547
  ]
3549
3548
  },
@@ -3551,47 +3550,48 @@
3551
3550
  "type": "divider"
3552
3551
  },
3553
3552
  {
3553
+ "value": "@entity.current",
3554
3554
  "max": "@entity.max",
3555
- "type": "progress-bar",
3556
- "value": "@entity.current"
3555
+ "type": "progress-bar"
3557
3556
  },
3558
3557
  {
3559
- "type": "stack",
3560
- "direction": "horizontal",
3561
3558
  "gap": "md",
3559
+ "type": "stack",
3562
3560
  "children": [
3563
3561
  {
3564
- "label": "Tokens Used",
3565
3562
  "type": "stat-display",
3563
+ "label": "Tokens Used",
3566
3564
  "value": "@entity.current"
3567
3565
  },
3568
3566
  {
3569
- "value": "@entity.max",
3570
3567
  "label": "Max Tokens",
3568
+ "value": "@entity.max",
3571
3569
  "type": "stat-display"
3572
3570
  }
3573
- ]
3571
+ ],
3572
+ "direction": "horizontal"
3574
3573
  },
3575
3574
  {
3576
3575
  "action": "RESET",
3577
- "variant": "ghost",
3578
3576
  "type": "button",
3577
+ "label": "Reset",
3579
3578
  "icon": "rotate-ccw",
3580
- "label": "Reset"
3579
+ "variant": "ghost"
3581
3580
  }
3582
3581
  ],
3583
- "type": "stack"
3582
+ "type": "stack",
3583
+ "gap": "lg"
3584
3584
  }
3585
3585
  ],
3586
3586
  "navItems": [
3587
3587
  {
3588
- "icon": "message-circle",
3589
3588
  "href": "/chat",
3589
+ "icon": "message-circle",
3590
3590
  "label": "Chat"
3591
3591
  },
3592
3592
  {
3593
- "href": "/memory",
3594
3593
  "icon": "brain",
3594
+ "href": "/memory",
3595
3595
  "label": "Memory"
3596
3596
  },
3597
3597
  {
@@ -3628,33 +3628,34 @@
3628
3628
  "render-ui",
3629
3629
  "main",
3630
3630
  {
3631
+ "type": "dashboard-layout",
3632
+ "appName": "Agent Assistant",
3631
3633
  "navItems": [
3632
3634
  {
3633
- "href": "/chat",
3635
+ "icon": "message-circle",
3634
3636
  "label": "Chat",
3635
- "icon": "message-circle"
3637
+ "href": "/chat"
3636
3638
  },
3637
3639
  {
3638
3640
  "label": "Memory",
3639
- "href": "/memory",
3640
- "icon": "brain"
3641
+ "icon": "brain",
3642
+ "href": "/memory"
3641
3643
  },
3642
3644
  {
3643
- "label": "Settings",
3645
+ "href": "/settings",
3644
3646
  "icon": "settings",
3645
- "href": "/settings"
3647
+ "label": "Settings"
3646
3648
  }
3647
3649
  ],
3648
- "type": "dashboard-layout",
3649
- "appName": "Agent Assistant",
3650
3650
  "children": [
3651
3651
  {
3652
3652
  "direction": "vertical",
3653
+ "gap": "lg",
3654
+ "type": "stack",
3653
3655
  "children": [
3654
3656
  {
3657
+ "align": "center",
3655
3658
  "gap": "sm",
3656
- "type": "stack",
3657
- "direction": "horizontal",
3658
3659
  "children": [
3659
3660
  {
3660
3661
  "type": "icon",
@@ -3662,24 +3663,25 @@
3662
3663
  },
3663
3664
  {
3664
3665
  "content": "Token Usage",
3665
- "variant": "h2",
3666
- "type": "typography"
3666
+ "type": "typography",
3667
+ "variant": "h2"
3667
3668
  },
3668
3669
  {
3669
- "label": "Critical",
3670
+ "variant": "danger",
3670
3671
  "type": "badge",
3671
- "variant": "danger"
3672
+ "label": "Critical"
3672
3673
  }
3673
3674
  ],
3674
- "align": "center"
3675
+ "direction": "horizontal",
3676
+ "type": "stack"
3675
3677
  },
3676
3678
  {
3677
3679
  "type": "divider"
3678
3680
  },
3679
3681
  {
3680
3682
  "type": "alert",
3681
- "message": "Token usage critical. Compact immediately to avoid truncation.",
3682
- "variant": "error"
3683
+ "variant": "error",
3684
+ "message": "Token usage critical. Compact immediately to avoid truncation."
3683
3685
  },
3684
3686
  {
3685
3687
  "max": "@entity.max",
@@ -3687,46 +3689,44 @@
3687
3689
  "type": "progress-bar"
3688
3690
  },
3689
3691
  {
3690
- "direction": "horizontal",
3691
3692
  "type": "stack",
3693
+ "gap": "md",
3694
+ "direction": "horizontal",
3692
3695
  "children": [
3693
3696
  {
3694
- "label": "Tokens Used",
3695
3697
  "type": "stat-display",
3696
- "value": "@entity.current"
3698
+ "value": "@entity.current",
3699
+ "label": "Tokens Used"
3697
3700
  },
3698
3701
  {
3699
3702
  "value": "@entity.max",
3700
3703
  "type": "stat-display",
3701
3704
  "label": "Max Tokens"
3702
3705
  }
3703
- ],
3704
- "gap": "md"
3706
+ ]
3705
3707
  },
3706
3708
  {
3707
- "type": "stack",
3708
- "direction": "horizontal",
3709
+ "gap": "sm",
3709
3710
  "children": [
3710
3711
  {
3711
3712
  "type": "button",
3712
3713
  "action": "COMPACT",
3713
3714
  "label": "Compact Now",
3714
- "variant": "primary",
3715
- "icon": "minimize-2"
3715
+ "icon": "minimize-2",
3716
+ "variant": "primary"
3716
3717
  },
3717
3718
  {
3718
3719
  "action": "RESET",
3719
- "icon": "rotate-ccw",
3720
3720
  "type": "button",
3721
+ "label": "Reset",
3721
3722
  "variant": "ghost",
3722
- "label": "Reset"
3723
+ "icon": "rotate-ccw"
3723
3724
  }
3724
3725
  ],
3725
- "gap": "sm"
3726
+ "direction": "horizontal",
3727
+ "type": "stack"
3726
3728
  }
3727
- ],
3728
- "gap": "lg",
3729
- "type": "stack"
3729
+ ]
3730
3730
  }
3731
3731
  ]
3732
3732
  }
@@ -3768,11 +3768,29 @@
3768
3768
  "render-ui",
3769
3769
  "main",
3770
3770
  {
3771
+ "type": "dashboard-layout",
3771
3772
  "appName": "Agent Assistant",
3773
+ "navItems": [
3774
+ {
3775
+ "href": "/chat",
3776
+ "label": "Chat",
3777
+ "icon": "message-circle"
3778
+ },
3779
+ {
3780
+ "label": "Memory",
3781
+ "href": "/memory",
3782
+ "icon": "brain"
3783
+ },
3784
+ {
3785
+ "label": "Settings",
3786
+ "href": "/settings",
3787
+ "icon": "settings"
3788
+ }
3789
+ ],
3772
3790
  "children": [
3773
3791
  {
3774
- "direction": "vertical",
3775
3792
  "type": "stack",
3793
+ "gap": "lg",
3776
3794
  "children": [
3777
3795
  {
3778
3796
  "direction": "horizontal",
@@ -3785,14 +3803,14 @@
3785
3803
  "name": "alert-triangle"
3786
3804
  },
3787
3805
  {
3788
- "variant": "h2",
3789
3806
  "type": "typography",
3790
- "content": "Token Usage"
3807
+ "content": "Token Usage",
3808
+ "variant": "h2"
3791
3809
  },
3792
3810
  {
3793
- "type": "badge",
3794
3811
  "label": "Warning",
3795
- "variant": "warning"
3812
+ "variant": "warning",
3813
+ "type": "badge"
3796
3814
  }
3797
3815
  ]
3798
3816
  },
@@ -3805,70 +3823,52 @@
3805
3823
  "variant": "warning"
3806
3824
  },
3807
3825
  {
3826
+ "type": "progress-bar",
3808
3827
  "value": "@entity.current",
3809
- "max": "@entity.max",
3810
- "type": "progress-bar"
3828
+ "max": "@entity.max"
3811
3829
  },
3812
3830
  {
3813
- "gap": "md",
3814
3831
  "type": "stack",
3832
+ "gap": "md",
3815
3833
  "direction": "horizontal",
3816
3834
  "children": [
3817
3835
  {
3818
- "value": "@entity.current",
3819
3836
  "type": "stat-display",
3820
- "label": "Tokens Used"
3837
+ "label": "Tokens Used",
3838
+ "value": "@entity.current"
3821
3839
  },
3822
3840
  {
3823
- "label": "Max Tokens",
3824
3841
  "type": "stat-display",
3825
- "value": "@entity.max"
3842
+ "value": "@entity.max",
3843
+ "label": "Max Tokens"
3826
3844
  }
3827
3845
  ]
3828
3846
  },
3829
3847
  {
3848
+ "gap": "sm",
3849
+ "type": "stack",
3850
+ "direction": "horizontal",
3830
3851
  "children": [
3831
3852
  {
3832
- "variant": "primary",
3833
- "type": "button",
3834
- "icon": "minimize-2",
3835
3853
  "action": "COMPACT",
3836
- "label": "Compact"
3854
+ "label": "Compact",
3855
+ "type": "button",
3856
+ "variant": "primary",
3857
+ "icon": "minimize-2"
3837
3858
  },
3838
3859
  {
3839
- "icon": "rotate-ccw",
3840
- "type": "button",
3860
+ "label": "Reset",
3841
3861
  "action": "RESET",
3842
3862
  "variant": "ghost",
3843
- "label": "Reset"
3863
+ "icon": "rotate-ccw",
3864
+ "type": "button"
3844
3865
  }
3845
- ],
3846
- "direction": "horizontal",
3847
- "gap": "sm",
3848
- "type": "stack"
3866
+ ]
3849
3867
  }
3850
3868
  ],
3851
- "gap": "lg"
3852
- }
3853
- ],
3854
- "navItems": [
3855
- {
3856
- "label": "Chat",
3857
- "href": "/chat",
3858
- "icon": "message-circle"
3859
- },
3860
- {
3861
- "label": "Memory",
3862
- "href": "/memory",
3863
- "icon": "brain"
3864
- },
3865
- {
3866
- "label": "Settings",
3867
- "href": "/settings",
3868
- "icon": "settings"
3869
+ "direction": "vertical"
3869
3870
  }
3870
- ],
3871
- "type": "dashboard-layout"
3871
+ ]
3872
3872
  }
3873
3873
  ]
3874
3874
  ]
@@ -3897,41 +3897,61 @@
3897
3897
  "main",
3898
3898
  {
3899
3899
  "type": "dashboard-layout",
3900
+ "navItems": [
3901
+ {
3902
+ "icon": "message-circle",
3903
+ "label": "Chat",
3904
+ "href": "/chat"
3905
+ },
3906
+ {
3907
+ "label": "Memory",
3908
+ "icon": "brain",
3909
+ "href": "/memory"
3910
+ },
3911
+ {
3912
+ "label": "Settings",
3913
+ "href": "/settings",
3914
+ "icon": "settings"
3915
+ }
3916
+ ],
3900
3917
  "appName": "Agent Assistant",
3901
3918
  "children": [
3902
3919
  {
3903
3920
  "children": [
3904
3921
  {
3922
+ "gap": "sm",
3905
3923
  "type": "stack",
3906
3924
  "align": "center",
3907
- "gap": "sm",
3925
+ "direction": "horizontal",
3908
3926
  "children": [
3909
3927
  {
3910
- "type": "icon",
3911
- "name": "gauge"
3928
+ "name": "gauge",
3929
+ "type": "icon"
3912
3930
  },
3913
3931
  {
3914
- "variant": "h2",
3915
3932
  "content": "Token Usage",
3933
+ "variant": "h2",
3916
3934
  "type": "typography"
3917
3935
  },
3918
3936
  {
3919
- "type": "badge",
3920
3937
  "label": "Normal",
3938
+ "type": "badge",
3921
3939
  "variant": "default"
3922
3940
  }
3923
- ],
3924
- "direction": "horizontal"
3941
+ ]
3925
3942
  },
3926
3943
  {
3927
3944
  "type": "divider"
3928
3945
  },
3929
3946
  {
3930
- "max": "@entity.max",
3947
+ "type": "progress-bar",
3931
3948
  "value": "@entity.current",
3932
- "type": "progress-bar"
3949
+ "max": "@entity.max"
3933
3950
  },
3934
3951
  {
3952
+ "direction": "horizontal",
3953
+ "gap": "md",
3954
+ "type": "stack",
3935
3955
  "children": [
3936
3956
  {
3937
3957
  "label": "Tokens Used",
@@ -3939,43 +3959,23 @@
3939
3959
  "value": "@entity.current"
3940
3960
  },
3941
3961
  {
3942
- "label": "Max Tokens",
3943
- "value": "@entity.max",
3944
- "type": "stat-display"
3945
- }
3946
- ],
3947
- "direction": "horizontal",
3948
- "type": "stack",
3949
- "gap": "md"
3950
- },
3951
- {
3952
- "icon": "rotate-ccw",
3953
- "type": "button",
3954
- "action": "RESET",
3955
- "label": "Reset",
3956
- "variant": "ghost"
3957
- }
3958
- ],
3959
- "direction": "vertical",
3960
- "gap": "lg",
3961
- "type": "stack"
3962
- }
3963
- ],
3964
- "navItems": [
3965
- {
3966
- "label": "Chat",
3967
- "href": "/chat",
3968
- "icon": "message-circle"
3969
- },
3970
- {
3971
- "href": "/memory",
3972
- "icon": "brain",
3973
- "label": "Memory"
3974
- },
3975
- {
3976
- "icon": "settings",
3977
- "label": "Settings",
3978
- "href": "/settings"
3962
+ "label": "Max Tokens",
3963
+ "value": "@entity.max",
3964
+ "type": "stat-display"
3965
+ }
3966
+ ]
3967
+ },
3968
+ {
3969
+ "label": "Reset",
3970
+ "variant": "ghost",
3971
+ "icon": "rotate-ccw",
3972
+ "type": "button",
3973
+ "action": "RESET"
3974
+ }
3975
+ ],
3976
+ "direction": "vertical",
3977
+ "type": "stack",
3978
+ "gap": "lg"
3979
3979
  }
3980
3980
  ]
3981
3981
  }
@@ -4002,49 +4002,63 @@
4002
4002
  "render-ui",
4003
4003
  "main",
4004
4004
  {
4005
- "type": "dashboard-layout",
4005
+ "appName": "Agent Assistant",
4006
+ "navItems": [
4007
+ {
4008
+ "href": "/chat",
4009
+ "label": "Chat",
4010
+ "icon": "message-circle"
4011
+ },
4012
+ {
4013
+ "icon": "brain",
4014
+ "label": "Memory",
4015
+ "href": "/memory"
4016
+ },
4017
+ {
4018
+ "href": "/settings",
4019
+ "icon": "settings",
4020
+ "label": "Settings"
4021
+ }
4022
+ ],
4006
4023
  "children": [
4007
4024
  {
4008
- "gap": "lg",
4009
- "type": "stack",
4010
- "direction": "vertical",
4011
4025
  "children": [
4012
4026
  {
4013
4027
  "gap": "sm",
4028
+ "align": "center",
4014
4029
  "direction": "horizontal",
4030
+ "type": "stack",
4015
4031
  "children": [
4016
4032
  {
4017
4033
  "name": "gauge",
4018
4034
  "type": "icon"
4019
4035
  },
4020
4036
  {
4037
+ "type": "typography",
4021
4038
  "content": "Token Usage",
4022
- "variant": "h2",
4023
- "type": "typography"
4039
+ "variant": "h2"
4024
4040
  },
4025
4041
  {
4042
+ "type": "badge",
4026
4043
  "label": "Normal",
4027
- "variant": "default",
4028
- "type": "badge"
4044
+ "variant": "default"
4029
4045
  }
4030
- ],
4031
- "align": "center",
4032
- "type": "stack"
4046
+ ]
4033
4047
  },
4034
4048
  {
4035
4049
  "type": "divider"
4036
4050
  },
4037
4051
  {
4038
- "type": "progress-bar",
4039
4052
  "value": "@entity.current",
4040
- "max": "@entity.max"
4053
+ "max": "@entity.max",
4054
+ "type": "progress-bar"
4041
4055
  },
4042
4056
  {
4043
4057
  "children": [
4044
4058
  {
4045
4059
  "label": "Tokens Used",
4046
- "type": "stat-display",
4047
- "value": "@entity.current"
4060
+ "value": "@entity.current",
4061
+ "type": "stat-display"
4048
4062
  },
4049
4063
  {
4050
4064
  "label": "Max Tokens",
@@ -4052,38 +4066,24 @@
4052
4066
  "type": "stat-display"
4053
4067
  }
4054
4068
  ],
4069
+ "type": "stack",
4055
4070
  "direction": "horizontal",
4056
- "gap": "md",
4057
- "type": "stack"
4071
+ "gap": "md"
4058
4072
  },
4059
4073
  {
4060
- "variant": "ghost",
4074
+ "type": "button",
4061
4075
  "label": "Reset",
4062
- "icon": "rotate-ccw",
4063
4076
  "action": "RESET",
4064
- "type": "button"
4077
+ "variant": "ghost",
4078
+ "icon": "rotate-ccw"
4065
4079
  }
4066
- ]
4080
+ ],
4081
+ "gap": "lg",
4082
+ "direction": "vertical",
4083
+ "type": "stack"
4067
4084
  }
4068
4085
  ],
4069
- "appName": "Agent Assistant",
4070
- "navItems": [
4071
- {
4072
- "href": "/chat",
4073
- "icon": "message-circle",
4074
- "label": "Chat"
4075
- },
4076
- {
4077
- "icon": "brain",
4078
- "label": "Memory",
4079
- "href": "/memory"
4080
- },
4081
- {
4082
- "label": "Settings",
4083
- "icon": "settings",
4084
- "href": "/settings"
4085
- }
4086
- ]
4086
+ "type": "dashboard-layout"
4087
4087
  }
4088
4088
  ]
4089
4089
  ]
@@ -4105,24 +4105,25 @@
4105
4105
  "type": "dashboard-layout",
4106
4106
  "navItems": [
4107
4107
  {
4108
- "href": "/chat",
4108
+ "label": "Chat",
4109
4109
  "icon": "message-circle",
4110
- "label": "Chat"
4110
+ "href": "/chat"
4111
4111
  },
4112
4112
  {
4113
- "icon": "brain",
4114
4113
  "label": "Memory",
4115
- "href": "/memory"
4114
+ "href": "/memory",
4115
+ "icon": "brain"
4116
4116
  },
4117
4117
  {
4118
- "icon": "settings",
4118
+ "href": "/settings",
4119
4119
  "label": "Settings",
4120
- "href": "/settings"
4120
+ "icon": "settings"
4121
4121
  }
4122
4122
  ],
4123
+ "appName": "Agent Assistant",
4123
4124
  "children": [
4124
4125
  {
4125
- "gap": "lg",
4126
+ "type": "stack",
4126
4127
  "direction": "vertical",
4127
4128
  "children": [
4128
4129
  {
@@ -4136,14 +4137,14 @@
4136
4137
  "name": "gauge"
4137
4138
  },
4138
4139
  {
4139
- "variant": "h2",
4140
+ "content": "Token Usage",
4140
4141
  "type": "typography",
4141
- "content": "Token Usage"
4142
+ "variant": "h2"
4142
4143
  },
4143
4144
  {
4144
- "variant": "default",
4145
+ "label": "Normal",
4145
4146
  "type": "badge",
4146
- "label": "Normal"
4147
+ "variant": "default"
4147
4148
  }
4148
4149
  ]
4149
4150
  },
@@ -4151,11 +4152,14 @@
4151
4152
  "type": "divider"
4152
4153
  },
4153
4154
  {
4154
- "type": "progress-bar",
4155
+ "value": "@entity.current",
4155
4156
  "max": "@entity.max",
4156
- "value": "@entity.current"
4157
+ "type": "progress-bar"
4157
4158
  },
4158
4159
  {
4160
+ "gap": "md",
4161
+ "direction": "horizontal",
4162
+ "type": "stack",
4159
4163
  "children": [
4160
4164
  {
4161
4165
  "value": "@entity.current",
@@ -4163,27 +4167,23 @@
4163
4167
  "label": "Tokens Used"
4164
4168
  },
4165
4169
  {
4166
- "value": "@entity.max",
4170
+ "type": "stat-display",
4167
4171
  "label": "Max Tokens",
4168
- "type": "stat-display"
4172
+ "value": "@entity.max"
4169
4173
  }
4170
- ],
4171
- "direction": "horizontal",
4172
- "gap": "md",
4173
- "type": "stack"
4174
+ ]
4174
4175
  },
4175
4176
  {
4176
- "label": "Reset",
4177
- "variant": "ghost",
4178
4177
  "type": "button",
4179
4178
  "action": "RESET",
4179
+ "label": "Reset",
4180
+ "variant": "ghost",
4180
4181
  "icon": "rotate-ccw"
4181
4182
  }
4182
4183
  ],
4183
- "type": "stack"
4184
+ "gap": "lg"
4184
4185
  }
4185
- ],
4186
- "appName": "Agent Assistant"
4186
+ ]
4187
4187
  }
4188
4188
  ]
4189
4189
  ]
@@ -4293,8 +4293,8 @@
4293
4293
  "AssistantContext",
4294
4294
  {
4295
4295
  "emit": {
4296
- "success": "AssistantContextLoaded",
4297
- "failure": "AssistantContextLoadFailed"
4296
+ "failure": "AssistantContextLoadFailed",
4297
+ "success": "AssistantContextLoaded"
4298
4298
  }
4299
4299
  }
4300
4300
  ]
@@ -4319,53 +4319,67 @@
4319
4319
  "render-ui",
4320
4320
  "main",
4321
4321
  {
4322
- "type": "dashboard-layout",
4322
+ "navItems": [
4323
+ {
4324
+ "href": "/chat",
4325
+ "icon": "message-circle",
4326
+ "label": "Chat"
4327
+ },
4328
+ {
4329
+ "href": "/memory",
4330
+ "icon": "brain",
4331
+ "label": "Memory"
4332
+ },
4333
+ {
4334
+ "icon": "settings",
4335
+ "label": "Settings",
4336
+ "href": "/settings"
4337
+ }
4338
+ ],
4323
4339
  "appName": "Agent Assistant",
4324
4340
  "children": [
4325
4341
  {
4326
4342
  "gap": "lg",
4327
- "type": "stack",
4328
- "direction": "vertical",
4329
4343
  "children": [
4330
4344
  {
4345
+ "direction": "horizontal",
4331
4346
  "gap": "md",
4347
+ "justify": "between",
4332
4348
  "type": "stack",
4333
- "direction": "horizontal",
4334
4349
  "align": "center",
4335
4350
  "children": [
4336
4351
  {
4337
- "gap": "md",
4338
- "align": "center",
4339
4352
  "children": [
4340
4353
  {
4341
4354
  "type": "icon",
4342
4355
  "name": "layers"
4343
4356
  },
4344
4357
  {
4345
- "type": "typography",
4346
4358
  "content": "Context Window Alert",
4359
+ "type": "typography",
4347
4360
  "variant": "h2"
4348
4361
  }
4349
4362
  ],
4363
+ "align": "center",
4364
+ "gap": "md",
4350
4365
  "type": "stack",
4351
4366
  "direction": "horizontal"
4352
4367
  },
4353
4368
  {
4354
- "label": "Dismiss",
4355
- "variant": "ghost",
4356
4369
  "type": "button",
4370
+ "variant": "ghost",
4371
+ "label": "Dismiss",
4357
4372
  "action": "HIDE",
4358
4373
  "icon": "x"
4359
4374
  }
4360
- ],
4361
- "justify": "between"
4375
+ ]
4362
4376
  },
4363
4377
  {
4364
4378
  "type": "divider"
4365
4379
  },
4366
4380
  {
4367
- "variant": "@entity.notificationType",
4368
4381
  "type": "alert",
4382
+ "variant": "@entity.notificationType",
4369
4383
  "message": "@entity.message"
4370
4384
  },
4371
4385
  {
@@ -4373,29 +4387,15 @@
4373
4387
  },
4374
4388
  {
4375
4389
  "message": "@entity.message",
4376
- "type": "alert",
4377
- "variant": "warning"
4390
+ "variant": "warning",
4391
+ "type": "alert"
4378
4392
  }
4379
- ]
4393
+ ],
4394
+ "direction": "vertical",
4395
+ "type": "stack"
4380
4396
  }
4381
4397
  ],
4382
- "navItems": [
4383
- {
4384
- "href": "/chat",
4385
- "label": "Chat",
4386
- "icon": "message-circle"
4387
- },
4388
- {
4389
- "label": "Memory",
4390
- "href": "/memory",
4391
- "icon": "brain"
4392
- },
4393
- {
4394
- "href": "/settings",
4395
- "label": "Settings",
4396
- "icon": "settings"
4397
- }
4398
- ]
4398
+ "type": "dashboard-layout"
4399
4399
  }
4400
4400
  ]
4401
4401
  ]
@@ -4419,11 +4419,13 @@
4419
4419
  "render-ui",
4420
4420
  "main",
4421
4421
  {
4422
+ "type": "dashboard-layout",
4423
+ "appName": "Agent Assistant",
4422
4424
  "navItems": [
4423
4425
  {
4424
- "label": "Chat",
4426
+ "icon": "message-circle",
4425
4427
  "href": "/chat",
4426
- "icon": "message-circle"
4428
+ "label": "Chat"
4427
4429
  },
4428
4430
  {
4429
4431
  "icon": "brain",
@@ -4431,71 +4433,69 @@
4431
4433
  "href": "/memory"
4432
4434
  },
4433
4435
  {
4434
- "label": "Settings",
4435
4436
  "href": "/settings",
4436
- "icon": "settings"
4437
+ "icon": "settings",
4438
+ "label": "Settings"
4437
4439
  }
4438
4440
  ],
4439
4441
  "children": [
4440
4442
  {
4441
- "gap": "lg",
4442
4443
  "type": "stack",
4443
4444
  "direction": "vertical",
4445
+ "gap": "lg",
4444
4446
  "children": [
4445
4447
  {
4446
- "align": "center",
4447
- "justify": "between",
4448
+ "gap": "md",
4449
+ "direction": "horizontal",
4448
4450
  "type": "stack",
4449
4451
  "children": [
4450
4452
  {
4451
- "align": "center",
4452
4453
  "type": "stack",
4453
4454
  "direction": "horizontal",
4454
- "gap": "md",
4455
4455
  "children": [
4456
4456
  {
4457
- "name": "layers",
4458
- "type": "icon"
4457
+ "type": "icon",
4458
+ "name": "layers"
4459
4459
  },
4460
4460
  {
4461
4461
  "variant": "h2",
4462
4462
  "type": "typography",
4463
4463
  "content": "Context Window Alert"
4464
4464
  }
4465
- ]
4465
+ ],
4466
+ "align": "center",
4467
+ "gap": "md"
4466
4468
  },
4467
4469
  {
4468
- "action": "HIDE",
4470
+ "label": "Dismiss",
4469
4471
  "variant": "ghost",
4470
- "type": "button",
4472
+ "action": "HIDE",
4471
4473
  "icon": "x",
4472
- "label": "Dismiss"
4474
+ "type": "button"
4473
4475
  }
4474
4476
  ],
4475
- "direction": "horizontal",
4476
- "gap": "md"
4477
+ "justify": "between",
4478
+ "align": "center"
4477
4479
  },
4478
4480
  {
4479
4481
  "type": "divider"
4480
4482
  },
4481
4483
  {
4482
- "type": "alert",
4483
4484
  "message": "@entity.message",
4484
- "variant": "@entity.notificationType"
4485
+ "variant": "@entity.notificationType",
4486
+ "type": "alert"
4485
4487
  },
4486
4488
  {
4487
4489
  "type": "toast-slot"
4488
4490
  },
4489
4491
  {
4490
4492
  "variant": "warning",
4491
- "message": "@entity.message",
4492
- "type": "alert"
4493
+ "type": "alert",
4494
+ "message": "@entity.message"
4493
4495
  }
4494
4496
  ]
4495
4497
  }
4496
- ],
4497
- "type": "dashboard-layout",
4498
- "appName": "Agent Assistant"
4498
+ ]
4499
4499
  }
4500
4500
  ]
4501
4501
  ]
@@ -4646,8 +4646,8 @@
4646
4646
  "AssistantContext",
4647
4647
  {
4648
4648
  "emit": {
4649
- "success": "AssistantContextLoaded",
4650
- "failure": "AssistantContextLoadFailed"
4649
+ "failure": "AssistantContextLoadFailed",
4650
+ "success": "AssistantContextLoaded"
4651
4651
  }
4652
4652
  }
4653
4653
  ],
@@ -4661,26 +4661,26 @@
4661
4661
  "render-ui",
4662
4662
  "main",
4663
4663
  {
4664
+ "type": "dashboard-layout",
4665
+ "appName": "Agent Assistant",
4664
4666
  "children": [
4665
4667
  {
4666
- "description": "Context Window is ready",
4667
- "icon": "layers",
4668
4668
  "type": "empty-state",
4669
+ "icon": "layers",
4670
+ "description": "Context Window is ready",
4669
4671
  "title": "Context Window"
4670
4672
  }
4671
4673
  ],
4672
- "type": "dashboard-layout",
4673
- "appName": "Agent Assistant",
4674
4674
  "navItems": [
4675
4675
  {
4676
4676
  "label": "Chat",
4677
- "href": "/chat",
4678
- "icon": "message-circle"
4677
+ "icon": "message-circle",
4678
+ "href": "/chat"
4679
4679
  },
4680
4680
  {
4681
- "href": "/memory",
4681
+ "label": "Memory",
4682
4682
  "icon": "brain",
4683
- "label": "Memory"
4683
+ "href": "/memory"
4684
4684
  },
4685
4685
  {
4686
4686
  "href": "/settings",
@@ -5216,52 +5216,53 @@
5216
5216
  "render-ui",
5217
5217
  "main",
5218
5218
  {
5219
+ "type": "dashboard-layout",
5219
5220
  "appName": "Agent Assistant",
5220
5221
  "children": [
5221
5222
  {
5222
- "direction": "vertical",
5223
5223
  "type": "stack",
5224
+ "direction": "vertical",
5224
5225
  "gap": "lg",
5225
5226
  "children": [
5226
5227
  {
5227
- "gap": "md",
5228
- "direction": "horizontal",
5229
- "type": "stack",
5228
+ "justify": "between",
5230
5229
  "children": [
5231
5230
  {
5232
- "type": "stack",
5233
- "direction": "horizontal",
5234
5231
  "children": [
5235
5232
  {
5236
- "type": "icon",
5237
- "name": "repeat"
5233
+ "name": "repeat",
5234
+ "type": "icon"
5238
5235
  },
5239
5236
  {
5240
5237
  "content": "Switch Provider",
5241
- "type": "typography",
5242
- "variant": "h2"
5238
+ "variant": "h2",
5239
+ "type": "typography"
5243
5240
  }
5244
5241
  ],
5242
+ "direction": "horizontal",
5243
+ "type": "stack",
5245
5244
  "gap": "md"
5246
5245
  },
5247
5246
  {
5248
- "variant": "primary",
5249
- "label": "Open",
5250
- "action": "SWITCH",
5251
5247
  "type": "button",
5252
- "icon": "repeat"
5248
+ "action": "SWITCH",
5249
+ "variant": "primary",
5250
+ "icon": "repeat",
5251
+ "label": "Open"
5253
5252
  }
5254
5253
  ],
5255
- "justify": "between"
5254
+ "type": "stack",
5255
+ "direction": "horizontal",
5256
+ "gap": "md"
5256
5257
  },
5257
5258
  {
5258
5259
  "type": "divider"
5259
5260
  },
5260
5261
  {
5261
5262
  "type": "empty-state",
5263
+ "description": "Click Open to view details in a modal overlay.",
5262
5264
  "icon": "repeat",
5263
- "title": "Nothing open",
5264
- "description": "Click Open to view details in a modal overlay."
5265
+ "title": "Nothing open"
5265
5266
  }
5266
5267
  ]
5267
5268
  }
@@ -5269,21 +5270,20 @@
5269
5270
  "navItems": [
5270
5271
  {
5271
5272
  "label": "Chat",
5272
- "href": "/chat",
5273
- "icon": "message-circle"
5273
+ "icon": "message-circle",
5274
+ "href": "/chat"
5274
5275
  },
5275
5276
  {
5276
- "href": "/memory",
5277
+ "icon": "brain",
5277
5278
  "label": "Memory",
5278
- "icon": "brain"
5279
+ "href": "/memory"
5279
5280
  },
5280
5281
  {
5282
+ "icon": "settings",
5281
5283
  "label": "Settings",
5282
- "href": "/settings",
5283
- "icon": "settings"
5284
+ "href": "/settings"
5284
5285
  }
5285
- ],
5286
- "type": "dashboard-layout"
5286
+ ]
5287
5287
  }
5288
5288
  ]
5289
5289
  ]
@@ -5307,9 +5307,11 @@
5307
5307
  "render-ui",
5308
5308
  "modal",
5309
5309
  {
5310
- "gap": "md",
5311
5310
  "children": [
5312
5311
  {
5312
+ "direction": "horizontal",
5313
+ "gap": "sm",
5314
+ "type": "stack",
5313
5315
  "children": [
5314
5316
  {
5315
5317
  "type": "icon",
@@ -5320,17 +5322,15 @@
5320
5322
  "content": "Switch Provider",
5321
5323
  "type": "typography"
5322
5324
  }
5323
- ],
5324
- "direction": "horizontal",
5325
- "gap": "sm",
5326
- "type": "stack"
5325
+ ]
5327
5326
  },
5328
5327
  {
5329
5328
  "type": "divider"
5330
5329
  },
5331
5330
  {
5332
- "gap": "md",
5333
5331
  "direction": "horizontal",
5332
+ "type": "stack",
5333
+ "gap": "md",
5334
5334
  "children": [
5335
5335
  {
5336
5336
  "variant": "caption",
@@ -5342,26 +5342,26 @@
5342
5342
  "label": "@entity.currentProvider"
5343
5343
  },
5344
5344
  {
5345
- "label": "@entity.currentModel",
5346
- "type": "badge"
5345
+ "type": "badge",
5346
+ "label": "@entity.currentModel"
5347
5347
  }
5348
- ],
5349
- "type": "stack"
5348
+ ]
5350
5349
  },
5351
5350
  {
5352
- "cancelEvent": "CLOSE",
5353
5351
  "type": "form-section",
5354
- "entity": "@entity",
5352
+ "cancelEvent": "CLOSE",
5355
5353
  "fields": [
5356
5354
  "currentProvider",
5357
5355
  "currentModel"
5358
5356
  ],
5359
5357
  "submitEvent": "SAVE",
5358
+ "entity": "@entity",
5360
5359
  "mode": "edit"
5361
5360
  }
5362
5361
  ],
5363
- "direction": "vertical",
5364
- "type": "stack"
5362
+ "type": "stack",
5363
+ "gap": "md",
5364
+ "direction": "vertical"
5365
5365
  }
5366
5366
  ]
5367
5367
  ]
@@ -5389,74 +5389,74 @@
5389
5389
  "render-ui",
5390
5390
  "main",
5391
5391
  {
5392
- "navItems": [
5393
- {
5394
- "href": "/chat",
5395
- "label": "Chat",
5396
- "icon": "message-circle"
5397
- },
5398
- {
5399
- "icon": "brain",
5400
- "href": "/memory",
5401
- "label": "Memory"
5402
- },
5403
- {
5404
- "label": "Settings",
5405
- "icon": "settings",
5406
- "href": "/settings"
5407
- }
5408
- ],
5392
+ "type": "dashboard-layout",
5409
5393
  "appName": "Agent Assistant",
5410
5394
  "children": [
5411
5395
  {
5412
5396
  "gap": "lg",
5397
+ "type": "stack",
5413
5398
  "direction": "vertical",
5414
5399
  "children": [
5415
5400
  {
5416
- "direction": "horizontal",
5417
5401
  "gap": "md",
5418
5402
  "type": "stack",
5403
+ "justify": "between",
5419
5404
  "children": [
5420
5405
  {
5406
+ "gap": "md",
5421
5407
  "direction": "horizontal",
5422
5408
  "children": [
5423
5409
  {
5424
- "name": "repeat",
5425
- "type": "icon"
5410
+ "type": "icon",
5411
+ "name": "repeat"
5426
5412
  },
5427
5413
  {
5414
+ "type": "typography",
5428
5415
  "variant": "h2",
5429
- "content": "Switch Provider",
5430
- "type": "typography"
5416
+ "content": "Switch Provider"
5431
5417
  }
5432
5418
  ],
5433
- "type": "stack",
5434
- "gap": "md"
5419
+ "type": "stack"
5435
5420
  },
5436
5421
  {
5437
- "type": "button",
5438
- "action": "SWITCH",
5439
- "label": "Open",
5440
5422
  "variant": "primary",
5441
- "icon": "repeat"
5423
+ "label": "Open",
5424
+ "type": "button",
5425
+ "icon": "repeat",
5426
+ "action": "SWITCH"
5442
5427
  }
5443
5428
  ],
5444
- "justify": "between"
5429
+ "direction": "horizontal"
5445
5430
  },
5446
5431
  {
5447
5432
  "type": "divider"
5448
5433
  },
5449
5434
  {
5450
5435
  "description": "Click Open to view details in a modal overlay.",
5436
+ "title": "Nothing open",
5451
5437
  "type": "empty-state",
5452
- "icon": "repeat",
5453
- "title": "Nothing open"
5438
+ "icon": "repeat"
5454
5439
  }
5455
- ],
5456
- "type": "stack"
5440
+ ]
5457
5441
  }
5458
5442
  ],
5459
- "type": "dashboard-layout"
5443
+ "navItems": [
5444
+ {
5445
+ "label": "Chat",
5446
+ "href": "/chat",
5447
+ "icon": "message-circle"
5448
+ },
5449
+ {
5450
+ "icon": "brain",
5451
+ "label": "Memory",
5452
+ "href": "/memory"
5453
+ },
5454
+ {
5455
+ "label": "Settings",
5456
+ "href": "/settings",
5457
+ "icon": "settings"
5458
+ }
5459
+ ]
5460
5460
  }
5461
5461
  ]
5462
5462
  ]
@@ -5495,16 +5495,39 @@
5495
5495
  "render-ui",
5496
5496
  "main",
5497
5497
  {
5498
- "type": "dashboard-layout",
5499
5498
  "appName": "Agent Assistant",
5499
+ "navItems": [
5500
+ {
5501
+ "href": "/chat",
5502
+ "icon": "message-circle",
5503
+ "label": "Chat"
5504
+ },
5505
+ {
5506
+ "icon": "brain",
5507
+ "href": "/memory",
5508
+ "label": "Memory"
5509
+ },
5510
+ {
5511
+ "icon": "settings",
5512
+ "label": "Settings",
5513
+ "href": "/settings"
5514
+ }
5515
+ ],
5516
+ "type": "dashboard-layout",
5500
5517
  "children": [
5501
5518
  {
5502
5519
  "direction": "vertical",
5503
5520
  "children": [
5504
5521
  {
5522
+ "direction": "horizontal",
5523
+ "justify": "between",
5505
5524
  "type": "stack",
5525
+ "gap": "md",
5506
5526
  "children": [
5507
5527
  {
5528
+ "type": "stack",
5529
+ "direction": "horizontal",
5530
+ "gap": "md",
5508
5531
  "children": [
5509
5532
  {
5510
5533
  "type": "icon",
@@ -5515,52 +5538,29 @@
5515
5538
  "variant": "h2",
5516
5539
  "type": "typography"
5517
5540
  }
5518
- ],
5519
- "type": "stack",
5520
- "gap": "md",
5521
- "direction": "horizontal"
5541
+ ]
5522
5542
  },
5523
5543
  {
5524
- "action": "SWITCH",
5525
- "type": "button",
5526
5544
  "label": "Open",
5527
- "icon": "repeat",
5528
- "variant": "primary"
5545
+ "type": "button",
5546
+ "action": "SWITCH",
5547
+ "variant": "primary",
5548
+ "icon": "repeat"
5529
5549
  }
5530
- ],
5531
- "direction": "horizontal",
5532
- "justify": "between",
5533
- "gap": "md"
5550
+ ]
5534
5551
  },
5535
5552
  {
5536
5553
  "type": "divider"
5537
5554
  },
5538
5555
  {
5539
- "title": "Nothing open",
5540
- "description": "Click Open to view details in a modal overlay.",
5541
5556
  "type": "empty-state",
5542
- "icon": "repeat"
5557
+ "title": "Nothing open",
5558
+ "icon": "repeat",
5559
+ "description": "Click Open to view details in a modal overlay."
5543
5560
  }
5544
5561
  ],
5545
- "gap": "lg",
5546
- "type": "stack"
5547
- }
5548
- ],
5549
- "navItems": [
5550
- {
5551
- "href": "/chat",
5552
- "label": "Chat",
5553
- "icon": "message-circle"
5554
- },
5555
- {
5556
- "icon": "brain",
5557
- "label": "Memory",
5558
- "href": "/memory"
5559
- },
5560
- {
5561
- "icon": "settings",
5562
- "label": "Settings",
5563
- "href": "/settings"
5562
+ "type": "stack",
5563
+ "gap": "lg"
5564
5564
  }
5565
5565
  ]
5566
5566
  }
@@ -5698,19 +5698,18 @@
5698
5698
  "render-ui",
5699
5699
  "main",
5700
5700
  {
5701
+ "type": "dashboard-layout",
5701
5702
  "children": [
5702
5703
  {
5703
5704
  "type": "stack",
5704
- "direction": "vertical",
5705
5705
  "gap": "lg",
5706
+ "direction": "vertical",
5706
5707
  "children": [
5707
5708
  {
5709
+ "gap": "md",
5708
5710
  "justify": "between",
5709
5711
  "children": [
5710
5712
  {
5711
- "type": "stack",
5712
- "gap": "md",
5713
- "direction": "horizontal",
5714
5713
  "children": [
5715
5714
  {
5716
5715
  "name": "server",
@@ -5722,59 +5721,60 @@
5722
5721
  "type": "typography"
5723
5722
  }
5724
5723
  ],
5725
- "align": "center"
5724
+ "align": "center",
5725
+ "direction": "horizontal",
5726
+ "gap": "md",
5727
+ "type": "stack"
5726
5728
  },
5727
5729
  {
5728
- "action": "HIDE",
5729
- "type": "button",
5730
5730
  "label": "Dismiss",
5731
5731
  "variant": "ghost",
5732
- "icon": "x"
5732
+ "icon": "x",
5733
+ "action": "HIDE",
5734
+ "type": "button"
5733
5735
  }
5734
5736
  ],
5735
- "direction": "horizontal",
5736
- "gap": "md",
5737
5737
  "type": "stack",
5738
+ "direction": "horizontal",
5738
5739
  "align": "center"
5739
5740
  },
5740
5741
  {
5741
5742
  "type": "divider"
5742
5743
  },
5743
5744
  {
5744
- "message": "@entity.message",
5745
5745
  "type": "alert",
5746
+ "message": "@entity.message",
5746
5747
  "variant": "@entity.notificationType"
5747
5748
  },
5748
5749
  {
5749
5750
  "type": "toast-slot"
5750
5751
  },
5751
5752
  {
5752
- "message": "@entity.message",
5753
5753
  "type": "alert",
5754
+ "message": "@entity.message",
5754
5755
  "variant": "warning"
5755
5756
  }
5756
5757
  ]
5757
5758
  }
5758
5759
  ],
5759
- "type": "dashboard-layout",
5760
- "appName": "Agent Assistant",
5761
5760
  "navItems": [
5762
5761
  {
5762
+ "icon": "message-circle",
5763
5763
  "href": "/chat",
5764
- "label": "Chat",
5765
- "icon": "message-circle"
5764
+ "label": "Chat"
5766
5765
  },
5767
5766
  {
5768
- "label": "Memory",
5767
+ "icon": "brain",
5769
5768
  "href": "/memory",
5770
- "icon": "brain"
5769
+ "label": "Memory"
5771
5770
  },
5772
5771
  {
5773
- "label": "Settings",
5774
5772
  "href": "/settings",
5773
+ "label": "Settings",
5775
5774
  "icon": "settings"
5776
5775
  }
5777
- ]
5776
+ ],
5777
+ "appName": "Agent Assistant"
5778
5778
  }
5779
5779
  ]
5780
5780
  ]
@@ -5801,8 +5801,8 @@
5801
5801
  "navItems": [
5802
5802
  {
5803
5803
  "label": "Chat",
5804
- "icon": "message-circle",
5805
- "href": "/chat"
5804
+ "href": "/chat",
5805
+ "icon": "message-circle"
5806
5806
  },
5807
5807
  {
5808
5808
  "href": "/memory",
@@ -5816,65 +5816,65 @@
5816
5816
  }
5817
5817
  ],
5818
5818
  "appName": "Agent Assistant",
5819
- "type": "dashboard-layout",
5820
5819
  "children": [
5821
5820
  {
5822
5821
  "type": "stack",
5822
+ "direction": "vertical",
5823
5823
  "children": [
5824
5824
  {
5825
- "type": "stack",
5826
5825
  "direction": "horizontal",
5827
- "justify": "between",
5828
- "align": "center",
5829
5826
  "gap": "md",
5827
+ "justify": "between",
5830
5828
  "children": [
5831
5829
  {
5830
+ "direction": "horizontal",
5832
5831
  "type": "stack",
5833
- "gap": "md",
5834
5832
  "align": "center",
5835
- "direction": "horizontal",
5833
+ "gap": "md",
5836
5834
  "children": [
5837
5835
  {
5838
5836
  "name": "server",
5839
5837
  "type": "icon"
5840
5838
  },
5841
5839
  {
5840
+ "content": "Provider Status",
5842
5841
  "type": "typography",
5843
- "variant": "h2",
5844
- "content": "Provider Status"
5842
+ "variant": "h2"
5845
5843
  }
5846
5844
  ]
5847
5845
  },
5848
5846
  {
5849
- "type": "button",
5850
- "label": "Dismiss",
5851
5847
  "icon": "x",
5852
5848
  "variant": "ghost",
5849
+ "label": "Dismiss",
5850
+ "type": "button",
5853
5851
  "action": "HIDE"
5854
5852
  }
5855
- ]
5853
+ ],
5854
+ "align": "center",
5855
+ "type": "stack"
5856
5856
  },
5857
5857
  {
5858
5858
  "type": "divider"
5859
5859
  },
5860
5860
  {
5861
- "message": "@entity.message",
5862
5861
  "type": "alert",
5863
- "variant": "@entity.notificationType"
5862
+ "variant": "@entity.notificationType",
5863
+ "message": "@entity.message"
5864
5864
  },
5865
5865
  {
5866
5866
  "type": "toast-slot"
5867
5867
  },
5868
5868
  {
5869
- "type": "alert",
5870
5869
  "variant": "warning",
5870
+ "type": "alert",
5871
5871
  "message": "@entity.message"
5872
5872
  }
5873
5873
  ],
5874
- "gap": "lg",
5875
- "direction": "vertical"
5874
+ "gap": "lg"
5876
5875
  }
5877
- ]
5876
+ ],
5877
+ "type": "dashboard-layout"
5878
5878
  }
5879
5879
  ]
5880
5880
  ]
@@ -6027,8 +6027,8 @@
6027
6027
  "ProviderConfig",
6028
6028
  {
6029
6029
  "emit": {
6030
- "success": "ProviderConfigLoaded",
6031
- "failure": "ProviderConfigLoadFailed"
6030
+ "failure": "ProviderConfigLoadFailed",
6031
+ "success": "ProviderConfigLoaded"
6032
6032
  }
6033
6033
  }
6034
6034
  ],
@@ -6044,17 +6044,18 @@
6044
6044
  {
6045
6045
  "children": [
6046
6046
  {
6047
+ "type": "empty-state",
6047
6048
  "title": "Provider",
6048
6049
  "description": "Provider is ready",
6049
- "type": "empty-state",
6050
6050
  "icon": "repeat"
6051
6051
  }
6052
6052
  ],
6053
+ "type": "dashboard-layout",
6053
6054
  "navItems": [
6054
6055
  {
6055
6056
  "label": "Chat",
6056
- "icon": "message-circle",
6057
- "href": "/chat"
6057
+ "href": "/chat",
6058
+ "icon": "message-circle"
6058
6059
  },
6059
6060
  {
6060
6061
  "icon": "brain",
@@ -6063,11 +6064,10 @@
6063
6064
  },
6064
6065
  {
6065
6066
  "label": "Settings",
6066
- "icon": "settings",
6067
- "href": "/settings"
6067
+ "href": "/settings",
6068
+ "icon": "settings"
6068
6069
  }
6069
6070
  ],
6070
- "type": "dashboard-layout",
6071
6071
  "appName": "Agent Assistant"
6072
6072
  }
6073
6073
  ]
@@ -6346,22 +6346,22 @@
6346
6346
  "render-ui",
6347
6347
  "main",
6348
6348
  {
6349
- "gap": "md",
6350
- "align": "center",
6351
- "type": "stack",
6352
6349
  "children": [
6353
6350
  {
6354
6351
  "type": "spinner"
6355
6352
  },
6356
6353
  {
6357
- "color": "muted",
6354
+ "type": "typography",
6358
6355
  "content": "Loading…",
6359
6356
  "variant": "caption",
6360
- "type": "typography"
6357
+ "color": "muted"
6361
6358
  }
6362
6359
  ],
6360
+ "align": "center",
6361
+ "type": "stack",
6362
+ "className": "py-12",
6363
6363
  "direction": "vertical",
6364
- "className": "py-12"
6364
+ "gap": "md"
6365
6365
  }
6366
6366
  ]
6367
6367
  ]
@@ -6376,51 +6376,30 @@
6376
6376
  "main",
6377
6377
  {
6378
6378
  "appName": "Agent Assistant",
6379
- "navItems": [
6380
- {
6381
- "icon": "message-circle",
6382
- "label": "Chat",
6383
- "href": "/chat"
6384
- },
6385
- {
6386
- "href": "/memory",
6387
- "icon": "brain",
6388
- "label": "Memory"
6389
- },
6390
- {
6391
- "icon": "settings",
6392
- "label": "Settings",
6393
- "href": "/settings"
6394
- }
6395
- ],
6396
6379
  "children": [
6397
6380
  {
6398
- "direction": "vertical",
6399
6381
  "children": [
6400
6382
  {
6401
- "gap": "sm",
6402
- "type": "stack",
6403
6383
  "children": [
6404
6384
  {
6405
- "type": "icon",
6406
- "name": "message-circle"
6385
+ "name": "message-circle",
6386
+ "type": "icon"
6407
6387
  },
6408
6388
  {
6409
- "content": "Assistant",
6389
+ "variant": "h2",
6410
6390
  "type": "typography",
6411
- "variant": "h2"
6391
+ "content": "Assistant"
6412
6392
  }
6413
6393
  ],
6414
- "align": "center",
6415
- "direction": "horizontal"
6394
+ "direction": "horizontal",
6395
+ "gap": "sm",
6396
+ "type": "stack",
6397
+ "align": "center"
6416
6398
  },
6417
6399
  {
6418
6400
  "type": "divider"
6419
6401
  },
6420
6402
  {
6421
- "defaultActiveTab": "chat",
6422
- "onTabChange": "SELECT_TAB",
6423
- "type": "tabs",
6424
6403
  "tabs": [
6425
6404
  {
6426
6405
  "label": "Chat",
@@ -6431,21 +6410,29 @@
6431
6410
  "value": "memory"
6432
6411
  },
6433
6412
  {
6434
- "value": "settings",
6435
- "label": "Settings"
6413
+ "label": "Settings",
6414
+ "value": "settings"
6436
6415
  }
6437
- ]
6416
+ ],
6417
+ "onTabChange": "SELECT_TAB",
6418
+ "defaultActiveTab": "chat",
6419
+ "type": "tabs"
6438
6420
  },
6439
6421
  {
6440
6422
  "type": "divider"
6441
6423
  },
6442
6424
  {
6425
+ "entity": "@payload.data",
6426
+ "type": "data-grid",
6427
+ "fields": [],
6428
+ "className": "transition-shadow hover:shadow-md cursor-pointer",
6443
6429
  "renderItem": [
6444
6430
  "fn",
6445
6431
  "item",
6446
6432
  {
6447
- "direction": "vertical",
6433
+ "type": "stack",
6448
6434
  "gap": "sm",
6435
+ "direction": "vertical",
6449
6436
  "children": [
6450
6437
  {
6451
6438
  "type": "typography",
@@ -6453,25 +6440,38 @@
6453
6440
  "content": "@item.messages"
6454
6441
  },
6455
6442
  {
6456
- "content": "@item.currentMessage",
6457
- "type": "typography",
6458
6443
  "variant": "caption",
6459
- "color": "muted"
6444
+ "content": "@item.currentMessage",
6445
+ "color": "muted",
6446
+ "type": "typography"
6460
6447
  }
6461
- ],
6462
- "type": "stack"
6448
+ ]
6463
6449
  }
6464
- ],
6465
- "entity": "@payload.data",
6466
- "type": "data-grid",
6467
- "fields": [],
6468
- "className": "transition-shadow hover:shadow-md cursor-pointer"
6450
+ ]
6469
6451
  }
6470
6452
  ],
6471
6453
  "type": "stack",
6454
+ "direction": "vertical",
6472
6455
  "gap": "lg"
6473
6456
  }
6474
6457
  ],
6458
+ "navItems": [
6459
+ {
6460
+ "icon": "message-circle",
6461
+ "label": "Chat",
6462
+ "href": "/chat"
6463
+ },
6464
+ {
6465
+ "href": "/memory",
6466
+ "label": "Memory",
6467
+ "icon": "brain"
6468
+ },
6469
+ {
6470
+ "label": "Settings",
6471
+ "href": "/settings",
6472
+ "icon": "settings"
6473
+ }
6474
+ ],
6475
6475
  "type": "dashboard-layout"
6476
6476
  }
6477
6477
  ]
@@ -6488,11 +6488,12 @@
6488
6488
  {
6489
6489
  "direction": "vertical",
6490
6490
  "align": "center",
6491
+ "className": "py-12",
6491
6492
  "children": [
6492
6493
  {
6494
+ "name": "alert-triangle",
6493
6495
  "color": "destructive",
6494
- "type": "icon",
6495
- "name": "alert-triangle"
6496
+ "type": "icon"
6496
6497
  },
6497
6498
  {
6498
6499
  "type": "typography",
@@ -6500,22 +6501,21 @@
6500
6501
  "content": "Failed to load"
6501
6502
  },
6502
6503
  {
6503
- "variant": "body",
6504
6504
  "type": "typography",
6505
6505
  "content": "@payload.error",
6506
- "color": "muted"
6506
+ "color": "muted",
6507
+ "variant": "body"
6507
6508
  },
6508
6509
  {
6509
6510
  "label": "Retry",
6510
- "icon": "rotate-ccw",
6511
- "type": "button",
6511
+ "action": "INIT",
6512
6512
  "variant": "primary",
6513
- "action": "INIT"
6513
+ "type": "button",
6514
+ "icon": "rotate-ccw"
6514
6515
  }
6515
6516
  ],
6516
6517
  "gap": "md",
6517
- "type": "stack",
6518
- "className": "py-12"
6518
+ "type": "stack"
6519
6519
  }
6520
6520
  ]
6521
6521
  ]
@@ -6530,8 +6530,8 @@
6530
6530
  "AssistantNav",
6531
6531
  {
6532
6532
  "emit": {
6533
- "failure": "AssistantNavLoadFailed",
6534
- "success": "AssistantNavLoaded"
6533
+ "success": "AssistantNavLoaded",
6534
+ "failure": "AssistantNavLoadFailed"
6535
6535
  }
6536
6536
  }
6537
6537
  ],
@@ -6679,8 +6679,8 @@
6679
6679
  "MemorySidebar",
6680
6680
  {
6681
6681
  "emit": {
6682
- "success": "MemorySidebarLoaded",
6683
- "failure": "MemorySidebarLoadFailed"
6682
+ "failure": "MemorySidebarLoadFailed",
6683
+ "success": "MemorySidebarLoaded"
6684
6684
  }
6685
6685
  }
6686
6686
  ]
@@ -6705,164 +6705,164 @@
6705
6705
  "render-ui",
6706
6706
  "drawer",
6707
6707
  {
6708
- "gap": "none",
6709
6708
  "type": "stack",
6710
6709
  "direction": "vertical",
6710
+ "gap": "none",
6711
6711
  "children": [
6712
6712
  {
6713
+ "type": "drawer",
6714
+ "title": "Memory Recall",
6715
+ "isOpen": true,
6713
6716
  "children": [
6714
6717
  {
6715
6718
  "direction": "vertical",
6716
- "type": "stack",
6717
6719
  "gap": "md",
6718
6720
  "children": [
6719
6721
  {
6720
- "direction": "horizontal",
6722
+ "justify": "between",
6721
6723
  "children": [
6722
6724
  {
6723
6725
  "variant": "caption",
6724
- "content": "Content",
6725
- "type": "typography"
6726
+ "type": "typography",
6727
+ "content": "Content"
6726
6728
  },
6727
6729
  {
6730
+ "variant": "body",
6728
6731
  "type": "typography",
6729
- "content": "@entity.content",
6730
- "variant": "body"
6732
+ "content": "@entity.content"
6731
6733
  }
6732
6734
  ],
6733
- "justify": "between",
6734
6735
  "gap": "md",
6736
+ "direction": "horizontal",
6735
6737
  "type": "stack"
6736
6738
  },
6737
6739
  {
6738
6740
  "gap": "md",
6739
6741
  "children": [
6740
6742
  {
6741
- "content": "Query",
6743
+ "type": "typography",
6742
6744
  "variant": "caption",
6743
- "type": "typography"
6745
+ "content": "Query"
6744
6746
  },
6745
6747
  {
6748
+ "variant": "body",
6746
6749
  "content": "@entity.query",
6747
- "type": "typography",
6748
- "variant": "body"
6750
+ "type": "typography"
6749
6751
  }
6750
6752
  ],
6753
+ "type": "stack",
6751
6754
  "direction": "horizontal",
6752
- "justify": "between",
6753
- "type": "stack"
6755
+ "justify": "between"
6754
6756
  },
6755
6757
  {
6758
+ "direction": "horizontal",
6759
+ "justify": "between",
6760
+ "type": "stack",
6761
+ "gap": "md",
6756
6762
  "children": [
6757
6763
  {
6758
- "type": "typography",
6759
6764
  "content": "Strength",
6760
- "variant": "caption"
6765
+ "variant": "caption",
6766
+ "type": "typography"
6761
6767
  },
6762
6768
  {
6769
+ "type": "typography",
6763
6770
  "variant": "body",
6764
- "content": "@entity.strength",
6765
- "type": "typography"
6771
+ "content": "@entity.strength"
6766
6772
  }
6767
- ],
6768
- "gap": "md",
6769
- "type": "stack",
6770
- "direction": "horizontal",
6771
- "justify": "between"
6773
+ ]
6772
6774
  },
6773
6775
  {
6774
6776
  "type": "divider"
6775
6777
  },
6776
6778
  {
6777
- "justify": "end",
6778
6779
  "children": [
6779
6780
  {
6780
6781
  "variant": "ghost",
6781
- "type": "button",
6782
6782
  "action": "CLOSE",
6783
- "label": "Close"
6783
+ "label": "Close",
6784
+ "type": "button"
6784
6785
  }
6785
6786
  ],
6786
- "direction": "horizontal",
6787
+ "gap": "sm",
6787
6788
  "type": "stack",
6788
- "gap": "sm"
6789
+ "direction": "horizontal",
6790
+ "justify": "end"
6789
6791
  }
6790
- ]
6792
+ ],
6793
+ "type": "stack"
6791
6794
  }
6792
- ],
6793
- "title": "Memory Recall",
6794
- "isOpen": true,
6795
- "type": "drawer"
6795
+ ]
6796
6796
  },
6797
6797
  {
6798
- "type": "side-panel",
6799
- "position": "right",
6800
6798
  "isOpen": true,
6801
6799
  "children": [
6802
6800
  {
6801
+ "type": "stack",
6803
6802
  "direction": "vertical",
6804
6803
  "children": [
6805
6804
  {
6806
- "type": "stack",
6807
6805
  "children": [
6808
6806
  {
6807
+ "variant": "caption",
6809
6808
  "content": "Content",
6810
- "type": "typography",
6811
- "variant": "caption"
6809
+ "type": "typography"
6812
6810
  },
6813
6811
  {
6812
+ "variant": "body",
6814
6813
  "content": "@entity.content",
6815
- "type": "typography",
6816
- "variant": "body"
6814
+ "type": "typography"
6817
6815
  }
6818
6816
  ],
6819
6817
  "gap": "md",
6820
- "justify": "between",
6821
- "direction": "horizontal"
6818
+ "direction": "horizontal",
6819
+ "type": "stack",
6820
+ "justify": "between"
6822
6821
  },
6823
6822
  {
6824
- "direction": "horizontal",
6823
+ "type": "stack",
6824
+ "gap": "md",
6825
6825
  "children": [
6826
6826
  {
6827
- "type": "typography",
6828
6827
  "content": "Query",
6829
- "variant": "caption"
6828
+ "variant": "caption",
6829
+ "type": "typography"
6830
6830
  },
6831
6831
  {
6832
6832
  "type": "typography",
6833
- "variant": "body",
6834
- "content": "@entity.query"
6833
+ "content": "@entity.query",
6834
+ "variant": "body"
6835
6835
  }
6836
6836
  ],
6837
- "type": "stack",
6838
6837
  "justify": "between",
6839
- "gap": "md"
6838
+ "direction": "horizontal"
6840
6839
  },
6841
6840
  {
6842
6841
  "direction": "horizontal",
6843
- "type": "stack",
6844
6842
  "gap": "md",
6843
+ "type": "stack",
6845
6844
  "children": [
6846
6845
  {
6847
- "type": "typography",
6848
6846
  "variant": "caption",
6849
- "content": "Strength"
6847
+ "content": "Strength",
6848
+ "type": "typography"
6850
6849
  },
6851
6850
  {
6852
6851
  "content": "@entity.strength",
6853
- "type": "typography",
6854
- "variant": "body"
6852
+ "variant": "body",
6853
+ "type": "typography"
6855
6854
  }
6856
6855
  ],
6857
6856
  "justify": "between"
6858
6857
  }
6859
6858
  ],
6860
- "type": "stack",
6861
6859
  "gap": "md"
6862
6860
  }
6863
6861
  ],
6862
+ "title": "Memory Recall",
6864
6863
  "onClose": "CLOSE",
6865
- "title": "Memory Recall"
6864
+ "position": "right",
6865
+ "type": "side-panel"
6866
6866
  }
6867
6867
  ]
6868
6868
  }
@@ -6909,4 +6909,4 @@
6909
6909
  ]
6910
6910
  }
6911
6911
  ]
6912
- }
6912
+ }