@osdlc/wayfinder 0.7.4 → 0.9.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.
Files changed (121) hide show
  1. package/CHANGELOG.md +240 -0
  2. package/CONTRIBUTING.md +6 -0
  3. package/README.md +310 -150
  4. package/SECURITY.md +19 -5
  5. package/dist/actions.d.ts +23 -0
  6. package/dist/actions.js +97 -0
  7. package/dist/app.d.ts +1 -13
  8. package/dist/app.js +1 -13
  9. package/dist/args.d.ts +11 -6
  10. package/dist/args.js +25 -7
  11. package/dist/cache.d.ts +2 -4
  12. package/dist/cache.js +5 -10
  13. package/dist/catalog.d.ts +45 -4
  14. package/dist/catalog.js +134 -13
  15. package/dist/clean-command.d.ts +65 -36
  16. package/dist/clean-command.js +372 -226
  17. package/dist/cli.d.ts +24 -57
  18. package/dist/cli.js +139 -568
  19. package/dist/commands/browse.d.ts +128 -0
  20. package/dist/commands/browse.js +153 -0
  21. package/dist/commands/index.d.ts +25 -0
  22. package/dist/commands/index.js +71 -0
  23. package/dist/commands/list.d.ts +224 -0
  24. package/dist/commands/list.js +178 -0
  25. package/dist/commands/query.d.ts +166 -0
  26. package/dist/commands/query.js +73 -0
  27. package/dist/commands/run.d.ts +114 -0
  28. package/dist/commands/run.js +139 -0
  29. package/dist/commands/shared.d.ts +152 -0
  30. package/dist/commands/shared.js +209 -0
  31. package/dist/config-command.d.ts +27 -43
  32. package/dist/config-command.js +129 -330
  33. package/dist/config-keys.d.ts +25 -0
  34. package/dist/config-keys.js +29 -0
  35. package/dist/config.d.ts +272 -257
  36. package/dist/config.js +611 -460
  37. package/dist/core/copy-text.d.ts +30 -0
  38. package/dist/core/copy-text.js +50 -0
  39. package/dist/core/filter.d.ts +55 -0
  40. package/dist/core/filter.js +59 -0
  41. package/dist/core/run.d.ts +22 -0
  42. package/dist/core/run.js +59 -0
  43. package/dist/core/saved-view.d.ts +59 -0
  44. package/dist/core/saved-view.js +119 -0
  45. package/dist/core/session.d.ts +282 -0
  46. package/dist/core/session.js +602 -0
  47. package/dist/core/skills.d.ts +53 -0
  48. package/dist/core/skills.js +54 -0
  49. package/dist/core/unknowns.d.ts +72 -0
  50. package/dist/core/unknowns.js +68 -0
  51. package/dist/devlink.d.ts +3 -0
  52. package/dist/devlink.js +5 -2
  53. package/dist/document-schemas.generated.d.ts +22 -0
  54. package/dist/document-schemas.generated.js +916 -0
  55. package/dist/documents.d.ts +508 -0
  56. package/dist/documents.js +181 -0
  57. package/dist/groups.d.ts +22 -26
  58. package/dist/groups.js +13 -29
  59. package/dist/guide.d.ts +26 -13
  60. package/dist/guide.js +119 -103
  61. package/dist/index.d.ts +118 -0
  62. package/dist/index.js +61 -0
  63. package/dist/keys.d.ts +51 -0
  64. package/dist/keys.js +273 -0
  65. package/dist/page.d.ts +18 -8
  66. package/dist/page.js +28 -17
  67. package/dist/providers-command.d.ts +81 -20
  68. package/dist/providers-command.js +33 -75
  69. package/dist/schema.d.ts +48 -0
  70. package/dist/schema.js +61 -0
  71. package/dist/serve/auth.d.ts +46 -0
  72. package/dist/serve/auth.js +82 -0
  73. package/dist/serve/catalog-share.d.ts +63 -0
  74. package/dist/serve/catalog-share.js +155 -0
  75. package/dist/serve/index.d.ts +100 -0
  76. package/dist/serve/index.js +259 -0
  77. package/dist/serve/routes.d.ts +60 -0
  78. package/dist/serve/routes.js +186 -0
  79. package/dist/serve/terminal-input.d.ts +50 -0
  80. package/dist/serve/terminal-input.js +108 -0
  81. package/dist/skills.d.ts +19 -0
  82. package/dist/skills.js +54 -0
  83. package/dist/terminal-text.d.ts +8 -0
  84. package/dist/terminal-text.js +19 -6
  85. package/dist/tool-info.d.ts +24 -0
  86. package/dist/tool-info.js +17 -0
  87. package/dist/trust-command.d.ts +15 -27
  88. package/dist/trust-command.js +110 -208
  89. package/dist/trust-store.d.ts +5 -10
  90. package/dist/trust-store.js +9 -42
  91. package/dist/tui/app.d.ts +193 -0
  92. package/dist/tui/app.js +1400 -0
  93. package/dist/tui/copy.d.ts +29 -0
  94. package/dist/tui/copy.js +39 -0
  95. package/dist/tui/index.d.ts +33 -0
  96. package/dist/tui/index.js +97 -0
  97. package/dist/tui/keys-input.d.ts +27 -0
  98. package/dist/tui/keys-input.js +87 -0
  99. package/dist/tui/settings.d.ts +94 -0
  100. package/dist/tui/settings.js +198 -0
  101. package/dist/tui/style.d.ts +62 -0
  102. package/dist/tui/style.js +77 -0
  103. package/dist/version.d.ts +6 -0
  104. package/dist/version.js +7 -0
  105. package/dist/vocabulary.d.ts +91 -0
  106. package/dist/vocabulary.js +155 -0
  107. package/dist/web/main.js +2232 -582
  108. package/dist/web/page.html +41 -33
  109. package/dist/web/styles.css +513 -329
  110. package/dist/xdg.d.ts +76 -4
  111. package/dist/xdg.js +77 -5
  112. package/package.json +27 -8
  113. package/schema/config.json +133 -0
  114. package/dist/http.d.ts +0 -22
  115. package/dist/http.js +0 -149
  116. package/dist/origin-owner.d.ts +0 -19
  117. package/dist/origin-owner.js +0 -85
  118. package/dist/serve.d.ts +0 -98
  119. package/dist/serve.js +0 -671
  120. package/dist/tui.d.ts +0 -177
  121. package/dist/tui.js +0 -840
@@ -1,87 +1,17 @@
1
- /* The page's colour tokens, under the --d-* names. It is a standalone page
2
- with no shell, so the values are inlined here. */
1
+ /* The colour, radius and font tokens come from @osdlc/ux: page.ts puts
2
+ `cssSheet({ prefix: 'wf' })` before this sheet, which declares every
3
+ --wf-* token for light and dark, and follows `data-theme`. Only what the
4
+ page derives from them is declared here. */
3
5
  :root {
4
- color-scheme: light dark;
5
- --d-bg-base: #f8f8fa;
6
- --d-bg-surface: #ffffff;
7
- --d-bg-hover: #ededf1;
8
- --d-text-primary: #1a1a1c;
9
- --d-text-secondary: #45454b;
10
- --d-text-muted: #585860;
11
- --d-border: #e0e0e6;
12
- --d-border-subtle: #ebebf0;
13
- --d-accent: #1d59d8;
14
- --d-accent-hover: #1a4fbe;
15
- /* The label drawn on an accent fill. It follows the ground scale rather
16
- than being a fixed white, so a pressed control is dark-on-hue in dark
17
- mode. White on the dark accent is 2.56:1 and fails AA. */
18
- --d-accent-fg: #ffffff;
19
- --d-status-success: #188a46;
20
- --d-status-error: #d70015;
21
- --d-status-warning: #b06a00;
22
- --d-font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
23
- --d-radius-xs: 4px;
24
- --d-radius-sm: 6px;
25
- --d-radius-md: 10px;
26
- --d-radius-lg: 14px;
27
- /* Theme-independent: a pill is a shape, not a colour, so it is declared once. */
28
- --d-radius-pill: 999px;
29
- /* The match highlight is the accent at low strength, not a fifth hue. One
30
- declaration serves both themes because it mixes from --d-accent. */
31
- --d-accent-wash: color-mix(in srgb, var(--d-accent) 18%, transparent);
6
+ /* The match highlight is the accent at low strength, not another hue. */
7
+ --wf-accent-wash: color-mix(in srgb, var(--wf-accent) 18%, transparent);
8
+ /* The outline of a control. --wf-border is for separators and is too faint
9
+ for a button's edge (about 1.3:1); this mix reaches 3:1 on both grounds
10
+ in both themes, the WCAG target for a control's boundary. */
11
+ --wf-control-border: color-mix(in srgb, var(--wf-text-muted) 75%, var(--wf-bg-surface));
32
12
  --head-h: 28px; /* group-header height; the sticky stack counts in these */
33
13
  --chrome-h: 0px; /* measured at runtime — see measureChrome() */
34
14
  }
