feat(cli): add progress bars to tool pack and improve UX#97
Merged
Conversation
Add real-time progress indicators for bundle creation with scrolling file names display. The packing system now emits progress events that enable visual feedback during bundling operations. Key changes: - Add PackProgress enum and ProgressCallback for progress reporting - Single bundle mode shows progress bar with scrolling file names - Multi-platform mode shows parallel progress bars per platform - Add extract_icon option to control icon file creation (pack vs publish) - Add validation spinner for strict mode Additional improvements: - Add W018 warning for script names that conflict with built-in subcommands (init, install, run, etc.) - Add Windows compatibility for shell command execution in detect and scripts handlers (cmd.exe vs sh) - Update README with expanded feature list and icons
appcypher
added a commit
that referenced
this pull request
Feb 6, 2026
Changes since v0.1.13: Features: - Add progress bars to tool pack with improved UX (#97) - Add --json and --concise support to tool config get (#95) - Add OpenCode as supported MCP host (#94) - Add tool config list <ref|path> command (#93) - Implement all template functions and auto-install local tools (#91) Fixes: - Pass Authorization header from manifest to HTTP transport (#96) - Fix OAuth re-authentication flow (#93) - Correct config path derivation for path-resolved tools (#92)
appcypher
added a commit
that referenced
this pull request
Feb 6, 2026
Changes since v0.1.13: Features: - Add progress bars to tool pack with improved UX (#97) - Add --json and --concise support to tool config get (#95) - Add OpenCode as supported MCP host (#94) - Add tool config list <ref|path> command (#93) - Implement all template functions and auto-install local tools (#91) Fixes: - Pass Authorization header from manifest to HTTP transport (#96) - Fix OAuth re-authentication flow (#93) - Correct config path derivation for path-resolved tools (#92)
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
tool packwith visual feedback during bundle creationThis improves the developer experience by providing visual feedback during potentially long-running pack operations, making it clear what files are being processed and how far along the operation is.
Changes
Progress System (lib/pack.rs, lib/handlers/tool/pack_cmd.rs):
PackProgressenum withStarted,FileAdded, andFinishedvariantsProgressCallbacktype andon_progressfield toPackOptionspack_bundleandpack_bundle_for_platformto emit progress eventsextract_iconoption to control icon file creation (pack vs publish)Pack Command UI (lib/handlers/tool/pack_cmd.rs):
Script Name Validation (lib/validate/validators/scripts.rs - NEW):
Windows Compatibility (lib/handlers/tool/detect_cmd.rs, lib/handlers/tool/scripts.rs):
cmd /Con Windows instead ofsh -cfor shell executionDocumentation (README.md):
Test Plan
cargo buildto verify compilationcargo test --lib pack::to verify pack tests passtool pack <path>- should show progress bar with scrolling filestool pack --multi-platform <path>- should show parallel progress barstool pack --strict <path>- should show validation spinnertool pack(onlytool publishshould create them)