apple-notes-mcp 2.15.16 → 2.15.17
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 +26 -17
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -45558,7 +45558,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
45558
45558
|
return run(schema);
|
|
45559
45559
|
}
|
|
45560
45560
|
|
|
45561
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
45561
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
45562
45562
|
function isZ4Schema(s) {
|
|
45563
45563
|
const schema = s;
|
|
45564
45564
|
return !!schema._zod;
|
|
@@ -48573,7 +48573,7 @@ function date4(params) {
|
|
|
48573
48573
|
return _coercedDate(ZodDate2, params);
|
|
48574
48574
|
}
|
|
48575
48575
|
|
|
48576
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
48576
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
48577
48577
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
48578
48578
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
48579
48579
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -50104,7 +50104,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
50104
50104
|
}
|
|
50105
50105
|
};
|
|
50106
50106
|
|
|
50107
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
50107
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
50108
50108
|
function isTerminal(status) {
|
|
50109
50109
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
50110
50110
|
}
|
|
@@ -51393,7 +51393,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
51393
51393
|
return combined;
|
|
51394
51394
|
};
|
|
51395
51395
|
|
|
51396
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
51396
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
51397
51397
|
function mapMiniTarget(t) {
|
|
51398
51398
|
if (!t)
|
|
51399
51399
|
return "draft-7";
|
|
@@ -51435,7 +51435,7 @@ function parseWithCompat(schema, data) {
|
|
|
51435
51435
|
return result.data;
|
|
51436
51436
|
}
|
|
51437
51437
|
|
|
51438
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
51438
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
51439
51439
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
51440
51440
|
var Protocol = class {
|
|
51441
51441
|
constructor(_options) {
|
|
@@ -52412,7 +52412,7 @@ function mergeCapabilities(base, additional) {
|
|
|
52412
52412
|
return result;
|
|
52413
52413
|
}
|
|
52414
52414
|
|
|
52415
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
52415
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
52416
52416
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
52417
52417
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
52418
52418
|
function createDefaultAjvInstance() {
|
|
@@ -52480,7 +52480,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
52480
52480
|
}
|
|
52481
52481
|
};
|
|
52482
52482
|
|
|
52483
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
52483
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
52484
52484
|
var ExperimentalServerTasks = class {
|
|
52485
52485
|
constructor(_server) {
|
|
52486
52486
|
this._server = _server;
|
|
@@ -52693,7 +52693,7 @@ var ExperimentalServerTasks = class {
|
|
|
52693
52693
|
}
|
|
52694
52694
|
};
|
|
52695
52695
|
|
|
52696
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
52696
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
52697
52697
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
52698
52698
|
if (!requests) {
|
|
52699
52699
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -52728,7 +52728,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
52728
52728
|
}
|
|
52729
52729
|
}
|
|
52730
52730
|
|
|
52731
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
52731
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
52732
52732
|
var Server = class extends Protocol {
|
|
52733
52733
|
/**
|
|
52734
52734
|
* Initializes this server with the given name and version information.
|
|
@@ -53099,7 +53099,7 @@ var Server = class extends Protocol {
|
|
|
53099
53099
|
}
|
|
53100
53100
|
};
|
|
53101
53101
|
|
|
53102
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
53102
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
53103
53103
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
53104
53104
|
function isCompletable(schema) {
|
|
53105
53105
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -53113,7 +53113,7 @@ var McpZodTypeKind;
|
|
|
53113
53113
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
53114
53114
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
53115
53115
|
|
|
53116
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
53116
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js
|
|
53117
53117
|
var MAX_TEMPLATE_LENGTH = 1e6;
|
|
53118
53118
|
var MAX_VARIABLE_LENGTH = 1e6;
|
|
53119
53119
|
var MAX_TEMPLATE_EXPRESSIONS = 1e4;
|
|
@@ -53335,7 +53335,7 @@ var UriTemplate = class _UriTemplate {
|
|
|
53335
53335
|
}
|
|
53336
53336
|
};
|
|
53337
53337
|
|
|
53338
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
53338
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
53339
53339
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
53340
53340
|
function validateToolName(name) {
|
|
53341
53341
|
const warnings = [];
|
|
@@ -53393,7 +53393,7 @@ function validateAndWarnToolName(name) {
|
|
|
53393
53393
|
return result.isValid;
|
|
53394
53394
|
}
|
|
53395
53395
|
|
|
53396
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
53396
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
53397
53397
|
var ExperimentalMcpServerTasks = class {
|
|
53398
53398
|
constructor(_mcpServer) {
|
|
53399
53399
|
this._mcpServer = _mcpServer;
|
|
@@ -53408,7 +53408,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
53408
53408
|
}
|
|
53409
53409
|
};
|
|
53410
53410
|
|
|
53411
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
53411
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
53412
53412
|
function toolInputElementCount(value, max) {
|
|
53413
53413
|
let count = 0;
|
|
53414
53414
|
const stack = [value];
|
|
@@ -53457,6 +53457,15 @@ var McpServer = class {
|
|
|
53457
53457
|
this._promptHandlersInitialized = false;
|
|
53458
53458
|
this.server = new Server(serverInfo, options);
|
|
53459
53459
|
this._maxToolInputElements = resolveMaxToolInputElements(options?.maxToolInputElements);
|
|
53460
|
+
if (options?.capabilities?.tools) {
|
|
53461
|
+
this.setToolRequestHandlers();
|
|
53462
|
+
}
|
|
53463
|
+
if (options?.capabilities?.resources) {
|
|
53464
|
+
this.setResourceRequestHandlers();
|
|
53465
|
+
}
|
|
53466
|
+
if (options?.capabilities?.prompts) {
|
|
53467
|
+
this.setPromptRequestHandlers();
|
|
53468
|
+
}
|
|
53460
53469
|
}
|
|
53461
53470
|
/**
|
|
53462
53471
|
* Access experimental features.
|
|
@@ -54264,10 +54273,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
54264
54273
|
}
|
|
54265
54274
|
};
|
|
54266
54275
|
|
|
54267
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
54276
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
54268
54277
|
import process2 from "node:process";
|
|
54269
54278
|
|
|
54270
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
54279
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
54271
54280
|
var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
54272
54281
|
var ReadBuffer = class {
|
|
54273
54282
|
constructor(options) {
|
|
@@ -54304,7 +54313,7 @@ function serializeMessage(message) {
|
|
|
54304
54313
|
return JSON.stringify(message) + "\n";
|
|
54305
54314
|
}
|
|
54306
54315
|
|
|
54307
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
54316
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
54308
54317
|
var StdioServerTransport = class {
|
|
54309
54318
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout, options) {
|
|
54310
54319
|
this._stdin = _stdin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apple-notes-mcp",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.17",
|
|
4
4
|
"description": "MCP server for Apple Notes - read, search, create, edit, organize, and export notes on macOS via Claude and other AI assistants",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.js",
|