pub fn encode_project_path(path: &Path) -> String
Encode a project path the way Claude Code does: replace / with -.
/
-
/Users/alex/myproject → -Users-alex-myproject
/Users/alex/myproject
-Users-alex-myproject