Problem
CC v2.1.81 added --bare flag that skips hooks, LSP, plugin sync. If a user passes --bare in claudeCommand, our SessionStart hook won't fire and session discovery will never find the CC session ID.
Solution
- Detect
--bare in claudeCommand parameter
- Fall back to alternative discovery method (e.g., scan for new .jsonl files in the project directory)
- Warn in logs that hook-based discovery is disabled
Problem
CC v2.1.81 added
--bareflag that skips hooks, LSP, plugin sync. If a user passes--bareinclaudeCommand, ourSessionStarthook won't fire and session discovery will never find the CC session ID.Solution
--bareinclaudeCommandparameter