feat: add shared claude binary detection module
Introduces a dedicated module for detecting Claude Code binary installations with support for multiple sources including NVM, aliased paths, and version-based selection. This shared module improves the reliability of finding Claude installations across different environments. Key features: - Supports multiple installation sources (NVM, system, homebrew, npm, yarn, bun) - Handles aliased paths from 'which' command - Version-aware selection to prefer latest installations - Database caching of discovered binary paths - Comprehensive logging for debugging - Environment variable preservation for NVM compatibility The implementation is inspired by: - https://github.com/getAsterisk/claudia/pull/3 - https://github.com/getAsterisk/claudia/pull/4
This commit is contained in:
@@ -5,6 +5,7 @@ mod commands;
|
||||
mod sandbox;
|
||||
mod checkpoint;
|
||||
mod process;
|
||||
mod claude_binary;
|
||||
|
||||
use tauri::Manager;
|
||||
use commands::claude::{
|
||||
|
Reference in New Issue
Block a user