apple-notes-mcp 2.5.11 → 2.5.12

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/build/index.js +7 -3
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -41396,9 +41396,13 @@ function getSyncStatus(useCache = true) {
41396
41396
  status.recentActivity = secondsAgo < RECENT_ACTIVITY_THRESHOLD_SECONDS;
41397
41397
  }
41398
41398
  const query = `
41399
- SELECT COUNT(*) FROM ZICCLOUDSTATE
41400
- WHERE ZCURRENTLOCALVERSION > ZLATESTVERSIONSYNCEDTOCLOUD
41401
- AND ZLATESTVERSIONSYNCEDTOCLOUD IS NOT NULL;
41399
+ SELECT COUNT(*) FROM ZICCLOUDSTATE state
41400
+ WHERE state.ZCURRENTLOCALVERSION > state.ZLATESTVERSIONSYNCEDTOCLOUD
41401
+ AND state.ZLATESTVERSIONSYNCEDTOCLOUD IS NOT NULL
41402
+ AND EXISTS (
41403
+ SELECT 1 FROM ZICCLOUDSYNCINGOBJECT object
41404
+ WHERE object.ZCLOUDSTATE = state.Z_PK
41405
+ );
41402
41406
  `;
41403
41407
  const result = execFileSync3(
41404
41408
  "sqlite3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apple-notes-mcp",
3
- "version": "2.5.11",
3
+ "version": "2.5.12",
4
4
  "description": "MCP server for Apple Notes - create, search, update, and manage notes via Claude and other AI assistants",
5
5
  "type": "module",
6
6
  "main": "build/index.js",