@almadar/std 8.3.0 → 8.4.0

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