@almadar/std 14.5.1 → 14.6.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 (51) hide show
  1. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
  2. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
  3. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
  4. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
  5. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
  6. package/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
  7. package/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
  8. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
  9. package/behaviors/registry/app/organisms/std-cms.orb +556 -556
  10. package/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
  11. package/behaviors/registry/app/organisms/std-crm.orb +806 -806
  12. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
  13. package/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
  14. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  15. package/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
  16. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
  17. package/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
  18. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
  19. package/behaviors/registry/app/organisms/std-lms.orb +860 -860
  20. package/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
  21. package/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
  22. package/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
  23. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
  24. package/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
  25. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
  26. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
  27. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
  28. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
  29. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
  30. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
  31. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
  32. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
  33. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
  34. package/dist/behaviors/registry/app/organisms/std-cms.orb +556 -556
  35. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
  36. package/dist/behaviors/registry/app/organisms/std-crm.orb +806 -806
  37. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
  38. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
  39. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  40. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
  41. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
  42. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
  43. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
  44. package/dist/behaviors/registry/app/organisms/std-lms.orb +860 -860
  45. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
  46. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
  47. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
  48. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
  49. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
  50. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
  51. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-agent-assistant",
3
3
  "version": "1.0.0",
4
- "description": "std-agent-assistant as a Function",
4
+ "description": "Agent chat assistant: conversation, persistent memory, provider config (ChatGPT-style).",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "AssistantOrbital",
@@ -396,8 +396,8 @@
396
396
  "Assistant",
397
397
  {
398
398
  "emit": {
399
- "failure": "AssistantLoadFailed",
400
- "success": "AssistantLoaded"
399
+ "success": "AssistantLoaded",
400
+ "failure": "AssistantLoadFailed"
401
401
  }
402
402
  }
403
403
  ],
@@ -405,22 +405,22 @@
405
405
  "render-ui",
406
406
  "main",
407
407
  {
408
- "type": "stack",
409
- "direction": "vertical",
410
- "gap": "md",
411
- "align": "center",
408
+ "className": "py-12",
412
409
  "children": [
413
410
  {
414
411
  "type": "spinner"
415
412
  },
416
413
  {
417
- "variant": "caption",
418
414
  "type": "typography",
419
- "content": "Loading assistant…",
420
- "color": "muted"
415
+ "color": "muted",
416
+ "variant": "caption",
417
+ "content": "Loading assistant…"
421
418
  }
422
419
  ],
423
- "className": "py-12"
420
+ "direction": "vertical",
421
+ "gap": "md",
422
+ "type": "stack",
423
+ "align": "center"
424
424
  }
425
425
  ]
426
426
  ]
@@ -434,81 +434,61 @@
434
434
  "render-ui",
435
435
  "main",
436
436
  {
437
- "navItems": [
438
- {
439
- "label": "Chat",
440
- "icon": "message-circle",
441
- "href": "/chat"
442
- },
443
- {
444
- "href": "/memory",
445
- "label": "Memory",
446
- "icon": "brain"
447
- },
448
- {
449
- "icon": "settings",
450
- "href": "/settings",
451
- "label": "Settings"
452
- }
453
- ],
454
- "type": "dashboard-layout",
455
- "appName": "Agent Assistant",
456
437
  "children": [
457
438
  {
458
439
  "direction": "vertical",
459
440
  "gap": "lg",
441
+ "type": "stack",
460
442
  "children": [
461
443
  {
462
- "gap": "sm",
463
- "type": "stack",
464
444
  "align": "center",
465
- "justify": "between",
466
- "direction": "horizontal",
467
445
  "children": [
468
446
  {
469
- "align": "center",
470
- "direction": "horizontal",
471
447
  "gap": "sm",
472
448
  "children": [
473
449
  {
474
- "type": "icon",
475
- "name": "message-circle"
450
+ "name": "message-circle",
451
+ "type": "icon"
476
452
  },
477
453
  {
478
454
  "content": "Assistant Thread",
479
- "type": "typography",
480
- "variant": "h2"
455
+ "variant": "h2",
456
+ "type": "typography"
481
457
  }
482
458
  ],
483
- "type": "stack"
459
+ "direction": "horizontal",
460
+ "type": "stack",
461
+ "align": "center"
484
462
  },
485
463
  {
486
464
  "type": "button",
487
- "icon": "plus",
488
465
  "action": "COMPOSE",
489
466
  "label": "New Message",
490
- "variant": "primary"
467
+ "variant": "primary",
468
+ "icon": "plus"
491
469
  }
492
- ]
470
+ ],
471
+ "type": "stack",
472
+ "direction": "horizontal",
473
+ "gap": "sm",
474
+ "justify": "between"
493
475
  },
494
476
  {
495
477
  "type": "divider"
496
478
  },
497
479
  {
480
+ "type": "data-list",
498
481
  "entity": "@payload.data",
499
482
  "renderItem": [
500
483
  "fn",
501
484
  "item",
502
485
  {
503
- "type": "stack",
504
- "gap": "xs",
505
- "direction": "vertical",
506
486
  "children": [
507
487
  {
508
- "align": "center",
488
+ "gap": "sm",
509
489
  "type": "stack",
510
490
  "direction": "horizontal",
511
- "gap": "sm",
491
+ "align": "center",
512
492
  "children": [
513
493
  {
514
494
  "type": "badge",
@@ -516,32 +496,52 @@
516
496
  },
517
497
  {
518
498
  "type": "badge",
519
- "label": "@item.status",
520
- "variant": "secondary"
499
+ "variant": "secondary",
500
+ "label": "@item.status"
521
501
  },
522
502
  {
523
- "type": "typography",
524
503
  "content": "@item.timestamp",
525
504
  "color": "muted",
526
- "variant": "caption"
505
+ "variant": "caption",
506
+ "type": "typography"
527
507
  }
528
508
  ]
529
509
  },
530
510
  {
531
- "type": "typography",
532
511
  "variant": "body",
512
+ "type": "typography",
533
513
  "content": "@item.content"
534
514
  }
535
- ]
515
+ ],
516
+ "gap": "xs",
517
+ "type": "stack",
518
+ "direction": "vertical"
536
519
  }
537
520
  ],
538
- "type": "data-list",
539
521
  "fields": []
540
522
  }
541
- ],
542
- "type": "stack"
523
+ ]
543
524
  }
544
- ]
525
+ ],
526
+ "navItems": [
527
+ {
528
+ "label": "Chat",
529
+ "icon": "message-circle",
530
+ "href": "/chat"
531
+ },
532
+ {
533
+ "label": "Memory",
534
+ "href": "/memory",
535
+ "icon": "brain"
536
+ },
537
+ {
538
+ "icon": "settings",
539
+ "label": "Settings",
540
+ "href": "/settings"
541
+ }
542
+ ],
543
+ "type": "dashboard-layout",
544
+ "appName": "Agent Assistant"
545
545
  }
546
546
  ]
547
547
  ]
@@ -555,36 +555,36 @@
555
555
  "render-ui",
556
556
  "main",
557
557
  {
558
- "type": "stack",
558
+ "direction": "vertical",
559
+ "align": "center",
559
560
  "children": [
560
561
  {
561
- "name": "alert-triangle",
562
562
  "type": "icon",
563
- "color": "destructive"
563
+ "color": "destructive",
564
+ "name": "alert-triangle"
564
565
  },
565
566
  {
566
- "variant": "h3",
567
+ "content": "Failed to load assistant",
567
568
  "type": "typography",
568
- "content": "Failed to load assistant"
569
+ "variant": "h3"
569
570
  },
570
571
  {
571
- "content": "@payload.error",
572
- "type": "typography",
572
+ "color": "muted",
573
573
  "variant": "body",
574
- "color": "muted"
574
+ "type": "typography",
575
+ "content": "@payload.error"
575
576
  },
576
577
  {
577
- "type": "button",
578
578
  "variant": "primary",
579
- "action": "INIT",
580
579
  "label": "Retry",
581
- "icon": "rotate-ccw"
580
+ "action": "INIT",
581
+ "icon": "rotate-ccw",
582
+ "type": "button"
582
583
  }
583
584
  ],
584
- "direction": "vertical",
585
- "gap": "md",
586
- "align": "center",
587
- "className": "py-12"
585
+ "type": "stack",
586
+ "className": "py-12",
587
+ "gap": "md"
588
588
  }
589
589
  ]
590
590
  ]
@@ -600,38 +600,38 @@
600
600
  {
601
601
  "type": "stack",
602
602
  "gap": "lg",
603
- "direction": "vertical",
604
603
  "children": [
605
604
  {
606
605
  "align": "center",
607
- "type": "stack",
608
606
  "direction": "horizontal",
609
607
  "children": [
610
608
  {
611
- "type": "icon",
612
- "name": "message-circle"
609
+ "name": "message-circle",
610
+ "type": "icon"
613
611
  },
614
612
  {
613
+ "content": "Assistant Thread",
615
614
  "variant": "h2",
616
- "type": "typography",
617
- "content": "Assistant Thread"
615
+ "type": "typography"
618
616
  }
619
617
  ],
618
+ "type": "stack",
620
619
  "gap": "sm"
621
620
  },
622
621
  {
623
622
  "type": "divider"
624
623
  },
625
624
  {
626
- "type": "form-section",
627
- "submitEvent": "SEND",
628
625
  "cancelEvent": "CANCEL_COMPOSE",
629
626
  "mode": "create",
630
627
  "fields": [
631
628
  "content"
632
- ]
629
+ ],
630
+ "type": "form-section",
631
+ "submitEvent": "SEND"
633
632
  }
634
- ]
633
+ ],
634
+ "direction": "vertical"
635
635
  }
636
636
  ]
637
637
  ]
@@ -647,8 +647,8 @@
647
647
  "Assistant",
648
648
  {
649
649
  "emit": {
650
- "failure": "AssistantDeleteFailed",
651
- "success": "AssistantDeleted"
650
+ "success": "AssistantDeleted",
651
+ "failure": "AssistantDeleteFailed"
652
652
  }
653
653
  }
654
654
  ],
@@ -657,8 +657,8 @@
657
657
  "Assistant",
658
658
  {
659
659
  "emit": {
660
- "success": "AssistantLoaded",
661
- "failure": "AssistantLoadFailed"
660
+ "failure": "AssistantLoadFailed",
661
+ "success": "AssistantLoaded"
662
662
  }
663
663
  }
664
664
  ],
@@ -681,10 +681,10 @@
681
681
  "create",
682
682
  "Assistant",
683
683
  {
684
- "timestamp": "@now",
685
- "status": "sent",
686
684
  "role": "user",
687
- "content": "@payload.content"
685
+ "content": "@payload.content",
686
+ "status": "sent",
687
+ "timestamp": "@now"
688
688
  },
689
689
  {
690
690
  "emit": {
@@ -697,8 +697,8 @@
697
697
  "Assistant",
698
698
  {
699
699
  "emit": {
700
- "failure": "AssistantLoadFailed",
701
- "success": "AssistantLoaded"
700
+ "success": "AssistantLoaded",
701
+ "failure": "AssistantLoadFailed"
702
702
  }
703
703
  }
704
704
  ],
@@ -746,8 +746,8 @@
746
746
  "Assistant",
747
747
  {
748
748
  "emit": {
749
- "failure": "AssistantDeleteFailed",
750
- "success": "AssistantDeleted"
749
+ "success": "AssistantDeleted",
750
+ "failure": "AssistantDeleteFailed"
751
751
  }
752
752
  }
753
753
  ],
@@ -897,8 +897,8 @@
897
897
  "Assistant",
898
898
  {
899
899
  "emit": {
900
- "success": "AssistantLoaded",
901
- "failure": "AssistantLoadFailed"
900
+ "failure": "AssistantLoadFailed",
901
+ "success": "AssistantLoaded"
902
902
  }
903
903
  }
904
904
  ],
@@ -908,22 +908,22 @@
908
908
  {
909
909
  "children": [
910
910
  {
911
- "description": "Conversation is ready",
912
911
  "icon": "message-circle",
913
912
  "title": "Conversation",
914
- "type": "empty-state"
913
+ "type": "empty-state",
914
+ "description": "Conversation is ready"
915
915
  }
916
916
  ],
917
917
  "type": "dashboard-layout",
918
918
  "navItems": [
919
919
  {
920
- "label": "Chat",
921
920
  "href": "/chat",
921
+ "label": "Chat",
922
922
  "icon": "message-circle"
923
923
  },
924
924
  {
925
- "label": "Memory",
926
925
  "icon": "brain",
926
+ "label": "Memory",
927
927
  "href": "/memory"
928
928
  },
929
929
  {
@@ -1404,8 +1404,8 @@
1404
1404
  "Memory",
1405
1405
  {
1406
1406
  "emit": {
1407
- "failure": "MemoryLoadFailed",
1408
- "success": "MemoryLoaded"
1407
+ "success": "MemoryLoaded",
1408
+ "failure": "MemoryLoadFailed"
1409
1409
  }
1410
1410
  }
1411
1411
  ],
@@ -1413,7 +1413,8 @@
1413
1413
  "render-ui",
1414
1414
  "main",
1415
1415
  {
1416
- "direction": "vertical",
1416
+ "type": "stack",
1417
+ "gap": "md",
1417
1418
  "align": "center",
1418
1419
  "className": "py-12",
1419
1420
  "children": [
@@ -1421,14 +1422,13 @@
1421
1422
  "type": "spinner"
1422
1423
  },
1423
1424
  {
1424
- "variant": "caption",
1425
+ "type": "typography",
1425
1426
  "color": "muted",
1426
- "content": "Loading…",
1427
- "type": "typography"
1427
+ "variant": "caption",
1428
+ "content": "Loading…"
1428
1429
  }
1429
1430
  ],
1430
- "type": "stack",
1431
- "gap": "md"
1431
+ "direction": "vertical"
1432
1432
  }
1433
1433
  ]
1434
1434
  ]
@@ -1442,84 +1442,67 @@
1442
1442
  "render-ui",
1443
1443
  "main",
