reevesagents 1.2.0 → 1.3.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/dist/web/app.css CHANGED
@@ -79,11 +79,14 @@ body {
79
79
  }
80
80
 
81
81
  html[dir="rtl"] .topbar,
82
- html[dir="rtl"] .layout,
83
- html[dir="rtl"] .dialog {
82
+ html[dir="rtl"] .layout {
84
83
  direction: ltr;
85
84
  }
86
85
 
86
+ html[dir="rtl"] .dialog {
87
+ direction: rtl;
88
+ }
89
+
87
90
  html[dir="rtl"] .stage-title,
88
91
  html[dir="rtl"] .stage-sub,
89
92
  html[dir="rtl"] .overlay-card,
@@ -130,13 +133,16 @@ button { letter-spacing: 0; }
130
133
  /* topbar */
131
134
  .topbar {
132
135
  position: relative;
133
- height: var(--topbar-h);
136
+ min-height: var(--topbar-h);
137
+ height: auto;
134
138
  flex: 0 0 auto;
135
139
  display: flex;
140
+ flex-wrap: wrap;
136
141
  align-items: center;
142
+ align-content: center;
137
143
  justify-content: space-between;
138
144
  gap: var(--s-4);
139
- padding: 0 var(--s-4);
145
+ padding: var(--s-2) var(--s-4);
140
146
  border-bottom: 1px solid var(--border-soft);
141
147
  background:
142
148
  linear-gradient(90deg, rgba(111, 176, 168, 0.065), transparent 28%, rgba(168, 144, 209, 0.052) 64%, rgba(215, 168, 79, 0.045)),
@@ -148,7 +154,8 @@ button { letter-spacing: 0; }
148
154
  }
149
155
 
150
156
  .brand {
151
- min-width: 0;
157
+ min-width: max-content;
158
+ flex: 0 0 auto;
152
159
  display: flex;
153
160
  align-items: center;
154
161
  gap: var(--s-3);
@@ -189,21 +196,16 @@ button { letter-spacing: 0; }
189
196
  font-weight: 750;
190
197
  line-height: 1.05;
191
198
  letter-spacing: 0;
192
- }
193
-
194
- .brand-beta {
195
- width: fit-content;
196
- color: var(--muted);
197
- font-size: var(--fs-xs);
198
- line-height: 1;
199
- text-transform: uppercase;
200
- letter-spacing: 0;
199
+ white-space: nowrap;
201
200
  }
202
201
 
203
202
  .topbar-actions {
204
- flex: 0 0 auto;
203
+ min-width: 0;
204
+ flex: 1 1 0;
205
205
  display: flex;
206
+ flex-wrap: wrap;
206
207
  align-items: center;
208
+ justify-content: flex-end;
207
209
  gap: var(--s-3);
208
210
  }
209
211
 
@@ -551,6 +553,197 @@ button { letter-spacing: 0; }
551
553
  outline: none;
552
554
  }
553
555
 
