Commit be54e27
committed
docs(tui): document ChatWidget task-running invariant
ChatWidget treats the bottom-pane "task running" indicator as a derived
UI-busy signal.
The UI can be busy for two independent reasons: an agent turn
(TurnStarted..complete/abort) and MCP startup
(McpStartupUpdate..McpStartupComplete). Document the invariant that the
bottom-pane indicator is driven by agent_turn_running ||
mcp_startup_status.is_some(), and that turn cleanup does not clear MCP
startup tracking.
Also add brief module headers to the ChatWidget test modules and
clarify the MCP startup completion regression test intent.1 parent adf3982 commit be54e27
File tree
4 files changed
+72
-6
lines changed- codex-rs
- tui2/src
- chatwidget
- tui/src
- chatwidget
4 files changed
+72
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
330 | 335 | | |
331 | 336 | | |
332 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
333 | 344 | | |
334 | 345 | | |
335 | 346 | | |
| |||
364 | 375 | | |
365 | 376 | | |
366 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
367 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
368 | 388 | | |
369 | 389 | | |
370 | 390 | | |
| |||
458 | 478 | | |
459 | 479 | | |
460 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
461 | 485 | | |
462 | 486 | | |
463 | 487 | | |
464 | 488 | | |
465 | | - | |
466 | 489 | | |
467 | 490 | | |
468 | 491 | | |
| |||
763 | 786 | | |
764 | 787 | | |
765 | 788 | | |
766 | | - | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
767 | 793 | | |
768 | 794 | | |
769 | 795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
298 | 303 | | |
299 | 304 | | |
300 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
301 | 312 | | |
302 | 313 | | |
303 | 314 | | |
| |||
331 | 342 | | |
332 | 343 | | |
333 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
334 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
335 | 355 | | |
336 | 356 | | |
337 | 357 | | |
| |||
424 | 444 | | |
425 | 445 | | |
426 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
427 | 451 | | |
428 | 452 | | |
429 | 453 | | |
430 | 454 | | |
431 | | - | |
432 | 455 | | |
433 | 456 | | |
434 | 457 | | |
| |||
728 | 751 | | |
729 | 752 | | |
730 | 753 | | |
731 | | - | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
732 | 758 | | |
733 | 759 | | |
734 | 760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
2533 | 2539 | | |
2534 | 2540 | | |
2535 | 2541 | | |
| 2542 | + | |
| 2543 | + | |
2536 | 2544 | | |
2537 | 2545 | | |
2538 | 2546 | | |
| |||
0 commit comments