apple-notes-mcp 2.6.1 → 2.6.2
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.
- package/build/index.js +1 -1
- package/package.json +4 -2
package/build/index.js
CHANGED
|
@@ -41697,7 +41697,7 @@ function detectChecklistAttempt(content) {
|
|
|
41697
41697
|
function htmlToText(html) {
|
|
41698
41698
|
return html.replace(/<[^>]*>/g, " ").replace(/&#x?[0-9a-f]+;/gi, " ").replace(/&[a-z]+;/gi, " ");
|
|
41699
41699
|
}
|
|
41700
|
-
var HASHTAG_RE =
|
|
41700
|
+
var HASHTAG_RE = new RegExp("(?<![\\p{L}\\p{N}_])#([\\p{L}\\p{N}_]*\\p{L}[\\p{L}\\p{N}_]*)", "gu");
|
|
41701
41701
|
function parseHashtags(body) {
|
|
41702
41702
|
if (!body) return [];
|
|
41703
41703
|
const text = htmlToText(body);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apple-notes-mcp",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
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",
|
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
|
-
"
|
|
77
|
+
"preinstall": "node -e \"const fs=require('fs');const ua=process.env.npm_config_user_agent||'';if(fs.existsSync('.git')&&!ua.startsWith('pnpm')){console.error('\\nThis repo uses pnpm. npm/yarn resolve dependencies off-lockfile and the committed bundle will mismatch CI.\\n\\n corepack enable && pnpm install --frozen-lockfile\\n');process.exit(1)}\"",
|
|
78
|
+
"build": "tsc --noEmit && esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --outfile=build/index.js --banner:js=\"import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);\"",
|
|
78
79
|
"start": "node build/index.js",
|
|
79
80
|
"dev": "tsc --watch",
|
|
80
81
|
"test": "vitest run",
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
"format": "prettier --write src",
|
|
88
89
|
"format:check": "prettier --check src",
|
|
89
90
|
"typecheck": "tsc --noEmit",
|
|
91
|
+
"sync:skills": "node scripts/sync-skills.mjs",
|
|
90
92
|
"version": "node scripts/sync-plugin-version.mjs && git add .claude-plugin .agents/plugins codex .hermes-plugin .antigravity-plugin"
|
|
91
93
|
}
|
|
92
94
|
}
|