kontexta-mcp 2.0.6 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -336,6 +336,10 @@ function getDatabase() {
336
336
  }
337
337
  function closeDatabase() {
338
338
  if (db) {
339
+ try {
340
+ db.pragma("PRAGMA wal_checkpoint(TRUNCATE)");
341
+ } catch {
342
+ }
339
343
  db.close();
340
344
  db = null;
341
345
  globalThis.__kontextaDb = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kontexta-mcp",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "description": "The local Brain and Hands for AI coding agents (MCP Server)",
5
5
  "keywords": [
6
6
  "mcp",