Feature request for product/service
Cursor IDE
Describe the request
Problem
With heavy overnight Agent use and many subagents, Cursor’s local SQLite DB (state.vscdb under globalStorage) grew to ~100GB+ from agent chat history, KV blobs, and checkpoints. Disk fills up. Archiving or deleting project media does not free that space, because growth is in the global chat/agent DB—not the project tree.
Request
Configurable storage management for the chat/agent DB, analogous to worktree disk controls:
- Size cap (e.g. 50–60GB) with automatic purge of oldest chats/blobs when exceeded, and/or
- Time-based retention with automatic GC
Today
Only manual: Delete Old Chats… then GC Agent KV Blobs. Worktrees have size/cleanup controls; chat DB does not. Auto-expire is on the backlog with no ETA — please prioritize a user-facing cap + auto-purge.