35
- /* Dark is declared twice, on purpose. The media query is the system default,
36
- which applies while `data-theme` is absent. The attribute selector is the
37
- explicit choice, which must win in both directions, so light must also be
38
- reachable on a machine set to dark. With the dark palette only inside the
39
- media query, "Light" would do nothing there. The two blocks must keep
40
- identical values. */
41
- :root[data-theme='dark'],
42
- :root:not([data-theme='light']) {
43
- color-scheme: light dark;
44
- }
45
- @media (prefers-color-scheme: dark) {
46
- :root:not([data-theme='light']) {
47
- --d-bg-base: #1a1b20;
48
- --d-bg-surface: #1d1e25;
49
- --d-bg-hover: #31323c;
50
- --d-text-primary: #eaeaee;
51
- --d-text-secondary: #bcbcc4;
52
- --d-text-muted: #a4a5ae;
53
- --d-border: #31323c;
54
- --d-border-subtle: #272831;
55
- --d-accent: #6a9bff;
56
- --d-accent-hover: #85adff;
57
- --d-accent-fg: #24252d;
58
- --d-status-success: #3fb27f;
59
- --d-status-error: #f7768e;
60
- --d-status-warning: #e0af68;
61
- }
62
- }
63
- :root[data-theme='dark'] {
64
- --d-bg-base: #1a1b20;
65
- --d-bg-surface: #1d1e25;
66
- --d-bg-hover: #31323c;
67
- --d-text-primary: #eaeaee;
68
- --d-text-secondary: #bcbcc4;
69
- --d-text-muted: #a4a5ae;
70
- --d-border: #31323c;
71
- --d-border-subtle: #272831;
72
- --d-accent: #6a9bff;
73
- --d-accent-hover: #85adff;
74
- --d-accent-fg: #24252d;
75
- --d-status-success: #3fb27f;
76
- --d-status-error: #f7768e;
77
- --d-status-warning: #e0af68;
78
- }
79
- :root[data-theme='light'] {
80
- color-scheme: light;
81
- }
82
- :root[data-theme='dark'] {
83
- color-scheme: dark;
84
- }
85
15
  * {
86
16
  box-sizing: border-box;
87
17
  }
@@ -98,8 +28,8 @@
98
28
  }
99
29
  body {
100
30
  margin: 0;
101
- background: var(--d-bg-surface);
102
- color: var(--d-text-primary);
31
+ background: var(--wf-bg-surface);
32
+ color: var(--wf-text-primary);
103
33
  font:
104
34
  13px/1.5 system-ui,
105
35
  -apple-system,
@@ -112,8 +42,8 @@ body {
112
42
  position: sticky;
113
43
  top: 0;
114
44
  z-index: 100;
115
- background: var(--d-bg-base);
116
- border-bottom: 1px solid var(--d-border);
45
+ background: var(--wf-bg-base);
46
+ border-bottom: 1px solid var(--wf-border);
117
47
  }
118
48
  header {
119
49
  padding: 12px 16px 0;
@@ -140,7 +70,7 @@ header {
140
70
  }
141
71
  #q {
142
72
  flex: 1;
143
- font: 13px/1.4 var(--d-font-mono);
73
+ font: 13px/1.4 var(--wf-font-mono);
144
74
  padding: 9px 12px;
145
75
  /* An input's default intrinsic width plus the 112px reserve below gives a
146
76
  min-content width of about 290px, more than the box above will ever be,
@@ -154,13 +84,13 @@ header {
154
84
  never slides under it. Measured: if the toggle's font or padding
155
85
  changes, measure this again. */
156
86
  padding-right: 112px;
157
- background: var(--d-bg-surface);
158
- color: var(--d-text-primary);
159
- border: 1px solid var(--d-border);
160
- border-radius: var(--d-radius-sm);
87
+ background: var(--wf-bg-surface);
88
+ color: var(--wf-text-primary);
89
+ border: 1px solid var(--wf-control-border);
90
+ border-radius: var(--wf-radius-sm);
161
91
  }
162
92
  #q:focus {
163
- outline: 2px solid var(--d-accent);
93
+ outline: 2px solid var(--wf-accent);
164
94
  outline-offset: -1px;
165
95
  }
166
96
 
@@ -171,13 +101,13 @@ header {
171
101
  gap: 6px;
172
102
  align-items: center;
173
103
  padding-left: 10px;
174
- border-left: 1px solid var(--d-border-subtle);
104
+ border-left: 1px solid var(--wf-border-subtle);
175
105
  }
176
106
  .cluster-label {
177
- font: 600 10px/1 system-ui;
107
+ font: 600 11px/1 system-ui;
178
108
  letter-spacing: 0.06em;
179
109
  text-transform: uppercase;
180
- color: var(--d-text-muted);
110
+ color: var(--wf-text-muted);
181
111
  user-select: none;
182
112
  }
183
113
 
