mindwtr-mcp 1.1.9 → 1.1.10

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 (3) hide show
  1. package/README.md +11 -5
  2. package/dist/index.js +16366 -12518
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -32,13 +32,19 @@ npm install -g --allow-scripts=better-sqlite3 mindwtr-mcp
32
32
 
33
33
  In MCP client configurations using `npx`, add `"--allow-scripts=better-sqlite3"` before `"mindwtr-mcp"` in `args`. For an existing project-local install, run `npm install-scripts approve better-sqlite3`, then `npm rebuild better-sqlite3` from that project. Review the dependency before approving; do not enable all dependency scripts.
34
34
 
35
- Default database locations:
35
+ Default database locations. The installed Windows and macOS apps keep the database in a `data` subfolder from version 1.3.2 on; Linux and the portable builds are unchanged. The server looks in both places, so it finds the database either way.
36
+
36
37
  - Linux: `~/.local/share/mindwtr/mindwtr.db` (Flatpak: `~/.var/app/tech.dongdongbh.mindwtr/data/mindwtr/mindwtr.db`)
37
- - macOS: `~/Library/Application Support/mindwtr/mindwtr.db`
38
- - Windows: `%APPDATA%\mindwtr\mindwtr.db`
38
+ - macOS, 1.3.2 and later: `~/Library/Application Support/mindwtr/data/mindwtr.db`
39
+ - macOS, 1.3.1 and earlier: `~/Library/Application Support/mindwtr/mindwtr.db`
40
+ - Windows, 1.3.2 and later: `%APPDATA%\mindwtr\data\mindwtr.db`
41
+ - Windows, 1.3.1 and earlier: `%APPDATA%\mindwtr\mindwtr.db`
42
+
43
+ Additional macOS paths for sandboxed builds:
44
+ - 1.3.2 and later: `~/Library/Containers/tech.dongdongbh.mindwtr/Data/Library/Application Support/mindwtr/data/mindwtr.db`
45
+ - 1.3.1 and earlier: `~/Library/Containers/tech.dongdongbh.mindwtr/Data/Library/Application Support/mindwtr/mindwtr.db`
39
46
 
40
- Additional macOS path for sandboxed builds:
41
- - `~/Library/Containers/tech.dongdongbh.mindwtr/Data/Library/Application Support/mindwtr/mindwtr.db`
47
+ A `--db` path pinned in an MCP client configuration keeps working across that move: if the file is not at the configured path, the server checks the matching `data` subfolder (or the parent folder) and reports on stderr which database it opened.
42
48
 
43
49
  If `mindwtr.db` is missing but `data.json` exists in the same desktop data folder, the MCP server will bootstrap a fresh SQLite database from that local data snapshot on first start.
44
50
  Desktop Settings → Sync → Local Data shows the exact storage location used by the app.