Commit aa79adf
authored
refactor(agent_setup): consolidate suppress_stderr and tui_mode into RuntimeContext (#3026)
Replace the two decomposed bool parameters `suppress_stderr` and `tui_mode`
in `build_tool_setup` with a single `RuntimeContext` argument. This removes
a decomposition site at the call sites in runner.rs and lets the function
access context fields directly via `runtime_ctx.suppress_stderr()` and
`runtime_ctx.tui_mode`.
Closes #30211 parent d8433b7 commit aa79adf
2 files changed
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
345 | | - | |
| 346 | + | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
350 | | - | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
400 | 403 | | |
401 | 404 | | |
402 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
655 | | - | |
656 | | - | |
657 | 655 | | |
658 | 656 | | |
659 | 657 | | |
| |||
756 | 754 | | |
757 | 755 | | |
758 | 756 | | |
759 | | - | |
| 757 | + | |
760 | 758 | | |
761 | 759 | | |
762 | 760 | | |
763 | 761 | | |
764 | | - | |
765 | 762 | | |
766 | 763 | | |
767 | 764 | | |
| |||
770 | 767 | | |
771 | 768 | | |
772 | 769 | | |
773 | | - | |
| 770 | + | |
774 | 771 | | |
775 | 772 | | |
776 | 773 | | |
777 | 774 | | |
778 | | - | |
779 | 775 | | |
780 | 776 | | |
781 | 777 | | |
| |||
0 commit comments