github mksglu/context-mode v0.7.2

latest releases: v1.0.89, v1.0.88, v1.0.87...
one month ago

What's New

Auto-cleanup stale session DB files

Context Mode creates a SQLite FTS5 database per session in /tmp. Previously, these files were never cleaned up, leading to unbounded disk growth (100+ orphaned DB files observed in production).

Now:

  • Startup cleanup: cleanupStaleDBs() runs when the MCP server starts — removes DB/WAL/SHM files from previous sessions whose PIDs no longer exist
  • Shutdown cleanup: store.cleanup() deletes own DB files on process exit (SIGINT/SIGTERM/exit)

Other changes

  • Recommended plugin install as primary installation method in README
  • Added /context-mode:upgrade and /context-mode:doctor slash commands to install section
  • 4 new cleanup tests in store.test.ts

Full Changelog: v0.7.1...v0.7.2

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.