1444
1444
  {
1445
+ "appName": "Agent Assistant",
1445
1446
  "type": "dashboard-layout",
1446
- "navItems": [
1447
- {
1448
- "label": "Chat",
1449
- "href": "/chat",
1450
- "icon": "message-circle"
1451
- },
1452
- {
1453
- "label": "Memory",
1454
- "href": "/memory",
1455
- "icon": "brain"
1456
- },
1457
- {
1458
- "label": "Settings",
1459
- "href": "/settings",
1460
- "icon": "settings"
1461
- }
1462
- ],
1463
1447
  "children": [
1464
1448
  {
1465
- "className": "max-w-5xl mx-auto w-full",
1466
- "type": "stack",
1467
1449
  "direction": "vertical",
1468
1450
  "gap": "lg",
1451
+ "className": "max-w-5xl mx-auto w-full",
1469
1452
  "children": [
1470
1453
  {
1454
+ "gap": "md",
1471
1455
  "justify": "between",
1456
+ "align": "center",
1472
1457
  "children": [
1473
1458
  {
1474
- "type": "stack",
1475
- "align": "center",
1459
+ "gap": "sm",
1476
1460
  "direction": "horizontal",
1461
+ "align": "center",
1477
1462
  "children": [
1478
1463
  {
1479
1464
  "name": "brain",
1480
1465
  "type": "icon"
1481
1466
  },
1482
1467
  {
1483
- "type": "typography",
1484
1468
  "variant": "h2",
1485
- "content": "Memory Manager"
1469
+ "content": "Memory Manager",
1470
+ "type": "typography"
1486
1471
  }
1487
1472
  ],
1488
- "gap": "sm"
1473
+ "type": "stack"
1489
1474
  },
1490
1475
  {
1491
- "direction": "horizontal",
1492
1476
  "gap": "sm",
1493
- "type": "stack",
1494
1477
  "children": [
1495
1478
  {
1496
- "variant": "primary",
1497
1479
  "label": "Memorize",
1498
1480
  "action": "MEMORIZE",
1499
- "type": "button",
1500
- "icon": "plus"
1481
+ "icon": "plus",
1482
+ "variant": "primary",
1483
+ "type": "button"
1501
1484
  },
1502
1485
  {
1503
- "type": "button",
1504
- "label": "Recall",
1505
1486
  "action": "RECALL",
1487
+ "type": "button",
1488
+ "variant": "secondary",
1506
1489
  "icon": "search",
1507
- "variant": "secondary"
1490
+ "label": "Recall"
1508
1491
  },
1509
1492
  {
1510
1493
  "label": "Decay All",
1511
- "variant": "ghost",
1512
- "type": "button",
1513
1494
  "action": "DECAY",
1514
- "icon": "clock"
1495
+ "variant": "ghost",
1496
+ "icon": "clock",
1497
+ "type": "button"
1515
1498
  }
1516
- ]
1499
+ ],
1500
+ "type": "stack",
1501
+ "direction": "horizontal"
1517
1502
  }
1518
1503
  ],
1519
- "align": "center",
1520
- "direction": "horizontal",
1521
1504
  "type": "stack",
1522
- "gap": "md"
1505
+ "direction": "horizontal"
1523
1506
  },
1524
1507
  {
1525
1508
  "type": "divider"
@@ -1527,28 +1510,28 @@
1527
1510
  {
1528
1511
  "fields": [
1529
1512
  {
1530
- "label": "Content",
1513
+ "icon": "brain",
1531
1514
  "name": "content",
1532
1515
  "variant": "h4",
1533
- "icon": "brain"
1516
+ "label": "Content"
1534
1517
  },
1535
1518
  {
1536
1519
  "variant": "badge",
1520
+ "label": "Category",
1537
1521
  "colorMap": {
1538
- "draft": "warning",
1539
1522
  "active": "success",
1540
- "pending": "warning",
1523
+ "disabled": "neutral",
1524
+ "cancelled": "destructive",
1525
+ "failed": "destructive",
1541
1526
  "archived": "neutral",
1527
+ "done": "success",
1542
1528
  "error": "destructive",
1543
- "failed": "destructive",
1544
- "cancelled": "destructive",
1545
- "scheduled": "warning",
1546
- "completed": "success",
1529
+ "pending": "warning",
1547
1530
  "inactive": "neutral",
1548
- "done": "success",
1549
- "disabled": "neutral"
1531
+ "draft": "warning",
1532
+ "completed": "success",
1533
+ "scheduled": "warning"
1550
1534
  },
1551
- "label": "Category",
1552
1535
  "name": "category"
1553
1536
  },
1554
1537
  {
@@ -1557,8 +1540,8 @@
1557
1540
  "variant": "caption"
1558
1541
  }
1559
1542
  ],
1560
- "entity": "@payload.data",
1561
1543
  "type": "data-grid",
1544
+ "entity": "@payload.data",
1562
1545
  "itemActions": [
1563
1546
  {
1564
1547
  "label": "Pin",
@@ -1566,9 +1549,9 @@
1566
1549
  "variant": "ghost"
1567
1550
  },
1568
1551
  {
1552
+ "variant": "ghost",
1569
1553
  "label": "Reinforce",
1570
- "event": "REINFORCE",
1571
- "variant": "ghost"
1554
+ "event": "REINFORCE"
1572
1555
  },
1573
1556
  {
1574
1557
  "variant": "danger",
@@ -1577,10 +1560,27 @@
1577
1560
  }
1578
1561
  ]
1579
1562
  }
1580
- ]
1563
+ ],
1564
+ "type": "stack"
1581
1565
  }
1582
1566
  ],
1583
- "appName": "Agent Assistant"
1567
+ "navItems": [
1568
+ {
1569
+ "label": "Chat",
1570
+ "href": "/chat",
1571
+ "icon": "message-circle"
1572
+ },
1573
+ {
1574
+ "href": "/memory",
1575
+ "label": "Memory",
1576
+ "icon": "brain"
1577
+ },
1578
+ {
1579
+ "icon": "settings",
1580
+ "href": "/settings",
1581
+ "label": "Settings"
1582
+ }
1583
+ ]
1584
1584
  }
1585
1585
  ]
1586
1586
  ]
@@ -1594,7 +1594,10 @@
1594
1594
  "render-ui",
1595
1595
  "main",
1596
1596
  {
1597
+ "gap": "md",
1597
1598
  "direction": "vertical",
1599
+ "align": "center",
1600
+ "type": "stack",
1598
1601
  "className": "py-12",
1599
1602
  "children": [
1600
1603
  {
@@ -1603,27 +1606,24 @@
1603
1606
  "name": "alert-triangle"
1604
1607
  },
1605
1608
  {
1606
- "content": "Failed to load memory",
1607
1609
  "type": "typography",
1610
+ "content": "Failed to load memory",
1608
1611
  "variant": "h3"
1609
1612
  },
1610
1613
  {
1614
+ "variant": "body",
1611
1615
  "type": "typography",
1612
1616
  "content": "@payload.error",
1613
- "variant": "body",
1614
1617
  "color": "muted"
1615
1618
  },
1616
1619
  {
1617
- "icon": "rotate-ccw",
1618
- "variant": "primary",
1620
+ "action": "INIT",
1619
1621
  "type": "button",
1622
+ "icon": "rotate-ccw",
1620
1623
  "label": "Retry",
1621
- "action": "INIT"
1624
+ "variant": "primary"
1622
1625
  }
1623
- ],
1624
- "align": "center",
1625
- "gap": "md",
1626
- "type": "stack"
1626
+ ]
1627
1627
  }
1628
1628
  ]
1629
1629
  ]
@@ -1798,8 +1798,8 @@
1798
1798
  "Memory",
1799
1799
  {
1800
1800
  "emit": {
1801
- "success": "MemoryLoaded",
1802
- "failure": "MemoryLoadFailed"
1801
+ "failure": "MemoryLoadFailed",
1802
+ "success": "MemoryLoaded"
1803
1803
  }
1804
1804
  }
1805
1805
  ]
@@ -1823,9 +1823,9 @@
1823
1823
  "type": "icon"
1824
1824
  },
1825
1825
  {
1826
- "content": "Memorize",
1827
1826
  "variant": "h3",
1828
- "type": "typography"
1827
+ "type": "typography",
1828
+ "content": "Memorize"
1829
1829
  }
1830
1830
  ],
1831
1831
  "gap": "sm",
@@ -1836,9 +1836,9 @@
1836
1836
  },
1837
1837
  {
1838
1838
  "type": "form-section",
1839
- "cancelEvent": "CLOSE",
1840
1839
  "submitEvent": "SAVE",
1841
1840
  "mode": "create",
1841
+ "cancelEvent": "CLOSE",
1842
1842
  "fields": [
1843
1843
  "content",
1844
1844
  "category",
@@ -2212,8 +2212,8 @@
2212
2212
  "Memory",
2213
2213
  {
2214
2214
  "emit": {
2215
- "failure": "MemoryLoadFailed",
2216
- "success": "MemoryLoaded"
2215
+ "success": "MemoryLoaded",
2216
+ "failure": "MemoryLoadFailed"
2217
2217
  }
2218
2218
  }
2219
2219
  ],
@@ -2224,8 +2224,8 @@
2224
2224
  "navItems": [
2225
2225
  {
2226
2226
  "label": "Chat",
2227
- "icon": "message-circle",
2228
- "href": "/chat"
2227
+ "href": "/chat",
2228
+ "icon": "message-circle"
2229
2229
  },
2230
2230
  {
2231
2231
  "icon": "brain",
@@ -2233,21 +2233,21 @@
2233
2233
  "href": "/memory"
2234
2234
  },
2235
2235
  {
2236
- "icon": "settings",
2236
+ "label": "Settings",
2237
2237
  "href": "/settings",
2238
- "label": "Settings"
2238
+ "icon": "settings"
2239
2239
  }
2240
2240
  ],
2241
2241
  "type": "dashboard-layout",
2242
- "appName": "Agent Assistant",
2243
2242
  "children": [
2244
2243
  {
2245
- "type": "empty-state",
2246
- "icon": "brain",
2247
2244
  "description": "Memory is ready",
2248
- "title": "Memory"
2245
+ "title": "Memory",
2246
+ "type": "empty-state",
2247
+ "icon": "brain"
2249
2248
  }
2250
- ]
2249
+ ],
2250
+ "appName": "Agent Assistant"
2251
2251
  }
2252
2252
  ]
2253
2253
  ]
@@ -2300,8 +2300,8 @@
2300
2300
  "Memory",
2301
2301
  {
2302
2302
  "emit": {
2303
- "success": "MemoryLoaded",
2304
- "failure": "MemoryLoadFailed"
2303
+ "failure": "MemoryLoadFailed",
2304
+ "success": "MemoryLoaded"
2305
2305
  }
2306
2306
  }
2307
2307
  ]
@@ -2584,15 +2584,32 @@
2584
2584
  "render-ui",
2585
2585
  "main",
2586
2586
  {
2587
+ "navItems": [
2588
+ {
2589
+ "icon": "message-circle",
2590
+ "label": "Chat",
2591
+ "href": "/chat"
2592
+ },
2593
+ {
2594
+ "href": "/memory",
2595
+ "label": "Memory",
2596
+ "icon": "brain"
2597
+ },
2598
+ {
2599
+ "label": "Settings",
2600
+ "icon": "settings",
2601
+ "href": "/settings"
2602
+ }
2603
+ ],
2587
2604
  "appName": "Agent Assistant",
2605
+ "type": "dashboard-layout",
2588
2606
  "children": [
2589
2607
  {
2590
- "type": "stack",
2591
2608
  "direction": "vertical",
2609
+ "type": "stack",
2592
2610
  "gap": "lg",
2593
2611
  "children": [
2594
2612
  {
2595
- "align": "center",
2596
2613
  "children": [
2597
2614
  {
2598
2615
  "name": "gauge",
@@ -2604,24 +2621,27 @@
2604
2621
  "variant": "h2"
2605
2622
  },
2606
2623
  {
2607
- "variant": "default",
2608
2624
  "type": "badge",
2625
+ "variant": "default",
2609
2626
  "label": "Normal"
2610
2627
  }
2611
2628
  ],
2612
- "direction": "horizontal",
2613
2629
  "type": "stack",
2614
- "gap": "sm"
2630
+ "direction": "horizontal",
2631
+ "gap": "sm",
2632
+ "align": "center"
2615
2633
  },
2616
2634
  {
2617
2635
  "type": "divider"
2618
2636
  },
2619
2637
  {
2620
- "max": "@entity.max",
2638
+ "type": "progress-bar",
2621
2639
  "value": "@entity.current",
2622
- "type": "progress-bar"
2640
+ "max": "@entity.max"
2623
2641
  },
2624
2642
  {
2643
+ "type": "stack",
2644
+ "gap": "md",
2625
2645
  "direction": "horizontal",
2626
2646
  "children": [
2627
2647
  {
@@ -2630,41 +2650,21 @@
2630
2650
  "type": "stat-display"
2631
2651
  },
2632
2652
  {
2633
- "value": "@entity.max",
2634
2653
  "label": "Max Tokens",
2635
- "type": "stat-display"
2654
+ "type": "stat-display",
2655
+ "value": "@entity.max"
2636
2656
  }
2637
- ],
2638
- "gap": "md",
2639
- "type": "stack"
2657
+ ]
2640
2658
  },
2641
2659
  {
2642
- "icon": "rotate-ccw",
2643
2660
  "label": "Reset",
2644
- "action": "RESET",
2645
2661
  "type": "button",
2646
- "variant": "ghost"
2662
+ "variant": "ghost",
2663
+ "action": "RESET",
2664
+ "icon": "rotate-ccw"
2647
2665
  }
2648
2666
  ]
2649
2667
  }
2650
- ],
2651
- "type": "dashboard-layout",
2652
- "navItems": [
2653
- {
2654
- "label": "Chat",
2655
- "href": "/chat",
2656
- "icon": "message-circle"
2657
- },
2658
- {
2659
- "label": "Memory",
2660
- "href": "/memory",
2661
- "icon": "brain"
2662
- },
2663
- {
2664
- "icon": "settings",
2665
- "label": "Settings",
2666
- "href": "/settings"
2667
- }
2668
2668
  ]
2669
2669
  }
2670
2670
  ]
@@ -2694,45 +2694,41 @@
2694
2694
  "main",
2695
2695
  {
2696
2696
  "appName": "Agent Assistant",
2697
- "type": "dashboard-layout",
2698
2697
  "children": [
2699
2698
  {
2700
2699
  "type": "stack",
2701
- "gap": "lg",
2702
- "direction": "vertical",
2703
2700
  "children": [
2704
2701
  {
2702
+ "type": "stack",
2703
+ "gap": "sm",
2705
2704
  "children": [
2706
2705
  {
2707
- "type": "icon",
2708
- "name": "gauge"
2706
+ "name": "gauge",
2707
+ "type": "icon"
2709
2708
  },
2710
2709
  {
2711
- "content": "Token Usage",
2712
2710
  "type": "typography",
2711
+ "content": "Token Usage",
2713
2712
  "variant": "h2"
2714
2713
  },
2715
2714
  {
2716
- "variant": "default",
2715
+ "type": "badge",
2717
2716
  "label": "Normal",
2718
- "type": "badge"
2717
+ "variant": "default"
2719
2718
  }
2720
2719
  ],
2721
- "type": "stack",
2722
- "direction": "horizontal",
2723
2720
  "align": "center",
2724
- "gap": "sm"
2721
+ "direction": "horizontal"
2725
2722
  },
2726
2723
  {
2727
2724
  "type": "divider"
2728
2725
  },
2729
2726
  {
2730
2727
  "type": "progress-bar",
2731
- "value": "@entity.current",
2732
- "max": "@entity.max"
2728
+ "max": "@entity.max",
2729
+ "value": "@entity.current"
2733
2730
  },
2734
2731
  {
2735
- "type": "stack",
2736
2732
  "children": [
2737
2733
  {
2738
2734
  "type": "stat-display",
@@ -2746,28 +2742,32 @@
2746
2742
  }
2747
2743
  ],
2748
2744
  "gap": "md",
2749
- "direction": "horizontal"
2745
+ "direction": "horizontal",
2746
+ "type": "stack"
2750
2747
  },
2751
2748
  {
2752
2749
  "action": "RESET",
2753
2750
  "type": "button",
2754
- "variant": "ghost",
2755
2751
  "label": "Reset",
2752
+ "variant": "ghost",
2756
2753
  "icon": "rotate-ccw"
2757
2754
  }
2758
- ]
2755
+ ],
2756
+ "gap": "lg",
2757
+ "direction": "vertical"
2759
2758
  }
2760
2759
  ],
