mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
getAvailablePackageManagers() spawned where.exe/which for each package manager (npm, pnpm, yarn, bun). During SessionStart hooks, these 4+ child processes combined with Bun's own initialization exceeded the spawn limit on Windows, freezing the terminal. Fix: Remove process spawning from the hot path. Steps 1-5 of detection (env var, project config, package.json, lock file, global config) already cover all file-based detection. If none match, default to npm without spawning. Also fix getSelectionPrompt() to list supported PMs without checking availability. |
||
|---|---|---|
| .. | ||
| ci | ||
| hooks | ||
| lib | ||
| release.sh | ||
| setup-package-manager.js | ||
| skill-create-output.js | ||