eminiar 0.10.1 → 0.12.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.
@@ -345,6 +345,8 @@ header.top select.project {
345
345
  }
346
346
  .dot.empty {
347
347
  background: var(--bad);
348
+ /* the generic .empty placeholder rule must not turn the status dot into a disc */
349
+ padding: 0;
348
350
  }
349
351
  main.work {
350
352
  flex: 1;
@@ -1776,3 +1778,1015 @@ svg.glyph {
1776
1778
  .reasons li {
1777
1779
  margin: 1px 0;
1778
1780
  }
1781
+
1782
+ /* --- swarms tab (sw-*) ---------------------------------------------------------------
1783
+ A swarm monitor drawn in the dashboard's own tokens. Every state is glyph + word;
1784
+ motion means data (a pulse while a worker runs, a flash per tool call coloured by its
1785
+ io class: read = accent, write = warn, exec = purple). */
1786
+ .sw-page {
1787
+ max-width: 1640px;
1788
+ }
1789
+ .sw-layout {
1790
+ display: grid;
1791
+ grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
1792
+ gap: 14px;
1793
+ align-items: start;
1794
+ }
1795
+ @media (max-width: 900px) {
1796
+ .sw-layout {
1797
+ grid-template-columns: minmax(0, 1fr);
1798
+ }
1799
+ }
1800
+ .sw-rail,
1801
+ .sw-run {
1802
+ display: flex;
1803
+ flex-direction: column;
1804
+ gap: 12px;
1805
+ min-width: 0;
1806
+ }
1807
+ .sw-main {
1808
+ min-width: 0;
1809
+ }
1810
+ .sw-pad {
1811
+ padding: 12px 14px 4px;
1812
+ }
1813
+ .sw-p {
1814
+ margin: 6px 0 10px;
1815
+ }
1816
+ /* "Title ───────── meta" */
1817
+ .sw-head {
1818
+ display: flex;
1819
+ align-items: baseline;
1820
+ gap: 8px;
1821
+ font: 12px var(--mono);
1822
+ margin-bottom: 10px;
1823
+ min-width: 0;
1824
+ }
1825
+ .sw-head .t {
1826
+ font-weight: 600;
1827
+ color: var(--fg);
1828
+ white-space: nowrap;
1829
+ }
1830
+ .sw-head .rule {
1831
+ flex: 1;
1832
+ min-width: 16px;
1833
+ overflow: hidden;
1834
+ white-space: nowrap;
1835
+ color: var(--muted);
1836
+ opacity: 0.45;
1837
+ }
1838
+ .sw-head .rule::before {
1839
+ content: "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────";
1840
+ }
1841
+ .sw-head .m {
1842
+ color: var(--muted);
1843
+ white-space: nowrap;
1844
+ overflow: hidden;
1845
+ text-overflow: ellipsis;
1846
+ max-width: 70%;
1847
+ }
1848
+ /* states: glyph + word, colour third */
1849
+ .sw-state {
1850
+ display: inline-flex;
1851
+ align-items: baseline;
1852
+ gap: 4px;
1853
+ font: 12px var(--mono);
1854
+ white-space: nowrap;
1855
+ }
1856
+ .sw-state .g {
1857
+ font-size: 12px;
1858
+ }
1859
+ .sw-s-pending,
1860
+ .sw-s-idle,
1861
+ .sw-s-cancelled {
1862
+ color: var(--muted);
1863
+ }
1864
+ .sw-s-running,
1865
+ .sw-s-active {
1866
+ color: var(--accent);
1867
+ }
1868
+ .sw-s-blocked {
1869
+ color: var(--warn);
1870
+ }
1871
+ .sw-s-done {
1872
+ color: var(--ok);
1873
+ }
1874
+ .sw-s-failed {
1875
+ color: var(--bad);
1876
+ }
1877
+ .sw-s-stale {
1878
+ color: var(--muted);
1879
+ font-style: italic;
1880
+ }
1881
+ .sw-s-coordinator {
1882
+ color: var(--fg);
1883
+ }
1884
+ /* role chips: --rc is a theme token picked per role */
1885
+ .sw-chip {
1886
+ --rc: var(--muted);
1887
+ display: inline-flex;
1888
+ align-items: center;
1889
+ gap: 4px;
1890
+ font: 11px / 18px var(--mono);
1891
+ padding: 0 7px;
1892
+ border-radius: 999px;
1893
+ color: var(--rc);
1894
+ border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent);
1895
+ background: color-mix(in srgb, var(--rc) 10%, transparent);
1896
+ white-space: nowrap;
1897
+ max-width: 100%;
1898
+ overflow: hidden;
1899
+ text-overflow: ellipsis;
1900
+ }
1901
+ .sw-chip .n {
1902
+ color: var(--muted);
1903
+ }
1904
+ .sw-chip .fs {
1905
+ font-size: 10px;
1906
+ }
1907
+ .sw-badge {
1908
+ display: inline-block;
1909
+ font: 10.5px / 16px var(--mono);
1910
+ padding: 0 6px;
1911
+ border-radius: 4px;
1912
+ border: 1px solid var(--line);
1913
+ color: var(--muted);
1914
+ margin-left: 4px;
1915
+ white-space: nowrap;
1916
+ }
1917
+ .sw-badge.warn {
1918
+ color: var(--warn);
1919
+ border-color: var(--warn);
1920
+ }
1921
+ .sw-note-box {
1922
+ border: 1px dashed var(--line);
1923
+ border-radius: 8px;
1924
+ padding: 8px 10px;
1925
+ margin-bottom: 10px;
1926
+ font-size: 12.5px;
1927
+ }
1928
+ .sw-note-box.bad {
1929
+ border-color: var(--bad);
1930
+ }
1931
+ .sw-note-box.warn {
1932
+ border-color: var(--warn);
1933
+ border-style: solid;
1934
+ margin: 10px 0 0;
1935
+ }
1936
+ /* a summary row that toggles its details: a real button, drawn as plain content */
1937
+ .sw-btn {
1938
+ display: block;
1939
+ width: 100%;
1940
+ margin: 0;
1941
+ padding: 0;
1942
+ border: 0;
1943
+ border-radius: 4px;
1944
+ background: none;
1945
+ color: inherit;
1946
+ font: inherit;
1947
+ text-align: left;
1948
+ white-space: normal;
1949
+ cursor: pointer;
1950
+ }
1951
+ .sw-page :is(a, button, [tabindex]):focus-visible {
1952
+ outline: 2px solid var(--accent);
1953
+ outline-offset: 2px;
1954
+ }
1955
+ /* SVG nodes: a ring of their own instead of the box outline */
1956
+ .sw-page svg [tabindex]:focus-visible {
1957
+ outline: none;
1958
+ }
1959
+ /* rail: configured swarms */
1960
+ .sw-swarm {
1961
+ border-top: 1px solid var(--line);
1962
+ padding: 10px 0;
1963
+ }
1964
+ .sw-swarm:first-of-type {
1965
+ border-top: none;
1966
+ padding-top: 2px;
1967
+ }
1968
+ .sw-swarm .h {
1969
+ display: flex;
1970
+ align-items: baseline;
1971
+ gap: 8px;
1972
+ cursor: pointer;
1973
+ user-select: none;
1974
+ }
1975
+ .sw-swarm .h:hover b {
1976
+ color: var(--accent);
1977
+ }
1978
+ .sw-swarm .h b {
1979
+ font: 600 13px var(--mono);
1980
+ }
1981
+ .sw-swarm .topo {
1982
+ font: 15px var(--mono);
1983
+ color: var(--accent);
1984
+ width: 16px;
1985
+ text-align: center;
1986
+ }
1987
+ .sw-swarm .caret {
1988
+ margin-left: auto;
1989
+ color: var(--muted);
1990
+ }
1991
+ .sw-swarm .d {
1992
+ margin: 2px 0 6px 24px;
1993
+ }
1994
+ .sw-swarm .chips {
1995
+ display: flex;
1996
+ flex-wrap: wrap;
1997
+ gap: 4px;
1998
+ margin-left: 24px;
1999
+ }
2000
+ .sw-swarm .files,
2001
+ .sw-swarm > .mono {
2002
+ display: flex;
2003
+ flex-wrap: wrap;
2004
+ gap: 4px 10px;
2005
+ margin: 6px 0 0 24px;
2006
+ font-family: var(--mono);
2007
+ font-size: 11px;
2008
+ }
2009
+ .sw-swarm .more {
2010
+ margin: 10px 0 0 24px;
2011
+ }
2012
+ table.sw-roles td,
2013
+ table.sw-roles th {
2014
+ padding: 4px 6px;
2015
+ font-size: 12px;
2016
+ }
2017
+ .sw-orphans {
2018
+ margin: 6px 0 10px;
2019
+ font-family: var(--mono);
2020
+ }
2021
+ .sw-sync {
2022
+ margin-top: 8px;
2023
+ }
2024
+ .sw-issues {
2025
+ list-style: none;
2026
+ margin: 8px 0;
2027
+ padding: 0;
2028
+ font-size: 12.5px;
2029
+ }
2030
+ .sw-issues li {
2031
+ display: flex;
2032
+ gap: 6px;
2033
+ align-items: baseline;
2034
+ flex-wrap: wrap;
2035
+ padding: 3px 0;
2036
+ border-bottom: 1px dashed var(--line);
2037
+ }
2038
+ .sw-issues .ln {
2039
+ color: var(--muted);
2040
+ min-width: 56px;
2041
+ }
2042
+ /* rail: runs */
2043
+ .sw-runs {
2044
+ max-height: 60vh;
2045
+ }
2046
+ .sw-runs a.item {
2047
+ display: block;
2048
+ color: inherit;
2049
+ text-decoration: none;
2050
+ }
2051
+ .sw-runs a.item:focus-visible {
2052
+ outline-offset: -2px;
2053
+ }
2054
+ .sw-runs .sw-goal {
2055
+ font-weight: 500;
2056
+ display: -webkit-box;
2057
+ -webkit-line-clamp: 2;
2058
+ -webkit-box-orient: vertical;
2059
+ overflow: hidden;
2060
+ word-break: normal;
2061
+ overflow-wrap: anywhere;
2062
+ margin: 2px 0;
2063
+ }
2064
+ .sw-progress {
2065
+ display: flex;
2066
+ height: 4px;
2067
+ border-radius: 2px;
2068
+ overflow: hidden;
2069
+ background: var(--line);
2070
+ margin-top: 5px;
2071
+ }
2072
+ .sw-progress span {
2073
+ display: block;
2074
+ height: 100%;
2075
+ }
2076
+ .sw-progress .done {
2077
+ background: var(--ok);
2078
+ }
2079
+ .sw-progress .active {
2080
+ background: var(--accent);
2081
+ }
2082
+ .sw-progress .bad {
2083
+ background: var(--bad);
2084
+ }
2085
+ /* main: empty states */
2086
+ .sw-optin p {
2087
+ margin: 0 0 10px;
2088
+ max-width: 820px;
2089
+ }
2090
+ .sw-cmds {
2091
+ display: flex;
2092
+ flex-wrap: wrap;
2093
+ gap: 12px;
2094
+ margin: 12px 0 18px;
2095
+ }
2096
+ .sw-cmds > div {
2097
+ display: flex;
2098
+ flex-direction: column;
2099
+ gap: 3px;
2100
+ }
2101
+ .sw-cmds code {
2102
+ display: block;
2103
+ padding: 6px 10px;
2104
+ border: 1px solid var(--line);
2105
+ }
2106
+ .sw-yaml {
2107
+ font: 12px / 1.55 var(--mono);
2108
+ background: var(--code);
2109
+ border: 1px solid var(--line);
2110
+ border-radius: 8px;
2111
+ padding: 10px 0;
2112
+ max-height: 560px;
2113
+ overflow: auto;
2114
+ white-space: pre;
2115
+ }
2116
+ .sw-yaml .l {
2117
+ display: block;
2118
+ padding-right: 12px;
2119
+ }
2120
+ .sw-yaml .l.mark {
2121
+ background: color-mix(in srgb, var(--bad) 14%, transparent);
2122
+ }
2123
+ .sw-yaml .ln {
2124
+ display: inline-block;
2125
+ width: 3.5em;
2126
+ padding-right: 12px;
2127
+ text-align: right;
2128
+ color: var(--muted);
2129
+ opacity: 0.7;
2130
+ user-select: none;
2131
+ }
2132
+ .sw-yaml .tok-kw {
2133
+ color: var(--tok-kw);
2134
+ }
2135
+ .sw-yaml .tok-str {
2136
+ color: var(--tok-str);
2137
+ }
2138
+ .sw-yaml .tok-num {
2139
+ color: var(--tok-num);
2140
+ }
2141
+ .sw-yaml .tok-ty {
2142
+ color: var(--tok-ty);
2143
+ }
2144
+ .sw-yaml .tok-pn {
2145
+ color: var(--tok-pn);
2146
+ }
2147
+ .sw-yaml .tok-cm {
2148
+ color: var(--tok-cm);
2149
+ font-style: italic;
2150
+ }
2151
+ .sw-pre {
2152
+ font: 12px / 1.5 var(--mono);
2153
+ white-space: pre-wrap;
2154
+ word-break: break-word;
2155
+ background: var(--code);
2156
+ border: 1px solid var(--line);
2157
+ border-radius: 6px;
2158
+ padding: 8px 10px;
2159
+ margin: 6px 0;
2160
+ max-height: 320px;
2161
+ overflow: auto;
2162
+ cursor: text;
2163
+ }
2164
+ /* main: run header + stat tiles */
2165
+ .sw-runhead .goal {
2166
+ font-size: 16px;
2167
+ font-weight: 600;
2168
+ min-width: 0;
2169
+ overflow-wrap: anywhere;
2170
+ }
2171
+ .sw-runhead .meta {
2172
+ display: flex;
2173
+ flex-wrap: wrap;
2174
+ gap: 4px 14px;
2175
+ margin-top: 6px;
2176
+ }
2177
+ .sw-summary-text {
2178
+ margin-top: 8px;
2179
+ padding: 6px 10px;
2180
+ border-left: 3px solid var(--bar);
2181
+ white-space: pre-wrap;
2182
+ font-size: 13px;
2183
+ }
2184
+ .sw-finish {
2185
+ flex-basis: 100%;
2186
+ display: flex;
2187
+ flex-direction: column;
2188
+ gap: 8px;
2189
+ margin-top: 8px;
2190
+ padding: 10px;
2191
+ border: 1px solid var(--line);
2192
+ border-radius: 8px;
2193
+ background: var(--bg);
2194
+ }
2195
+ .sw-radio {
2196
+ display: inline-flex;
2197
+ align-items: center;
2198
+ gap: 4px;
2199
+ padding: 2px 8px;
2200
+ border: 1px solid var(--line);
2201
+ border-radius: 999px;
2202
+ cursor: pointer;
2203
+ }
2204
+ .sw-radio.on {
2205
+ border-color: var(--accent);
2206
+ background: var(--accent-soft);
2207
+ }
2208
+ .sw-radio input {
2209
+ margin: 0;
2210
+ }
2211
+ textarea.sw-summary {
2212
+ min-height: 64px;
2213
+ }
2214
+ .sw-stats {
2215
+ display: grid;
2216
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
2217
+ gap: 12px;
2218
+ }
2219
+ .sw-stat .big {
2220
+ font-family: var(--mono);
2221
+ font-variant-numeric: tabular-nums;
2222
+ }
2223
+ /* topology canvas */
2224
+ .sw-topo-wrap {
2225
+ overflow-x: auto;
2226
+ }
2227
+ svg.sw-topo {
2228
+ display: block;
2229
+ width: 100%;
2230
+ height: auto;
2231
+ margin: 0 auto;
2232
+ overflow: visible;
2233
+ }
2234
+ .sw-edge {
2235
+ fill: none;
2236
+ stroke: var(--line);
2237
+ stroke-width: 1.5;
2238
+ }
2239
+ .sw-edge.ghost {
2240
+ stroke-dasharray: 3 4;
2241
+ }
2242
+ .sw-edge.peer {
2243
+ stroke-dasharray: 2 5;
2244
+ opacity: 0.8;
2245
+ }
2246
+ .sw-edge.hot {
2247
+ stroke: var(--accent);
2248
+ stroke-width: 2.5;
2249
+ stroke-dasharray: 6 8;
2250
+ opacity: 1;
2251
+ animation: sw-dash 0.9s linear infinite;
2252
+ }
2253
+ .sw-lane rect {
2254
+ fill: var(--bg);
2255
+ stroke: var(--line);
2256
+ }
2257
+ .sw-lane text {
2258
+ font: 11px var(--mono);
2259
+ fill: var(--muted);
2260
+ text-anchor: middle;
2261
+ }
2262
+ .sw-lane text.arrow {
2263
+ text-anchor: middle;
2264
+ }
2265
+ .sw-node .sw-core {
2266
+ fill: var(--card);
2267
+ stroke: var(--muted);
2268
+ stroke-width: 2;
2269
+ }
2270
+ .sw-node.hub .sw-core {
2271
+ stroke: var(--fg);
2272
+ }
2273
+ .sw-node.hub .sw-glyph {
2274
+ fill: var(--fg);
2275
+ font-size: 18px;
2276
+ }
2277
+ .sw-node.hub .sw-halo {
2278
+ stroke: var(--accent);
2279
+ }
2280
+ .sw-glyph {
2281
+ font: 15px var(--mono);
2282
+ text-anchor: middle;
2283
+ fill: var(--fg);
2284
+ }
2285
+ .sw-l1,
2286
+ .sw-l2 {
2287
+ font: 11px var(--mono);
2288
+ text-anchor: middle;
2289
+ fill: var(--fg);
2290
+ }
2291
+ .sw-l1 .id {
2292
+ fill: var(--muted);
2293
+ }
2294
+ text.sw-l2 {
2295
+ font-size: 10.5px;
2296
+ color: var(--muted);
2297
+ fill: currentColor;
2298
+ }
2299
+ .sw-node.worker {
2300
+ cursor: pointer;
2301
+ }
2302
+ .sw-node.worker:hover .sw-core {
2303
+ stroke-width: 3;
2304
+ }
2305
+ .sw-focus {
2306
+ fill: none;
2307
+ stroke: none;
2308
+ }
2309
+ .sw-node:focus-visible .sw-focus {
2310
+ stroke: var(--accent);
2311
+ stroke-width: 2;
2312
+ stroke-dasharray: 4 3;
2313
+ }
2314
+ .sw-glyph.sw-plus {
2315
+ font-size: 12px;
2316
+ font-weight: 600;
2317
+ }
2318
+ .sw-node.picked .sw-core {
2319
+ stroke-width: 3.5;
2320
+ fill: var(--accent-soft);
2321
+ }
2322
+ .sw-node.st-stale .sw-core {
2323
+ stroke-dasharray: 3 3;
2324
+ }
2325
+ .sw-node.st-done .sw-core,
2326
+ .sw-node.group .sw-core {
2327
+ fill: var(--bg);
2328
+ }
2329
+ .sw-node.st-done,
2330
+ .sw-node.group {
2331
+ opacity: 0.75;
2332
+ }
2333
+ .sw-node.idle .sw-core {
2334
+ stroke-dasharray: 2 4;
2335
+ fill: none;
2336
+ }
2337
+ .sw-node.idle {
2338
+ opacity: 0.65;
2339
+ }
2340
+ .sw-halo {
2341
+ fill: none;
2342
+ stroke-width: 2;
2343
+ opacity: 0.5;
2344
+ transform-box: fill-box;
2345
+ transform-origin: center;
2346
+ animation: sw-pulse 2s ease-in-out infinite;
2347
+ }
2348
+ .sw-flash {
2349
+ fill: none;
2350
+ stroke-width: 3;
2351
+ stroke: var(--muted);
2352
+ transform-box: fill-box;
2353
+ transform-origin: center;
2354
+ animation: sw-flash 1.3s ease-out forwards;
2355
+ }
2356
+ .sw-flash.io-read {
2357
+ stroke: var(--accent);
2358
+ }
2359
+ .sw-flash.io-write {
2360
+ stroke: var(--warn);
2361
+ }
2362
+ .sw-flash.io-exec {
2363
+ stroke: var(--tok-kw);
2364
+ }
2365
+ .sw-flash.io-swarm {
2366
+ stroke: var(--tok-ty);
2367
+ }
2368
+ @keyframes sw-pulse {
2369
+ 0%,
2370
+ 100% {
2371
+ transform: scale(1);
2372
+ opacity: 0.55;
2373
+ }
2374
+ 50% {
2375
+ transform: scale(1.22);
2376
+ opacity: 0.08;
2377
+ }
2378
+ }
2379
+ @keyframes sw-flash {
2380
+ 0% {
2381
+ transform: scale(0.9);
2382
+ opacity: 1;
2383
+ }
2384
+ 100% {
2385
+ transform: scale(1.8);
2386
+ opacity: 0;
2387
+ }
2388
+ }
2389
+ @keyframes sw-dash {
2390
+ to {
2391
+ stroke-dashoffset: -28;
2392
+ }
2393
+ }
2394
+ @keyframes sw-breathe {
2395
+ 50% {
2396
+ opacity: 0.55;
2397
+ }
2398
+ }
2399
+ .sw-legend {
2400
+ display: flex;
2401
+ flex-wrap: wrap;
2402
+ gap: 4px 14px;
2403
+ justify-content: center;
2404
+ margin-top: 6px;
2405
+ font-family: var(--mono);
2406
+ font-size: 11px;
2407
+ }
2408
+ .sw-legend .sep {
2409
+ opacity: 0.5;
2410
+ }
2411
+ .sw-sw {
2412
+ display: inline-block;
2413
+ width: 9px;
2414
+ height: 9px;
2415
+ border-radius: 50%;
2416
+ vertical-align: 0;
2417
+ background: var(--muted);
2418
+ }
2419
+ .sw-sw.io-read,
2420
+ .sw-tl .seg.io-read {
2421
+ background: var(--accent);
2422
+ }
2423
+ .sw-sw.io-write,
2424
+ .sw-tl .seg.io-write {
2425
+ background: var(--warn);
2426
+ }
2427
+ .sw-sw.io-exec,
2428
+ .sw-tl .seg.io-exec {
2429
+ background: var(--tok-kw);
2430
+ }
2431
+ .sw-sw.io-swarm,
2432
+ .sw-tl .seg.io-swarm {
2433
+ background: var(--tok-ty);
2434
+ }
2435
+ /* task board */
2436
+ .sw-board {
2437
+ display: grid;
2438
+ grid-template-columns: repeat(4, minmax(0, 1fr));
2439
+ gap: 10px;
2440
+ }
2441
+ @media (max-width: 1200px) {
2442
+ .sw-board {
2443
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2444
+ }
2445
+ }
2446
+ @media (max-width: 600px) {
2447
+ .sw-board {
2448
+ grid-template-columns: minmax(0, 1fr);
2449
+ }
2450
+ }
2451
+ .sw-col {
2452
+ background: var(--bg);
2453
+ border: 1px solid var(--line);
2454
+ border-radius: 8px;
2455
+ padding: 6px;
2456
+ min-height: 70px;
2457
+ min-width: 0;
2458
+ /* a long column scrolls on its own so the timeline and feed stay near */
2459
+ max-height: 760px;
2460
+ overflow-y: auto;
2461
+ }
2462
+ .sw-col .ch {
2463
+ position: sticky;
2464
+ top: -6px;
2465
+ background: var(--bg);
2466
+ z-index: 1;
2467
+ }
2468
+ .sw-col .ch {
2469
+ display: flex;
2470
+ justify-content: space-between;
2471
+ font: 11px var(--mono);
2472
+ text-transform: uppercase;
2473
+ letter-spacing: 0.04em;
2474
+ color: var(--muted);
2475
+ padding: 2px 4px 6px;
2476
+ }
2477
+ .sw-task {
2478
+ background: var(--card);
2479
+ border: 1px solid var(--line);
2480
+ border-left: 3px solid var(--line);
2481
+ border-radius: 6px;
2482
+ padding: 6px 8px;
2483
+ margin-bottom: 6px;
2484
+ min-width: 0;
2485
+ }
2486
+ .sw-task:hover {
2487
+ background: var(--hover);
2488
+ }
2489
+ .sw-task-sum:focus-visible {
2490
+ outline-offset: 4px;
2491
+ }
2492
+ .sw-col-more {
2493
+ display: block;
2494
+ width: 100%;
2495
+ margin-top: 2px;
2496
+ }
2497
+ .sw-task.st-active {
2498
+ border-left-color: var(--accent);
2499
+ }
2500
+ .sw-task.st-done {
2501
+ border-left-color: var(--ok);
2502
+ }
2503
+ .sw-task.st-failed {
2504
+ border-left-color: var(--bad);
2505
+ }
2506
+ .sw-task.st-blocked {
2507
+ border-left-color: var(--warn);
2508
+ }
2509
+ .sw-task .h {
2510
+ display: flex;
2511
+ gap: 6px;
2512
+ align-items: baseline;
2513
+ }
2514
+ .sw-task .id {
2515
+ font: 11px var(--mono);
2516
+ color: var(--muted);
2517
+ }
2518
+ .sw-task .title {
2519
+ font-size: 13px;
2520
+ font-weight: 500;
2521
+ overflow-wrap: anywhere;
2522
+ }
2523
+ .sw-task .m {
2524
+ display: flex;
2525
+ flex-wrap: wrap;
2526
+ gap: 4px 8px;
2527
+ align-items: center;
2528
+ margin-top: 4px;
2529
+ font: 11px var(--mono);
2530
+ color: var(--muted);
2531
+ }
2532
+ .sw-task .m .age {
2533
+ margin-left: auto;
2534
+ }
2535
+ .sw-task .deps.waiting {
2536
+ color: var(--warn);
2537
+ }
2538
+ .sw-task .x {
2539
+ margin-top: 6px;
2540
+ cursor: default;
2541
+ }
2542
+ .sw-task .x .lbl {
2543
+ font: 11px var(--mono);
2544
+ color: var(--muted);
2545
+ margin-top: 4px;
2546
+ }
2547
+ .sw-task .flist {
2548
+ display: flex;
2549
+ flex-wrap: wrap;
2550
+ gap: 4px;
2551
+ margin-top: 4px;
2552
+ }
2553
+ /* timeline */
2554
+ .sw-tl {
2555
+ display: flex;
2556
+ flex-direction: column;
2557
+ gap: 5px;
2558
+ }
2559
+ .sw-tl-row {
2560
+ display: grid;
2561
+ grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
2562
+ gap: 10px;
2563
+ align-items: center;
2564
+ }
2565
+ .sw-tl-row .who {
2566
+ display: flex;
2567
+ gap: 6px;
2568
+ align-items: center;
2569
+ min-width: 0;
2570
+ font: 11px var(--mono);
2571
+ }
2572
+ .sw-tl-row .who .id {
2573
+ color: var(--muted);
2574
+ }
2575
+ button.sw-release {
2576
+ margin-left: auto;
2577
+ padding: 0 6px;
2578
+ font: 11px / 18px var(--mono);
2579
+ }
2580
+ .sw-tl .track {
2581
+ position: relative;
2582
+ height: 16px;
2583
+ background: var(--bg);
2584
+ border: 1px solid var(--line);
2585
+ border-radius: 4px;
2586
+ }
2587
+ .sw-tl .life {
2588
+ position: absolute;
2589
+ top: 6px;
2590
+ height: 2px;
2591
+ background: var(--line);
2592
+ }
2593
+ .sw-tl .seg {
2594
+ position: absolute;
2595
+ top: 2px;
2596
+ height: 10px;
2597
+ min-width: 3px;
2598
+ border-radius: 3px;
2599
+ background: var(--muted);
2600
+ }
2601
+ .sw-tl .seg.err {
2602
+ box-shadow: inset 0 -3px 0 var(--bad);
2603
+ }
2604
+ /* before the oldest event drawn: activity there is not shown */
2605
+ .sw-tl .cut {
2606
+ position: absolute;
2607
+ top: 0;
2608
+ bottom: 0;
2609
+ background: repeating-linear-gradient(
2610
+ -45deg,
2611
+ transparent 0 4px,
2612
+ color-mix(in srgb, var(--muted) 22%, transparent) 4px 6px
2613
+ );
2614
+ }
2615
+ .sw-tl .seg.open {
2616
+ animation: sw-breathe 1.6s ease-in-out infinite;
2617
+ }
2618
+ .sw-tl-row.axis .track {
2619
+ background: none;
2620
+ border: none;
2621
+ height: 16px;
2622
+ }
2623
+ .sw-tl .tick {
2624
+ position: absolute;
2625
+ top: 0;
2626
+ font: 10px var(--mono);
2627
+ color: var(--muted);
2628
+ transform: translateX(-50%);
2629
+ white-space: nowrap;
2630
+ }
2631
+ .sw-tl .tick:first-child {
2632
+ transform: none;
2633
+ }
2634
+ .sw-tl .tick:last-child {
2635
+ transform: translateX(-100%);
2636
+ }
2637
+ /* feed + blackboard */
2638
+ .sw-two {
2639
+ display: grid;
2640
+ grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
2641
+ gap: 12px;
2642
+ align-items: start;
2643
+ }
2644
+ @media (max-width: 1200px) {
2645
+ .sw-two {
2646
+ grid-template-columns: minmax(0, 1fr);
2647
+ }
2648
+ }
2649
+ .sw-filters {
2650
+ margin-bottom: 8px;
2651
+ }
2652
+ .sw-filters select {
2653
+ padding: 3px 8px;
2654
+ font-size: 12px;
2655
+ }
2656
+ .sw-feed {
2657
+ max-height: 460px;
2658
+ overflow: auto;
2659
+ font: 12px / 1.45 var(--mono);
2660
+ }
2661
+ .sw-ev {
2662
+ display: grid;
2663
+ grid-template-columns: 34px minmax(0, max-content) 14px minmax(0, 1fr);
2664
+ gap: 8px;
2665
+ align-items: baseline;
2666
+ padding: 2px 4px;
2667
+ border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
2668
+ }
2669
+ .sw-ev:hover {
2670
+ background: var(--hover);
2671
+ }
2672
+ .sw-ev .t {
2673
+ color: var(--muted);
2674
+ text-align: right;
2675
+ }
2676
+ .sw-ev .g {
2677
+ text-align: center;
2678
+ color: var(--muted);
2679
+ }
2680
+ .sw-ev .x {
2681
+ overflow-wrap: anywhere;
2682
+ }
2683
+ .sw-ev .x b {
2684
+ color: var(--muted);
2685
+ font-weight: 500;
2686
+ }
2687
+ .sw-ev.k-tool.io-read .g {
2688
+ color: var(--accent);
2689
+ }
2690
+ .sw-ev.k-tool.io-write .g {
2691
+ color: var(--warn);
2692
+ }
2693
+ .sw-ev.k-tool.io-exec .g {
2694
+ color: var(--tok-kw);
2695
+ }
2696
+ .sw-ev.k-claim .g,
2697
+ .sw-ev.k-update .g,
2698
+ .sw-ev.k-plan .g {
2699
+ color: var(--accent);
2700
+ }
2701
+ .sw-ev.k-post .g {
2702
+ color: var(--tok-ty);
2703
+ }
2704
+ .sw-ev.k-auto_close .g,
2705
+ .sw-ev.k-auto_close .x {
2706
+ color: var(--warn);
2707
+ }
2708
+ .sw-ev.k-tool_error .g,
2709
+ .sw-ev.k-tool_error .x,
2710
+ .sw-ev.k-deny .g,
2711
+ .sw-ev.k-deny .x {
2712
+ color: var(--bad);
2713
+ }
2714
+ .sw-ev.k-run_start .x,
2715
+ .sw-ev.k-run_finish .x {
2716
+ font-weight: 600;
2717
+ }
2718
+ .sw-more {
2719
+ padding: 6px;
2720
+ text-align: center;
2721
+ }
2722
+ /* the feed is behind a burst: shown on top until it has caught up */
2723
+ .sw-ev.sw-gap {
2724
+ grid-template-columns: 34px minmax(0, 1fr);
2725
+ color: var(--warn);
2726
+ border-bottom: 1px dashed var(--warn);
2727
+ }
2728
+ .sw-ev.sw-gap .t {
2729
+ color: var(--warn);
2730
+ }
2731
+ .sw-retry {
2732
+ text-align: center;
2733
+ padding-bottom: 10px;
2734
+ }
2735
+ .sw-notes .sw-note-row {
2736
+ padding: 6px 4px;
2737
+ border-bottom: 1px solid var(--line);
2738
+ }
2739
+ .sw-notes .sw-note-row:hover {
2740
+ background: var(--hover);
2741
+ }
2742
+ .sw-note-row .h {
2743
+ display: flex;
2744
+ gap: 8px;
2745
+ align-items: center;
2746
+ min-width: 0;
2747
+ }
2748
+ .sw-note-row .k {
2749
+ color: var(--accent);
2750
+ overflow: hidden;
2751
+ text-overflow: ellipsis;
2752
+ }
2753
+ .sw-note-row .v,
2754
+ .sw-note-row .age {
2755
+ font: 11px var(--mono);
2756
+ color: var(--muted);
2757
+ }
2758
+ .sw-note-row .age {
2759
+ margin-left: auto;
2760
+ }
2761
+ .sw-note-row .p {
2762
+ color: var(--muted);
2763
+ font-size: 12px;
2764
+ overflow: hidden;
2765
+ text-overflow: ellipsis;
2766
+ white-space: nowrap;
2767
+ margin-top: 2px;
2768
+ }
2769
+ @media (prefers-reduced-motion: reduce) {
2770
+ .sw-halo,
2771
+ .sw-flash,
2772
+ .sw-edge.hot,
2773
+ .sw-tl .seg.open {
2774
+ animation: none;
2775
+ }
2776
+ .sw-halo {
2777
+ opacity: 0.35;
2778
+ }
2779
+ /* no motion: the flash is a static ring for as long as the activity is recent */
2780
+ .sw-flash {
2781
+ opacity: 0.9;
2782
+ }
2783
+ .sw-edge.hot {
2784
+ stroke-dasharray: none;
2785
+ }
2786
+ }
2787
+ .sw-file {
2788
+ margin: -4px 0 8px;
2789
+ overflow: hidden;
2790
+ text-overflow: ellipsis;
2791
+ white-space: nowrap;
2792
+ }