@@ -186,9 +116,9 @@ header {
186
116
  border does not hide it. `:focus-visible` rather than `:focus` keeps it
187
117
  off a mouse click. */
188
118
  :where(button, input, [tabindex]):focus-visible {
189
- outline: 2px solid var(--d-accent);
119
+ outline: 2px solid var(--wf-accent);
190
120
  outline-offset: 2px;
191
- border-radius: var(--d-radius-sm);
121
+ border-radius: var(--wf-radius-sm);
192
122
  }
193
123
  /* A tab is flush against its neighbours, so its ring sits inside instead. */
194
124
  .tabs button[data-runner]:focus-visible {
@@ -200,8 +130,8 @@ header {
200
130
  Otherwise a square button corner would sit in a rounded group. */
201
131
  .seg {
202
132
  display: flex;
203
- border: 1px solid var(--d-border);
204
- border-radius: var(--d-radius-sm);
133
+ border: 1px solid var(--wf-control-border);
134
+ border-radius: var(--wf-radius-sm);
205
135
  overflow: visible;
206
136
  }
207
137
  .seg button {
@@ -209,18 +139,18 @@ header {
209
139
  padding: 9px 11px;
210
140
  border: 0;
211
141
  cursor: pointer;
212
- background: var(--d-bg-surface);
213
- color: var(--d-text-secondary);
142
+ background: var(--wf-bg-surface);
143
+ color: var(--wf-text-secondary);
214
144
  }
215
145
  .seg button:first-child {
216
- border-radius: var(--d-radius-sm) 0 0 var(--d-radius-sm);
146
+ border-radius: var(--wf-radius-sm) 0 0 var(--wf-radius-sm);
217
147
  }
218
148
  .seg button:last-child {
219
- border-radius: 0 var(--d-radius-sm) var(--d-radius-sm) 0;
149
+ border-radius: 0 var(--wf-radius-sm) var(--wf-radius-sm) 0;
220
150
  }
221
151
  .seg button[aria-pressed='true'] {
222
- background: var(--d-accent);
223
- color: var(--d-accent-fg);
152
+ background: var(--wf-accent);
153
+ color: var(--wf-accent-fg);
224
154
  }
225
155
  /* How a query matches belongs to the query, so the toggle sits in the field
226
156
  it controls. It is smaller than a toolbar segment and has a ring, so it
@@ -232,7 +162,7 @@ header {
232
162
  right: 6px;
233
163
  top: 50%;
234
164
  transform: translateY(-50%);
235
- border-color: var(--d-border);
165
+ border-color: var(--wf-control-border);
236
166
  }
237
167
  .seg.inline button {
238
168
  font: 11px/1 system-ui;
@@ -251,15 +181,15 @@ header {
251
181
  font: 12px/1 system-ui;
252
182
  padding: 9px 11px;
253
183
  cursor: pointer;
254
- background: var(--d-bg-surface);
255
- color: var(--d-text-secondary);
256
- border: 1px solid var(--d-border);
257
- border-radius: var(--d-radius-sm);
184
+ background: var(--wf-bg-surface);
185
+ color: var(--wf-text-secondary);
186
+ border: 1px solid var(--wf-control-border);
187
+ border-radius: var(--wf-radius-sm);
258
188
  }
259
189
  .toolbtn[aria-pressed='true'] {
260
- background: var(--d-accent);
261
- color: var(--d-accent-fg);
262
- border-color: var(--d-accent);
190
+ background: var(--wf-accent);
191
+ color: var(--wf-accent-fg);
192
+ border-color: var(--wf-accent);
263
193
  }
264
194
  /* 10px, which each tab's `i` button needs to its right for a 24px hit target
265
195
  that stops 2px short of the next tab. At 8px the overlay's right edge
@@ -268,10 +198,9 @@ header {
268
198
  boundary. A click just inside a tab would then open the previous runner's
269
199
  modal.
270
200
 
271
- It wraps rather than overflowing, so below about 926px the page does not
272
- scroll sideways. A second line costs nothing (the sticky header's height
273
- is measured, not assumed) and keeps every tab visible, which a scroller
274
- inside the strip would not. */
201
+ It wraps rather than overflowing on a wide window, which keeps every tab
202
+ visible. At phone width it is one scrolling row instead (see the end of
203
+ this sheet), so it does not fill the screen. */
275
204
  .tabs {
276
205
  display: flex;
277
206
  flex-wrap: wrap;
@@ -303,10 +232,10 @@ header {
303
232
  z-index: 200;
304
233
  min-width: 220px;
305
234
  padding: 6px;
306
- border-radius: var(--d-radius-md);
307
- background: var(--d-bg-base);
308
- border: 1px solid var(--d-border);
309
- box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
235
+ border-radius: var(--wf-radius-md);
236
+ background: var(--wf-bg-base);
237
+ border: 1px solid var(--wf-border);
238
+ box-shadow: 0 8px 24px color-mix(in srgb, black 18%, transparent);
310
239
  max-height: calc(100vh - var(--chrome-h) - 16px);
311
240
  overflow-y: auto;
312
241
  }
@@ -318,12 +247,12 @@ header {
318
247
  align-items: center;
319
248
  gap: 8px;
320
249
  padding: 5px 8px;
321
- border-radius: var(--d-radius-xs);
322
- font: 12px/1.3 var(--d-font-mono);
323
- color: var(--d-text-primary);
250
+ border-radius: var(--wf-radius-xs);
251
+ font: 12px/1.3 var(--wf-font-mono);
252
+ color: var(--wf-text-primary);
324
253
  }
325
254
  .pick:hover {
326
- background: var(--d-bg-hover);
255
+ background: var(--wf-bg-hover);
327
256
  }
328
257
  /* The row is a plain div, not a <label>. The info button sits beside the
329
258
  label (see view.ts), and a label around the whole row would also pass that
@@ -338,7 +267,7 @@ header {
338
267
  cursor: pointer;
339
268
  }
340
269
  .pick .grip {
341
- color: var(--d-text-muted);
270
+ color: var(--wf-text-muted);
342
271
  font-size: 11px;
343
272
  cursor: grab;
344
273
  user-select: none;
@@ -372,21 +301,21 @@ header {
372
301
  pointer-events: none;
373
302
  font: 13px/1 system-ui;
374
303
  /* An accent tint over the surface colour, not the page background.
375
- --d-bg-base is the background in both themes, so a card in that colour
304
+ --wf-bg-base is the background in both themes, so a card in that colour
376
305
  would look like an outlined rectangle rather than something picked up.
377
306
  Mixing toward the accent raises it off either background.
378
307
 
379
308
  Two shadows, because one cannot serve both themes. Black shows the lift
380
- on white and is invisible on #14161a, so an accent halo shows it there.
381
- Each is harmless where the other does the work. */
382
- background: color-mix(in srgb, var(--d-accent) 14%, var(--d-bg-surface));
383
- color: var(--d-text-primary);
384
- border: 1px solid var(--d-accent);
385
- border-radius: var(--d-radius-sm);
309
+ on the light ground and is invisible on the dark one, so an accent halo
310
+ shows it there. Each is harmless where the other does the work. */
311
+ background: color-mix(in srgb, var(--wf-accent) 14%, var(--wf-bg-surface));
312
+ color: var(--wf-text-primary);
313
+ border: 1px solid var(--wf-accent);
314
+ border-radius: var(--wf-radius-sm);
386
315
  box-shadow:
387
- 0 12px 28px rgba(0, 0, 0, 0.45),
388
- 0 6px 18px color-mix(in srgb, var(--d-accent) 40%, transparent),
389
- 0 0 0 1px color-mix(in srgb, var(--d-accent) 45%, transparent);
316
+ 0 12px 28px color-mix(in srgb, black 45%, transparent),
317
+ 0 6px 18px color-mix(in srgb, var(--wf-accent) 40%, transparent),
318
+ 0 0 0 1px color-mix(in srgb, var(--wf-accent) 45%, transparent);
390
319
  }
391
320
  [data-drag-ghost] button,
392
321
  [data-drag-ghost] label {
@@ -404,7 +333,7 @@ header {
404
333
  display: none;
405
334
  }
406
335
  [data-drag-ghost] .count {
407
- color: var(--d-text-muted);
336
+ color: var(--wf-text-muted);
408
337
  font-size: 11px;
409
338
  }
410
339
  /* The dragged element itself, faded because the drag image is the copy the
@@ -428,7 +357,7 @@ header {
428
357
  }
429
358
  .pick .count {
430
359
  margin-left: auto;
431
- color: var(--d-text-muted);
360
+ color: var(--wf-text-muted);
432
361
  font-size: 11px;
433
362
  }
434
363
  /* The picker's sort header. It reorders the one saved order, so it looks like
@@ -446,13 +375,13 @@ header {
446
375
  gap: 8px;
447
376
  align-items: center;
448
377
  padding: 2px 8px 6px;
449
- border-bottom: 1px solid var(--d-border);
378
+ border-bottom: 1px solid var(--wf-border);
450
379
  margin-bottom: 4px;
451
380
  position: sticky;
452
381
  top: 0;
453
382
  z-index: 1;
454
- background: var(--d-bg-base);
455
- box-shadow: 0 -6px 0 var(--d-bg-base);
383
+ background: var(--wf-bg-base);
384
+ box-shadow: 0 -6px 0 var(--wf-bg-base);
456
385
  }
457
386
  /* Takes the width of the row's drag handle, and is invisible because there
458
387
  is nothing to drag in a header. */
@@ -475,14 +404,14 @@ header {
475
404
  align-items: center;
476
405
  gap: 3px;
477
406
  flex: 1;
478
- font: 600 10px/1 system-ui;
407
+ font: 600 11px/1 system-ui;
479
408
  letter-spacing: 0.06em;
480
409
  text-transform: uppercase;
481
410
  padding: 4px 6px;
482
411
  cursor: pointer;
483
- border-radius: var(--d-radius-xs);
412
+ border-radius: var(--wf-radius-xs);
484
413
  background: transparent;
485
- color: var(--d-text-muted);
414
+ color: var(--wf-text-muted);
486
415
  border: 1px solid transparent;
487
416
  }
488
417
  .picksort:last-child {
@@ -490,23 +419,23 @@ header {
490
419
  margin-left: auto;
491
420
  }
492
421
  .picksort:hover {
493
- color: var(--d-accent-hover);
494
- border-color: var(--d-border);
422
+ color: var(--wf-accent-hover);
423
+ border-color: var(--wf-border);
495
424
  }
496
425
  /* Pressed means "the order on screen matches this sort". It is computed on
497
426
  every render, so it clears as soon as a drag breaks the sort. */
498
427
  .picksort[aria-pressed='true'] {
499
- color: var(--d-text-primary);
428
+ color: var(--wf-text-primary);
500
429
  }
501
430
  .sortdir {
502
- font-size: 9px;
431
+ font-size: 11px;
503
432
  }
504
433
 
505
434
  .pickactions {
506
435
  display: flex;
507
436
  gap: 4px;
508
437
  padding: 6px 8px 2px;
509
- border-top: 1px solid var(--d-border);
438
+ border-top: 1px solid var(--wf-border);
510
439
  margin-top: 4px;
511
440
  }
512
441
  .pickactions button {
@@ -514,14 +443,14 @@ header {
514
443
  padding: 5px 9px;
515
444
  cursor: pointer;
516
445
  flex: 1;
517
- background: var(--d-bg-surface);
518
- color: var(--d-text-secondary);
519
- border: 1px solid var(--d-border);
520
- border-radius: var(--d-radius-sm);
446
+ background: var(--wf-bg-surface);
447
+ color: var(--wf-text-secondary);
448
+ border: 1px solid var(--wf-control-border);
449
+ border-radius: var(--wf-radius-sm);
521
450
  }
522
451
  .pickactions button:hover {
523
- color: var(--d-accent-hover);
524
- border-color: var(--d-accent);
452
+ color: var(--wf-accent-hover);
453
+ border-color: var(--wf-accent);
525
454
  }
526
455
  /* Limited to [data-runner]: the tab row also holds .tabinfo, and a bare
527
456
  `.tabs button` selector is more specific than .tabinfo's single-class rule
@@ -534,7 +463,7 @@ header {
534
463
  padding: 9px 14px;
535
464
  cursor: pointer;
536
465
  background: transparent;
537
- color: var(--d-text-secondary);
466
+ color: var(--wf-text-secondary);
538
467
  border: 0;
539
468
  border-bottom: 2px solid transparent;
540
469
  display: inline-flex;
@@ -542,14 +471,14 @@ header {
542
471
  white-space: nowrap;
543
472
  }
544
473
  .tabs button[data-runner][aria-pressed='true'] {
545
- color: var(--d-text-primary);
546
- border-bottom-color: var(--d-accent);
474
+ color: var(--wf-text-primary);
475
+ border-bottom-color: var(--wf-accent);
547
476
  }
548
477
  .tabs button[data-runner] .ricon {
549
478
  margin-right: 6px;
550
479
  }
551
480
  .tabs .count {
552
- color: var(--d-text-muted);
481
+ color: var(--wf-text-muted);
553
482
  font-size: 11px;
554
483
  margin-left: 5px;
555
484
  }
@@ -558,9 +487,9 @@ header {
558
487
  .tabs .count.exec {
559
488
  margin-left: 4px;
560
489
  padding: 1px 5px;
561
- border-radius: var(--d-radius-pill);
562
- border: 1px solid var(--d-border);
563
- font-size: 10px;
490
+ border-radius: var(--wf-radius-pill);
491
+ border: 1px solid var(--wf-control-border);
492
+ font-size: 11px;
564
493
  }
565
494
  /* `flex: none`, so a full strip wraps rather than squeezing its tabs. A
566
495
  shrunken tab moves its label away from its click area. */
@@ -576,8 +505,8 @@ header {
576
505
  align-self: center;
577
506
  margin-left: 10px;
578
507
  padding-left: 10px;
579
- border-left: 1px solid var(--d-border);
580
- color: var(--d-text-muted);
508
+ border-left: 1px solid var(--wf-border);
509
+ color: var(--wf-text-muted);
581
510
  font-size: 11px;
582
511
  text-transform: uppercase;
583
512
  letter-spacing: 0.04em;
@@ -611,7 +540,7 @@ header {
611
540
  edge and take its clicks. The strip wraps instead of crowding, and this
612
541
  keeps the ring from shrinking either way. */
613
542
  .tabinfo {
614
- font: 600 11px/1 var(--d-font-mono);
543
+ font: 600 11px/1 var(--wf-font-mono);
615
544
  width: 16px;
616
545
  height: 16px;
617
546
  padding: 0;
@@ -620,8 +549,8 @@ header {
620
549
  position: relative;
621
550
  flex: none;
622
551
  background: transparent;
623
- color: var(--d-text-muted);
624
- border: 1px solid var(--d-border-subtle);
552
+ color: var(--wf-text-muted);
553
+ border: 1px solid var(--wf-border-subtle);
625
554
  border-radius: 50%;
626
555
  }
627
556
  /* The visible ring is 16px, under the 24px minimum target size. A
@@ -645,8 +574,8 @@ header {
645
574
  transform: translateY(-50%);
646
575
  }
647
576
  .tabinfo:hover {
648
- color: var(--d-accent-hover);
649
- border-color: var(--d-accent);
577
+ color: var(--wf-accent-hover);
578
+ border-color: var(--wf-accent);
650
579
  }
651
580
  /* In the picker the count runs to the row's right edge, so the button needs
652
581
  its own spacing. Its hit overlay reaches into the row's padding, where
@@ -674,14 +603,14 @@ header {
674
603
  margin-left: 8px;
675
604
  cursor: pointer;
676
605
  background: transparent;
677
- color: var(--d-text-muted);
678
- border: 1px solid var(--d-border-subtle);
679
- border-radius: var(--d-radius-pill);
606
+ color: var(--wf-text-muted);
607
+ border: 1px solid var(--wf-border-subtle);
608
+ border-radius: var(--wf-radius-pill);
680
609
  }
681
610
  .tab-folded:hover,
682
611
  .tab-folded:focus-visible {
683
- color: var(--d-accent-hover);
684
- border-color: var(--d-accent);
612
+ color: var(--wf-accent-hover);
613
+ border-color: var(--wf-accent);
685
614
  }
686
615
  /* The first strip in the sticky header. Above everything, it reads as a
687
616
  caption for the whole view. Between the column headers and the rows, a
@@ -694,12 +623,12 @@ header {
694
623
  flex-wrap: wrap;
695
624
  padding: 7px 16px;
696
625
  font-size: 11px;
697
- color: var(--d-text-muted);
698
- background: var(--d-bg-surface);
699
- border-bottom: 1px solid var(--d-border);
626
+ color: var(--wf-text-muted);
627
+ background: var(--wf-bg-surface);
628
+ border-bottom: 1px solid var(--wf-border);
700
629
  }
701
630
  .status .err {
702
- color: var(--d-status-error);
631
+ color: var(--wf-status-error);
703
632
  }
704
633
  /* The trust bar. Its own row above everything, because it asks for a
705
634
  decision rather than reporting a number. In the status strip, between
@@ -714,9 +643,9 @@ header {
714
643
  flex-wrap: wrap;
715
644
  padding: 8px 16px;
716
645
  font-size: 12px;
717
- color: var(--d-status-warning);
718
- background: color-mix(in srgb, var(--d-status-warning) 10%, var(--d-bg-surface));
719
- border-bottom: 1px solid color-mix(in srgb, var(--d-status-warning) 35%, transparent);
646
+ color: var(--wf-status-warning);
647
+ background: color-mix(in srgb, var(--wf-status-warning) 10%, var(--wf-bg-surface));
648
+ border-bottom: 1px solid color-mix(in srgb, var(--wf-status-warning) 35%, transparent);
720
649
  }
721
650
  .trustbar[hidden] {
722
651
  display: none;
@@ -729,7 +658,7 @@ header {
729
658
  /* Withheld runners are not an error (nothing failed, something was
730
659
  declined), so they use the warning colour, not the error one. */
731
660
  .status .warn {
732
- color: var(--d-status-warning);
661
+ color: var(--wf-status-warning);
733
662
  }
734
663
  main {
735
664
  padding: 0 16px 40vh;
@@ -737,20 +666,66 @@ main {
737
666
  .banner {
738
667
  margin: 12px 0;
739
668
  padding: 10px 12px;
740
- border-radius: var(--d-radius-sm);
741
- border: 1px solid var(--d-status-error);
742
- color: var(--d-status-error);
743
- font: 12px/1.5 var(--d-font-mono);
669
+ border-radius: var(--wf-radius-sm);
670
+ border: 1px solid var(--wf-status-error);
671
+ color: var(--wf-status-error);
672
+ font: 12px/1.5 var(--wf-font-mono);
744
673
  white-space: pre-wrap;
745
674
  }
746
675
  .banner.warn {
747
- border-color: var(--d-status-warning);
748
- color: var(--d-status-warning);
676
+ border-color: var(--wf-status-warning);
677
+ color: var(--wf-status-warning);
749
678
  }
750
679
  .empty {
751
680
  padding: 48px 0;
752
681
  text-align: center;
753
- color: var(--d-text-muted);
682
+ color: var(--wf-text-muted);
683
+ }
684
+
685
+ /* A runner the first probe has not heard from yet: a quiet tab and a row,
686
+ each with a spinner, until its rows arrive. */
687
+ .tab-loading {
688
+ font: 13px/1 system-ui;
689
+ padding: 9px 14px;
690
+ color: var(--wf-text-muted);
691
+ white-space: nowrap;
692
+ gap: 6px;
693
+ }
694
+ .loading-rows {
695
+ padding: 8px 0;
696
+ }
697
+ .loading-row {
698
+ display: flex;
699
+ align-items: center;
700
+ gap: 8px;
701
+ padding: 5px 0;
702
+ color: var(--wf-text-secondary);
703
+ }
704
+ .loading-row .muted {
705
+ color: var(--wf-text-muted);
706
+ }
707
+ .loading-note {
708
+ color: var(--wf-text-secondary);
709
+ }
710
+ .spinner {
711
+ width: 10px;
712
+ height: 10px;
713
+ flex: none;
714
+ border-radius: 50%;
715
+ border: 2px solid var(--wf-control-border);
716
+ border-top-color: var(--wf-accent);
717
+ animation: spin 0.8s linear infinite;
718
+ }
719
+ @keyframes spin {
720
+ to {
721
+ transform: rotate(360deg);
722
+ }
723
+ }
724
+ @media (prefers-reduced-motion: reduce) {
725
+ .spinner {
726
+ animation: none;
727
+ border-top-color: var(--wf-control-border);
728
+ }
754
729
  }
755
730
 
756
731
  /* The call-chain tree: each level indents one step, and leaves are table
@@ -766,7 +741,7 @@ main {
766
741
  would win on DOM order and scroll over its own parent. */
767
742
  .node > .head {
768
743
  position: sticky;
769
- background: var(--d-bg-base);
744
+ background: var(--wf-bg-base);
770
745
  display: flex;
771
746
  align-items: center;
772
747
  gap: 8px;
@@ -775,30 +750,30 @@ main {
775
750
  padding: 0 0 1px;
776
751
  cursor: pointer;
777
752
  user-select: none;
778
- border-bottom: 1px solid var(--d-border);
753
+ border-bottom: 1px solid var(--wf-border);
779
754
  }
780
755
  .node > .head:hover .seg-name {
781
- color: var(--d-accent-hover);
756
+ color: var(--wf-accent-hover);
782
757
  }
783
758
  .twisty {
784
- color: var(--d-text-muted);
785
- font: 11px/1 var(--d-font-mono);
759
+ color: var(--wf-text-muted);
760
+ font: 11px/1 var(--wf-font-mono);
786
761
  width: 10px;
787
762
  flex: none;
788
763
  }
789
764
  .chain {
790
- color: var(--d-text-muted);
791
- font: 12px/1 var(--d-font-mono);
765
+ color: var(--wf-text-muted);
766
+ font: 12px/1 var(--wf-font-mono);
792
767
  }
793
768
  .seg-name {
794
- font: 600 13px/1.3 var(--d-font-mono);
769
+ font: 600 13px/1.3 var(--wf-font-mono);
795
770
  }
796
771
  .node-count {
797
- color: var(--d-text-muted);
772
+ color: var(--wf-text-muted);
798
773
  font-size: 11px;
799
774
  }
800
775
  .seg-kind {
801
- color: var(--d-text-muted);
776
+ color: var(--wf-text-muted);
802
777
  font-size: 11px;
803
778
  letter-spacing: 0.04em;
804
779
  text-transform: uppercase;
@@ -824,9 +799,9 @@ main {
824
799
 
825
800
  The trunk sits at -11px, inside the `.kids` indentation.
826
801
 
827
- `--d-border` rather than `--d-border-subtle`: subtle is #eceff3 on white,
828
- which at 1px looks like a smudge, and these lines show structure.
829
- --d-border stays quiet in both themes.
802
+ `--wf-border` rather than `--wf-border-subtle`: subtle is nearly the
803
+ ground colour, which at 1px looks like a smudge, and these lines show
804
+ structure. --wf-border stays quiet in both themes.
830
805
 
831
806
  `.node` is only `position: relative`, with no z-index, so it creates no
832
807
  stacking context and the pseudo-elements stay at layer 0. The sticky
@@ -847,7 +822,7 @@ main {
847
822
  top: 0;
848
823
  bottom: 0;
849
824
  width: 1px;
850
- background: var(--d-border);
825
+ background: var(--wf-border);
851
826
  }
852
827
  /* The last group ends the trunk at its own header, which turns the tee
853
828
  into an elbow. `:last-of-type` and not `:last-child`, because the leaf
@@ -863,7 +838,7 @@ main {
863
838
  top: calc(var(--head-h) / 2);
864
839
  width: 8px;
865
840
  height: 1px;
866
- background: var(--d-border);
841
+ background: var(--wf-border);
867
842
  }
868
843
 
869
844
  /* `fixed` makes the columns line up. With `auto`, every group is its own
@@ -875,10 +850,10 @@ table {
875
850
  table-layout: fixed;
876
851
  }
877
852
  tbody tr {
878
- border-bottom: 1px solid var(--d-border-subtle);
853
+ border-bottom: 1px solid var(--wf-border-subtle);
879
854
  }
880
855
  tbody tr:hover {
881
- background: var(--d-bg-hover);
856
+ background: var(--wf-bg-hover);
882
857
  }
883
858
  /* A faint line of the runner's brand colour down the row's left edge, enough
884
859
  to tell moon rows from cargo rows at a glance, not enough to look like
@@ -895,8 +870,8 @@ tbody tr.branded {
895
870
  in the list this follows the focused row; otherwise it is the top hit. See
896
871
  markEnterTarget(). */
897
872
  tbody tr.enter-target {
898
- background: var(--d-bg-hover);
899
- box-shadow: inset 2px 0 0 var(--d-accent);
873
+ background: var(--wf-bg-hover);
874
+ box-shadow: inset 2px 0 0 var(--wf-accent);
900
875
  }
901
876
  /* The darker accent, not the base one: the base accent on this row's raised
902
877
  background is 4.26:1 and misses AA. As a result this one Copy button does
@@ -905,9 +880,9 @@ tbody tr.enter-target {
905
880
  a heavier weight make it the row's primary action rather than one more
906
881
  quiet button. */
907
882
  tbody tr.enter-target .copy {
908
- color: var(--d-accent-hover);
909
- border-color: var(--d-accent);
910
- background: var(--d-bg-base);
883
+ color: var(--wf-accent-hover);
884
+ border-color: var(--wf-accent);
885
+ background: var(--wf-bg-base);
911
886
  font-weight: 600;
912
887
  }
913
888
  /* The Enter marker is part of this button, not a separate chip on the left
@@ -931,10 +906,10 @@ tbody tr:focus-visible {
931
906
  is the one it would take". */
932
907
  @keyframes copied-glow {
933
908
  0% {
934
- background: var(--d-status-success);
909
+ background: var(--wf-status-success);
935
910
  box-shadow:
936
- inset 3px 0 0 var(--d-status-success),
937
- 0 0 0 1px var(--d-status-success);
911
+ inset 3px 0 0 var(--wf-status-success),
912
+ 0 0 0 1px var(--wf-status-success);
938
913
  }
939
914
  100% {
940
915
  background: transparent;
@@ -947,12 +922,12 @@ tbody tr.copied {
947
922
  animation: copied-glow 0.7s ease-out;
948
923
  }
949
924
  tbody tr.copied td {
950
- color: var(--d-text-primary);
925
+ color: var(--wf-text-primary);
951
926
  }
952
927
  @media (prefers-reduced-motion: reduce) {
953
928
  tbody tr.copied {
954
929
  animation: none;
955
- background: var(--d-bg-hover);
930
+ background: var(--wf-bg-hover);
956
931
  }
957
932
  }
958
933
  /* One line-height for every cell, so no cell's own metrics decide the row
@@ -993,7 +968,7 @@ td.ind {
993
968
  width: 13px;
994
969
  height: 13px;
995
970
  cursor: help;
996
- color: var(--d-status-success);
971
+ color: var(--wf-status-success);
997
972
  }
998
973
  .ind-svc svg {
999
974
  width: 100%;
@@ -1001,7 +976,7 @@ td.ind {
1001
976
  display: block;
1002
977
  }
1003
978
  .ind-svc.inferred {
1004
- color: var(--d-text-muted);
979
+ color: var(--wf-text-muted);
1005
980
  }
1006
981
  td.name,
1007
982
  td.run {
@@ -1010,20 +985,20 @@ td.run {
1010
985
  white-space: nowrap;
1011
986
  }
1012
987
  td.name {
1013
- font: 600 13px/1.5 var(--d-font-mono);
988
+ font: 600 13px/1.5 var(--wf-font-mono);
1014
989
  }
1015
990
  td.run {
1016
- font: 12px/1.5 var(--d-font-mono);
1017
- color: var(--d-text-secondary);
991
+ font: 12px/1.5 var(--wf-font-mono);
992
+ color: var(--wf-text-secondary);
1018
993
  }
1019
994
  td.doc {
1020
995
  font-size: 12px;
1021
- color: var(--d-text-secondary);
996
+ color: var(--wf-text-secondary);
1022
997
  overflow: hidden;
1023
998
  }
1024
999
  td.doc .detail {
1025
- font: 11px/1.4 var(--d-font-mono);
1026
- color: var(--d-text-muted);
1000
+ font: 11px/1.4 var(--wf-font-mono);
1001
+ color: var(--wf-text-muted);
1027
1002
  display: block;
1028
1003
  overflow: hidden;
1029
1004
  text-overflow: ellipsis;
@@ -1046,21 +1021,21 @@ td.act {
1046
1021
  padding: 4px 8px;
1047
1022
  cursor: pointer;
1048
1023
  background: transparent;
1049
- color: var(--d-text-muted);
1050
- border: 1px solid var(--d-border);
1051
- border-radius: var(--d-radius-sm);
1024
+ color: var(--wf-text-muted);
1025
+ border: 1px solid var(--wf-control-border);
1026
+ border-radius: var(--wf-radius-sm);
1052
1027
  }
1053
1028
  .runbtn {
1054
1029
  margin-right: 4px;
1055
1030
  }
1056
1031
  .copy:hover,
1057
1032
  .runbtn:hover {
1058
- color: var(--d-accent-hover);
1059
- border-color: var(--d-accent);
1033
+ color: var(--wf-accent-hover);
1034
+ border-color: var(--wf-accent);
1060
1035
  }
1061
1036
  .copy.done {
1062
- color: var(--d-status-success);
1063
- border-color: var(--d-status-success);
1037
+ color: var(--wf-status-success);
1038
+ border-color: var(--wf-status-success);
1064
1039
  }
1065
1040
  .runbtn:disabled {
1066
1041
  cursor: default;
@@ -1074,10 +1049,10 @@ td.act {
1074
1049
  top: 100%;
1075
1050
  z-index: 2;
1076
1051
  font: 11px/1.4 system-ui;
1077
- color: var(--d-status-warning);
1078
- background: var(--d-bg-base);
1079
- border: 1px solid var(--d-border);
1080
- border-radius: var(--d-radius-sm);
1052
+ color: var(--wf-status-warning);
1053
+ background: var(--wf-bg-base);
1054
+ border: 1px solid var(--wf-border);
1055
+ border-radius: var(--wf-radius-sm);
1081
1056
  padding: 3px 6px;
1082
1057
  }
1083
1058
 
@@ -1095,8 +1070,8 @@ td.act {
1095
1070
  flex-direction: column;
1096
1071
  gap: 4px;
1097
1072
  padding: 10px 14px;
1098
- background: var(--d-bg-base);
1099
- border-top: 1px solid var(--d-border);
1073
+ background: var(--wf-bg-base);
1074
+ border-top: 1px solid var(--wf-border);
1100
1075
  }
1101
1076
  .runbar-line {
1102
1077
  display: flex;
@@ -1104,37 +1079,37 @@ td.act {
1104
1079
  gap: 6px;
1105
1080
  }
1106
1081
  .runbar-sigil {
1107
- color: var(--d-text-secondary);
1108
- font: 13px/1.5 var(--d-font-mono);
1082
+ color: var(--wf-text-secondary);
1083
+ font: 13px/1.5 var(--wf-font-mono);
1109
1084
  }
1110
1085
  .runbar-cmd {
1111
- font: 13px/1.5 var(--d-font-mono);
1112
- color: var(--d-text-primary);
1086
+ font: 13px/1.5 var(--wf-font-mono);
1087
+ color: var(--wf-text-primary);
1113
1088
  white-space: pre;
1114
1089
  }
1115
1090
  .runbar-args {
1116
1091
  flex: 1;
1117
1092
  min-width: 0;
1118
1093
  padding: 2px 4px;
1119
- font: 13px/1.5 var(--d-font-mono);
1120
- color: var(--d-text-primary);
1121
- background: var(--d-bg-base);
1122
- border: 1px solid var(--d-border);
1123
- border-radius: var(--d-radius-sm);
1094
+ font: 13px/1.5 var(--wf-font-mono);
1095
+ color: var(--wf-text-primary);
1096
+ background: var(--wf-bg-base);
1097
+ border: 1px solid var(--wf-control-border);
1098
+ border-radius: var(--wf-radius-sm);
1124
1099
  }
1125
1100
  .runbar-args:focus {
1126
1101
  outline: none;
1127
- border-color: var(--d-accent);
1102
+ border-color: var(--wf-accent);
1128
1103
  }
1129
1104
  .runbar-foot {
1130
1105
  display: flex;
1131
1106
  justify-content: space-between;
1132
1107
  gap: 12px;
1133
1108
  font: 11px/1.4 system-ui;
1134
- color: var(--d-text-secondary);
1109
+ color: var(--wf-text-secondary);
1135
1110
  }
1136
1111
  .runbar-shape {
1137
- font-family: var(--d-font-mono);
1112
+ font-family: var(--wf-font-mono);
1138
1113
  }
1139
1114
 
1140
1115
  /* The end state: the task has the terminal and this page has nothing left
@@ -1150,8 +1125,8 @@ td.act {
1150
1125
  gap: 12px;
1151
1126
  padding: 24px;
1152
1127
  text-align: center;
1153
- background: var(--d-bg-base);
1154
- color: var(--d-text-primary);
1128
+ background: var(--wf-bg-base);
1129
+ color: var(--wf-text-primary);
1155
1130
  }
1156
1131
  #handoff h2 {
1157
1132
  margin: 0;
@@ -1160,17 +1135,17 @@ td.act {
1160
1135
  #handoff p {
1161
1136
  margin: 0;
1162
1137
  max-width: 44ch;
1163
- color: var(--d-text-secondary);
1138
+ color: var(--wf-text-secondary);
1164
1139
  }
1165
1140
  #handoff .handoff-cmd {
1166
1141
  margin: 0;
1167
1142
  max-width: 100%;
1168
1143
  overflow-x: auto;
1169
- font: 13px/1.5 var(--d-font-mono);
1170
- color: var(--d-text-primary);
1171
- background: var(--d-bg-surface);
1172
- border: 1px solid var(--d-border);
1173
- border-radius: var(--d-radius-md);
1144
+ font: 13px/1.5 var(--wf-font-mono);
1145
+ color: var(--wf-text-primary);
1146
+ background: var(--wf-bg-surface);
1147
+ border: 1px solid var(--wf-border);
1148
+ border-radius: var(--wf-radius-md);
1174
1149
  padding: 10px 14px;
1175
1150
  }
1176
1151
  .helpbtn {
@@ -1179,14 +1154,14 @@ td.act {
1179
1154
  height: 30px;
1180
1155
  padding: 0;
1181
1156
  cursor: pointer;
1182
- background: var(--d-bg-surface);
1183
- color: var(--d-text-secondary);
1184
- border: 1px solid var(--d-border);
1157
+ background: var(--wf-bg-surface);
1158
+ color: var(--wf-text-secondary);
1159
+ border: 1px solid var(--wf-control-border);
1185
1160
  border-radius: 50%;
1186
1161
  }
1187
1162
  .helpbtn:hover {
1188
- color: var(--d-accent-hover);
1189
- border-color: var(--d-accent);
1163
+ color: var(--wf-accent-hover);
1164
+ border-color: var(--wf-accent);
1190
1165
  }
1191
1166
 
1192
1167
  /* The column headers are in the sticky header, not in each group's table,
@@ -1195,8 +1170,8 @@ td.act {
1195
1170
  column starts at the same x. */
1196
1171
  .colheads {
1197
1172
  padding: 0 16px;
1198
- background: var(--d-bg-base);
1199
- border-top: 1px solid var(--d-border);
1173
+ background: var(--wf-bg-base);
1174
+ border-top: 1px solid var(--wf-border);
1200
1175
  }
1201
1176
  .colheads table {
1202
1177
  border-collapse: collapse;
@@ -1205,7 +1180,7 @@ td.act {
1205
1180
  font: 600 11px/1 system-ui;
1206
1181
  letter-spacing: 0.06em;
1207
1182
  text-transform: uppercase;
1208
- color: var(--d-text-muted);
1183
+ color: var(--wf-text-muted);
1209
1184
  text-align: left;
1210
1185
  padding: 5px 8px 5px 0;
1211
1186
  cursor: help;
@@ -1215,15 +1190,15 @@ td.act {
1215
1190
  dialog#help,
1216
1191
  dialog#settings {
1217
1192
  max-width: 640px;
1218
- border: 1px solid var(--d-border);
1219
- border-radius: var(--d-radius-lg);
1193
+ border: 1px solid var(--wf-border);
1194
+ border-radius: var(--wf-radius-lg);
1220
1195
  padding: 20px 24px;
1221
- background: var(--d-bg-base);
1222
- color: var(--d-text-primary);
1196
+ background: var(--wf-bg-base);
1197
+ color: var(--wf-text-primary);
1223
1198
  }
1224
1199
  dialog#help::backdrop,
1225
1200
  dialog#settings::backdrop {
1226
- background: rgba(0, 0, 0, 0.45);
1201
+ background: color-mix(in srgb, black 45%, transparent);
1227
1202
  }
1228
1203
 
1229
1204
  /* The settings screen. Values are shown with the layer they came from, and
@@ -1234,8 +1209,8 @@ dialog#settings::backdrop {
1234
1209
  }
1235
1210
  .set-file {
1236
1211
  margin: 2px 0 16px;
1237
- font: 11px var(--d-font-mono);
1238
- color: var(--d-text-muted);
1212
+ font: 11px var(--wf-font-mono);
1213
+ color: var(--wf-text-muted);
1239
1214
  overflow-wrap: anywhere;
1240
1215
  }
1241
1216
  .set-section {
@@ -1245,7 +1220,7 @@ dialog#settings::backdrop {
1245
1220
  font: 600 12px/1.3 system-ui;
1246
1221
  text-transform: uppercase;
1247
1222
  letter-spacing: 0.04em;
1248
- color: var(--d-text-muted);
1223
+ color: var(--wf-text-muted);
1249
1224
  margin: 0 0 6px;
1250
1225
  display: flex;
1251
1226
  justify-content: space-between;
@@ -1255,18 +1230,18 @@ dialog#settings::backdrop {
1255
1230
  /* Which layer supplied the value. This screen exists to answer that, so it is
1256
1231
  on every section, not only the surprising ones. */
1257
1232
  .set-layer {
1258
- font: 400 10px/1 system-ui;
1233
+ font: 400 11px/1 system-ui;
1259
1234
  text-transform: none;
1260
1235
  letter-spacing: 0;
1261
- color: var(--d-text-muted);
1262
- border: 1px solid var(--d-border);
1263
- border-radius: var(--d-radius-xs);
1236
+ color: var(--wf-text-muted);
1237
+ border: 1px solid var(--wf-border);
1238
+ border-radius: var(--wf-radius-xs);
1264
1239
  padding: 2px 5px;
1265
1240
  white-space: nowrap;
1266
1241
  }
1267
1242
  .set-layer[data-layer='project'] {
1268
- color: var(--d-text-secondary);
1269
- border-color: var(--d-accent);
1243
+ color: var(--wf-text-secondary);
1244
+ border-color: var(--wf-accent);
1270
1245
  }
1271
1246
  .set-table {
1272
1247
  width: 100%;
@@ -1278,10 +1253,10 @@ dialog#settings::backdrop {
1278
1253
  }
1279
1254
  .set-table td:first-child {
1280
1255
  width: 1.4em;
1281
- color: var(--d-text-muted);
1256
+ color: var(--wf-text-muted);
1282
1257
  }
1283
1258
  .set-state {
1284
- color: var(--d-text-muted);
1259
+ color: var(--wf-text-muted);
1285
1260
  font-size: 12px;
1286
1261
  text-align: right;
1287
1262
  }
@@ -1293,25 +1268,25 @@ dialog#settings::backdrop {
1293
1268
  .set-sub {
1294
1269
  margin: 6px 0 0;
1295
1270
  font-size: 12px;
1296
- color: var(--d-text-secondary);
1271
+ color: var(--wf-text-secondary);
1297
1272
  }
1298
1273
  .set-empty {
1299
1274
  margin: 0;
1300
1275
  font-size: 13px;
1301
- color: var(--d-text-muted);
1276
+ color: var(--wf-text-muted);
1302
1277
  }
1303
1278
  .set-foot {
1304
1279
  margin-top: 18px;
1305
1280
  padding-top: 12px;
1306
- border-top: 1px solid var(--d-border);
1281
+ border-top: 1px solid var(--wf-border);
1307
1282
  }
1308
1283
  .set-warnings {
1309
1284
  margin: 0 0 16px;
1310
1285
  padding: 8px 10px;
1311
1286
  font-size: 12px;
1312
- color: var(--d-status-warning);
1313
- border: 1px solid var(--d-status-warning);
1314
- border-radius: var(--d-radius-sm);
1287
+ color: var(--wf-status-warning);
1288
+ border: 1px solid var(--wf-status-warning);
1289
+ border-radius: var(--wf-radius-sm);
1315
1290
  }
1316
1291
  .set-warnings p {
1317
1292
  margin: 0;
@@ -1319,14 +1294,14 @@ dialog#settings::backdrop {
1319
1294
  /* An edit that has not been written. Shown on its section as well as in the
1320
1295
  title, so a scrolled screen still says which key is unsaved. */
1321
1296
  .set-layer[data-layer='staged'] {
1322
- color: var(--d-accent);
1323
- border-color: var(--d-accent);
1297
+ color: var(--wf-accent);
1298
+ border-color: var(--wf-accent);
1324
1299
  }
1325
1300
  .set-dirty {
1326
1301
  font: 400 11px/1 system-ui;
1327
- color: var(--d-accent);
1328
- border: 1px solid var(--d-accent);
1329
- border-radius: var(--d-radius-xs);
1302
+ color: var(--wf-accent);
1303
+ border: 1px solid var(--wf-accent);
1304
+ border-radius: var(--wf-radius-xs);
1330
1305
  padding: 2px 6px;
1331
1306
  margin-left: 6px;
1332
1307
  vertical-align: middle;
@@ -1339,8 +1314,8 @@ dialog#settings::backdrop {
1339
1314
  padding: 8px 10px;
1340
1315
  font-size: 11px;
1341
1316
  line-height: 1.5;
1342
- color: var(--d-text-secondary);
1343
- border-top: 1px solid var(--d-border-subtle);
1317
+ color: var(--wf-text-secondary);
1318
+ border-top: 1px solid var(--wf-border-subtle);
1344
1319
  }
1345
1320
  .linkish {
1346
1321
  font: inherit;
@@ -1348,7 +1323,7 @@ dialog#settings::backdrop {
1348
1323
  border: 0;
1349
1324
  background: none;
1350
1325
  cursor: pointer;
1351
- color: var(--d-accent);
1326
+ color: var(--wf-accent);
1352
1327
  text-decoration: underline;
1353
1328
  }
1354
1329
  /* An action that belongs to the paragraph explaining it, rather than to the
@@ -1369,20 +1344,20 @@ dialog#settings::backdrop {
1369
1344
  font: 11px/1 system-ui;
1370
1345
  padding: 4px 8px;
1371
1346
  cursor: pointer;
1372
- background: var(--d-bg-surface);
1373
- color: var(--d-text-primary);
1374
- border: 1px solid var(--d-border);
1375
- border-radius: var(--d-radius-sm);
1347
+ background: var(--wf-bg-surface);
1348
+ color: var(--wf-text-primary);
1349
+ border: 1px solid var(--wf-border);
1350
+ border-radius: var(--wf-radius-sm);
1376
1351
  }
1377
1352
  .set-notice {
1378
1353
  margin: 0 0 12px;
1379
1354
  font-size: 12px;
1380
1355
  }
1381
1356
  .set-notice[data-kind='ok'] {
1382
- color: var(--d-text-secondary);
1357
+ color: var(--wf-text-secondary);
1383
1358
  }
1384
1359
  .set-notice[data-kind='err'] {
1385
- color: var(--d-status-warning);
1360
+ color: var(--wf-status-warning);
1386
1361
  }
1387
1362
  .set-radios {
1388
1363
  display: flex;
@@ -1406,10 +1381,10 @@ dialog#settings::backdrop {
1406
1381
  cursor: pointer;
1407
1382
  background: none;
1408
1383
  border: none;
1409
- color: var(--d-text-muted);
1384
+ color: var(--wf-text-muted);
1410
1385
  }
1411
1386
  .set-x:hover {
1412
- color: var(--d-status-warning);
1387
+ color: var(--wf-status-warning);
1413
1388
  }
1414
1389
  .set-add {
1415
1390
  display: flex;
@@ -1420,11 +1395,11 @@ dialog#settings::backdrop {
1420
1395
  flex: 1;
1421
1396
  min-width: 0;
1422
1397
  padding: 3px 6px;
1423
- font: 12px var(--d-font-mono);
1424
- background: var(--d-bg-surface);
1425
- color: var(--d-text-primary);
1426
- border: 1px solid var(--d-border);
1427
- border-radius: var(--d-radius-sm);
1398
+ font: 12px var(--wf-font-mono);
1399
+ background: var(--wf-bg-surface);
1400
+ color: var(--wf-text-primary);
1401
+ border: 1px solid var(--wf-border);
1402
+ border-radius: var(--wf-radius-sm);
1428
1403
  }
1429
1404
  .set-actions {
1430
1405
  display: flex;
@@ -1432,32 +1407,33 @@ dialog#settings::backdrop {
1432
1407
  gap: 8px;
1433
1408
  margin-top: 18px;
1434
1409
  padding-top: 12px;
1435
- border-top: 1px solid var(--d-border);
1410
+ border-top: 1px solid var(--wf-border);
1436
1411
  }
1437
1412
  .set-actions button,
1438
- .set-add button {
1413
+ .set-add button,
1414
+ .set-tools button {
1439
1415
  font: 12px/1 system-ui;
1440
1416
  padding: 6px 10px;
1441
1417
  cursor: pointer;
1442
- background: var(--d-bg-surface);
1443
- color: var(--d-text-primary);
1444
- border: 1px solid var(--d-border);
1445
- border-radius: var(--d-radius-sm);
1418
+ background: var(--wf-bg-surface);
1419
+ color: var(--wf-text-primary);
1420
+ border: 1px solid var(--wf-border);
1421
+ border-radius: var(--wf-radius-sm);
1446
1422
  }
1447
1423
  .set-actions button:disabled {
1448
1424
  opacity: 0.5;
1449
1425
  cursor: default;
1450
- color: var(--d-text-muted);
1426
+ color: var(--wf-text-muted);
1451
1427
  }
1452
1428
  .set-actions button[data-settings-save]:not(:disabled) {
1453
- border-color: var(--d-accent);
1454
- color: var(--d-accent);
1429
+ border-color: var(--wf-accent);
1430
+ color: var(--wf-accent);
1455
1431
  }
1456
1432
  .settings-body code {
1457
- font: 12px var(--d-font-mono);
1458
- background: var(--d-bg-surface);
1433
+ font: 12px var(--wf-font-mono);
1434
+ background: var(--wf-bg-surface);
1459
1435
  padding: 1px 4px;
1460
- border-radius: var(--d-radius-xs);
1436
+ border-radius: var(--wf-radius-xs);
1461
1437
  }
1462
1438
  .help-body h3 {
1463
1439
  font: 600 13px/1.3 system-ui;
@@ -1469,33 +1445,241 @@ dialog#settings::backdrop {
1469
1445
  .help-body p {
1470
1446
  margin: 0 0 8px;
1471
1447
  font-size: 13px;
1472
- color: var(--d-text-secondary);
1448
+ color: var(--wf-text-secondary);
1473
1449
  }
1474
1450
  .help-body dt {
1475
- font: 600 12px var(--d-font-mono);
1451
+ font: 600 12px var(--wf-font-mono);
1476
1452
  margin-top: 8px;
1477
1453
  }
1478
1454
  .help-body dd {
1479
1455
  margin: 2px 0 0;
1480
1456
  font-size: 13px;
1481
- color: var(--d-text-secondary);
1457
+ color: var(--wf-text-secondary);
1482
1458
  }
1483
1459
  .help-body code {
1484
- font: 12px var(--d-font-mono);
1485
- background: var(--d-bg-surface);
1460
+ font: 12px var(--wf-font-mono);
1461
+ background: var(--wf-bg-surface);
1486
1462
  padding: 1px 4px;
1487
- border-radius: var(--d-radius-xs);
1463
+ border-radius: var(--wf-radius-xs);
1488
1464
  }
1489
1465
  mark {
1490
- background: var(--d-accent-wash);
1466
+ background: var(--wf-accent-wash);
1491
1467
  color: inherit;
1492
1468
  border-radius: 2px;
1493
1469
  }
1494
1470
  kbd {
1495
- font: 11px/1 var(--d-font-mono);
1471
+ font: 11px/1 var(--wf-font-mono);
1496
1472
  padding: 2px 5px;
1497
- border: 1px solid var(--d-border);
1473
+ border: 1px solid var(--wf-border);
1498
1474
  border-bottom-width: 2px;
1499
- border-radius: var(--d-radius-xs);
1500
- color: var(--d-text-muted);
1475
+ border-radius: var(--wf-radius-xs);
1476
+ color: var(--wf-text-muted);
1477
+ }
1478
+
1479
+ /* The theme, settings and help buttons: a cluster without a label or rule. */
1480
+ .cluster.tools {
1481
+ border-left: 0;
1482
+ padding-left: 0;
1483
+ }
1484
+ /* Clusters wrap inside themselves too, so a narrow window never scrolls
1485
+ sideways. */
1486
+ .cluster {
1487
+ flex-wrap: wrap;
1488
+ }
1489
+ /* Shown only at phone width, where it holds the filters. */
1490
+ #filtersbtn {
1491
+ display: none;
1492
+ }
1493
+
1494
+ /* A task whose parameters could not be read. A quiet mark in the indicator
1495
+ column; the label is in its title and in the hidden text. */
1496
+ .ind-params {
1497
+ position: relative;
1498
+ font: 600 11px/1 var(--wf-font-mono);
1499
+ color: var(--wf-status-warning);
1500
+ cursor: help;
1501
+ }
1502
+
1503
+ /* The help's key table: each key, then what it does. */
1504
+ dl.keys {
1505
+ display: grid;
1506
+ grid-template-columns: max-content 1fr;
1507
+ gap: 4px 12px;
1508
+ }
1509
+ dl.keys dt {
1510
+ margin: 0;
1511
+ }
1512
+ dl.keys dd {
1513
+ margin: 0;
1514
+ }
1515
+ kbd {
1516
+ font: 11px/1 var(--wf-font-mono);
1517
+ padding: 2px 5px;
1518
+ border: 1px solid var(--wf-control-border);
1519
+ border-radius: var(--wf-radius-xs);
1520
+ background: var(--wf-bg-surface);
1521
+ color: var(--wf-text-primary);
1522
+ }
1523
+ /* A dialog's body takes focus when it opens, so it starts at its top. The
1524
+ focus is for the keyboard, not a control, so it shows no ring. */
1525
+ .help-body:focus,
1526
+ .settings-body:focus {
1527
+ outline: none;
1528
+ }
1529
+
1530
+ /* A command to paste, in the settings screen. */
1531
+ .set-cmd {
1532
+ font: 11px/1.4 var(--wf-font-mono);
1533
+ overflow-wrap: anywhere;
1534
+ }
1535
+ .set-section h4 {
1536
+ font: 600 12px/1.3 system-ui;
1537
+ margin: 10px 0 4px;
1538
+ display: flex;
1539
+ gap: 8px;
1540
+ align-items: baseline;
1541
+ }
1542
+ .set-ro td:first-child {
1543
+ width: auto;
1544
+ }
1545
+
1546
+ /* The page when the browser is not signed in. */
1547
+ .signedout {
1548
+ max-width: 30rem;
1549
+ margin: 15vh auto 0;
1550
+ padding: 0 16px;
1551
+ font-size: 15px;
1552
+ line-height: 1.6;
1553
+ }
1554
+ .signedout h1 {
1555
+ font: 600 18px/1.3 system-ui;
1556
+ margin: 0 0 12px;
1557
+ }
1558
+ .signedout code {
1559
+ font-family: var(--wf-font-mono);
1560
+ /* Text meant to be retyped: no ligature turns `--` into a dash. */
1561
+ font-variant-ligatures: none;
1562
+ }
1563
+
1564
+ /* Phone width. The filters fold behind one button, the tab strip is one
1565
+ scrolling row, the key hints go (the help lists them), and the header
1566
+ scrolls away with the page instead of covering half of it. */
1567
+ @media (max-width: 640px) {
1568
+ #chrome {
1569
+ position: static;
1570
+ }
1571
+ header {
1572
+ padding: 10px 16px 0;
1573
+ }
1574
+ .searchbox {
1575
+ flex-basis: 100%;
1576
+ min-width: 0;
1577
+ }
1578
+ #filtersbtn {
1579
+ display: inline-block;
1580
+ }
1581
+ #filtersbtn[aria-expanded='true'] {
1582
+ background: var(--wf-accent);
1583
+ color: var(--wf-accent-fg);
1584
+ border-color: var(--wf-accent);
1585
+ }
1586
+ .cluster {
1587
+ border-left: 0;
1588
+ padding-left: 0;
1589
+ }
1590
+ #view-label {
1591
+ display: none;
1592
+ }
1593
+ .cluster.filters {
1594
+ display: none;
1595
+ }
1596
+ .cluster.filters.open {
1597
+ display: flex;
1598
+ order: 10;
1599
+ flex-basis: 100%;
1600
+ padding: 10px;
1601
+ border: 1px solid var(--wf-control-border);
1602
+ border-radius: var(--wf-radius-md);
1603
+ background: var(--wf-bg-surface);
1604
+ }
1605
+ .tabs {
1606
+ flex-wrap: nowrap;
1607
+ overflow-x: auto;
1608
+ scrollbar-width: thin;
1609
+ padding-bottom: 2px;
1610
+ }
1611
+ .tabgroup {
1612
+ display: none;
1613
+ }
1614
+ .status .keyhint {
1615
+ display: none;
1616
+ }
1617
+ .copy,
1618
+ .runbtn {
1619
+ padding: 4px 6px;
1620
+ }
1621
+ dialog#help,
1622
+ dialog#settings {
1623
+ padding: 16px;
1624
+ max-width: calc(100vw - 16px);
1625
+ }
1626
+ }
1627
+
1628
+ /* A skill row: the harnesses as small tags before the description. */
1629
+ .skill-for {
1630
+ display: inline-block;
1631
+ margin-right: 6px;
1632
+ padding: 0 5px;
1633
+ border: 1px solid var(--wf-border);
1634
+ border-radius: 3px;
1635
+ font: 11px/1.5 system-ui;
1636
+ color: var(--wf-text-muted);
1637
+ }
1638
+
1639
+ /* What a tool is, in the runner info and the settings' runner rows. */
1640
+ .tool-desc {
1641
+ color: var(--wf-text-secondary);
1642
+ }
1643
+ .tool-facts {
1644
+ display: grid;
1645
+ grid-template-columns: max-content 1fr;
1646
+ gap: 2px 12px;
1647
+ }
1648
+ .tool-facts dd {
1649
+ margin: 0;
1650
+ }
1651
+ .set-desc,
1652
+ .set-tool {
1653
+ display: block;
1654
+ font-size: 12px;
1655
+ color: var(--wf-text-secondary);
1656
+ }
1657
+ .set-tool {
1658
+ color: var(--wf-text-muted);
1659
+ }
1660
+ .help-body a,
1661
+ .settings-body a {
1662
+ color: var(--wf-accent);
1663
+ }
1664
+ .set-tools li {
1665
+ flex-wrap: wrap;
1666
+ }
1667
+ .set-tools li + li {
1668
+ margin-top: 4px;
1669
+ }
1670
+ .set-tools button {
1671
+ padding: 3px 8px;
1672
+ }
1673
+ .tool-facts dt {
1674
+ margin: 0;
1675
+ }
1676
+
1677
+ /* Read by screen readers, not drawn. */
1678
+ .sr-only {
1679
+ position: absolute;
1680
+ width: 1px;
1681
+ height: 1px;
1682
+ overflow: hidden;
1683
+ clip-path: inset(50%);
1684
+ white-space: nowrap;
1501
1685
  }