@qiaolei81/copilot-session-viewer 0.3.6 → 0.3.8
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/dist/server.min.js +39 -34
- package/package.json +10 -8
- package/public/js/homepage.min.js +5 -5
- package/public/js/session-detail.min.js +223 -35
- package/public/js/time-analyze.min.js +1 -1
- package/views/index.ejs +253 -0
- package/views/session-vue.ejs +487 -182
package/views/session-vue.ejs
CHANGED
|
@@ -129,8 +129,6 @@
|
|
|
129
129
|
overflow-y: auto;
|
|
130
130
|
padding: 16px;
|
|
131
131
|
transition: all 0.3s ease;
|
|
132
|
-
position: relative;
|
|
133
|
-
z-index: 10;
|
|
134
132
|
}
|
|
135
133
|
.sidebar.collapsed {
|
|
136
134
|
width: 0;
|
|
@@ -172,18 +170,6 @@
|
|
|
172
170
|
.session-info {
|
|
173
171
|
font-size: 13px;
|
|
174
172
|
}
|
|
175
|
-
.session-summary-block {
|
|
176
|
-
color: #e6edf3;
|
|
177
|
-
font-size: 13px;
|
|
178
|
-
line-height: 1.5;
|
|
179
|
-
margin-bottom: 12px;
|
|
180
|
-
word-break: break-word;
|
|
181
|
-
overflow-wrap: anywhere;
|
|
182
|
-
display: -webkit-box;
|
|
183
|
-
-webkit-line-clamp: 5;
|
|
184
|
-
-webkit-box-orient: vertical;
|
|
185
|
-
overflow: hidden;
|
|
186
|
-
}
|
|
187
173
|
|
|
188
174
|
/* Session info table */
|
|
189
175
|
.session-info-table {
|
|
@@ -244,6 +230,11 @@
|
|
|
244
230
|
color: #a78bdb;
|
|
245
231
|
border: 1px solid rgba(138, 102, 204, 0.4);
|
|
246
232
|
}
|
|
233
|
+
.source-modernize {
|
|
234
|
+
background: rgba(76, 175, 80, 0.2);
|
|
235
|
+
color: #66bb6a;
|
|
236
|
+
border: 1px solid rgba(76, 175, 80, 0.4);
|
|
237
|
+
}
|
|
247
238
|
.source-vscode {
|
|
248
239
|
background: rgba(0, 122, 204, 0.2);
|
|
249
240
|
color: #4fc3f7;
|
|
@@ -300,38 +291,7 @@
|
|
|
300
291
|
color: #fff;
|
|
301
292
|
}
|
|
302
293
|
|
|
303
|
-
/* Event filters */
|
|
304
|
-
.event-filters {
|
|
305
|
-
display: flex;
|
|
306
|
-
flex-direction: column;
|
|
307
|
-
gap: 4px;
|
|
308
|
-
}
|
|
309
|
-
.filter-btn {
|
|
310
|
-
padding: 6px 10px;
|
|
311
|
-
background: #21262d;
|
|
312
|
-
border: 1px solid #30363d;
|
|
313
|
-
border-radius: 4px;
|
|
314
|
-
color: #c9d1d9;
|
|
315
|
-
cursor: pointer;
|
|
316
|
-
font-size: 13px;
|
|
317
|
-
transition: all 0.2s;
|
|
318
|
-
text-align: left;
|
|
319
|
-
width: 100%;
|
|
320
|
-
}
|
|
321
|
-
.filter-btn:not(:disabled):hover {
|
|
322
|
-
background: #30363d;
|
|
323
|
-
}
|
|
324
|
-
.filter-btn.active {
|
|
325
|
-
background: #1f6feb;
|
|
326
|
-
border-color: #1f6feb;
|
|
327
|
-
color: #fff;
|
|
328
|
-
}
|
|
329
|
-
.filter-btn:disabled {
|
|
330
|
-
opacity: 0.4;
|
|
331
|
-
cursor: not-allowed;
|
|
332
|
-
background: #161b22;
|
|
333
|
-
color: #6e7681;
|
|
334
|
-
}
|
|
294
|
+
/* Event filters — removed from sidebar, now in unified toolbar */
|
|
335
295
|
|
|
336
296
|
/* Session Tags */
|
|
337
297
|
.session-tags-container {
|
|
@@ -475,6 +435,253 @@
|
|
|
475
435
|
color: #f85149;
|
|
476
436
|
}
|
|
477
437
|
|
|
438
|
+
/* Usage Section */
|
|
439
|
+
.usage-container {
|
|
440
|
+
font-size: 12px;
|
|
441
|
+
display: flex;
|
|
442
|
+
flex-direction: column;
|
|
443
|
+
gap: 12px;
|
|
444
|
+
}
|
|
445
|
+
.usage-summary {
|
|
446
|
+
padding: 14px;
|
|
447
|
+
background: linear-gradient(180deg, rgba(88, 166, 255, 0.16) 0%, rgba(22, 27, 34, 0.94) 100%);
|
|
448
|
+
border: 1px solid rgba(88, 166, 255, 0.22);
|
|
449
|
+
border-radius: 10px;
|
|
450
|
+
color: #c9d1d9;
|
|
451
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
452
|
+
}
|
|
453
|
+
.usage-summary-eyebrow {
|
|
454
|
+
font-size: 10px;
|
|
455
|
+
font-weight: 700;
|
|
456
|
+
color: #8b949e;
|
|
457
|
+
text-transform: uppercase;
|
|
458
|
+
letter-spacing: 0.7px;
|
|
459
|
+
margin-bottom: 6px;
|
|
460
|
+
}
|
|
461
|
+
.usage-summary-total {
|
|
462
|
+
font-size: 24px;
|
|
463
|
+
line-height: 1;
|
|
464
|
+
font-weight: 700;
|
|
465
|
+
color: #e6edf3;
|
|
466
|
+
display: flex;
|
|
467
|
+
align-items: baseline;
|
|
468
|
+
gap: 6px;
|
|
469
|
+
}
|
|
470
|
+
.usage-summary-total-unit {
|
|
471
|
+
font-size: 11px;
|
|
472
|
+
font-weight: 600;
|
|
473
|
+
text-transform: uppercase;
|
|
474
|
+
letter-spacing: 0.5px;
|
|
475
|
+
color: #8b949e;
|
|
476
|
+
}
|
|
477
|
+
.usage-summary-caption {
|
|
478
|
+
margin-top: 6px;
|
|
479
|
+
font-size: 12px;
|
|
480
|
+
color: #8b949e;
|
|
481
|
+
}
|
|
482
|
+
.usage-summary-metrics {
|
|
483
|
+
display: grid;
|
|
484
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
485
|
+
gap: 8px;
|
|
486
|
+
margin-top: 12px;
|
|
487
|
+
}
|
|
488
|
+
.usage-expanded {
|
|
489
|
+
display: flex;
|
|
490
|
+
flex-direction: column;
|
|
491
|
+
gap: 12px;
|
|
492
|
+
}
|
|
493
|
+
.usage-section {
|
|
494
|
+
padding: 12px;
|
|
495
|
+
background: rgba(110, 118, 129, 0.05);
|
|
496
|
+
border: 1px solid #30363d;
|
|
497
|
+
border-radius: 10px;
|
|
498
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
|
|
499
|
+
}
|
|
500
|
+
.usage-section-header {
|
|
501
|
+
display: flex;
|
|
502
|
+
align-items: center;
|
|
503
|
+
justify-content: space-between;
|
|
504
|
+
gap: 8px;
|
|
505
|
+
margin-bottom: 10px;
|
|
506
|
+
}
|
|
507
|
+
.usage-section-title {
|
|
508
|
+
font-size: 11px;
|
|
509
|
+
font-weight: 600;
|
|
510
|
+
color: #8b949e;
|
|
511
|
+
text-transform: uppercase;
|
|
512
|
+
letter-spacing: 0.5px;
|
|
513
|
+
margin: 0;
|
|
514
|
+
}
|
|
515
|
+
.usage-section-badge {
|
|
516
|
+
display: inline-flex;
|
|
517
|
+
align-items: center;
|
|
518
|
+
justify-content: center;
|
|
519
|
+
min-width: 24px;
|
|
520
|
+
padding: 2px 8px;
|
|
521
|
+
border-radius: 999px;
|
|
522
|
+
background: rgba(88, 166, 255, 0.12);
|
|
523
|
+
border: 1px solid rgba(88, 166, 255, 0.22);
|
|
524
|
+
color: #79c0ff;
|
|
525
|
+
font-size: 10px;
|
|
526
|
+
font-weight: 700;
|
|
527
|
+
}
|
|
528
|
+
.usage-model-list {
|
|
529
|
+
display: flex;
|
|
530
|
+
flex-direction: column;
|
|
531
|
+
gap: 8px;
|
|
532
|
+
}
|
|
533
|
+
.usage-model {
|
|
534
|
+
padding: 10px;
|
|
535
|
+
background: linear-gradient(180deg, rgba(13, 17, 23, 0.96) 0%, rgba(22, 27, 34, 0.96) 100%);
|
|
536
|
+
border: 1px solid rgba(48, 54, 61, 0.9);
|
|
537
|
+
border-radius: 8px;
|
|
538
|
+
}
|
|
539
|
+
.usage-model-header {
|
|
540
|
+
display: flex;
|
|
541
|
+
flex-direction: column;
|
|
542
|
+
align-items: stretch;
|
|
543
|
+
gap: 8px;
|
|
544
|
+
margin-bottom: 10px;
|
|
545
|
+
}
|
|
546
|
+
.usage-model-name {
|
|
547
|
+
display: block;
|
|
548
|
+
max-width: 100%;
|
|
549
|
+
font-size: 11px;
|
|
550
|
+
font-weight: 600;
|
|
551
|
+
line-height: 1.35;
|
|
552
|
+
color: #79c0ff;
|
|
553
|
+
font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
|
|
554
|
+
white-space: nowrap;
|
|
555
|
+
word-break: normal;
|
|
556
|
+
overflow-wrap: normal;
|
|
557
|
+
overflow-x: auto;
|
|
558
|
+
overflow-y: hidden;
|
|
559
|
+
scrollbar-width: thin;
|
|
560
|
+
scrollbar-color: rgba(110, 118, 129, 0.55) transparent;
|
|
561
|
+
padding-bottom: 2px;
|
|
562
|
+
}
|
|
563
|
+
.usage-model-name::-webkit-scrollbar {
|
|
564
|
+
height: 4px;
|
|
565
|
+
}
|
|
566
|
+
.usage-model-name::-webkit-scrollbar-thumb {
|
|
567
|
+
background: rgba(110, 118, 129, 0.55);
|
|
568
|
+
border-radius: 999px;
|
|
569
|
+
}
|
|
570
|
+
.usage-model-name::-webkit-scrollbar-track {
|
|
571
|
+
background: transparent;
|
|
572
|
+
}
|
|
573
|
+
.usage-model-meta {
|
|
574
|
+
display: flex;
|
|
575
|
+
flex-wrap: wrap;
|
|
576
|
+
justify-content: flex-start;
|
|
577
|
+
gap: 6px;
|
|
578
|
+
}
|
|
579
|
+
.usage-meta-pill {
|
|
580
|
+
display: inline-flex;
|
|
581
|
+
align-items: center;
|
|
582
|
+
padding: 2px 8px;
|
|
583
|
+
border-radius: 999px;
|
|
584
|
+
background: rgba(110, 118, 129, 0.12);
|
|
585
|
+
border: 1px solid rgba(110, 118, 129, 0.2);
|
|
586
|
+
color: #c9d1d9;
|
|
587
|
+
font-size: 10px;
|
|
588
|
+
font-weight: 600;
|
|
589
|
+
}
|
|
590
|
+
.usage-meta-pill-premium {
|
|
591
|
+
color: #d29922;
|
|
592
|
+
border-color: rgba(210, 153, 34, 0.25);
|
|
593
|
+
background: rgba(210, 153, 34, 0.12);
|
|
594
|
+
}
|
|
595
|
+
.usage-meta-pill-cache {
|
|
596
|
+
color: #3fb950;
|
|
597
|
+
border-color: rgba(63, 185, 80, 0.25);
|
|
598
|
+
background: rgba(63, 185, 80, 0.12);
|
|
599
|
+
}
|
|
600
|
+
.usage-metric-grid {
|
|
601
|
+
display: grid;
|
|
602
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
603
|
+
gap: 8px;
|
|
604
|
+
}
|
|
605
|
+
.usage-metric-grid-compact {
|
|
606
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
607
|
+
}
|
|
608
|
+
.usage-metric-card {
|
|
609
|
+
display: flex;
|
|
610
|
+
flex-direction: column;
|
|
611
|
+
gap: 4px;
|
|
612
|
+
min-width: 0;
|
|
613
|
+
padding: 9px 10px;
|
|
614
|
+
border-radius: 8px;
|
|
615
|
+
border: 1px solid rgba(48, 54, 61, 0.8);
|
|
616
|
+
background: rgba(13, 17, 23, 0.5);
|
|
617
|
+
}
|
|
618
|
+
.usage-metric-card-summary {
|
|
619
|
+
background: rgba(13, 17, 23, 0.42);
|
|
620
|
+
border-color: rgba(88, 166, 255, 0.14);
|
|
621
|
+
}
|
|
622
|
+
.usage-metric-label {
|
|
623
|
+
font-size: 10px;
|
|
624
|
+
font-weight: 700;
|
|
625
|
+
color: #8b949e;
|
|
626
|
+
text-transform: uppercase;
|
|
627
|
+
letter-spacing: 0.5px;
|
|
628
|
+
}
|
|
629
|
+
.usage-metric-value {
|
|
630
|
+
font-size: 14px;
|
|
631
|
+
line-height: 1.2;
|
|
632
|
+
font-weight: 700;
|
|
633
|
+
color: #e6edf3;
|
|
634
|
+
overflow-wrap: anywhere;
|
|
635
|
+
}
|
|
636
|
+
.usage-metric-value-added {
|
|
637
|
+
color: #3fb950;
|
|
638
|
+
}
|
|
639
|
+
.usage-metric-value-removed {
|
|
640
|
+
color: #f85149;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/* Tool Calling Summary */
|
|
644
|
+
.tool-summary-list {
|
|
645
|
+
display: flex;
|
|
646
|
+
flex-direction: column;
|
|
647
|
+
gap: 4px;
|
|
648
|
+
}
|
|
649
|
+
.tool-summary-item {
|
|
650
|
+
position: relative;
|
|
651
|
+
display: flex;
|
|
652
|
+
justify-content: space-between;
|
|
653
|
+
align-items: center;
|
|
654
|
+
padding: 3px 6px;
|
|
655
|
+
font-size: 12px;
|
|
656
|
+
border-radius: 3px;
|
|
657
|
+
overflow: hidden;
|
|
658
|
+
}
|
|
659
|
+
.tool-summary-bar {
|
|
660
|
+
position: absolute;
|
|
661
|
+
left: 0;
|
|
662
|
+
top: 0;
|
|
663
|
+
bottom: 0;
|
|
664
|
+
background: rgba(158, 106, 3, 0.15);
|
|
665
|
+
border-radius: 3px;
|
|
666
|
+
transition: width 0.3s ease;
|
|
667
|
+
}
|
|
668
|
+
.tool-summary-name {
|
|
669
|
+
position: relative;
|
|
670
|
+
color: #c9d1d9;
|
|
671
|
+
overflow: hidden;
|
|
672
|
+
text-overflow: ellipsis;
|
|
673
|
+
white-space: nowrap;
|
|
674
|
+
min-width: 0;
|
|
675
|
+
flex: 1;
|
|
676
|
+
}
|
|
677
|
+
.tool-summary-count {
|
|
678
|
+
position: relative;
|
|
679
|
+
color: #d29922;
|
|
680
|
+
font-weight: 600;
|
|
681
|
+
margin-left: 8px;
|
|
682
|
+
flex-shrink: 0;
|
|
683
|
+
}
|
|
684
|
+
|
|
478
685
|
/* Content */
|
|
479
686
|
.content {
|
|
480
687
|
flex: 1;
|
|
@@ -484,31 +691,186 @@
|
|
|
484
691
|
position: relative;
|
|
485
692
|
}
|
|
486
693
|
|
|
487
|
-
.
|
|
694
|
+
.unified-filter-bar {
|
|
695
|
+
background: #0d1117;
|
|
696
|
+
border-bottom: 1px solid #30363d;
|
|
697
|
+
flex-shrink: 0;
|
|
698
|
+
}
|
|
699
|
+
.filter-bar-row {
|
|
700
|
+
display: flex;
|
|
701
|
+
align-items: center;
|
|
702
|
+
gap: 8px;
|
|
488
703
|
padding: 8px 12px;
|
|
704
|
+
flex-wrap: wrap;
|
|
705
|
+
}
|
|
706
|
+
.filter-bar-search {
|
|
707
|
+
display: flex;
|
|
708
|
+
align-items: center;
|
|
709
|
+
gap: 4px;
|
|
710
|
+
flex: 1;
|
|
711
|
+
min-width: 160px;
|
|
712
|
+
}
|
|
713
|
+
.filter-bar-divider {
|
|
714
|
+
width: 1px;
|
|
715
|
+
height: 20px;
|
|
716
|
+
background: #30363d;
|
|
717
|
+
flex-shrink: 0;
|
|
718
|
+
}
|
|
719
|
+
/* Event type dropdown wrapper */
|
|
720
|
+
.filter-type-wrapper {
|
|
721
|
+
position: relative;
|
|
722
|
+
}
|
|
723
|
+
.filter-type-toggle {
|
|
724
|
+
padding: 4px 10px;
|
|
725
|
+
background: #161b22;
|
|
726
|
+
border: 1px solid #30363d;
|
|
727
|
+
border-radius: 6px;
|
|
728
|
+
color: #c9d1d9;
|
|
729
|
+
font-size: 13px;
|
|
730
|
+
cursor: pointer;
|
|
731
|
+
white-space: nowrap;
|
|
732
|
+
transition: all 0.2s;
|
|
733
|
+
}
|
|
734
|
+
.filter-type-toggle:hover {
|
|
735
|
+
border-color: #58a6ff;
|
|
489
736
|
background: #0d1117;
|
|
737
|
+
}
|
|
738
|
+
.filter-type-toggle.active {
|
|
739
|
+
border-color: #58a6ff;
|
|
740
|
+
color: #58a6ff;
|
|
741
|
+
background: rgba(88, 166, 255, 0.1);
|
|
742
|
+
}
|
|
743
|
+
.filter-type-menu {
|
|
744
|
+
position: absolute;
|
|
745
|
+
top: calc(100% + 4px);
|
|
746
|
+
left: 0;
|
|
747
|
+
background: #161b22;
|
|
748
|
+
border: 1px solid #30363d;
|
|
749
|
+
border-radius: 6px;
|
|
750
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
|
751
|
+
min-width: 250px;
|
|
752
|
+
z-index: 1000;
|
|
753
|
+
}
|
|
754
|
+
.filter-type-menu-header {
|
|
755
|
+
padding: 8px 12px;
|
|
490
756
|
border-bottom: 1px solid #30363d;
|
|
491
757
|
font-size: 12px;
|
|
758
|
+
font-weight: 600;
|
|
492
759
|
color: #c9d1d9;
|
|
493
|
-
|
|
760
|
+
}
|
|
761
|
+
.filter-type-menu-options {
|
|
762
|
+
max-height: 300px;
|
|
763
|
+
overflow-y: auto;
|
|
764
|
+
padding: 4px 0;
|
|
765
|
+
}
|
|
766
|
+
.filter-type-menu-item {
|
|
494
767
|
display: flex;
|
|
495
768
|
align-items: center;
|
|
496
769
|
justify-content: space-between;
|
|
770
|
+
padding: 6px 12px;
|
|
771
|
+
cursor: pointer;
|
|
772
|
+
transition: background 0.15s;
|
|
773
|
+
font-size: 13px;
|
|
774
|
+
color: #c9d1d9;
|
|
497
775
|
}
|
|
498
|
-
|
|
499
|
-
|
|
776
|
+
.filter-type-menu-item:hover {
|
|
777
|
+
background: rgba(88, 166, 255, 0.1);
|
|
778
|
+
}
|
|
779
|
+
.filter-type-menu-item.active {
|
|
780
|
+
background: rgba(88, 166, 255, 0.2);
|
|
781
|
+
color: #58a6ff;
|
|
782
|
+
}
|
|
783
|
+
.filter-type-menu-label {
|
|
784
|
+
flex: 1;
|
|
785
|
+
overflow: hidden;
|
|
786
|
+
text-overflow: ellipsis;
|
|
787
|
+
white-space: nowrap;
|
|
788
|
+
}
|
|
789
|
+
.filter-type-menu-count {
|
|
790
|
+
color: #7d8590;
|
|
791
|
+
font-size: 12px;
|
|
792
|
+
margin-left: 8px;
|
|
793
|
+
flex-shrink: 0;
|
|
794
|
+
}
|
|
795
|
+
/* Active filter chips bar */
|
|
796
|
+
.active-filters-bar {
|
|
500
797
|
display: flex;
|
|
501
798
|
align-items: center;
|
|
502
|
-
gap:
|
|
799
|
+
gap: 6px;
|
|
800
|
+
padding: 4px 12px 8px;
|
|
801
|
+
flex-wrap: wrap;
|
|
503
802
|
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
803
|
+
.filter-chip {
|
|
804
|
+
display: inline-flex;
|
|
805
|
+
align-items: center;
|
|
806
|
+
gap: 4px;
|
|
807
|
+
padding: 2px 8px;
|
|
808
|
+
background: rgba(88, 166, 255, 0.15);
|
|
809
|
+
border: 1px solid rgba(88, 166, 255, 0.3);
|
|
810
|
+
border-radius: 12px;
|
|
811
|
+
font-size: 12px;
|
|
812
|
+
color: #58a6ff;
|
|
813
|
+
white-space: nowrap;
|
|
814
|
+
}
|
|
815
|
+
.filter-chip-remove {
|
|
816
|
+
background: none;
|
|
817
|
+
border: none;
|
|
818
|
+
color: #58a6ff;
|
|
819
|
+
cursor: pointer;
|
|
820
|
+
font-size: 14px;
|
|
821
|
+
padding: 0 2px;
|
|
822
|
+
line-height: 1;
|
|
823
|
+
opacity: 0.7;
|
|
824
|
+
transition: opacity 0.15s;
|
|
825
|
+
}
|
|
826
|
+
.filter-chip-remove:hover {
|
|
827
|
+
opacity: 1;
|
|
828
|
+
}
|
|
829
|
+
.clear-all-filters-btn {
|
|
830
|
+
background: none;
|
|
831
|
+
border: none;
|
|
832
|
+
color: #f85149;
|
|
833
|
+
cursor: pointer;
|
|
834
|
+
font-size: 12px;
|
|
835
|
+
padding: 2px 6px;
|
|
836
|
+
border-radius: 3px;
|
|
837
|
+
transition: background 0.2s;
|
|
838
|
+
}
|
|
839
|
+
.clear-all-filters-btn:hover {
|
|
840
|
+
background: rgba(248, 81, 73, 0.1);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.subagent-selector {
|
|
507
844
|
display: flex;
|
|
508
|
-
justify-content: center;
|
|
509
845
|
align-items: center;
|
|
510
|
-
gap:
|
|
511
|
-
|
|
846
|
+
gap: 8px;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.subagent-dropdown {
|
|
850
|
+
padding: 4px 8px;
|
|
851
|
+
background: #161b22;
|
|
852
|
+
border: 1px solid #30363d;
|
|
853
|
+
border-radius: 6px;
|
|
854
|
+
color: #c9d1d9;
|
|
855
|
+
font-size: 13px;
|
|
856
|
+
cursor: pointer;
|
|
857
|
+
max-width: 220px;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
.subagent-dropdown:hover {
|
|
861
|
+
border-color: #58a6ff;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.subagent-dropdown:focus {
|
|
865
|
+
outline: none;
|
|
866
|
+
border-color: #58a6ff;
|
|
867
|
+
box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3);
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.subagent-usage-badge {
|
|
871
|
+
font-size: 11px;
|
|
872
|
+
color: #7d8590;
|
|
873
|
+
white-space: nowrap;
|
|
512
874
|
}
|
|
513
875
|
|
|
514
876
|
.scroll-float-btns {
|
|
@@ -545,7 +907,8 @@
|
|
|
545
907
|
opacity: 1;
|
|
546
908
|
}
|
|
547
909
|
.search-input {
|
|
548
|
-
|
|
910
|
+
flex: 1;
|
|
911
|
+
min-width: 120px;
|
|
549
912
|
padding: 6px 12px;
|
|
550
913
|
background: #161b22;
|
|
551
914
|
border: 1px solid #30363d;
|
|
@@ -576,7 +939,6 @@
|
|
|
576
939
|
|
|
577
940
|
/* Search result counter */
|
|
578
941
|
.search-result-count {
|
|
579
|
-
margin-left: 12px;
|
|
580
942
|
font-size: 12px;
|
|
581
943
|
color: #c9d1d9;
|
|
582
944
|
padding: 4px 8px;
|
|
@@ -585,120 +947,6 @@
|
|
|
585
947
|
white-space: nowrap;
|
|
586
948
|
}
|
|
587
949
|
|
|
588
|
-
.filter-dropdown {
|
|
589
|
-
position: relative;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.filter-dropdown-toggle {
|
|
593
|
-
padding: 12px 16px;
|
|
594
|
-
min-height: 44px;
|
|
595
|
-
background: #161b22;
|
|
596
|
-
border: 1px solid #30363d;
|
|
597
|
-
border-radius: 6px;
|
|
598
|
-
color: #c9d1d9;
|
|
599
|
-
font-size: 13px;
|
|
600
|
-
cursor: pointer;
|
|
601
|
-
display: flex;
|
|
602
|
-
align-items: center;
|
|
603
|
-
gap: 6px;
|
|
604
|
-
transition: all 0.2s;
|
|
605
|
-
white-space: nowrap;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.filter-dropdown-toggle:hover {
|
|
609
|
-
border-color: #58a6ff;
|
|
610
|
-
background: #0d1117;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
.filter-count {
|
|
614
|
-
background: #58a6ff;
|
|
615
|
-
color: #0d1117;
|
|
616
|
-
padding: 2px 6px;
|
|
617
|
-
border-radius: 10px;
|
|
618
|
-
font-size: 12px;
|
|
619
|
-
font-weight: 600;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
.filter-dropdown-menu {
|
|
623
|
-
position: absolute;
|
|
624
|
-
top: calc(100% + 4px);
|
|
625
|
-
right: 0;
|
|
626
|
-
background: #161b22;
|
|
627
|
-
border: 1px solid #30363d;
|
|
628
|
-
border-radius: 6px;
|
|
629
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
|
630
|
-
min-width: 250px;
|
|
631
|
-
z-index: 1000;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
.filter-dropdown-header {
|
|
635
|
-
padding: 8px 12px;
|
|
636
|
-
border-bottom: 1px solid #30363d;
|
|
637
|
-
display: flex;
|
|
638
|
-
justify-content: space-between;
|
|
639
|
-
align-items: center;
|
|
640
|
-
font-size: 12px;
|
|
641
|
-
font-weight: 600;
|
|
642
|
-
color: #c9d1d9;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.clear-filters-btn {
|
|
646
|
-
background: none;
|
|
647
|
-
border: none;
|
|
648
|
-
color: #58a6ff;
|
|
649
|
-
cursor: pointer;
|
|
650
|
-
font-size: 12px;
|
|
651
|
-
padding: 2px 6px;
|
|
652
|
-
border-radius: 3px;
|
|
653
|
-
transition: background 0.2s;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
.clear-filters-btn:hover {
|
|
657
|
-
background: rgba(88, 166, 255, 0.1);
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
.filter-options {
|
|
661
|
-
max-height: 300px;
|
|
662
|
-
overflow-y: auto;
|
|
663
|
-
padding: 4px 0;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.filter-option {
|
|
667
|
-
display: flex;
|
|
668
|
-
align-items: center;
|
|
669
|
-
gap: 8px;
|
|
670
|
-
padding: 6px 12px;
|
|
671
|
-
cursor: pointer;
|
|
672
|
-
transition: background 0.2s;
|
|
673
|
-
font-size: 13px;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
.filter-option:hover {
|
|
677
|
-
background: rgba(88, 166, 255, 0.1);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.filter-option input[type="checkbox"] {
|
|
681
|
-
cursor: pointer;
|
|
682
|
-
accent-color: #58a6ff;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
.filter-option-label {
|
|
686
|
-
flex: 1;
|
|
687
|
-
color: #c9d1d9;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
.filter-option-count {
|
|
691
|
-
color: #7d8590;
|
|
692
|
-
font-size: 12px;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
.content-toolbar-right {
|
|
696
|
-
display: flex;
|
|
697
|
-
align-items: center;
|
|
698
|
-
justify-content: flex-end;
|
|
699
|
-
gap: 8px;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
950
|
/* Turn navigation in toolbar */
|
|
703
951
|
.turn-dropdown {
|
|
704
952
|
padding: 6px 12px;
|
|
@@ -1121,12 +1369,13 @@
|
|
|
1121
1369
|
display: none;
|
|
1122
1370
|
}
|
|
1123
1371
|
.event.event-in-subagent { border-left-color: var(--subagent-border-color, #58a6ff); }
|
|
1124
|
-
.subagent-owner-tag { font-size: 11px; padding: 1px 6px; border-radius: 8px; border: 1px solid; white-space: nowrap; opacity: 0.85; }
|
|
1372
|
+
.subagent-owner-tag { font-size: 11px; padding: 1px 6px; border-radius: 8px; border: 1px solid; border-color: var(--subagent-color, #58a6ff); color: var(--subagent-color, #58a6ff); white-space: nowrap; opacity: 0.85; cursor: pointer; transition: opacity 0.15s; }
|
|
1373
|
+
.subagent-owner-tag:hover { opacity: 1; background: var(--subagent-hover-bg, rgba(88, 166, 255, 0.15)); }
|
|
1125
1374
|
.subagent-name-badge { font-size: 11px; padding: 2px 8px; border-radius: 4px; border: 1px solid; white-space: nowrap; font-weight: 600; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
|
|
1126
1375
|
|
|
1127
1376
|
/* Bottom spacer for last event visibility */
|
|
1128
1377
|
.scroller-bottom-spacer {
|
|
1129
|
-
height: max(env(safe-area-inset-bottom, 0px),
|
|
1378
|
+
height: max(env(safe-area-inset-bottom, 0px), 16px);
|
|
1130
1379
|
flex-shrink: 0;
|
|
1131
1380
|
}
|
|
1132
1381
|
|
|
@@ -1135,6 +1384,23 @@
|
|
|
1135
1384
|
display: none;
|
|
1136
1385
|
}
|
|
1137
1386
|
|
|
1387
|
+
/* ── Tablet responsive ─────────────────────────────────── */
|
|
1388
|
+
@media (max-width: 768px) {
|
|
1389
|
+
.filter-bar-search {
|
|
1390
|
+
flex: 1 1 100%;
|
|
1391
|
+
order: 1;
|
|
1392
|
+
}
|
|
1393
|
+
.filter-bar-row {
|
|
1394
|
+
flex-wrap: wrap;
|
|
1395
|
+
}
|
|
1396
|
+
.filter-bar-divider {
|
|
1397
|
+
display: none;
|
|
1398
|
+
}
|
|
1399
|
+
.subagent-usage-badge {
|
|
1400
|
+
display: none;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1138
1404
|
/* ── Mobile responsive ────────────────────────────────────── */
|
|
1139
1405
|
@media (max-width: 640px) {
|
|
1140
1406
|
/* Header: smaller, wrap if needed */
|
|
@@ -1193,25 +1459,64 @@
|
|
|
1193
1459
|
width: 100%;
|
|
1194
1460
|
}
|
|
1195
1461
|
|
|
1196
|
-
/* Toolbar:
|
|
1197
|
-
.
|
|
1462
|
+
/* Toolbar: unified responsive layout */
|
|
1463
|
+
.filter-bar-row {
|
|
1198
1464
|
flex-wrap: wrap;
|
|
1199
1465
|
gap: 4px;
|
|
1200
1466
|
padding: 6px 8px;
|
|
1201
1467
|
}
|
|
1202
|
-
.
|
|
1203
|
-
|
|
1204
|
-
|
|
1468
|
+
.filter-bar-search {
|
|
1469
|
+
flex: 1 1 100%;
|
|
1470
|
+
order: 1;
|
|
1471
|
+
}
|
|
1472
|
+
.sidebar-toggle {
|
|
1473
|
+
order: 0;
|
|
1474
|
+
}
|
|
1475
|
+
.filter-bar-divider {
|
|
1476
|
+
display: none;
|
|
1477
|
+
}
|
|
1478
|
+
.turn-dropdown {
|
|
1479
|
+
order: 2;
|
|
1480
|
+
flex: 1;
|
|
1481
|
+
min-width: 0;
|
|
1482
|
+
max-width: 140px;
|
|
1483
|
+
font-size: 12px;
|
|
1484
|
+
}
|
|
1485
|
+
.subagent-selector {
|
|
1486
|
+
order: 3;
|
|
1487
|
+
}
|
|
1488
|
+
.filter-type-wrapper {
|
|
1489
|
+
order: 4;
|
|
1205
1490
|
}
|
|
1206
1491
|
.search-input {
|
|
1207
1492
|
flex: 1;
|
|
1208
1493
|
min-width: 0;
|
|
1209
1494
|
font-size: 12px;
|
|
1210
1495
|
}
|
|
1211
|
-
.
|
|
1212
|
-
max-width:
|
|
1496
|
+
.subagent-dropdown {
|
|
1497
|
+
max-width: 130px;
|
|
1213
1498
|
font-size: 12px;
|
|
1214
1499
|
}
|
|
1500
|
+
.subagent-usage-badge {
|
|
1501
|
+
display: none;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
.usage-summary {
|
|
1505
|
+
padding: 12px;
|
|
1506
|
+
}
|
|
1507
|
+
.usage-summary-total {
|
|
1508
|
+
font-size: 20px;
|
|
1509
|
+
}
|
|
1510
|
+
.usage-summary-metrics,
|
|
1511
|
+
.usage-metric-grid-compact {
|
|
1512
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1513
|
+
}
|
|
1514
|
+
.usage-model-header {
|
|
1515
|
+
gap: 6px;
|
|
1516
|
+
}
|
|
1517
|
+
.usage-model-meta {
|
|
1518
|
+
justify-content: flex-start;
|
|
1519
|
+
}
|
|
1215
1520
|
|
|
1216
1521
|
/* Float buttons: slightly smaller, keep fixed */
|
|
1217
1522
|
.scroll-float-btns {
|