Feature request: Combined 'compact + auto-accept edits' option
Problem
When Claude Code prompts for context compaction, the only options are to accept or decline the compaction. There's no way to simultaneously switch permission modes (e.g., to acceptEdits) during that interaction.
These two actions — compacting context and switching to auto-accept — frequently happen together in practice, especially during longer sessions where you've been manually approving edits and hit the context limit. Having to do them as separate steps feels unnecessarily friction-y.
Proposed Solution
Add an option to the compaction prompt that combines "yes, compact" with "and switch to acceptEdits mode" — something like a y + auto-accept shortcut.
Alternatively, exposing a way to set permission mode changes as part of the compaction flow would cover this.
Context
- Permission modes are currently toggled via
Shift+Tab(separate from compaction) defaultModein settings helps but doesn't cover mid-session mode switches- This is a small QoL improvement for power users who frequently hit context limits
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