@squirrelnotes.app/mcp 1.31.4 → 1.31.6
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/dist/stdio-handler.js +34 -22
- package/package.json +2 -2
package/dist/stdio-handler.js
CHANGED
|
@@ -5,11 +5,20 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esm = (fn, res) => function __init() {
|
|
9
|
-
|
|
8
|
+
var __esm = (fn, res, err) => function __init() {
|
|
9
|
+
if (err) throw err[0];
|
|
10
|
+
try {
|
|
11
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
12
|
+
} catch (e) {
|
|
13
|
+
throw err = [e], e;
|
|
14
|
+
}
|
|
10
15
|
};
|
|
11
16
|
var __commonJS = (cb, mod) => function __require() {
|
|
12
|
-
|
|
17
|
+
try {
|
|
18
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
19
|
+
} catch (e) {
|
|
20
|
+
throw mod = 0, e;
|
|
21
|
+
}
|
|
13
22
|
};
|
|
14
23
|
var __export = (target, all) => {
|
|
15
24
|
for (var name in all)
|
|
@@ -81,13 +90,12 @@ function config(newConfig) {
|
|
|
81
90
|
Object.assign(globalConfig, newConfig);
|
|
82
91
|
return globalConfig;
|
|
83
92
|
}
|
|
84
|
-
var NEVER, $
|
|
93
|
+
var NEVER, $ZodAsyncError, globalConfig;
|
|
85
94
|
var init_core = __esm({
|
|
86
95
|
"node_modules/zod/v4/core/core.js"() {
|
|
87
96
|
NEVER = Object.freeze({
|
|
88
97
|
status: "aborted"
|
|
89
98
|
});
|
|
90
|
-
$brand = Symbol("zod_brand");
|
|
91
99
|
$ZodAsyncError = class extends Error {
|
|
92
100
|
constructor() {
|
|
93
101
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -2659,11 +2667,9 @@ var init_locales = __esm({
|
|
|
2659
2667
|
function registry() {
|
|
2660
2668
|
return new $ZodRegistry();
|
|
2661
2669
|
}
|
|
2662
|
-
var $
|
|
2670
|
+
var $ZodRegistry, globalRegistry;
|
|
2663
2671
|
var init_registries = __esm({
|
|
2664
2672
|
"node_modules/zod/v4/core/registries.js"() {
|
|
2665
|
-
$output = Symbol("ZodOutput");
|
|
2666
|
-
$input = Symbol("ZodInput");
|
|
2667
2673
|
$ZodRegistry = class {
|
|
2668
2674
|
constructor() {
|
|
2669
2675
|
this._map = /* @__PURE__ */ new Map();
|
|
@@ -4290,10 +4296,10 @@ var init_schemas2 = __esm({
|
|
|
4290
4296
|
};
|
|
4291
4297
|
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
4292
4298
|
inst.brand = () => inst;
|
|
4293
|
-
inst.register = (reg, meta) => {
|
|
4299
|
+
inst.register = ((reg, meta) => {
|
|
4294
4300
|
reg.add(inst, meta);
|
|
4295
4301
|
return inst;
|
|
4296
|
-
};
|
|
4302
|
+
});
|
|
4297
4303
|
inst.parse = (data, params) => parse2(inst, data, params, { callee: inst.parse });
|
|
4298
4304
|
inst.safeParse = (data, params) => safeParse2(inst, data, params);
|
|
4299
4305
|
inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
|
|
@@ -10156,7 +10162,7 @@ var init_types2 = __esm({
|
|
|
10156
10162
|
...processCreateParams(params)
|
|
10157
10163
|
});
|
|
10158
10164
|
};
|
|
10159
|
-
BRAND = Symbol("zod_brand");
|
|
10165
|
+
BRAND = /* @__PURE__ */ Symbol("zod_brand");
|
|
10160
10166
|
ZodBranded = class extends ZodType2 {
|
|
10161
10167
|
_parse(input) {
|
|
10162
10168
|
const { ctx } = this._processInputParams(input);
|
|
@@ -10330,14 +10336,14 @@ var init_types2 = __esm({
|
|
|
10330
10336
|
onumber = () => numberType().optional();
|
|
10331
10337
|
oboolean = () => booleanType().optional();
|
|
10332
10338
|
coerce = {
|
|
10333
|
-
string: (arg) => ZodString2.create({ ...arg, coerce: true }),
|
|
10334
|
-
number: (arg) => ZodNumber2.create({ ...arg, coerce: true }),
|
|
10335
|
-
boolean: (arg) => ZodBoolean2.create({
|
|
10339
|
+
string: ((arg) => ZodString2.create({ ...arg, coerce: true })),
|
|
10340
|
+
number: ((arg) => ZodNumber2.create({ ...arg, coerce: true })),
|
|
10341
|
+
boolean: ((arg) => ZodBoolean2.create({
|
|
10336
10342
|
...arg,
|
|
10337
10343
|
coerce: true
|
|
10338
|
-
}),
|
|
10339
|
-
bigint: (arg) => ZodBigInt.create({ ...arg, coerce: true }),
|
|
10340
|
-
date: (arg) => ZodDate.create({ ...arg, coerce: true })
|
|
10344
|
+
})),
|
|
10345
|
+
bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })),
|
|
10346
|
+
date: ((arg) => ZodDate.create({ ...arg, coerce: true }))
|
|
10341
10347
|
};
|
|
10342
10348
|
NEVER2 = INVALID;
|
|
10343
10349
|
}
|
|
@@ -10520,10 +10526,10 @@ var init_schemas3 = __esm({
|
|
|
10520
10526
|
};
|
|
10521
10527
|
inst.clone = (_def, params) => clone(inst, _def, params);
|
|
10522
10528
|
inst.brand = () => inst;
|
|
10523
|
-
inst.register = (reg, meta) => {
|
|
10529
|
+
inst.register = ((reg, meta) => {
|
|
10524
10530
|
reg.add(inst, meta);
|
|
10525
10531
|
return inst;
|
|
10526
|
-
};
|
|
10532
|
+
});
|
|
10527
10533
|
});
|
|
10528
10534
|
ZodMiniObject = /* @__PURE__ */ $constructor("ZodMiniObject", (inst, def) => {
|
|
10529
10535
|
$ZodObject.init(inst, def);
|
|
@@ -10742,7 +10748,7 @@ var init_interfaces = __esm({
|
|
|
10742
10748
|
var ignoreOverride, defaultOptions, getDefaultOptions;
|
|
10743
10749
|
var init_Options = __esm({
|
|
10744
10750
|
"node_modules/zod-to-json-schema/dist/esm/Options.js"() {
|
|
10745
|
-
ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
10751
|
+
ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
10746
10752
|
defaultOptions = {
|
|
10747
10753
|
name: void 0,
|
|
10748
10754
|
$refStrategy: "root",
|
|
@@ -17053,6 +17059,7 @@ var require_fast_uri = __commonJS({
|
|
|
17053
17059
|
return uriTokens.join("");
|
|
17054
17060
|
}
|
|
17055
17061
|
var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
17062
|
+
var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
|
|
17056
17063
|
function getParseError(parsed, matches) {
|
|
17057
17064
|
if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
|
|
17058
17065
|
return 'URI path must start with "/" when authority is present.';
|
|
@@ -17082,6 +17089,11 @@ var require_fast_uri = __commonJS({
|
|
|
17082
17089
|
uri = "//" + uri;
|
|
17083
17090
|
}
|
|
17084
17091
|
}
|
|
17092
|
+
const authorityMatch = uri.match(AUTHORITY_PREFIX);
|
|
17093
|
+
if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
|
|
17094
|
+
parsed.error = "URI authority must not contain a literal backslash.";
|
|
17095
|
+
malformedAuthorityOrPort = true;
|
|
17096
|
+
}
|
|
17085
17097
|
const matches = uri.match(URI_PARSE);
|
|
17086
17098
|
if (matches) {
|
|
17087
17099
|
parsed.scheme = matches[1];
|
|
@@ -17125,7 +17137,7 @@ var require_fast_uri = __commonJS({
|
|
|
17125
17137
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
|
|
17126
17138
|
if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
17127
17139
|
try {
|
|
17128
|
-
parsed.host = URL
|
|
17140
|
+
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
17129
17141
|
} catch (e) {
|
|
17130
17142
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
17131
17143
|
}
|
|
@@ -20906,7 +20918,7 @@ function getCompleter(schema) {
|
|
|
20906
20918
|
var COMPLETABLE_SYMBOL, McpZodTypeKind;
|
|
20907
20919
|
var init_completable = __esm({
|
|
20908
20920
|
"node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js"() {
|
|
20909
|
-
COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
|
|
20921
|
+
COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
20910
20922
|
(function(McpZodTypeKind2) {
|
|
20911
20923
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
20912
20924
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squirrelnotes.app/mcp",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.6",
|
|
4
4
|
"description": "MCP stdio CLI for Squirrel Notes — bridges AI agents to the encrypted note-taking API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@types/aws-lambda": "^8.10.145",
|
|
30
30
|
"@types/jest": "^30.0.0",
|
|
31
31
|
"@types/node": "^20.0.0",
|
|
32
|
-
"esbuild": "^0.
|
|
32
|
+
"esbuild": "^0.28.1",
|
|
33
33
|
"jest": "^29.7.0",
|
|
34
34
|
"ts-jest": "^29.1.5",
|
|
35
35
|
"tsx": "^4.21.0",
|