Fixes #2075 The isBuiltIn check in detectExtensionConflicts used a path-based heuristic that excluded paths containing /.gsd/agent/extensions/. Since initResources() syncs all bundled extensions into that same directory, the heuristic could never return true for bundled extensions, preventing the "supersedes" hint from being appended. This caused downstream cli.ts to display "Extension load error" instead of the intended "Extension conflict" for benign precedence collisions. Replace the path heuristic with an explicit bundledExtensionKeys set (already computed by buildResourceLoader) threaded through to detectExtensionConflicts. The set is matched against the extension directory name extracted from the owner path. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| daemon | ||
| mcp-server | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||
| rpc-client | ||