Skip to content

feat(tui): show live background shell output#2826

Merged
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-shell-live-output-harvest
Jun 6, 2026
Merged

feat(tui): show live background shell output#2826
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-shell-live-output-harvest

Conversation

@Hmbown
Copy link
Copy Markdown
Owner

@Hmbown Hmbown commented Jun 6, 2026

Summary

  • Harvests the live shell-output intent from feat(tui): live shell output during execution - show real-time progress #2048 as a narrow maintainer patch.
  • Shows bounded stdout/stderr tails inline on background shell Exec cards keyed by the exact shell task_id.
  • Uses existing ShellManager::list_jobs() snapshots, so the UI does not consume output deltas and does not match by command text.
  • Keeps final tool output authoritative: once an Exec cell has final output, stale live tails are ignored.

Credit

Thanks @donglovejava / dongchao for #2048 and the original live shell-output direction. This PR intentionally reimplements the safe slice on the current v0.9 shell/job primitives rather than cherry-picking the older PR.

Verification

  • cargo test -p codewhale-tui shell_live_output --locked
  • cargo test -p codewhale-tui exec_cell_ --locked
  • cargo clippy -p codewhale-tui --bin codewhale-tui --locked -- -D warnings
  • cargo fmt --all -- --check
  • ./scripts/release/check-versions.sh
  • git diff --check

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown Hmbown merged commit 7873835 into codex/v0.9.0-stewardship Jun 6, 2026
2 checks passed
@Hmbown Hmbown deleted the codex/v090-shell-live-output-harvest branch June 6, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant