v1.7.2
What's Changed
Bug Fixes
- Electron self-heal now reports truth, not false success: The repair process previously claimed success even when the Electron binary wasn't actually on disk. Every provision path now verifies the binary is present before reporting success, fixing false positives in
amicus doctor --fixand install-time prewarming. - Installer fallback no longer suppresses failure: Removed the
|| truecatch-all that masked real failures when the Electron installer fallback path couldn't repair the binary.
Improvements
- Controlled, introspectable GUI repair: Instead of blindly re-running Electron's installer, the repair now downloads and extracts the binary itself using the same
@electron/getAPI, then verifies the result. Corrupt cached downloads are detected and cleared for a fresh re-fetch. - Antivirus quarantine detection and actionable guidance: When Windows Defender or other antivirus removes
electron.exeimmediately after extraction (the most common Windows failure), amicus now detects this pattern and displays a specific instruction to allow-list the binary and re-runamicus doctor --fix, instead of silently looping a repair that cannot succeed. - Clear error message when OpenCode engine binary is missing: The engine ships via per-platform binaries that npm can silently skip or antivirus can quarantine. When absent, amicus now surfaces a specific instruction (run
amicus doctor, reinstall, allow-listopencode.exe) instead of an opaque spawn failure.
Full Changelog: v1.7.1...v1.7.2