github mksglu/context-mode v0.9.19

latest releases: v1.0.89, v1.0.88, v1.0.87...
one month ago

Fix: Windows non-ASCII path crash in self-heal

Problem: cpSync crashes with 0xC0000005 (access violation) on Windows + Node.js v24 when called on non-ASCII paths inside spawnSync child processes. This is a libuv-level bug affecting the self-heal block in pretooluse.mjs.

Fix: Replaced cpSync with a manual recursive copy using mkdirSync + copyFileSync + readdirSync, which use separate code paths and don't trigger the crash.

Changed files

  • hooks/pretooluse.mjs — replaced cpSync with copyDirSync helper
  • package.json — version bump
  • src/server.ts — version bump
  • .claude-plugin/plugin.json — version bump

Reported by @xxnbyy (#43)

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.