@almadar/std 8.4.0 → 8.4.2
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.
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +111 -106
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -386
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +127 -122
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +111 -106
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -386
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +127 -122
- package/package.json +1 -1
|
@@ -300,63 +300,63 @@
|
|
|
300
300
|
"render-ui",
|
|
301
301
|
"main",
|
|
302
302
|
{
|
|
303
|
-
"gap": "lg",
|
|
304
|
-
"direction": "vertical",
|
|
305
303
|
"type": "stack",
|
|
304
|
+
"direction": "vertical",
|
|
305
|
+
"gap": "lg",
|
|
306
306
|
"children": [
|
|
307
307
|
{
|
|
308
|
+
"direction": "horizontal",
|
|
309
|
+
"type": "stack",
|
|
310
|
+
"align": "center",
|
|
308
311
|
"children": [
|
|
309
312
|
{
|
|
310
|
-
"
|
|
311
|
-
"
|
|
313
|
+
"type": "icon",
|
|
314
|
+
"name": "gauge"
|
|
312
315
|
},
|
|
313
316
|
{
|
|
314
|
-
"
|
|
317
|
+
"variant": "h2",
|
|
315
318
|
"type": "typography",
|
|
316
|
-
"
|
|
319
|
+
"content": "Token Usage"
|
|
317
320
|
},
|
|
318
321
|
{
|
|
319
|
-
"
|
|
322
|
+
"type": "badge",
|
|
320
323
|
"variant": "default",
|
|
321
|
-
"
|
|
324
|
+
"label": "Normal"
|
|
322
325
|
}
|
|
323
326
|
],
|
|
324
|
-
"
|
|
325
|
-
"gap": "sm",
|
|
326
|
-
"type": "stack",
|
|
327
|
-
"align": "center"
|
|
327
|
+
"gap": "sm"
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
"type": "divider"
|
|
331
331
|
},
|
|
332
332
|
{
|
|
333
|
+
"type": "progress-bar",
|
|
333
334
|
"max": "@entity.max",
|
|
334
|
-
"value": "@entity.current"
|
|
335
|
-
"type": "progress-bar"
|
|
335
|
+
"value": "@entity.current"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"direction": "horizontal",
|
|
339
339
|
"type": "stack",
|
|
340
340
|
"children": [
|
|
341
341
|
{
|
|
342
|
-
"label": "Tokens Used",
|
|
343
342
|
"type": "stat-display",
|
|
343
|
+
"label": "Tokens Used",
|
|
344
344
|
"value": "@entity.current"
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
|
-
"value": "@entity.max",
|
|
348
347
|
"type": "stat-display",
|
|
349
|
-
"label": "Max Tokens"
|
|
348
|
+
"label": "Max Tokens",
|
|
349
|
+
"value": "@entity.max"
|
|
350
350
|
}
|
|
351
351
|
],
|
|
352
352
|
"gap": "md"
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
|
-
"label": "Reset",
|
|
356
|
-
"action": "RESET",
|
|
357
|
-
"type": "button",
|
|
358
355
|
"icon": "rotate-ccw",
|
|
359
|
-
"
|
|
356
|
+
"type": "button",
|
|
357
|
+
"variant": "ghost",
|
|
358
|
+
"action": "RESET",
|
|
359
|
+
"label": "Reset"
|
|
360
360
|
}
|
|
361
361
|
]
|
|
362
362
|
}
|
|
@@ -386,47 +386,43 @@
|
|
|
386
386
|
"render-ui",
|
|
387
387
|
"main",
|
|
388
388
|
{
|
|
389
|
-
"gap": "lg",
|
|
390
|
-
"type": "stack",
|
|
391
|
-
"direction": "vertical",
|
|
392
389
|
"children": [
|
|
393
390
|
{
|
|
394
|
-
"align": "center",
|
|
395
391
|
"children": [
|
|
396
392
|
{
|
|
397
|
-
"
|
|
398
|
-
"
|
|
393
|
+
"name": "gauge",
|
|
394
|
+
"type": "icon"
|
|
399
395
|
},
|
|
400
396
|
{
|
|
401
|
-
"
|
|
397
|
+
"type": "typography",
|
|
402
398
|
"variant": "h2",
|
|
403
|
-
"
|
|
399
|
+
"content": "Token Usage"
|
|
404
400
|
},
|
|
405
401
|
{
|
|
406
402
|
"label": "Normal",
|
|
407
|
-
"
|
|
408
|
-
"
|
|
403
|
+
"type": "badge",
|
|
404
|
+
"variant": "default"
|
|
409
405
|
}
|
|
410
406
|
],
|
|
411
|
-
"direction": "horizontal",
|
|
412
407
|
"gap": "sm",
|
|
413
|
-
"
|
|
408
|
+
"direction": "horizontal",
|
|
409
|
+
"type": "stack",
|
|
410
|
+
"align": "center"
|
|
414
411
|
},
|
|
415
412
|
{
|
|
416
413
|
"type": "divider"
|
|
417
414
|
},
|
|
418
415
|
{
|
|
419
|
-
"value": "@entity.current",
|
|
420
416
|
"max": "@entity.max",
|
|
421
|
-
"type": "progress-bar"
|
|
417
|
+
"type": "progress-bar",
|
|
418
|
+
"value": "@entity.current"
|
|
422
419
|
},
|
|
423
420
|
{
|
|
424
|
-
"
|
|
425
|
-
"gap": "md",
|
|
421
|
+
"type": "stack",
|
|
426
422
|
"children": [
|
|
427
423
|
{
|
|
428
|
-
"label": "Tokens Used",
|
|
429
424
|
"value": "@entity.current",
|
|
425
|
+
"label": "Tokens Used",
|
|
430
426
|
"type": "stat-display"
|
|
431
427
|
},
|
|
432
428
|
{
|
|
@@ -435,16 +431,20 @@
|
|
|
435
431
|
"value": "@entity.max"
|
|
436
432
|
}
|
|
437
433
|
],
|
|
438
|
-
"
|
|
434
|
+
"gap": "md",
|
|
435
|
+
"direction": "horizontal"
|
|
439
436
|
},
|
|
440
437
|
{
|
|
441
|
-
"type": "button",
|
|
442
|
-
"icon": "rotate-ccw",
|
|
443
|
-
"label": "Reset",
|
|
444
438
|
"variant": "ghost",
|
|
445
|
-
"
|
|
439
|
+
"icon": "rotate-ccw",
|
|
440
|
+
"action": "RESET",
|
|
441
|
+
"type": "button",
|
|
442
|
+
"label": "Reset"
|
|
446
443
|
}
|
|
447
|
-
]
|
|
444
|
+
],
|
|
445
|
+
"direction": "vertical",
|
|
446
|
+
"type": "stack",
|
|
447
|
+
"gap": "lg"
|
|
448
448
|
}
|
|
449
449
|
]
|
|
450
450
|
]
|
|
@@ -485,37 +485,38 @@
|
|
|
485
485
|
"main",
|
|
486
486
|
{
|
|
487
487
|
"direction": "vertical",
|
|
488
|
+
"gap": "lg",
|
|
488
489
|
"type": "stack",
|
|
489
490
|
"children": [
|
|
490
491
|
{
|
|
492
|
+
"type": "stack",
|
|
493
|
+
"align": "center",
|
|
491
494
|
"children": [
|
|
492
495
|
{
|
|
493
|
-
"
|
|
494
|
-
"
|
|
496
|
+
"type": "icon",
|
|
497
|
+
"name": "alert-triangle"
|
|
495
498
|
},
|
|
496
499
|
{
|
|
497
|
-
"
|
|
500
|
+
"variant": "h2",
|
|
498
501
|
"content": "Token Usage",
|
|
499
|
-
"
|
|
502
|
+
"type": "typography"
|
|
500
503
|
},
|
|
501
504
|
{
|
|
502
|
-
"
|
|
505
|
+
"label": "Warning",
|
|
503
506
|
"variant": "warning",
|
|
504
|
-
"
|
|
507
|
+
"type": "badge"
|
|
505
508
|
}
|
|
506
509
|
],
|
|
507
|
-
"gap": "sm",
|
|
508
|
-
"type": "stack",
|
|
509
510
|
"direction": "horizontal",
|
|
510
|
-
"
|
|
511
|
+
"gap": "sm"
|
|
511
512
|
},
|
|
512
513
|
{
|
|
513
514
|
"type": "divider"
|
|
514
515
|
},
|
|
515
516
|
{
|
|
517
|
+
"type": "alert",
|
|
516
518
|
"variant": "warning",
|
|
517
|
-
"message": "Token usage approaching limit. Consider compacting."
|
|
518
|
-
"type": "alert"
|
|
519
|
+
"message": "Token usage approaching limit. Consider compacting."
|
|
519
520
|
},
|
|
520
521
|
{
|
|
521
522
|
"type": "progress-bar",
|
|
@@ -523,45 +524,44 @@
|
|
|
523
524
|
"max": "@entity.max"
|
|
524
525
|
},
|
|
525
526
|
{
|
|
526
|
-
"gap": "md",
|
|
527
|
-
"type": "stack",
|
|
528
|
-
"direction": "horizontal",
|
|
529
527
|
"children": [
|
|
530
528
|
{
|
|
531
529
|
"type": "stat-display",
|
|
532
|
-
"
|
|
533
|
-
"
|
|
530
|
+
"label": "Tokens Used",
|
|
531
|
+
"value": "@entity.current"
|
|
534
532
|
},
|
|
535
533
|
{
|
|
536
|
-
"label": "Max Tokens",
|
|
537
534
|
"type": "stat-display",
|
|
538
|
-
"value": "@entity.max"
|
|
535
|
+
"value": "@entity.max",
|
|
536
|
+
"label": "Max Tokens"
|
|
539
537
|
}
|
|
540
|
-
]
|
|
538
|
+
],
|
|
539
|
+
"type": "stack",
|
|
540
|
+
"gap": "md",
|
|
541
|
+
"direction": "horizontal"
|
|
541
542
|
},
|
|
542
543
|
{
|
|
543
|
-
"gap": "sm",
|
|
544
544
|
"children": [
|
|
545
545
|
{
|
|
546
546
|
"action": "COMPACT",
|
|
547
547
|
"type": "button",
|
|
548
|
-
"label": "Compact",
|
|
549
548
|
"icon": "minimize-2",
|
|
550
|
-
"variant": "primary"
|
|
549
|
+
"variant": "primary",
|
|
550
|
+
"label": "Compact"
|
|
551
551
|
},
|
|
552
552
|
{
|
|
553
|
+
"label": "Reset",
|
|
553
554
|
"type": "button",
|
|
554
555
|
"action": "RESET",
|
|
555
|
-
"
|
|
556
|
-
"icon": "rotate-ccw"
|
|
557
|
-
"variant": "ghost"
|
|
556
|
+
"variant": "ghost",
|
|
557
|
+
"icon": "rotate-ccw"
|
|
558
558
|
}
|
|
559
559
|
],
|
|
560
560
|
"type": "stack",
|
|
561
|
-
"direction": "horizontal"
|
|
561
|
+
"direction": "horizontal",
|
|
562
|
+
"gap": "sm"
|
|
562
563
|
}
|
|
563
|
-
]
|
|
564
|
-
"gap": "lg"
|
|
564
|
+
]
|
|
565
565
|
}
|
|
566
566
|
]
|
|
567
567
|
]
|
|
@@ -590,83 +590,83 @@
|
|
|
590
590
|
"main",
|
|
591
591
|
{
|
|
592
592
|
"direction": "vertical",
|
|
593
|
-
"gap": "lg",
|
|
594
593
|
"children": [
|
|
595
594
|
{
|
|
596
|
-
"gap": "sm",
|
|
597
595
|
"align": "center",
|
|
598
|
-
"
|
|
599
|
-
"type": "stack",
|
|
596
|
+
"gap": "sm",
|
|
600
597
|
"children": [
|
|
601
598
|
{
|
|
602
599
|
"name": "alert-octagon",
|
|
603
600
|
"type": "icon"
|
|
604
601
|
},
|
|
605
602
|
{
|
|
603
|
+
"content": "Token Usage",
|
|
606
604
|
"variant": "h2",
|
|
607
|
-
"type": "typography"
|
|
608
|
-
"content": "Token Usage"
|
|
605
|
+
"type": "typography"
|
|
609
606
|
},
|
|
610
607
|
{
|
|
611
608
|
"label": "Critical",
|
|
612
609
|
"variant": "danger",
|
|
613
610
|
"type": "badge"
|
|
614
611
|
}
|
|
615
|
-
]
|
|
612
|
+
],
|
|
613
|
+
"type": "stack",
|
|
614
|
+
"direction": "horizontal"
|
|
616
615
|
},
|
|
617
616
|
{
|
|
618
617
|
"type": "divider"
|
|
619
618
|
},
|
|
620
619
|
{
|
|
621
|
-
"variant": "error",
|
|
622
620
|
"message": "Token usage critical. Compact immediately to avoid truncation.",
|
|
623
|
-
"type": "alert"
|
|
621
|
+
"type": "alert",
|
|
622
|
+
"variant": "error"
|
|
624
623
|
},
|
|
625
624
|
{
|
|
626
|
-
"
|
|
625
|
+
"value": "@entity.current",
|
|
627
626
|
"type": "progress-bar",
|
|
628
|
-
"
|
|
627
|
+
"max": "@entity.max"
|
|
629
628
|
},
|
|
630
629
|
{
|
|
631
630
|
"gap": "md",
|
|
632
|
-
"direction": "horizontal",
|
|
633
631
|
"children": [
|
|
634
632
|
{
|
|
635
|
-
"label": "Tokens Used",
|
|
636
633
|
"type": "stat-display",
|
|
634
|
+
"label": "Tokens Used",
|
|
637
635
|
"value": "@entity.current"
|
|
638
636
|
},
|
|
639
637
|
{
|
|
640
638
|
"type": "stat-display",
|
|
641
|
-
"
|
|
642
|
-
"
|
|
639
|
+
"value": "@entity.max",
|
|
640
|
+
"label": "Max Tokens"
|
|
643
641
|
}
|
|
644
642
|
],
|
|
643
|
+
"direction": "horizontal",
|
|
645
644
|
"type": "stack"
|
|
646
645
|
},
|
|
647
646
|
{
|
|
647
|
+
"type": "stack",
|
|
648
|
+
"direction": "horizontal",
|
|
648
649
|
"children": [
|
|
649
650
|
{
|
|
650
|
-
"label": "Compact Now",
|
|
651
|
-
"variant": "primary",
|
|
652
651
|
"icon": "minimize-2",
|
|
653
652
|
"type": "button",
|
|
654
|
-
"action": "COMPACT"
|
|
653
|
+
"action": "COMPACT",
|
|
654
|
+
"label": "Compact Now",
|
|
655
|
+
"variant": "primary"
|
|
655
656
|
},
|
|
656
657
|
{
|
|
657
|
-
"label": "Reset",
|
|
658
658
|
"action": "RESET",
|
|
659
659
|
"variant": "ghost",
|
|
660
|
-
"
|
|
661
|
-
"
|
|
660
|
+
"type": "button",
|
|
661
|
+
"label": "Reset",
|
|
662
|
+
"icon": "rotate-ccw"
|
|
662
663
|
}
|
|
663
664
|
],
|
|
664
|
-
"
|
|
665
|
-
"gap": "sm",
|
|
666
|
-
"direction": "horizontal"
|
|
665
|
+
"gap": "sm"
|
|
667
666
|
}
|
|
668
667
|
],
|
|
669
|
-
"type": "stack"
|
|
668
|
+
"type": "stack",
|
|
669
|
+
"gap": "lg"
|
|
670
670
|
}
|
|
671
671
|
]
|
|
672
672
|
]
|
|
@@ -691,63 +691,63 @@
|
|
|
691
691
|
"render-ui",
|
|
692
692
|
"main",
|
|
693
693
|
{
|
|
694
|
-
"direction": "vertical",
|
|
695
694
|
"type": "stack",
|
|
695
|
+
"direction": "vertical",
|
|
696
696
|
"gap": "lg",
|
|
697
697
|
"children": [
|
|
698
698
|
{
|
|
699
|
-
"direction": "horizontal",
|
|
700
699
|
"gap": "sm",
|
|
701
|
-
"align": "center",
|
|
702
700
|
"type": "stack",
|
|
701
|
+
"direction": "horizontal",
|
|
703
702
|
"children": [
|
|
704
703
|
{
|
|
705
|
-
"
|
|
706
|
-
"
|
|
704
|
+
"name": "gauge",
|
|
705
|
+
"type": "icon"
|
|
707
706
|
},
|
|
708
707
|
{
|
|
708
|
+
"variant": "h2",
|
|
709
709
|
"type": "typography",
|
|
710
|
-
"content": "Token Usage"
|
|
711
|
-
"variant": "h2"
|
|
710
|
+
"content": "Token Usage"
|
|
712
711
|
},
|
|
713
712
|
{
|
|
714
|
-
"
|
|
713
|
+
"label": "Normal",
|
|
715
714
|
"variant": "default",
|
|
716
|
-
"
|
|
715
|
+
"type": "badge"
|
|
717
716
|
}
|
|
718
|
-
]
|
|
717
|
+
],
|
|
718
|
+
"align": "center"
|
|
719
719
|
},
|
|
720
720
|
{
|
|
721
721
|
"type": "divider"
|
|
722
722
|
},
|
|
723
723
|
{
|
|
724
|
-
"max": "@entity.max",
|
|
725
724
|
"value": "@entity.current",
|
|
725
|
+
"max": "@entity.max",
|
|
726
726
|
"type": "progress-bar"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
|
-
"type": "stack",
|
|
730
|
-
"direction": "horizontal",
|
|
731
729
|
"children": [
|
|
732
730
|
{
|
|
733
|
-
"
|
|
731
|
+
"type": "stat-display",
|
|
734
732
|
"label": "Tokens Used",
|
|
735
|
-
"
|
|
733
|
+
"value": "@entity.current"
|
|
736
734
|
},
|
|
737
735
|
{
|
|
736
|
+
"value": "@entity.max",
|
|
738
737
|
"type": "stat-display",
|
|
739
|
-
"label": "Max Tokens"
|
|
740
|
-
"value": "@entity.max"
|
|
738
|
+
"label": "Max Tokens"
|
|
741
739
|
}
|
|
742
740
|
],
|
|
743
|
-
"
|
|
741
|
+
"direction": "horizontal",
|
|
742
|
+
"gap": "md",
|
|
743
|
+
"type": "stack"
|
|
744
744
|
},
|
|
745
745
|
{
|
|
746
|
-
"variant": "ghost",
|
|
747
|
-
"icon": "rotate-ccw",
|
|
748
|
-
"type": "button",
|
|
749
746
|
"action": "RESET",
|
|
750
|
-
"
|
|
747
|
+
"type": "button",
|
|
748
|
+
"icon": "rotate-ccw",
|
|
749
|
+
"label": "Reset",
|
|
750
|
+
"variant": "ghost"
|
|
751
751
|
}
|
|
752
752
|
]
|
|
753
753
|
}
|
|
@@ -769,17 +769,22 @@
|
|
|
769
769
|
"main",
|
|
770
770
|
{
|
|
771
771
|
"direction": "vertical",
|
|
772
|
+
"type": "stack",
|
|
773
|
+
"gap": "lg",
|
|
772
774
|
"children": [
|
|
773
775
|
{
|
|
776
|
+
"direction": "horizontal",
|
|
777
|
+
"gap": "sm",
|
|
778
|
+
"align": "center",
|
|
774
779
|
"children": [
|
|
775
780
|
{
|
|
776
781
|
"type": "icon",
|
|
777
782
|
"name": "gauge"
|
|
778
783
|
},
|
|
779
784
|
{
|
|
780
|
-
"
|
|
785
|
+
"content": "Token Usage",
|
|
781
786
|
"type": "typography",
|
|
782
|
-
"
|
|
787
|
+
"variant": "h2"
|
|
783
788
|
},
|
|
784
789
|
{
|
|
785
790
|
"variant": "default",
|
|
@@ -787,10 +792,7 @@
|
|
|
787
792
|
"label": "Normal"
|
|
788
793
|
}
|
|
789
794
|
],
|
|
790
|
-
"type": "stack"
|
|
791
|
-
"direction": "horizontal",
|
|
792
|
-
"align": "center",
|
|
793
|
-
"gap": "sm"
|
|
795
|
+
"type": "stack"
|
|
794
796
|
},
|
|
795
797
|
{
|
|
796
798
|
"type": "divider"
|
|
@@ -801,11 +803,12 @@
|
|
|
801
803
|
"max": "@entity.max"
|
|
802
804
|
},
|
|
803
805
|
{
|
|
806
|
+
"direction": "horizontal",
|
|
804
807
|
"children": [
|
|
805
808
|
{
|
|
806
|
-
"
|
|
809
|
+
"value": "@entity.current",
|
|
807
810
|
"type": "stat-display",
|
|
808
|
-
"
|
|
811
|
+
"label": "Tokens Used"
|
|
809
812
|
},
|
|
810
813
|
{
|
|
811
814
|
"type": "stat-display",
|
|
@@ -814,19 +817,16 @@
|
|
|
814
817
|
}
|
|
815
818
|
],
|
|
816
819
|
"type": "stack",
|
|
817
|
-
"direction": "horizontal",
|
|
818
820
|
"gap": "md"
|
|
819
821
|
},
|
|
820
822
|
{
|
|
821
|
-
"icon": "rotate-ccw",
|
|
822
823
|
"type": "button",
|
|
823
|
-
"
|
|
824
|
+
"action": "RESET",
|
|
824
825
|
"variant": "ghost",
|
|
825
|
-
"
|
|
826
|
+
"label": "Reset",
|
|
827
|
+
"icon": "rotate-ccw"
|
|
826
828
|
}
|
|
827
|
-
]
|
|
828
|
-
"type": "stack",
|
|
829
|
-
"gap": "lg"
|
|
829
|
+
]
|
|
830
830
|
}
|
|
831
831
|
]
|
|
832
832
|
]
|
|
@@ -866,13 +866,17 @@
|
|
|
866
866
|
"render-ui",
|
|
867
867
|
"main",
|
|
868
868
|
{
|
|
869
|
+
"type": "stack",
|
|
870
|
+
"gap": "lg",
|
|
869
871
|
"children": [
|
|
870
872
|
{
|
|
871
|
-
"
|
|
873
|
+
"type": "stack",
|
|
874
|
+
"direction": "horizontal",
|
|
875
|
+
"align": "center",
|
|
872
876
|
"children": [
|
|
873
877
|
{
|
|
874
|
-
"
|
|
875
|
-
"
|
|
878
|
+
"name": "alert-triangle",
|
|
879
|
+
"type": "icon"
|
|
876
880
|
},
|
|
877
881
|
{
|
|
878
882
|
"variant": "h2",
|
|
@@ -880,22 +884,20 @@
|
|
|
880
884
|
"content": "Token Usage"
|
|
881
885
|
},
|
|
882
886
|
{
|
|
887
|
+
"label": "Warning",
|
|
883
888
|
"type": "badge",
|
|
884
|
-
"variant": "warning"
|
|
885
|
-
"label": "Warning"
|
|
889
|
+
"variant": "warning"
|
|
886
890
|
}
|
|
887
891
|
],
|
|
888
|
-
"
|
|
889
|
-
"type": "stack",
|
|
890
|
-
"align": "center"
|
|
892
|
+
"gap": "sm"
|
|
891
893
|
},
|
|
892
894
|
{
|
|
893
895
|
"type": "divider"
|
|
894
896
|
},
|
|
895
897
|
{
|
|
896
|
-
"variant": "warning",
|
|
897
898
|
"message": "Token usage approaching limit. Consider compacting.",
|
|
898
|
-
"type": "alert"
|
|
899
|
+
"type": "alert",
|
|
900
|
+
"variant": "warning"
|
|
899
901
|
},
|
|
900
902
|
{
|
|
901
903
|
"value": "@entity.current",
|
|
@@ -903,47 +905,45 @@
|
|
|
903
905
|
"type": "progress-bar"
|
|
904
906
|
},
|
|
905
907
|
{
|
|
906
|
-
"
|
|
908
|
+
"gap": "md",
|
|
907
909
|
"direction": "horizontal",
|
|
908
910
|
"children": [
|
|
909
911
|
{
|
|
912
|
+
"type": "stat-display",
|
|
910
913
|
"value": "@entity.current",
|
|
911
|
-
"label": "Tokens Used"
|
|
912
|
-
"type": "stat-display"
|
|
914
|
+
"label": "Tokens Used"
|
|
913
915
|
},
|
|
914
916
|
{
|
|
915
|
-
"
|
|
917
|
+
"label": "Max Tokens",
|
|
916
918
|
"value": "@entity.max",
|
|
917
|
-
"
|
|
919
|
+
"type": "stat-display"
|
|
918
920
|
}
|
|
919
921
|
],
|
|
920
|
-
"
|
|
922
|
+
"type": "stack"
|
|
921
923
|
},
|
|
922
924
|
{
|
|
923
925
|
"children": [
|
|
924
926
|
{
|
|
925
|
-
"action": "COMPACT",
|
|
926
|
-
"icon": "minimize-2",
|
|
927
|
-
"label": "Compact",
|
|
928
927
|
"type": "button",
|
|
929
|
-
"
|
|
928
|
+
"label": "Compact",
|
|
929
|
+
"action": "COMPACT",
|
|
930
|
+
"variant": "primary",
|
|
931
|
+
"icon": "minimize-2"
|
|
930
932
|
},
|
|
931
933
|
{
|
|
932
934
|
"variant": "ghost",
|
|
933
|
-
"label": "Reset",
|
|
934
|
-
"icon": "rotate-ccw",
|
|
935
935
|
"action": "RESET",
|
|
936
|
-
"
|
|
936
|
+
"label": "Reset",
|
|
937
|
+
"type": "button",
|
|
938
|
+
"icon": "rotate-ccw"
|
|
937
939
|
}
|
|
938
940
|
],
|
|
939
|
-
"type": "stack",
|
|
940
941
|
"direction": "horizontal",
|
|
942
|
+
"type": "stack",
|
|
941
943
|
"gap": "sm"
|
|
942
944
|
}
|
|
943
945
|
],
|
|
944
|
-
"direction": "vertical"
|
|
945
|
-
"type": "stack",
|
|
946
|
-
"gap": "lg"
|
|
946
|
+
"direction": "vertical"
|
|
947
947
|
}
|
|
948
948
|
]
|
|
949
949
|
]
|
|
@@ -971,30 +971,31 @@
|
|
|
971
971
|
"render-ui",
|
|
972
972
|
"main",
|
|
973
973
|
{
|
|
974
|
-
"direction": "vertical",
|
|
975
974
|
"type": "stack",
|
|
975
|
+
"gap": "lg",
|
|
976
|
+
"direction": "vertical",
|
|
976
977
|
"children": [
|
|
977
978
|
{
|
|
978
|
-
"align": "center",
|
|
979
979
|
"type": "stack",
|
|
980
|
+
"align": "center",
|
|
981
|
+
"gap": "sm",
|
|
982
|
+
"direction": "horizontal",
|
|
980
983
|
"children": [
|
|
981
984
|
{
|
|
982
|
-
"
|
|
983
|
-
"
|
|
985
|
+
"type": "icon",
|
|
986
|
+
"name": "alert-octagon"
|
|
984
987
|
},
|
|
985
988
|
{
|
|
989
|
+
"content": "Token Usage",
|
|
986
990
|
"variant": "h2",
|
|
987
|
-
"type": "typography"
|
|
988
|
-
"content": "Token Usage"
|
|
991
|
+
"type": "typography"
|
|
989
992
|
},
|
|
990
993
|
{
|
|
991
|
-
"
|
|
994
|
+
"type": "badge",
|
|
992
995
|
"variant": "danger",
|
|
993
|
-
"
|
|
996
|
+
"label": "Critical"
|
|
994
997
|
}
|
|
995
|
-
]
|
|
996
|
-
"direction": "horizontal",
|
|
997
|
-
"gap": "sm"
|
|
998
|
+
]
|
|
998
999
|
},
|
|
999
1000
|
{
|
|
1000
1001
|
"type": "divider"
|
|
@@ -1005,50 +1006,49 @@
|
|
|
1005
1006
|
"type": "alert"
|
|
1006
1007
|
},
|
|
1007
1008
|
{
|
|
1009
|
+
"type": "progress-bar",
|
|
1008
1010
|
"max": "@entity.max",
|
|
1009
|
-
"value": "@entity.current"
|
|
1010
|
-
"type": "progress-bar"
|
|
1011
|
+
"value": "@entity.current"
|
|
1011
1012
|
},
|
|
1012
1013
|
{
|
|
1013
|
-
"
|
|
1014
|
-
"direction": "horizontal",
|
|
1014
|
+
"type": "stack",
|
|
1015
1015
|
"children": [
|
|
1016
1016
|
{
|
|
1017
|
-
"
|
|
1017
|
+
"type": "stat-display",
|
|
1018
1018
|
"value": "@entity.current",
|
|
1019
|
-
"
|
|
1019
|
+
"label": "Tokens Used"
|
|
1020
1020
|
},
|
|
1021
1021
|
{
|
|
1022
|
-
"label": "Max Tokens",
|
|
1023
1022
|
"type": "stat-display",
|
|
1023
|
+
"label": "Max Tokens",
|
|
1024
1024
|
"value": "@entity.max"
|
|
1025
1025
|
}
|
|
1026
1026
|
],
|
|
1027
|
-
"
|
|
1027
|
+
"direction": "horizontal",
|
|
1028
|
+
"gap": "md"
|
|
1028
1029
|
},
|
|
1029
1030
|
{
|
|
1031
|
+
"type": "stack",
|
|
1032
|
+
"gap": "sm",
|
|
1030
1033
|
"children": [
|
|
1031
1034
|
{
|
|
1032
1035
|
"type": "button",
|
|
1033
|
-
"variant": "primary",
|
|
1034
|
-
"action": "COMPACT",
|
|
1035
1036
|
"icon": "minimize-2",
|
|
1037
|
+
"action": "COMPACT",
|
|
1038
|
+
"variant": "primary",
|
|
1036
1039
|
"label": "Compact Now"
|
|
1037
1040
|
},
|
|
1038
1041
|
{
|
|
1039
|
-
"type": "button",
|
|
1040
|
-
"variant": "ghost",
|
|
1041
|
-
"label": "Reset",
|
|
1042
1042
|
"icon": "rotate-ccw",
|
|
1043
|
-
"
|
|
1043
|
+
"label": "Reset",
|
|
1044
|
+
"action": "RESET",
|
|
1045
|
+
"variant": "ghost",
|
|
1046
|
+
"type": "button"
|
|
1044
1047
|
}
|
|
1045
1048
|
],
|
|
1046
|
-
"type": "stack",
|
|
1047
|
-
"gap": "sm",
|
|
1048
1049
|
"direction": "horizontal"
|
|
1049
1050
|
}
|
|
1050
|
-
]
|
|
1051
|
-
"gap": "lg"
|
|
1051
|
+
]
|
|
1052
1052
|
}
|
|
1053
1053
|
]
|
|
1054
1054
|
]
|
|
@@ -1079,10 +1079,12 @@
|
|
|
1079
1079
|
"direction": "vertical",
|
|
1080
1080
|
"children": [
|
|
1081
1081
|
{
|
|
1082
|
+
"align": "center",
|
|
1083
|
+
"direction": "horizontal",
|
|
1082
1084
|
"children": [
|
|
1083
1085
|
{
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1086
|
+
"type": "icon",
|
|
1087
|
+
"name": "gauge"
|
|
1086
1088
|
},
|
|
1087
1089
|
{
|
|
1088
1090
|
"content": "Token Usage",
|
|
@@ -1090,47 +1092,45 @@
|
|
|
1090
1092
|
"variant": "h2"
|
|
1091
1093
|
},
|
|
1092
1094
|
{
|
|
1095
|
+
"variant": "default",
|
|
1093
1096
|
"label": "Normal",
|
|
1094
|
-
"type": "badge"
|
|
1095
|
-
"variant": "default"
|
|
1097
|
+
"type": "badge"
|
|
1096
1098
|
}
|
|
1097
1099
|
],
|
|
1098
|
-
"type": "stack",
|
|
1099
|
-
"direction": "horizontal",
|
|
1100
1100
|
"gap": "sm",
|
|
1101
|
-
"
|
|
1101
|
+
"type": "stack"
|
|
1102
1102
|
},
|
|
1103
1103
|
{
|
|
1104
1104
|
"type": "divider"
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"type": "progress-bar",
|
|
1108
1107
|
"value": "@entity.current",
|
|
1108
|
+
"type": "progress-bar",
|
|
1109
1109
|
"max": "@entity.max"
|
|
1110
1110
|
},
|
|
1111
1111
|
{
|
|
1112
|
+
"gap": "md",
|
|
1113
|
+
"type": "stack",
|
|
1112
1114
|
"children": [
|
|
1113
1115
|
{
|
|
1114
|
-
"type": "stat-display",
|
|
1115
1116
|
"value": "@entity.current",
|
|
1116
|
-
"label": "Tokens Used"
|
|
1117
|
+
"label": "Tokens Used",
|
|
1118
|
+
"type": "stat-display"
|
|
1117
1119
|
},
|
|
1118
1120
|
{
|
|
1119
|
-
"
|
|
1121
|
+
"value": "@entity.max",
|
|
1120
1122
|
"type": "stat-display",
|
|
1121
|
-
"
|
|
1123
|
+
"label": "Max Tokens"
|
|
1122
1124
|
}
|
|
1123
1125
|
],
|
|
1124
|
-
"
|
|
1125
|
-
"direction": "horizontal",
|
|
1126
|
-
"gap": "md"
|
|
1126
|
+
"direction": "horizontal"
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
|
-
"label": "Reset",
|
|
1130
|
-
"action": "RESET",
|
|
1131
1129
|
"type": "button",
|
|
1130
|
+
"icon": "rotate-ccw",
|
|
1132
1131
|
"variant": "ghost",
|
|
1133
|
-
"
|
|
1132
|
+
"label": "Reset",
|
|
1133
|
+
"action": "RESET"
|
|
1134
1134
|
}
|
|
1135
1135
|
],
|
|
1136
1136
|
"type": "stack",
|
|
@@ -1159,10 +1159,12 @@
|
|
|
1159
1159
|
"render-ui",
|
|
1160
1160
|
"main",
|
|
1161
1161
|
{
|
|
1162
|
+
"gap": "lg",
|
|
1162
1163
|
"direction": "vertical",
|
|
1164
|
+
"type": "stack",
|
|
1163
1165
|
"children": [
|
|
1164
1166
|
{
|
|
1165
|
-
"
|
|
1167
|
+
"direction": "horizontal",
|
|
1166
1168
|
"children": [
|
|
1167
1169
|
{
|
|
1168
1170
|
"type": "icon",
|
|
@@ -1174,50 +1176,48 @@
|
|
|
1174
1176
|
"type": "typography"
|
|
1175
1177
|
},
|
|
1176
1178
|
{
|
|
1177
|
-
"variant": "default",
|
|
1178
1179
|
"label": "Normal",
|
|
1180
|
+
"variant": "default",
|
|
1179
1181
|
"type": "badge"
|
|
1180
1182
|
}
|
|
1181
1183
|
],
|
|
1182
1184
|
"gap": "sm",
|
|
1183
|
-
"
|
|
1184
|
-
"
|
|
1185
|
+
"type": "stack",
|
|
1186
|
+
"align": "center"
|
|
1185
1187
|
},
|
|
1186
1188
|
{
|
|
1187
1189
|
"type": "divider"
|
|
1188
1190
|
},
|
|
1189
1191
|
{
|
|
1190
|
-
"value": "@entity.current",
|
|
1191
1192
|
"max": "@entity.max",
|
|
1193
|
+
"value": "@entity.current",
|
|
1192
1194
|
"type": "progress-bar"
|
|
1193
1195
|
},
|
|
1194
1196
|
{
|
|
1195
|
-
"direction": "horizontal",
|
|
1196
|
-
"gap": "md",
|
|
1197
|
-
"type": "stack",
|
|
1198
1197
|
"children": [
|
|
1199
1198
|
{
|
|
1200
|
-
"type": "stat-display",
|
|
1201
1199
|
"value": "@entity.current",
|
|
1202
|
-
"label": "Tokens Used"
|
|
1200
|
+
"label": "Tokens Used",
|
|
1201
|
+
"type": "stat-display"
|
|
1203
1202
|
},
|
|
1204
1203
|
{
|
|
1205
1204
|
"value": "@entity.max",
|
|
1206
1205
|
"type": "stat-display",
|
|
1207
1206
|
"label": "Max Tokens"
|
|
1208
1207
|
}
|
|
1209
|
-
]
|
|
1208
|
+
],
|
|
1209
|
+
"type": "stack",
|
|
1210
|
+
"gap": "md",
|
|
1211
|
+
"direction": "horizontal"
|
|
1210
1212
|
},
|
|
1211
1213
|
{
|
|
1212
|
-
"action": "RESET",
|
|
1213
|
-
"variant": "ghost",
|
|
1214
1214
|
"type": "button",
|
|
1215
1215
|
"label": "Reset",
|
|
1216
|
-
"
|
|
1216
|
+
"action": "RESET",
|
|
1217
|
+
"icon": "rotate-ccw",
|
|
1218
|
+
"variant": "ghost"
|
|
1217
1219
|
}
|
|
1218
|
-
]
|
|
1219
|
-
"type": "stack",
|
|
1220
|
-
"gap": "lg"
|
|
1220
|
+
]
|
|
1221
1221
|
}
|
|
1222
1222
|
]
|
|
1223
1223
|
]
|
|
@@ -1236,10 +1236,12 @@
|
|
|
1236
1236
|
"render-ui",
|
|
1237
1237
|
"main",
|
|
1238
1238
|
{
|
|
1239
|
-
"direction": "vertical",
|
|
1240
1239
|
"children": [
|
|
1241
1240
|
{
|
|
1241
|
+
"align": "center",
|
|
1242
|
+
"direction": "horizontal",
|
|
1242
1243
|
"type": "stack",
|
|
1244
|
+
"gap": "sm",
|
|
1243
1245
|
"children": [
|
|
1244
1246
|
{
|
|
1245
1247
|
"type": "icon",
|
|
@@ -1247,54 +1249,52 @@
|
|
|
1247
1249
|
},
|
|
1248
1250
|
{
|
|
1249
1251
|
"type": "typography",
|
|
1250
|
-
"
|
|
1251
|
-
"
|
|
1252
|
+
"content": "Token Usage",
|
|
1253
|
+
"variant": "h2"
|
|
1252
1254
|
},
|
|
1253
1255
|
{
|
|
1254
|
-
"label": "Normal",
|
|
1255
1256
|
"variant": "default",
|
|
1257
|
+
"label": "Normal",
|
|
1256
1258
|
"type": "badge"
|
|
1257
1259
|
}
|
|
1258
|
-
]
|
|
1259
|
-
"align": "center",
|
|
1260
|
-
"gap": "sm",
|
|
1261
|
-
"direction": "horizontal"
|
|
1260
|
+
]
|
|
1262
1261
|
},
|
|
1263
1262
|
{
|
|
1264
1263
|
"type": "divider"
|
|
1265
1264
|
},
|
|
1266
1265
|
{
|
|
1267
|
-
"type": "progress-bar",
|
|
1268
1266
|
"value": "@entity.current",
|
|
1267
|
+
"type": "progress-bar",
|
|
1269
1268
|
"max": "@entity.max"
|
|
1270
1269
|
},
|
|
1271
1270
|
{
|
|
1271
|
+
"gap": "md",
|
|
1272
1272
|
"direction": "horizontal",
|
|
1273
|
+
"type": "stack",
|
|
1273
1274
|
"children": [
|
|
1274
1275
|
{
|
|
1275
|
-
"label": "Tokens Used",
|
|
1276
1276
|
"type": "stat-display",
|
|
1277
|
-
"value": "@entity.current"
|
|
1277
|
+
"value": "@entity.current",
|
|
1278
|
+
"label": "Tokens Used"
|
|
1278
1279
|
},
|
|
1279
1280
|
{
|
|
1280
1281
|
"value": "@entity.max",
|
|
1281
1282
|
"type": "stat-display",
|
|
1282
1283
|
"label": "Max Tokens"
|
|
1283
1284
|
}
|
|
1284
|
-
]
|
|
1285
|
-
"gap": "md",
|
|
1286
|
-
"type": "stack"
|
|
1285
|
+
]
|
|
1287
1286
|
},
|
|
1288
1287
|
{
|
|
1288
|
+
"variant": "ghost",
|
|
1289
1289
|
"icon": "rotate-ccw",
|
|
1290
|
-
"label": "Reset",
|
|
1291
1290
|
"action": "RESET",
|
|
1292
|
-
"
|
|
1293
|
-
"
|
|
1291
|
+
"type": "button",
|
|
1292
|
+
"label": "Reset"
|
|
1294
1293
|
}
|
|
1295
1294
|
],
|
|
1295
|
+
"gap": "lg",
|
|
1296
1296
|
"type": "stack",
|
|
1297
|
-
"
|
|
1297
|
+
"direction": "vertical"
|
|
1298
1298
|
}
|
|
1299
1299
|
]
|
|
1300
1300
|
]
|
|
@@ -1322,19 +1322,14 @@
|
|
|
1322
1322
|
"render-ui",
|
|
1323
1323
|
"main",
|
|
1324
1324
|
{
|
|
1325
|
-
"type": "stack",
|
|
1326
|
-
"direction": "vertical",
|
|
1327
|
-
"gap": "lg",
|
|
1328
1325
|
"children": [
|
|
1329
|
-
{
|
|
1330
|
-
"gap": "sm",
|
|
1331
|
-
"direction": "horizontal",
|
|
1332
|
-
"type": "stack",
|
|
1326
|
+
{
|
|
1333
1327
|
"align": "center",
|
|
1328
|
+
"type": "stack",
|
|
1334
1329
|
"children": [
|
|
1335
1330
|
{
|
|
1336
|
-
"
|
|
1337
|
-
"
|
|
1331
|
+
"name": "alert-octagon",
|
|
1332
|
+
"type": "icon"
|
|
1338
1333
|
},
|
|
1339
1334
|
{
|
|
1340
1335
|
"type": "typography",
|
|
@@ -1342,28 +1337,29 @@
|
|
|
1342
1337
|
"variant": "h2"
|
|
1343
1338
|
},
|
|
1344
1339
|
{
|
|
1340
|
+
"type": "badge",
|
|
1345
1341
|
"label": "Critical",
|
|
1346
|
-
"variant": "danger"
|
|
1347
|
-
"type": "badge"
|
|
1342
|
+
"variant": "danger"
|
|
1348
1343
|
}
|
|
1349
|
-
]
|
|
1344
|
+
],
|
|
1345
|
+
"gap": "sm",
|
|
1346
|
+
"direction": "horizontal"
|
|
1350
1347
|
},
|
|
1351
1348
|
{
|
|
1352
1349
|
"type": "divider"
|
|
1353
1350
|
},
|
|
1354
1351
|
{
|
|
1355
|
-
"
|
|
1352
|
+
"message": "Token usage critical. Compact immediately to avoid truncation.",
|
|
1356
1353
|
"type": "alert",
|
|
1357
|
-
"
|
|
1354
|
+
"variant": "error"
|
|
1358
1355
|
},
|
|
1359
1356
|
{
|
|
1360
|
-
"type": "progress-bar",
|
|
1361
1357
|
"value": "@entity.current",
|
|
1362
|
-
"max": "@entity.max"
|
|
1358
|
+
"max": "@entity.max",
|
|
1359
|
+
"type": "progress-bar"
|
|
1363
1360
|
},
|
|
1364
1361
|
{
|
|
1365
1362
|
"type": "stack",
|
|
1366
|
-
"gap": "md",
|
|
1367
1363
|
"children": [
|
|
1368
1364
|
{
|
|
1369
1365
|
"label": "Tokens Used",
|
|
@@ -1371,35 +1367,39 @@
|
|
|
1371
1367
|
"type": "stat-display"
|
|
1372
1368
|
},
|
|
1373
1369
|
{
|
|
1370
|
+
"label": "Max Tokens",
|
|
1374
1371
|
"type": "stat-display",
|
|
1375
|
-
"value": "@entity.max"
|
|
1376
|
-
"label": "Max Tokens"
|
|
1372
|
+
"value": "@entity.max"
|
|
1377
1373
|
}
|
|
1378
1374
|
],
|
|
1379
|
-
"direction": "horizontal"
|
|
1375
|
+
"direction": "horizontal",
|
|
1376
|
+
"gap": "md"
|
|
1380
1377
|
},
|
|
1381
1378
|
{
|
|
1382
|
-
"
|
|
1379
|
+
"gap": "sm",
|
|
1383
1380
|
"children": [
|
|
1384
1381
|
{
|
|
1385
|
-
"variant": "primary",
|
|
1386
|
-
"icon": "minimize-2",
|
|
1387
1382
|
"label": "Compact Now",
|
|
1383
|
+
"icon": "minimize-2",
|
|
1384
|
+
"type": "button",
|
|
1388
1385
|
"action": "COMPACT",
|
|
1389
|
-
"
|
|
1386
|
+
"variant": "primary"
|
|
1390
1387
|
},
|
|
1391
1388
|
{
|
|
1392
|
-
"
|
|
1389
|
+
"label": "Reset",
|
|
1390
|
+
"type": "button",
|
|
1393
1391
|
"action": "RESET",
|
|
1394
1392
|
"variant": "ghost",
|
|
1395
|
-
"
|
|
1396
|
-
"type": "button"
|
|
1393
|
+
"icon": "rotate-ccw"
|
|
1397
1394
|
}
|
|
1398
1395
|
],
|
|
1399
|
-
"
|
|
1396
|
+
"type": "stack",
|
|
1400
1397
|
"direction": "horizontal"
|
|
1401
1398
|
}
|
|
1402
|
-
]
|
|
1399
|
+
],
|
|
1400
|
+
"gap": "lg",
|
|
1401
|
+
"direction": "vertical",
|
|
1402
|
+
"type": "stack"
|
|
1403
1403
|
}
|
|
1404
1404
|
]
|
|
1405
1405
|
]
|
|
@@ -1444,42 +1444,41 @@
|
|
|
1444
1444
|
"gap": "lg",
|
|
1445
1445
|
"children": [
|
|
1446
1446
|
{
|
|
1447
|
-
"align": "center",
|
|
1448
1447
|
"children": [
|
|
1449
1448
|
{
|
|
1450
|
-
"
|
|
1451
|
-
"
|
|
1449
|
+
"type": "icon",
|
|
1450
|
+
"name": "alert-triangle"
|
|
1452
1451
|
},
|
|
1453
1452
|
{
|
|
1454
1453
|
"type": "typography",
|
|
1455
|
-
"
|
|
1456
|
-
"
|
|
1454
|
+
"variant": "h2",
|
|
1455
|
+
"content": "Token Usage"
|
|
1457
1456
|
},
|
|
1458
1457
|
{
|
|
1459
|
-
"
|
|
1458
|
+
"type": "badge",
|
|
1460
1459
|
"label": "Warning",
|
|
1461
|
-
"
|
|
1460
|
+
"variant": "warning"
|
|
1462
1461
|
}
|
|
1463
1462
|
],
|
|
1464
1463
|
"direction": "horizontal",
|
|
1464
|
+
"gap": "sm",
|
|
1465
1465
|
"type": "stack",
|
|
1466
|
-
"
|
|
1466
|
+
"align": "center"
|
|
1467
1467
|
},
|
|
1468
1468
|
{
|
|
1469
1469
|
"type": "divider"
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
|
-
"message": "Token usage approaching limit. Consider compacting.",
|
|
1473
1472
|
"type": "alert",
|
|
1474
|
-
"variant": "warning"
|
|
1473
|
+
"variant": "warning",
|
|
1474
|
+
"message": "Token usage approaching limit. Consider compacting."
|
|
1475
1475
|
},
|
|
1476
1476
|
{
|
|
1477
1477
|
"max": "@entity.max",
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1478
|
+
"value": "@entity.current",
|
|
1479
|
+
"type": "progress-bar"
|
|
1480
1480
|
},
|
|
1481
1481
|
{
|
|
1482
|
-
"gap": "md",
|
|
1483
1482
|
"children": [
|
|
1484
1483
|
{
|
|
1485
1484
|
"type": "stat-display",
|
|
@@ -1487,32 +1486,33 @@
|
|
|
1487
1486
|
"label": "Tokens Used"
|
|
1488
1487
|
},
|
|
1489
1488
|
{
|
|
1489
|
+
"type": "stat-display",
|
|
1490
1490
|
"label": "Max Tokens",
|
|
1491
|
-
"value": "@entity.max"
|
|
1492
|
-
"type": "stat-display"
|
|
1491
|
+
"value": "@entity.max"
|
|
1493
1492
|
}
|
|
1494
1493
|
],
|
|
1495
1494
|
"direction": "horizontal",
|
|
1496
|
-
"type": "stack"
|
|
1495
|
+
"type": "stack",
|
|
1496
|
+
"gap": "md"
|
|
1497
1497
|
},
|
|
1498
1498
|
{
|
|
1499
|
+
"gap": "sm",
|
|
1499
1500
|
"type": "stack",
|
|
1500
1501
|
"direction": "horizontal",
|
|
1501
|
-
"gap": "sm",
|
|
1502
1502
|
"children": [
|
|
1503
1503
|
{
|
|
1504
|
-
"
|
|
1504
|
+
"type": "button",
|
|
1505
|
+
"icon": "minimize-2",
|
|
1505
1506
|
"action": "COMPACT",
|
|
1506
1507
|
"variant": "primary",
|
|
1507
|
-
"
|
|
1508
|
-
"icon": "minimize-2"
|
|
1508
|
+
"label": "Compact"
|
|
1509
1509
|
},
|
|
1510
1510
|
{
|
|
1511
|
-
"
|
|
1511
|
+
"icon": "rotate-ccw",
|
|
1512
1512
|
"action": "RESET",
|
|
1513
|
-
"variant": "ghost",
|
|
1514
1513
|
"type": "button",
|
|
1515
|
-
"
|
|
1514
|
+
"label": "Reset",
|
|
1515
|
+
"variant": "ghost"
|
|
1516
1516
|
}
|
|
1517
1517
|
]
|
|
1518
1518
|
}
|
|
@@ -1544,16 +1544,17 @@
|
|
|
1544
1544
|
"render-ui",
|
|
1545
1545
|
"main",
|
|
1546
1546
|
{
|
|
1547
|
-
"
|
|
1547
|
+
"direction": "vertical",
|
|
1548
1548
|
"children": [
|
|
1549
1549
|
{
|
|
1550
|
+
"type": "stack",
|
|
1550
1551
|
"align": "center",
|
|
1551
1552
|
"gap": "sm",
|
|
1552
1553
|
"direction": "horizontal",
|
|
1553
1554
|
"children": [
|
|
1554
1555
|
{
|
|
1555
|
-
"
|
|
1556
|
-
"
|
|
1556
|
+
"name": "gauge",
|
|
1557
|
+
"type": "icon"
|
|
1557
1558
|
},
|
|
1558
1559
|
{
|
|
1559
1560
|
"variant": "h2",
|
|
@@ -1561,28 +1562,27 @@
|
|
|
1561
1562
|
"content": "Token Usage"
|
|
1562
1563
|
},
|
|
1563
1564
|
{
|
|
1564
|
-
"label": "Normal",
|
|
1565
1565
|
"variant": "default",
|
|
1566
|
-
"type": "badge"
|
|
1566
|
+
"type": "badge",
|
|
1567
|
+
"label": "Normal"
|
|
1567
1568
|
}
|
|
1568
|
-
]
|
|
1569
|
-
"type": "stack"
|
|
1569
|
+
]
|
|
1570
1570
|
},
|
|
1571
1571
|
{
|
|
1572
1572
|
"type": "divider"
|
|
1573
1573
|
},
|
|
1574
1574
|
{
|
|
1575
|
-
"max": "@entity.max",
|
|
1576
1575
|
"value": "@entity.current",
|
|
1576
|
+
"max": "@entity.max",
|
|
1577
1577
|
"type": "progress-bar"
|
|
1578
1578
|
},
|
|
1579
1579
|
{
|
|
1580
1580
|
"gap": "md",
|
|
1581
1581
|
"children": [
|
|
1582
1582
|
{
|
|
1583
|
+
"value": "@entity.current",
|
|
1583
1584
|
"type": "stat-display",
|
|
1584
|
-
"label": "Tokens Used"
|
|
1585
|
-
"value": "@entity.current"
|
|
1585
|
+
"label": "Tokens Used"
|
|
1586
1586
|
},
|
|
1587
1587
|
{
|
|
1588
1588
|
"type": "stat-display",
|
|
@@ -1596,13 +1596,13 @@
|
|
|
1596
1596
|
{
|
|
1597
1597
|
"type": "button",
|
|
1598
1598
|
"icon": "rotate-ccw",
|
|
1599
|
-
"label": "Reset",
|
|
1600
1599
|
"action": "RESET",
|
|
1601
|
-
"variant": "ghost"
|
|
1600
|
+
"variant": "ghost",
|
|
1601
|
+
"label": "Reset"
|
|
1602
1602
|
}
|
|
1603
1603
|
],
|
|
1604
1604
|
"type": "stack",
|
|
1605
|
-
"
|
|
1605
|
+
"gap": "lg"
|
|
1606
1606
|
}
|
|
1607
1607
|
]
|
|
1608
1608
|
]
|
|
@@ -1627,20 +1627,21 @@
|
|
|
1627
1627
|
"render-ui",
|
|
1628
1628
|
"main",
|
|
1629
1629
|
{
|
|
1630
|
+
"direction": "vertical",
|
|
1630
1631
|
"gap": "lg",
|
|
1631
1632
|
"type": "stack",
|
|
1632
|
-
"direction": "vertical",
|
|
1633
1633
|
"children": [
|
|
1634
1634
|
{
|
|
1635
|
+
"gap": "sm",
|
|
1635
1636
|
"children": [
|
|
1636
1637
|
{
|
|
1637
1638
|
"name": "gauge",
|
|
1638
1639
|
"type": "icon"
|
|
1639
1640
|
},
|
|
1640
1641
|
{
|
|
1642
|
+
"type": "typography",
|
|
1641
1643
|
"variant": "h2",
|
|
1642
|
-
"content": "Token Usage"
|
|
1643
|
-
"type": "typography"
|
|
1644
|
+
"content": "Token Usage"
|
|
1644
1645
|
},
|
|
1645
1646
|
{
|
|
1646
1647
|
"variant": "default",
|
|
@@ -1648,7 +1649,6 @@
|
|
|
1648
1649
|
"type": "badge"
|
|
1649
1650
|
}
|
|
1650
1651
|
],
|
|
1651
|
-
"gap": "sm",
|
|
1652
1652
|
"direction": "horizontal",
|
|
1653
1653
|
"type": "stack",
|
|
1654
1654
|
"align": "center"
|
|
@@ -1657,32 +1657,32 @@
|
|
|
1657
1657
|
"type": "divider"
|
|
1658
1658
|
},
|
|
1659
1659
|
{
|
|
1660
|
+
"type": "progress-bar",
|
|
1660
1661
|
"value": "@entity.current",
|
|
1661
|
-
"max": "@entity.max"
|
|
1662
|
-
"type": "progress-bar"
|
|
1662
|
+
"max": "@entity.max"
|
|
1663
1663
|
},
|
|
1664
1664
|
{
|
|
1665
|
+
"gap": "md",
|
|
1666
|
+
"type": "stack",
|
|
1665
1667
|
"children": [
|
|
1666
1668
|
{
|
|
1667
1669
|
"type": "stat-display",
|
|
1668
|
-
"
|
|
1669
|
-
"
|
|
1670
|
+
"label": "Tokens Used",
|
|
1671
|
+
"value": "@entity.current"
|
|
1670
1672
|
},
|
|
1671
1673
|
{
|
|
1672
|
-
"type": "stat-display",
|
|
1673
1674
|
"label": "Max Tokens",
|
|
1675
|
+
"type": "stat-display",
|
|
1674
1676
|
"value": "@entity.max"
|
|
1675
1677
|
}
|
|
1676
1678
|
],
|
|
1677
|
-
"
|
|
1678
|
-
"direction": "horizontal",
|
|
1679
|
-
"gap": "md"
|
|
1679
|
+
"direction": "horizontal"
|
|
1680
1680
|
},
|
|
1681
1681
|
{
|
|
1682
|
-
"label": "Reset",
|
|
1683
1682
|
"variant": "ghost",
|
|
1684
|
-
"
|
|
1683
|
+
"label": "Reset",
|
|
1685
1684
|
"action": "RESET",
|
|
1685
|
+
"type": "button",
|
|
1686
1686
|
"icon": "rotate-ccw"
|
|
1687
1687
|
}
|
|
1688
1688
|
]
|
|
@@ -1704,62 +1704,62 @@
|
|
|
1704
1704
|
"render-ui",
|
|
1705
1705
|
"main",
|
|
1706
1706
|
{
|
|
1707
|
-
"type": "stack",
|
|
1708
1707
|
"gap": "lg",
|
|
1708
|
+
"type": "stack",
|
|
1709
1709
|
"children": [
|
|
1710
1710
|
{
|
|
1711
1711
|
"gap": "sm",
|
|
1712
|
-
"type": "stack",
|
|
1713
|
-
"direction": "horizontal",
|
|
1714
1712
|
"children": [
|
|
1715
1713
|
{
|
|
1716
|
-
"
|
|
1717
|
-
"
|
|
1714
|
+
"type": "icon",
|
|
1715
|
+
"name": "gauge"
|
|
1718
1716
|
},
|
|
1719
1717
|
{
|
|
1720
|
-
"type": "typography",
|
|
1721
1718
|
"content": "Token Usage",
|
|
1719
|
+
"type": "typography",
|
|
1722
1720
|
"variant": "h2"
|
|
1723
1721
|
},
|
|
1724
1722
|
{
|
|
1725
|
-
"type": "badge",
|
|
1726
1723
|
"label": "Normal",
|
|
1727
|
-
"variant": "default"
|
|
1724
|
+
"variant": "default",
|
|
1725
|
+
"type": "badge"
|
|
1728
1726
|
}
|
|
1729
1727
|
],
|
|
1728
|
+
"type": "stack",
|
|
1729
|
+
"direction": "horizontal",
|
|
1730
1730
|
"align": "center"
|
|
1731
1731
|
},
|
|
1732
1732
|
{
|
|
1733
1733
|
"type": "divider"
|
|
1734
1734
|
},
|
|
1735
1735
|
{
|
|
1736
|
-
"
|
|
1736
|
+
"value": "@entity.current",
|
|
1737
1737
|
"type": "progress-bar",
|
|
1738
|
-
"
|
|
1738
|
+
"max": "@entity.max"
|
|
1739
1739
|
},
|
|
1740
1740
|
{
|
|
1741
|
-
"
|
|
1741
|
+
"type": "stack",
|
|
1742
1742
|
"gap": "md",
|
|
1743
1743
|
"children": [
|
|
1744
1744
|
{
|
|
1745
|
-
"value": "@entity.current",
|
|
1746
1745
|
"label": "Tokens Used",
|
|
1746
|
+
"value": "@entity.current",
|
|
1747
1747
|
"type": "stat-display"
|
|
1748
1748
|
},
|
|
1749
1749
|
{
|
|
1750
1750
|
"value": "@entity.max",
|
|
1751
|
-
"
|
|
1752
|
-
"
|
|
1751
|
+
"type": "stat-display",
|
|
1752
|
+
"label": "Max Tokens"
|
|
1753
1753
|
}
|
|
1754
1754
|
],
|
|
1755
|
-
"
|
|
1755
|
+
"direction": "horizontal"
|
|
1756
1756
|
},
|
|
1757
1757
|
{
|
|
1758
|
+
"variant": "ghost",
|
|
1758
1759
|
"icon": "rotate-ccw",
|
|
1759
1760
|
"type": "button",
|
|
1760
1761
|
"label": "Reset",
|
|
1761
|
-
"action": "RESET"
|
|
1762
|
-
"variant": "ghost"
|
|
1762
|
+
"action": "RESET"
|
|
1763
1763
|
}
|
|
1764
1764
|
],
|
|
1765
1765
|
"direction": "vertical"
|
|
@@ -1997,14 +1997,12 @@
|
|
|
1997
1997
|
{
|
|
1998
1998
|
"children": [
|
|
1999
1999
|
{
|
|
2000
|
+
"type": "stack",
|
|
2000
2001
|
"justify": "between",
|
|
2001
|
-
"
|
|
2002
|
-
"direction": "horizontal",
|
|
2002
|
+
"gap": "md",
|
|
2003
2003
|
"children": [
|
|
2004
2004
|
{
|
|
2005
2005
|
"direction": "horizontal",
|
|
2006
|
-
"type": "stack",
|
|
2007
|
-
"gap": "md",
|
|
2008
2006
|
"children": [
|
|
2009
2007
|
{
|
|
2010
2008
|
"name": "layers",
|
|
@@ -2012,43 +2010,45 @@
|
|
|
2012
2010
|
},
|
|
2013
2011
|
{
|
|
2014
2012
|
"type": "typography",
|
|
2015
|
-
"
|
|
2016
|
-
"
|
|
2013
|
+
"variant": "h2",
|
|
2014
|
+
"content": "Context Window Alert"
|
|
2017
2015
|
}
|
|
2018
2016
|
],
|
|
2019
|
-
"align": "center"
|
|
2017
|
+
"align": "center",
|
|
2018
|
+
"type": "stack",
|
|
2019
|
+
"gap": "md"
|
|
2020
2020
|
},
|
|
2021
2021
|
{
|
|
2022
2022
|
"label": "Dismiss",
|
|
2023
|
-
"variant": "ghost",
|
|
2024
2023
|
"type": "button",
|
|
2024
|
+
"variant": "ghost",
|
|
2025
2025
|
"icon": "x",
|
|
2026
2026
|
"action": "HIDE"
|
|
2027
2027
|
}
|
|
2028
2028
|
],
|
|
2029
|
-
"
|
|
2030
|
-
"
|
|
2029
|
+
"align": "center",
|
|
2030
|
+
"direction": "horizontal"
|
|
2031
2031
|
},
|
|
2032
2032
|
{
|
|
2033
2033
|
"type": "divider"
|
|
2034
2034
|
},
|
|
2035
2035
|
{
|
|
2036
|
+
"message": "@entity.message",
|
|
2036
2037
|
"type": "alert",
|
|
2037
|
-
"variant": "@entity.notificationType"
|
|
2038
|
-
"message": "@entity.message"
|
|
2038
|
+
"variant": "@entity.notificationType"
|
|
2039
2039
|
},
|
|
2040
2040
|
{
|
|
2041
2041
|
"type": "toast-slot"
|
|
2042
2042
|
},
|
|
2043
2043
|
{
|
|
2044
|
-
"type": "alert",
|
|
2045
2044
|
"variant": "warning",
|
|
2045
|
+
"type": "alert",
|
|
2046
2046
|
"message": "@entity.message"
|
|
2047
2047
|
}
|
|
2048
2048
|
],
|
|
2049
2049
|
"gap": "lg",
|
|
2050
|
-
"
|
|
2051
|
-
"
|
|
2050
|
+
"direction": "vertical",
|
|
2051
|
+
"type": "stack"
|
|
2052
2052
|
}
|
|
2053
2053
|
]
|
|
2054
2054
|
]
|
|
@@ -2074,44 +2074,44 @@
|
|
|
2074
2074
|
{
|
|
2075
2075
|
"children": [
|
|
2076
2076
|
{
|
|
2077
|
+
"gap": "md",
|
|
2078
|
+
"justify": "between",
|
|
2079
|
+
"align": "center",
|
|
2077
2080
|
"children": [
|
|
2078
2081
|
{
|
|
2079
|
-
"
|
|
2080
|
-
"gap": "md",
|
|
2081
|
-
"align": "center",
|
|
2082
|
+
"direction": "horizontal",
|
|
2082
2083
|
"children": [
|
|
2083
2084
|
{
|
|
2084
2085
|
"name": "layers",
|
|
2085
2086
|
"type": "icon"
|
|
2086
2087
|
},
|
|
2087
2088
|
{
|
|
2088
|
-
"type": "typography",
|
|
2089
2089
|
"content": "Context Window Alert",
|
|
2090
|
-
"variant": "h2"
|
|
2090
|
+
"variant": "h2",
|
|
2091
|
+
"type": "typography"
|
|
2091
2092
|
}
|
|
2092
2093
|
],
|
|
2093
|
-
"
|
|
2094
|
+
"type": "stack",
|
|
2095
|
+
"align": "center",
|
|
2096
|
+
"gap": "md"
|
|
2094
2097
|
},
|
|
2095
2098
|
{
|
|
2096
|
-
"type": "button",
|
|
2097
2099
|
"action": "HIDE",
|
|
2098
|
-
"
|
|
2100
|
+
"type": "button",
|
|
2099
2101
|
"label": "Dismiss",
|
|
2100
|
-
"variant": "ghost"
|
|
2102
|
+
"variant": "ghost",
|
|
2103
|
+
"icon": "x"
|
|
2101
2104
|
}
|
|
2102
2105
|
],
|
|
2103
|
-
"justify": "between",
|
|
2104
|
-
"align": "center",
|
|
2105
2106
|
"direction": "horizontal",
|
|
2106
|
-
"type": "stack"
|
|
2107
|
-
"gap": "md"
|
|
2107
|
+
"type": "stack"
|
|
2108
2108
|
},
|
|
2109
2109
|
{
|
|
2110
2110
|
"type": "divider"
|
|
2111
2111
|
},
|
|
2112
2112
|
{
|
|
2113
|
-
"type": "alert",
|
|
2114
2113
|
"message": "@entity.message",
|
|
2114
|
+
"type": "alert",
|
|
2115
2115
|
"variant": "@entity.notificationType"
|
|
2116
2116
|
},
|
|
2117
2117
|
{
|
|
@@ -2119,12 +2119,12 @@
|
|
|
2119
2119
|
},
|
|
2120
2120
|
{
|
|
2121
2121
|
"message": "@entity.message",
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
2122
|
+
"variant": "warning",
|
|
2123
|
+
"type": "alert"
|
|
2124
2124
|
}
|
|
2125
2125
|
],
|
|
2126
|
-
"gap": "lg",
|
|
2127
2126
|
"type": "stack",
|
|
2127
|
+
"gap": "lg",
|
|
2128
2128
|
"direction": "vertical"
|
|
2129
2129
|
}
|
|
2130
2130
|
]
|
|
@@ -2156,12 +2156,13 @@
|
|
|
2156
2156
|
"scope": "internal",
|
|
2157
2157
|
"payload": [
|
|
2158
2158
|
{
|
|
2159
|
-
"name": "
|
|
2160
|
-
"type": "
|
|
2159
|
+
"name": "message",
|
|
2160
|
+
"type": "string",
|
|
2161
|
+
"required": true
|
|
2161
2162
|
},
|
|
2162
2163
|
{
|
|
2163
|
-
"name": "
|
|
2164
|
-
"type": "
|
|
2164
|
+
"name": "notificationType",
|
|
2165
|
+
"type": "string"
|
|
2165
2166
|
}
|
|
2166
2167
|
]
|
|
2167
2168
|
},
|
|
@@ -2372,8 +2373,8 @@
|
|
|
2372
2373
|
"AgentContextWindow",
|
|
2373
2374
|
{
|
|
2374
2375
|
"emit": {
|
|
2375
|
-
"
|
|
2376
|
-
"
|
|
2376
|
+
"success": "AgentContextWindowLoaded",
|
|
2377
|
+
"failure": "AgentContextWindowLoadFailed"
|
|
2377
2378
|
}
|
|
2378
2379
|
}
|
|
2379
2380
|
],
|
|
@@ -2388,8 +2389,8 @@
|
|
|
2388
2389
|
"main",
|
|
2389
2390
|
{
|
|
2390
2391
|
"type": "empty-state",
|
|
2391
|
-
"icon": "layers",
|
|
2392
2392
|
"title": "Context Window",
|
|
2393
|
+
"icon": "layers",
|
|
2393
2394
|
"description": "Context Window is ready"
|
|
2394
2395
|
}
|
|
2395
2396
|
]
|
|
@@ -2435,7 +2436,11 @@
|
|
|
2435
2436
|
],
|
|
2436
2437
|
[
|
|
2437
2438
|
"emit",
|
|
2438
|
-
"UPDATE"
|
|
2439
|
+
"UPDATE",
|
|
2440
|
+
{
|
|
2441
|
+
"max": "@entity.maxTokens",
|
|
2442
|
+
"current": "@entity.tokenCount"
|
|
2443
|
+
}
|
|
2439
2444
|
]
|
|
2440
2445
|
]
|
|
2441
2446
|
},
|
|
@@ -2491,11 +2496,19 @@
|
|
|
2491
2496
|
],
|
|
2492
2497
|
[
|
|
2493
2498
|
"emit",
|
|
2494
|
-
"UPDATE"
|
|
2499
|
+
"UPDATE",
|
|
2500
|
+
{
|
|
2501
|
+
"current": "@entity.tokenCount",
|
|
2502
|
+
"max": "@entity.maxTokens"
|
|
2503
|
+
}
|
|
2495
2504
|
],
|
|
2496
2505
|
[
|
|
2497
2506
|
"emit",
|
|
2498
|
-
"SHOW"
|
|
2507
|
+
"SHOW",
|
|
2508
|
+
{
|
|
2509
|
+
"notificationType": "warning",
|
|
2510
|
+
"message": "Token usage approaching limit"
|
|
2511
|
+
}
|
|
2499
2512
|
]
|
|
2500
2513
|
]
|
|
2501
2514
|
},
|
|
@@ -2531,11 +2544,19 @@
|
|
|
2531
2544
|
],
|
|
2532
2545
|
[
|
|
2533
2546
|
"emit",
|
|
2534
|
-
"UPDATE"
|
|
2547
|
+
"UPDATE",
|
|
2548
|
+
{
|
|
2549
|
+
"max": "@entity.maxTokens",
|
|
2550
|
+
"current": "@entity.tokenCount"
|
|
2551
|
+
}
|
|
2535
2552
|
],
|
|
2536
2553
|
[
|
|
2537
2554
|
"emit",
|
|
2538
|
-
"SHOW"
|
|
2555
|
+
"SHOW",
|
|
2556
|
+
{
|
|
2557
|
+
"message": "Token usage at limit. Compact required.",
|
|
2558
|
+
"notificationType": "error"
|
|
2559
|
+
}
|
|
2539
2560
|
]
|
|
2540
2561
|
]
|
|
2541
2562
|
},
|
|
@@ -2578,7 +2599,11 @@
|
|
|
2578
2599
|
],
|
|
2579
2600
|
[
|
|
2580
2601
|
"emit",
|
|
2581
|
-
"UPDATE"
|
|
2602
|
+
"UPDATE",
|
|
2603
|
+
{
|
|
2604
|
+
"max": "@entity.maxTokens",
|
|
2605
|
+
"current": "@entity.tokenCount"
|
|
2606
|
+
}
|
|
2582
2607
|
]
|
|
2583
2608
|
]
|
|
2584
2609
|
},
|
|
@@ -2634,7 +2659,11 @@
|
|
|
2634
2659
|
],
|
|
2635
2660
|
[
|
|
2636
2661
|
"emit",
|
|
2637
|
-
"UPDATE"
|
|
2662
|
+
"UPDATE",
|
|
2663
|
+
{
|
|
2664
|
+
"max": "@entity.maxTokens",
|
|
2665
|
+
"current": "@entity.tokenCount"
|
|
2666
|
+
}
|
|
2638
2667
|
]
|
|
2639
2668
|
]
|
|
2640
2669
|
},
|
|
@@ -2677,7 +2706,11 @@
|
|
|
2677
2706
|
],
|
|
2678
2707
|
[
|
|
2679
2708
|
"emit",
|
|
2680
|
-
"UPDATE"
|
|
2709
|
+
"UPDATE",
|
|
2710
|
+
{
|
|
2711
|
+
"current": "@entity.tokenCount",
|
|
2712
|
+
"max": "@entity.maxTokens"
|
|
2713
|
+
}
|
|
2681
2714
|
]
|
|
2682
2715
|
]
|
|
2683
2716
|
}
|