2760
+ "type": "dashboard-layout",
2761
2761
  "navItems": [
2762
2762
  {
2763
+ "label": "Chat",
2763
2764
  "href": "/chat",
2764
- "icon": "message-circle",
2765
- "label": "Chat"
2765
+ "icon": "message-circle"
2766
2766
  },
2767
2767
  {
2768
+ "href": "/memory",
2768
2769
  "label": "Memory",
2769
- "icon": "brain",
2770
- "href": "/memory"
2770
+ "icon": "brain"
2771
2771
  },
2772
2772
  {
2773
2773
  "href": "/settings",
@@ -2814,14 +2814,29 @@
2814
2814
  "render-ui",
2815
2815
  "main",
2816
2816
  {
2817
+ "navItems": [
2818
+ {
2819
+ "label": "Chat",
2820
+ "href": "/chat",
2821
+ "icon": "message-circle"
2822
+ },
2823
+ {
2824
+ "label": "Memory",
2825
+ "icon": "brain",
2826
+ "href": "/memory"
2827
+ },
2828
+ {
2829
+ "icon": "settings",
2830
+ "label": "Settings",
2831
+ "href": "/settings"
2832
+ }
2833
+ ],
2817
2834
  "appName": "Agent Assistant",
2818
- "type": "dashboard-layout",
2819
2835
  "children": [
2820
2836
  {
2821
- "type": "stack",
2822
- "direction": "vertical",
2823
2837
  "children": [
2824
2838
  {
2839
+ "type": "stack",
2825
2840
  "direction": "horizontal",
2826
2841
  "align": "center",
2827
2842
  "children": [
@@ -2830,91 +2845,76 @@
2830
2845
  "name": "alert-triangle"
2831
2846
  },
2832
2847
  {
2833
- "content": "Token Usage",
2848
+ "type": "typography",
2834
2849
  "variant": "h2",
2835
- "type": "typography"
2850
+ "content": "Token Usage"
2836
2851
  },
2837
2852
  {
2838
- "variant": "warning",
2839
2853
  "type": "badge",
2840
- "label": "Warning"
2854
+ "label": "Warning",
2855
+ "variant": "warning"
2841
2856
  }
2842
2857
  ],
2843
- "type": "stack",
2844
2858
  "gap": "sm"
2845
2859
  },
2846
2860
  {
2847
2861
  "type": "divider"
2848
2862
  },
2849
2863
  {
2864
+ "message": "Token usage approaching limit. Consider compacting.",
2850
2865
  "type": "alert",
2851
- "variant": "warning",
2852
- "message": "Token usage approaching limit. Consider compacting."
2866
+ "variant": "warning"
2853
2867
  },
2854
2868
  {
2855
- "type": "progress-bar",
2869
+ "max": "@entity.max",
2856
2870
  "value": "@entity.current",
2857
- "max": "@entity.max"
2871
+ "type": "progress-bar"
2858
2872
  },
2859
2873
  {
2874
+ "type": "stack",
2860
2875
  "children": [
2861
2876
  {
2862
- "type": "stat-display",
2863
2877
  "label": "Tokens Used",
2864
- "value": "@entity.current"
2878
+ "value": "@entity.current",
2879
+ "type": "stat-display"
2865
2880
  },
2866
2881
  {
2867
- "value": "@entity.max",
2868
2882
  "label": "Max Tokens",
2883
+ "value": "@entity.max",
2869
2884
  "type": "stat-display"
2870
2885
  }
2871
2886
  ],
2872
- "direction": "horizontal",
2873
2887
  "gap": "md",
2874
- "type": "stack"
2888
+ "direction": "horizontal"
2875
2889
  },
2876
2890
  {
2891
+ "direction": "horizontal",
2877
2892
  "children": [
2878
2893
  {
2879
- "type": "button",
2894
+ "action": "COMPACT",
2880
2895
  "icon": "minimize-2",
2881
2896
  "variant": "primary",
2882
- "action": "COMPACT",
2897
+ "type": "button",
2883
2898
  "label": "Compact"
2884
2899
  },
2885
2900
  {
2886
2901
  "label": "Reset",
2887
2902
  "action": "RESET",
2888
- "variant": "ghost",
2889
2903
  "icon": "rotate-ccw",
2890
- "type": "button"
2904
+ "type": "button",
2905
+ "variant": "ghost"
2891
2906
  }
2892
2907
  ],
2893
- "direction": "horizontal",
2894
2908
  "type": "stack",
2895
2909
  "gap": "sm"
2896
2910
  }
2897
2911
  ],
2898
- "gap": "lg"
2912
+ "direction": "vertical",
2913
+ "gap": "lg",
2914
+ "type": "stack"
2899
2915
  }
2900
2916
  ],
2901
- "navItems": [
2902
- {
2903
- "label": "Chat",
2904
- "href": "/chat",
2905
- "icon": "message-circle"
2906
- },
2907
- {
2908
- "href": "/memory",
2909
- "label": "Memory",
2910
- "icon": "brain"
2911
- },
2912
- {
2913
- "label": "Settings",
2914
- "href": "/settings",
2915
- "icon": "settings"
2916
- }
2917
- ]
2917
+ "type": "dashboard-layout"
2918
2918
  }
2919
2919
  ]
2920
2920
  ]
@@ -2944,105 +2944,105 @@
2944
2944
  {
2945
2945
  "children": [
2946
2946
  {
2947
- "direction": "vertical",
2948
2947
  "type": "stack",
2949
2948
  "children": [
2950
2949
  {
2951
- "type": "stack",
2952
2950
  "direction": "horizontal",
2951
+ "gap": "sm",
2953
2952
  "children": [
2954
2953
  {
2955
- "name": "alert-octagon",
2956
- "type": "icon"
2954
+ "type": "icon",
2955
+ "name": "alert-octagon"
2957
2956
  },
2958
2957
  {
2959
- "content": "Token Usage",
2960
2958
  "variant": "h2",
2959
+ "content": "Token Usage",
2961
2960
  "type": "typography"
2962
2961
  },
2963
2962
  {
2964
- "type": "badge",
2965
2963
  "label": "Critical",
2966
- "variant": "danger"
2964
+ "variant": "danger",
2965
+ "type": "badge"
2967
2966
  }
2968
2967
  ],
2969
- "align": "center",
2970
- "gap": "sm"
2968
+ "type": "stack",
2969
+ "align": "center"
2971
2970
  },
2972
2971
  {
2973
2972
  "type": "divider"
2974
2973
  },
2975
2974
  {
2976
2975
  "type": "alert",
2977
- "variant": "error",
2978
- "message": "Token usage critical. Compact immediately to avoid truncation."
2976
+ "message": "Token usage critical. Compact immediately to avoid truncation.",
2977
+ "variant": "error"
2979
2978
  },
2980
2979
  {
2981
2980
  "max": "@entity.max",
2982
- "type": "progress-bar",
2983
- "value": "@entity.current"
2981
+ "value": "@entity.current",
2982
+ "type": "progress-bar"
2984
2983
  },
2985
2984
  {
2985
+ "direction": "horizontal",
2986
+ "type": "stack",
2987
+ "gap": "md",
2986
2988
  "children": [
2987
2989
  {
2988
2990
  "label": "Tokens Used",
2989
- "type": "stat-display",
2990
- "value": "@entity.current"
2991
+ "value": "@entity.current",
2992
+ "type": "stat-display"
2991
2993
  },
2992
2994
  {
2993
2995
  "label": "Max Tokens",
2994
- "value": "@entity.max",
2995
- "type": "stat-display"
2996
+ "type": "stat-display",
2997
+ "value": "@entity.max"
2996
2998
  }
2997
- ],
2998
- "type": "stack",
2999
- "gap": "md",
3000
- "direction": "horizontal"
2999
+ ]
3001
3000
  },
3002
3001
  {
3003
- "type": "stack",
3004
- "direction": "horizontal",
3002
+ "gap": "sm",
3005
3003
  "children": [
3006
3004
  {
3007
3005
  "type": "button",
3008
- "icon": "minimize-2",
3009
3006
  "action": "COMPACT",
3010
- "label": "Compact Now",
3011
- "variant": "primary"
3007
+ "variant": "primary",
3008
+ "icon": "minimize-2",
3009
+ "label": "Compact Now"
3012
3010
  },
3013
3011
  {
3012
+ "label": "Reset",
3013
+ "variant": "ghost",
3014
3014
  "icon": "rotate-ccw",
3015
- "action": "RESET",
3016
3015
  "type": "button",
3017
- "label": "Reset",
3018
- "variant": "ghost"
3016
+ "action": "RESET"
3019
3017
  }
3020
3018
  ],
3021
- "gap": "sm"
3019
+ "direction": "horizontal",
3020
+ "type": "stack"
3022
3021
  }
3023
3022
  ],
3023
+ "direction": "vertical",
3024
3024
  "gap": "lg"
3025
3025
  }
3026
3026
  ],
3027
+ "appName": "Agent Assistant",
3027
3028
  "type": "dashboard-layout",
3028
3029
  "navItems": [
3029
3030
  {
3031
+ "href": "/chat",
3030
3032
  "icon": "message-circle",
3031
- "label": "Chat",
3032
- "href": "/chat"
3033
+ "label": "Chat"
3033
3034
  },
3034
3035
  {
3035
3036
  "label": "Memory",
3036
- "icon": "brain",
3037
- "href": "/memory"
3037
+ "href": "/memory",
3038
+ "icon": "brain"
3038
3039
  },
3039
3040
  {
3040
- "href": "/settings",
3041
+ "icon": "settings",
3041
3042
  "label": "Settings",
3042
- "icon": "settings"
3043
+ "href": "/settings"
3043
3044
  }
3044
- ],
3045
- "appName": "Agent Assistant"
3045
+ ]
3046
3046
  }
3047
3047
  ]
3048
3048
  ]
@@ -3067,86 +3067,86 @@
3067
3067
  "render-ui",
3068
3068
  "main",
3069
3069
  {
3070
- "appName": "Agent Assistant",
3071
- "type": "dashboard-layout",
3072
- "navItems": [
3073
- {
3074
- "href": "/chat",
3075
- "label": "Chat",
3076
- "icon": "message-circle"
3077
- },
3078
- {
3079
- "icon": "brain",
3080
- "href": "/memory",
3081
- "label": "Memory"
3082
- },
3083
- {
3084
- "label": "Settings",
3085
- "icon": "settings",
3086
- "href": "/settings"
3087
- }
3088
- ],
3089
3070
  "children": [
3090
3071
  {
3091
3072
  "direction": "vertical",
3092
3073
  "children": [
3093
3074
  {
3094
- "align": "center",
3095
3075
  "children": [
3096
3076
  {
3097
- "name": "gauge",
3098
- "type": "icon"
3077
+ "type": "icon",
3078
+ "name": "gauge"
3099
3079
  },
3100
3080
  {
3081
+ "type": "typography",
3101
3082
  "content": "Token Usage",
3102
- "variant": "h2",
3103
- "type": "typography"
3083
+ "variant": "h2"
3104
3084
  },
3105
3085
  {
3106
3086
  "type": "badge",
3107
- "variant": "default",
3108
- "label": "Normal"
3087
+ "label": "Normal",
3088
+ "variant": "default"
3109
3089
  }
3110
3090
  ],
3111
- "direction": "horizontal",
3091
+ "gap": "sm",
3092
+ "align": "center",
3112
3093
  "type": "stack",
3113
- "gap": "sm"
3094
+ "direction": "horizontal"
3114
3095
  },
3115
3096
  {
3116
3097
  "type": "divider"
3117
3098
  },
3118
3099
  {
3100
+ "type": "progress-bar",
3119
3101
  "value": "@entity.current",
3120
- "max": "@entity.max",
3121
- "type": "progress-bar"
3102
+ "max": "@entity.max"
3122
3103
  },
3123
3104
  {
3105
+ "gap": "md",
3106
+ "direction": "horizontal",
3107
+ "type": "stack",
3124
3108
  "children": [
3125
3109
  {
3110
+ "type": "stat-display",
3126
3111
  "label": "Tokens Used",
3127
- "value": "@entity.current",
3128
- "type": "stat-display"
3112
+ "value": "@entity.current"
3129
3113
  },
3130
3114
  {
3131
3115
  "type": "stat-display",
3132
- "label": "Max Tokens",
3133
- "value": "@entity.max"
3116
+ "value": "@entity.max",
3117
+ "label": "Max Tokens"
3134
3118
  }
3135
- ],
3136
- "gap": "md",
3137
- "direction": "horizontal",
3138
- "type": "stack"
3119
+ ]
3139
3120
  },
3140
3121
  {
3141
- "icon": "rotate-ccw",
3142
- "type": "button",
3143
3122
  "action": "RESET",
3123
+ "variant": "ghost",
3144
3124
  "label": "Reset",
3145
- "variant": "ghost"
3125
+ "type": "button",
3126
+ "icon": "rotate-ccw"
3146
3127
  }
3147
3128
  ],
3148
- "type": "stack",
3149
- "gap": "lg"
3129
+ "gap": "lg",
3130
+ "type": "stack"
3131
+ }
3132
+ ],
3133
+ "appName": "Agent Assistant",
3134
+ "type": "dashboard-layout",
3135
+ "navItems": [
3136
+ {
3137
+ "label": "Chat",
3138
+ "href": "/chat",
3139
+ "icon": "message-circle"
3140
+ },
3141
+ {
3142
+ "href": "/memory",
3143
+ "label": "Memory",
3144
+ "icon": "brain"
3145
+ },
3146
+ {
3147
+ "label": "Settings",
3148
+ "icon": "settings",
3149
+ "href": "/settings"
3150
3150
  }
3151
3151
  ]
3152
3152
  }
@@ -3167,49 +3167,50 @@
3167
3167
  "render-ui",
3168
3168
  "main",
3169
3169
  {
3170
+ "appName": "Agent Assistant",
3170
3171
  "children": [
3171
3172
  {
3172
- "type": "stack",
3173
3173
  "direction": "vertical",
3174
+ "type": "stack",
3174
3175
  "children": [
3175
3176
  {
3176
- "align": "center",
3177
+ "gap": "sm",
3177
3178
  "children": [
3178
3179
  {
3179
3180
  "type": "icon",
3180
3181
  "name": "gauge"
3181
3182
  },
3182
3183
  {
3184
+ "content": "Token Usage",
3183
3185
  "variant": "h2",
3184
- "type": "typography",
3185
- "content": "Token Usage"
3186
+ "type": "typography"
3186
3187
  },
3187
3188
  {
3188
- "label": "Normal",
3189
3189
  "type": "badge",
3190
+ "label": "Normal",
3190
3191
  "variant": "default"
3191
3192
  }
3192
3193
  ],
3193
3194
  "type": "stack",
3194
3195
  "direction": "horizontal",
3195
- "gap": "sm"
3196
+ "align": "center"
3196
3197
  },
3197
3198
  {
3198
3199
  "type": "divider"
3199
3200
  },
3200
3201
  {
3201
- "max": "@entity.max",
3202
+ "type": "progress-bar",
3202
3203
  "value": "@entity.current",
3203
- "type": "progress-bar"
3204
+ "max": "@entity.max"
3204
3205
  },
3205
3206
  {
3206
- "type": "stack",
3207
+ "gap": "md",
3207
3208
  "direction": "horizontal",
3208
3209
  "children": [
3209
3210
  {
3210
- "type": "stat-display",
3211
3211
  "label": "Tokens Used",
3212
- "value": "@entity.current"
3212
+ "value": "@entity.current",
3213
+ "type": "stat-display"
3213
3214
  },
3214
3215
  {
3215
3216
  "type": "stat-display",
@@ -3217,38 +3218,37 @@
3217
3218
  "label": "Max Tokens"
3218
3219
  }
3219
3220
  ],
3220
- "gap": "md"
3221
+ "type": "stack"
3221
3222
  },
3222
3223
  {
3224
+ "type": "button",
3223
3225
  "label": "Reset",
3224
- "variant": "ghost",
3225
3226
  "icon": "rotate-ccw",
3226
- "type": "button",
3227
- "action": "RESET"
3227
+ "action": "RESET",
3228
+ "variant": "ghost"
3228
3229
  }
3229
3230
  ],
3230
3231
  "gap": "lg"
3231
3232
  }
3232
3233
  ],
3233
- "appName": "Agent Assistant",
3234
- "type": "dashboard-layout",
3235
3234
  "navItems": [
3236
3235
  {
3237
- "href": "/chat",
3238
3236
  "label": "Chat",
3237
+ "href": "/chat",
3239
3238
  "icon": "message-circle"
3240
3239
  },
3241
3240
  {
3242
- "href": "/memory",
3241
+ "icon": "brain",
3243
3242
  "label": "Memory",
3244
- "icon": "brain"
3243
+ "href": "/memory"
3245
3244
  },
3246
3245
  {
3247
- "icon": "settings",
3248
3246
  "href": "/settings",
3249
- "label": "Settings"
3247
+ "label": "Settings",
3248
+ "icon": "settings"
3250
3249
  }
3251
- ]
3250
+ ],
3251
+ "type": "dashboard-layout"
3252
3252
  }
3253
3253
  ]
3254
3254
  ]
@@ -3289,104 +3289,104 @@
3289
3289
  "main",
