fix(coding-agent): respect package.json pi.extensions manifest in settings extensions paths

collectAutoExtensionEntries now checks if the directory itself has a
package.json with pi.extensions (or index.ts) before scanning children.
This fixes duplicate extension loading when a manifest-aware directory
is specified directly in settings.json extensions array.

Fixes #1274
This commit is contained in:
Mario Zechner 2026-02-05 22:32:12 +01:00
parent d27df1afa4
commit 5f5cd080b9
3 changed files with 45 additions and 0 deletions

View file

@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Fixed extensions setting not respecting `package.json` `pi.extensions` manifest when directory is specified directly ([#1302](https://github.com/badlogic/pi-mono/pull/1302) by [@hjanuschka](https://github.com/hjanuschka))
## [0.52.3] - 2026-02-05
### Fixed