feat(cli): add progress feedback to upgrade command#31645
feat(cli): add progress feedback to upgrade command#31645szzhoujiarui-sketch wants to merge 2 commits into
Conversation
- Add progress tracking with stage-based updates - Display download percentage, size, and speed for curl method - Show progress messages for all installation methods - Backward compatible with optional progress callback - Fixes anomalyco#31623
|
Note: The |
|
The Relevant log: The failing step is: COMMENT=$(bun script/duplicate-pr.ts -f pr_info.txt "Check the attached file for PR details and search for duplicates")So |
Issue for this PR
Closes #31623
Type of change
What does this PR do?
Adds progress feedback to the
opencode upgradecommand. Users now see real-time progress messages during download and installation instead of a silent process that appears to hang.Changes:
src/installation/progress.tsprogressCallbackparameter added toInstallation.upgrade()methodcurlmethod (shows %, size, speed)@clack/promptsspinner in CLI upgrade commandExample output:
Why this works:
How did you verify your code works?
Checklist