3290
3290
  {
3291
3291
  "type": "dashboard-layout",
3292
- "navItems": [
3293
- {
3294
- "icon": "message-circle",
3295
- "label": "Chat",
3296
- "href": "/chat"
3297
- },
3298
- {
3299
- "icon": "brain",
3300
- "href": "/memory",
3301
- "label": "Memory"
3302
- },
3303
- {
3304
- "href": "/settings",
3305
- "label": "Settings",
3306
- "icon": "settings"
3307
- }
3308
- ],
3309
- "appName": "Agent Assistant",
3310
3292
  "children": [
3311
3293
  {
3294
+ "direction": "vertical",
3295
+ "gap": "lg",
3296
+ "type": "stack",
3312
3297
  "children": [
3313
3298
  {
3299
+ "gap": "sm",
3300
+ "direction": "horizontal",
3301
+ "align": "center",
3314
3302
  "children": [
3315
3303
  {
3316
3304
  "type": "icon",
3317
3305
  "name": "alert-triangle"
3318
3306
  },
3319
3307
  {
3308
+ "content": "Token Usage",
3320
3309
  "variant": "h2",
3321
- "type": "typography",
3322
- "content": "Token Usage"
3310
+ "type": "typography"
3323
3311
  },
3324
3312
  {
3325
3313
  "label": "Warning",
3326
- "type": "badge",
3327
- "variant": "warning"
3314
+ "variant": "warning",
3315
+ "type": "badge"
3328
3316
  }
3329
3317
  ],
3330
- "direction": "horizontal",
3331
- "gap": "sm",
3332
- "align": "center",
3333
3318
  "type": "stack"
3334
3319
  },
3335
3320
  {
3336
3321
  "type": "divider"
3337
3322
  },
3338
3323
  {
3339
- "type": "alert",
3340
3324
  "variant": "warning",
3341
- "message": "Token usage approaching limit. Consider compacting."
3325
+ "message": "Token usage approaching limit. Consider compacting.",
3326
+ "type": "alert"
3342
3327
  },
3343
3328
  {
3344
3329
  "max": "@entity.max",
3345
- "type": "progress-bar",
3346
- "value": "@entity.current"
3330
+ "value": "@entity.current",
3331
+ "type": "progress-bar"
3347
3332
  },
3348
3333
  {
3334
+ "direction": "horizontal",
3335
+ "gap": "md",
3349
3336
  "type": "stack",
3350
3337
  "children": [
3351
3338
  {
3352
- "label": "Tokens Used",
3353
3339
  "value": "@entity.current",
3340
+ "label": "Tokens Used",
3354
3341
  "type": "stat-display"
3355
3342
  },
3356
3343
  {
3357
- "type": "stat-display",
3344
+ "label": "Max Tokens",
3358
3345
  "value": "@entity.max",
3359
- "label": "Max Tokens"
3346
+ "type": "stat-display"
3360
3347
  }
3361
- ],
3362
- "direction": "horizontal",
3363
- "gap": "md"
3348
+ ]
3364
3349
  },
3365
3350
  {
3366
- "type": "stack",
3367
3351
  "direction": "horizontal",
3352
+ "type": "stack",
3368
3353
  "gap": "sm",
3369
3354
  "children": [
3370
3355
  {
3356
+ "type": "button",
3371
3357
  "icon": "minimize-2",
3372
- "label": "Compact",
3373
3358
  "action": "COMPACT",
3374
- "type": "button",
3359
+ "label": "Compact",
3375
3360
  "variant": "primary"
3376
3361
  },
3377
3362
  {
3378
- "type": "button",
3379
- "icon": "rotate-ccw",
3380
3363
  "label": "Reset",
3381
3364
  "action": "RESET",
3382
- "variant": "ghost"
3365
+ "type": "button",
3366
+ "variant": "ghost",
3367
+ "icon": "rotate-ccw"
3383
3368
  }
3384
3369
  ]
3385
3370
  }
3386
- ],
3387
- "type": "stack",
3388
- "direction": "vertical",
3389
- "gap": "lg"
3371
+ ]
3372
+ }
3373
+ ],
3374
+ "appName": "Agent Assistant",
3375
+ "navItems": [
3376
+ {
3377
+ "href": "/chat",
3378
+ "icon": "message-circle",
3379
+ "label": "Chat"
3380
+ },
3381
+ {
3382
+ "href": "/memory",
3383
+ "icon": "brain",
3384
+ "label": "Memory"
3385
+ },
3386
+ {
3387
+ "href": "/settings",
3388
+ "label": "Settings",
3389
+ "icon": "settings"
3390
3390
  }
3391
3391
  ]
3392
3392
  }
@@ -3416,13 +3416,16 @@
3416
3416
  "render-ui",
3417
3417
  "main",
3418
3418
  {
3419
+ "appName": "Agent Assistant",
3420
+ "type": "dashboard-layout",
3419
3421
  "children": [
3420
3422
  {
3421
- "gap": "lg",
3422
- "direction": "vertical",
3423
3423
  "type": "stack",
3424
3424
  "children": [
3425
3425
  {
3426
+ "align": "center",
3427
+ "type": "stack",
3428
+ "gap": "sm",
3426
3429
  "direction": "horizontal",
3427
3430
  "children": [
3428
3431
  {
@@ -3430,19 +3433,16 @@
3430
3433
  "name": "alert-octagon"
3431
3434
  },
3432
3435
  {
3433
- "type": "typography",
3436
+ "content": "Token Usage",
3434
3437
  "variant": "h2",
3435
- "content": "Token Usage"
3438
+ "type": "typography"
3436
3439
  },
3437
3440
  {
3438
3441
  "variant": "danger",
3439
- "label": "Critical",
3440
- "type": "badge"
3442
+ "type": "badge",
3443
+ "label": "Critical"
3441
3444
  }
3442
- ],
3443
- "align": "center",
3444
- "gap": "sm",
3445
- "type": "stack"
3445
+ ]
3446
3446
  },
3447
3447
  {
3448
3448
  "type": "divider"
@@ -3459,64 +3459,64 @@
3459
3459
  },
3460
3460
  {
3461
3461
  "gap": "md",
3462
- "type": "stack",
3463
- "direction": "horizontal",
3464
3462
  "children": [
3465
3463
  {
3466
- "value": "@entity.current",
3467
3464
  "type": "stat-display",
3465
+ "value": "@entity.current",
3468
3466
  "label": "Tokens Used"
3469
3467
  },
3470
3468
  {
3471
3469
  "value": "@entity.max",
3472
- "type": "stat-display",
3473
- "label": "Max Tokens"
3470
+ "label": "Max Tokens",
3471
+ "type": "stat-display"
3474
3472
  }
3475
- ]
3473
+ ],
3474
+ "direction": "horizontal",
3475
+ "type": "stack"
3476
3476
  },
3477
3477
  {
3478
+ "type": "stack",
3478
3479
  "gap": "sm",
3479
3480
  "direction": "horizontal",
3480
3481
  "children": [
3481
3482
  {
3483
+ "icon": "minimize-2",
3484
+ "variant": "primary",
3482
3485
  "action": "COMPACT",
3483
3486
  "label": "Compact Now",
3484
- "type": "button",
3485
- "variant": "primary",
3486
- "icon": "minimize-2"
3487
+ "type": "button"
3487
3488
  },
3488
3489
  {
3489
- "action": "RESET",
3490
- "label": "Reset",
3491
- "icon": "rotate-ccw",
3492
3490
  "variant": "ghost",
3493
- "type": "button"
3491
+ "type": "button",
3492
+ "icon": "rotate-ccw",
3493
+ "action": "RESET",
3494
+ "label": "Reset"
3494
3495
  }
3495
- ],
3496
- "type": "stack"
3496
+ ]
3497
3497
  }
3498
- ]
3498
+ ],
3499
+ "gap": "lg",
3500
+ "direction": "vertical"
3499
3501
  }
3500
3502
  ],
3501
3503
  "navItems": [
3502
3504
  {
3503
- "icon": "message-circle",
3504
3505
  "href": "/chat",
3506
+ "icon": "message-circle",
3505
3507
  "label": "Chat"
3506
3508
  },
3507
3509
  {
3508
- "icon": "brain",
3510
+ "label": "Memory",
3509
3511
  "href": "/memory",
3510
- "label": "Memory"
3512
+ "icon": "brain"
3511
3513
  },
3512
3514
  {
3513
- "label": "Settings",
3514
3515
  "icon": "settings",
3516
+ "label": "Settings",
3515
3517
  "href": "/settings"
3516
3518
  }
3517
- ],
3518
- "appName": "Agent Assistant",
3519
- "type": "dashboard-layout"
3519
+ ]
3520
3520
  }
3521
3521
  ]
3522
3522
  ]
@@ -3544,11 +3544,12 @@
3544
3544
  "render-ui",
3545
3545
  "main",
3546
3546
  {
3547
+ "appName": "Agent Assistant",
3547
3548
  "navItems": [
3548
3549
  {
3549
- "href": "/chat",
3550
3550
  "icon": "message-circle",
3551
- "label": "Chat"
3551
+ "label": "Chat",
3552
+ "href": "/chat"
3552
3553
  },
3553
3554
  {
3554
3555
  "href": "/memory",
@@ -3556,37 +3557,37 @@
3556
3557
  "icon": "brain"
3557
3558
  },
3558
3559
  {
3559
- "icon": "settings",
3560
3560
  "href": "/settings",
3561
- "label": "Settings"
3561
+ "label": "Settings",
3562
+ "icon": "settings"
3562
3563
  }
3563
3564
  ],
3564
3565
  "children": [
3565
3566
  {
3566
- "direction": "vertical",
3567
3567
  "gap": "lg",
3568
+ "type": "stack",
3568
3569
  "children": [
3569
3570
  {
3570
- "gap": "sm",
3571
3571
  "children": [
3572
3572
  {
3573
3573
  "type": "icon",
3574
3574
  "name": "gauge"
3575
3575
  },
3576
3576
  {
3577
+ "variant": "h2",
3577
3578
  "type": "typography",
3578
- "content": "Token Usage",
3579
- "variant": "h2"
3579
+ "content": "Token Usage"
3580
3580
  },
3581
3581
  {
3582
3582
  "label": "Normal",
3583
- "type": "badge",
3584
- "variant": "default"
3583
+ "variant": "default",
3584
+ "type": "badge"
3585
3585
  }
3586
3586
  ],
3587
- "align": "center",
3587
+ "gap": "sm",
3588
+ "direction": "horizontal",
3588
3589
  "type": "stack",
3589
- "direction": "horizontal"
3590
+ "align": "center"
3590
3591
  },
3591
3592
  {
3592
3593
  "type": "divider"
@@ -3597,35 +3598,34 @@
3597
3598
  "max": "@entity.max"
3598
3599
  },
3599
3600
  {
3600
- "direction": "horizontal",
3601
- "gap": "md",
3601
+ "type": "stack",
3602
3602
  "children": [
3603
3603
  {
3604
- "type": "stat-display",
3605
3604
  "label": "Tokens Used",
3606
- "value": "@entity.current"
3605
+ "value": "@entity.current",
3606
+ "type": "stat-display"
3607
3607
  },
3608
3608
  {
3609
3609
  "type": "stat-display",
3610
- "label": "Max Tokens",
3611
- "value": "@entity.max"
3610
+ "value": "@entity.max",
3611
+ "label": "Max Tokens"
3612
3612
  }
3613
3613
  ],
3614
- "type": "stack"
3614
+ "direction": "horizontal",
3615
+ "gap": "md"
3615
3616
  },
3616
3617
  {
3617
- "type": "button",
3618
3618
  "action": "RESET",
3619
- "variant": "ghost",
3620
3619
  "icon": "rotate-ccw",
3620
+ "variant": "ghost",
3621
+ "type": "button",
3621
3622
  "label": "Reset"
3622
3623
  }
3623
3624
  ],
3624
- "type": "stack"
3625
+ "direction": "vertical"
3625
3626
  }
3626
3627
  ],
3627
- "type": "dashboard-layout",
3628
- "appName": "Agent Assistant"
3628
+ "type": "dashboard-layout"
3629
3629
  }
3630
3630
  ]
3631
3631
  ]
@@ -3652,14 +3652,14 @@
3652
3652
  {
3653
3653
  "navItems": [
3654
3654
  {
3655
- "label": "Chat",
3656
3655
  "href": "/chat",
3657
- "icon": "message-circle"
3656
+ "icon": "message-circle",
3657
+ "label": "Chat"
3658
3658
  },
3659
3659
  {
3660
+ "icon": "brain",
3660
3661
  "label": "Memory",
3661
- "href": "/memory",
3662
- "icon": "brain"
3662
+ "href": "/memory"
3663
3663
  },
3664
3664
  {
3665
3665
  "href": "/settings",
@@ -3668,14 +3668,14 @@
3668
3668
  }
3669
3669
  ],
3670
3670
  "appName": "Agent Assistant",
3671
+ "type": "dashboard-layout",
3671
3672
  "children": [
3672
3673
  {
3673
- "type": "stack",
3674
3674
  "gap": "lg",
3675
+ "type": "stack",
3676
+ "direction": "vertical",
3675
3677
  "children": [
3676
3678
  {
3677
- "type": "stack",
3678
- "gap": "sm",
3679
3679
  "children": [
3680
3680
  {
3681
3681
  "type": "icon",
@@ -3683,27 +3683,31 @@
3683
3683
  },
3684
3684
  {
3685
3685
  "variant": "h2",
3686
- "content": "Token Usage",
3687
- "type": "typography"
3686
+ "type": "typography",
3687
+ "content": "Token Usage"
3688
3688
  },
3689
3689
  {
3690
- "variant": "default",
3690
+ "type": "badge",
3691
3691
  "label": "Normal",
3692
- "type": "badge"
3692
+ "variant": "default"
3693
3693
  }
3694
3694
  ],
3695
+ "type": "stack",
3696
+ "direction": "horizontal",
3695
3697
  "align": "center",
3696
- "direction": "horizontal"
3698
+ "gap": "sm"
3697
3699
  },
3698
3700
  {
3699
3701
  "type": "divider"
3700
3702
  },
3701
3703
  {
3702
- "max": "@entity.max",
3704
+ "type": "progress-bar",
3703
3705
  "value": "@entity.current",
3704
- "type": "progress-bar"
3706
+ "max": "@entity.max"
3705
3707
  },
3706
3708
  {
3709
+ "direction": "horizontal",
3710
+ "gap": "md",
3707
3711
  "children": [
3708
3712
  {
3709
3713
  "type": "stat-display",
@@ -3711,27 +3715,23 @@
3711
3715
  "value": "@entity.current"
3712
3716
  },
3713
3717
  {
3714
- "label": "Max Tokens",
3715
3718
  "value": "@entity.max",
3719
+ "label": "Max Tokens",
3716
3720
  "type": "stat-display"
3717
3721
  }
3718
3722
  ],
3719
- "type": "stack",
3720
- "gap": "md",
3721
- "direction": "horizontal"
3723
+ "type": "stack"
3722
3724
  },
3723
3725
  {
3724
- "type": "button",
3726
+ "label": "Reset",
3725
3727
  "icon": "rotate-ccw",
3726
3728
  "variant": "ghost",
3727
- "action": "RESET",
3728
- "label": "Reset"
3729
+ "type": "button",
3730
+ "action": "RESET"
3729
3731
  }
3730
- ],
3731
- "direction": "vertical"
3732
+ ]
3732
3733
  }
3733
- ],
3734
- "type": "dashboard-layout"
3734
+ ]
3735
3735
  }
3736
3736
  ]
3737
3737
  ]
