mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-10-09 15:58:34 +00:00
5ad3d0ce32
* fix: prevent crash when codex-acp binary is not found (#645) When codex-acp is not installed, resolveCodexAcpBinaryPath returned the bare binary name as a fallback. This caused createACPProvider to spawn a non-existent process, emitting an async ENOENT error that crashed the app. Return null instead of the bare name and guard all createACPProvider call sites so the error is handled gracefully. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: install cross-platform codex-acp binaries in CI build macOS and Windows CI builds produce both arm64 and x64 packages, but npm ci only installs optional dependencies for the host platform. This means the codex-acp native binary for the other architecture is missing from the packaged app, causing ENOENT crashes for users on the non-host architecture. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: add --force to bypass cpu/os constraints for cross-arch install The platform-specific codex-acp packages declare cpu/os constraints in their package.json, so npm refuses to install the non-host-arch binary with EBADPLATFORM. Use --force to bypass this check. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>