docs(coding-agent): document glob pattern support in pi manifest

This commit is contained in:
Mario Zechner 2026-01-23 20:34:25 +01:00
parent ed75a8320b
commit 23fd73e558
2 changed files with 13 additions and 1 deletions

View file

@ -16,7 +16,7 @@
- `markdown.codeBlockIndent` setting to customize code block indentation in rendered output
- Extension package management with `pi install`, `pi remove`, `pi update`, and `pi list` commands ([#645](https://github.com/badlogic/pi-mono/issues/645))
- Package filtering: selectively load resources from packages using object form in `packages` array ([#645](https://github.com/badlogic/pi-mono/issues/645))
- Glob pattern support with minimatch in package filters and top-level settings arrays (e.g., `"!funky.json"`, `"*.ts"`) ([#645](https://github.com/badlogic/pi-mono/issues/645))
- Glob pattern support with minimatch in package filters, top-level settings arrays, and pi manifest (e.g., `"!funky.json"`, `"*.ts"`) ([#645](https://github.com/badlogic/pi-mono/issues/645))
- `/reload` command to reload extensions, skills, prompts, and themes ([#645](https://github.com/badlogic/pi-mono/issues/645))
- CLI flags for `--skill`, `--prompt-template`, `--theme`, `--no-prompt-templates`, and `--no-themes` ([#645](https://github.com/badlogic/pi-mono/issues/645))
- Show provider alongside the model in the footer if multiple providers are available

View file

@ -196,6 +196,18 @@ pi update # update all non-pinned packages
}
```
The pi manifest supports glob patterns and exclusions:
```json
{
"pi": {
"extensions": ["./extensions", "!**/deprecated/*"],
"skills": ["./skills", "./node_modules/other-pkg/skills", "!**/experimental/*"],
"themes": ["./themes/*.json"]
}
}
```
The `package.json` approach enables:
- Multiple extensions from one package
- Skills, prompts, and themes declared alongside extensions