fix: validate Claude binary installation before connection #138

Merged
naomi merged 2 commits from fix/binary into main 2026-02-08 13:47:43 -08:00

2 Commits

Author SHA1 Message Date
naomi fe988f5177 chore: format
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m5s
CI / Lint & Test (pull_request) Successful in 18m0s
CI / Build Linux (pull_request) Successful in 26m6s
CI / Build Windows (cross-compile) (pull_request) Successful in 41m34s
2026-02-08 12:06:25 -08:00
hikari 42673b1a01 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~ 🌸
2026-02-08 11:52:18 -08:00