-
Notifications
You must be signed in to change notification settings - Fork 229
Description
cc-sessions Version
0.3.6
Installation Method
pip (Python)
Operating System
macOS
Shell/Terminal
Zsh
IDE/Environment
Other
Bug Description
I installed cc-sessions into a project. When I then close out of CC and start a new session, I don't see the startup message. I typed the prompt: "is claude code sessions installed?" and it fails with an error message (included below per issue template).
The actual path is "/Users/x/First-Word Another Word/projects/blah/" -> i.e. something is failing to either escape the space in the directory name or put the path in quotes.
Steps to Reproduce
- Install cc-sessions in a directory where a parent directory has a space in the name.
- Run claude
- Ask if cc sessions is installed
Expected Behavior
The parent directory with a space in the name needs to be either escaped or enclosed in quotes.
Error Messages
⏺ UserPromptSubmit operation blocked by hook:
[python $CLAUDE_PROJECT_DIR/sessions/hooks/user_messages.py]: python: can't
open file '/Users/x/First-Word': [Errno 2] No such file or directoryAdditional Context
I'm running CC and cc-sessions via a ZSH terminal running in Zed. I installed cc-sessions using the proposed pipx syntax and the suggested pip version check command didn't work, so I looked at the session-state.json file instead to determine the cc-sessions version.