Extensions importing unlisted subpaths from bundled packages (e.g. @modelcontextprotocol/sdk/server) fail because jiti's CJS fallback double-resolves paths. This adds auto-discovery of subpath exports from bundled packages' package.json exports fields, generating alias entries for all explicit and wildcard subpaths so extensions can import any standard Node.js subpath export. Closes #1604 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| resources/extensions/memory | ||
| tests | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||