@almadar/std 8.4.2 → 8.5.1

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