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