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