minor

Storage Usage & Data Retention

Storage usage reporting, configurable data retention, manual cleanup, and source-map garbage collection, plus SQLite durability fixes.

server · webview-ui · client · mcp

Storage Usage & Data Retention

Rustrak now tracks how much storage your instance is using and lets you keep it under control. The server reports storage usage and supports configurable data retention, so older data can be cleaned up automatically instead of growing unbounded.

  • Storage usage reporting exposed via the API
  • Configurable data retention for stored events
  • Manual storage cleanup to reclaim space on demand
  • Source-map garbage collection to remove orphaned artifacts

Storage Settings UI

A new storage settings page in the dashboard surfaces current usage and gives you direct control over cleanup.

  • Storage settings page with usage overview
  • Manual cleanup controls
  • Source-map garbage collection controls

Client & MCP Updates

  • Added a storage resource to the TypeScript client for usage and cleanup
  • Added a storage tool to the MCP package for programmatic access

Reliability Fixes

  • SQLite now runs in WAL mode and uses BEGIN IMMEDIATE for digest writes, preventing dropped events under concurrent writes (#131, #141)
  • Clipboard copy now works over plain HTTP, with improved fallback positioning (@WahidinAji, #146)

Documentation

  • Corrected local PostgreSQL development setup instructions (@WahidinAji, #147)

Open source under AGPL-3.0. No per-event pricing, no sampling you did not ask for.