diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index fed35736..8ba4d272 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -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 diff --git a/packages/coding-agent/docs/extensions.md b/packages/coding-agent/docs/extensions.md index 57ea11ce..865d5c3d 100644 --- a/packages/coding-agent/docs/extensions.md +++ b/packages/coding-agent/docs/extensions.md @@ -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