ECC/scripts/lib
Affaan Mustafa 75ab8e6194 fix: eliminate child process spawns during session startup (#162)
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.
2026-02-12 00:01:23 -08:00
..
package-manager.js fix: eliminate child process spawns during session startup (#162) 2026-02-12 00:01:23 -08:00
session-aliases.js fix: sync plugin.json version with latest tag (#171) 2026-02-08 16:18:49 -08:00
session-manager.js feat: add /sessions command for session history management (#142) 2026-02-02 16:51:37 -08:00
utils.js feat: add /sessions command for session history management (#142) 2026-02-02 16:51:37 -08:00