@@ -3752,12 +3752,14 @@
3752
3752
  {
3753
3753
  "children": [
3754
3754
  {
3755
- "type": "stack",
3756
3755
  "gap": "lg",
3756
+ "type": "stack",
3757
3757
  "children": [
3758
3758
  {
3759
- "direction": "horizontal",
3759
+ "type": "stack",
3760
3760
  "gap": "sm",
3761
+ "direction": "horizontal",
3762
+ "align": "center",
3761
3763
  "children": [
3762
3764
  {
3763
3765
  "type": "icon",
@@ -3765,49 +3767,47 @@
3765
3767
  },
3766
3768
  {
3767
3769
  "content": "Token Usage",
3768
- "variant": "h2",
3769
- "type": "typography"
3770
+ "type": "typography",
3771
+ "variant": "h2"
3770
3772
  },
3771
3773
  {
3772
- "label": "Normal",
3773
3774
  "variant": "default",
3775
+ "label": "Normal",
3774
3776
  "type": "badge"
3775
3777
  }
3776
- ],
3777
- "type": "stack",
3778
- "align": "center"
3778
+ ]
3779
3779
  },
3780
3780
  {
3781
3781
  "type": "divider"
3782
3782
  },
3783
3783
  {
3784
- "value": "@entity.current",
3785
3784
  "type": "progress-bar",
3786
- "max": "@entity.max"
3785
+ "max": "@entity.max",
3786
+ "value": "@entity.current"
3787
3787
  },
3788
3788
  {
3789
- "type": "stack",
3790
3789
  "gap": "md",
3790
+ "direction": "horizontal",
3791
3791
  "children": [
3792
3792
  {
3793
+ "value": "@entity.current",
3793
3794
  "type": "stat-display",
3794
- "label": "Tokens Used",
3795
- "value": "@entity.current"
3795
+ "label": "Tokens Used"
3796
3796
  },
3797
3797
  {
3798
- "label": "Max Tokens",
3798
+ "value": "@entity.max",
3799
3799
  "type": "stat-display",
3800
- "value": "@entity.max"
3800
+ "label": "Max Tokens"
3801
3801
  }
3802
3802
  ],
3803
- "direction": "horizontal"
3803
+ "type": "stack"
3804
3804
  },
3805
3805
  {
3806
- "icon": "rotate-ccw",
3807
- "label": "Reset",
3808
3806
  "variant": "ghost",
3809
- "action": "RESET",
3810
- "type": "button"
3807
+ "label": "Reset",
3808
+ "icon": "rotate-ccw",
3809
+ "type": "button",
3810
+ "action": "RESET"
3811
3811
  }
3812
3812
  ],
3813
3813
  "direction": "vertical"
@@ -3816,18 +3816,18 @@
3816
3816
  "navItems": [
3817
3817
  {
3818
3818
  "label": "Chat",
3819
- "icon": "message-circle",
3820
- "href": "/chat"
3819
+ "href": "/chat",
3820
+ "icon": "message-circle"
3821
3821
  },
3822
3822
  {
3823
+ "icon": "brain",
3823
3824
  "label": "Memory",
3824
- "href": "/memory",
3825
- "icon": "brain"
3825
+ "href": "/memory"
3826
3826
  },
3827
3827
  {
3828
+ "href": "/settings",
3828
3829
  "label": "Settings",
3829
- "icon": "settings",
3830
- "href": "/settings"
3830
+ "icon": "settings"
3831
3831
  }
3832
3832
  ],
3833
3833
  "appName": "Agent Assistant",
@@ -3859,28 +3859,14 @@
3859
3859
  "render-ui",
3860
3860
  "main",
3861
3861
  {
3862
- "navItems": [
3863
- {
3864
- "href": "/chat",
3865
- "label": "Chat",
3866
- "icon": "message-circle"
3867
- },
3868
- {
3869
- "label": "Memory",
3870
- "href": "/memory",
3871
- "icon": "brain"
3872
- },
3873
- {
3874
- "icon": "settings",
3875
- "label": "Settings",
3876
- "href": "/settings"
3877
- }
3878
- ],
3879
- "appName": "Agent Assistant",
3862
+ "type": "dashboard-layout",
3880
3863
  "children": [
3881
3864
  {
3865
+ "type": "stack",
3866
+ "direction": "vertical",
3882
3867
  "children": [
3883
3868
  {
3869
+ "direction": "horizontal",
3884
3870
  "align": "center",
3885
3871
  "children": [
3886
3872
  {
@@ -3888,78 +3874,92 @@
3888
3874
  "name": "alert-octagon"
3889
3875
  },
3890
3876
  {
3891
- "content": "Token Usage",
3892
3877
  "type": "typography",
3878
+ "content": "Token Usage",
3893
3879
  "variant": "h2"
3894
3880
  },
3895
3881
  {
3896
3882
  "label": "Critical",
3897
- "type": "badge",
3898
- "variant": "danger"
3883
+ "variant": "danger",
3884
+ "type": "badge"
3899
3885
  }
3900
3886
  ],
3901
- "type": "stack",
3902
- "direction": "horizontal",
3903
- "gap": "sm"
3887
+ "gap": "sm",
3888
+ "type": "stack"
3904
3889
  },
3905
3890
  {
3906
3891
  "type": "divider"
3907
3892
  },
3908
3893
  {
3909
3894
  "variant": "error",
3910
- "message": "Token usage critical. Compact immediately to avoid truncation.",
3911
- "type": "alert"
3895
+ "type": "alert",
3896
+ "message": "Token usage critical. Compact immediately to avoid truncation."
3912
3897
  },
3913
3898
  {
3914
- "value": "@entity.current",
3915
3899
  "max": "@entity.max",
3900
+ "value": "@entity.current",
3916
3901
  "type": "progress-bar"
3917
3902
  },
3918
3903
  {
3919
- "direction": "horizontal",
3920
3904
  "gap": "md",
3921
3905
  "children": [
3922
3906
  {
3923
- "type": "stat-display",
3924
3907
  "label": "Tokens Used",
3908
+ "type": "stat-display",
3925
3909
  "value": "@entity.current"
3926
3910
  },
3927
3911
  {
3912
+ "type": "stat-display",
3928
3913
  "label": "Max Tokens",
3929
- "value": "@entity.max",
3930
- "type": "stat-display"
3914
+ "value": "@entity.max"
3931
3915
  }
3932
3916
  ],
3933
- "type": "stack"
3917
+ "type": "stack",
3918
+ "direction": "horizontal"
3934
3919
  },
3935
3920
  {
3936
3921
  "type": "stack",
3937
- "gap": "sm",
3938
3922
  "direction": "horizontal",
3923
+ "gap": "sm",
3939
3924
  "children": [
3940
3925
  {
3926
+ "label": "Compact Now",
3941
3927
  "icon": "minimize-2",
3942
3928
  "action": "COMPACT",
3943
3929
  "type": "button",
3944
- "label": "Compact Now",
3945
3930
  "variant": "primary"
3946
3931
  },
3947
3932
  {
3933
+ "action": "RESET",
3934
+ "type": "button",
3948
3935
  "label": "Reset",
3949
- "variant": "ghost",
3950
3936
  "icon": "rotate-ccw",
3951
- "type": "button",
3952
- "action": "RESET"
3937
+ "variant": "ghost"
3953
3938
  }
3954
3939
  ]
3955
3940
  }
3956
3941
  ],
3957
- "type": "stack",
3958
- "direction": "vertical",
3959
3942
  "gap": "lg"
3960
3943
  }
3961
3944
  ],
3962
- "type": "dashboard-layout"
3945
+ "appName": "Agent Assistant",
3946
+ "navItems": [
3947
+ {
3948
+ "icon": "message-circle",
3949
+ "href": "/chat",
3950
+ "label": "Chat"
3951
+ },
3952
+ {
3953
+ "icon": "brain",
3954
+ "href": "/memory",
3955
+ "label": "Memory"
3956
+ },
3957
+ {
3958
+ "icon": "settings",
3959
+ "label": "Settings",
3960
+ "href": "/settings"
3961
+ }
3962
+ ]
3963
3963
  }
3964
3964
  ]
3965
3965
  ]
@@ -3999,8 +3999,6 @@
3999
3999
  "render-ui",
4000
4000
  "main",
4001
4001
  {
4002
- "type": "dashboard-layout",
4003
- "appName": "Agent Assistant",
4004
4002
  "navItems": [
4005
4003
  {
4006
4004
  "icon": "message-circle",
@@ -4008,8 +4006,8 @@
4008
4006
  "label": "Chat"
4009
4007
  },
4010
4008
  {
4011
- "label": "Memory",
4012
4009
  "icon": "brain",
4010
+ "label": "Memory",
4013
4011
  "href": "/memory"
4014
4012
  },
4015
4013
  {
@@ -4018,86 +4016,88 @@
4018
4016
  "icon": "settings"
4019
4017
  }
4020
4018
  ],
4019
+ "appName": "Agent Assistant",
4020
+ "type": "dashboard-layout",
4021
4021
  "children": [
4022
4022
  {
4023
+ "direction": "vertical",
4024
+ "gap": "lg",
4023
4025
  "children": [
4024
4026
  {
4027
+ "align": "center",
4028
+ "direction": "horizontal",
4029
+ "gap": "sm",
4025
4030
  "children": [
4026
4031
  {
4027
4032
  "type": "icon",
4028
4033
  "name": "alert-triangle"
4029
4034
  },
4030
4035
  {
4031
- "content": "Token Usage",
4036
+ "variant": "h2",
4032
4037
  "type": "typography",
4033
- "variant": "h2"
4038
+ "content": "Token Usage"
4034
4039
  },
4035
4040
  {
4036
4041
  "variant": "warning",
4037
- "type": "badge",
4038
- "label": "Warning"
4042
+ "label": "Warning",
4043
+ "type": "badge"
4039
4044
  }
4040
4045
  ],
4041
- "direction": "horizontal",
4042
- "align": "center",
4043
- "type": "stack",
4044
- "gap": "sm"
4046
+ "type": "stack"
4045
4047
  },
4046
4048
  {
4047
4049
  "type": "divider"
4048
4050
  },
4049
4051
  {
4050
- "type": "alert",
4051
4052
  "variant": "warning",
4052
- "message": "Token usage approaching limit. Consider compacting."
4053
+ "message": "Token usage approaching limit. Consider compacting.",
4054
+ "type": "alert"
4053
4055
  },
4054
4056
  {
4055
- "max": "@entity.max",
4056
4057
  "value": "@entity.current",
4058
+ "max": "@entity.max",
4057
4059
  "type": "progress-bar"
4058
4060
  },
4059
4061
  {
4060
- "type": "stack",
4061
- "gap": "md",
4062
+ "direction": "horizontal",
4062
4063
  "children": [
4063
4064
  {
4065
+ "type": "stat-display",
4064
4066
  "label": "Tokens Used",
4065
- "value": "@entity.current",
4066
- "type": "stat-display"
4067
+ "value": "@entity.current"
4067
4068
  },
4068
4069
  {
4069
4070
  "value": "@entity.max",
4070
- "label": "Max Tokens",
4071
- "type": "stat-display"
4071
+ "type": "stat-display",
4072
+ "label": "Max Tokens"
4072
4073
  }
4073
4074
  ],
4074
- "direction": "horizontal"
4075
+ "gap": "md",
4076
+ "type": "stack"
4075
4077
  },
4076
4078
  {
4077
- "direction": "horizontal",
4078
- "gap": "sm",
4079
4079
  "type": "stack",
4080
+ "gap": "sm",
4081
+ "direction": "horizontal",
4080
4082
  "children": [
4081
4083
  {
4082
- "label": "Compact",
4084
+ "variant": "primary",
4083
4085
  "type": "button",
4084
4086
  "action": "COMPACT",
4085
4087
  "icon": "minimize-2",
4086
- "variant": "primary"
4088
+ "label": "Compact"
4087
4089
  },
4088
4090
  {
4091
+ "type": "button",
4089
4092
  "label": "Reset",
4090
- "action": "RESET",
4091
4093
  "variant": "ghost",
4092
- "icon": "rotate-ccw",
4093
- "type": "button"
4094
+ "action": "RESET",
4095
+ "icon": "rotate-ccw"
4094
4096
  }
4095
4097
  ]
4096
4098
  }
4097
4099
  ],
4098
- "type": "stack",
4099
- "direction": "vertical",
4100
- "gap": "lg"
4100
+ "type": "stack"
4101
4101
  }
4102
4102
  ]
4103
4103
  }
@@ -4127,37 +4127,18 @@
4127
4127
  "render-ui",
4128
4128
  "main",
4129
4129
  {
4130
- "appName": "Agent Assistant",
4131
- "type": "dashboard-layout",
4132
- "navItems": [
4133
- {
4134
- "icon": "message-circle",
4135
- "href": "/chat",
4136
- "label": "Chat"
4137
- },
4138
- {
4139
- "href": "/memory",
4140
- "label": "Memory",
4141
- "icon": "brain"
4142
- },
4143
- {
4144
- "label": "Settings",
4145
- "href": "/settings",
4146
- "icon": "settings"
4147
- }
4148
- ],
4149
4130
  "children": [
4150
4131
  {
4132
+ "type": "stack",
4133
+ "direction": "vertical",
4151
4134
  "children": [
4152
4135
  {
4153
- "gap": "sm",
4154
- "direction": "horizontal",
4155
4136
  "type": "stack",
4156
4137
  "align": "center",
4157
4138
  "children": [
4158
4139
  {
4159
- "name": "gauge",
4160
- "type": "icon"
4140
+ "type": "icon",
4141
+ "name": "gauge"
4161
4142
  },
4162
4143
  {
4163
4144
  "content": "Token Usage",
@@ -4165,11 +4146,13 @@
4165
4146
  "variant": "h2"
4166
4147
  },
4167
4148
  {
4168
- "label": "Normal",
4169
4149
  "type": "badge",
4150
+ "label": "Normal",
4170
4151
  "variant": "default"
4171
4152
  }
4172
- ]
4153
+ ],
4154
+ "gap": "sm",
4155
+ "direction": "horizontal"
4173
4156
  },
4174
4157
  {
4175
4158
  "type": "divider"
@@ -4180,34 +4163,51 @@
4180
4163
  "max": "@entity.max"
4181
4164
  },
4182
4165
  {
4183
- "gap": "md",
4184
- "type": "stack",
4185
4166
  "children": [
4186
4167
  {
4187
- "value": "@entity.current",
4188
4168
  "label": "Tokens Used",
4169
+ "value": "@entity.current",
4189
4170
  "type": "stat-display"
4190
4171
  },
4191
4172
  {
4173
+ "type": "stat-display",
4192
4174
  "value": "@entity.max",
4193
- "label": "Max Tokens",
4194
- "type": "stat-display"
4175
+ "label": "Max Tokens"
4195
4176
  }
4196
4177
  ],
4197
- "direction": "horizontal"
4178
+ "direction": "horizontal",
4179
+ "gap": "md",
4180
+ "type": "stack"
4198
4181
  },
4199
4182
  {
4200
4183
  "type": "button",
4201
- "label": "Reset",
4202
4184
  "action": "RESET",
4203
- "variant": "ghost",
4204
- "icon": "rotate-ccw"
4185
+ "icon": "rotate-ccw",
4186
+ "label": "Reset",
4187
+ "variant": "ghost"
4205
4188
  }
4206
4189
  ],
4207
- "direction": "vertical",
4208
- "type": "stack",
4209
4190
  "gap": "lg"
4210
4191
  }
4192
+ ],
4193
+ "appName": "Agent Assistant",
4194
+ "type": "dashboard-layout",
4195
+ "navItems": [
4196
+ {
4197
+ "href": "/chat",
4198
+ "label": "Chat",
4199
+ "icon": "message-circle"
4200
+ },
4201
+ {
4202
+ "icon": "brain",
4203
+ "href": "/memory",
4204
+ "label": "Memory"
4205
+ },
4206
+ {
4207
+ "label": "Settings",
4208
+ "href": "/settings",
4209
+ "icon": "settings"
4210
+ }
4211
4211
  ]
4212
4212
  }
4213
4213
  ]
@@ -4233,13 +4233,12 @@
4233
4233
  "render-ui",
4234
4234
  "main",
4235
4235
  {
4236
+ "type": "dashboard-layout",
4236
4237
  "children": [
4237
4238
  {
4238
- "type": "stack",
4239
4239
  "children": [
4240
4240
  {
4241
- "align": "center",
4242
- "type": "stack",
4241
+ "direction": "horizontal",
4243
4242
  "gap": "sm",
4244
4243
  "children": [
4245
4244
  {
@@ -4247,61 +4246,61 @@
4247
4246
  "type": "icon"
4248
4247
  },
4249
4248
  {
4250
- "variant": "h2",
4251
4249
  "content": "Token Usage",
4250
+ "variant": "h2",
4252
4251
  "type": "typography"
4253
4252
  },
4254
4253
  {
4255
- "variant": "default",
4256
4254
  "label": "Normal",
4257
- "type": "badge"
4255
+ "type": "badge",
4256
+ "variant": "default"
4258
4257
  }
4259
4258
  ],
4260
- "direction": "horizontal"
4259
+ "type": "stack",
4260
+ "align": "center"
4261
4261
  },
4262
4262
  {
4263
4263
  "type": "divider"
4264
4264
  },
4265
4265
  {
4266
- "max": "@entity.max",
4266
+ "type": "progress-bar",
4267
4267
  "value": "@entity.current",
4268
- "type": "progress-bar"
4268
+ "max": "@entity.max"
4269
4269
  },
4270
4270
  {
4271
- "type": "stack",
4272
- "gap": "md",
4273
- "direction": "horizontal",
4271
+ "type": "stack",
4274
4272
  "children": [
4275
4273
  {
4274
+ "type": "stat-display",
4276
4275
  "label": "Tokens Used",
4277
- "value": "@entity.current",
4278
- "type": "stat-display"
4276
+ "value": "@entity.current"
4279
4277
  },
4280
4278
  {
4279
+ "type": "stat-display",
4281
4280
  "label": "Max Tokens",
4282
- "value": "@entity.max",
4283
- "type": "stat-display"
4281
+ "value": "@entity.max"
4284
4282
  }
4285
- ]
4283
+ ],
4284
+ "direction": "horizontal",
4285
+ "gap": "md"
4286
4286
  },
4287
4287
  {
4288
- "label": "Reset",
4289
4288
  "variant": "ghost",
4290
- "icon": "rotate-ccw",
4289
+ "type": "button",
4290
+ "label": "Reset",
4291
4291
  "action": "RESET",
4292
- "type": "button"
4292
+ "icon": "rotate-ccw"
4293
4293
  }
4294
4294
  ],
4295
4295
  "direction": "vertical",
4296
- "gap": "lg"
4296
+ "gap": "lg",
4297
+ "type": "stack"
4297
4298
  }
4298
4299
  ],
