@osdlc/wayfinder 0.7.4 → 0.8.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 +214 -0
  2. package/CONTRIBUTING.md +6 -0
  3. package/README.md +295 -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 +30 -3
  14. package/dist/catalog.js +87 -11
  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 +151 -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 +208 -0
  24. package/dist/commands/list.js +127 -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 +271 -257
  36. package/dist/config.js +610 -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 +262 -0
  46. package/dist/core/session.js +589 -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 +432 -0
  56. package/dist/documents.js +163 -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 +112 -0
  62. package/dist/index.js +58 -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 +51 -0
  74. package/dist/serve/catalog-share.js +116 -0
  75. package/dist/serve/index.d.ts +98 -0
  76. package/dist/serve/index.js +251 -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 +180 -0
  92. package/dist/tui/app.js +1278 -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 +89 -0
  106. package/dist/vocabulary.js +153 -0
  107. package/dist/web/main.js +1965 -568
  108. package/dist/web/page.html +39 -33
  109. package/dist/web/styles.css +457 -329
  110. package/dist/xdg.d.ts +76 -4
  111. package/dist/xdg.js +77 -5
  112. package/package.json +28 -9
  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,20 @@ 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);
754
683
  }
755
684
 
756
685
  /* The call-chain tree: each level indents one step, and leaves are table
@@ -766,7 +695,7 @@ main {
766
695
  would win on DOM order and scroll over its own parent. */
