Skip to main content

cursor_slug

Function cursor_slug 

Source
pub fn cursor_slug(path: &Path) -> String
Expand description

Cursor project slug: strips leading /, then replaces / and . with -.

Cursor stores transcripts at ~/.cursor/projects/<cursor_slug>/agent-transcripts. Example: /Users/lucas.marques/Projects/kaizenUsers-lucas-marques-Projects-kaizen.