Skip to content

fix: Encode underscores as dashes in project path lookup#2

Open
takeru wants to merge 1 commit into
choplin:mainfrom
takeru:fix/underscore-encoding
Open

fix: Encode underscores as dashes in project path lookup#2
takeru wants to merge 1 commit into
choplin:mainfrom
takeru:fix/underscore-encoding

Conversation

@takeru

@takeru takeru commented Dec 18, 2025

Copy link
Copy Markdown

Summary

  • Fix path encoding to also convert underscores (_) to dashes (-)
  • Claude Code encodes underscores as dashes in project directory names, but cclog was only converting slashes and dots
  • This caused "No Claude logs found" errors for paths containing underscores

Test plan

  • Manually tested with directory containing underscores

🤖 Generated with Claude Code

Claude Code encodes underscores (_) as dashes (-) in project directory
names, but cclog was only converting slashes and dots. This caused
"No Claude logs found" errors for paths containing underscores.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant