pub fn detect() -> Option<PathBuf>
Detect whether Claude Code is installed.
Returns Some(claude_dir) if the ~/.claude/ directory (or %USERPROFILE%\.claude\ on Windows) exists, otherwise None.
Some(claude_dir)
~/.claude/
%USERPROFILE%\.claude\
None