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:
Armin Ronacher 2026-09-29 10:51:01 +02:00 • committed by GitHub
parent 1d74741e17
commit 4259686d92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 387 additions and 76 deletions

View file

@ -118,7 +118,7 @@ For each resource type:
Filters narrow the package manifest. They do not expose resources that the package itself did not declare.
Run `pi config` to enable or disable discovered resources. It starts with personal configuration; press Tab to switch scope, or run `pi config --local` to start with project overrides.
Run `pi config` to enable or disable discovered resources and pi's built-in extensions. It starts with personal configuration; press Tab to switch scope, or run `pi config --local` to start with project overrides.
## Understand scope and identity