4299
- "type": "dashboard-layout",
4300
- "appName": "Agent Assistant",
4301
4300
  "navItems": [
4302
4301
  {
4303
- "label": "Chat",
4304
4302
  "href": "/chat",
4303
+ "label": "Chat",
4305
4304
  "icon": "message-circle"
4306
4305
  },
4307
4306
  {
@@ -4311,10 +4310,11 @@
4311
4310
  },
4312
4311
  {
4313
4312
  "label": "Settings",
4314
- "href": "/settings",
4315
- "icon": "settings"
4313
+ "icon": "settings",
4314
+ "href": "/settings"
4316
4315
  }
4317
- ]
4316
+ ],
4317
+ "appName": "Agent Assistant"
4318
4318
  }
4319
4319
  ]
4320
4320
  ]
@@ -4333,42 +4333,42 @@
4333
4333
  "render-ui",
4334
4334
  "main",
4335
4335
  {
4336
+ "type": "dashboard-layout",
4336
4337
  "children": [
4337
4338
  {
4338
- "direction": "vertical",
4339
- "type": "stack",
4340
4339
  "children": [
4341
4340
  {
4342
4341
  "direction": "horizontal",
4343
- "type": "stack",
4344
- "gap": "sm",
4345
4342
  "align": "center",
4343
+ "type": "stack",
4346
4344
  "children": [
4347
4345
  {
4348
- "type": "icon",
4349
- "name": "gauge"
4346
+ "name": "gauge",
4347
+ "type": "icon"
4350
4348
  },
4351
4349
  {
4352
- "content": "Token Usage",
4353
4350
  "type": "typography",
4351
+ "content": "Token Usage",
4354
4352
  "variant": "h2"
4355
4353
  },
4356
4354
  {
4355
+ "variant": "default",
4357
4356
  "type": "badge",
4358
- "label": "Normal",
4359
- "variant": "default"
4357
+ "label": "Normal"
4360
4358
  }
4361
- ]
4359
+ ],
4360
+ "gap": "sm"
4362
4361
  },
4363
4362
  {
4364
4363
  "type": "divider"
4365
4364
  },
4366
4365
  {
4366
+ "value": "@entity.current",
4367
4367
  "type": "progress-bar",
4368
- "max": "@entity.max",
4369
- "value": "@entity.current"
4368
+ "max": "@entity.max"
4370
4369
  },
4371
4370
  {
4371
+ "type": "stack",
4372
4372
  "direction": "horizontal",
4373
4373
  "gap": "md",
4374
4374
  "children": [
@@ -4379,25 +4379,24 @@
4379
4379
  },
4380
4380
  {
4381
4381
  "value": "@entity.max",
4382
- "type": "stat-display",
4383
- "label": "Max Tokens"
4382
+ "label": "Max Tokens",
4383
+ "type": "stat-display"
4384
4384
  }
4385
- ],
4386
- "type": "stack"
4385
+ ]
4387
4386
  },
4388
4387
  {
4389
- "type": "button",
4388
+ "icon": "rotate-ccw",
4390
4389
  "action": "RESET",
4391
- "variant": "ghost",
4392
4390
  "label": "Reset",
4393
- "icon": "rotate-ccw"
4391
+ "variant": "ghost",
4392
+ "type": "button"
4394
4393
  }
4395
4394
  ],
4396
- "gap": "lg"
4395
+ "direction": "vertical",
4396
+ "gap": "lg",
4397
+ "type": "stack"
4397
4398
  }
4398
4399
  ],
4399
- "type": "dashboard-layout",
4400
- "appName": "Agent Assistant",
4401
4400
  "navItems": [
4402
4401
  {
4403
4402
  "label": "Chat",
@@ -4406,15 +4405,16 @@
4406
4405
  },
4407
4406
  {
4408
4407
  "href": "/memory",
4409
- "icon": "brain",
4410
- "label": "Memory"
4408
+ "label": "Memory",
4409
+ "icon": "brain"
4411
4410
  },
4412
4411
  {
4413
4412
  "icon": "settings",
4414
- "href": "/settings",
4415
- "label": "Settings"
4413
+ "label": "Settings",
4414
+ "href": "/settings"
4416
4415
  }
4417
- ]
4416
+ ],
4417
+ "appName": "Agent Assistant"
4418
4418
  }
4419
4419
  ]
4420
4420
  ]
@@ -4550,18 +4550,42 @@
4550
4550
  "render-ui",
4551
4551
  "main",
4552
4552
  {
4553
+ "navItems": [
4554
+ {
4555
+ "href": "/chat",
4556
+ "label": "Chat",
4557
+ "icon": "message-circle"
4558
+ },
4559
+ {
4560
+ "icon": "brain",
4561
+ "label": "Memory",
4562
+ "href": "/memory"
4563
+ },
4564
+ {
4565
+ "icon": "settings",
4566
+ "label": "Settings",
4567
+ "href": "/settings"
4568
+ }
4569
+ ],
4570
+ "appName": "Agent Assistant",
4571
+ "type": "dashboard-layout",
4553
4572
  "children": [
4554
4573
  {
4555
4574
  "type": "stack",
4556
4575
  "direction": "vertical",
4557
4576
  "children": [
4558
4577
  {
4578
+ "gap": "md",
4579
+ "direction": "horizontal",
4580
+ "justify": "between",
4581
+ "type": "stack",
4582
+ "align": "center",
4559
4583
  "children": [
4560
4584
  {
4561
- "gap": "md",
4562
4585
  "align": "center",
4563
- "type": "stack",
4564
4586
  "direction": "horizontal",
4587
+ "type": "stack",
4588
+ "gap": "md",
4565
4589
  "children": [
4566
4590
  {
4567
4591
  "name": "layers",
@@ -4569,63 +4593,39 @@
4569
4593
  },
4570
4594
  {
4571
4595
  "variant": "h2",
4572
- "type": "typography",
4573
- "content": "Context Window Alert"
4596
+ "content": "Context Window Alert",
4597
+ "type": "typography"
4574
4598
  }
4575
4599
  ]
4576
4600
  },
4577
4601
  {
4578
- "type": "button",
4602
+ "action": "HIDE",
4579
4603
  "label": "Dismiss",
4580
4604
  "variant": "ghost",
4581
- "icon": "x",
4582
- "action": "HIDE"
4605
+ "type": "button",
4606
+ "icon": "x"
4583
4607
  }
4584
- ],
4585
- "align": "center",
4586
- "justify": "between",
4587
- "direction": "horizontal",
4588
- "type": "stack",
4589
- "gap": "md"
4608
+ ]
4590
4609
  },
4591
4610
  {
4592
4611
  "type": "divider"
4593
4612
  },
4594
4613
  {
4595
- "variant": "@entity.notificationType",
4596
4614
  "message": "@entity.message",
4597
- "type": "alert"
4615
+ "type": "alert",
4616
+ "variant": "@entity.notificationType"
4598
4617
  },
4599
4618
  {
4600
4619
  "type": "toast-slot"
4601
4620
  },
4602
4621
  {
4603
- "message": "@entity.message",
4604
4622
  "variant": "warning",
4605
- "type": "alert"
4623
+ "type": "alert",
4624
+ "message": "@entity.message"
4606
4625
  }
4607
4626
  ],
4608
4627
  "gap": "lg"
4609
4628
  }
4610
- ],
4611
- "appName": "Agent Assistant",
4612
- "type": "dashboard-layout",
4613
- "navItems": [
4614
- {
4615
- "icon": "message-circle",
4616
- "href": "/chat",
4617
- "label": "Chat"
4618
- },
4619
- {
4620
- "href": "/memory",
4621
- "label": "Memory",
4622
- "icon": "brain"
4623
- },
4624
- {
4625
- "href": "/settings",
4626
- "icon": "settings",
4627
- "label": "Settings"
4628
- }
4629
4629
  ]
4630
4630
  }
4631
4631
  ]
@@ -4651,13 +4651,16 @@
4651
4651
  "main",
4652
4652
  {
4653
4653
  "appName": "Agent Assistant",
4654
+ "type": "dashboard-layout",
4654
4655
  "children": [
4655
4656
  {
4656
- "gap": "lg",
4657
4657
  "type": "stack",
4658
- "direction": "vertical",
4659
4658
  "children": [
4660
4659
  {
4660
+ "gap": "md",
4661
+ "align": "center",
4662
+ "type": "stack",
4663
+ "justify": "between",
4661
4664
  "children": [
4662
4665
  {
4663
4666
  "children": [
@@ -4666,65 +4669,62 @@
4666
4669
  "name": "layers"
4667
4670
  },
4668
4671
  {
4672
+ "type": "typography",
4669
4673
  "variant": "h2",
4670
- "content": "Context Window Alert",
4671
- "type": "typography"
4674
+ "content": "Context Window Alert"
4672
4675
  }
4673
4676
  ],
4674
- "direction": "horizontal",
4675
- "align": "center",
4676
4677
  "gap": "md",
4677
- "type": "stack"
4678
+ "align": "center",
4679
+ "type": "stack",
4680
+ "direction": "horizontal"
4678
4681
  },
4679
4682
  {
4680
- "label": "Dismiss",
4681
- "type": "button",
4682
4683
  "action": "HIDE",
4684
+ "variant": "ghost",
4685
+ "label": "Dismiss",
4683
4686
  "icon": "x",
4684
- "variant": "ghost"
4687
+ "type": "button"
4685
4688
  }
4686
4689
  ],
4687
- "gap": "md",
4688
- "justify": "between",
4689
- "type": "stack",
4690
- "align": "center",
4691
4690
  "direction": "horizontal"
4692
4691
  },
4693
4692
  {
4694
4693
  "type": "divider"
4695
4694
  },
4696
4695
  {
4697
- "message": "@entity.message",
4698
4696
  "type": "alert",
4699
- "variant": "@entity.notificationType"
4697
+ "variant": "@entity.notificationType",
4698
+ "message": "@entity.message"
4700
4699
  },
4701
4700
  {
4702
4701
  "type": "toast-slot"
4703
4702
  },
4704
4703
  {
4705
- "variant": "warning",
4704
+ "type": "alert",
4706
4705
  "message": "@entity.message",
4707
- "type": "alert"
4706
+ "variant": "warning"
4708
4707
  }
4709
- ]
4708
+ ],
4709
+ "direction": "vertical",
4710
+ "gap": "lg"
4710
4711
  }
4711
4712
  ],
4712
- "type": "dashboard-layout",
4713
4713
  "navItems": [
4714
4714
  {
4715
4715
  "href": "/chat",
4716
- "label": "Chat",
4717
- "icon": "message-circle"
4716
+ "icon": "message-circle",
4717
+ "label": "Chat"
4718
4718
  },
4719
4719
  {
4720
- "icon": "brain",
4721
4720
  "href": "/memory",
4721
+ "icon": "brain",
4722
4722
  "label": "Memory"
4723
4723
  },
4724
4724
  {
4725
4725
  "label": "Settings",
4726
- "href": "/settings",
4727
- "icon": "settings"
4726
+ "icon": "settings",
4727
+ "href": "/settings"
4728
4728
  }
4729
4729
  ]
4730
4730
  }
@@ -4913,21 +4913,23 @@
4913
4913
  "render-ui",
4914
4914
  "main",
4915
4915
  {
4916
+ "appName": "Agent Assistant",
4917
+ "type": "dashboard-layout",
4916
4918
  "navItems": [
4917
4919
  {
4918
- "label": "Chat",
4920
+ "href": "/chat",
4919
4921
  "icon": "message-circle",
4920
- "href": "/chat"
4922
+ "label": "Chat"
4921
4923
  },
4922
4924
  {
4923
- "label": "Memory",
4924
4925
  "href": "/memory",
4926
+ "label": "Memory",
4925
4927
  "icon": "brain"
4926
4928
  },
4927
4929
  {
4928
4930
  "icon": "settings",
4929
- "href": "/settings",
4930
- "label": "Settings"
4931
+ "label": "Settings",
4932
+ "href": "/settings"
4931
4933
  }
4932
4934
  ],
4933
4935
  "children": [
@@ -4937,9 +4939,7 @@
4937
4939
  "description": "Context Window is ready",
4938
4940
  "title": "Context Window"
4939
4941
  }
4940
- ],
4941
- "type": "dashboard-layout",
4942
- "appName": "Agent Assistant"
4942
+ ]
4943
4943
  }
4944
4944
  ]
4945
4945
  ]
@@ -5090,8 +5090,8 @@
5090
5090
  "emit",
5091
5091
  "SHOW",
5092
5092
  {
5093
- "notificationType": "error",
5094
- "message": "Token usage at limit"
5093
+ "message": "Token usage at limit",
5094
+ "notificationType": "error"
5095
5095
  }
5096
5096
  ]
5097
5097
  ]
@@ -5494,58 +5494,56 @@
5494
5494
  {
5495
5495
  "navItems": [
5496
5496
  {
5497
+ "label": "Chat",
5497
5498
  "href": "/chat",
5498
- "icon": "message-circle",
5499
- "label": "Chat"
5499
+ "icon": "message-circle"
5500
5500
  },
5501
5501
  {
5502
- "label": "Memory",
5502
+ "href": "/memory",
5503
5503
  "icon": "brain",
5504
- "href": "/memory"
5504
+ "label": "Memory"
5505
5505
  },
5506
5506
  {
5507
- "label": "Settings",
5507
+ "href": "/settings",
5508
5508
  "icon": "settings",
5509
- "href": "/settings"
5509
+ "label": "Settings"
5510
5510
  }
5511
5511
  ],
5512
5512
  "type": "dashboard-layout",
5513
5513
  "children": [
5514
5514
  {
5515
- "gap": "lg",
5516
5515
  "direction": "vertical",
5517
- "type": "stack",
5518
5516
  "children": [
5519
5517
  {
5518
+ "type": "stack",
5520
5519
  "justify": "between",
5521
- "gap": "md",
5522
5520
  "children": [
5523
5521
  {
5524
- "direction": "horizontal",
5522
+ "type": "stack",
5525
5523
  "gap": "md",
5524
+ "direction": "horizontal",
5526
5525
  "children": [
5527
5526
  {
5528
- "name": "repeat",
5529
- "type": "icon"
5527
+ "type": "icon",
5528
+ "name": "repeat"
5530
5529
  },
5531
5530
  {
5532
- "type": "typography",
5533
5531
  "content": "Switch Provider",
5532
+ "type": "typography",
5534
5533
  "variant": "h2"
5535
5534
  }
5536
- ],
5537
- "type": "stack"
5535
+ ]
5538
5536
  },
5539
5537
  {
5540
- "variant": "primary",
5541
5538
  "icon": "repeat",
5542
- "action": "SWITCH",
5543
5539
  "type": "button",
5544
- "label": "Open"
5540
+ "action": "SWITCH",
5541
+ "label": "Open",
5542
+ "variant": "primary"
5545
5543
  }
5546
5544
  ],
5547
5545
  "direction": "horizontal",
5548
- "type": "stack"
5546
+ "gap": "md"
5549
5547
  },
5550
5548
  {
5551
5549
  "type": "divider"
@@ -5556,7 +5554,9 @@
5556
5554
  "icon": "repeat",
5557
5555
  "type": "empty-state"
5558
5556
  }
5559
- ]
5557
+ ],
5558
+ "type": "stack",
5559
+ "gap": "lg"
5560
5560
  }
5561
5561
  ],
5562
5562
  "appName": "Agent Assistant"
@@ -5574,8 +5574,8 @@
5574
5574
  "ProviderConfig",
5575
5575
  {
5576
5576
  "emit": {
5577
- "success": "ProviderConfigLoaded",
5578
- "failure": "ProviderConfigLoadFailed"
5577
+ "failure": "ProviderConfigLoadFailed",
5578
+ "success": "ProviderConfigLoaded"
5579
5579
  }
5580
5580
  }
5581
5581
  ],
@@ -5583,36 +5583,36 @@
5583
5583
  "render-ui",
5584
5584
  "modal",
5585
5585
  {
5586
- "direction": "vertical",
5587
- "gap": "md",
5588
5586
  "type": "stack",
5587
+ "gap": "md",
5588
+ "direction": "vertical",
5589
5589
  "children": [
5590
5590
  {
5591
+ "direction": "horizontal",
5592
+ "type": "stack",
5593
+ "gap": "sm",
5591
5594
  "children": [
5592
5595
  {
5593
- "name": "repeat",
5594
- "type": "icon"
5596
+ "type": "icon",
5597
+ "name": "repeat"
5595
5598
  },
5596
5599
  {
5597
5600
  "type": "typography",
5598
5601
  "variant": "h3",
5599
5602
  "content": "Switch Provider"
5600
5603
  }
5601
- ],
5602
- "type": "stack",
5603
- "direction": "horizontal",
5604
- "gap": "sm"
5604
+ ]
5605
5605
  },
5606
5606
  {
5607
5607
  "type": "divider"
5608
5608
  },
5609
5609
  {
5610
- "type": "stack",
5610
+ "direction": "horizontal",
5611
5611
  "children": [
5612
5612
  {
5613
+ "content": "Current:",
5613
5614
  "type": "typography",
5614
- "variant": "caption",
5615
- "content": "Current:"
5615
+ "variant": "caption"
5616
5616
  },
5617
5617
  {
5618
5618
  "label": "@entity.currentProvider",
@@ -5623,19 +5623,19 @@
5623
5623
  "label": "@entity.currentModel"
5624
5624
  }
5625
5625
  ],
5626
- "direction": "horizontal",
5627
- "gap": "md"
5626
+ "gap": "md",
5627
+ "type": "stack"
5628
5628
  },
5629
5629
  {
5630
- "mode": "edit",
5631
- "type": "form-section",
5632
5630
  "submitEvent": "SAVE",
5633
- "entity": "@entity",
5631
+ "type": "form-section",
5632
+ "mode": "edit",
5634
5633
  "cancelEvent": "CLOSE",
5635
5634
  "fields": [
5636
5635
  "currentProvider",
5637
5636
  "currentModel"
5638
- ]
5637
+ ],
5638
+ "entity": "@entity"
5639
5639
  }
5640
5640
  ]
5641
5641
  }
@@ -5662,8 +5662,8 @@
5662
5662
  "ProviderConfig",
5663
5663
  {
5664
5664
  "emit": {
5665
- "failure": "ProviderConfigLoadFailed",
5666
- "success": "ProviderConfigLoaded"
5665
+ "success": "ProviderConfigLoaded",
5666
+ "failure": "ProviderConfigLoadFailed"
5667
5667
  }
5668
5668
  }
5669
5669
  ],
@@ -5671,8 +5671,24 @@
5671
5671
  "render-ui",
5672
5672
  "main",
5673
5673
  {
5674
- "type": "dashboard-layout",
5675
5674
  "appName": "Agent Assistant",
5675
+ "navItems": [
5676
+ {
5677
+ "label": "Chat",
5678
+ "href": "/chat",
5679
+ "icon": "message-circle"
5680
+ },
5681
+ {
5682
+ "label": "Memory",
5683
+ "icon": "brain",
5684
+ "href": "/memory"
5685
+ },
5686
+ {
5687
+ "label": "Settings",
5688
+ "href": "/settings",
5689
+ "icon": "settings"
5690
+ }
5691
+ ],
5676
5692
  "children": [
5677
5693
  {
5678
5694
  "direction": "vertical",
@@ -5680,65 +5696,49 @@
5680
5696
  "type": "stack",
5681
5697
  "children": [
5682
5698
  {
5683
- "direction": "horizontal",
5684
- "justify": "between",
5685
5699
  "children": [
5686
5700
  {
5687
- "gap": "md",
5701
+ "type": "stack",
5702
+ "direction": "horizontal",
5688
5703
  "children": [
5689
5704
  {
5690
5705
  "type": "icon",
5691
5706
  "name": "repeat"
5692
5707
  },
5693
5708
  {
5709
+ "type": "typography",
5694
5710
  "content": "Switch Provider",
5695
- "variant": "h2",
5696
- "type": "typography"
5711
+ "variant": "h2"
5697
5712
  }
5698
5713
  ],
5699
- "type": "stack",
5700
- "direction": "horizontal"
5714
+ "gap": "md"
5701
5715
  },
5702
5716
  {
5703
- "variant": "primary",
5717
+ "action": "SWITCH",
5718
+ "type": "button",
5704
5719
  "icon": "repeat",
5705
5720
  "label": "Open",
5706
- "action": "SWITCH",
5707
- "type": "button"
5721
+ "variant": "primary"
5708
5722
  }
5709
5723
  ],
5710
5724
  "gap": "md",
5725
+ "direction": "horizontal",
5726
+ "justify": "between",
5711
5727
  "type": "stack"
5712
5728
  },
5713
5729
  {
5714
5730
  "type": "divider"
5715
5731
  },
5716
5732
  {
5717
- "title": "Nothing open",
5718
5733
  "icon": "repeat",
5734
+ "type": "empty-state",
5719
5735
  "description": "Click Open to view details in a modal overlay.",
5720
- "type": "empty-state"
5736
+ "title": "Nothing open"
5721
5737
  }
5722
5738
  ]
5723
5739
  }
5724
5740
  ],
5725
- "navItems": [
5726
- {
5727
- "label": "Chat",
5728
- "icon": "message-circle",
5729
- "href": "/chat"
5730
- },
5731
- {
5732
- "href": "/memory",
5733
- "label": "Memory",
5734
- "icon": "brain"
5735
- },
5736
- {
5737
- "label": "Settings",
5738
- "href": "/settings",
5739
- "icon": "settings"
5740
- }
5741
- ]
5741
+ "type": "dashboard-layout"
5742
5742
  }
5743
5743
  ]
5744
5744
  ]
@@ -5755,8 +5755,8 @@
5755
5755
  "@payload.data",
5756
5756
  {
5757
5757
  "emit": {
5758
- "success": "ProviderConfigUpdated",
5759
- "failure": "ProviderConfigUpdateFailed"
5758
+ "failure": "ProviderConfigUpdateFailed",
5759
+ "success": "ProviderConfigUpdated"
5760
5760
  }
5761
5761
  }
5762
5762
  ],
@@ -5774,8 +5774,8 @@
5774
5774
  "ProviderConfig",
5775
5775
  {
5776
5776
  "emit": {
5777
- "failure": "ProviderConfigLoadFailed",
5778
- "success": "ProviderConfigLoaded"
5777
+ "success": "ProviderConfigLoaded",
5778
+ "failure": "ProviderConfigLoadFailed"
5779
5779
  }
5780
5780
  }
5781
5781
  ],
@@ -5783,74 +5783,74 @@
5783
5783
  "render-ui",
5784
5784
  "main",
5785
5785
  {
5786
- "type": "dashboard-layout",
5787
- "navItems": [
5788
- {
5789
- "icon": "message-circle",
5790
- "href": "/chat",
5791
- "label": "Chat"
5792
- },
5793
- {
5794
- "href": "/memory",
5795
- "icon": "brain",
5796
- "label": "Memory"
5797
- },
5798
- {
5799
- "href": "/settings",
5800
- "label": "Settings",
5801
- "icon": "settings"
5802
- }
5803
- ],
5804
5786
  "appName": "Agent Assistant",
5805
5787
  "children": [
5806
5788
  {
5807
5789
  "direction": "vertical",
5808
- "gap": "lg",
5790
+ "type": "stack",
5809
5791
  "children": [
5810
5792
  {
5793
+ "justify": "between",
5811
5794
  "children": [
5812
5795
  {
5796
+ "gap": "md",
5797
+ "type": "stack",
5798
+ "direction": "horizontal",
5813
5799
  "children": [
5814
5800
  {
5815
5801
  "type": "icon",
5816
5802
  "name": "repeat"
5817
5803
  },
5818
5804
  {
5819
- "content": "Switch Provider",
5820
5805
  "variant": "h2",
5821
- "type": "typography"
5806
+ "type": "typography",
5807
+ "content": "Switch Provider"
5822
5808
  }
5823
- ],
5824
- "direction": "horizontal",
5825
- "type": "stack",
5826
- "gap": "md"
5809
+ ]
5827
5810
  },
5828
5811
  {
5812
+ "label": "Open",
5829
5813
  "variant": "primary",
5830
- "type": "button",
5831
5814
  "icon": "repeat",
5832
- "label": "Open",
5815
+ "type": "button",
5833
5816
  "action": "SWITCH"
5834
5817
  }
5835
5818
  ],
5836
5819
  "direction": "horizontal",
5837
- "justify": "between",
5838
- "type": "stack",
5839
- "gap": "md"
5820
+ "gap": "md",
5821
+ "type": "stack"
5840
5822
  },
5841
5823
  {
5842
5824
  "type": "divider"
5843
5825
  },
5844
5826
  {
5845
- "icon": "repeat",
5846
- "type": "empty-state",
5827
+ "description": "Click Open to view details in a modal overlay.",
5847
5828
  "title": "Nothing open",
5848
- "description": "Click Open to view details in a modal overlay."
5829
+ "type": "empty-state",
5830
+ "icon": "repeat"
5849
5831
  }
5850
5832
  ],
5851
- "type": "stack"
5833
+ "gap": "lg"
5852
5834
  }
5853
- ]
5835
+ ],
5836
+ "navItems": [
5837
+ {
5838
+ "href": "/chat",
5839
+ "icon": "message-circle",
5840
+ "label": "Chat"
5841
+ },
5842
+ {
5843
+ "icon": "brain",
5844
+ "label": "Memory",
5845
+ "href": "/memory"
5846
+ },
5847
+ {
5848
+ "icon": "settings",
5849
+ "label": "Settings",
5850
+ "href": "/settings"
5851
+ }
5852
+ ],
5853
+ "type": "dashboard-layout"
5854
5854
  }
5855
5855
  ]
5856
5856
  ]
@@ -5988,13 +5988,13 @@
5988
5988
  {
5989
5989
  "navItems": [
5990
5990
  {
5991
- "icon": "message-circle",
5992
5991
  "label": "Chat",
5992
+ "icon": "message-circle",
5993
5993
  "href": "/chat"
5994
5994
  },
5995
5995
  {
5996
- "label": "Memory",
5997
5996
  "icon": "brain",
5997
+ "label": "Memory",
5998
5998
  "href": "/memory"
5999
5999
  },
6000
6000
  {
@@ -6003,66 +6003,66 @@
6003
6003
  "icon": "settings"
6004
6004
  }
6005
6005
  ],
6006
+ "type": "dashboard-layout",
6006
6007
  "children": [
6007
6008
  {
6008
- "type": "stack",
6009
6009
  "children": [
6010
6010
  {
6011
- "justify": "between",
6012
- "gap": "md",
6013
- "type": "stack",
6014
- "direction": "horizontal",
6015
6011
  "align": "center",
6012
+ "justify": "between",
6016
6013
  "children": [
6017
6014
  {
6018
6015
  "gap": "md",
6019
6016
  "align": "center",
6017
+ "type": "stack",
6018
+ "direction": "horizontal",
6020
6019
  "children": [
6021
6020
  {
6022
- "name": "server",
6023
- "type": "icon"
6021
+ "type": "icon",
6022
+ "name": "server"
6024
6023
  },
6025
6024
  {
6025
+ "type": "typography",
6026
6026
  "content": "Provider Status",
6027
- "variant": "h2",
6028
- "type": "typography"
6027
+ "variant": "h2"
6029
6028
  }
6030
- ],
6031
- "direction": "horizontal",
6032
- "type": "stack"
6029
+ ]
6033
6030
  },
6034
6031
  {
6032
+ "action": "HIDE",
6035
6033
  "type": "button",
6036
6034
  "variant": "ghost",
6037
- "action": "HIDE",
6038
6035
  "icon": "x",
6039
6036
  "label": "Dismiss"
6040
6037
  }
6041
- ]
6038
+ ],
6039
+ "type": "stack",
6040
+ "direction": "horizontal",
6041
+ "gap": "md"
6042
6042
  },
6043
6043
  {
6044
6044
  "type": "divider"
6045
6045
  },
6046
6046
  {
6047
+ "variant": "@entity.notificationType",
6047
6048
  "type": "alert",
6048
- "message": "@entity.message",
6049
- "variant": "@entity.notificationType"
6049
+ "message": "@entity.message"
6050
6050
  },
6051
6051
  {
6052
6052
  "type": "toast-slot"
6053
6053
  },
6054
6054
  {
6055
+ "message": "@entity.message",
6055
6056
  "type": "alert",
6056
- "variant": "warning",
6057
- "message": "@entity.message"
6057
+ "variant": "warning"
6058
6058
  }
6059
6059
  ],
6060
- "direction": "vertical",
6061
- "gap": "lg"
6060
+ "gap": "lg",
6061
+ "type": "stack",
6062
+ "direction": "vertical"
6062
6063
  }
6063
6064
  ],
6064
- "appName": "Agent Assistant",
6065
- "type": "dashboard-layout"
6065
+ "appName": "Agent Assistant"
6066
6066
  }
6067
6067
  ]
6068
6068
  ]
@@ -6086,32 +6086,15 @@
6086
6086
  "render-ui",
6087
6087
  "main",
6088
6088
  {
6089
- "navItems": [
6090
- {
6091
- "href": "/chat",
6092
- "icon": "message-circle",
6093
- "label": "Chat"
6094
- },
6095
- {
6096
- "icon": "brain",
6097
- "label": "Memory",
6098
- "href": "/memory"
6099
- },
6100
- {
6101
- "label": "Settings",
6102
- "href": "/settings",
6103
- "icon": "settings"
6104
- }
6105
- ],
6089
+ "type": "dashboard-layout",
6090
+ "appName": "Agent Assistant",
6106
6091
  "children": [
6107
6092
  {
6108
6093
  "type": "stack",
6109
6094
  "direction": "vertical",
6110
- "gap": "lg",
6111
6095
  "children": [
6112
6096
  {
6113
- "justify": "between",
6114
- "gap": "md",
6097
+ "align": "center",
6115
6098
  "children": [
6116
6099
  {
6117
6100
  "children": [
@@ -6120,49 +6103,66 @@
6120
6103
  "type": "icon"
6121
6104
  },
6122
6105
  {
6106
+ "type": "typography",
6123
6107
  "content": "Provider Status",
6124
- "variant": "h2",
6125
- "type": "typography"
6108
+ "variant": "h2"
6126
6109
  }
6127
6110
  ],
6111
+ "type": "stack",
6128
6112
  "gap": "md",
6129
6113
  "direction": "horizontal",
6130
- "align": "center",
6131
- "type": "stack"
6114
+ "align": "center"
6132
6115
  },
6133
6116
  {
6134
- "label": "Dismiss",
6135
6117
  "icon": "x",
6136
6118
  "action": "HIDE",
6137
6119
  "variant": "ghost",
6120
+ "label": "Dismiss",
6138
6121
  "type": "button"
6139
6122
  }
6140
6123
  ],
6141
- "direction": "horizontal",
6124
+ "justify": "between",
6142
6125
  "type": "stack",
6143
- "align": "center"
6126
+ "direction": "horizontal",
6127
+ "gap": "md"
6144
6128
  },
6145
6129
  {
6146
6130
  "type": "divider"
6147
6131
  },
6148
6132
  {
6149
- "variant": "@entity.notificationType",
6133
+ "message": "@entity.message",
6150
6134
  "type": "alert",
6151
- "message": "@entity.message"
6135
+ "variant": "@entity.notificationType"
6152
6136
  },
6153
6137
  {
6154
6138
  "type": "toast-slot"
6155
6139
  },
6156
6140
  {
6157
- "variant": "warning",
6158
- "type": "alert",
6159
- "message": "@entity.message"
6141
+ "variant": "warning",
6142
+ "message": "@entity.message",
6143
+ "type": "alert"
6160
6144
  }
6161
- ]
6145
+ ],
6146
+ "gap": "lg"
6162
6147
  }
6163
6148
  ],
6164
- "type": "dashboard-layout",
6165
- "appName": "Agent Assistant"
6149
+ "navItems": [
6150
+ {
6151
+ "icon": "message-circle",
6152
+ "href": "/chat",
6153
+ "label": "Chat"
6154
+ },
6155
+ {
6156
+ "label": "Memory",
6157
+ "icon": "brain",
6158
+ "href": "/memory"
6159
+ },
6160
+ {
6161
+ "href": "/settings",
6162
+ "icon": "settings",
6163
+ "label": "Settings"
6164
+ }
6165
+ ]
6166
6166
  }
6167
6167
  ]
6168
6168
  ]
@@ -6321,8 +6321,8 @@
6321
6321
  "ProviderConfig",