767
696
  .node > .head {
768
697
  position: sticky;
769
- background: var(--d-bg-base);
698
+ background: var(--wf-bg-base);
770
699
  display: flex;
771
700
  align-items: center;
772
701
  gap: 8px;
@@ -775,30 +704,30 @@ main {
775
704
  padding: 0 0 1px;
776
705
  cursor: pointer;
777
706
  user-select: none;
778
- border-bottom: 1px solid var(--d-border);
707
+ border-bottom: 1px solid var(--wf-border);
779
708
  }
780
709
  .node > .head:hover .seg-name {
781
- color: var(--d-accent-hover);
710
+ color: var(--wf-accent-hover);
782
711
  }
783
712
  .twisty {
784
- color: var(--d-text-muted);
785
- font: 11px/1 var(--d-font-mono);
713
+ color: var(--wf-text-muted);
714
+ font: 11px/1 var(--wf-font-mono);
786
715
  width: 10px;
787
716
  flex: none;
788
717
  }
789
718
  .chain {
790
- color: var(--d-text-muted);
791
- font: 12px/1 var(--d-font-mono);
719
+ color: var(--wf-text-muted);
720
+ font: 12px/1 var(--wf-font-mono);
792
721
  }
793
722
  .seg-name {
794
- font: 600 13px/1.3 var(--d-font-mono);
723
+ font: 600 13px/1.3 var(--wf-font-mono);
795
724
  }
796
725
  .node-count {
797
- color: var(--d-text-muted);
726
+ color: var(--wf-text-muted);
798
727
  font-size: 11px;
799
728
  }
800
729
  .seg-kind {
801
- color: var(--d-text-muted);
730
+ color: var(--wf-text-muted);
802
731
  font-size: 11px;
803
732
  letter-spacing: 0.04em;
804
733
  text-transform: uppercase;
@@ -824,9 +753,9 @@ main {
824
753
 
825
754
  The trunk sits at -11px, inside the `.kids` indentation.
826
755
 
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.
756
+ `--wf-border` rather than `--wf-border-subtle`: subtle is nearly the
757
+ ground colour, which at 1px looks like a smudge, and these lines show
758
+ structure. --wf-border stays quiet in both themes.
830
759
 
831
760
  `.node` is only `position: relative`, with no z-index, so it creates no
832
761
  stacking context and the pseudo-elements stay at layer 0. The sticky
@@ -847,7 +776,7 @@ main {
847
776
  top: 0;
848
777
  bottom: 0;
849
778
  width: 1px;
850
- background: var(--d-border);
779
+ background: var(--wf-border);
851
780
  }
852
781
  /* The last group ends the trunk at its own header, which turns the tee
853
782
  into an elbow. `:last-of-type` and not `:last-child`, because the leaf
@@ -863,7 +792,7 @@ main {
863
792
  top: calc(var(--head-h) / 2);
864
793
  width: 8px;
865
794
  height: 1px;
866
- background: var(--d-border);
795
+ background: var(--wf-border);
867
796
  }
868
797
 
869
798
  /* `fixed` makes the columns line up. With `auto`, every group is its own
@@ -875,10 +804,10 @@ table {
875
804
  table-layout: fixed;
876
805
  }
877
806
  tbody tr {
878
- border-bottom: 1px solid var(--d-border-subtle);
807
+ border-bottom: 1px solid var(--wf-border-subtle);
879
808
  }
880
809
  tbody tr:hover {
881
- background: var(--d-bg-hover);
810
+ background: var(--wf-bg-hover);
882
811
  }
883
812
  /* A faint line of the runner's brand colour down the row's left edge, enough
884
813
  to tell moon rows from cargo rows at a glance, not enough to look like
@@ -895,8 +824,8 @@ tbody tr.branded {
895
824
  in the list this follows the focused row; otherwise it is the top hit. See
896
825
  markEnterTarget(). */
897
826
  tbody tr.enter-target {
898
- background: var(--d-bg-hover);
899
- box-shadow: inset 2px 0 0 var(--d-accent);
827
+ background: var(--wf-bg-hover);
828
+ box-shadow: inset 2px 0 0 var(--wf-accent);
900
829
  }
901
830
  /* The darker accent, not the base one: the base accent on this row's raised
902
831
  background is 4.26:1 and misses AA. As a result this one Copy button does
@@ -905,9 +834,9 @@ tbody tr.enter-target {
905
834
  a heavier weight make it the row's primary action rather than one more
906
835
  quiet button. */
907
836
  tbody tr.enter-target .copy {
908
- color: var(--d-accent-hover);
909
- border-color: var(--d-accent);
910
- background: var(--d-bg-base);
837
+ color: var(--wf-accent-hover);
838
+ border-color: var(--wf-accent);
839
+ background: var(--wf-bg-base);
911
840
  font-weight: 600;
912
841
  }
913
842
  /* The Enter marker is part of this button, not a separate chip on the left
@@ -931,10 +860,10 @@ tbody tr:focus-visible {
931
860
  is the one it would take". */
932
861
  @keyframes copied-glow {
933
862
  0% {
934
- background: var(--d-status-success);
863
+ background: var(--wf-status-success);
935
864
  box-shadow:
936
- inset 3px 0 0 var(--d-status-success),
937
- 0 0 0 1px var(--d-status-success);
865
+ inset 3px 0 0 var(--wf-status-success),
866
+ 0 0 0 1px var(--wf-status-success);
938
867
  }
939
868
  100% {
940
869
  background: transparent;
@@ -947,12 +876,12 @@ tbody tr.copied {
947
876
  animation: copied-glow 0.7s ease-out;
948
877
  }
949
878
  tbody tr.copied td {
950
- color: var(--d-text-primary);
879
+ color: var(--wf-text-primary);
951
880
  }
952
881
  @media (prefers-reduced-motion: reduce) {
953
882
  tbody tr.copied {
954
883
  animation: none;
955
- background: var(--d-bg-hover);
884
+ background: var(--wf-bg-hover);
956
885
  }
957
886
  }
958
887
  /* One line-height for every cell, so no cell's own metrics decide the row
@@ -993,7 +922,7 @@ td.ind {
993
922
  width: 13px;
994
923
  height: 13px;
995
924
  cursor: help;
996
- color: var(--d-status-success);
925
+ color: var(--wf-status-success);
997
926
  }
998
927
  .ind-svc svg {
999
928
  width: 100%;
@@ -1001,7 +930,7 @@ td.ind {
1001
930
  display: block;
1002
931
  }
1003
932
  .ind-svc.inferred {
1004
- color: var(--d-text-muted);
933
+ color: var(--wf-text-muted);
1005
934
  }
1006
935
  td.name,
1007
936
  td.run {
@@ -1010,20 +939,20 @@ td.run {
1010
939
  white-space: nowrap;
1011
940
  }
1012
941
  td.name {
1013
- font: 600 13px/1.5 var(--d-font-mono);
942
+ font: 600 13px/1.5 var(--wf-font-mono);
1014
943
  }
1015
944
  td.run {
1016
- font: 12px/1.5 var(--d-font-mono);
1017
- color: var(--d-text-secondary);
945
+ font: 12px/1.5 var(--wf-font-mono);
946
+ color: var(--wf-text-secondary);
1018
947
  }
1019
948
  td.doc {
1020
949
  font-size: 12px;
1021
- color: var(--d-text-secondary);
950
+ color: var(--wf-text-secondary);
1022
951
  overflow: hidden;
1023
952
  }
1024
953
  td.doc .detail {
1025
- font: 11px/1.4 var(--d-font-mono);
1026
- color: var(--d-text-muted);
954
+ font: 11px/1.4 var(--wf-font-mono);
955
+ color: var(--wf-text-muted);
1027
956
  display: block;
1028
957
  overflow: hidden;
1029
958
  text-overflow: ellipsis;
@@ -1046,21 +975,21 @@ td.act {
1046
975
  padding: 4px 8px;
1047
976
  cursor: pointer;
1048
977
  background: transparent;
1049
- color: var(--d-text-muted);
1050
- border: 1px solid var(--d-border);
1051
- border-radius: var(--d-radius-sm);
978
+ color: var(--wf-text-muted);
979
+ border: 1px solid var(--wf-control-border);
980
+ border-radius: var(--wf-radius-sm);
1052
981
  }
1053
982
  .runbtn {
1054
983
  margin-right: 4px;
1055
984
  }
1056
985
  .copy:hover,
1057
986
  .runbtn:hover {
1058
- color: var(--d-accent-hover);
1059
- border-color: var(--d-accent);
987
+ color: var(--wf-accent-hover);
988
+ border-color: var(--wf-accent);
1060
989
  }
1061
990
  .copy.done {
1062
- color: var(--d-status-success);
1063
- border-color: var(--d-status-success);
991
+ color: var(--wf-status-success);
992
+ border-color: var(--wf-status-success);
1064
993
  }
1065
994
  .runbtn:disabled {
1066
995
  cursor: default;
@@ -1074,10 +1003,10 @@ td.act {
1074
1003
  top: 100%;
1075
1004
  z-index: 2;
1076
1005
  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);
1006
+ color: var(--wf-status-warning);
1007
+ background: var(--wf-bg-base);
1008
+ border: 1px solid var(--wf-border);
1009
+ border-radius: var(--wf-radius-sm);
1081
1010
  padding: 3px 6px;
1082
1011
  }
1083
1012
 
@@ -1095,8 +1024,8 @@ td.act {
1095
1024
  flex-direction: column;
1096
1025
  gap: 4px;
1097
1026
  padding: 10px 14px;
1098
- background: var(--d-bg-base);
1099
- border-top: 1px solid var(--d-border);
1027
+ background: var(--wf-bg-base);
1028
+ border-top: 1px solid var(--wf-border);
1100
1029
  }
1101
1030
  .runbar-line {
1102
1031
  display: flex;
@@ -1104,37 +1033,37 @@ td.act {
1104
1033
  gap: 6px;
1105
1034
  }
1106
1035
  .runbar-sigil {
1107
- color: var(--d-text-secondary);
1108
- font: 13px/1.5 var(--d-font-mono);
1036
+ color: var(--wf-text-secondary);
1037
+ font: 13px/1.5 var(--wf-font-mono);
1109
1038
  }
1110
1039
  .runbar-cmd {
1111
- font: 13px/1.5 var(--d-font-mono);
1112
- color: var(--d-text-primary);
1040
+ font: 13px/1.5 var(--wf-font-mono);
1041
+ color: var(--wf-text-primary);
1113
1042
  white-space: pre;
1114
1043
  }
1115
1044
  .runbar-args {
1116
1045
  flex: 1;
1117
1046
  min-width: 0;
1118
1047
  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);
1048
+ font: 13px/1.5 var(--wf-font-mono);
1049
+ color: var(--wf-text-primary);
1050
+ background: var(--wf-bg-base);
1051
+ border: 1px solid var(--wf-control-border);
1052
+ border-radius: var(--wf-radius-sm);
1124
1053
  }
1125
1054
  .runbar-args:focus {
1126
1055
  outline: none;
1127
- border-color: var(--d-accent);
1056
+ border-color: var(--wf-accent);
1128
1057
  }
1129
1058
  .runbar-foot {
1130
1059
  display: flex;
1131
1060
  justify-content: space-between;
1132
1061
  gap: 12px;
1133
1062
  font: 11px/1.4 system-ui;
1134
- color: var(--d-text-secondary);
1063
+ color: var(--wf-text-secondary);
1135
1064
  }
1136
1065
  .runbar-shape {
1137
- font-family: var(--d-font-mono);
1066
+ font-family: var(--wf-font-mono);
1138
1067
  }
1139
1068
 
1140
1069
  /* The end state: the task has the terminal and this page has nothing left
@@ -1150,8 +1079,8 @@ td.act {
1150
1079
  gap: 12px;
1151
1080
  padding: 24px;
1152
1081
  text-align: center;
1153
- background: var(--d-bg-base);
1154
- color: var(--d-text-primary);
1082
+ background: var(--wf-bg-base);
1083
+ color: var(--wf-text-primary);
1155
1084
  }
1156
1085
  #handoff h2 {
1157
1086
  margin: 0;
@@ -1160,17 +1089,17 @@ td.act {
1160
1089
  #handoff p {
1161
1090
  margin: 0;
1162
1091
  max-width: 44ch;
1163
- color: var(--d-text-secondary);
1092
+ color: var(--wf-text-secondary);
1164
1093
  }
1165
1094
  #handoff .handoff-cmd {
1166
1095
  margin: 0;
1167
1096
  max-width: 100%;
1168
1097
  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);
1098
+ font: 13px/1.5 var(--wf-font-mono);
1099
+ color: var(--wf-text-primary);
1100
+ background: var(--wf-bg-surface);
1101
+ border: 1px solid var(--wf-border);
1102
+ border-radius: var(--wf-radius-md);
1174
1103
  padding: 10px 14px;
1175
1104
  }
1176
1105
  .helpbtn {
@@ -1179,14 +1108,14 @@ td.act {
1179
1108
  height: 30px;
1180
1109
  padding: 0;
1181
1110
  cursor: pointer;
1182
- background: var(--d-bg-surface);
1183
- color: var(--d-text-secondary);
1184
- border: 1px solid var(--d-border);
1111
+ background: var(--wf-bg-surface);
1112
+ color: var(--wf-text-secondary);
1113
+ border: 1px solid var(--wf-control-border);
1185
1114
  border-radius: 50%;
1186
1115
  }
1187
1116
  .helpbtn:hover {
1188
- color: var(--d-accent-hover);
1189
- border-color: var(--d-accent);
1117
+ color: var(--wf-accent-hover);
1118
+ border-color: var(--wf-accent);
1190
1119
  }
1191
1120
 
1192
1121
  /* The column headers are in the sticky header, not in each group's table,
@@ -1195,8 +1124,8 @@ td.act {
1195
1124
  column starts at the same x. */
1196
1125
  .colheads {
1197
1126
  padding: 0 16px;
1198
- background: var(--d-bg-base);
1199
- border-top: 1px solid var(--d-border);
1127
+ background: var(--wf-bg-base);
1128
+ border-top: 1px solid var(--wf-border);
1200
1129
  }
1201
1130
  .colheads table {
1202
1131
  border-collapse: collapse;
@@ -1205,7 +1134,7 @@ td.act {
1205
1134
  font: 600 11px/1 system-ui;
1206
1135
  letter-spacing: 0.06em;
1207
1136
  text-transform: uppercase;
1208
- color: var(--d-text-muted);
1137
+ color: var(--wf-text-muted);
1209
1138
  text-align: left;
1210
1139
  padding: 5px 8px 5px 0;
1211
1140
  cursor: help;
@@ -1215,15 +1144,15 @@ td.act {
1215
1144
  dialog#help,
1216
1145
  dialog#settings {
1217
1146
  max-width: 640px;
1218
- border: 1px solid var(--d-border);
1219
- border-radius: var(--d-radius-lg);
1147
+ border: 1px solid var(--wf-border);
1148
+ border-radius: var(--wf-radius-lg);
1220
1149
  padding: 20px 24px;
1221
- background: var(--d-bg-base);
1222
- color: var(--d-text-primary);
1150
+ background: var(--wf-bg-base);
1151
+ color: var(--wf-text-primary);
1223
1152
  }
1224
1153
  dialog#help::backdrop,
1225
1154
  dialog#settings::backdrop {
1226
- background: rgba(0, 0, 0, 0.45);
1155
+ background: color-mix(in srgb, black 45%, transparent);
1227
1156
  }
1228
1157
 
1229
1158
  /* The settings screen. Values are shown with the layer they came from, and
@@ -1234,8 +1163,8 @@ dialog#settings::backdrop {
1234
1163
  }
1235
1164
  .set-file {
1236
1165
  margin: 2px 0 16px;
1237
- font: 11px var(--d-font-mono);
1238
- color: var(--d-text-muted);
1166
+ font: 11px var(--wf-font-mono);
1167
+ color: var(--wf-text-muted);
1239
1168
  overflow-wrap: anywhere;
1240
1169
  }
1241
1170
  .set-section {
@@ -1245,7 +1174,7 @@ dialog#settings::backdrop {
1245
1174
  font: 600 12px/1.3 system-ui;
1246
1175
  text-transform: uppercase;
1247
1176
  letter-spacing: 0.04em;
1248
- color: var(--d-text-muted);
1177
+ color: var(--wf-text-muted);
1249
1178
  margin: 0 0 6px;
1250
1179
  display: flex;
1251
1180
  justify-content: space-between;
@@ -1255,18 +1184,18 @@ dialog#settings::backdrop {
1255
1184
  /* Which layer supplied the value. This screen exists to answer that, so it is
1256
1185
  on every section, not only the surprising ones. */
1257
1186
  .set-layer {
1258
- font: 400 10px/1 system-ui;
1187
+ font: 400 11px/1 system-ui;
1259
1188
  text-transform: none;
1260
1189
  letter-spacing: 0;
1261
- color: var(--d-text-muted);
1262
- border: 1px solid var(--d-border);
1263
- border-radius: var(--d-radius-xs);
1190
+ color: var(--wf-text-muted);
1191
+ border: 1px solid var(--wf-border);
1192
+ border-radius: var(--wf-radius-xs);
1264
1193
  padding: 2px 5px;
1265
1194
  white-space: nowrap;
1266
1195
  }
1267
1196
  .set-layer[data-layer='project'] {
1268
- color: var(--d-text-secondary);
1269
- border-color: var(--d-accent);
1197
+ color: var(--wf-text-secondary);
1198
+ border-color: var(--wf-accent);
1270
1199
  }
1271
1200
  .set-table {
1272
1201
  width: 100%;
@@ -1278,10 +1207,10 @@ dialog#settings::backdrop {
1278
1207
  }
1279
1208
  .set-table td:first-child {
1280
1209
  width: 1.4em;
1281
- color: var(--d-text-muted);
1210
+ color: var(--wf-text-muted);
1282
1211
  }
1283
1212
  .set-state {
1284
- color: var(--d-text-muted);
1213
+ color: var(--wf-text-muted);
1285
1214
  font-size: 12px;
1286
1215
  text-align: right;
1287
1216
  }
@@ -1293,25 +1222,25 @@ dialog#settings::backdrop {
1293
1222
  .set-sub {
1294
1223
  margin: 6px 0 0;
1295
1224
  font-size: 12px;
1296
- color: var(--d-text-secondary);
1225
+ color: var(--wf-text-secondary);
1297
1226
  }
1298
1227
  .set-empty {
1299
1228
  margin: 0;
1300
1229
  font-size: 13px;
1301
- color: var(--d-text-muted);
1230
+ color: var(--wf-text-muted);
1302
1231
  }
1303
1232
  .set-foot {
1304
1233
  margin-top: 18px;
1305
1234
  padding-top: 12px;
1306
- border-top: 1px solid var(--d-border);
1235
+ border-top: 1px solid var(--wf-border);
1307
1236
  }
1308
1237
  .set-warnings {
1309
1238
  margin: 0 0 16px;
1310
1239
  padding: 8px 10px;
1311
1240
  font-size: 12px;
1312
- color: var(--d-status-warning);
1313
- border: 1px solid var(--d-status-warning);
1314
- border-radius: var(--d-radius-sm);
1241
+ color: var(--wf-status-warning);
1242
+ border: 1px solid var(--wf-status-warning);
1243
+ border-radius: var(--wf-radius-sm);
1315
1244
  }
1316
1245
  .set-warnings p {
1317
1246
  margin: 0;
@@ -1319,14 +1248,14 @@ dialog#settings::backdrop {
1319
1248
  /* An edit that has not been written. Shown on its section as well as in the
1320
1249
  title, so a scrolled screen still says which key is unsaved. */
1321
1250
  .set-layer[data-layer='staged'] {
1322
- color: var(--d-accent);
1323
- border-color: var(--d-accent);
1251
+ color: var(--wf-accent);
1252
+ border-color: var(--wf-accent);
1324
1253
  }
1325
1254
  .set-dirty {
1326
1255
  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);
1256
+ color: var(--wf-accent);
1257
+ border: 1px solid var(--wf-accent);
1258
+ border-radius: var(--wf-radius-xs);
1330
1259
  padding: 2px 6px;
1331
1260
  margin-left: 6px;
1332
1261
  vertical-align: middle;
@@ -1339,8 +1268,8 @@ dialog#settings::backdrop {
1339
1268
  padding: 8px 10px;
1340
1269
  font-size: 11px;
1341
1270
  line-height: 1.5;
1342
- color: var(--d-text-secondary);
1343
- border-top: 1px solid var(--d-border-subtle);
1271
+ color: var(--wf-text-secondary);
1272
+ border-top: 1px solid var(--wf-border-subtle);
1344
1273
  }
1345
1274
  .linkish {
1346
1275
  font: inherit;
@@ -1348,7 +1277,7 @@ dialog#settings::backdrop {
1348
1277
  border: 0;
1349
1278
  background: none;
1350
1279
  cursor: pointer;
1351
- color: var(--d-accent);
1280
+ color: var(--wf-accent);
1352
1281
  text-decoration: underline;
1353
1282
  }
1354
1283
  /* An action that belongs to the paragraph explaining it, rather than to the
@@ -1369,20 +1298,20 @@ dialog#settings::backdrop {
1369
1298
  font: 11px/1 system-ui;
1370
1299
  padding: 4px 8px;
1371
1300
  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);
1301
+ background: var(--wf-bg-surface);
1302
+ color: var(--wf-text-primary);
1303
+ border: 1px solid var(--wf-border);
1304
+ border-radius: var(--wf-radius-sm);
1376
1305
  }
1377
1306
  .set-notice {
1378
1307
  margin: 0 0 12px;
1379
1308
  font-size: 12px;
1380
1309
  }
1381
1310
  .set-notice[data-kind='ok'] {
1382
- color: var(--d-text-secondary);
1311
+ color: var(--wf-text-secondary);
1383
1312
  }
1384
1313
  .set-notice[data-kind='err'] {
1385
- color: var(--d-status-warning);
1314
+ color: var(--wf-status-warning);
1386
1315
  }
1387
1316
  .set-radios {
1388
1317
  display: flex;
@@ -1406,10 +1335,10 @@ dialog#settings::backdrop {
1406
1335
  cursor: pointer;
1407
1336
  background: none;
1408
1337
  border: none;
1409
- color: var(--d-text-muted);
1338
+ color: var(--wf-text-muted);
1410
1339
  }
1411
1340
  .set-x:hover {
1412
- color: var(--d-status-warning);
1341
+ color: var(--wf-status-warning);
1413
1342
  }
1414
1343
  .set-add {
1415
1344
  display: flex;
@@ -1420,11 +1349,11 @@ dialog#settings::backdrop {
1420
1349
  flex: 1;
1421
1350
  min-width: 0;
1422
1351
  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);
1352
+ font: 12px var(--wf-font-mono);
1353
+ background: var(--wf-bg-surface);
1354
+ color: var(--wf-text-primary);
1355
+ border: 1px solid var(--wf-border);
1356
+ border-radius: var(--wf-radius-sm);
1428
1357
  }
1429
1358
  .set-actions {
1430
1359
  display: flex;
@@ -1432,32 +1361,33 @@ dialog#settings::backdrop {
1432
1361
  gap: 8px;
1433
1362
  margin-top: 18px;
1434
1363
  padding-top: 12px;
1435
- border-top: 1px solid var(--d-border);
1364
+ border-top: 1px solid var(--wf-border);
1436
1365
  }
1437
1366
  .set-actions button,
1438
- .set-add button {
1367
+ .set-add button,
1368
+ .set-tools button {
1439
1369
  font: 12px/1 system-ui;
1440
1370
  padding: 6px 10px;
1441
1371
  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);
1372
+ background: var(--wf-bg-surface);
1373
+ color: var(--wf-text-primary);
1374
+ border: 1px solid var(--wf-border);
1375
+ border-radius: var(--wf-radius-sm);
1446
1376
  }
1447
1377
  .set-actions button:disabled {
1448
1378
  opacity: 0.5;
1449
1379
  cursor: default;
1450
- color: var(--d-text-muted);
1380
+ color: var(--wf-text-muted);
1451
1381
  }
1452
1382
  .set-actions button[data-settings-save]:not(:disabled) {
1453
- border-color: var(--d-accent);
1454
- color: var(--d-accent);
1383
+ border-color: var(--wf-accent);
1384
+ color: var(--wf-accent);
1455
1385
  }
1456
1386
  .settings-body code {
1457
- font: 12px var(--d-font-mono);
1458
- background: var(--d-bg-surface);
1387
+ font: 12px var(--wf-font-mono);
1388
+ background: var(--wf-bg-surface);
1459
1389
  padding: 1px 4px;
1460
- border-radius: var(--d-radius-xs);
1390
+ border-radius: var(--wf-radius-xs);
1461
1391
  }
1462
1392
  .help-body h3 {
1463
1393
  font: 600 13px/1.3 system-ui;
@@ -1469,33 +1399,231 @@ dialog#settings::backdrop {
1469
1399
  .help-body p {
1470
1400
  margin: 0 0 8px;
1471
1401
  font-size: 13px;
1472
- color: var(--d-text-secondary);
1402
+ color: var(--wf-text-secondary);
1473
1403
  }
1474
1404
  .help-body dt {
1475
- font: 600 12px var(--d-font-mono);
1405
+ font: 600 12px var(--wf-font-mono);
1476
1406
  margin-top: 8px;
1477
1407
  }
1478
1408
  .help-body dd {
1479
1409
  margin: 2px 0 0;
1480
1410
  font-size: 13px;
1481
- color: var(--d-text-secondary);
1411
+ color: var(--wf-text-secondary);
1482
1412
  }
1483
1413
  .help-body code {
1484
- font: 12px var(--d-font-mono);
1485
- background: var(--d-bg-surface);
1414
+ font: 12px var(--wf-font-mono);
1415
+ background: var(--wf-bg-surface);
1486
1416
  padding: 1px 4px;
1487
- border-radius: var(--d-radius-xs);
1417
+ border-radius: var(--wf-radius-xs);
1488
1418
  }
1489
1419
  mark {
1490
- background: var(--d-accent-wash);
1420
+ background: var(--wf-accent-wash);
1491
1421
  color: inherit;
1492
1422
  border-radius: 2px;
1493
1423
  }
1494
1424
  kbd {
1495
- font: 11px/1 var(--d-font-mono);
1425
+ font: 11px/1 var(--wf-font-mono);
1496
1426
  padding: 2px 5px;
1497
- border: 1px solid var(--d-border);
1427
+ border: 1px solid var(--wf-border);
1498
1428
  border-bottom-width: 2px;
1499
- border-radius: var(--d-radius-xs);
1500
- color: var(--d-text-muted);
1429
+ border-radius: var(--wf-radius-xs);
1430
+ color: var(--wf-text-muted);
1431
+ }
1432
+
1433
+ /* The theme, settings and help buttons: a cluster without a label or rule. */
1434
+ .cluster.tools {
1435
+ border-left: 0;
1436
+ padding-left: 0;
1437
+ }
1438
+ /* Clusters wrap inside themselves too, so a narrow window never scrolls
1439
+ sideways. */
1440
+ .cluster {
1441
+ flex-wrap: wrap;
1442
+ }
1443
+ /* Shown only at phone width, where it holds the filters. */
1444
+ #filtersbtn {
1445
+ display: none;
1446
+ }
1447
+
1448
+ /* A task whose parameters could not be read. A quiet mark in the indicator
1449
+ column; the label is in its title and in the hidden text. */
1450
+ .ind-params {
1451
+ position: relative;
1452
+ font: 600 11px/1 var(--wf-font-mono);
1453
+ color: var(--wf-status-warning);
1454
+ cursor: help;
1455
+ }
1456
+
1457
+ /* The help's key table: each key, then what it does. */
1458
+ dl.keys {
1459
+ display: grid;
1460
+ grid-template-columns: max-content 1fr;
1461
+ gap: 4px 12px;
1462
+ }
1463
+ dl.keys dt {
1464
+ margin: 0;
1465
+ }
1466
+ dl.keys dd {
1467
+ margin: 0;
1468
+ }
1469
+ kbd {
1470
+ font: 11px/1 var(--wf-font-mono);
1471
+ padding: 2px 5px;
1472
+ border: 1px solid var(--wf-control-border);
1473
+ border-radius: var(--wf-radius-xs);
1474
+ background: var(--wf-bg-surface);
1475
+ color: var(--wf-text-primary);
1476
+ }
1477
+ /* A dialog's body takes focus when it opens, so it starts at its top. The
1478
+ focus is for the keyboard, not a control, so it shows no ring. */
1479
+ .help-body:focus,
1480
+ .settings-body:focus {
1481
+ outline: none;
1482
+ }
1483
+
1484
+ /* A command to paste, in the settings screen. */
1485
+ .set-cmd {
1486
+ font: 11px/1.4 var(--wf-font-mono);
1487
+ overflow-wrap: anywhere;
1488
+ }
1489
+ .set-section h4 {
1490
+ font: 600 12px/1.3 system-ui;
1491
+ margin: 10px 0 4px;
1492
+ display: flex;
1493
+ gap: 8px;
1494
+ align-items: baseline;
1495
+ }
1496
+ .set-ro td:first-child {
1497
+ width: auto;
1498
+ }
1499
+
1500
+ /* The page when the browser is not signed in. */
1501
+ .signedout {
1502
+ max-width: 30rem;
1503
+ margin: 15vh auto 0;
1504
+ padding: 0 16px;
1505
+ font-size: 15px;
1506
+ line-height: 1.6;
1507
+ }
1508
+ .signedout h1 {
1509
+ font: 600 18px/1.3 system-ui;
1510
+ margin: 0 0 12px;
1511
+ }
1512
+ .signedout code {
1513
+ font-family: var(--wf-font-mono);
1514
+ /* Text meant to be retyped: no ligature turns `--` into a dash. */
1515
+ font-variant-ligatures: none;
1516
+ }
1517
+
1518
+ /* Phone width. The filters fold behind one button, the tab strip is one
1519
+ scrolling row, the key hints go (the help lists them), and the header
1520
+ scrolls away with the page instead of covering half of it. */
1521
+ @media (max-width: 640px) {
1522
+ #chrome {
1523
+ position: static;
1524
+ }
1525
+ header {
1526
+ padding: 10px 16px 0;
1527
+ }
1528
+ .searchbox {
1529
+ flex-basis: 100%;
1530
+ min-width: 0;
1531
+ }
1532
+ #filtersbtn {
1533
+ display: inline-block;
1534
+ }
1535
+ #filtersbtn[aria-expanded='true'] {
1536
+ background: var(--wf-accent);
1537
+ color: var(--wf-accent-fg);
1538
+ border-color: var(--wf-accent);
1539
+ }
1540
+ .cluster {
1541
+ border-left: 0;
1542
+ padding-left: 0;
1543
+ }
1544
+ #view-label {
1545
+ display: none;
1546
+ }
1547
+ .cluster.filters {
1548
+ display: none;
1549
+ }
1550
+ .cluster.filters.open {
1551
+ display: flex;
1552
+ order: 10;
1553
+ flex-basis: 100%;
1554
+ padding: 10px;
1555
+ border: 1px solid var(--wf-control-border);
1556
+ border-radius: var(--wf-radius-md);
1557
+ background: var(--wf-bg-surface);
1558
+ }
1559
+ .tabs {
1560
+ flex-wrap: nowrap;
1561
+ overflow-x: auto;
1562
+ scrollbar-width: thin;
1563
+ padding-bottom: 2px;
1564
+ }
1565
+ .tabgroup {
1566
+ display: none;
1567
+ }
1568
+ .status .keyhint {
1569
+ display: none;
1570
+ }
1571
+ .copy,
1572
+ .runbtn {
1573
+ padding: 4px 6px;
1574
+ }
1575
+ dialog#help,
1576
+ dialog#settings {
1577
+ padding: 16px;
1578
+ max-width: calc(100vw - 16px);
1579
+ }
1580
+ }
1581
+
1582
+ /* A skill row: the harnesses as small tags before the description. */
1583
+ .skill-for {
1584
+ display: inline-block;
1585
+ margin-right: 6px;
1586
+ padding: 0 5px;
1587
+ border: 1px solid var(--wf-border);
1588
+ border-radius: 3px;
1589
+ font: 11px/1.5 system-ui;
1590
+ color: var(--wf-text-muted);
1591
+ }
1592
+
1593
+ /* What a tool is, in the runner info and the settings' runner rows. */
1594
+ .tool-desc {
1595
+ color: var(--wf-text-secondary);
1596
+ }
1597
+ .tool-facts {
1598
+ display: grid;
1599
+ grid-template-columns: max-content 1fr;
1600
+ gap: 2px 12px;
1601
+ }
1602
+ .tool-facts dd {
1603
+ margin: 0;
1604
+ }
1605
+ .set-desc,
1606
+ .set-tool {
1607
+ display: block;
1608
+ font-size: 12px;
1609
+ color: var(--wf-text-secondary);
1610
+ }
1611
+ .set-tool {
1612
+ color: var(--wf-text-muted);
1613
+ }
1614
+ .help-body a,
1615
+ .settings-body a {
1616
+ color: var(--wf-accent);
1617
+ }
1618
+ .set-tools li {
1619
+ flex-wrap: wrap;
1620
+ }
1621
+ .set-tools li + li {
1622
+ margin-top: 4px;
1623
+ }
1624
+ .set-tools button {
1625
+ padding: 3px 8px;
1626
+ }
1627
+ .tool-facts dt {
1628
+ margin: 0;
1501
1629
  }