clauddy 1.23.0 → 1.24.0
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/README.md +34 -16
- package/auth.js +9 -1
- package/codex.js +220 -0
- package/main.js +87 -7
- package/package.json +3 -1
- package/preload.js +5 -1
- package/renderer/index.html +132 -68
- package/renderer/motion.css +120 -2
- package/renderer/pet.js +301 -43
- package/renderer/style.css +583 -52
package/renderer/style.css
CHANGED
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
--coral-soft: #e6a07f;
|
|
4
4
|
--pixel: #d57658; /* pet terracotta — matches the real Claude logo */
|
|
5
5
|
--eye: #221b16;
|
|
6
|
-
--text: #
|
|
7
|
-
--muted: #
|
|
8
|
-
--hair: rgba(255, 255, 255, 0.
|
|
6
|
+
--text: #eeeae5;
|
|
7
|
+
--muted: #a39f98;
|
|
8
|
+
--hair: rgba(255, 255, 255, 0.075);
|
|
9
9
|
--track: rgba(255, 255, 255, 0.1);
|
|
10
10
|
--green: #7ec77d;
|
|
11
|
+
--panel-bg:
|
|
12
|
+
radial-gradient(130% 110% at 20% 0%, #89543445, transparent 60%),
|
|
13
|
+
linear-gradient(158deg, #30241c, #211912 55%, #18120e);
|
|
14
|
+
--panel-border: #e8bb8e20;
|
|
15
|
+
--settings-bg: linear-gradient(150deg, #30241d, #211912);
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
* {
|
|
@@ -33,16 +38,13 @@ body {
|
|
|
33
38
|
position: absolute;
|
|
34
39
|
top: 12px;
|
|
35
40
|
left: 12px;
|
|
36
|
-
width:
|
|
37
|
-
background:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
border: 0.5px solid rgba(255, 210, 180, 0.1);
|
|
41
|
-
border-radius: 14px;
|
|
41
|
+
width: 280px;
|
|
42
|
+
background: var(--panel-bg);
|
|
43
|
+
border: 1px solid var(--panel-border);
|
|
44
|
+
border-radius: 18px;
|
|
42
45
|
box-shadow:
|
|
43
|
-
0
|
|
44
|
-
|
|
45
|
-
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
46
|
+
0 12px 32px #0005,
|
|
47
|
+
inset 0 1px 0 #ffffff05;
|
|
46
48
|
padding: 14px 18px 14px;
|
|
47
49
|
display: flex;
|
|
48
50
|
flex-direction: column;
|
|
@@ -70,10 +72,10 @@ body {
|
|
|
70
72
|
width: 19px;
|
|
71
73
|
height: 19px;
|
|
72
74
|
border: 1px solid rgba(255, 255, 255, 0.035);
|
|
73
|
-
border-radius:
|
|
74
|
-
background:
|
|
75
|
+
border-radius: 6px;
|
|
76
|
+
background: #ffffff04;
|
|
75
77
|
box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.03);
|
|
76
|
-
color: #
|
|
78
|
+
color: #aaa59d;
|
|
77
79
|
font-size: 12px;
|
|
78
80
|
line-height: 1;
|
|
79
81
|
cursor: pointer;
|
|
@@ -165,18 +167,18 @@ body.collapsed #usage {
|
|
|
165
167
|
/* logged-in account chip (top-left, mirrors #controls) */
|
|
166
168
|
#account-chip {
|
|
167
169
|
position: absolute;
|
|
168
|
-
top:
|
|
170
|
+
top: 7px;
|
|
169
171
|
left: 10px;
|
|
170
172
|
z-index: 10;
|
|
171
173
|
display: flex;
|
|
172
174
|
align-items: center;
|
|
173
175
|
gap: 5px;
|
|
174
|
-
height:
|
|
176
|
+
height: 24px;
|
|
175
177
|
/* #controls starts at ~154px: stop short of it, the pill has padding too */
|
|
176
|
-
max-width:
|
|
177
|
-
font-size:
|
|
178
|
+
max-width: 164px;
|
|
179
|
+
font-size: 10px;
|
|
178
180
|
line-height: 1;
|
|
179
|
-
color: #
|
|
181
|
+
color: #c3beb7;
|
|
180
182
|
}
|
|
181
183
|
#account-chip[hidden] {
|
|
182
184
|
display: none;
|
|
@@ -188,7 +190,7 @@ body.collapsed #usage {
|
|
|
188
190
|
cursor: pointer;
|
|
189
191
|
padding: 0 5px 0 6px;
|
|
190
192
|
margin-left: -6px; /* the text stays where it has always been */
|
|
191
|
-
border-radius:
|
|
193
|
+
border-radius: 6px;
|
|
192
194
|
background: transparent;
|
|
193
195
|
transition:
|
|
194
196
|
background 0.15s,
|
|
@@ -336,7 +338,7 @@ body.collapsed #mini-acct-name {
|
|
|
336
338
|
display: none;
|
|
337
339
|
margin: 24px -18px -14px;
|
|
338
340
|
padding: 12px 16px;
|
|
339
|
-
background:
|
|
341
|
+
background: var(--settings-bg);
|
|
340
342
|
-webkit-app-region: no-drag;
|
|
341
343
|
}
|
|
342
344
|
/* panel heading: gives the screen a title instead of opening cold on a form */
|
|
@@ -347,27 +349,21 @@ body.collapsed #mini-acct-name {
|
|
|
347
349
|
min-height: 38px;
|
|
348
350
|
}
|
|
349
351
|
.settings-heading h3 {
|
|
350
|
-
font-size:
|
|
352
|
+
font-size: 18px;
|
|
351
353
|
letter-spacing: -0.4px;
|
|
352
354
|
font-weight: 500;
|
|
353
|
-
color:
|
|
355
|
+
color: var(--text);
|
|
354
356
|
}
|
|
355
357
|
.settings-heading p {
|
|
356
358
|
font-size: 10px;
|
|
357
|
-
color:
|
|
359
|
+
color: var(--muted);
|
|
358
360
|
margin-top: 4px;
|
|
359
361
|
}
|
|
360
|
-
.sh-ico {
|
|
361
|
-
width: 18px;
|
|
362
|
-
height: 18px;
|
|
363
|
-
color: var(--text);
|
|
364
|
-
stroke-width: 2;
|
|
365
|
-
}
|
|
366
362
|
/* group label above a cluster of rows */
|
|
367
363
|
.settings-label {
|
|
368
364
|
display: block;
|
|
369
365
|
font-size: 10px;
|
|
370
|
-
color:
|
|
366
|
+
color: var(--muted);
|
|
371
367
|
margin-bottom: 6px;
|
|
372
368
|
}
|
|
373
369
|
.threshold-label {
|
|
@@ -383,9 +379,9 @@ body.collapsed #mini-acct-name {
|
|
|
383
379
|
gap: 8px;
|
|
384
380
|
margin: 11px 0 13px;
|
|
385
381
|
padding: 8px;
|
|
386
|
-
border: 1px solid
|
|
382
|
+
border: 1px solid var(--hair);
|
|
387
383
|
border-radius: 7px;
|
|
388
|
-
background:
|
|
384
|
+
background: #ffffff03;
|
|
389
385
|
}
|
|
390
386
|
.connect-block > div {
|
|
391
387
|
flex: 1;
|
|
@@ -445,7 +441,7 @@ body.settings-open #mini {
|
|
|
445
441
|
}
|
|
446
442
|
body.settings-open #settings {
|
|
447
443
|
display: block;
|
|
448
|
-
animation: set-in 0.
|
|
444
|
+
animation: set-in 0.24s cubic-bezier(0.22, 1, 0.36, 1);
|
|
449
445
|
}
|
|
450
446
|
/* the panel covers the card, so the stage keeps its normal height behind it */
|
|
451
447
|
body.settings-open #stage {
|
|
@@ -1260,9 +1256,9 @@ body.settings-open #pet {
|
|
|
1260
1256
|
position: relative;
|
|
1261
1257
|
height: 132px;
|
|
1262
1258
|
margin-top: 24px; /* the title band is 38px; the card already pads 14 of it */
|
|
1263
|
-
border-radius:
|
|
1264
|
-
background: radial-gradient(
|
|
1265
|
-
box-shadow: 0 0
|
|
1259
|
+
border-radius: 11px;
|
|
1260
|
+
background: radial-gradient(100% 130% at 50% 30%, #141714, #0d100e);
|
|
1261
|
+
box-shadow: inset 0 0 0 1px #ffffff06;
|
|
1266
1262
|
overflow: hidden;
|
|
1267
1263
|
}
|
|
1268
1264
|
#scene {
|
|
@@ -1774,10 +1770,10 @@ body.act-running #terminal {
|
|
|
1774
1770
|
display: flex;
|
|
1775
1771
|
align-items: center;
|
|
1776
1772
|
gap: 6px;
|
|
1777
|
-
padding:
|
|
1773
|
+
padding: 10px 0;
|
|
1778
1774
|
border-bottom: 1px solid var(--hair);
|
|
1779
1775
|
font-size: 11px;
|
|
1780
|
-
color: #
|
|
1776
|
+
color: #b9b4ad;
|
|
1781
1777
|
}
|
|
1782
1778
|
#statusline .sep {
|
|
1783
1779
|
opacity: 0.4;
|
|
@@ -1794,7 +1790,7 @@ body.act-running #terminal {
|
|
|
1794
1790
|
}
|
|
1795
1791
|
#rate {
|
|
1796
1792
|
font-size: 10px;
|
|
1797
|
-
color: #
|
|
1793
|
+
color: #a39f98;
|
|
1798
1794
|
font-variant-numeric: tabular-nums;
|
|
1799
1795
|
}
|
|
1800
1796
|
body.state-working #status-dot {
|
|
@@ -1819,9 +1815,8 @@ body.state-tired #status-text {
|
|
|
1819
1815
|
|
|
1820
1816
|
/* meter subtitle */
|
|
1821
1817
|
.sub {
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
color: #96816d;
|
|
1818
|
+
font-size: 10px;
|
|
1819
|
+
color: #a8a29a;
|
|
1825
1820
|
margin-top: 5px;
|
|
1826
1821
|
letter-spacing: 0px;
|
|
1827
1822
|
white-space: nowrap;
|
|
@@ -1832,7 +1827,7 @@ body.state-tired #status-text {
|
|
|
1832
1827
|
/* burn-rate projection — calm by default, warm when you'd run out first */
|
|
1833
1828
|
.sub.proj {
|
|
1834
1829
|
margin-top: 2px;
|
|
1835
|
-
font-style:
|
|
1830
|
+
font-style: normal;
|
|
1836
1831
|
opacity: 0.85;
|
|
1837
1832
|
}
|
|
1838
1833
|
.sub.proj.tight {
|
|
@@ -1876,7 +1871,7 @@ body.state-tired #status-text {
|
|
|
1876
1871
|
display: flex;
|
|
1877
1872
|
justify-content: space-between;
|
|
1878
1873
|
font-size: 9px;
|
|
1879
|
-
color: #
|
|
1874
|
+
color: #aaa39b;
|
|
1880
1875
|
border-top: 1px solid var(--hair);
|
|
1881
1876
|
padding-top: 9px;
|
|
1882
1877
|
margin-top: 0;
|
|
@@ -1884,7 +1879,7 @@ body.state-tired #status-text {
|
|
|
1884
1879
|
}
|
|
1885
1880
|
#month-total {
|
|
1886
1881
|
font-weight: 400;
|
|
1887
|
-
color: #
|
|
1882
|
+
color: #aaa39b;
|
|
1888
1883
|
font-variant-numeric: tabular-nums;
|
|
1889
1884
|
}
|
|
1890
1885
|
|
|
@@ -1904,7 +1899,7 @@ body.state-tired #status-text {
|
|
|
1904
1899
|
justify-content: space-between;
|
|
1905
1900
|
align-items: center;
|
|
1906
1901
|
font-size: 11px;
|
|
1907
|
-
color: #
|
|
1902
|
+
color: #bdb7af;
|
|
1908
1903
|
margin-bottom: 0;
|
|
1909
1904
|
}
|
|
1910
1905
|
.meter-top i {
|
|
@@ -1924,7 +1919,7 @@ body.state-tired #status-text {
|
|
|
1924
1919
|
.track {
|
|
1925
1920
|
width: 100%;
|
|
1926
1921
|
height: 4px;
|
|
1927
|
-
background:
|
|
1922
|
+
background: #ffffff0a;
|
|
1928
1923
|
border-radius: 4px;
|
|
1929
1924
|
overflow: hidden;
|
|
1930
1925
|
margin-top: 7px;
|
|
@@ -1973,7 +1968,7 @@ body.state-tired #status-text {
|
|
|
1973
1968
|
cursor: pointer;
|
|
1974
1969
|
font: inherit;
|
|
1975
1970
|
font-size: 10px;
|
|
1976
|
-
color: #
|
|
1971
|
+
color: #aaa59d;
|
|
1977
1972
|
letter-spacing: 0;
|
|
1978
1973
|
-webkit-app-region: no-drag;
|
|
1979
1974
|
}
|
|
@@ -2016,7 +2011,7 @@ body.state-tired #status-text {
|
|
|
2016
2011
|
align-items: center;
|
|
2017
2012
|
gap: 7px;
|
|
2018
2013
|
font-size: 10px;
|
|
2019
|
-
color: #
|
|
2014
|
+
color: #d0cac2;
|
|
2020
2015
|
margin-top: 7px;
|
|
2021
2016
|
margin-bottom: 0;
|
|
2022
2017
|
}
|
|
@@ -2067,7 +2062,7 @@ body.state-tired #status-text {
|
|
|
2067
2062
|
.mrow .mval {
|
|
2068
2063
|
text-align: right;
|
|
2069
2064
|
font-size: 10px;
|
|
2070
|
-
color: #
|
|
2065
|
+
color: #aaa39b;
|
|
2071
2066
|
font-variant-numeric: tabular-nums;
|
|
2072
2067
|
}
|
|
2073
2068
|
|
|
@@ -2259,3 +2254,539 @@ body.state-tired #status-text {
|
|
|
2259
2254
|
transform: translateY(0) rotate(0) scale(1, 1);
|
|
2260
2255
|
}
|
|
2261
2256
|
}
|
|
2257
|
+
|
|
2258
|
+
#harness-tabs {
|
|
2259
|
+
display: none;
|
|
2260
|
+
gap: 6px;
|
|
2261
|
+
min-width: 0;
|
|
2262
|
+
margin: 10px 0 0;
|
|
2263
|
+
-webkit-app-region: no-drag;
|
|
2264
|
+
}
|
|
2265
|
+
body.dual #harness-tabs {
|
|
2266
|
+
display: flex;
|
|
2267
|
+
}
|
|
2268
|
+
#harness-tabs button {
|
|
2269
|
+
display: flex;
|
|
2270
|
+
flex: 1;
|
|
2271
|
+
align-items: center;
|
|
2272
|
+
gap: 5px;
|
|
2273
|
+
min-width: 0;
|
|
2274
|
+
min-height: 26px;
|
|
2275
|
+
padding: 4px 7px;
|
|
2276
|
+
border: 1px solid #ffffff12;
|
|
2277
|
+
border-radius: 6px;
|
|
2278
|
+
background: #ffffff03;
|
|
2279
|
+
color: var(--muted);
|
|
2280
|
+
font: inherit;
|
|
2281
|
+
font-size: 11px;
|
|
2282
|
+
cursor: pointer;
|
|
2283
|
+
}
|
|
2284
|
+
#harness-tabs button[aria-selected="true"] {
|
|
2285
|
+
color: var(--text);
|
|
2286
|
+
border-color: #dc997351;
|
|
2287
|
+
background: #d977571c;
|
|
2288
|
+
box-shadow: inset 0 1px 0 #ffffff05;
|
|
2289
|
+
}
|
|
2290
|
+
#harness-tabs #tab-codex[aria-selected="true"] {
|
|
2291
|
+
border-color: #a7baa14d;
|
|
2292
|
+
background: #a7baa11c;
|
|
2293
|
+
}
|
|
2294
|
+
#harness-tabs button:hover {
|
|
2295
|
+
border-color: #ffffff2b;
|
|
2296
|
+
color: var(--text);
|
|
2297
|
+
}
|
|
2298
|
+
#harness-tabs .tab-logo {
|
|
2299
|
+
width: 12px;
|
|
2300
|
+
height: 12px;
|
|
2301
|
+
flex: none;
|
|
2302
|
+
fill: currentColor;
|
|
2303
|
+
opacity: 0.65;
|
|
2304
|
+
}
|
|
2305
|
+
#harness-tabs button[aria-selected="true"] .tab-logo {
|
|
2306
|
+
opacity: 1;
|
|
2307
|
+
}
|
|
2308
|
+
/* brand colours, as in Settings; a working service lights up fully */
|
|
2309
|
+
#tab-claude .tab-logo {
|
|
2310
|
+
color: #e4a17c;
|
|
2311
|
+
}
|
|
2312
|
+
#tab-codex .tab-logo {
|
|
2313
|
+
color: #b9c8b0;
|
|
2314
|
+
}
|
|
2315
|
+
#harness-tabs button.active .tab-logo {
|
|
2316
|
+
opacity: 1;
|
|
2317
|
+
}
|
|
2318
|
+
#harness-tabs .tab-value {
|
|
2319
|
+
margin-left: auto;
|
|
2320
|
+
font-size: 10px;
|
|
2321
|
+
font-variant-numeric: tabular-nums;
|
|
2322
|
+
}
|
|
2323
|
+
#harness-tabs button.urgent .tab-value,
|
|
2324
|
+
#harness-tabs .tab-alert {
|
|
2325
|
+
color: #f3a38b;
|
|
2326
|
+
}
|
|
2327
|
+
#harness-tabs .tab-alert[hidden] {
|
|
2328
|
+
display: none;
|
|
2329
|
+
}
|
|
2330
|
+
#mini-reset {
|
|
2331
|
+
margin-top: 6px;
|
|
2332
|
+
color: #b4a18a;
|
|
2333
|
+
font-size: 9px;
|
|
2334
|
+
line-height: 1.4;
|
|
2335
|
+
}
|
|
2336
|
+
#mini-reset[hidden] {
|
|
2337
|
+
display: none;
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
/* the session % is the headline number */
|
|
2341
|
+
#limits-meters > .meter:first-child {
|
|
2342
|
+
margin-top: 8px;
|
|
2343
|
+
}
|
|
2344
|
+
#limits-meters > .meter:first-child .meter-top {
|
|
2345
|
+
align-items: baseline;
|
|
2346
|
+
}
|
|
2347
|
+
#limits-meters #session-pct {
|
|
2348
|
+
font-size: 27px;
|
|
2349
|
+
letter-spacing: -1px;
|
|
2350
|
+
font-weight: 500;
|
|
2351
|
+
line-height: 1.3;
|
|
2352
|
+
}
|
|
2353
|
+
#limits-meters > .meter:first-child .track {
|
|
2354
|
+
height: 5px;
|
|
2355
|
+
margin-top: 5px;
|
|
2356
|
+
}
|
|
2357
|
+
#session-proj:not(.tight) {
|
|
2358
|
+
color: #a6b39c;
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
/* the Codex view: logs, not a live feed — and its own tint */
|
|
2362
|
+
body.view-codex #live-tag {
|
|
2363
|
+
display: none;
|
|
2364
|
+
}
|
|
2365
|
+
body.view-codex #session-fill,
|
|
2366
|
+
body.view-codex #week-fill {
|
|
2367
|
+
background: #a7baa1;
|
|
2368
|
+
}
|
|
2369
|
+
body.view-codex #session-fill.mid,
|
|
2370
|
+
body.view-codex #week-fill.mid {
|
|
2371
|
+
background: #e5b55d;
|
|
2372
|
+
}
|
|
2373
|
+
body.view-codex #session-fill.hot,
|
|
2374
|
+
body.view-codex #week-fill.hot {
|
|
2375
|
+
background: #ee705e;
|
|
2376
|
+
}
|
|
2377
|
+
body.view-codex .mrow .mbar > i {
|
|
2378
|
+
background: #a7baa1;
|
|
2379
|
+
}
|
|
2380
|
+
body.view-codex .sq.lv1 {
|
|
2381
|
+
background: #3a503b;
|
|
2382
|
+
}
|
|
2383
|
+
body.view-codex .sq.lv2 {
|
|
2384
|
+
background: #5b7655;
|
|
2385
|
+
}
|
|
2386
|
+
body.view-codex .sq.lv3 {
|
|
2387
|
+
background: #8d9f72;
|
|
2388
|
+
}
|
|
2389
|
+
body.view-codex .sq.lv4 {
|
|
2390
|
+
background: #c2c994;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
/* collapsed with both: one line per service instead of the ring, never an average */
|
|
2394
|
+
#mini-dual {
|
|
2395
|
+
display: none;
|
|
2396
|
+
}
|
|
2397
|
+
body.collapsed.dual #card {
|
|
2398
|
+
width: 216px;
|
|
2399
|
+
padding: 32px 12px 12px;
|
|
2400
|
+
display: grid;
|
|
2401
|
+
grid-template-columns: 66px minmax(0, 1fr);
|
|
2402
|
+
align-items: center;
|
|
2403
|
+
gap: 8px;
|
|
2404
|
+
border-radius: 16px;
|
|
2405
|
+
}
|
|
2406
|
+
body.collapsed.dual #stage {
|
|
2407
|
+
height: 70px;
|
|
2408
|
+
width: 66px;
|
|
2409
|
+
margin: 0;
|
|
2410
|
+
background: radial-gradient(ellipse at center, #d9775710, transparent 70%);
|
|
2411
|
+
}
|
|
2412
|
+
body.collapsed.dual #pet {
|
|
2413
|
+
zoom: 0.7;
|
|
2414
|
+
transform: translateY(-2px);
|
|
2415
|
+
}
|
|
2416
|
+
body.collapsed.dual #shadow {
|
|
2417
|
+
top: calc(50% + 22px);
|
|
2418
|
+
width: 35px;
|
|
2419
|
+
}
|
|
2420
|
+
body.collapsed.dual #ring,
|
|
2421
|
+
body.collapsed.dual #ring-pct {
|
|
2422
|
+
display: none;
|
|
2423
|
+
}
|
|
2424
|
+
body.collapsed.dual #mini {
|
|
2425
|
+
min-width: 0;
|
|
2426
|
+
margin: 0;
|
|
2427
|
+
}
|
|
2428
|
+
body.collapsed.dual #mini-acct-name {
|
|
2429
|
+
max-width: 112px;
|
|
2430
|
+
font-size: 10px;
|
|
2431
|
+
}
|
|
2432
|
+
body.collapsed.dual .mini-line {
|
|
2433
|
+
justify-content: flex-start;
|
|
2434
|
+
margin: 0 0 5px 3px;
|
|
2435
|
+
}
|
|
2436
|
+
body.collapsed.dual #mini-text {
|
|
2437
|
+
font-size: 10px;
|
|
2438
|
+
font-weight: 400;
|
|
2439
|
+
}
|
|
2440
|
+
body.collapsed.dual #mini-dot {
|
|
2441
|
+
width: 4px;
|
|
2442
|
+
height: 4px;
|
|
2443
|
+
}
|
|
2444
|
+
body.collapsed.dual #mini-dual {
|
|
2445
|
+
display: grid;
|
|
2446
|
+
grid-template-columns: 1fr 1fr;
|
|
2447
|
+
gap: 8px;
|
|
2448
|
+
}
|
|
2449
|
+
.mini-source {
|
|
2450
|
+
display: grid;
|
|
2451
|
+
grid-template-columns: 1fr;
|
|
2452
|
+
gap: 3px;
|
|
2453
|
+
min-width: 0;
|
|
2454
|
+
padding: 4px 6px;
|
|
2455
|
+
border: 0;
|
|
2456
|
+
border-radius: 5px;
|
|
2457
|
+
background: transparent;
|
|
2458
|
+
color: #aba59d;
|
|
2459
|
+
text-align: left;
|
|
2460
|
+
font: inherit;
|
|
2461
|
+
font-size: 10px;
|
|
2462
|
+
cursor: pointer;
|
|
2463
|
+
-webkit-app-region: no-drag;
|
|
2464
|
+
}
|
|
2465
|
+
.mini-source:hover {
|
|
2466
|
+
background: #ffffff08;
|
|
2467
|
+
}
|
|
2468
|
+
.mini-source[aria-pressed="true"] > span:first-child {
|
|
2469
|
+
color: #eee4d9;
|
|
2470
|
+
}
|
|
2471
|
+
/* the selected service gets the tab's tinted plate; the other steps back */
|
|
2472
|
+
.mini-source[aria-pressed="false"] {
|
|
2473
|
+
opacity: 0.5;
|
|
2474
|
+
}
|
|
2475
|
+
.mini-source[aria-pressed="false"]:hover {
|
|
2476
|
+
opacity: 0.8;
|
|
2477
|
+
}
|
|
2478
|
+
.mini-source[data-provider="claude"][aria-pressed="true"] {
|
|
2479
|
+
background: #d977571c;
|
|
2480
|
+
}
|
|
2481
|
+
.mini-source[data-provider="codex"][aria-pressed="true"] {
|
|
2482
|
+
background: #a7baa11c;
|
|
2483
|
+
}
|
|
2484
|
+
.mini-source b {
|
|
2485
|
+
grid-row: 2;
|
|
2486
|
+
font-size: 18px;
|
|
2487
|
+
line-height: 1.1;
|
|
2488
|
+
letter-spacing: -0.4px;
|
|
2489
|
+
font-weight: 500;
|
|
2490
|
+
color: #eee4d9;
|
|
2491
|
+
font-variant-numeric: tabular-nums;
|
|
2492
|
+
}
|
|
2493
|
+
.mini-source.urgent b {
|
|
2494
|
+
color: #f3a38b;
|
|
2495
|
+
}
|
|
2496
|
+
.mini-source.urgent > span:first-child::after {
|
|
2497
|
+
content: " !";
|
|
2498
|
+
color: #f3a38b;
|
|
2499
|
+
}
|
|
2500
|
+
.mini-track {
|
|
2501
|
+
grid-row: 3;
|
|
2502
|
+
height: 2px;
|
|
2503
|
+
border-radius: 2px;
|
|
2504
|
+
overflow: hidden;
|
|
2505
|
+
background: #ffffff0d;
|
|
2506
|
+
}
|
|
2507
|
+
.mini-track i {
|
|
2508
|
+
display: block;
|
|
2509
|
+
height: 100%;
|
|
2510
|
+
width: 0;
|
|
2511
|
+
background: #d97757;
|
|
2512
|
+
}
|
|
2513
|
+
#mini-codex-bar {
|
|
2514
|
+
background: #a7baa1;
|
|
2515
|
+
}
|
|
2516
|
+
.mini-track i.hot,
|
|
2517
|
+
#mini-codex-bar.hot {
|
|
2518
|
+
background: #ee705e;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
/* Settings → Connections: Claude and Codex share one card shape */
|
|
2522
|
+
.connections-label {
|
|
2523
|
+
margin-top: 18px;
|
|
2524
|
+
margin-bottom: 0;
|
|
2525
|
+
}
|
|
2526
|
+
#account .connect-block {
|
|
2527
|
+
margin: 7px 0 8px;
|
|
2528
|
+
}
|
|
2529
|
+
#codex-settings {
|
|
2530
|
+
display: flex;
|
|
2531
|
+
margin: 0 0 18px;
|
|
2532
|
+
}
|
|
2533
|
+
.codex-actions {
|
|
2534
|
+
display: flex;
|
|
2535
|
+
align-items: center;
|
|
2536
|
+
gap: 4px;
|
|
2537
|
+
flex: none;
|
|
2538
|
+
}
|
|
2539
|
+
#codex-setup:not([hidden]) {
|
|
2540
|
+
display: inline-flex;
|
|
2541
|
+
align-items: center;
|
|
2542
|
+
gap: 4px;
|
|
2543
|
+
}
|
|
2544
|
+
.codex-x {
|
|
2545
|
+
display: grid;
|
|
2546
|
+
place-items: center;
|
|
2547
|
+
width: 20px;
|
|
2548
|
+
height: 20px;
|
|
2549
|
+
padding: 0;
|
|
2550
|
+
border: 0;
|
|
2551
|
+
border-radius: 5px;
|
|
2552
|
+
background: none;
|
|
2553
|
+
color: var(--muted);
|
|
2554
|
+
cursor: pointer;
|
|
2555
|
+
}
|
|
2556
|
+
.codex-x:hover {
|
|
2557
|
+
color: var(--text);
|
|
2558
|
+
background: #ffffff0d;
|
|
2559
|
+
}
|
|
2560
|
+
.codex-x .ic {
|
|
2561
|
+
width: 12px;
|
|
2562
|
+
height: 12px;
|
|
2563
|
+
}
|
|
2564
|
+
/* which pieces show: off, setting up, or on */
|
|
2565
|
+
#codex-disconnect,
|
|
2566
|
+
body.codex-on #codex-hint,
|
|
2567
|
+
body.codex-on #codex-connect,
|
|
2568
|
+
body.codex-setup #codex-connect {
|
|
2569
|
+
display: none;
|
|
2570
|
+
}
|
|
2571
|
+
body.codex-on #codex-disconnect {
|
|
2572
|
+
display: grid;
|
|
2573
|
+
}
|
|
2574
|
+
body.view-codex .mrow .mname::before {
|
|
2575
|
+
background: #a7baa1;
|
|
2576
|
+
}
|
|
2577
|
+
/* no account switcher on the Codex side: the chip opens Settings */
|
|
2578
|
+
body.view-codex .ac-caret {
|
|
2579
|
+
display: none;
|
|
2580
|
+
}
|
|
2581
|
+
#card button:focus-visible,
|
|
2582
|
+
#card input:focus-visible,
|
|
2583
|
+
#account-chip:focus-visible {
|
|
2584
|
+
outline: 2px solid #c9bda6;
|
|
2585
|
+
outline-offset: 2px;
|
|
2586
|
+
}
|
|
2587
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2588
|
+
#card,
|
|
2589
|
+
#settings,
|
|
2590
|
+
.fill,
|
|
2591
|
+
.sec-body,
|
|
2592
|
+
.sec-chev {
|
|
2593
|
+
transition: none;
|
|
2594
|
+
animation: none;
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
/* the Codex view is tinted sage, even when Codex is the only service */
|
|
2599
|
+
body.view-codex {
|
|
2600
|
+
--panel-bg:
|
|
2601
|
+
radial-gradient(130% 110% at 20% 0%, #6c816830, transparent 60%),
|
|
2602
|
+
linear-gradient(158deg, #242b24, #1b211c 55%, #141a15);
|
|
2603
|
+
--panel-border: #b4c6ac20;
|
|
2604
|
+
--settings-bg: linear-gradient(150deg, #283028, #1b211c);
|
|
2605
|
+
}
|
|
2606
|
+
#details-toggle {
|
|
2607
|
+
display: flex;
|
|
2608
|
+
align-items: center;
|
|
2609
|
+
justify-content: space-between;
|
|
2610
|
+
width: 100%;
|
|
2611
|
+
min-height: 32px;
|
|
2612
|
+
padding: 9px 0 1px;
|
|
2613
|
+
border: 0;
|
|
2614
|
+
border-top: 1px solid var(--hair);
|
|
2615
|
+
background: none;
|
|
2616
|
+
color: #c4b9aa;
|
|
2617
|
+
font: inherit;
|
|
2618
|
+
font-size: 11px;
|
|
2619
|
+
cursor: pointer;
|
|
2620
|
+
-webkit-app-region: no-drag;
|
|
2621
|
+
}
|
|
2622
|
+
#details-toggle:hover {
|
|
2623
|
+
color: var(--text);
|
|
2624
|
+
}
|
|
2625
|
+
#details-toggle[aria-expanded="true"] .sec-chev {
|
|
2626
|
+
transform: rotate(180deg);
|
|
2627
|
+
}
|
|
2628
|
+
#usage-details[hidden] {
|
|
2629
|
+
display: none;
|
|
2630
|
+
}
|
|
2631
|
+
#usage-details {
|
|
2632
|
+
padding-top: 10px;
|
|
2633
|
+
}
|
|
2634
|
+
#usage-details > .sec:first-child {
|
|
2635
|
+
border-top: 0;
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2638
|
+
#acc-connected.connection-card,
|
|
2639
|
+
#acc-intro.connection-card,
|
|
2640
|
+
#codex-settings.connection-card {
|
|
2641
|
+
align-items: center;
|
|
2642
|
+
gap: 10px;
|
|
2643
|
+
min-height: 64px;
|
|
2644
|
+
padding: 10px;
|
|
2645
|
+
border: 1px solid var(--hair);
|
|
2646
|
+
border-radius: 10px;
|
|
2647
|
+
background: #ffffff03;
|
|
2648
|
+
}
|
|
2649
|
+
#acc-connected.connection-card,
|
|
2650
|
+
body.codex-on #codex-settings.connection-card {
|
|
2651
|
+
height: 64px;
|
|
2652
|
+
}
|
|
2653
|
+
.connection-card .connection-avatar {
|
|
2654
|
+
display: grid;
|
|
2655
|
+
place-items: center;
|
|
2656
|
+
flex: none;
|
|
2657
|
+
width: 28px;
|
|
2658
|
+
height: 28px;
|
|
2659
|
+
border-radius: 8px;
|
|
2660
|
+
}
|
|
2661
|
+
.claude-avatar {
|
|
2662
|
+
background: #d9775718;
|
|
2663
|
+
color: #e4a17c;
|
|
2664
|
+
}
|
|
2665
|
+
.codex-avatar {
|
|
2666
|
+
background: #9eaf9614;
|
|
2667
|
+
color: #b9c8b0;
|
|
2668
|
+
}
|
|
2669
|
+
.connection-logo,
|
|
2670
|
+
.codex-logo {
|
|
2671
|
+
fill: currentColor;
|
|
2672
|
+
}
|
|
2673
|
+
.connection-avatar svg {
|
|
2674
|
+
width: 18px;
|
|
2675
|
+
height: 18px;
|
|
2676
|
+
}
|
|
2677
|
+
.connection-card .connection-copy {
|
|
2678
|
+
display: flex;
|
|
2679
|
+
flex-direction: column;
|
|
2680
|
+
min-width: 0;
|
|
2681
|
+
flex: 1;
|
|
2682
|
+
gap: 5px;
|
|
2683
|
+
}
|
|
2684
|
+
.connection-heading {
|
|
2685
|
+
min-height: 17px;
|
|
2686
|
+
display: flex;
|
|
2687
|
+
align-items: center;
|
|
2688
|
+
gap: 6px;
|
|
2689
|
+
min-width: 0;
|
|
2690
|
+
}
|
|
2691
|
+
.connection-heading b {
|
|
2692
|
+
font-size: 11px;
|
|
2693
|
+
font-weight: 500;
|
|
2694
|
+
color: var(--text);
|
|
2695
|
+
}
|
|
2696
|
+
.connection-heading .plan-badge {
|
|
2697
|
+
display: inline-flex;
|
|
2698
|
+
flex: none;
|
|
2699
|
+
align-items: center;
|
|
2700
|
+
height: 17px;
|
|
2701
|
+
padding: 0 4px;
|
|
2702
|
+
border: 1px solid #cbb3942b;
|
|
2703
|
+
border-radius: 4px;
|
|
2704
|
+
font-size: 9px;
|
|
2705
|
+
line-height: 1;
|
|
2706
|
+
color: #beaa92;
|
|
2707
|
+
text-transform: capitalize;
|
|
2708
|
+
}
|
|
2709
|
+
.connection-heading .plan-badge[hidden] {
|
|
2710
|
+
display: none;
|
|
2711
|
+
}
|
|
2712
|
+
.connection-card .connection-caption {
|
|
2713
|
+
overflow: hidden;
|
|
2714
|
+
text-overflow: ellipsis;
|
|
2715
|
+
white-space: nowrap;
|
|
2716
|
+
color: #ada193;
|
|
2717
|
+
font-size: 10px;
|
|
2718
|
+
font-weight: 400;
|
|
2719
|
+
line-height: 1.3;
|
|
2720
|
+
}
|
|
2721
|
+
#codex-connected-caption {
|
|
2722
|
+
display: none;
|
|
2723
|
+
}
|
|
2724
|
+
body.codex-on #codex-connected-caption {
|
|
2725
|
+
display: block;
|
|
2726
|
+
}
|
|
2727
|
+
.connection-card .connection-remove {
|
|
2728
|
+
flex: none;
|
|
2729
|
+
align-items: center;
|
|
2730
|
+
justify-content: center;
|
|
2731
|
+
width: 24px;
|
|
2732
|
+
height: 24px;
|
|
2733
|
+
padding: 5px;
|
|
2734
|
+
border: 0;
|
|
2735
|
+
border-radius: 6px;
|
|
2736
|
+
color: #b0a498;
|
|
2737
|
+
background: transparent;
|
|
2738
|
+
cursor: pointer;
|
|
2739
|
+
-webkit-app-region: no-drag;
|
|
2740
|
+
}
|
|
2741
|
+
.connection-card .connection-remove:hover {
|
|
2742
|
+
background: #ffffff0b;
|
|
2743
|
+
color: #f0bc9b;
|
|
2744
|
+
}
|
|
2745
|
+
.connection-card .connection-remove .ic {
|
|
2746
|
+
width: 13px;
|
|
2747
|
+
height: 13px;
|
|
2748
|
+
stroke-width: 1.8;
|
|
2749
|
+
}
|
|
2750
|
+
#acc-intro.connection-card {
|
|
2751
|
+
display: flex;
|
|
2752
|
+
}
|
|
2753
|
+
body.awaiting #acc-intro.connection-card {
|
|
2754
|
+
display: none;
|
|
2755
|
+
}
|
|
2756
|
+
.connection-card .connection-hint {
|
|
2757
|
+
white-space: normal;
|
|
2758
|
+
color: var(--muted);
|
|
2759
|
+
font-size: 9px;
|
|
2760
|
+
line-height: 1.35;
|
|
2761
|
+
}
|
|
2762
|
+
.connection-btn {
|
|
2763
|
+
display: inline-flex;
|
|
2764
|
+
flex: none;
|
|
2765
|
+
align-items: center;
|
|
2766
|
+
gap: 4px;
|
|
2767
|
+
height: 22px;
|
|
2768
|
+
padding: 0 8px;
|
|
2769
|
+
border: 1px solid #a6b79b42;
|
|
2770
|
+
border-radius: 6px;
|
|
2771
|
+
background: #a6b79b0c;
|
|
2772
|
+
color: #c2d0b8;
|
|
2773
|
+
font: inherit;
|
|
2774
|
+
font-size: 10px;
|
|
2775
|
+
cursor: pointer;
|
|
2776
|
+
-webkit-app-region: no-drag;
|
|
2777
|
+
}
|
|
2778
|
+
.connection-btn:hover {
|
|
2779
|
+
background: #a6b79b1c;
|
|
2780
|
+
}
|
|
2781
|
+
.connection-btn svg {
|
|
2782
|
+
width: 12px;
|
|
2783
|
+
height: 12px;
|
|
2784
|
+
}
|
|
2785
|
+
.claude-connect-btn {
|
|
2786
|
+
border-color: #ce926d59;
|
|
2787
|
+
background: #ce926d17;
|
|
2788
|
+
color: #e3b193;
|
|
2789
|
+
}
|
|
2790
|
+
.claude-connect-btn:hover {
|
|
2791
|
+
background: #ce926d33;
|
|
2792
|
+
}
|