mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
refactor(coding-agent): resolve built-in extensions as builtin:<name> paths (#10159)
Built-in extensions (mcp, llama.cpp, codemode, tool-search) are now extension resources like files: the package manager resolves them as builtin:<name>, the extensions setting disables them with -builtin:<name> (per project too), pi config lists them, and --no-extensions turns them off unless loaded with -e builtin:<name>. They load after project trust is resolved and after file and package extensions. Built-in extensions and tools are named builtin:<name> in errors, diagnostics, RPC source info, and bug reports.
This commit is contained in:
parent
1d74741e17
commit
4259686d92
25 changed files with 387 additions and 76 deletions
|
|
@ -170,9 +170,9 @@ pi --extension ./review.ts
|
|||
See [Configuration](configuration.md) for conventional directories and project trust, [Settings](settings.md#resources) for configured paths, and [Pi Packages](packages.md) for package sources.
|
||||
|
||||
- `-e`, `--extension <path>`<br>
|
||||
Loads an extension file or directory and is repeatable.
|
||||
Loads an extension file or directory, or a built-in extension such as `builtin:mcp`, and is repeatable.
|
||||
- `-ne`, `--no-extensions`<br>
|
||||
Disables discovered and configured extensions. Explicit `-e` paths still load.
|
||||
Disables discovered, configured, and built-in extensions. Explicit `-e` paths still load, so `pi -ne -e builtin:mcp` keeps only the built-in MCP support.
|
||||
- `--skill <path>`<br>
|
||||
Loads a skill file or directory and is repeatable.
|
||||
- `-ns`, `--no-skills`<br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue