Skip to content

[Bug] Handle CC --bare flag (skips hooks, breaks discovery) #16

@OneStepAt4time

Description

@OneStepAt4time

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

  1. Detect --bare in claudeCommand parameter
  2. Fall back to alternative discovery method (e.g., scan for new .jsonl files in the project directory)
  3. Warn in logs that hook-based discovery is disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions