Commit 34938f8
committed
Fix terminal session state bugs: metadata status override, worktree attach race, remove unused panel
- Fix combineSessionState to prefer buffer terminal status (exited/closed/error)
over stale metadata summary status, preventing UI from showing a terminal as
running after the attach stream has recorded exit.
- Add selectedThreadDetail?.worktreePath to bootstrap effect deps so the terminal
re-attaches with the correct worktree path when thread detail hydrates after
initial attach.
- Remove unused ThreadTerminalPanel component that duplicated attach logic
alongside ThreadTerminalRouteScreen.1 parent 907f4d7 commit 34938f8
3 files changed
Lines changed: 11 additions & 177 deletions
File tree
- apps/mobile/src/features/terminal
- packages/client-runtime/src
Lines changed: 0 additions & 175 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
| 728 | + | |
728 | 729 | | |
729 | 730 | | |
730 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
245 | 252 | | |
246 | 253 | | |
247 | 254 | | |
248 | 255 | | |
| 256 | + | |
249 | 257 | | |
250 | 258 | | |
251 | 259 | | |
252 | | - | |
| 260 | + | |
253 | 261 | | |
254 | | - | |
| 262 | + | |
255 | 263 | | |
256 | 264 | | |
257 | 265 | | |
| |||
0 commit comments