fix: validate Claude binary installation before connection
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m1s
CI / Lint & Test (pull_request) Failing after 5m50s
CI / Build Linux (pull_request) Has been skipped
CI / Build Windows (cross-compile) (pull_request) Has been skipped

Add check to verify that the Claude CLI is installed before attempting
to start a connection. If the binary is not found via `which claude`,
show a helpful error message with installation instructions.

Changes:
- Add Claude binary check using `which` command in WslBridge::start()
- Return clear error message with installation command if not found
- Add test coverage for the binary check logic
- Update CLAUDE.md with Quality Assurance section and check-all.sh docs

The error message guides users to install Claude Code using:
curl -fsSL https://claude.ai/install.sh | bash

 This fix was implemented by Hikari~ 🌸
This commit is contained in:
2026-02-08 11:52:18 -08:00
committed by Naomi Carrigan
parent fdb356a62c
commit 42673b1a01
3 changed files with 50 additions and 1 deletions
+1 -1
View File
@@ -1636,7 +1636,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "hikari-desktop"
version = "1.4.0"
version = "1.5.0"
dependencies = [
"chrono",
"dirs 5.0.1",