feat(bench-swe): add PTerm-based TUI progress component#43
Merged
Conversation
Port the lumen TUI progress component to the bench-swe module, enabling structured terminal output with progress bars, spinners, and styled status messages. Add pterm and golang.org/x/term dependencies to bench-swe/go.mod. Also resolve .gitignore merge conflict preserving all entries. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…t leaks - bench-swe run: replace streaming fmt.Print lines with progress bar + PTerm table output; add spinners for preflight and task loading phases - bench-swe validate: use p.Error/Warn/Info/Complete instead of fmt.Printf - bench-swe analyze: use p.Info/Complete instead of fmt.Printf - cmd/index.go: route Done and UpToDate messages through p.Complete/p.UpToDate so all output goes to stderr via the TUI (fixes stdout leakage) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tests check stdout for "Done." and "up to date"; route only progress/info through PTerm (stderr), keep final output on stdout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Progresscomponent from the main lumen module tobench-swe/internal/tui/github.com/pterm/ptermandgolang.org/x/termdependencies tobench-swe/go.mod.gitignoremerge conflict, preserving all entries including.claude/*.local.jsonTest plan
go build ./...passes inbench-swe/go test ./...)🤖 Generated with Claude Code