Skip to content

[ci] release#144

Merged
AmirSa12 merged 1 commit into
mainfrom
changeset-release/main
Jul 20, 2026
Merged

[ci] release#144
AmirSa12 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@bombshell-bot

@bombshell-bot bombshell-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@bomb.sh/tab@0.0.21

Patch Changes

  • 7462e1a: fix(fish): pass multi-segment CLI paths as separate arguments

    In fish, completing a package-manager-delegated CLI with more than one path segment (e.g. pnpm <cli> <subcommand> --<TAB>) returned nothing and fell back to the package manager's own flags. The generated fish script built the request with string join ' ' + eval, and because fish does not expand bare (...) command substitution inside double quotes, the whole path collapsed into a single token on re-parse. The template now invokes the backend directly with fish list expansion, so every segment reaches the completion backend as its own argument. zsh and bash already quoted each argument individually; PowerShell was audited and quotes each token before Invoke-Expression, so it is unaffected.

  • 2005004: perf: make package-manager-delegated completions much faster
    tab <pm> complete -- <cli> ... (the pnpm <cli> <TAB> path, plus the npm/yarn/bun equivalents) no longer parses <pm> --help on the delegation path and launches the target CLI at most once instead of twice. On a real project this drops the tab overhead from ~0.5s to a single CLI launch.

Also fixes a correctness gap where a CLI installed only locally (reachable via <pm> <cli> but not on PATH) could be detected yet return no completions: the fetch now tries the CLI directly first and falls back to running it through the package manager. The parsed <pm> --help command tree is cached on disk (fingerprinted by the resolved executable, with a TTL) so package-manager-self completions stay fast too.

@pkg-pr-new

pkg-pr-new Bot commented Jul 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@bomb.sh/tab@144

commit: 3369415

@bombshell-bot
bombshell-bot Bot force-pushed the changeset-release/main branch from f9ed7e8 to 3b69b9b Compare July 20, 2026 11:27
@bombshell-bot
bombshell-bot Bot force-pushed the changeset-release/main branch from 3b69b9b to 3369415 Compare July 20, 2026 11:44
@AmirSa12
AmirSa12 merged commit f08df52 into main Jul 20, 2026
12 checks passed
@AmirSa12
AmirSa12 deleted the changeset-release/main branch July 20, 2026 12:44
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