enable auto-discovery for pi extensions by removing explicit extension list
This commit is contained in:
@@ -49,3 +49,13 @@ sigil unlink ~/.config/wezterm/wezterm.lua
|
||||
# Editing dotfiles
|
||||
|
||||
When editing dotfiles, it is preferred to add/edit the files in this project directly, instead of going to the source. this way we can then use sigil apply --prune, and everything will be synced, even when there are new files.
|
||||
|
||||
# pi extensions
|
||||
|
||||
Extensions live in `pi/files/agent/extensions/`.
|
||||
|
||||
**Discovery quirk:** If `package.json` has a `pi.extensions` field, pi **only** loads those listed extensions and skips auto-discovery of `*.ts` files. To enable auto-discovery (load all `.ts` files including symlinks), either:
|
||||
- Remove the `extensions` field entirely: `"pi": {}`
|
||||
- Or delete `package.json` if you don't need npm dependencies
|
||||
|
||||
Multi-file extensions (directories) need an `index.ts` entry point (or `package.json` with `pi.extensions` pointing to the entry file).
|
||||
|
||||
Reference in New Issue
Block a user