v5.0.5
upstash/context7v5.0.5Mar 17, 2026by obra
AI Summary
Bug fixes for the Brainstorm server to ensure correct startup on Node.js 22+ and Windows, plus reliability improvements for the stop-server script.
Key Highlights
- Fixed Brainstorm server startup on Node.js 22+ (ESM fix)
- Fixed Windows PID monitoring issues
- Improved server termination reliability
New Features
- Brainstorm ESM module fix
- Windows PID monitoring fix
- Stop-server reliability improvement
Full Release Notes
## Bug Fixes - **Brainstorm server ESM fix** — renamed `server.js` → `server.cjs` so the brainstorming server starts correctly on Node.js 22+ where the root `package.json` `"type": "module"` caused `require()` to fail. (PR #784 by @sarbojitrana, fixes #774, #780, #783) - **Brainstorm owner-PID on Windows** — skip PID lifecycle monitoring on Windows/MSYS2 where the PID namespace is invisible to Node.js, preventing the server from self-terminating after 60 seconds. (#770, docs from PR #768 by @lucasyhzlu-debug) - **stop-server.sh reliability** — verify the server process actually died before reporting success. SIGTERM + 2s wait + SIGKILL fallback. (#723) ## Changed - **Execution handoff** — restore user choice between subagent-driven and inline execution after plan writing. Subagent-driven is recommended but no longer mandatory.