Skip to content

v1.0.13: Multi-File Batch Writer (write_files) & Hardened SSE Connection Keep-Alives

Choose a tag to compare

@Manimaran-tech Manimaran-tech released this 20 Nov 09:37
· 15 commits to main since this release

What's Changed in v1.0.13

🚀 Key Improvements & Fixes

  • Batch Multi-File Writer (\write_files):
    • Adds atomic multi-file writing support so AI models (Gemini, Claude, ChatGPT) can create or update multiple files in a single network roundtrip.
    • Eliminates the sequential Chat-Wait-Write bottleneck and minimizes permission prompt interruptions to a single approval.
  • Hardened SSE Streaming & Keep-Alives:
    • Enabled TCP socket-level keep-alives (
      eq.socket.setKeepAlive(true, 10000)) and disabled Nagle buffering (\setNoDelay(true)).
    • Emits both SSE comment pings and named \event: ping\ heartbeats every 15 seconds to prevent Cloudflare tunnel edge timeouts during user pauses (e.g. permission prompts).
    • Hands back full absolute endpoint URLs (\https://\System.Management.Automation.Internal.Host.InternalHost/mcp?sessionId=...) in \event: endpoint\ for robust session binding.
    • Added multi-listener socket cleanup on \close\ and \error\ events to prevent broadcasting into dead sockets.
  • Command Execution Hardening:
    • Increased \execute_command\ default timeout to 120s (up to 180s) and expanded buffer to 4MB for long builds and installs.
  • Server Health Diagnostics:
    • Added \�ctiveSseSessions\ count to the /api/status\ endpoint.

Full Changelog: v1.0.12...v1.0.13