-
Notifications
You must be signed in to change notification settings - Fork 16
Project directory with underscores not monitored correctly #4
Copy link
Copy link
Open
Description
When the project directory name contains underscores (e.g. example_project), Claude Code stores the project under ~/.claude/projects/ with hyphens (-home-user-IdeaProjects-example-project), but afk-code monitors the path with underscores preserved (-home-user-IdeaProjects-example_project), resulting in Snapshot: 0 existing JSONL files and no Telegram notifications being sent.
Workaround: Create a symlink from the underscore path to the hyphen path.
rmdir ~/.claude/projects/-home-user-IdeaProjects-example_project
ln -s ~/.claude/projects/-home-user-IdeaProjects-example-project \
~/.claude/projects/-home-user-IdeaProjects-example_projectSteps to reproduce:
- Create a project directory with underscores in the name
- Run
afk-code telegramandafk-code run -- claude - Telegram receives no session updates
Environment:
- OS: Ubuntu 25.10 (Questing)
- Node.js: v20.19.4
- afk-code: 0.3.1
- Claude Code: 2.1.53
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels