feat(coding-agent): add optional PowerShell tool (#8512)

This commit is contained in:
Armin Ronacher 2026-08-24 12:27:03 +02:00 • committed by GitHub
parent 4af9d21d3b
commit 80e62761f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 351 additions and 65 deletions

View file

@ -584,7 +584,7 @@ cat README.md | pi -p "Summarize this text"
| `--no-builtin-tools`, `-nbt` | Disable built-in tools by default but keep extension/custom tools enabled |
| `--no-tools`, `-nt` | Disable all tools by default |
Available built-in tools: `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`
Available built-in tools: `read`, `bash`, `powershell` (Windows), `edit`, `write`, `grep`, `find`, `ls`
### Resource Options
@ -682,7 +682,7 @@ pi --thinking high "Solve this complex problem"
| `PI_CACHE_RETENTION` | Set to `long` for extended prompt cache (Anthropic: 1h, OpenAI: 24h) |
| `VISUAL`, `EDITOR` | Fallback external editor for Ctrl+G when `externalEditor` is unset; defaults to Notepad on Windows and `nano` elsewhere |
Commands run by the LLM-callable bash tool also receive current session metadata:
Commands run by the LLM-callable `bash` and `powershell` tools also receive current session metadata:
| Variable | Description |
|----------|-------------|
@ -692,7 +692,7 @@ Commands run by the LLM-callable bash tool also receive current session metadata
| `PI_MODEL` | Currently selected model ID |
| `PI_REASONING_LEVEL` | Current effective reasoning level |
These values are resolved when each command starts. See [Environment Variables](docs/environment-variables.md#bash-tool-session-environment) for semantics, examples, and custom-tool opt-out.
These values are resolved when each command starts. See [Environment Variables](docs/environment-variables.md#shell-tool-session-environment) for semantics, examples, and custom-tool opt-out.
---