556
+ .approvals-group {
557
+ display: flex;
558
+ flex-direction: column;
559
+ gap: var(--s-2);
560
+ animation: fadeUp var(--motion-pop) both;
561
+ }
562
+
563
+ .approvals-head {
564
+ display: flex;
565
+ align-items: center;
566
+ justify-content: space-between;
567
+ gap: var(--s-2);
568
+ padding: var(--s-2) var(--s-1) 0;
569
+ }
570
+
571
+ .approvals-title {
572
+ color: var(--warn);
573
+ font-size: var(--fs-sm);
574
+ font-weight: 700;
575
+ }
576
+
577
+ .approvals-count {
578
+ color: var(--bg);
579
+ background: var(--warn);
580
+ border-radius: var(--r-1);
581
+ padding: 0 var(--s-2);
582
+ font-size: var(--fs-xs);
583
+ font-weight: 700;
584
+ }
585
+
586
+ .approval-card {
587
+ --run-color: var(--warn);
588
+ display: flex;
589
+ flex-direction: column;
590
+ gap: var(--s-2);
591
+ padding: var(--s-3);
592
+ border: 1px solid color-mix(in srgb, var(--warn) 32%, var(--border));
593
+ border-radius: var(--r-3);
594
+ background: color-mix(in srgb, var(--warn) 6%, transparent);
595
+ }
596
+
597
+ .approval-card[data-risk="high"] {
598
+ border-color: color-mix(in srgb, var(--error) 40%, var(--border));
599
+ background: color-mix(in srgb, var(--error) 7%, transparent);
600
+ }
601
+
602
+ .approval-body {
603
+ display: flex;
604
+ flex-direction: column;
605
+ gap: 2px;
606
+ min-width: 0;
607
+ }
608
+
609
+ .approval-action {
610
+ color: var(--text);
611
+ font-size: var(--fs-sm);
612
+ font-weight: 600;
613
+ overflow: hidden;
614
+ text-overflow: ellipsis;
615
+ white-space: nowrap;
616
+ }
617
+
618
+ .approval-meta {
619
+ color: var(--muted);
620
+ font-size: var(--fs-xs);
621
+ }
622
+
623
+ .approval-summary {
624
+ color: var(--dim);
625
+ font-size: var(--fs-xs);
626
+ }
627
+
628
+ .approval-actions {
629
+ display: flex;
630
+ gap: var(--s-2);
631
+ }
632
+
633
+ .approval-approve,
634
+ .approval-deny {
635
+ flex: 1 1 0;
636
+ border: 1px solid transparent;
637
+ border-radius: var(--r-1);
638
+ padding: var(--s-1) var(--s-2);
639
+ cursor: pointer;
640
+ font-size: var(--fs-xs);
641
+ font-weight: 600;
642
+ transition: border-color var(--motion), color var(--motion), background var(--motion);
643
+ }
644
+
645
+ .approval-approve {
646
+ border-color: color-mix(in srgb, var(--ok) 36%, var(--border));
647
+ color: var(--ok);
648
+ background: color-mix(in srgb, var(--ok) 10%, transparent);
649
+ }
650
+
651
+ .approval-approve:hover,
652
+ .approval-approve:focus-visible {
653
+ background: color-mix(in srgb, var(--ok) 20%, transparent);
654
+ outline: none;
655
+ }
656
+
657
+ .approval-deny {
658
+ border-color: color-mix(in srgb, var(--error) 30%, var(--border));
659
+ color: var(--error);
660
+ background: color-mix(in srgb, var(--error) 8%, transparent);
661
+ }
662
+
663
+ .approval-deny:hover,
664
+ .approval-deny:focus-visible {
665
+ background: color-mix(in srgb, var(--error) 18%, transparent);
666
+ outline: none;
667
+ }
668
+
669
+ .about-list {
670
+ display: flex;
671
+ flex-direction: column;
672
+ gap: var(--s-1);
673
+ }
674
+
675
+ .about-row {
676
+ display: grid;
677
+ grid-template-columns: 120px minmax(0, 1fr);
678
+ align-items: baseline;
679
+ gap: var(--s-2);
680
+ padding: var(--s-1) var(--s-2);
681
+ }
682
+
683
+ .about-key {
684
+ color: var(--muted);
685
+ font-size: var(--fs-xs);
686
+ text-transform: uppercase;
687
+ }
688
+
689
+ .about-value {
690
+ color: var(--text);
691
+ font-size: var(--fs-sm);
692
+ word-break: break-word;
693
+ }
694
+
695
+ .about-link {
696
+ color: var(--accent);
697
+ text-decoration: none;
698
+ }
699
+
700
+ .about-link:hover {
701
+ text-decoration: underline;
702
+ }
703
+
704
+ .doctor-list {
705
+ display: flex;
706
+ flex-direction: column;
707
+ gap: var(--s-1);
708
+ max-height: 50vh;
709
+ overflow-y: auto;
710
+ }
711
+
712
+ .doctor-check {
713
+ display: grid;
714
+ grid-template-columns: auto auto minmax(0, 1fr);
715
+ align-items: baseline;
716
+ gap: var(--s-2);
717
+ padding: var(--s-2);
718
+ border: 1px solid var(--border-faint);
719
+ border-radius: var(--r-1);
720
+ }
721
+
722
+ .doctor-check-name {
723
+ color: var(--text);
724
+ font-size: var(--fs-sm);
725
+ font-weight: 600;
726
+ }
727
+
728
+ .doctor-check-status {
729
+ font-size: var(--fs-xs);
730
+ font-weight: 700;
731
+ text-transform: uppercase;
732
+ color: var(--muted);
733
+ }
734
+
735
+ .doctor-check[data-status="ok"] .doctor-check-status { color: var(--ok); }
736
+ .doctor-check[data-status="warn"] .doctor-check-status { color: var(--warn); }
737
+ .doctor-check[data-status="fail"] .doctor-check-status { color: var(--error); }
738
+
739
+ .doctor-check-detail {
740
+ overflow: hidden;
741
+ color: var(--dim);
742
+ font-size: var(--fs-xs);
743
+ text-overflow: ellipsis;
744
+ white-space: nowrap;
745
+ }
746
+
554
747
  .history-group {
555
748
  display: flex;
556
749
  flex-direction: column;
@@ -676,9 +869,9 @@ button { letter-spacing: 0; }
676
869
  .card {
677
870
  --agent-color: var(--accent);
678
871
  position: relative;
679
- display: grid;
680
- grid-template-columns: minmax(0, 1fr) auto;
681
- align-items: center;
872
+ display: flex;
873
+ flex-direction: column;
874
+ align-items: stretch;
682
875
  gap: var(--s-2);
683
876
  width: 100%;
684
877
  min-height: 66px;
@@ -740,6 +933,7 @@ button { letter-spacing: 0; }
740
933
 
741
934
  .card-main {
742
935
  min-width: 0;
936
+ width: 100%;
743
937
  display: grid;
744
938
  grid-template-columns: 38px minmax(0, 1fr);
745
939
  align-items: center;
@@ -805,6 +999,17 @@ button { letter-spacing: 0; }
805
999
  white-space: nowrap;
806
1000
  }
807
1001
 
1002
+ .card-task {
1003
+ display: block;
1004
+ overflow: hidden;
1005
+ color: var(--dim);
1006
+ font-size: var(--fs-xs);
1007
+ line-height: 1.2;
1008
+ text-overflow: ellipsis;
1009
+ white-space: nowrap;
1010
+ opacity: 0.85;
1011
+ }
1012
+
808
1013
  .card-provider {
809
1014
  display: inline-flex;
810
1015
  align-items: center;
@@ -822,10 +1027,14 @@ button { letter-spacing: 0; }
822
1027
  }
823
1028
 
824
1029
  .card-tail {
1030
+ min-width: 0;
1031
+ width: 100%;
825
1032
  display: flex;
1033
+ flex-wrap: wrap;
826
1034
  align-items: center;
827
- justify-content: flex-end;
1035
+ justify-content: flex-start;
828
1036
  gap: var(--s-2);
1037
+ padding-left: calc(38px + var(--s-3));
829
1038
  }
830
1039
 
831
1040
  .dot {
@@ -1182,12 +1391,13 @@ button { letter-spacing: 0; }
1182
1391
  }
1183
1392
 
1184
1393
  .dialog form {
1394
+ --dialog-pad: var(--s-5);
1185
1395
  max-height: calc(100dvh - 32px);
1186
1396
  overflow-y: auto;
1187
1397
  display: flex;
1188
1398
  flex-direction: column;
1189
1399
  gap: var(--s-3);
1190
- padding: var(--s-5);
1400
+ padding: var(--dialog-pad);
1191
1401
  }
1192
1402
 
1193
1403
  .dialog-header {
@@ -1519,6 +1729,140 @@ button { letter-spacing: 0; }
1519
1729
  margin-top: var(--s-2);
1520
1730
  }
1521
1731
 
1732
+ .dialog form .dialog-actions {
1733
+ position: sticky;
1734
+ bottom: 0;
1735
+ z-index: 2;
1736
+ margin: var(--s-2) calc(-1 * var(--dialog-pad)) calc(-1 * var(--dialog-pad));
1737
+ padding: var(--s-3) var(--dialog-pad) var(--dialog-pad);
1738
+ border-top: 1px solid var(--border-soft);
1739
+ background: var(--panel);
1740
+ }
1741
+
1742
+ /* agent control (MCP installer) dialog */
1743
+ .mcp-dialog { width: min(560px, calc(100vw - 32px)); }
1744
+
1745
+ .mcp-panel {
1746
+ display: flex;
1747
+ flex-direction: column;
1748
+ gap: var(--s-3);
1749
+ padding: var(--s-5);
1750
+ max-height: calc(100dvh - 32px);
1751
+ overflow-y: auto;
1752
+ }
1753
+
1754
+ .mcp-host-list {
1755
+ display: flex;
1756
+ flex-direction: column;
1757
+ gap: var(--s-2);
1758
+ }
1759
+
1760
+ .mcp-host-row {
1761
+ display: flex;
1762
+ align-items: center;
1763
+ gap: var(--s-3);
1764
+ border: 1px solid var(--border-soft);
1765
+ border-radius: var(--r-2);
1766
+ padding: var(--s-2) var(--s-3);
1767
+ background: color-mix(in srgb, var(--panel-2) 80%, black);
1768
+ }
1769
+
1770
+ .mcp-host-row[data-state="attached"] {
1771
+ border-color: color-mix(in srgb, var(--ok) 46%, var(--border));
1772
+ }
1773
+
1774
+ .mcp-host-row[data-state="loading"] {
1775
+ border-style: dashed;
1776
+ }
1777
+
1778
+ .mcp-host-body {
1779
+ display: flex;
1780
+ flex-direction: column;
1781
+ gap: 1px;
1782
+ flex: 1 1 auto;
1783
+ min-width: 0;
1784
+ }
1785
+
1786
+ .mcp-host-name {
1787
+ color: var(--text);
1788
+ font-weight: 640;
1789
+ font-size: var(--fs-sm);
1790
+ }
1791
+
1792
+ .mcp-host-meta {
1793
+ color: var(--muted);
1794
+ font-size: var(--fs-xs);
1795
+ font-family: ui-monospace, "SF Mono", Menlo, monospace;
1796
+ }
1797
+
1798
+ .mcp-host-status {
1799
+ font-size: var(--fs-xs);
1800
+ color: var(--muted);
1801
+ white-space: nowrap;
1802
+ }
1803
+
1804
+ .mcp-host-row[data-state="attached"] .mcp-host-status { color: var(--ok); }
1805
+ .mcp-host-row[data-state="detached"] .mcp-host-status { color: var(--warn); }
1806
+ .mcp-host-row[data-state="absent"] .mcp-host-status,
1807
+ .mcp-host-row[data-state="manual"] .mcp-host-status,
1808
+ .mcp-host-row[data-state="loading"] .mcp-host-status { color: var(--faint); }
1809
+
1810
+ .mcp-host-action {
1811
+ min-height: 30px;
1812
+ padding-inline: var(--s-3);
1813
+ border: 1px solid var(--border);
1814
+ border-radius: var(--r-2);
1815
+ color: var(--text);
1816
+ background: var(--panel-3);
1817
+ cursor: pointer;
1818
+ font-size: var(--fs-xs);
1819
+ white-space: nowrap;
1820
+ }
1821
+
1822
+ .mcp-host-action:hover:not(:disabled) {
1823
+ border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
1824
+ }
1825
+
1826
+ .mcp-host-action[data-kind="detach"] {
1827
+ color: var(--warn);
1828
+ border-color: color-mix(in srgb, var(--warn) 36%, var(--border));
1829
+ }
1830
+
1831
+ .mcp-host-action:disabled {
1832
+ opacity: 0.5;
1833
+ cursor: default;
1834
+ }
1835
+
1836
+ .mcp-host-note {
1837
+ font-size: var(--fs-xs);
1838
+ color: var(--faint);
1839
+ white-space: nowrap;
1840
+ }
1841
+
1842
+ .mcp-empty {
1843
+ color: var(--muted);
1844
+ font-size: var(--fs-sm);
1845
+ padding: var(--s-3);
1846
+ text-align: center;
1847
+ }
1848
+
1849
+ /* config + presets panels reuse the mcp dialog shell */
1850
+ .config-list {
1851
+ display: flex;
1852
+ flex-direction: column;
1853
+ gap: var(--s-3);
1854
+ max-height: 50vh;
1855
+ overflow-y: auto;
1856
+ }
1857
+
1858
+ #preset-save-field {
1859
+ gap: var(--s-2);
1860
+ }
1861
+
1862
+ #preset-save {
1863
+ align-self: flex-start;
1864
+ }
1865
+
1522
1866
  /* scrollbar */
