fn sanitize_path(name: &str) -> StringExpand description
Sanitise a path the same way the claude CLI does -
non-alphanumerics become hyphens, and overlong paths are
truncated with a base-36 hash suffix (matching JS’s
String.prototype.hashCode trick).