6322
6322
  {
6323
6323
  "emit": {
6324
- "success": "ProviderConfigLoaded",
6325
- "failure": "ProviderConfigLoadFailed"
6324
+ "failure": "ProviderConfigLoadFailed",
6325
+ "success": "ProviderConfigLoaded"
6326
6326
  }
6327
6327
  }
6328
6328
  ],
@@ -6336,33 +6336,33 @@
6336
6336
  "render-ui",
6337
6337
  "main",
6338
6338
  {
6339
- "appName": "Agent Assistant",
6340
6339
  "type": "dashboard-layout",
6340
+ "children": [
6341
+ {
6342
+ "title": "Provider",
6343
+ "type": "empty-state",
6344
+ "icon": "repeat",
6345
+ "description": "Provider is ready"
6346
+ }
6347
+ ],
6341
6348
  "navItems": [
6342
6349
  {
6343
6350
  "href": "/chat",
6344
- "label": "Chat",
6345
- "icon": "message-circle"
6351
+ "icon": "message-circle",
6352
+ "label": "Chat"
6346
6353
  },
6347
6354
  {
6348
6355
  "href": "/memory",
6349
- "label": "Memory",
6350
- "icon": "brain"
6356
+ "icon": "brain",
6357
+ "label": "Memory"
6351
6358
  },
6352
6359
  {
6353
- "href": "/settings",
6360
+ "label": "Settings",
6354
6361
  "icon": "settings",
6355
- "label": "Settings"
6362
+ "href": "/settings"
6356
6363
  }
6357
6364
  ],
6358
- "children": [
6359
- {
6360
- "description": "Provider is ready",
6361
- "type": "empty-state",
6362
- "title": "Provider",
6363
- "icon": "repeat"
6364
- }
6365
- ]
6365
+ "appName": "Agent Assistant"
6366
6366
  }
6367
6367
  ]
6368
6368
  ]
@@ -6644,8 +6644,8 @@
6644
6644
  "AssistantNav",
6645
6645
  {
6646
6646
  "emit": {
6647
- "failure": "AssistantNavLoadFailed",
6648
- "success": "AssistantNavLoaded"
6647
+ "success": "AssistantNavLoaded",
6648
+ "failure": "AssistantNavLoadFailed"
6649
6649
  }
6650
6650
  }
6651
6651
  ],
@@ -6653,6 +6653,7 @@
6653
6653
  "render-ui",
6654
6654
  "main",
6655
6655
  {
6656
+ "type": "stack",
6656
6657
  "className": "py-12",
6657
6658
  "children": [
6658
6659
  {
@@ -6660,15 +6661,14 @@
6660
6661
  },
6661
6662
  {
6662
6663
  "type": "typography",
6663
- "color": "muted",
6664
+ "variant": "caption",
6664
6665
  "content": "Loading…",
6665
- "variant": "caption"
6666
+ "color": "muted"
6666
6667
  }
6667
6668
  ],
6668
- "direction": "vertical",
6669
- "type": "stack",
6670
6669
  "gap": "md",
6671
- "align": "center"
6670
+ "align": "center",
6671
+ "direction": "vertical"
6672
6672
  }
6673
6673
  ]
6674
6674
  ]
@@ -6682,53 +6682,32 @@
6682
6682
  "render-ui",
6683
6683
  "main",
6684
6684
  {
6685
- "navItems": [
6686
- {
6687
- "label": "Chat",
6688
- "icon": "message-circle",
6689
- "href": "/chat"
6690
- },
6691
- {
6692
- "href": "/memory",
6693
- "label": "Memory",
6694
- "icon": "brain"
6695
- },
6696
- {
6697
- "label": "Settings",
6698
- "href": "/settings",
6699
- "icon": "settings"
6700
- }
6701
- ],
6702
6685
  "children": [
6703
6686
  {
6704
6687
  "type": "stack",
6705
- "gap": "lg",
6706
- "direction": "vertical",
6707
6688
  "children": [
6708
6689
  {
6690
+ "type": "stack",
6709
6691
  "align": "center",
6710
- "gap": "sm",
6711
- "direction": "horizontal",
6712
6692
  "children": [
6713
6693
  {
6714
6694
  "type": "icon",
6715
6695
  "name": "message-circle"
6716
6696
  },
6717
6697
  {
6718
- "variant": "h2",
6719
6698
  "type": "typography",
6699
+ "variant": "h2",
6720
6700
  "content": "Assistant"
6721
6701
  }
6722
6702
  ],
6723
- "type": "stack"
6703
+ "direction": "horizontal",
6704
+ "gap": "sm"
6724
6705
  },
6725
6706
  {
6726
6707
  "type": "divider"
6727
6708
  },
6728
6709
  {
6729
6710
  "tabChangeEvent": "SELECT_TAB",
6730
- "type": "tabs",
6731
- "defaultActiveTab": "chat",
6732
6711
  "tabs": [
6733
6712
  {
6734
6713
  "label": "Chat",
@@ -6739,47 +6718,68 @@
6739
6718
  "value": "memory"
6740
6719
  },
6741
6720
  {
6742
- "value": "settings",
6743
- "label": "Settings"
6721
+ "label": "Settings",
6722
+ "value": "settings"
6744
6723
  }
6745
- ]
6724
+ ],
6725
+ "type": "tabs",
6726
+ "defaultActiveTab": "chat"
6746
6727
  },
6747
6728
  {
6748
6729
  "type": "divider"
6749
6730
  },
6750
6731
  {
6732
+ "type": "data-grid",
6751
6733
  "fields": [],
6752
- "className": "transition-shadow hover:shadow-md cursor-pointer",
6734
+ "entity": "@payload.data",
6753
6735
  "renderItem": [
6754
6736
  "fn",
6755
6737
  "item",
6756
6738
  {
6757
6739
  "direction": "vertical",
6740
+ "type": "stack",
6758
6741
  "gap": "sm",
6759
6742
  "children": [
6760
6743
  {
6761
6744
  "variant": "h4",
6762
- "type": "typography",
6763
- "content": "@item.messages"
6745
+ "content": "@item.messages",
6746
+ "type": "typography"
6764
6747
  },
6765
6748
  {
6766
6749
  "type": "typography",
6767
6750
  "content": "@item.currentMessage",
6768
- "variant": "caption",
6769
- "color": "muted"
6751
+ "color": "muted",
6752
+ "variant": "caption"
6770
6753
  }
6771
- ],
6772
- "type": "stack"
6754
+ ]
6773
6755
  }
6774
6756
  ],
6775
- "type": "data-grid",
6776
- "entity": "@payload.data"
6757
+ "className": "transition-shadow hover:shadow-md cursor-pointer"
6777
6758
  }
6778
- ]
6759
+ ],
6760
+ "direction": "vertical",
6761
+ "gap": "lg"
6779
6762
  }
6780
6763
  ],
6781
- "appName": "Agent Assistant",
6782
- "type": "dashboard-layout"
6764
+ "type": "dashboard-layout",
6765
+ "navItems": [
6766
+ {
6767
+ "label": "Chat",
6768
+ "icon": "message-circle",
6769
+ "href": "/chat"
6770
+ },
6771
+ {
6772
+ "icon": "brain",
6773
+ "label": "Memory",
6774
+ "href": "/memory"
6775
+ },
6776
+ {
6777
+ "label": "Settings",
6778
+ "href": "/settings",
6779
+ "icon": "settings"
6780
+ }
6781
+ ],
6782
+ "appName": "Agent Assistant"
6783
6783
  }
6784
6784
  ]
6785
6785
  ]
@@ -6793,36 +6793,36 @@
6793
6793
  "render-ui",
6794
6794
  "main",
6795
6795
  {
6796
- "className": "py-12",
6797
- "direction": "vertical",
6798
- "align": "center",
6799
- "type": "stack",
6800
6796
  "children": [
6801
6797
  {
6798
+ "type": "icon",
6802
6799
  "name": "alert-triangle",
6803
- "color": "destructive",
6804
- "type": "icon"
6800
+ "color": "destructive"
6805
6801
  },
6806
6802
  {
6807
- "content": "Failed to load",
6803
+ "type": "typography",
6808
6804
  "variant": "h3",
6809
- "type": "typography"
6805
+ "content": "Failed to load"
6810
6806
  },
6811
6807
  {
6812
6808
  "variant": "body",
6809
+ "color": "muted",
6813
6810
  "content": "@payload.error",
6814
- "type": "typography",
6815
- "color": "muted"
6811
+ "type": "typography"
6816
6812
  },
6817
6813
  {
6818
- "type": "button",
6819
- "variant": "primary",
6814
+ "action": "INIT",
6820
6815
  "icon": "rotate-ccw",
6821
6816
  "label": "Retry",
6822
- "action": "INIT"
6817
+ "variant": "primary",
6818
+ "type": "button"
6823
6819
  }
6824
6820
  ],
6825
- "gap": "md"
6821
+ "gap": "md",
6822
+ "align": "center",
6823
+ "type": "stack",
6824
+ "className": "py-12",
6825
+ "direction": "vertical"
6826
6826
  }
6827
6827
  ]
6828
6828
  ]
@@ -6837,8 +6837,8 @@
6837
6837
  "AssistantNav",
6838
6838
  {
6839
6839
  "emit": {
6840
- "success": "AssistantNavLoaded",
6841
- "failure": "AssistantNavLoadFailed"
6840
+ "failure": "AssistantNavLoadFailed",
6841
+ "success": "AssistantNavLoaded"
6842
6842
  }
6843
6843
  }
6844
6844
  ],
@@ -7027,37 +7027,37 @@
7027
7027
  "render-ui",
7028
7028
  "drawer",
7029
7029
  {
7030
- "direction": "vertical",
7031
- "gap": "none",
7032
7030
  "children": [
7033
7031
  {
7034
- "isOpen": true,
7035
- "type": "drawer",
7036
7032
  "title": "Memory Recall",
7033
+ "type": "drawer",
7034
+ "isOpen": true,
7037
7035
  "children": [
7038
7036
  {
7039
7037
  "direction": "vertical",
7038
+ "type": "stack",
7040
7039
  "gap": "md",
7041
7040
  "children": [
7042
7041
  {
7043
7042
  "direction": "horizontal",
7043
+ "gap": "md",
7044
7044
  "children": [
7045
7045
  {
7046
- "variant": "caption",
7047
7046
  "content": "Content",
7048
- "type": "typography"
7047
+ "type": "typography",
7048
+ "variant": "caption"
7049
7049
  },
7050
7050
  {
7051
7051
  "type": "typography",
7052
- "content": "@entity.content",
7053
- "variant": "body"
7052
+ "variant": "body",
7053
+ "content": "@entity.content"
7054
7054
  }
7055
7055
  ],
7056
7056
  "type": "stack",
7057
- "gap": "md",
7058
7057
  "justify": "between"
7059
7058
  },
7060
7059
  {
7060
+ "type": "stack",
7061
7061
  "justify": "between",
7062
7062
  "children": [
7063
7063
  {
@@ -7066,87 +7066,82 @@
7066
7066
  "content": "Query"
7067
7067
  },
7068
7068
  {
7069
- "content": "@entity.query",
7069
+ "variant": "body",
7070
7070
  "type": "typography",
7071
- "variant": "body"
7071
+ "content": "@entity.query"
7072
7072
  }
7073
7073
  ],
7074
- "direction": "horizontal",
7075
- "type": "stack",
7076
- "gap": "md"
7074
+ "gap": "md",
7075
+ "direction": "horizontal"
7077
7076
  },
7078
7077
  {
7079
- "gap": "md",
7080
- "type": "stack",
7081
- "justify": "between",
7078
+ "direction": "horizontal",
7082
7079
  "children": [
7083
7080
  {
7084
- "variant": "caption",
7085
7081
  "type": "typography",
7082
+ "variant": "caption",
7086
7083
  "content": "Strength"
7087
7084
  },
7088
7085
  {
7089
- "variant": "body",
7090
7086
  "type": "typography",
7091
- "content": "@entity.strength"
7087
+ "content": "@entity.strength",
7088
+ "variant": "body"
7092
7089
  }
7093
7090
  ],
7094
- "direction": "horizontal"
7091
+ "justify": "between",
7092
+ "type": "stack",
7093
+ "gap": "md"
7095
7094
  },
7096
7095
  {
7097
7096
  "type": "divider"
7098
7097
  },
7099
7098
  {
7100
- "justify": "end",
7101
- "direction": "horizontal",
7102
7099
  "children": [
7103
7100
  {
7104
- "type": "button",
7105
- "label": "Close",
7106
7101
  "action": "CLOSE",
7107
- "variant": "ghost"
7102
+ "variant": "ghost",
7103
+ "type": "button",
7104
+ "label": "Close"
7108
7105
  }
7109
7106
  ],
7107
+ "justify": "end",
7110
7108
  "type": "stack",
7111
- "gap": "sm"
7109
+ "gap": "sm",
7110
+ "direction": "horizontal"
7112
7111
  }
7113
- ],
7114
- "type": "stack"
7112
+ ]
7115
7113
  }
7116
7114
  ]
7117
7115
  },
7118
7116
  {
7119
- "title": "Memory Recall",
7120
- "onClose": "CLOSE",
7121
7117
  "position": "right",
7122
- "isOpen": true,
7123
- "type": "side-panel",
7124
7118
  "children": [
7125
7119
  {
7126
7120
  "direction": "vertical",
7127
- "gap": "md",
7128
7121
  "children": [
7129
7122
  {
7130
- "gap": "md",
7131
- "justify": "between",
7132
7123
  "children": [
7133
7124
  {
7134
- "content": "Content",
7135
7125
  "type": "typography",
7126
+ "content": "Content",
7136
7127
  "variant": "caption"
7137
7128
  },
7138
7129
  {
7139
- "variant": "body",
7130
+ "type": "typography",
7140
7131
  "content": "@entity.content",
7141
- "type": "typography"
7132
+ "variant": "body"
7142
7133
  }
7143
7134
  ],
7135
+ "gap": "md",
7136
+ "type": "stack",
7144
7137
  "direction": "horizontal",
7145
- "type": "stack"
7138
+ "justify": "between"
7146
7139
  },
7147
7140
  {
7148
7141
  "justify": "between",
7142
+ "type": "stack",
7149
7143
  "gap": "md",
7144
+ "direction": "horizontal",
7150
7145
  "children": [
7151
7146
  {
7152
7147
  "content": "Query",
@@ -7154,22 +7149,20 @@
7154
7149
  "variant": "caption"
7155
7150
  },
7156
7151
  {
7152
+ "content": "@entity.query",
7157
7153
  "type": "typography",
7158
- "variant": "body",
7159
- "content": "@entity.query"
7154
+ "variant": "body"
7160
7155
  }
7161
- ],
7162
- "type": "stack",
7163
- "direction": "horizontal"
7156
+ ]
7164
7157
  },
7165
7158
  {
7166
7159
  "direction": "horizontal",
7167
- "justify": "between",
7160
+ "type": "stack",
7168
7161
  "children": [
7169
7162
  {
7170
- "type": "typography",
7163
+ "content": "Strength",
7171
7164
  "variant": "caption",
7172
- "content": "Strength"
7165
+ "type": "typography"
7173
7166
  },
7174
7167
  {
7175
7168
  "type": "typography",
@@ -7177,16 +7170,23 @@
7177
7170
  "variant": "body"
7178
7171
  }
7179
7172
  ],
7180
- "type": "stack",
7173
+ "justify": "between",
7181
7174
  "gap": "md"
7182
7175
  }
7183
7176
  ],
7184
- "type": "stack"
7177
+ "type": "stack",
7178
+ "gap": "md"
7185
7179
  }
7186
- ]
7180
+ ],
7181
+ "onClose": "CLOSE",
7182
+ "type": "side-panel",
7183
+ "title": "Memory Recall",
7184
+ "isOpen": true
7187
7185
  }
7188
7186
  ],
7189
- "type": "stack"
7187
+ "gap": "none",
7188
+ "type": "stack",
7189
+ "direction": "vertical"
7190
7190
  }
7191
7191
  ]
7192
7192
  ]
@@ -7206,8 +7206,8 @@
7206
7206
  "MemorySidebar",
7207
7207
  {
7208
7208
  "emit": {
7209
- "success": "MemorySidebarLoaded",
7210
- "failure": "MemorySidebarLoadFailed"
7209
+ "failure": "MemorySidebarLoadFailed",
7210
+ "success": "MemorySidebarLoaded"
7211
7211
  }
7212
7212
  }
7213
7213
  ]