apple-notes-mcp 2.8.12 → 2.8.13

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 +4 -3
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -39708,7 +39708,7 @@ function visibleCharacters(html) {
39708
39708
  token++;
39709
39709
  if (part[0].startsWith("<")) continue;
39710
39710
  for (const item of part[0].matchAll(
39711
- /&(?:#[0-9]+;?|#x[0-9a-f]+;?|(?:amp|lt|gt|quot|apos|nbsp)(?:;|(?![a-z0-9=])))|[\s\S]/gi
39711
+ /&(?:#[0-9]+;?|#x[0-9a-f]+;?|(?:amp|lt|gt|quot|nbsp);?|apos;)|[\s\S]/gi
39712
39712
  )) {
39713
39713
  const value = decodeEntity(item[0]);
39714
39714
  for (let i = 0; i < value.length; i++) {
@@ -39770,7 +39770,8 @@ function enrichNoteRead(id2, rawBody) {
39770
39770
  warning: "Native tags, inline objects or checklists are present. Their state is not writable through AppleScript; full-body edits are blocked to preserve them."
39771
39771
  } : {}
39772
39772
  };
39773
- } catch {
39773
+ } catch (err) {
39774
+ const detail = err instanceof Error ? err.message : String(err);
39774
39775
  return {
39775
39776
  content: rawBody,
39776
39777
  links: metadata?.links ?? [],
@@ -39778,7 +39779,7 @@ function enrichNoteRead(id2, rawBody) {
39778
39779
  complete: false,
39779
39780
  writable: false,
39780
39781
  revision: metadata?.revision ?? "unavailable",
39781
- warning: "Rich Notes metadata could not be read or matched. Links/native tags may be missing from this view. Full-body edits are blocked; check Full Disk Access and retry after sync."
39782
+ warning: `Rich Notes metadata could not be read or matched. Links/native tags may be missing from this view. Full-body edits are blocked; check Full Disk Access and retry after sync. (${detail})`
39782
39783
  };
39783
39784
  }
39784
39785
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apple-notes-mcp",
3
- "version": "2.8.12",
3
+ "version": "2.8.13",
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",