apple-numbers-mcp 1.3.4 → 1.3.5
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
|
@@ -28079,7 +28079,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
28079
28079
|
return run(schema);
|
|
28080
28080
|
}
|
|
28081
28081
|
|
|
28082
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
28082
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
28083
28083
|
function isZ4Schema(s) {
|
|
28084
28084
|
const schema = s;
|
|
28085
28085
|
return !!schema._zod;
|
|
@@ -31094,7 +31094,7 @@ function date4(params) {
|
|
|
31094
31094
|
return _coercedDate(ZodDate2, params);
|
|
31095
31095
|
}
|
|
31096
31096
|
|
|
31097
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
31097
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
31098
31098
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
31099
31099
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
31100
31100
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -32625,7 +32625,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
32625
32625
|
}
|
|
32626
32626
|
};
|
|
32627
32627
|
|
|
32628
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
32628
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
32629
32629
|
function isTerminal(status) {
|
|
32630
32630
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
32631
32631
|
}
|
|
@@ -33914,7 +33914,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
33914
33914
|
return combined;
|
|
33915
33915
|
};
|
|
33916
33916
|
|
|
33917
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
33917
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
33918
33918
|
function mapMiniTarget(t) {
|
|
33919
33919
|
if (!t)
|
|
33920
33920
|
return "draft-7";
|
|
@@ -33956,7 +33956,7 @@ function parseWithCompat(schema, data) {
|
|
|
33956
33956
|
return result.data;
|
|
33957
33957
|
}
|
|
33958
33958
|
|
|
33959
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
33959
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
33960
33960
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
33961
33961
|
var Protocol = class {
|
|
33962
33962
|
constructor(_options) {
|
|
@@ -34933,7 +34933,7 @@ function mergeCapabilities(base, additional) {
|
|
|
34933
34933
|
return result;
|
|
34934
34934
|
}
|
|
34935
34935
|
|
|
34936
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
34936
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
34937
34937
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
34938
34938
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
34939
34939
|
function createDefaultAjvInstance() {
|
|
@@ -35001,7 +35001,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
35001
35001
|
}
|
|
35002
35002
|
};
|
|
35003
35003
|
|
|
35004
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35004
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
35005
35005
|
var ExperimentalServerTasks = class {
|
|
35006
35006
|
constructor(_server) {
|
|
35007
35007
|
this._server = _server;
|
|
@@ -35214,7 +35214,7 @@ var ExperimentalServerTasks = class {
|
|
|
35214
35214
|
}
|
|
35215
35215
|
};
|
|
35216
35216
|
|
|
35217
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35217
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
35218
35218
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
35219
35219
|
if (!requests) {
|
|
35220
35220
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -35249,7 +35249,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
35249
35249
|
}
|
|
35250
35250
|
}
|
|
35251
35251
|
|
|
35252
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35252
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
35253
35253
|
var Server = class extends Protocol {
|
|
35254
35254
|
/**
|
|
35255
35255
|
* Initializes this server with the given name and version information.
|
|
@@ -35620,7 +35620,7 @@ var Server = class extends Protocol {
|
|
|
35620
35620
|
}
|
|
35621
35621
|
};
|
|
35622
35622
|
|
|
35623
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35623
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
35624
35624
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
35625
35625
|
function isCompletable(schema) {
|
|
35626
35626
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -35634,7 +35634,7 @@ var McpZodTypeKind;
|
|
|
35634
35634
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
35635
35635
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
35636
35636
|
|
|
35637
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35637
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js
|
|
35638
35638
|
var MAX_TEMPLATE_LENGTH = 1e6;
|
|
35639
35639
|
var MAX_VARIABLE_LENGTH = 1e6;
|
|
35640
35640
|
var MAX_TEMPLATE_EXPRESSIONS = 1e4;
|
|
@@ -35856,7 +35856,7 @@ var UriTemplate = class _UriTemplate {
|
|
|
35856
35856
|
}
|
|
35857
35857
|
};
|
|
35858
35858
|
|
|
35859
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35859
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
35860
35860
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
35861
35861
|
function validateToolName(name) {
|
|
35862
35862
|
const warnings = [];
|
|
@@ -35914,7 +35914,7 @@ function validateAndWarnToolName(name) {
|
|
|
35914
35914
|
return result.isValid;
|
|
35915
35915
|
}
|
|
35916
35916
|
|
|
35917
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35917
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
35918
35918
|
var ExperimentalMcpServerTasks = class {
|
|
35919
35919
|
constructor(_mcpServer) {
|
|
35920
35920
|
this._mcpServer = _mcpServer;
|
|
@@ -35929,7 +35929,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
35929
35929
|
}
|
|
35930
35930
|
};
|
|
35931
35931
|
|
|
35932
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
35932
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
35933
35933
|
function toolInputElementCount(value, max) {
|
|
35934
35934
|
let count = 0;
|
|
35935
35935
|
const stack = [value];
|
|
@@ -35978,6 +35978,15 @@ var McpServer = class {
|
|
|
35978
35978
|
this._promptHandlersInitialized = false;
|
|
35979
35979
|
this.server = new Server(serverInfo, options);
|
|
35980
35980
|
this._maxToolInputElements = resolveMaxToolInputElements(options?.maxToolInputElements);
|
|
35981
|
+
if (options?.capabilities?.tools) {
|
|
35982
|
+
this.setToolRequestHandlers();
|
|
35983
|
+
}
|
|
35984
|
+
if (options?.capabilities?.resources) {
|
|
35985
|
+
this.setResourceRequestHandlers();
|
|
35986
|
+
}
|
|
35987
|
+
if (options?.capabilities?.prompts) {
|
|
35988
|
+
this.setPromptRequestHandlers();
|
|
35989
|
+
}
|
|
35981
35990
|
}
|
|
35982
35991
|
/**
|
|
35983
35992
|
* Access experimental features.
|
|
@@ -36785,10 +36794,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
36785
36794
|
}
|
|
36786
36795
|
};
|
|
36787
36796
|
|
|
36788
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
36797
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
36789
36798
|
import process2 from "node:process";
|
|
36790
36799
|
|
|
36791
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
36800
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
36792
36801
|
var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
36793
36802
|
var ReadBuffer = class {
|
|
36794
36803
|
constructor(options) {
|
|
@@ -36825,7 +36834,7 @@ function serializeMessage(message) {
|
|
|
36825
36834
|
return JSON.stringify(message) + "\n";
|
|
36826
36835
|
}
|
|
36827
36836
|
|
|
36828
|
-
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.
|
|
36837
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
36829
36838
|
var StdioServerTransport = class {
|
|
36830
36839
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout, options) {
|
|
36831
36840
|
this._stdin = _stdin;
|
package/package.json
CHANGED