Commit 3151051
feat(cli): show the migration warning on oneshot/linear/project commands
Previously the "other webmux servers detected" nudge only fired in
`webmux project`. Broaden it to the other occasional, server-talking
commands (oneshot, linear) by hoisting the check into the webmux.ts
dispatch — the registry read is cheap and the warning is silent unless
peers actually exist.
Deliberately excludes the high-frequency worktree commands (list/open/
send/…), where a per-invocation warning would be noisy, and `project
migrate` itself (which does the consolidating). Centralizing the call
also removes the now-redundant one in project-commands.ts.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 92b1d13 commit 3151051
2 files changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
356 | 371 | | |
357 | 372 | | |
358 | 373 | | |
| |||
0 commit comments