github mksglu/context-mode v1.0.65

4 hours ago

Bug Fix

fix(hooks): ad-hoc codesign native binary after ABI cache swap on macOS (#225)

On macOS with hardened runtime (Zed, signed Electron hosts), overwriting better_sqlite3.node via copyFileSync invalidated the code signature, causing an uncatchable SIGKILL (EXC_BAD_ACCESS — Code Signature Invalid) when dlopen attempted to load the modified binary.

After the ABI cache → active binary copy, codesign --sign - --force now re-signs the binary with an ad-hoc signature. Silent no-op on non-macOS or if codesign is unavailable.

Verified: Apple docs confirm ad-hoc signing satisfies library validation. Homebrew, Electron, and mongodb use the same approach. better-sqlite3#761 documents this upstream.

How to update

npm update -g context-mode

Full Changelog: v1.0.63...v1.0.65

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.