-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area:tuienhancementNew feature or requestNew feature or requesthas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOSstaleIssue is inactiveIssue is inactive
Description
Description
The --no-session-persistence flag no longer exists in the CLI but is still documented and was previously available.
Steps to Reproduce
- Run
claude --help- the flag is not listed - Run
claude --print --no-session-persistence "test"- returnserror: unknown option '--no-session-persistence'
Request
Please restore this flag. It's essential for automation scripts (pre-commit/pre-push hooks, CI pipelines) where ephemeral queries shouldn't pollute session history.
Without it, every claude --print invocation creates a session entry that clutters the --resume picker.
Environment
- Claude Code version: 2.0.57
- OS: macOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:tuienhancementNew feature or requestNew feature or requesthas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOSstaleIssue is inactiveIssue is inactive