-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Current Behavior
I've noticed some inconsistencies in how chat and composer logs are being classified, particularly after Cursor v44.9's move to globalStorage. This affects both the count display and categorization in the chat browser UI.
Investigation So Far
While looking into this, I've observed:
- Chat counts don't match between workspace list and detail views
- Some composer logs are being counted as chats and vice versa
- Storage patterns differ between older and newer Cursor versions
Initial Implementation
I've started working on a fix that:
- Extracts shared classification logic
- Adds detailed logging for pattern analysis
- Handles both old and new storage formats
- Maintains backwards compatibility with pre-v44.9 logs
Questions for Discussion
Would appreciate the team's thoughts on:
- How aggressively should we handle backwards compatibility?
- What's the best way to identify chat vs composer logs in v44.9+?
- Should we consider a migration strategy for older logs?
Current Approach
- Using title patterns to differentiate (e.g.,
#prefix indicates composer) - Falling back to source/type checks when available
- Adding detailed logging to help understand patterns
- Maintaining support for both old and new storage formats
Next Steps
- Gather feedback on classification approach
- Analyze more log patterns
- Decide on backwards compatibility strategy
- Update documentation
Not ready for PR yet - would love to hear thoughts from @team (@thomas-pedersen @mrmaarten @random-yang ) on this approach first.
Labels: needs-discussion, compatibility, refactor
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels