[FEATURE] configurable /compact after idle time
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I work with multiple dockered claude_code instances on work spaces. I sometimes forget and then compact can sometimes occur mid session. I have to wait and have no influence on the effect.
Proposed Solution
Can /compact with or without a pre-configured hint be scheduled for certain token tiers after a certain (configurable) amount of idle time?
If I don't look at the screen for 30s, then I want it compressed if to preserve tokens if it's really needed, not mid-session.
If I don't look at the screen for 5 min, then I really don't care and want it compressed anyway.
I may care in general about what gets compressed.
Below a certain amount of tokens it is not required (as already implemented).
There should be an easy way to disable, in case I care but need to walk away.
Alternative Solutions
Keep doing it manually :-(
Priority
Low - Nice to have
Feature Category
Configuration and settings
Use Case Example
_No response_
Additional Context
_No response_