Commit f17f172
refactor(ui): RunStatusBadge consumes the shared status vocabulary
Web/desktop's RunStatusBadge had a local copy of the status tone/label map
identical to @open-cowork/tokens' RUN_STATUS_META (which mobile's StatusChip
already uses). Import the shared map instead of duplicating it, so the run
status vocabulary is single-sourced and web ↔ mobile stay identical by
construction. Promotes @open-cowork/tokens to a runtime dependency of the lib.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a267667 commit f17f172
3 files changed
Lines changed: 10 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
11 | 9 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 10 | + | |
30 | 11 | | |
31 | 12 | | |
32 | 13 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments