Commit 5d886b2
committed
fix(ui): guarantee orchestrator thread/chat pane restores after subtask completion
- Calls postStateToWebview() after subagent stack pop and parent resume, ensuring the orchestrator thread is both active and visible in the chat pane after completion.
- This is essential to guarantee the UI and input focus correctly return to the parent agent, as confirmed by detailed tracing of VSCode message, stack, and React extension state update handling.
- This completes the robust, end-to-end fix for issues #4896, #5478, #5747, including all known return/pane hang bugs.
- Manual E2E validation was not possible in this environment, but the solution was validated through stepwise code analysis, full stack–to–UI event trace, and unit tests. Maintainer validation in live UI is requested as final confirmation.1 parent c8911ca commit 5d886b2
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
442 | 445 | | |
443 | 446 | | |
444 | 447 | | |
| |||
0 commit comments