#7494: feat(completion): PowerShell automated install & uninstall
docs
cli
scripts
commands
agents
Cluster:
CLI Enhancements and Fixes
Splits out the PowerShell automated install & uninstall work into its own PR. This branch applies the cleaned/squashed commit from the previous rework and contains:
- docs/cli/completion.md
- scripts/postinstall.js
- CLI wiring for PowerShell completion
- completion installer tests
Tests for the completion installer pass locally (`src/completion-install.test.ts`, `src/postinstall-completion.test.ts`).
Notes & concerns:
- A Greptile review flagged sanitization behavior mismatch (sanitization reported but not applied) and brittle PowerShell profile targeting/uninstall logic — please pay attention to `src/agents/session-tool-result-guard.ts` and the completions uninstall flow.
- Backup branch with original commits: `backup/feat/pwsh-completion-install-uninstall-before-reset`.
If you prefer, I can split out the sanitization changes for separate review.
/cc @steipete
Most Similar PRs
#6888: feat: PowerShell completion install/uninstall + templates script + ...
by ThinkIbrokeIt · 2026-02-02
78.0%
#16908: fix(cli): clean stale shell completion profile entries on uninstall...
by lorstyang · 2026-02-15
70.5%
#6694: fix: Cache completion install
by s0up4200 · 2026-02-01
68.6%
#10723: fix(cli): filter empty flags in PowerShell completion generation
by Yida-Dev · 2026-02-06
65.6%
#11165: fix(cli): filter empty flags in zsh and PowerShell nested completion
by Yida-Dev · 2026-02-07
64.9%
#12308: fix(cli): redirect log output to stderr during completion script ge...
by mcaxtr · 2026-02-09
64.6%
#21215: Windows PowerShell reliability fixes (exec shim + Discord numeric p...
by musosoft · 2026-02-19
63.6%
#17680: perf(cli): skip plugin loading during completion generation
by mcrolly · 2026-02-16
63.4%
#12981: feat(powershell): add Claude + Gemini dual-AI integration for Power...
by tyler791 · 2026-02-10
63.3%
#17962: fix(cli): speed up completion plugin loading
by forketyfork · 2026-02-16
62.2%