@llmnesia/mcp 0.2.11 → 0.2.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.
- package/README.md +40 -9
- package/dist/{chunk-ZYE6VY6A.js → chunk-GHKXNM7R.js} +1 -1
- package/dist/{chunk-7ISC4REX.js → chunk-QIRYUQIU.js} +241 -72
- package/dist/{cli-RQMFEW5J.js → cli-CMCIFSWH.js} +49 -32
- package/dist/cli.js +2 -2
- package/dist/llmnesia-claude-host.mjs +93 -13
- package/dist/llmnesia.mcpb +0 -0
- package/dist/mcp.js +301 -230
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/mcp.js
CHANGED
|
@@ -4,6 +4,7 @@ const require = __llmnesiaCreateRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
AUTO_MAINTENANCE_RECHECK_MS,
|
|
6
6
|
Corpus,
|
|
7
|
+
decodeImage,
|
|
7
8
|
describeOutcome,
|
|
8
9
|
drainInbox,
|
|
9
10
|
fingerprintConversation,
|
|
@@ -14,17 +15,17 @@ import {
|
|
|
14
15
|
runAutomaticMaintenance,
|
|
15
16
|
scheduleSelfUpdate,
|
|
16
17
|
upsertIndexedConversation
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QIRYUQIU.js";
|
|
18
19
|
import {
|
|
19
20
|
VERSION,
|
|
20
21
|
__commonJS,
|
|
21
22
|
__export,
|
|
22
23
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GHKXNM7R.js";
|
|
24
25
|
|
|
25
|
-
//
|
|
26
|
+
// ../node_modules/ajv/dist/compile/codegen/code.js
|
|
26
27
|
var require_code = __commonJS({
|
|
27
|
-
"
|
|
28
|
+
"../node_modules/ajv/dist/compile/codegen/code.js"(exports) {
|
|
28
29
|
"use strict";
|
|
29
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
31
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
@@ -176,9 +177,9 @@ var require_code = __commonJS({
|
|
|
176
177
|
}
|
|
177
178
|
});
|
|
178
179
|
|
|
179
|
-
//
|
|
180
|
+
// ../node_modules/ajv/dist/compile/codegen/scope.js
|
|
180
181
|
var require_scope = __commonJS({
|
|
181
|
-
"
|
|
182
|
+
"../node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
|
|
182
183
|
"use strict";
|
|
183
184
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184
185
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
@@ -321,9 +322,9 @@ var require_scope = __commonJS({
|
|
|
321
322
|
}
|
|
322
323
|
});
|
|
323
324
|
|
|
324
|
-
//
|
|
325
|
+
// ../node_modules/ajv/dist/compile/codegen/index.js
|
|
325
326
|
var require_codegen = __commonJS({
|
|
326
|
-
"
|
|
327
|
+
"../node_modules/ajv/dist/compile/codegen/index.js"(exports) {
|
|
327
328
|
"use strict";
|
|
328
329
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
329
330
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
@@ -1041,9 +1042,9 @@ var require_codegen = __commonJS({
|
|
|
1041
1042
|
}
|
|
1042
1043
|
});
|
|
1043
1044
|
|
|
1044
|
-
//
|
|
1045
|
+
// ../node_modules/ajv/dist/compile/util.js
|
|
1045
1046
|
var require_util = __commonJS({
|
|
1046
|
-
"
|
|
1047
|
+
"../node_modules/ajv/dist/compile/util.js"(exports) {
|
|
1047
1048
|
"use strict";
|
|
1048
1049
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1049
1050
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
@@ -1208,9 +1209,9 @@ var require_util = __commonJS({
|
|
|
1208
1209
|
}
|
|
1209
1210
|
});
|
|
1210
1211
|
|
|
1211
|
-
//
|
|
1212
|
+
// ../node_modules/ajv/dist/compile/names.js
|
|
1212
1213
|
var require_names = __commonJS({
|
|
1213
|
-
"
|
|
1214
|
+
"../node_modules/ajv/dist/compile/names.js"(exports) {
|
|
1214
1215
|
"use strict";
|
|
1215
1216
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1216
1217
|
var codegen_1 = require_codegen();
|
|
@@ -1247,9 +1248,9 @@ var require_names = __commonJS({
|
|
|
1247
1248
|
}
|
|
1248
1249
|
});
|
|
1249
1250
|
|
|
1250
|
-
//
|
|
1251
|
+
// ../node_modules/ajv/dist/compile/errors.js
|
|
1251
1252
|
var require_errors = __commonJS({
|
|
1252
|
-
"
|
|
1253
|
+
"../node_modules/ajv/dist/compile/errors.js"(exports) {
|
|
1253
1254
|
"use strict";
|
|
1254
1255
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1255
1256
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
@@ -1369,9 +1370,9 @@ var require_errors = __commonJS({
|
|
|
1369
1370
|
}
|
|
1370
1371
|
});
|
|
1371
1372
|
|
|
1372
|
-
//
|
|
1373
|
+
// ../node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1373
1374
|
var require_boolSchema = __commonJS({
|
|
1374
|
-
"
|
|
1375
|
+
"../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
|
|
1375
1376
|
"use strict";
|
|
1376
1377
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1377
1378
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
@@ -1420,9 +1421,9 @@ var require_boolSchema = __commonJS({
|
|
|
1420
1421
|
}
|
|
1421
1422
|
});
|
|
1422
1423
|
|
|
1423
|
-
//
|
|
1424
|
+
// ../node_modules/ajv/dist/compile/rules.js
|
|
1424
1425
|
var require_rules = __commonJS({
|
|
1425
|
-
"
|
|
1426
|
+
"../node_modules/ajv/dist/compile/rules.js"(exports) {
|
|
1426
1427
|
"use strict";
|
|
1427
1428
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1428
1429
|
exports.getRules = exports.isJSONType = void 0;
|
|
@@ -1451,9 +1452,9 @@ var require_rules = __commonJS({
|
|
|
1451
1452
|
}
|
|
1452
1453
|
});
|
|
1453
1454
|
|
|
1454
|
-
//
|
|
1455
|
+
// ../node_modules/ajv/dist/compile/validate/applicability.js
|
|
1455
1456
|
var require_applicability = __commonJS({
|
|
1456
|
-
"
|
|
1457
|
+
"../node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
|
|
1457
1458
|
"use strict";
|
|
1458
1459
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1459
1460
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
@@ -1474,9 +1475,9 @@ var require_applicability = __commonJS({
|
|
|
1474
1475
|
}
|
|
1475
1476
|
});
|
|
1476
1477
|
|
|
1477
|
-
//
|
|
1478
|
+
// ../node_modules/ajv/dist/compile/validate/dataType.js
|
|
1478
1479
|
var require_dataType = __commonJS({
|
|
1479
|
-
"
|
|
1480
|
+
"../node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
|
|
1480
1481
|
"use strict";
|
|
1481
1482
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1482
1483
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
@@ -1658,9 +1659,9 @@ var require_dataType = __commonJS({
|
|
|
1658
1659
|
}
|
|
1659
1660
|
});
|
|
1660
1661
|
|
|
1661
|
-
//
|
|
1662
|
+
// ../node_modules/ajv/dist/compile/validate/defaults.js
|
|
1662
1663
|
var require_defaults = __commonJS({
|
|
1663
|
-
"
|
|
1664
|
+
"../node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
|
|
1664
1665
|
"use strict";
|
|
1665
1666
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1666
1667
|
exports.assignDefaults = void 0;
|
|
@@ -1695,9 +1696,9 @@ var require_defaults = __commonJS({
|
|
|
1695
1696
|
}
|
|
1696
1697
|
});
|
|
1697
1698
|
|
|
1698
|
-
//
|
|
1699
|
+
// ../node_modules/ajv/dist/vocabularies/code.js
|
|
1699
1700
|
var require_code2 = __commonJS({
|
|
1700
|
-
"
|
|
1701
|
+
"../node_modules/ajv/dist/vocabularies/code.js"(exports) {
|
|
1701
1702
|
"use strict";
|
|
1702
1703
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1703
1704
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
@@ -1828,9 +1829,9 @@ var require_code2 = __commonJS({
|
|
|
1828
1829
|
}
|
|
1829
1830
|
});
|
|
1830
1831
|
|
|
1831
|
-
//
|
|
1832
|
+
// ../node_modules/ajv/dist/compile/validate/keyword.js
|
|
1832
1833
|
var require_keyword = __commonJS({
|
|
1833
|
-
"
|
|
1834
|
+
"../node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
|
|
1834
1835
|
"use strict";
|
|
1835
1836
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1836
1837
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
@@ -1946,9 +1947,9 @@ var require_keyword = __commonJS({
|
|
|
1946
1947
|
}
|
|
1947
1948
|
});
|
|
1948
1949
|
|
|
1949
|
-
//
|
|
1950
|
+
// ../node_modules/ajv/dist/compile/validate/subschema.js
|
|
1950
1951
|
var require_subschema = __commonJS({
|
|
1951
|
-
"
|
|
1952
|
+
"../node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
|
|
1952
1953
|
"use strict";
|
|
1953
1954
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1954
1955
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
@@ -2029,9 +2030,9 @@ var require_subschema = __commonJS({
|
|
|
2029
2030
|
}
|
|
2030
2031
|
});
|
|
2031
2032
|
|
|
2032
|
-
//
|
|
2033
|
+
// ../node_modules/fast-deep-equal/index.js
|
|
2033
2034
|
var require_fast_deep_equal = __commonJS({
|
|
2034
|
-
"
|
|
2035
|
+
"../node_modules/fast-deep-equal/index.js"(exports, module) {
|
|
2035
2036
|
"use strict";
|
|
2036
2037
|
module.exports = function equal(a, b) {
|
|
2037
2038
|
if (a === b) return true;
|
|
@@ -2064,9 +2065,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
2064
2065
|
}
|
|
2065
2066
|
});
|
|
2066
2067
|
|
|
2067
|
-
//
|
|
2068
|
+
// ../node_modules/json-schema-traverse/index.js
|
|
2068
2069
|
var require_json_schema_traverse = __commonJS({
|
|
2069
|
-
"
|
|
2070
|
+
"../node_modules/json-schema-traverse/index.js"(exports, module) {
|
|
2070
2071
|
"use strict";
|
|
2071
2072
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
2072
2073
|
if (typeof opts == "function") {
|
|
@@ -2152,9 +2153,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
2152
2153
|
}
|
|
2153
2154
|
});
|
|
2154
2155
|
|
|
2155
|
-
//
|
|
2156
|
+
// ../node_modules/ajv/dist/compile/resolve.js
|
|
2156
2157
|
var require_resolve = __commonJS({
|
|
2157
|
-
"
|
|
2158
|
+
"../node_modules/ajv/dist/compile/resolve.js"(exports) {
|
|
2158
2159
|
"use strict";
|
|
2159
2160
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2160
2161
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
@@ -2308,9 +2309,9 @@ var require_resolve = __commonJS({
|
|
|
2308
2309
|
}
|
|
2309
2310
|
});
|
|
2310
2311
|
|
|
2311
|
-
//
|
|
2312
|
+
// ../node_modules/ajv/dist/compile/validate/index.js
|
|
2312
2313
|
var require_validate = __commonJS({
|
|
2313
|
-
"
|
|
2314
|
+
"../node_modules/ajv/dist/compile/validate/index.js"(exports) {
|
|
2314
2315
|
"use strict";
|
|
2315
2316
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2316
2317
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
@@ -2816,9 +2817,9 @@ var require_validate = __commonJS({
|
|
|
2816
2817
|
}
|
|
2817
2818
|
});
|
|
2818
2819
|
|
|
2819
|
-
//
|
|
2820
|
+
// ../node_modules/ajv/dist/runtime/validation_error.js
|
|
2820
2821
|
var require_validation_error = __commonJS({
|
|
2821
|
-
"
|
|
2822
|
+
"../node_modules/ajv/dist/runtime/validation_error.js"(exports) {
|
|
2822
2823
|
"use strict";
|
|
2823
2824
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2824
2825
|
var ValidationError = class extends Error {
|
|
@@ -2832,9 +2833,9 @@ var require_validation_error = __commonJS({
|
|
|
2832
2833
|
}
|
|
2833
2834
|
});
|
|
2834
2835
|
|
|
2835
|
-
//
|
|
2836
|
+
// ../node_modules/ajv/dist/compile/ref_error.js
|
|
2836
2837
|
var require_ref_error = __commonJS({
|
|
2837
|
-
"
|
|
2838
|
+
"../node_modules/ajv/dist/compile/ref_error.js"(exports) {
|
|
2838
2839
|
"use strict";
|
|
2839
2840
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2840
2841
|
var resolve_1 = require_resolve();
|
|
@@ -2849,9 +2850,9 @@ var require_ref_error = __commonJS({
|
|
|
2849
2850
|
}
|
|
2850
2851
|
});
|
|
2851
2852
|
|
|
2852
|
-
//
|
|
2853
|
+
// ../node_modules/ajv/dist/compile/index.js
|
|
2853
2854
|
var require_compile = __commonJS({
|
|
2854
|
-
"
|
|
2855
|
+
"../node_modules/ajv/dist/compile/index.js"(exports) {
|
|
2855
2856
|
"use strict";
|
|
2856
2857
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2857
2858
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
@@ -3073,9 +3074,9 @@ var require_compile = __commonJS({
|
|
|
3073
3074
|
}
|
|
3074
3075
|
});
|
|
3075
3076
|
|
|
3076
|
-
//
|
|
3077
|
+
// ../node_modules/ajv/dist/refs/data.json
|
|
3077
3078
|
var require_data = __commonJS({
|
|
3078
|
-
"
|
|
3079
|
+
"../node_modules/ajv/dist/refs/data.json"(exports, module) {
|
|
3079
3080
|
module.exports = {
|
|
3080
3081
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
3081
3082
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -3092,9 +3093,9 @@ var require_data = __commonJS({
|
|
|
3092
3093
|
}
|
|
3093
3094
|
});
|
|
3094
3095
|
|
|
3095
|
-
//
|
|
3096
|
+
// ../node_modules/fast-uri/lib/utils.js
|
|
3096
3097
|
var require_utils = __commonJS({
|
|
3097
|
-
"
|
|
3098
|
+
"../node_modules/fast-uri/lib/utils.js"(exports, module) {
|
|
3098
3099
|
"use strict";
|
|
3099
3100
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3100
3101
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
@@ -3405,9 +3406,9 @@ var require_utils = __commonJS({
|
|
|
3405
3406
|
}
|
|
3406
3407
|
});
|
|
3407
3408
|
|
|
3408
|
-
//
|
|
3409
|
+
// ../node_modules/fast-uri/lib/schemes.js
|
|
3409
3410
|
var require_schemes = __commonJS({
|
|
3410
|
-
"
|
|
3411
|
+
"../node_modules/fast-uri/lib/schemes.js"(exports, module) {
|
|
3411
3412
|
"use strict";
|
|
3412
3413
|
var { isUUID } = require_utils();
|
|
3413
3414
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -3615,9 +3616,9 @@ var require_schemes = __commonJS({
|
|
|
3615
3616
|
}
|
|
3616
3617
|
});
|
|
3617
3618
|
|
|
3618
|
-
//
|
|
3619
|
+
// ../node_modules/fast-uri/index.js
|
|
3619
3620
|
var require_fast_uri = __commonJS({
|
|
3620
|
-
"
|
|
3621
|
+
"../node_modules/fast-uri/index.js"(exports, module) {
|
|
3621
3622
|
"use strict";
|
|
3622
3623
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3623
3624
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -3927,9 +3928,9 @@ var require_fast_uri = __commonJS({
|
|
|
3927
3928
|
}
|
|
3928
3929
|
});
|
|
3929
3930
|
|
|
3930
|
-
//
|
|
3931
|
+
// ../node_modules/ajv/dist/runtime/uri.js
|
|
3931
3932
|
var require_uri = __commonJS({
|
|
3932
|
-
"
|
|
3933
|
+
"../node_modules/ajv/dist/runtime/uri.js"(exports) {
|
|
3933
3934
|
"use strict";
|
|
3934
3935
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3935
3936
|
var uri = require_fast_uri();
|
|
@@ -3938,9 +3939,9 @@ var require_uri = __commonJS({
|
|
|
3938
3939
|
}
|
|
3939
3940
|
});
|
|
3940
3941
|
|
|
3941
|
-
//
|
|
3942
|
+
// ../node_modules/ajv/dist/core.js
|
|
3942
3943
|
var require_core = __commonJS({
|
|
3943
|
-
"
|
|
3944
|
+
"../node_modules/ajv/dist/core.js"(exports) {
|
|
3944
3945
|
"use strict";
|
|
3945
3946
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3946
3947
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
@@ -4549,9 +4550,9 @@ var require_core = __commonJS({
|
|
|
4549
4550
|
}
|
|
4550
4551
|
});
|
|
4551
4552
|
|
|
4552
|
-
//
|
|
4553
|
+
// ../node_modules/ajv/dist/vocabularies/core/id.js
|
|
4553
4554
|
var require_id = __commonJS({
|
|
4554
|
-
"
|
|
4555
|
+
"../node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
|
|
4555
4556
|
"use strict";
|
|
4556
4557
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4557
4558
|
var def = {
|
|
@@ -4564,9 +4565,9 @@ var require_id = __commonJS({
|
|
|
4564
4565
|
}
|
|
4565
4566
|
});
|
|
4566
4567
|
|
|
4567
|
-
//
|
|
4568
|
+
// ../node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4568
4569
|
var require_ref = __commonJS({
|
|
4569
|
-
"
|
|
4570
|
+
"../node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
|
|
4570
4571
|
"use strict";
|
|
4571
4572
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4572
4573
|
exports.callRef = exports.getValidate = void 0;
|
|
@@ -4686,9 +4687,9 @@ var require_ref = __commonJS({
|
|
|
4686
4687
|
}
|
|
4687
4688
|
});
|
|
4688
4689
|
|
|
4689
|
-
//
|
|
4690
|
+
// ../node_modules/ajv/dist/vocabularies/core/index.js
|
|
4690
4691
|
var require_core2 = __commonJS({
|
|
4691
|
-
"
|
|
4692
|
+
"../node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
|
|
4692
4693
|
"use strict";
|
|
4693
4694
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4694
4695
|
var id_1 = require_id();
|
|
@@ -4707,9 +4708,9 @@ var require_core2 = __commonJS({
|
|
|
4707
4708
|
}
|
|
4708
4709
|
});
|
|
4709
4710
|
|
|
4710
|
-
//
|
|
4711
|
+
// ../node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
4711
4712
|
var require_limitNumber = __commonJS({
|
|
4712
|
-
"
|
|
4713
|
+
"../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
|
|
4713
4714
|
"use strict";
|
|
4714
4715
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4715
4716
|
var codegen_1 = require_codegen();
|
|
@@ -4739,9 +4740,9 @@ var require_limitNumber = __commonJS({
|
|
|
4739
4740
|
}
|
|
4740
4741
|
});
|
|
4741
4742
|
|
|
4742
|
-
//
|
|
4743
|
+
// ../node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
4743
4744
|
var require_multipleOf = __commonJS({
|
|
4744
|
-
"
|
|
4745
|
+
"../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
|
|
4745
4746
|
"use strict";
|
|
4746
4747
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4747
4748
|
var codegen_1 = require_codegen();
|
|
@@ -4767,9 +4768,9 @@ var require_multipleOf = __commonJS({
|
|
|
4767
4768
|
}
|
|
4768
4769
|
});
|
|
4769
4770
|
|
|
4770
|
-
//
|
|
4771
|
+
// ../node_modules/ajv/dist/runtime/ucs2length.js
|
|
4771
4772
|
var require_ucs2length = __commonJS({
|
|
4772
|
-
"
|
|
4773
|
+
"../node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
|
|
4773
4774
|
"use strict";
|
|
4774
4775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4775
4776
|
function ucs2length(str) {
|
|
@@ -4793,9 +4794,9 @@ var require_ucs2length = __commonJS({
|
|
|
4793
4794
|
}
|
|
4794
4795
|
});
|
|
4795
4796
|
|
|
4796
|
-
//
|
|
4797
|
+
// ../node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
4797
4798
|
var require_limitLength = __commonJS({
|
|
4798
|
-
"
|
|
4799
|
+
"../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
|
|
4799
4800
|
"use strict";
|
|
4800
4801
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4801
4802
|
var codegen_1 = require_codegen();
|
|
@@ -4825,9 +4826,9 @@ var require_limitLength = __commonJS({
|
|
|
4825
4826
|
}
|
|
4826
4827
|
});
|
|
4827
4828
|
|
|
4828
|
-
//
|
|
4829
|
+
// ../node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
4829
4830
|
var require_pattern = __commonJS({
|
|
4830
|
-
"
|
|
4831
|
+
"../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
|
|
4831
4832
|
"use strict";
|
|
4832
4833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4833
4834
|
var code_1 = require_code2();
|
|
@@ -4862,9 +4863,9 @@ var require_pattern = __commonJS({
|
|
|
4862
4863
|
}
|
|
4863
4864
|
});
|
|
4864
4865
|
|
|
4865
|
-
//
|
|
4866
|
+
// ../node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
4866
4867
|
var require_limitProperties = __commonJS({
|
|
4867
|
-
"
|
|
4868
|
+
"../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
|
|
4868
4869
|
"use strict";
|
|
4869
4870
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4870
4871
|
var codegen_1 = require_codegen();
|
|
@@ -4891,9 +4892,9 @@ var require_limitProperties = __commonJS({
|
|
|
4891
4892
|
}
|
|
4892
4893
|
});
|
|
4893
4894
|
|
|
4894
|
-
//
|
|
4895
|
+
// ../node_modules/ajv/dist/vocabularies/validation/required.js
|
|
4895
4896
|
var require_required = __commonJS({
|
|
4896
|
-
"
|
|
4897
|
+
"../node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
|
|
4897
4898
|
"use strict";
|
|
4898
4899
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4899
4900
|
var code_1 = require_code2();
|
|
@@ -4973,9 +4974,9 @@ var require_required = __commonJS({
|
|
|
4973
4974
|
}
|
|
4974
4975
|
});
|
|
4975
4976
|
|
|
4976
|
-
//
|
|
4977
|
+
// ../node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
4977
4978
|
var require_limitItems = __commonJS({
|
|
4978
|
-
"
|
|
4979
|
+
"../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
|
|
4979
4980
|
"use strict";
|
|
4980
4981
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4981
4982
|
var codegen_1 = require_codegen();
|
|
@@ -5002,9 +5003,9 @@ var require_limitItems = __commonJS({
|
|
|
5002
5003
|
}
|
|
5003
5004
|
});
|
|
5004
5005
|
|
|
5005
|
-
//
|
|
5006
|
+
// ../node_modules/ajv/dist/runtime/equal.js
|
|
5006
5007
|
var require_equal = __commonJS({
|
|
5007
|
-
"
|
|
5008
|
+
"../node_modules/ajv/dist/runtime/equal.js"(exports) {
|
|
5008
5009
|
"use strict";
|
|
5009
5010
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5010
5011
|
var equal = require_fast_deep_equal();
|
|
@@ -5013,9 +5014,9 @@ var require_equal = __commonJS({
|
|
|
5013
5014
|
}
|
|
5014
5015
|
});
|
|
5015
5016
|
|
|
5016
|
-
//
|
|
5017
|
+
// ../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
5017
5018
|
var require_uniqueItems = __commonJS({
|
|
5018
|
-
"
|
|
5019
|
+
"../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
|
|
5019
5020
|
"use strict";
|
|
5020
5021
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5021
5022
|
var dataType_1 = require_dataType();
|
|
@@ -5080,9 +5081,9 @@ var require_uniqueItems = __commonJS({
|
|
|
5080
5081
|
}
|
|
5081
5082
|
});
|
|
5082
5083
|
|
|
5083
|
-
//
|
|
5084
|
+
// ../node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5084
5085
|
var require_const = __commonJS({
|
|
5085
|
-
"
|
|
5086
|
+
"../node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
|
|
5086
5087
|
"use strict";
|
|
5087
5088
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5088
5089
|
var codegen_1 = require_codegen();
|
|
@@ -5109,9 +5110,9 @@ var require_const = __commonJS({
|
|
|
5109
5110
|
}
|
|
5110
5111
|
});
|
|
5111
5112
|
|
|
5112
|
-
//
|
|
5113
|
+
// ../node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5113
5114
|
var require_enum = __commonJS({
|
|
5114
|
-
"
|
|
5115
|
+
"../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
|
|
5115
5116
|
"use strict";
|
|
5116
5117
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5117
5118
|
var codegen_1 = require_codegen();
|
|
@@ -5158,9 +5159,9 @@ var require_enum = __commonJS({
|
|
|
5158
5159
|
}
|
|
5159
5160
|
});
|
|
5160
5161
|
|
|
5161
|
-
//
|
|
5162
|
+
// ../node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5162
5163
|
var require_validation = __commonJS({
|
|
5163
|
-
"
|
|
5164
|
+
"../node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
|
|
5164
5165
|
"use strict";
|
|
5165
5166
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5166
5167
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -5196,9 +5197,9 @@ var require_validation = __commonJS({
|
|
|
5196
5197
|
}
|
|
5197
5198
|
});
|
|
5198
5199
|
|
|
5199
|
-
//
|
|
5200
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5200
5201
|
var require_additionalItems = __commonJS({
|
|
5201
|
-
"
|
|
5202
|
+
"../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
|
|
5202
5203
|
"use strict";
|
|
5203
5204
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5204
5205
|
exports.validateAdditionalItems = void 0;
|
|
@@ -5249,9 +5250,9 @@ var require_additionalItems = __commonJS({
|
|
|
5249
5250
|
}
|
|
5250
5251
|
});
|
|
5251
5252
|
|
|
5252
|
-
//
|
|
5253
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5253
5254
|
var require_items = __commonJS({
|
|
5254
|
-
"
|
|
5255
|
+
"../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
|
|
5255
5256
|
"use strict";
|
|
5256
5257
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5257
5258
|
exports.validateTuple = void 0;
|
|
@@ -5306,9 +5307,9 @@ var require_items = __commonJS({
|
|
|
5306
5307
|
}
|
|
5307
5308
|
});
|
|
5308
5309
|
|
|
5309
|
-
//
|
|
5310
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5310
5311
|
var require_prefixItems = __commonJS({
|
|
5311
|
-
"
|
|
5312
|
+
"../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
|
|
5312
5313
|
"use strict";
|
|
5313
5314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5314
5315
|
var items_1 = require_items();
|
|
@@ -5323,9 +5324,9 @@ var require_prefixItems = __commonJS({
|
|
|
5323
5324
|
}
|
|
5324
5325
|
});
|
|
5325
5326
|
|
|
5326
|
-
//
|
|
5327
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5327
5328
|
var require_items2020 = __commonJS({
|
|
5328
|
-
"
|
|
5329
|
+
"../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
|
|
5329
5330
|
"use strict";
|
|
5330
5331
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5331
5332
|
var codegen_1 = require_codegen();
|
|
@@ -5358,9 +5359,9 @@ var require_items2020 = __commonJS({
|
|
|
5358
5359
|
}
|
|
5359
5360
|
});
|
|
5360
5361
|
|
|
5361
|
-
//
|
|
5362
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5362
5363
|
var require_contains = __commonJS({
|
|
5363
|
-
"
|
|
5364
|
+
"../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
|
|
5364
5365
|
"use strict";
|
|
5365
5366
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5366
5367
|
var codegen_1 = require_codegen();
|
|
@@ -5452,9 +5453,9 @@ var require_contains = __commonJS({
|
|
|
5452
5453
|
}
|
|
5453
5454
|
});
|
|
5454
5455
|
|
|
5455
|
-
//
|
|
5456
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5456
5457
|
var require_dependencies = __commonJS({
|
|
5457
|
-
"
|
|
5458
|
+
"../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
|
|
5458
5459
|
"use strict";
|
|
5459
5460
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5460
5461
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
@@ -5546,9 +5547,9 @@ var require_dependencies = __commonJS({
|
|
|
5546
5547
|
}
|
|
5547
5548
|
});
|
|
5548
5549
|
|
|
5549
|
-
//
|
|
5550
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5550
5551
|
var require_propertyNames = __commonJS({
|
|
5551
|
-
"
|
|
5552
|
+
"../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
|
|
5552
5553
|
"use strict";
|
|
5553
5554
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5554
5555
|
var codegen_1 = require_codegen();
|
|
@@ -5589,9 +5590,9 @@ var require_propertyNames = __commonJS({
|
|
|
5589
5590
|
}
|
|
5590
5591
|
});
|
|
5591
5592
|
|
|
5592
|
-
//
|
|
5593
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5593
5594
|
var require_additionalProperties = __commonJS({
|
|
5594
|
-
"
|
|
5595
|
+
"../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
|
|
5595
5596
|
"use strict";
|
|
5596
5597
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5597
5598
|
var code_1 = require_code2();
|
|
@@ -5695,9 +5696,9 @@ var require_additionalProperties = __commonJS({
|
|
|
5695
5696
|
}
|
|
5696
5697
|
});
|
|
5697
5698
|
|
|
5698
|
-
//
|
|
5699
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5699
5700
|
var require_properties = __commonJS({
|
|
5700
|
-
"
|
|
5701
|
+
"../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
|
|
5701
5702
|
"use strict";
|
|
5702
5703
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5703
5704
|
var validate_1 = require_validate();
|
|
@@ -5753,9 +5754,9 @@ var require_properties = __commonJS({
|
|
|
5753
5754
|
}
|
|
5754
5755
|
});
|
|
5755
5756
|
|
|
5756
|
-
//
|
|
5757
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
5757
5758
|
var require_patternProperties = __commonJS({
|
|
5758
|
-
"
|
|
5759
|
+
"../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
|
|
5759
5760
|
"use strict";
|
|
5760
5761
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5761
5762
|
var code_1 = require_code2();
|
|
@@ -5827,9 +5828,9 @@ var require_patternProperties = __commonJS({
|
|
|
5827
5828
|
}
|
|
5828
5829
|
});
|
|
5829
5830
|
|
|
5830
|
-
//
|
|
5831
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
5831
5832
|
var require_not = __commonJS({
|
|
5832
|
-
"
|
|
5833
|
+
"../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
|
|
5833
5834
|
"use strict";
|
|
5834
5835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5835
5836
|
var util_1 = require_util();
|
|
@@ -5858,9 +5859,9 @@ var require_not = __commonJS({
|
|
|
5858
5859
|
}
|
|
5859
5860
|
});
|
|
5860
5861
|
|
|
5861
|
-
//
|
|
5862
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
5862
5863
|
var require_anyOf = __commonJS({
|
|
5863
|
-
"
|
|
5864
|
+
"../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
|
|
5864
5865
|
"use strict";
|
|
5865
5866
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5866
5867
|
var code_1 = require_code2();
|
|
@@ -5875,9 +5876,9 @@ var require_anyOf = __commonJS({
|
|
|
5875
5876
|
}
|
|
5876
5877
|
});
|
|
5877
5878
|
|
|
5878
|
-
//
|
|
5879
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
5879
5880
|
var require_oneOf = __commonJS({
|
|
5880
|
-
"
|
|
5881
|
+
"../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
|
|
5881
5882
|
"use strict";
|
|
5882
5883
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5883
5884
|
var codegen_1 = require_codegen();
|
|
@@ -5933,9 +5934,9 @@ var require_oneOf = __commonJS({
|
|
|
5933
5934
|
}
|
|
5934
5935
|
});
|
|
5935
5936
|
|
|
5936
|
-
//
|
|
5937
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
5937
5938
|
var require_allOf = __commonJS({
|
|
5938
|
-
"
|
|
5939
|
+
"../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
|
|
5939
5940
|
"use strict";
|
|
5940
5941
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5941
5942
|
var util_1 = require_util();
|
|
@@ -5960,9 +5961,9 @@ var require_allOf = __commonJS({
|
|
|
5960
5961
|
}
|
|
5961
5962
|
});
|
|
5962
5963
|
|
|
5963
|
-
//
|
|
5964
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
5964
5965
|
var require_if = __commonJS({
|
|
5965
|
-
"
|
|
5966
|
+
"../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
|
|
5966
5967
|
"use strict";
|
|
5967
5968
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5968
5969
|
var codegen_1 = require_codegen();
|
|
@@ -6029,9 +6030,9 @@ var require_if = __commonJS({
|
|
|
6029
6030
|
}
|
|
6030
6031
|
});
|
|
6031
6032
|
|
|
6032
|
-
//
|
|
6033
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6033
6034
|
var require_thenElse = __commonJS({
|
|
6034
|
-
"
|
|
6035
|
+
"../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
|
|
6035
6036
|
"use strict";
|
|
6036
6037
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6037
6038
|
var util_1 = require_util();
|
|
@@ -6047,9 +6048,9 @@ var require_thenElse = __commonJS({
|
|
|
6047
6048
|
}
|
|
6048
6049
|
});
|
|
6049
6050
|
|
|
6050
|
-
//
|
|
6051
|
+
// ../node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6051
6052
|
var require_applicator = __commonJS({
|
|
6052
|
-
"
|
|
6053
|
+
"../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
|
|
6053
6054
|
"use strict";
|
|
6054
6055
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6055
6056
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -6095,9 +6096,9 @@ var require_applicator = __commonJS({
|
|
|
6095
6096
|
}
|
|
6096
6097
|
});
|
|
6097
6098
|
|
|
6098
|
-
//
|
|
6099
|
+
// ../node_modules/ajv/dist/vocabularies/format/format.js
|
|
6099
6100
|
var require_format = __commonJS({
|
|
6100
|
-
"
|
|
6101
|
+
"../node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
|
|
6101
6102
|
"use strict";
|
|
6102
6103
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6103
6104
|
var codegen_1 = require_codegen();
|
|
@@ -6185,9 +6186,9 @@ var require_format = __commonJS({
|
|
|
6185
6186
|
}
|
|
6186
6187
|
});
|
|
6187
6188
|
|
|
6188
|
-
//
|
|
6189
|
+
// ../node_modules/ajv/dist/vocabularies/format/index.js
|
|
6189
6190
|
var require_format2 = __commonJS({
|
|
6190
|
-
"
|
|
6191
|
+
"../node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
|
|
6191
6192
|
"use strict";
|
|
6192
6193
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6193
6194
|
var format_1 = require_format();
|
|
@@ -6196,9 +6197,9 @@ var require_format2 = __commonJS({
|
|
|
6196
6197
|
}
|
|
6197
6198
|
});
|
|
6198
6199
|
|
|
6199
|
-
//
|
|
6200
|
+
// ../node_modules/ajv/dist/vocabularies/metadata.js
|
|
6200
6201
|
var require_metadata = __commonJS({
|
|
6201
|
-
"
|
|
6202
|
+
"../node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
|
|
6202
6203
|
"use strict";
|
|
6203
6204
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6204
6205
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
@@ -6219,9 +6220,9 @@ var require_metadata = __commonJS({
|
|
|
6219
6220
|
}
|
|
6220
6221
|
});
|
|
6221
6222
|
|
|
6222
|
-
//
|
|
6223
|
+
// ../node_modules/ajv/dist/vocabularies/draft7.js
|
|
6223
6224
|
var require_draft7 = __commonJS({
|
|
6224
|
-
"
|
|
6225
|
+
"../node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
|
|
6225
6226
|
"use strict";
|
|
6226
6227
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6227
6228
|
var core_1 = require_core2();
|
|
@@ -6241,9 +6242,9 @@ var require_draft7 = __commonJS({
|
|
|
6241
6242
|
}
|
|
6242
6243
|
});
|
|
6243
6244
|
|
|
6244
|
-
//
|
|
6245
|
+
// ../node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6245
6246
|
var require_types = __commonJS({
|
|
6246
|
-
"
|
|
6247
|
+
"../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
|
|
6247
6248
|
"use strict";
|
|
6248
6249
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6249
6250
|
exports.DiscrError = void 0;
|
|
@@ -6255,9 +6256,9 @@ var require_types = __commonJS({
|
|
|
6255
6256
|
}
|
|
6256
6257
|
});
|
|
6257
6258
|
|
|
6258
|
-
//
|
|
6259
|
+
// ../node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6259
6260
|
var require_discriminator = __commonJS({
|
|
6260
|
-
"
|
|
6261
|
+
"../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
|
|
6261
6262
|
"use strict";
|
|
6262
6263
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6263
6264
|
var codegen_1 = require_codegen();
|
|
@@ -6360,9 +6361,9 @@ var require_discriminator = __commonJS({
|
|
|
6360
6361
|
}
|
|
6361
6362
|
});
|
|
6362
6363
|
|
|
6363
|
-
//
|
|
6364
|
+
// ../node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6364
6365
|
var require_json_schema_draft_07 = __commonJS({
|
|
6365
|
-
"
|
|
6366
|
+
"../node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
|
|
6366
6367
|
module.exports = {
|
|
6367
6368
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6368
6369
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -6517,9 +6518,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
6517
6518
|
}
|
|
6518
6519
|
});
|
|
6519
6520
|
|
|
6520
|
-
//
|
|
6521
|
+
// ../node_modules/ajv/dist/ajv.js
|
|
6521
6522
|
var require_ajv = __commonJS({
|
|
6522
|
-
"
|
|
6523
|
+
"../node_modules/ajv/dist/ajv.js"(exports, module) {
|
|
6523
6524
|
"use strict";
|
|
6524
6525
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6525
6526
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
@@ -6587,9 +6588,9 @@ var require_ajv = __commonJS({
|
|
|
6587
6588
|
}
|
|
6588
6589
|
});
|
|
6589
6590
|
|
|
6590
|
-
//
|
|
6591
|
+
// ../node_modules/ajv-formats/dist/formats.js
|
|
6591
6592
|
var require_formats = __commonJS({
|
|
6592
|
-
"
|
|
6593
|
+
"../node_modules/ajv-formats/dist/formats.js"(exports) {
|
|
6593
6594
|
"use strict";
|
|
6594
6595
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6595
6596
|
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
@@ -6790,9 +6791,9 @@ var require_formats = __commonJS({
|
|
|
6790
6791
|
}
|
|
6791
6792
|
});
|
|
6792
6793
|
|
|
6793
|
-
//
|
|
6794
|
+
// ../node_modules/ajv-formats/dist/limit.js
|
|
6794
6795
|
var require_limit = __commonJS({
|
|
6795
|
-
"
|
|
6796
|
+
"../node_modules/ajv-formats/dist/limit.js"(exports) {
|
|
6796
6797
|
"use strict";
|
|
6797
6798
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6798
6799
|
exports.formatLimitDefinition = void 0;
|
|
@@ -6862,9 +6863,9 @@ var require_limit = __commonJS({
|
|
|
6862
6863
|
}
|
|
6863
6864
|
});
|
|
6864
6865
|
|
|
6865
|
-
//
|
|
6866
|
+
// ../node_modules/ajv-formats/dist/index.js
|
|
6866
6867
|
var require_dist = __commonJS({
|
|
6867
|
-
"
|
|
6868
|
+
"../node_modules/ajv-formats/dist/index.js"(exports, module) {
|
|
6868
6869
|
"use strict";
|
|
6869
6870
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6870
6871
|
var formats_1 = require_formats();
|
|
@@ -6904,7 +6905,7 @@ var require_dist = __commonJS({
|
|
|
6904
6905
|
}
|
|
6905
6906
|
});
|
|
6906
6907
|
|
|
6907
|
-
//
|
|
6908
|
+
// ../node_modules/zod/v3/external.js
|
|
6908
6909
|
var external_exports = {};
|
|
6909
6910
|
__export(external_exports, {
|
|
6910
6911
|
BRAND: () => BRAND,
|
|
@@ -7016,7 +7017,7 @@ __export(external_exports, {
|
|
|
7016
7017
|
void: () => voidType
|
|
7017
7018
|
});
|
|
7018
7019
|
|
|
7019
|
-
//
|
|
7020
|
+
// ../node_modules/zod/v3/helpers/util.js
|
|
7020
7021
|
var util;
|
|
7021
7022
|
(function(util2) {
|
|
7022
7023
|
util2.assertEqual = (_) => {
|
|
@@ -7150,7 +7151,7 @@ var getParsedType = (data) => {
|
|
|
7150
7151
|
}
|
|
7151
7152
|
};
|
|
7152
7153
|
|
|
7153
|
-
//
|
|
7154
|
+
// ../node_modules/zod/v3/ZodError.js
|
|
7154
7155
|
var ZodIssueCode = util.arrayToEnum([
|
|
7155
7156
|
"invalid_type",
|
|
7156
7157
|
"invalid_literal",
|
|
@@ -7268,7 +7269,7 @@ ZodError.create = (issues) => {
|
|
|
7268
7269
|
return error2;
|
|
7269
7270
|
};
|
|
7270
7271
|
|
|
7271
|
-
//
|
|
7272
|
+
// ../node_modules/zod/v3/locales/en.js
|
|
7272
7273
|
var errorMap = (issue2, _ctx) => {
|
|
7273
7274
|
let message;
|
|
7274
7275
|
switch (issue2.code) {
|
|
@@ -7371,7 +7372,7 @@ var errorMap = (issue2, _ctx) => {
|
|
|
7371
7372
|
};
|
|
7372
7373
|
var en_default = errorMap;
|
|
7373
7374
|
|
|
7374
|
-
//
|
|
7375
|
+
// ../node_modules/zod/v3/errors.js
|
|
7375
7376
|
var overrideErrorMap = en_default;
|
|
7376
7377
|
function setErrorMap(map) {
|
|
7377
7378
|
overrideErrorMap = map;
|
|
@@ -7380,7 +7381,7 @@ function getErrorMap() {
|
|
|
7380
7381
|
return overrideErrorMap;
|
|
7381
7382
|
}
|
|
7382
7383
|
|
|
7383
|
-
//
|
|
7384
|
+
// ../node_modules/zod/v3/helpers/parseUtil.js
|
|
7384
7385
|
var makeIssue = (params) => {
|
|
7385
7386
|
const { data, path: path2, errorMaps, issueData } = params;
|
|
7386
7387
|
const fullPath = [...path2, ...issueData.path || []];
|
|
@@ -7490,14 +7491,14 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
7490
7491
|
var isValid = (x) => x.status === "valid";
|
|
7491
7492
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
7492
7493
|
|
|
7493
|
-
//
|
|
7494
|
+
// ../node_modules/zod/v3/helpers/errorUtil.js
|
|
7494
7495
|
var errorUtil;
|
|
7495
7496
|
(function(errorUtil2) {
|
|
7496
7497
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
7497
7498
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
7498
7499
|
})(errorUtil || (errorUtil = {}));
|
|
7499
7500
|
|
|
7500
|
-
//
|
|
7501
|
+
// ../node_modules/zod/v3/types.js
|
|
7501
7502
|
var ParseInputLazyPath = class {
|
|
7502
7503
|
constructor(parent, value, path2, key) {
|
|
7503
7504
|
this._cachedPath = [];
|
|
@@ -10945,7 +10946,7 @@ var coerce = {
|
|
|
10945
10946
|
};
|
|
10946
10947
|
var NEVER = INVALID;
|
|
10947
10948
|
|
|
10948
|
-
//
|
|
10949
|
+
// ../node_modules/zod/v4/core/core.js
|
|
10949
10950
|
var NEVER2 = Object.freeze({
|
|
10950
10951
|
status: "aborted"
|
|
10951
10952
|
});
|
|
@@ -11004,7 +11005,7 @@ function config(newConfig) {
|
|
|
11004
11005
|
return globalConfig;
|
|
11005
11006
|
}
|
|
11006
11007
|
|
|
11007
|
-
//
|
|
11008
|
+
// ../node_modules/zod/v4/core/util.js
|
|
11008
11009
|
var util_exports = {};
|
|
11009
11010
|
__export(util_exports, {
|
|
11010
11011
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -11525,7 +11526,7 @@ var Class = class {
|
|
|
11525
11526
|
}
|
|
11526
11527
|
};
|
|
11527
11528
|
|
|
11528
|
-
//
|
|
11529
|
+
// ../node_modules/zod/v4/core/errors.js
|
|
11529
11530
|
var initializer = (inst, def) => {
|
|
11530
11531
|
inst.name = "$ZodError";
|
|
11531
11532
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -11600,7 +11601,7 @@ function formatError(error2, _mapper) {
|
|
|
11600
11601
|
return fieldErrors;
|
|
11601
11602
|
}
|
|
11602
11603
|
|
|
11603
|
-
//
|
|
11604
|
+
// ../node_modules/zod/v4/core/parse.js
|
|
11604
11605
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
11605
11606
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
11606
11607
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -11652,7 +11653,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
11652
11653
|
};
|
|
11653
11654
|
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
11654
11655
|
|
|
11655
|
-
//
|
|
11656
|
+
// ../node_modules/zod/v4/core/regexes.js
|
|
11656
11657
|
var cuid = /^[cC][^\s-]{8,}$/;
|
|
11657
11658
|
var cuid2 = /^[0-9a-z]+$/;
|
|
11658
11659
|
var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
@@ -11710,7 +11711,7 @@ var _null = /null/i;
|
|
|
11710
11711
|
var lowercase = /^[^A-Z]*$/;
|
|
11711
11712
|
var uppercase = /^[^a-z]*$/;
|
|
11712
11713
|
|
|
11713
|
-
//
|
|
11714
|
+
// ../node_modules/zod/v4/core/checks.js
|
|
11714
11715
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
11715
11716
|
var _a;
|
|
11716
11717
|
inst._zod ?? (inst._zod = {});
|
|
@@ -12095,7 +12096,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
12095
12096
|
};
|
|
12096
12097
|
});
|
|
12097
12098
|
|
|
12098
|
-
//
|
|
12099
|
+
// ../node_modules/zod/v4/core/doc.js
|
|
12099
12100
|
var Doc = class {
|
|
12100
12101
|
constructor(args = []) {
|
|
12101
12102
|
this.content = [];
|
|
@@ -12131,14 +12132,14 @@ var Doc = class {
|
|
|
12131
12132
|
}
|
|
12132
12133
|
};
|
|
12133
12134
|
|
|
12134
|
-
//
|
|
12135
|
+
// ../node_modules/zod/v4/core/versions.js
|
|
12135
12136
|
var version = {
|
|
12136
12137
|
major: 4,
|
|
12137
12138
|
minor: 0,
|
|
12138
12139
|
patch: 0
|
|
12139
12140
|
};
|
|
12140
12141
|
|
|
12141
|
-
//
|
|
12142
|
+
// ../node_modules/zod/v4/core/schemas.js
|
|
12142
12143
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
12143
12144
|
var _a;
|
|
12144
12145
|
inst ?? (inst = {});
|
|
@@ -13376,7 +13377,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
13376
13377
|
}
|
|
13377
13378
|
}
|
|
13378
13379
|
|
|
13379
|
-
//
|
|
13380
|
+
// ../node_modules/zod/v4/locales/en.js
|
|
13380
13381
|
var parsedType = (data) => {
|
|
13381
13382
|
const t = typeof data;
|
|
13382
13383
|
switch (t) {
|
|
@@ -13494,7 +13495,7 @@ function en_default2() {
|
|
|
13494
13495
|
};
|
|
13495
13496
|
}
|
|
13496
13497
|
|
|
13497
|
-
//
|
|
13498
|
+
// ../node_modules/zod/v4/core/registries.js
|
|
13498
13499
|
var $ZodRegistry = class {
|
|
13499
13500
|
constructor() {
|
|
13500
13501
|
this._map = /* @__PURE__ */ new Map();
|
|
@@ -13542,7 +13543,7 @@ function registry() {
|
|
|
13542
13543
|
}
|
|
13543
13544
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
13544
13545
|
|
|
13545
|
-
//
|
|
13546
|
+
// ../node_modules/zod/v4/core/api.js
|
|
13546
13547
|
function _string(Class2, params) {
|
|
13547
13548
|
return new Class2({
|
|
13548
13549
|
type: "string",
|
|
@@ -13981,7 +13982,7 @@ function _refine(Class2, fn, _params) {
|
|
|
13981
13982
|
return schema;
|
|
13982
13983
|
}
|
|
13983
13984
|
|
|
13984
|
-
//
|
|
13985
|
+
// ../node_modules/zod/v4/core/to-json-schema.js
|
|
13985
13986
|
var JSONSchemaGenerator = class {
|
|
13986
13987
|
constructor(params) {
|
|
13987
13988
|
this.counter = 0;
|
|
@@ -14748,7 +14749,7 @@ function isTransforming(_schema, _ctx) {
|
|
|
14748
14749
|
throw new Error(`Unknown schema type: ${def.type}`);
|
|
14749
14750
|
}
|
|
14750
14751
|
|
|
14751
|
-
//
|
|
14752
|
+
// ../node_modules/zod/v4/mini/schemas.js
|
|
14752
14753
|
var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
14753
14754
|
if (!inst._zod)
|
|
14754
14755
|
throw new Error("Uninitialized schema in ZodMiniType.");
|
|
@@ -14794,7 +14795,7 @@ function object(shape, params) {
|
|
|
14794
14795
|
return new ZodMiniObject(def);
|
|
14795
14796
|
}
|
|
14796
14797
|
|
|
14797
|
-
//
|
|
14798
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
14798
14799
|
function isZ4Schema(s) {
|
|
14799
14800
|
const schema = s;
|
|
14800
14801
|
return !!schema._zod;
|
|
@@ -14954,7 +14955,7 @@ function getLiteralValue(schema) {
|
|
|
14954
14955
|
return void 0;
|
|
14955
14956
|
}
|
|
14956
14957
|
|
|
14957
|
-
//
|
|
14958
|
+
// ../node_modules/zod/v4/classic/iso.js
|
|
14958
14959
|
var iso_exports2 = {};
|
|
14959
14960
|
__export(iso_exports2, {
|
|
14960
14961
|
ZodISODate: () => ZodISODate,
|
|
@@ -14995,7 +14996,7 @@ function duration2(params) {
|
|
|
14995
14996
|
return _isoDuration(ZodISODuration, params);
|
|
14996
14997
|
}
|
|
14997
14998
|
|
|
14998
|
-
//
|
|
14999
|
+
// ../node_modules/zod/v4/classic/errors.js
|
|
14999
15000
|
var initializer2 = (inst, issues) => {
|
|
15000
15001
|
$ZodError.init(inst, issues);
|
|
15001
15002
|
inst.name = "ZodError";
|
|
@@ -15029,13 +15030,13 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
15029
15030
|
Parent: Error
|
|
15030
15031
|
});
|
|
15031
15032
|
|
|
15032
|
-
//
|
|
15033
|
+
// ../node_modules/zod/v4/classic/parse.js
|
|
15033
15034
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
15034
15035
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
15035
15036
|
var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
15036
15037
|
var safeParseAsync3 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
15037
15038
|
|
|
15038
|
-
//
|
|
15039
|
+
// ../node_modules/zod/v4/classic/schemas.js
|
|
15039
15040
|
var ZodType2 = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
15040
15041
|
$ZodType.init(inst, def);
|
|
15041
15042
|
inst.def = def;
|
|
@@ -15646,10 +15647,10 @@ function preprocess(fn, schema) {
|
|
|
15646
15647
|
return pipe(transform(fn), schema);
|
|
15647
15648
|
}
|
|
15648
15649
|
|
|
15649
|
-
//
|
|
15650
|
+
// ../node_modules/zod/v4/classic/external.js
|
|
15650
15651
|
config(en_default2());
|
|
15651
15652
|
|
|
15652
|
-
//
|
|
15653
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
15653
15654
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
15654
15655
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
15655
15656
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -17180,12 +17181,12 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
17180
17181
|
}
|
|
17181
17182
|
};
|
|
17182
17183
|
|
|
17183
|
-
//
|
|
17184
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
17184
17185
|
function isTerminal(status) {
|
|
17185
17186
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
17186
17187
|
}
|
|
17187
17188
|
|
|
17188
|
-
//
|
|
17189
|
+
// ../node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
17189
17190
|
var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
17190
17191
|
var defaultOptions = {
|
|
17191
17192
|
name: void 0,
|
|
@@ -17219,7 +17220,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
17219
17220
|
...options
|
|
17220
17221
|
};
|
|
17221
17222
|
|
|
17222
|
-
//
|
|
17223
|
+
// ../node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
17223
17224
|
var getRefs = (options) => {
|
|
17224
17225
|
const _options = getDefaultOptions(options);
|
|
17225
17226
|
const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
|
|
@@ -17240,7 +17241,7 @@ var getRefs = (options) => {
|
|
|
17240
17241
|
};
|
|
17241
17242
|
};
|
|
17242
17243
|
|
|
17243
|
-
//
|
|
17244
|
+
// ../node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
17244
17245
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
17245
17246
|
if (!refs?.errorMessages)
|
|
17246
17247
|
return;
|
|
@@ -17256,7 +17257,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
|
|
|
17256
17257
|
addErrorMessage(res, key, errorMessage, refs);
|
|
17257
17258
|
}
|
|
17258
17259
|
|
|
17259
|
-
//
|
|
17260
|
+
// ../node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
|
|
17260
17261
|
var getRelativePath = (pathA, pathB) => {
|
|
17261
17262
|
let i = 0;
|
|
17262
17263
|
for (; i < pathA.length && i < pathB.length; i++) {
|
|
@@ -17266,7 +17267,7 @@ var getRelativePath = (pathA, pathB) => {
|
|
|
17266
17267
|
return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
|
|
17267
17268
|
};
|
|
17268
17269
|
|
|
17269
|
-
//
|
|
17270
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
17270
17271
|
function parseAnyDef(refs) {
|
|
17271
17272
|
if (refs.target !== "openAi") {
|
|
17272
17273
|
return {};
|
|
@@ -17282,7 +17283,7 @@ function parseAnyDef(refs) {
|
|
|
17282
17283
|
};
|
|
17283
17284
|
}
|
|
17284
17285
|
|
|
17285
|
-
//
|
|
17286
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
17286
17287
|
function parseArrayDef(def, refs) {
|
|
17287
17288
|
const res = {
|
|
17288
17289
|
type: "array"
|
|
@@ -17306,7 +17307,7 @@ function parseArrayDef(def, refs) {
|
|
|
17306
17307
|
return res;
|
|
17307
17308
|
}
|
|
17308
17309
|
|
|
17309
|
-
//
|
|
17310
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
17310
17311
|
function parseBigintDef(def, refs) {
|
|
17311
17312
|
const res = {
|
|
17312
17313
|
type: "integer",
|
|
@@ -17352,24 +17353,24 @@ function parseBigintDef(def, refs) {
|
|
|
17352
17353
|
return res;
|
|
17353
17354
|
}
|
|
17354
17355
|
|
|
17355
|
-
//
|
|
17356
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
17356
17357
|
function parseBooleanDef() {
|
|
17357
17358
|
return {
|
|
17358
17359
|
type: "boolean"
|
|
17359
17360
|
};
|
|
17360
17361
|
}
|
|
17361
17362
|
|
|
17362
|
-
//
|
|
17363
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
17363
17364
|
function parseBrandedDef(_def, refs) {
|
|
17364
17365
|
return parseDef(_def.type._def, refs);
|
|
17365
17366
|
}
|
|
17366
17367
|
|
|
17367
|
-
//
|
|
17368
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
17368
17369
|
var parseCatchDef = (def, refs) => {
|
|
17369
17370
|
return parseDef(def.innerType._def, refs);
|
|
17370
17371
|
};
|
|
17371
17372
|
|
|
17372
|
-
//
|
|
17373
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
17373
17374
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
17374
17375
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
17375
17376
|
if (Array.isArray(strategy)) {
|
|
@@ -17428,7 +17429,7 @@ var integerDateParser = (def, refs) => {
|
|
|
17428
17429
|
return res;
|
|
17429
17430
|
};
|
|
17430
17431
|
|
|
17431
|
-
//
|
|
17432
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
17432
17433
|
function parseDefaultDef(_def, refs) {
|
|
17433
17434
|
return {
|
|
17434
17435
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -17436,12 +17437,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
17436
17437
|
};
|
|
17437
17438
|
}
|
|
17438
17439
|
|
|
17439
|
-
//
|
|
17440
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
17440
17441
|
function parseEffectsDef(_def, refs) {
|
|
17441
17442
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
17442
17443
|
}
|
|
17443
17444
|
|
|
17444
|
-
//
|
|
17445
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
17445
17446
|
function parseEnumDef(def) {
|
|
17446
17447
|
return {
|
|
17447
17448
|
type: "string",
|
|
@@ -17449,7 +17450,7 @@ function parseEnumDef(def) {
|
|
|
17449
17450
|
};
|
|
17450
17451
|
}
|
|
17451
17452
|
|
|
17452
|
-
//
|
|
17453
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
17453
17454
|
var isJsonSchema7AllOfType = (type) => {
|
|
17454
17455
|
if ("type" in type && type.type === "string")
|
|
17455
17456
|
return false;
|
|
@@ -17491,7 +17492,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
17491
17492
|
} : void 0;
|
|
17492
17493
|
}
|
|
17493
17494
|
|
|
17494
|
-
//
|
|
17495
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
17495
17496
|
function parseLiteralDef(def, refs) {
|
|
17496
17497
|
const parsedType2 = typeof def.value;
|
|
17497
17498
|
if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") {
|
|
@@ -17511,7 +17512,7 @@ function parseLiteralDef(def, refs) {
|
|
|
17511
17512
|
};
|
|
17512
17513
|
}
|
|
17513
17514
|
|
|
17514
|
-
//
|
|
17515
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
17515
17516
|
var emojiRegex2 = void 0;
|
|
17516
17517
|
var zodPatterns = {
|
|
17517
17518
|
/**
|
|
@@ -17836,7 +17837,7 @@ function stringifyRegExpWithFlags(regex, refs) {
|
|
|
17836
17837
|
return pattern;
|
|
17837
17838
|
}
|
|
17838
17839
|
|
|
17839
|
-
//
|
|
17840
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
17840
17841
|
function parseRecordDef(def, refs) {
|
|
17841
17842
|
if (refs.target === "openAi") {
|
|
17842
17843
|
console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
@@ -17888,7 +17889,7 @@ function parseRecordDef(def, refs) {
|
|
|
17888
17889
|
return schema;
|
|
17889
17890
|
}
|
|
17890
17891
|
|
|
17891
|
-
//
|
|
17892
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
17892
17893
|
function parseMapDef(def, refs) {
|
|
17893
17894
|
if (refs.mapStrategy === "record") {
|
|
17894
17895
|
return parseRecordDef(def, refs);
|
|
@@ -17913,7 +17914,7 @@ function parseMapDef(def, refs) {
|
|
|
17913
17914
|
};
|
|
17914
17915
|
}
|
|
17915
17916
|
|
|
17916
|
-
//
|
|
17917
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
17917
17918
|
function parseNativeEnumDef(def) {
|
|
17918
17919
|
const object3 = def.values;
|
|
17919
17920
|
const actualKeys = Object.keys(def.values).filter((key) => {
|
|
@@ -17927,7 +17928,7 @@ function parseNativeEnumDef(def) {
|
|
|
17927
17928
|
};
|
|
17928
17929
|
}
|
|
17929
17930
|
|
|
17930
|
-
//
|
|
17931
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
17931
17932
|
function parseNeverDef(refs) {
|
|
17932
17933
|
return refs.target === "openAi" ? void 0 : {
|
|
17933
17934
|
not: parseAnyDef({
|
|
@@ -17937,7 +17938,7 @@ function parseNeverDef(refs) {
|
|
|
17937
17938
|
};
|
|
17938
17939
|
}
|
|
17939
17940
|
|
|
17940
|
-
//
|
|
17941
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
17941
17942
|
function parseNullDef(refs) {
|
|
17942
17943
|
return refs.target === "openApi3" ? {
|
|
17943
17944
|
enum: ["null"],
|
|
@@ -17947,7 +17948,7 @@ function parseNullDef(refs) {
|
|
|
17947
17948
|
};
|
|
17948
17949
|
}
|
|
17949
17950
|
|
|
17950
|
-
//
|
|
17951
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
17951
17952
|
var primitiveMappings = {
|
|
17952
17953
|
ZodString: "string",
|
|
17953
17954
|
ZodNumber: "number",
|
|
@@ -18015,7 +18016,7 @@ var asAnyOf = (def, refs) => {
|
|
|
18015
18016
|
return anyOf.length ? { anyOf } : void 0;
|
|
18016
18017
|
};
|
|
18017
18018
|
|
|
18018
|
-
//
|
|
18019
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
18019
18020
|
function parseNullableDef(def, refs) {
|
|
18020
18021
|
if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
|
|
18021
18022
|
if (refs.target === "openApi3") {
|
|
@@ -18047,7 +18048,7 @@ function parseNullableDef(def, refs) {
|
|
|
18047
18048
|
return base && { anyOf: [base, { type: "null" }] };
|
|
18048
18049
|
}
|
|
18049
18050
|
|
|
18050
|
-
//
|
|
18051
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
18051
18052
|
function parseNumberDef(def, refs) {
|
|
18052
18053
|
const res = {
|
|
18053
18054
|
type: "number"
|
|
@@ -18096,7 +18097,7 @@ function parseNumberDef(def, refs) {
|
|
|
18096
18097
|
return res;
|
|
18097
18098
|
}
|
|
18098
18099
|
|
|
18099
|
-
//
|
|
18100
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
18100
18101
|
function parseObjectDef(def, refs) {
|
|
18101
18102
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
18102
18103
|
const result = {
|
|
@@ -18166,7 +18167,7 @@ function safeIsOptional(schema) {
|
|
|
18166
18167
|
}
|
|
18167
18168
|
}
|
|
18168
18169
|
|
|
18169
|
-
//
|
|
18170
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
18170
18171
|
var parseOptionalDef = (def, refs) => {
|
|
18171
18172
|
if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
|
|
18172
18173
|
return parseDef(def.innerType._def, refs);
|
|
@@ -18185,7 +18186,7 @@ var parseOptionalDef = (def, refs) => {
|
|
|
18185
18186
|
} : parseAnyDef(refs);
|
|
18186
18187
|
};
|
|
18187
18188
|
|
|
18188
|
-
//
|
|
18189
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
18189
18190
|
var parsePipelineDef = (def, refs) => {
|
|
18190
18191
|
if (refs.pipeStrategy === "input") {
|
|
18191
18192
|
return parseDef(def.in._def, refs);
|
|
@@ -18205,12 +18206,12 @@ var parsePipelineDef = (def, refs) => {
|
|
|
18205
18206
|
};
|
|
18206
18207
|
};
|
|
18207
18208
|
|
|
18208
|
-
//
|
|
18209
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
18209
18210
|
function parsePromiseDef(def, refs) {
|
|
18210
18211
|
return parseDef(def.type._def, refs);
|
|
18211
18212
|
}
|
|
18212
18213
|
|
|
18213
|
-
//
|
|
18214
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
18214
18215
|
function parseSetDef(def, refs) {
|
|
18215
18216
|
const items = parseDef(def.valueType._def, {
|
|
18216
18217
|
...refs,
|
|
@@ -18230,7 +18231,7 @@ function parseSetDef(def, refs) {
|
|
|
18230
18231
|
return schema;
|
|
18231
18232
|
}
|
|
18232
18233
|
|
|
18233
|
-
//
|
|
18234
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
18234
18235
|
function parseTupleDef(def, refs) {
|
|
18235
18236
|
if (def.rest) {
|
|
18236
18237
|
return {
|
|
@@ -18258,24 +18259,24 @@ function parseTupleDef(def, refs) {
|
|
|
18258
18259
|
}
|
|
18259
18260
|
}
|
|
18260
18261
|
|
|
18261
|
-
//
|
|
18262
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
18262
18263
|
function parseUndefinedDef(refs) {
|
|
18263
18264
|
return {
|
|
18264
18265
|
not: parseAnyDef(refs)
|
|
18265
18266
|
};
|
|
18266
18267
|
}
|
|
18267
18268
|
|
|
18268
|
-
//
|
|
18269
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
18269
18270
|
function parseUnknownDef(refs) {
|
|
18270
18271
|
return parseAnyDef(refs);
|
|
18271
18272
|
}
|
|
18272
18273
|
|
|
18273
|
-
//
|
|
18274
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
18274
18275
|
var parseReadonlyDef = (def, refs) => {
|
|
18275
18276
|
return parseDef(def.innerType._def, refs);
|
|
18276
18277
|
};
|
|
18277
18278
|
|
|
18278
|
-
//
|
|
18279
|
+
// ../node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
18279
18280
|
var selectParser = (def, typeName, refs) => {
|
|
18280
18281
|
switch (typeName) {
|
|
18281
18282
|
case ZodFirstPartyTypeKind.ZodString:
|
|
@@ -18351,7 +18352,7 @@ var selectParser = (def, typeName, refs) => {
|
|
|
18351
18352
|
}
|
|
18352
18353
|
};
|
|
18353
18354
|
|
|
18354
|
-
//
|
|
18355
|
+
// ../node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
18355
18356
|
function parseDef(def, refs, forceResolution = false) {
|
|
18356
18357
|
const seenItem = refs.seen.get(def);
|
|
18357
18358
|
if (refs.override) {
|
|
@@ -18407,7 +18408,7 @@ var addMeta = (def, refs, jsonSchema) => {
|
|
|
18407
18408
|
return jsonSchema;
|
|
18408
18409
|
};
|
|
18409
18410
|
|
|
18410
|
-
//
|
|
18411
|
+
// ../node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
18411
18412
|
var zodToJsonSchema = (schema, options) => {
|
|
18412
18413
|
const refs = getRefs(options);
|
|
18413
18414
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
|
|
@@ -18469,7 +18470,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
18469
18470
|
return combined;
|
|
18470
18471
|
};
|
|
18471
18472
|
|
|
18472
|
-
//
|
|
18473
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
18473
18474
|
function mapMiniTarget(t) {
|
|
18474
18475
|
if (!t)
|
|
18475
18476
|
return "draft-7";
|
|
@@ -18511,7 +18512,7 @@ function parseWithCompat(schema, data) {
|
|
|
18511
18512
|
return result.data;
|
|
18512
18513
|
}
|
|
18513
18514
|
|
|
18514
|
-
//
|
|
18515
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
18515
18516
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
18516
18517
|
var Protocol = class {
|
|
18517
18518
|
constructor(_options) {
|
|
@@ -19465,7 +19466,7 @@ function mergeCapabilities(base, additional) {
|
|
|
19465
19466
|
return result;
|
|
19466
19467
|
}
|
|
19467
19468
|
|
|
19468
|
-
//
|
|
19469
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
19469
19470
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
19470
19471
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
19471
19472
|
function createDefaultAjvInstance() {
|
|
@@ -19533,7 +19534,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
19533
19534
|
}
|
|
19534
19535
|
};
|
|
19535
19536
|
|
|
19536
|
-
//
|
|
19537
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
19537
19538
|
var ExperimentalServerTasks = class {
|
|
19538
19539
|
constructor(_server) {
|
|
19539
19540
|
this._server = _server;
|
|
@@ -19746,7 +19747,7 @@ var ExperimentalServerTasks = class {
|
|
|
19746
19747
|
}
|
|
19747
19748
|
};
|
|
19748
19749
|
|
|
19749
|
-
//
|
|
19750
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
19750
19751
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
19751
19752
|
if (!requests) {
|
|
19752
19753
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -19781,7 +19782,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
19781
19782
|
}
|
|
19782
19783
|
}
|
|
19783
19784
|
|
|
19784
|
-
//
|
|
19785
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
19785
19786
|
var Server = class extends Protocol {
|
|
19786
19787
|
/**
|
|
19787
19788
|
* Initializes this server with the given name and version information.
|
|
@@ -20152,7 +20153,7 @@ var Server = class extends Protocol {
|
|
|
20152
20153
|
}
|
|
20153
20154
|
};
|
|
20154
20155
|
|
|
20155
|
-
//
|
|
20156
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
20156
20157
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
20157
20158
|
function isCompletable(schema) {
|
|
20158
20159
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -20166,7 +20167,7 @@ var McpZodTypeKind;
|
|
|
20166
20167
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
20167
20168
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
20168
20169
|
|
|
20169
|
-
//
|
|
20170
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
20170
20171
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
20171
20172
|
function validateToolName(name) {
|
|
20172
20173
|
const warnings = [];
|
|
@@ -20224,7 +20225,7 @@ function validateAndWarnToolName(name) {
|
|
|
20224
20225
|
return result.isValid;
|
|
20225
20226
|
}
|
|
20226
20227
|
|
|
20227
|
-
//
|
|
20228
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
20228
20229
|
var ExperimentalMcpServerTasks = class {
|
|
20229
20230
|
constructor(_mcpServer) {
|
|
20230
20231
|
this._mcpServer = _mcpServer;
|
|
@@ -20239,7 +20240,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
20239
20240
|
}
|
|
20240
20241
|
};
|
|
20241
20242
|
|
|
20242
|
-
//
|
|
20243
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
20243
20244
|
var McpServer = class {
|
|
20244
20245
|
constructor(serverInfo, options) {
|
|
20245
20246
|
this._registeredResources = {};
|
|
@@ -21031,10 +21032,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
21031
21032
|
}
|
|
21032
21033
|
};
|
|
21033
21034
|
|
|
21034
|
-
//
|
|
21035
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
21035
21036
|
import process2 from "process";
|
|
21036
21037
|
|
|
21037
|
-
//
|
|
21038
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
21038
21039
|
var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
21039
21040
|
var ReadBuffer = class {
|
|
21040
21041
|
constructor(options) {
|
|
@@ -21071,7 +21072,7 @@ function serializeMessage(message) {
|
|
|
21071
21072
|
return JSON.stringify(message) + "\n";
|
|
21072
21073
|
}
|
|
21073
21074
|
|
|
21074
|
-
//
|
|
21075
|
+
// ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
21075
21076
|
var StdioServerTransport = class {
|
|
21076
21077
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout, options) {
|
|
21077
21078
|
this._stdin = _stdin;
|
|
@@ -21504,6 +21505,7 @@ function describeIssues(error2) {
|
|
|
21504
21505
|
|
|
21505
21506
|
// src/service.ts
|
|
21506
21507
|
var STALE_AFTER_HOURS = 48;
|
|
21508
|
+
var LOCAL_HEALTH_STALE_MS = 45 * 6e4;
|
|
21507
21509
|
var AUTO_MAINTENANCE_START_DELAY_MS = 6e4;
|
|
21508
21510
|
var AUTO_MAINTENANCE_IDLE_MS = 3e4;
|
|
21509
21511
|
var AUTO_MAINTENANCE_BUSY_RETRY_MS = 3e4;
|
|
@@ -21650,7 +21652,8 @@ var CompanionService = class _CompanionService {
|
|
|
21650
21652
|
await this.refresh();
|
|
21651
21653
|
return this.index.search(query, filters);
|
|
21652
21654
|
}
|
|
21653
|
-
getConversation(docId) {
|
|
21655
|
+
async getConversation(docId) {
|
|
21656
|
+
await this.refresh();
|
|
21654
21657
|
return this.corpus.get(docId);
|
|
21655
21658
|
}
|
|
21656
21659
|
/**
|
|
@@ -21696,6 +21699,44 @@ var CompanionService = class _CompanionService {
|
|
|
21696
21699
|
await this.refresh();
|
|
21697
21700
|
}
|
|
21698
21701
|
const meta = await this.corpus.readMeta();
|
|
21702
|
+
const health = new Map((await this.corpus.readSourceHealth()).map((row) => [row.source, row]));
|
|
21703
|
+
const sources = {};
|
|
21704
|
+
const sourceWarnings = {};
|
|
21705
|
+
for (const row of this.index.sourceSummary()) {
|
|
21706
|
+
sources[row.source] = {
|
|
21707
|
+
conversationCount: row.conversationCount,
|
|
21708
|
+
newestConversationAt: row.newestConversationAt,
|
|
21709
|
+
lastIngestAt: meta?.sourceLastIngestAt?.[row.source] ?? null
|
|
21710
|
+
};
|
|
21711
|
+
}
|
|
21712
|
+
for (const source of ["claude_code", "codex", "zcode"]) {
|
|
21713
|
+
const row = health.get(source);
|
|
21714
|
+
const summary = sources[source] ??= { conversationCount: 0, newestConversationAt: null, lastIngestAt: null };
|
|
21715
|
+
const stale = row ? Date.now() - row.observedAt > LOCAL_HEALTH_STALE_MS : false;
|
|
21716
|
+
summary.localSync = {
|
|
21717
|
+
connection: !row || stale ? "unknown" : row.connection,
|
|
21718
|
+
state: row?.state ?? "unknown",
|
|
21719
|
+
lastStatusAt: row?.observedAt ?? null,
|
|
21720
|
+
lastAttemptAt: row?.lastAttemptAt ?? null,
|
|
21721
|
+
lastSuccessfulSyncAt: row?.lastSuccessfulSyncAt ?? null,
|
|
21722
|
+
lastCaptureAt: row?.lastCaptureAt ?? null,
|
|
21723
|
+
failedSessions: row?.failedSessions ?? 0,
|
|
21724
|
+
freshness: !row ? "unknown" : stale ? "stale" : "fresh"
|
|
21725
|
+
};
|
|
21726
|
+
if (!row && summary.conversationCount > 0) {
|
|
21727
|
+
sourceWarnings[source] = "No local-session sync diagnostics are available. Recent browser capture does not prove this source is current; update the extension and helper.";
|
|
21728
|
+
} else if (stale && (summary.conversationCount > 0 || row?.lastSuccessfulSyncAt != null)) {
|
|
21729
|
+
sourceWarnings[source] = "Local-session sync diagnostics have not arrived for over 45 minutes. The browser or helper may be offline; recent browser data does not prove this source is current.";
|
|
21730
|
+
} else if (row?.connection === "disconnected") {
|
|
21731
|
+
sourceWarnings[source] = "The local-session helper was disconnected at its last check. Check the helper and native messaging permission; automatic sync can resume when access is restored.";
|
|
21732
|
+
} else if (row && (row.state === "partial" || row.state === "error")) {
|
|
21733
|
+
sourceWarnings[source] = "The latest local-session scan had errors; this source may be missing sessions.";
|
|
21734
|
+
} else if (row?.state === "missing" && (summary.conversationCount > 0 || row.lastCaptureAt !== null)) {
|
|
21735
|
+
sourceWarnings[source] = "The helper can no longer find this source's session storage.";
|
|
21736
|
+
} else if (row?.state === "unknown" && summary.conversationCount > 0) {
|
|
21737
|
+
sourceWarnings[source] = "The helper is reachable but cannot confirm source health. Update the helper for per-source diagnostics.";
|
|
21738
|
+
}
|
|
21739
|
+
}
|
|
21699
21740
|
const lastIngestAt = meta?.lastIngestAt ?? null;
|
|
21700
21741
|
const hoursSinceIngest = lastIngestAt === null ? null : Math.round((Date.now() - lastIngestAt) / 36e5 * 10) / 10;
|
|
21701
21742
|
const status = {
|
|
@@ -21706,7 +21747,8 @@ var CompanionService = class _CompanionService {
|
|
|
21706
21747
|
conversationCount: this.index.count(),
|
|
21707
21748
|
lastIngestAt,
|
|
21708
21749
|
hoursSinceIngest,
|
|
21709
|
-
newestConversationAt: this.index.listRecent(1)[0]?.updatedAt ?? null
|
|
21750
|
+
newestConversationAt: this.index.listRecent(1)[0]?.updatedAt ?? null,
|
|
21751
|
+
sources
|
|
21710
21752
|
};
|
|
21711
21753
|
if (hoursSinceIngest === null && status.conversationCount === 0) {
|
|
21712
21754
|
status.staleWarning = "This corpus is empty and has never received browser data, so searches here will return nothing until setup finishes. The browser extension is what fills it; the connector on its own cannot. If the extension is not installed, get it from https://llmnesia.com. If it is installed, check that it is version 0.3.0 or newer, since older versions have no desktop connection at all; that both steps under Full settings \u2192 Connect desktop AI are complete, including `npx -y @llmnesia/mcp@latest install`; and that the browser has been fully quit and reopened since automatic sync was enabled.";
|
|
@@ -21715,6 +21757,10 @@ var CompanionService = class _CompanionService {
|
|
|
21715
21757
|
} else if (hoursSinceIngest >= STALE_AFTER_HOURS) {
|
|
21716
21758
|
status.staleWarning = `No browser data has reached this corpus in ${hoursSinceIngest}h. Either the user has not chatted since then, or the extension to corpus sync is broken, so results may be missing recent conversations.`;
|
|
21717
21759
|
}
|
|
21760
|
+
if (Object.keys(sourceWarnings).length > 0) {
|
|
21761
|
+
status.sourceWarnings = sourceWarnings;
|
|
21762
|
+
status.staleWarning = [status.staleWarning, ...Object.entries(sourceWarnings).map(([source, warning]) => `${source}: ${warning}`)].filter(Boolean).join("\n");
|
|
21763
|
+
}
|
|
21718
21764
|
if (this.indexSync) {
|
|
21719
21765
|
status.indexSync = { ...this.indexSync };
|
|
21720
21766
|
status.staleWarning = [
|
|
@@ -21989,7 +22035,7 @@ async function runServe() {
|
|
|
21989
22035
|
"get_conversation",
|
|
21990
22036
|
{
|
|
21991
22037
|
title: "Get conversation",
|
|
21992
|
-
description: "Return the full transcript of one conversation by its id (the `id` from search results). The conversation includes `sourceUrl`: its original-chat URL when available, otherwise a clickable HTTPS hand-off to its local LLMnesia Viewer. Always link it in an answer based on this transcript.",
|
|
22038
|
+
description: "Return the full transcript of one conversation by its id (the `id` from search results). The conversation includes `sourceUrl`: its original-chat URL when available, otherwise a clickable HTTPS hand-off to its local LLMnesia Viewer. Always link it in an answer based on this transcript. Image metadata includes imageIndex and locallyAvailable; use get_conversation_image for retained bytes.",
|
|
21993
22039
|
inputSchema: {
|
|
21994
22040
|
id: external_exports.string().describe("The conversation id (docId), e.g. 'claude:abc-123'.")
|
|
21995
22041
|
},
|
|
@@ -22021,11 +22067,36 @@ async function runServe() {
|
|
|
22021
22067
|
role: m.role,
|
|
22022
22068
|
...m.model ? { model: m.model } : {},
|
|
22023
22069
|
// Prefer the block-formatted copy; fall back to the search-collapsed text.
|
|
22024
|
-
text: m.formattedText ?? m.text
|
|
22070
|
+
text: m.formattedText ?? m.text,
|
|
22071
|
+
...m.images?.length ? { images: m.images.map((image, index) => ({
|
|
22072
|
+
imageIndex: index,
|
|
22073
|
+
url: image.url,
|
|
22074
|
+
...image.alt ? { alt: image.alt } : {},
|
|
22075
|
+
locallyAvailable: decodeImage(image.dataUrl) !== null,
|
|
22076
|
+
...image.width ? { width: image.width } : {},
|
|
22077
|
+
...image.height ? { height: image.height } : {}
|
|
22078
|
+
})) } : {}
|
|
22025
22079
|
}))
|
|
22026
22080
|
});
|
|
22027
22081
|
})
|
|
22028
22082
|
);
|
|
22083
|
+
server.registerTool(
|
|
22084
|
+
"get_conversation_image",
|
|
22085
|
+
{
|
|
22086
|
+
title: "Get conversation image",
|
|
22087
|
+
description: "Return a retained local image from a conversation turn. Use the message index and imageIndex from get_conversation. Reads saved raster bytes only; no provider fetch or OCR.",
|
|
22088
|
+
inputSchema: { id: external_exports.string(), messageIndex: external_exports.number().int().nonnegative(), imageIndex: external_exports.number().int().nonnegative() },
|
|
22089
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }
|
|
22090
|
+
},
|
|
22091
|
+
async (args) => withService(async (service2) => {
|
|
22092
|
+
const record2 = await service2.getConversation(args.id);
|
|
22093
|
+
const image = record2?.messages.find((message) => message.msgIndex === args.messageIndex)?.images?.[args.imageIndex];
|
|
22094
|
+
if (!image) return errorResult("No image found at that conversation/message/image index.");
|
|
22095
|
+
const decoded = decodeImage(image.dataUrl);
|
|
22096
|
+
if (!decoded) return errorResult("Only a provider URL was captured for this image. Reopen the original chat or import an export containing the image to retain a local copy. MCP does not fetch private provider URLs.");
|
|
22097
|
+
return { content: [{ type: "image", ...decoded }] };
|
|
22098
|
+
})
|
|
22099
|
+
);
|
|
22029
22100
|
server.registerTool(
|
|
22030
22101
|
"list_recent",
|
|
22031
22102
|
{
|
|
@@ -22119,7 +22190,7 @@ async function runServe() {
|
|
|
22119
22190
|
"conversation_inventory",
|
|
22120
22191
|
{
|
|
22121
22192
|
title: "Conversation inventory",
|
|
22122
|
-
description: "Read-only, paginated inventory of every conversation in the corpus as compact metadata: stable id, platform, title, and a versioned content fingerprint. Never returns transcripts. Built for services that periodically process the corpus: call it with no arguments to start a scan, then pass each page's nextCursor back as cursor until a page comes back without one. All pages of a scan reflect the same consistent snapshot taken when the scan started, so conversations that arrive or change mid-scan never shuffle the results; start a new scan (omit cursor) to see them. Compare ids and fingerprints against the previous scan and call get_conversation only for new or changed ids. Cursors expire and do not survive a server restart; on a cursor error, simply begin a new scan.",
|
|
22193
|
+
description: "Read-only, paginated inventory of every conversation in the corpus as compact metadata: stable id, platform, title, and a versioned content fingerprint. Never returns transcripts. Built for services that periodically process the corpus: call it with no arguments to start a scan, then pass each page's nextCursor back as cursor until a page comes back without one. All pages of a scan reflect the same consistent snapshot taken when the scan started, so conversations that arrive or change mid-scan never shuffle the results; start a new scan (omit cursor) to see them. Compare ids and fingerprints against the previous scan and call get_conversation only for new or changed ids. Cursors expire and do not survive a server restart; on a cursor error, simply begin a new scan. Fingerprints use fp2, including images, matching get_conversation's contentFingerprint for unchanged content. When upgrading from fp1, take a new complete inventory as your baseline; different scheme prefixes cannot be compared as content revisions.",
|
|
22123
22194
|
inputSchema: {
|
|
22124
22195
|
cursor: external_exports.string().optional().describe("Opaque nextCursor from the previous page. Omit to start a new scan."),
|
|
22125
22196
|
limit: external_exports.number().int().min(1).max(100).optional().describe("Items per page (default 100).")
|
|
@@ -22157,7 +22228,7 @@ async function runServe() {
|
|
|
22157
22228
|
"corpus_status",
|
|
22158
22229
|
{
|
|
22159
22230
|
title: "Corpus status",
|
|
22160
|
-
description: "Report how current the local corpus is: when browser data last reached it, how many conversations it holds, and the newest conversation it knows about. Use this when a conversation the user is sure they had cannot be found, to tell a genuinely missing chat apart from a corpus that has stopped receiving updates from the browser extension.",
|
|
22231
|
+
description: "Report how current the local corpus is: when browser data last reached it, how many conversations it holds, and the newest conversation it knows about. The sources field includes per-source arrival times and local-session sync health. Check sourceWarnings: recent browser data must not be treated as proof that local agent sessions are current. Use this when a conversation the user is sure they had cannot be found, to tell a genuinely missing chat apart from a corpus that has stopped receiving updates from the browser extension.",
|
|
22161
22232
|
inputSchema: {},
|
|
22162
22233
|
annotations: {
|
|
22163
22234
|
readOnlyHint: true,
|