patch
Storage Cleanup Data-Type Selection
Storage cleanup now supports filtering by data type — choose which event types to purge with new server, client, MCP, and UI controls
Data-Type Scoped Cleanup
Storage cleanup operations can now be scoped to specific data types, giving you fine-grained control over which event categories to purge.
- Server endpoint accepts optional
data_typesfilter parameter (events, transactions, logs, sessions) - MCP storage cleanup tools include
--events,--transactions,--logs, and--sessionsflags - Client
StorageResource.cleanup()forwardsdataTypesfilter options - WebView UI cleanup dialog includes data-type checkboxes for visual selection
Bug Fixes
- Cleanup success toast now correctly reports when no issues matched the filter instead of showing an empty count
Improvements
- Consistent data-type filtering across all layers — server, client, MCP, and UI
