Commit 4288cd6
committed
fix(web): drop dead "Agent ran command" status variant
`deriveSidebarAgentCommandStatus` only emits a status when at least one
localhost URL is detected, so the only label it ever returns is "Agent
local URL detected" — the "Agent ran command" union member and the
matching runtime fallbacks were unreachable.
- types: narrow `SidebarAgentCommandStatus.label` to the literal that's
actually produced.
- Sidebar dialog title: collapse the dead `?? "Agent ran command"`
fallback; pick the title from `isRunning` only.
- ThreadStatusIndicators tooltip: drop the unreachable
`!isRunning && !hasLocalUrl` branch.1 parent 8231c95 commit 4288cd6
3 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
0 commit comments