1523
1867
  .sidebar::-webkit-scrollbar { width: 10px; }
1524
1868
  .sidebar::-webkit-scrollbar-thumb {
@@ -1599,7 +1943,7 @@ button { letter-spacing: 0; }
1599
1943
  }
1600
1944
 
1601
1945
  .brand {
1602
- min-width: 0;
1946
+ min-width: max-content;
1603
1947
  }
1604
1948
 
1605
1949
  .brand-duck {
@@ -1612,10 +1956,6 @@ button { letter-spacing: 0; }
1612
1956
  font-size: var(--fs-md);
1613
1957
  }
1614
1958
 
1615
- .brand-beta {
1616
- display: none;
1617
- }
1618
-
1619
1959
  .topbar-actions {
1620
1960
  position: static;
1621
1961
  width: 100%;
@@ -1703,6 +2043,10 @@ button { letter-spacing: 0; }
1703
2043
  padding-inline: var(--s-1);
1704
2044
  }
1705
2045
 
2046
+ .card-tail {
2047
+ padding-left: calc(34px + var(--s-2));
2048
+ }
2049
+
1706
2050
  .stage-status {
1707
2051
  min-width: 64px;
1708
2052
  padding-inline: var(--s-2);
@@ -1726,7 +2070,8 @@ button { letter-spacing: 0; }
1726
2070
  }
1727
2071
 
1728
2072
  .dialog form {
1729
- padding: var(--s-4);
2073
+ --dialog-pad: var(--s-4);
2074
+ padding: var(--dialog-pad);
1730
2075
  }
1731
2076
  }
1732
2077