v5.0.5

AzeemIdrisi/PhoneSploit-Prov5.0.5Mar 17, 2026by obra

AI Summary

This maintenance release focuses on fixing critical bugs in the brainstorm server including Node.js 22+ compatibility issues and Windows PID monitoring, while improving server shutdown reliability.

Key Highlights

  • Renamed `server.js` to `server.cjs` to fix Node.js 22+ compatibility.
  • Fixed Windows/MSYS2 PID lifecycle monitoring where the namespace is invisible to Node.js.
  • Improved `stop-server.sh` reliability with SIGTERM + wait + SIGKILL fallback mechanism.
  • Restored user choice between subagent-driven and inline execution after plan writing.

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.