-
Notifications
You must be signed in to change notification settings - Fork 187
Description
Kiro Product
IDE
Feature Description
Problem
~/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent/ grows unbounded. Reached 5.4 GB in ~3 weeks (796+ session files). No settings, commands, or docs for managing this storage.
kiro-cli has --delete-session for its SQLite DB, but Kiro IDE globalStorage has no equivalent.
Requested Features
- Max storage size setting — auto-prune oldest sessions when limit reached
- Retention period setting — auto-delete sessions older than N days
- Manual prune command — e.g.,
/cache prune --older-than 7d - Storage usage visibility — show current usage via command or settings
Steps to Reproduce
- Use Kiro IDE for 2-3 weeks across multiple workspaces
- Check globalStorage folder — observe multi-GB growth
- Search settings for storage limit or pruning — none exist
Use Case
SA using Kiro IDE daily across 6+ customer workspaces. On a 228 GB MacBook, the globalStorage consumed 5.4 GB in 3 weeks — nearly filling the disk alongside other dev tools. Had to manually investigate and identify the folder as the culprit. Users on smaller drives or heavier usage patterns will hit this faster.
Additional Context
The 5.4 GB breaks down as: ~4.8 GB conversation session files (JSON, ~2-3 MB each), ~564 MB LanceDB vector index. The session files are the growth problem — the index is reasonable. A simple retention policy on session files would address 90% of the issue.