hocai-connect 0.14.1 → 0.16.0
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/cli.js +778 -550
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
36
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js
|
|
36
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js
|
|
37
37
|
var require_code = __commonJS({
|
|
38
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
38
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
39
39
|
"use strict";
|
|
40
40
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
41
41
|
exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
|
|
@@ -187,9 +187,9 @@ var require_code = __commonJS({
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
|
|
190
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js
|
|
190
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js
|
|
191
191
|
var require_scope = __commonJS({
|
|
192
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
192
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
193
193
|
"use strict";
|
|
194
194
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
195
195
|
exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
|
|
@@ -332,9 +332,9 @@ var require_scope = __commonJS({
|
|
|
332
332
|
}
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js
|
|
335
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js
|
|
336
336
|
var require_codegen = __commonJS({
|
|
337
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
337
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
338
338
|
"use strict";
|
|
339
339
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
340
340
|
exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
|
|
@@ -1052,9 +1052,9 @@ var require_codegen = __commonJS({
|
|
|
1052
1052
|
}
|
|
1053
1053
|
});
|
|
1054
1054
|
|
|
1055
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js
|
|
1055
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js
|
|
1056
1056
|
var require_util = __commonJS({
|
|
1057
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
1057
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
1058
1058
|
"use strict";
|
|
1059
1059
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1060
1060
|
exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = void 0;
|
|
@@ -1219,9 +1219,9 @@ var require_util = __commonJS({
|
|
|
1219
1219
|
}
|
|
1220
1220
|
});
|
|
1221
1221
|
|
|
1222
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js
|
|
1222
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js
|
|
1223
1223
|
var require_names = __commonJS({
|
|
1224
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
1224
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
1225
1225
|
"use strict";
|
|
1226
1226
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1227
1227
|
var codegen_1 = require_codegen();
|
|
@@ -1258,9 +1258,9 @@ var require_names = __commonJS({
|
|
|
1258
1258
|
}
|
|
1259
1259
|
});
|
|
1260
1260
|
|
|
1261
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js
|
|
1261
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js
|
|
1262
1262
|
var require_errors = __commonJS({
|
|
1263
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
1263
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
1264
1264
|
"use strict";
|
|
1265
1265
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1266
1266
|
exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
|
|
@@ -1380,9 +1380,9 @@ var require_errors = __commonJS({
|
|
|
1380
1380
|
}
|
|
1381
1381
|
});
|
|
1382
1382
|
|
|
1383
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1383
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1384
1384
|
var require_boolSchema = __commonJS({
|
|
1385
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
1385
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
1386
1386
|
"use strict";
|
|
1387
1387
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1388
1388
|
exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
|
|
@@ -1431,9 +1431,9 @@ var require_boolSchema = __commonJS({
|
|
|
1431
1431
|
}
|
|
1432
1432
|
});
|
|
1433
1433
|
|
|
1434
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js
|
|
1434
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js
|
|
1435
1435
|
var require_rules = __commonJS({
|
|
1436
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
1436
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
1437
1437
|
"use strict";
|
|
1438
1438
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1439
1439
|
exports2.getRules = exports2.isJSONType = void 0;
|
|
@@ -1462,9 +1462,9 @@ var require_rules = __commonJS({
|
|
|
1462
1462
|
}
|
|
1463
1463
|
});
|
|
1464
1464
|
|
|
1465
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js
|
|
1465
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js
|
|
1466
1466
|
var require_applicability = __commonJS({
|
|
1467
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
1467
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
1468
1468
|
"use strict";
|
|
1469
1469
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1470
1470
|
exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
|
|
@@ -1485,9 +1485,9 @@ var require_applicability = __commonJS({
|
|
|
1485
1485
|
}
|
|
1486
1486
|
});
|
|
1487
1487
|
|
|
1488
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js
|
|
1488
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js
|
|
1489
1489
|
var require_dataType = __commonJS({
|
|
1490
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
1490
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
1491
1491
|
"use strict";
|
|
1492
1492
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1493
1493
|
exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
|
|
@@ -1669,9 +1669,9 @@ var require_dataType = __commonJS({
|
|
|
1669
1669
|
}
|
|
1670
1670
|
});
|
|
1671
1671
|
|
|
1672
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js
|
|
1672
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js
|
|
1673
1673
|
var require_defaults = __commonJS({
|
|
1674
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
1674
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
1675
1675
|
"use strict";
|
|
1676
1676
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1677
1677
|
exports2.assignDefaults = void 0;
|
|
@@ -1706,9 +1706,9 @@ var require_defaults = __commonJS({
|
|
|
1706
1706
|
}
|
|
1707
1707
|
});
|
|
1708
1708
|
|
|
1709
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js
|
|
1709
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js
|
|
1710
1710
|
var require_code2 = __commonJS({
|
|
1711
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
1711
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
1712
1712
|
"use strict";
|
|
1713
1713
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1714
1714
|
exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = void 0;
|
|
@@ -1839,9 +1839,9 @@ var require_code2 = __commonJS({
|
|
|
1839
1839
|
}
|
|
1840
1840
|
});
|
|
1841
1841
|
|
|
1842
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js
|
|
1842
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js
|
|
1843
1843
|
var require_keyword = __commonJS({
|
|
1844
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
1844
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
1845
1845
|
"use strict";
|
|
1846
1846
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1847
1847
|
exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
|
|
@@ -1957,9 +1957,9 @@ var require_keyword = __commonJS({
|
|
|
1957
1957
|
}
|
|
1958
1958
|
});
|
|
1959
1959
|
|
|
1960
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js
|
|
1960
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js
|
|
1961
1961
|
var require_subschema = __commonJS({
|
|
1962
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
1962
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
1963
1963
|
"use strict";
|
|
1964
1964
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1965
1965
|
exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
|
|
@@ -2040,9 +2040,9 @@ var require_subschema = __commonJS({
|
|
|
2040
2040
|
}
|
|
2041
2041
|
});
|
|
2042
2042
|
|
|
2043
|
-
// node_modules/fast-deep-equal/index.js
|
|
2043
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/fast-deep-equal/index.js
|
|
2044
2044
|
var require_fast_deep_equal = __commonJS({
|
|
2045
|
-
"node_modules/fast-deep-equal/index.js"(exports2, module2) {
|
|
2045
|
+
"../../../Users/hainc/duan/hocAI/node_modules/fast-deep-equal/index.js"(exports2, module2) {
|
|
2046
2046
|
"use strict";
|
|
2047
2047
|
module2.exports = function equal(a, b) {
|
|
2048
2048
|
if (a === b) return true;
|
|
@@ -2075,9 +2075,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
2075
2075
|
}
|
|
2076
2076
|
});
|
|
2077
2077
|
|
|
2078
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js
|
|
2078
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js
|
|
2079
2079
|
var require_json_schema_traverse = __commonJS({
|
|
2080
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js"(exports2, module2) {
|
|
2080
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js"(exports2, module2) {
|
|
2081
2081
|
"use strict";
|
|
2082
2082
|
var traverse = module2.exports = function(schema, opts, cb) {
|
|
2083
2083
|
if (typeof opts == "function") {
|
|
@@ -2163,9 +2163,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
2163
2163
|
}
|
|
2164
2164
|
});
|
|
2165
2165
|
|
|
2166
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js
|
|
2166
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js
|
|
2167
2167
|
var require_resolve = __commonJS({
|
|
2168
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
2168
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
2169
2169
|
"use strict";
|
|
2170
2170
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2171
2171
|
exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
|
|
@@ -2319,9 +2319,9 @@ var require_resolve = __commonJS({
|
|
|
2319
2319
|
}
|
|
2320
2320
|
});
|
|
2321
2321
|
|
|
2322
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js
|
|
2322
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js
|
|
2323
2323
|
var require_validate = __commonJS({
|
|
2324
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
2324
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
2325
2325
|
"use strict";
|
|
2326
2326
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2327
2327
|
exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
|
|
@@ -2827,9 +2827,9 @@ var require_validate = __commonJS({
|
|
|
2827
2827
|
}
|
|
2828
2828
|
});
|
|
2829
2829
|
|
|
2830
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js
|
|
2830
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js
|
|
2831
2831
|
var require_validation_error = __commonJS({
|
|
2832
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
2832
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
2833
2833
|
"use strict";
|
|
2834
2834
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2835
2835
|
var ValidationError = class extends Error {
|
|
@@ -2843,9 +2843,9 @@ var require_validation_error = __commonJS({
|
|
|
2843
2843
|
}
|
|
2844
2844
|
});
|
|
2845
2845
|
|
|
2846
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js
|
|
2846
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js
|
|
2847
2847
|
var require_ref_error = __commonJS({
|
|
2848
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
2848
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
2849
2849
|
"use strict";
|
|
2850
2850
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2851
2851
|
var resolve_1 = require_resolve();
|
|
@@ -2860,9 +2860,9 @@ var require_ref_error = __commonJS({
|
|
|
2860
2860
|
}
|
|
2861
2861
|
});
|
|
2862
2862
|
|
|
2863
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js
|
|
2863
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js
|
|
2864
2864
|
var require_compile = __commonJS({
|
|
2865
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
2865
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
2866
2866
|
"use strict";
|
|
2867
2867
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2868
2868
|
exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
|
|
@@ -3084,9 +3084,9 @@ var require_compile = __commonJS({
|
|
|
3084
3084
|
}
|
|
3085
3085
|
});
|
|
3086
3086
|
|
|
3087
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/data.json
|
|
3087
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/data.json
|
|
3088
3088
|
var require_data = __commonJS({
|
|
3089
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
3089
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
3090
3090
|
module2.exports = {
|
|
3091
3091
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
3092
3092
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -3103,9 +3103,9 @@ var require_data = __commonJS({
|
|
|
3103
3103
|
}
|
|
3104
3104
|
});
|
|
3105
3105
|
|
|
3106
|
-
// node_modules/fast-uri/lib/utils.js
|
|
3106
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/fast-uri/lib/utils.js
|
|
3107
3107
|
var require_utils = __commonJS({
|
|
3108
|
-
"node_modules/fast-uri/lib/utils.js"(exports2, module2) {
|
|
3108
|
+
"../../../Users/hainc/duan/hocAI/node_modules/fast-uri/lib/utils.js"(exports2, module2) {
|
|
3109
3109
|
"use strict";
|
|
3110
3110
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3111
3111
|
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);
|
|
@@ -3600,9 +3600,9 @@ var require_utils = __commonJS({
|
|
|
3600
3600
|
}
|
|
3601
3601
|
});
|
|
3602
3602
|
|
|
3603
|
-
// node_modules/fast-uri/lib/schemes.js
|
|
3603
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/fast-uri/lib/schemes.js
|
|
3604
3604
|
var require_schemes = __commonJS({
|
|
3605
|
-
"node_modules/fast-uri/lib/schemes.js"(exports2, module2) {
|
|
3605
|
+
"../../../Users/hainc/duan/hocAI/node_modules/fast-uri/lib/schemes.js"(exports2, module2) {
|
|
3606
3606
|
"use strict";
|
|
3607
3607
|
var { isUUID } = require_utils();
|
|
3608
3608
|
var URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
@@ -3811,9 +3811,9 @@ var require_schemes = __commonJS({
|
|
|
3811
3811
|
}
|
|
3812
3812
|
});
|
|
3813
3813
|
|
|
3814
|
-
// node_modules/fast-uri/index.js
|
|
3814
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/fast-uri/index.js
|
|
3815
3815
|
var require_fast_uri = __commonJS({
|
|
3816
|
-
"node_modules/fast-uri/index.js"(exports2, module2) {
|
|
3816
|
+
"../../../Users/hainc/duan/hocAI/node_modules/fast-uri/index.js"(exports2, module2) {
|
|
3817
3817
|
"use strict";
|
|
3818
3818
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3819
3819
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -4210,9 +4210,9 @@ var require_fast_uri = __commonJS({
|
|
|
4210
4210
|
}
|
|
4211
4211
|
});
|
|
4212
4212
|
|
|
4213
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js
|
|
4213
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js
|
|
4214
4214
|
var require_uri = __commonJS({
|
|
4215
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
4215
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
4216
4216
|
"use strict";
|
|
4217
4217
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4218
4218
|
var uri = require_fast_uri();
|
|
@@ -4221,9 +4221,9 @@ var require_uri = __commonJS({
|
|
|
4221
4221
|
}
|
|
4222
4222
|
});
|
|
4223
4223
|
|
|
4224
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js
|
|
4224
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js
|
|
4225
4225
|
var require_core = __commonJS({
|
|
4226
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js"(exports2) {
|
|
4226
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js"(exports2) {
|
|
4227
4227
|
"use strict";
|
|
4228
4228
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4229
4229
|
exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
|
|
@@ -4832,9 +4832,9 @@ var require_core = __commonJS({
|
|
|
4832
4832
|
}
|
|
4833
4833
|
});
|
|
4834
4834
|
|
|
4835
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js
|
|
4835
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js
|
|
4836
4836
|
var require_id = __commonJS({
|
|
4837
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
4837
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
4838
4838
|
"use strict";
|
|
4839
4839
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4840
4840
|
var def = {
|
|
@@ -4847,9 +4847,9 @@ var require_id = __commonJS({
|
|
|
4847
4847
|
}
|
|
4848
4848
|
});
|
|
4849
4849
|
|
|
4850
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4850
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4851
4851
|
var require_ref = __commonJS({
|
|
4852
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
4852
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
4853
4853
|
"use strict";
|
|
4854
4854
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4855
4855
|
exports2.callRef = exports2.getValidate = void 0;
|
|
@@ -4969,9 +4969,9 @@ var require_ref = __commonJS({
|
|
|
4969
4969
|
}
|
|
4970
4970
|
});
|
|
4971
4971
|
|
|
4972
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js
|
|
4972
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js
|
|
4973
4973
|
var require_core2 = __commonJS({
|
|
4974
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
4974
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
4975
4975
|
"use strict";
|
|
4976
4976
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4977
4977
|
var id_1 = require_id();
|
|
@@ -4990,9 +4990,9 @@ var require_core2 = __commonJS({
|
|
|
4990
4990
|
}
|
|
4991
4991
|
});
|
|
4992
4992
|
|
|
4993
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
4993
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
4994
4994
|
var require_limitNumber = __commonJS({
|
|
4995
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
4995
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
4996
4996
|
"use strict";
|
|
4997
4997
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4998
4998
|
var codegen_1 = require_codegen();
|
|
@@ -5022,9 +5022,9 @@ var require_limitNumber = __commonJS({
|
|
|
5022
5022
|
}
|
|
5023
5023
|
});
|
|
5024
5024
|
|
|
5025
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
5025
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
5026
5026
|
var require_multipleOf = __commonJS({
|
|
5027
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
5027
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
5028
5028
|
"use strict";
|
|
5029
5029
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5030
5030
|
var codegen_1 = require_codegen();
|
|
@@ -5050,9 +5050,9 @@ var require_multipleOf = __commonJS({
|
|
|
5050
5050
|
}
|
|
5051
5051
|
});
|
|
5052
5052
|
|
|
5053
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js
|
|
5053
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js
|
|
5054
5054
|
var require_ucs2length = __commonJS({
|
|
5055
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
5055
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
5056
5056
|
"use strict";
|
|
5057
5057
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5058
5058
|
function ucs2length(str) {
|
|
@@ -5076,9 +5076,9 @@ var require_ucs2length = __commonJS({
|
|
|
5076
5076
|
}
|
|
5077
5077
|
});
|
|
5078
5078
|
|
|
5079
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
5079
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
5080
5080
|
var require_limitLength = __commonJS({
|
|
5081
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
5081
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
5082
5082
|
"use strict";
|
|
5083
5083
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5084
5084
|
var codegen_1 = require_codegen();
|
|
@@ -5108,9 +5108,9 @@ var require_limitLength = __commonJS({
|
|
|
5108
5108
|
}
|
|
5109
5109
|
});
|
|
5110
5110
|
|
|
5111
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
5111
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
5112
5112
|
var require_pattern = __commonJS({
|
|
5113
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
5113
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
5114
5114
|
"use strict";
|
|
5115
5115
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5116
5116
|
var code_1 = require_code2();
|
|
@@ -5145,9 +5145,9 @@ var require_pattern = __commonJS({
|
|
|
5145
5145
|
}
|
|
5146
5146
|
});
|
|
5147
5147
|
|
|
5148
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
5148
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
5149
5149
|
var require_limitProperties = __commonJS({
|
|
5150
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
5150
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
5151
5151
|
"use strict";
|
|
5152
5152
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5153
5153
|
var codegen_1 = require_codegen();
|
|
@@ -5174,9 +5174,9 @@ var require_limitProperties = __commonJS({
|
|
|
5174
5174
|
}
|
|
5175
5175
|
});
|
|
5176
5176
|
|
|
5177
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
5177
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
5178
5178
|
var require_required = __commonJS({
|
|
5179
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
5179
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
5180
5180
|
"use strict";
|
|
5181
5181
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5182
5182
|
var code_1 = require_code2();
|
|
@@ -5256,9 +5256,9 @@ var require_required = __commonJS({
|
|
|
5256
5256
|
}
|
|
5257
5257
|
});
|
|
5258
5258
|
|
|
5259
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
5259
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
5260
5260
|
var require_limitItems = __commonJS({
|
|
5261
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
5261
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
5262
5262
|
"use strict";
|
|
5263
5263
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5264
5264
|
var codegen_1 = require_codegen();
|
|
@@ -5285,9 +5285,9 @@ var require_limitItems = __commonJS({
|
|
|
5285
5285
|
}
|
|
5286
5286
|
});
|
|
5287
5287
|
|
|
5288
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js
|
|
5288
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js
|
|
5289
5289
|
var require_equal = __commonJS({
|
|
5290
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
5290
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
5291
5291
|
"use strict";
|
|
5292
5292
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5293
5293
|
var equal = require_fast_deep_equal();
|
|
@@ -5296,9 +5296,9 @@ var require_equal = __commonJS({
|
|
|
5296
5296
|
}
|
|
5297
5297
|
});
|
|
5298
5298
|
|
|
5299
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
5299
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
5300
5300
|
var require_uniqueItems = __commonJS({
|
|
5301
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
5301
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
5302
5302
|
"use strict";
|
|
5303
5303
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5304
5304
|
var dataType_1 = require_dataType();
|
|
@@ -5363,9 +5363,9 @@ var require_uniqueItems = __commonJS({
|
|
|
5363
5363
|
}
|
|
5364
5364
|
});
|
|
5365
5365
|
|
|
5366
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5366
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5367
5367
|
var require_const = __commonJS({
|
|
5368
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
5368
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
5369
5369
|
"use strict";
|
|
5370
5370
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5371
5371
|
var codegen_1 = require_codegen();
|
|
@@ -5392,9 +5392,9 @@ var require_const = __commonJS({
|
|
|
5392
5392
|
}
|
|
5393
5393
|
});
|
|
5394
5394
|
|
|
5395
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5395
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5396
5396
|
var require_enum = __commonJS({
|
|
5397
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
5397
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
5398
5398
|
"use strict";
|
|
5399
5399
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5400
5400
|
var codegen_1 = require_codegen();
|
|
@@ -5441,9 +5441,9 @@ var require_enum = __commonJS({
|
|
|
5441
5441
|
}
|
|
5442
5442
|
});
|
|
5443
5443
|
|
|
5444
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5444
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5445
5445
|
var require_validation = __commonJS({
|
|
5446
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
5446
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
5447
5447
|
"use strict";
|
|
5448
5448
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5449
5449
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -5479,9 +5479,9 @@ var require_validation = __commonJS({
|
|
|
5479
5479
|
}
|
|
5480
5480
|
});
|
|
5481
5481
|
|
|
5482
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5482
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5483
5483
|
var require_additionalItems = __commonJS({
|
|
5484
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
5484
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
5485
5485
|
"use strict";
|
|
5486
5486
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5487
5487
|
exports2.validateAdditionalItems = void 0;
|
|
@@ -5532,9 +5532,9 @@ var require_additionalItems = __commonJS({
|
|
|
5532
5532
|
}
|
|
5533
5533
|
});
|
|
5534
5534
|
|
|
5535
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5535
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5536
5536
|
var require_items = __commonJS({
|
|
5537
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
5537
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
5538
5538
|
"use strict";
|
|
5539
5539
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5540
5540
|
exports2.validateTuple = void 0;
|
|
@@ -5589,9 +5589,9 @@ var require_items = __commonJS({
|
|
|
5589
5589
|
}
|
|
5590
5590
|
});
|
|
5591
5591
|
|
|
5592
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5592
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5593
5593
|
var require_prefixItems = __commonJS({
|
|
5594
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
5594
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
5595
5595
|
"use strict";
|
|
5596
5596
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5597
5597
|
var items_1 = require_items();
|
|
@@ -5606,9 +5606,9 @@ var require_prefixItems = __commonJS({
|
|
|
5606
5606
|
}
|
|
5607
5607
|
});
|
|
5608
5608
|
|
|
5609
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5609
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5610
5610
|
var require_items2020 = __commonJS({
|
|
5611
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
5611
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
5612
5612
|
"use strict";
|
|
5613
5613
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5614
5614
|
var codegen_1 = require_codegen();
|
|
@@ -5641,9 +5641,9 @@ var require_items2020 = __commonJS({
|
|
|
5641
5641
|
}
|
|
5642
5642
|
});
|
|
5643
5643
|
|
|
5644
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5644
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5645
5645
|
var require_contains = __commonJS({
|
|
5646
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
5646
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
5647
5647
|
"use strict";
|
|
5648
5648
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5649
5649
|
var codegen_1 = require_codegen();
|
|
@@ -5735,9 +5735,9 @@ var require_contains = __commonJS({
|
|
|
5735
5735
|
}
|
|
5736
5736
|
});
|
|
5737
5737
|
|
|
5738
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5738
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5739
5739
|
var require_dependencies = __commonJS({
|
|
5740
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
5740
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
5741
5741
|
"use strict";
|
|
5742
5742
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5743
5743
|
exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
|
|
@@ -5829,9 +5829,9 @@ var require_dependencies = __commonJS({
|
|
|
5829
5829
|
}
|
|
5830
5830
|
});
|
|
5831
5831
|
|
|
5832
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5832
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5833
5833
|
var require_propertyNames = __commonJS({
|
|
5834
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
5834
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
5835
5835
|
"use strict";
|
|
5836
5836
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5837
5837
|
var codegen_1 = require_codegen();
|
|
@@ -5872,9 +5872,9 @@ var require_propertyNames = __commonJS({
|
|
|
5872
5872
|
}
|
|
5873
5873
|
});
|
|
5874
5874
|
|
|
5875
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5875
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5876
5876
|
var require_additionalProperties = __commonJS({
|
|
5877
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
5877
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
5878
5878
|
"use strict";
|
|
5879
5879
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5880
5880
|
var code_1 = require_code2();
|
|
@@ -5978,9 +5978,9 @@ var require_additionalProperties = __commonJS({
|
|
|
5978
5978
|
}
|
|
5979
5979
|
});
|
|
5980
5980
|
|
|
5981
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5981
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5982
5982
|
var require_properties = __commonJS({
|
|
5983
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
5983
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
5984
5984
|
"use strict";
|
|
5985
5985
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5986
5986
|
var validate_1 = require_validate();
|
|
@@ -6036,9 +6036,9 @@ var require_properties = __commonJS({
|
|
|
6036
6036
|
}
|
|
6037
6037
|
});
|
|
6038
6038
|
|
|
6039
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
6039
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
6040
6040
|
var require_patternProperties = __commonJS({
|
|
6041
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
6041
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
6042
6042
|
"use strict";
|
|
6043
6043
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6044
6044
|
var code_1 = require_code2();
|
|
@@ -6110,9 +6110,9 @@ var require_patternProperties = __commonJS({
|
|
|
6110
6110
|
}
|
|
6111
6111
|
});
|
|
6112
6112
|
|
|
6113
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
6113
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
6114
6114
|
var require_not = __commonJS({
|
|
6115
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
6115
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
6116
6116
|
"use strict";
|
|
6117
6117
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6118
6118
|
var util_1 = require_util();
|
|
@@ -6141,9 +6141,9 @@ var require_not = __commonJS({
|
|
|
6141
6141
|
}
|
|
6142
6142
|
});
|
|
6143
6143
|
|
|
6144
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
6144
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
6145
6145
|
var require_anyOf = __commonJS({
|
|
6146
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
6146
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
6147
6147
|
"use strict";
|
|
6148
6148
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6149
6149
|
var code_1 = require_code2();
|
|
@@ -6158,9 +6158,9 @@ var require_anyOf = __commonJS({
|
|
|
6158
6158
|
}
|
|
6159
6159
|
});
|
|
6160
6160
|
|
|
6161
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
6161
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
6162
6162
|
var require_oneOf = __commonJS({
|
|
6163
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
6163
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
6164
6164
|
"use strict";
|
|
6165
6165
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6166
6166
|
var codegen_1 = require_codegen();
|
|
@@ -6216,9 +6216,9 @@ var require_oneOf = __commonJS({
|
|
|
6216
6216
|
}
|
|
6217
6217
|
});
|
|
6218
6218
|
|
|
6219
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
6219
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
6220
6220
|
var require_allOf = __commonJS({
|
|
6221
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
6221
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
6222
6222
|
"use strict";
|
|
6223
6223
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6224
6224
|
var util_1 = require_util();
|
|
@@ -6243,9 +6243,9 @@ var require_allOf = __commonJS({
|
|
|
6243
6243
|
}
|
|
6244
6244
|
});
|
|
6245
6245
|
|
|
6246
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
6246
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
6247
6247
|
var require_if = __commonJS({
|
|
6248
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
6248
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
6249
6249
|
"use strict";
|
|
6250
6250
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6251
6251
|
var codegen_1 = require_codegen();
|
|
@@ -6312,9 +6312,9 @@ var require_if = __commonJS({
|
|
|
6312
6312
|
}
|
|
6313
6313
|
});
|
|
6314
6314
|
|
|
6315
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6315
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6316
6316
|
var require_thenElse = __commonJS({
|
|
6317
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
6317
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
6318
6318
|
"use strict";
|
|
6319
6319
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6320
6320
|
var util_1 = require_util();
|
|
@@ -6330,9 +6330,9 @@ var require_thenElse = __commonJS({
|
|
|
6330
6330
|
}
|
|
6331
6331
|
});
|
|
6332
6332
|
|
|
6333
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6333
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6334
6334
|
var require_applicator = __commonJS({
|
|
6335
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
6335
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
6336
6336
|
"use strict";
|
|
6337
6337
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6338
6338
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -6378,9 +6378,9 @@ var require_applicator = __commonJS({
|
|
|
6378
6378
|
}
|
|
6379
6379
|
});
|
|
6380
6380
|
|
|
6381
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js
|
|
6381
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js
|
|
6382
6382
|
var require_format = __commonJS({
|
|
6383
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
6383
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
6384
6384
|
"use strict";
|
|
6385
6385
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6386
6386
|
var codegen_1 = require_codegen();
|
|
@@ -6468,9 +6468,9 @@ var require_format = __commonJS({
|
|
|
6468
6468
|
}
|
|
6469
6469
|
});
|
|
6470
6470
|
|
|
6471
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js
|
|
6471
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js
|
|
6472
6472
|
var require_format2 = __commonJS({
|
|
6473
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
6473
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
6474
6474
|
"use strict";
|
|
6475
6475
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6476
6476
|
var format_1 = require_format();
|
|
@@ -6479,9 +6479,9 @@ var require_format2 = __commonJS({
|
|
|
6479
6479
|
}
|
|
6480
6480
|
});
|
|
6481
6481
|
|
|
6482
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js
|
|
6482
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js
|
|
6483
6483
|
var require_metadata = __commonJS({
|
|
6484
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
6484
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
6485
6485
|
"use strict";
|
|
6486
6486
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6487
6487
|
exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
|
|
@@ -6502,9 +6502,9 @@ var require_metadata = __commonJS({
|
|
|
6502
6502
|
}
|
|
6503
6503
|
});
|
|
6504
6504
|
|
|
6505
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js
|
|
6505
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js
|
|
6506
6506
|
var require_draft7 = __commonJS({
|
|
6507
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
|
|
6507
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
|
|
6508
6508
|
"use strict";
|
|
6509
6509
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6510
6510
|
var core_1 = require_core2();
|
|
@@ -6524,9 +6524,9 @@ var require_draft7 = __commonJS({
|
|
|
6524
6524
|
}
|
|
6525
6525
|
});
|
|
6526
6526
|
|
|
6527
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6527
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6528
6528
|
var require_types = __commonJS({
|
|
6529
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
6529
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
6530
6530
|
"use strict";
|
|
6531
6531
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6532
6532
|
exports2.DiscrError = void 0;
|
|
@@ -6538,9 +6538,9 @@ var require_types = __commonJS({
|
|
|
6538
6538
|
}
|
|
6539
6539
|
});
|
|
6540
6540
|
|
|
6541
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6541
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6542
6542
|
var require_discriminator = __commonJS({
|
|
6543
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
6543
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
6544
6544
|
"use strict";
|
|
6545
6545
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6546
6546
|
var codegen_1 = require_codegen();
|
|
@@ -6643,9 +6643,9 @@ var require_discriminator = __commonJS({
|
|
|
6643
6643
|
}
|
|
6644
6644
|
});
|
|
6645
6645
|
|
|
6646
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6646
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6647
6647
|
var require_json_schema_draft_07 = __commonJS({
|
|
6648
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
|
|
6648
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
|
|
6649
6649
|
module2.exports = {
|
|
6650
6650
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6651
6651
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -6800,9 +6800,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
6800
6800
|
}
|
|
6801
6801
|
});
|
|
6802
6802
|
|
|
6803
|
-
// node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js
|
|
6803
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js
|
|
6804
6804
|
var require_ajv = __commonJS({
|
|
6805
|
-
"node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
|
6805
|
+
"../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
|
6806
6806
|
"use strict";
|
|
6807
6807
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6808
6808
|
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
|
|
@@ -6870,9 +6870,9 @@ var require_ajv = __commonJS({
|
|
|
6870
6870
|
}
|
|
6871
6871
|
});
|
|
6872
6872
|
|
|
6873
|
-
// node_modules/ajv-formats/dist/formats.js
|
|
6873
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/dist/formats.js
|
|
6874
6874
|
var require_formats = __commonJS({
|
|
6875
|
-
"node_modules/ajv-formats/dist/formats.js"(exports2) {
|
|
6875
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/dist/formats.js"(exports2) {
|
|
6876
6876
|
"use strict";
|
|
6877
6877
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6878
6878
|
exports2.formatNames = exports2.fastFormats = exports2.fullFormats = void 0;
|
|
@@ -7073,9 +7073,9 @@ var require_formats = __commonJS({
|
|
|
7073
7073
|
}
|
|
7074
7074
|
});
|
|
7075
7075
|
|
|
7076
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js
|
|
7076
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js
|
|
7077
7077
|
var require_code3 = __commonJS({
|
|
7078
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
7078
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
7079
7079
|
"use strict";
|
|
7080
7080
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7081
7081
|
exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
|
|
@@ -7227,9 +7227,9 @@ var require_code3 = __commonJS({
|
|
|
7227
7227
|
}
|
|
7228
7228
|
});
|
|
7229
7229
|
|
|
7230
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js
|
|
7230
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js
|
|
7231
7231
|
var require_scope2 = __commonJS({
|
|
7232
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
7232
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
7233
7233
|
"use strict";
|
|
7234
7234
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7235
7235
|
exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
|
|
@@ -7372,9 +7372,9 @@ var require_scope2 = __commonJS({
|
|
|
7372
7372
|
}
|
|
7373
7373
|
});
|
|
7374
7374
|
|
|
7375
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js
|
|
7375
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js
|
|
7376
7376
|
var require_codegen2 = __commonJS({
|
|
7377
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
7377
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
7378
7378
|
"use strict";
|
|
7379
7379
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7380
7380
|
exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
|
|
@@ -8092,9 +8092,9 @@ var require_codegen2 = __commonJS({
|
|
|
8092
8092
|
}
|
|
8093
8093
|
});
|
|
8094
8094
|
|
|
8095
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js
|
|
8095
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js
|
|
8096
8096
|
var require_util2 = __commonJS({
|
|
8097
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
8097
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
8098
8098
|
"use strict";
|
|
8099
8099
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8100
8100
|
exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = void 0;
|
|
@@ -8259,9 +8259,9 @@ var require_util2 = __commonJS({
|
|
|
8259
8259
|
}
|
|
8260
8260
|
});
|
|
8261
8261
|
|
|
8262
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js
|
|
8262
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js
|
|
8263
8263
|
var require_names2 = __commonJS({
|
|
8264
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
8264
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
8265
8265
|
"use strict";
|
|
8266
8266
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8267
8267
|
var codegen_1 = require_codegen2();
|
|
@@ -8298,9 +8298,9 @@ var require_names2 = __commonJS({
|
|
|
8298
8298
|
}
|
|
8299
8299
|
});
|
|
8300
8300
|
|
|
8301
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js
|
|
8301
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js
|
|
8302
8302
|
var require_errors2 = __commonJS({
|
|
8303
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
8303
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
8304
8304
|
"use strict";
|
|
8305
8305
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8306
8306
|
exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
|
|
@@ -8420,9 +8420,9 @@ var require_errors2 = __commonJS({
|
|
|
8420
8420
|
}
|
|
8421
8421
|
});
|
|
8422
8422
|
|
|
8423
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
8423
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
8424
8424
|
var require_boolSchema2 = __commonJS({
|
|
8425
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
8425
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
8426
8426
|
"use strict";
|
|
8427
8427
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8428
8428
|
exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
|
|
@@ -8471,9 +8471,9 @@ var require_boolSchema2 = __commonJS({
|
|
|
8471
8471
|
}
|
|
8472
8472
|
});
|
|
8473
8473
|
|
|
8474
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js
|
|
8474
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js
|
|
8475
8475
|
var require_rules2 = __commonJS({
|
|
8476
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
8476
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
8477
8477
|
"use strict";
|
|
8478
8478
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8479
8479
|
exports2.getRules = exports2.isJSONType = void 0;
|
|
@@ -8502,9 +8502,9 @@ var require_rules2 = __commonJS({
|
|
|
8502
8502
|
}
|
|
8503
8503
|
});
|
|
8504
8504
|
|
|
8505
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js
|
|
8505
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js
|
|
8506
8506
|
var require_applicability2 = __commonJS({
|
|
8507
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
8507
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
8508
8508
|
"use strict";
|
|
8509
8509
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8510
8510
|
exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
|
|
@@ -8525,9 +8525,9 @@ var require_applicability2 = __commonJS({
|
|
|
8525
8525
|
}
|
|
8526
8526
|
});
|
|
8527
8527
|
|
|
8528
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js
|
|
8528
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js
|
|
8529
8529
|
var require_dataType2 = __commonJS({
|
|
8530
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
8530
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
8531
8531
|
"use strict";
|
|
8532
8532
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8533
8533
|
exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
|
|
@@ -8709,9 +8709,9 @@ var require_dataType2 = __commonJS({
|
|
|
8709
8709
|
}
|
|
8710
8710
|
});
|
|
8711
8711
|
|
|
8712
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js
|
|
8712
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js
|
|
8713
8713
|
var require_defaults2 = __commonJS({
|
|
8714
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
8714
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
8715
8715
|
"use strict";
|
|
8716
8716
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8717
8717
|
exports2.assignDefaults = void 0;
|
|
@@ -8746,9 +8746,9 @@ var require_defaults2 = __commonJS({
|
|
|
8746
8746
|
}
|
|
8747
8747
|
});
|
|
8748
8748
|
|
|
8749
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js
|
|
8749
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js
|
|
8750
8750
|
var require_code4 = __commonJS({
|
|
8751
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
8751
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
8752
8752
|
"use strict";
|
|
8753
8753
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8754
8754
|
exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = void 0;
|
|
@@ -8879,9 +8879,9 @@ var require_code4 = __commonJS({
|
|
|
8879
8879
|
}
|
|
8880
8880
|
});
|
|
8881
8881
|
|
|
8882
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js
|
|
8882
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js
|
|
8883
8883
|
var require_keyword2 = __commonJS({
|
|
8884
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
8884
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
8885
8885
|
"use strict";
|
|
8886
8886
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8887
8887
|
exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
|
|
@@ -8997,9 +8997,9 @@ var require_keyword2 = __commonJS({
|
|
|
8997
8997
|
}
|
|
8998
8998
|
});
|
|
8999
8999
|
|
|
9000
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js
|
|
9000
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js
|
|
9001
9001
|
var require_subschema2 = __commonJS({
|
|
9002
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
9002
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
9003
9003
|
"use strict";
|
|
9004
9004
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9005
9005
|
exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
|
|
@@ -9080,9 +9080,9 @@ var require_subschema2 = __commonJS({
|
|
|
9080
9080
|
}
|
|
9081
9081
|
});
|
|
9082
9082
|
|
|
9083
|
-
// node_modules/ajv-formats/node_modules/json-schema-traverse/index.js
|
|
9083
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/json-schema-traverse/index.js
|
|
9084
9084
|
var require_json_schema_traverse2 = __commonJS({
|
|
9085
|
-
"node_modules/ajv-formats/node_modules/json-schema-traverse/index.js"(exports2, module2) {
|
|
9085
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/json-schema-traverse/index.js"(exports2, module2) {
|
|
9086
9086
|
"use strict";
|
|
9087
9087
|
var traverse = module2.exports = function(schema, opts, cb) {
|
|
9088
9088
|
if (typeof opts == "function") {
|
|
@@ -9168,9 +9168,9 @@ var require_json_schema_traverse2 = __commonJS({
|
|
|
9168
9168
|
}
|
|
9169
9169
|
});
|
|
9170
9170
|
|
|
9171
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js
|
|
9171
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js
|
|
9172
9172
|
var require_resolve2 = __commonJS({
|
|
9173
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
9173
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
9174
9174
|
"use strict";
|
|
9175
9175
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9176
9176
|
exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
|
|
@@ -9324,9 +9324,9 @@ var require_resolve2 = __commonJS({
|
|
|
9324
9324
|
}
|
|
9325
9325
|
});
|
|
9326
9326
|
|
|
9327
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js
|
|
9327
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js
|
|
9328
9328
|
var require_validate2 = __commonJS({
|
|
9329
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
9329
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
9330
9330
|
"use strict";
|
|
9331
9331
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9332
9332
|
exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
|
|
@@ -9832,9 +9832,9 @@ var require_validate2 = __commonJS({
|
|
|
9832
9832
|
}
|
|
9833
9833
|
});
|
|
9834
9834
|
|
|
9835
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js
|
|
9835
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js
|
|
9836
9836
|
var require_validation_error2 = __commonJS({
|
|
9837
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
9837
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
9838
9838
|
"use strict";
|
|
9839
9839
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9840
9840
|
var ValidationError = class extends Error {
|
|
@@ -9848,9 +9848,9 @@ var require_validation_error2 = __commonJS({
|
|
|
9848
9848
|
}
|
|
9849
9849
|
});
|
|
9850
9850
|
|
|
9851
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js
|
|
9851
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js
|
|
9852
9852
|
var require_ref_error2 = __commonJS({
|
|
9853
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
9853
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
9854
9854
|
"use strict";
|
|
9855
9855
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9856
9856
|
var resolve_1 = require_resolve2();
|
|
@@ -9865,9 +9865,9 @@ var require_ref_error2 = __commonJS({
|
|
|
9865
9865
|
}
|
|
9866
9866
|
});
|
|
9867
9867
|
|
|
9868
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js
|
|
9868
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js
|
|
9869
9869
|
var require_compile2 = __commonJS({
|
|
9870
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
9870
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
9871
9871
|
"use strict";
|
|
9872
9872
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9873
9873
|
exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
|
|
@@ -10089,9 +10089,9 @@ var require_compile2 = __commonJS({
|
|
|
10089
10089
|
}
|
|
10090
10090
|
});
|
|
10091
10091
|
|
|
10092
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json
|
|
10092
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json
|
|
10093
10093
|
var require_data2 = __commonJS({
|
|
10094
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
10094
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
10095
10095
|
module2.exports = {
|
|
10096
10096
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
10097
10097
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -10108,9 +10108,9 @@ var require_data2 = __commonJS({
|
|
|
10108
10108
|
}
|
|
10109
10109
|
});
|
|
10110
10110
|
|
|
10111
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js
|
|
10111
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js
|
|
10112
10112
|
var require_uri2 = __commonJS({
|
|
10113
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
10113
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
10114
10114
|
"use strict";
|
|
10115
10115
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10116
10116
|
var uri = require_fast_uri();
|
|
@@ -10119,9 +10119,9 @@ var require_uri2 = __commonJS({
|
|
|
10119
10119
|
}
|
|
10120
10120
|
});
|
|
10121
10121
|
|
|
10122
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/core.js
|
|
10122
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/core.js
|
|
10123
10123
|
var require_core3 = __commonJS({
|
|
10124
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/core.js"(exports2) {
|
|
10124
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/core.js"(exports2) {
|
|
10125
10125
|
"use strict";
|
|
10126
10126
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10127
10127
|
exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
|
|
@@ -10730,9 +10730,9 @@ var require_core3 = __commonJS({
|
|
|
10730
10730
|
}
|
|
10731
10731
|
});
|
|
10732
10732
|
|
|
10733
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js
|
|
10733
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js
|
|
10734
10734
|
var require_id2 = __commonJS({
|
|
10735
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
10735
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
10736
10736
|
"use strict";
|
|
10737
10737
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10738
10738
|
var def = {
|
|
@@ -10745,9 +10745,9 @@ var require_id2 = __commonJS({
|
|
|
10745
10745
|
}
|
|
10746
10746
|
});
|
|
10747
10747
|
|
|
10748
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
10748
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
10749
10749
|
var require_ref2 = __commonJS({
|
|
10750
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
10750
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
10751
10751
|
"use strict";
|
|
10752
10752
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10753
10753
|
exports2.callRef = exports2.getValidate = void 0;
|
|
@@ -10867,9 +10867,9 @@ var require_ref2 = __commonJS({
|
|
|
10867
10867
|
}
|
|
10868
10868
|
});
|
|
10869
10869
|
|
|
10870
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js
|
|
10870
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js
|
|
10871
10871
|
var require_core4 = __commonJS({
|
|
10872
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
10872
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
10873
10873
|
"use strict";
|
|
10874
10874
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10875
10875
|
var id_1 = require_id2();
|
|
@@ -10888,9 +10888,9 @@ var require_core4 = __commonJS({
|
|
|
10888
10888
|
}
|
|
10889
10889
|
});
|
|
10890
10890
|
|
|
10891
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
10891
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
10892
10892
|
var require_limitNumber2 = __commonJS({
|
|
10893
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
10893
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
10894
10894
|
"use strict";
|
|
10895
10895
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10896
10896
|
var codegen_1 = require_codegen2();
|
|
@@ -10920,9 +10920,9 @@ var require_limitNumber2 = __commonJS({
|
|
|
10920
10920
|
}
|
|
10921
10921
|
});
|
|
10922
10922
|
|
|
10923
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
10923
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
10924
10924
|
var require_multipleOf2 = __commonJS({
|
|
10925
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
10925
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
10926
10926
|
"use strict";
|
|
10927
10927
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10928
10928
|
var codegen_1 = require_codegen2();
|
|
@@ -10948,9 +10948,9 @@ var require_multipleOf2 = __commonJS({
|
|
|
10948
10948
|
}
|
|
10949
10949
|
});
|
|
10950
10950
|
|
|
10951
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js
|
|
10951
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js
|
|
10952
10952
|
var require_ucs2length2 = __commonJS({
|
|
10953
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
10953
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
10954
10954
|
"use strict";
|
|
10955
10955
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10956
10956
|
function ucs2length(str) {
|
|
@@ -10974,9 +10974,9 @@ var require_ucs2length2 = __commonJS({
|
|
|
10974
10974
|
}
|
|
10975
10975
|
});
|
|
10976
10976
|
|
|
10977
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
10977
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
10978
10978
|
var require_limitLength2 = __commonJS({
|
|
10979
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
10979
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
10980
10980
|
"use strict";
|
|
10981
10981
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10982
10982
|
var codegen_1 = require_codegen2();
|
|
@@ -11006,9 +11006,9 @@ var require_limitLength2 = __commonJS({
|
|
|
11006
11006
|
}
|
|
11007
11007
|
});
|
|
11008
11008
|
|
|
11009
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
11009
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
11010
11010
|
var require_pattern2 = __commonJS({
|
|
11011
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
11011
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
11012
11012
|
"use strict";
|
|
11013
11013
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11014
11014
|
var code_1 = require_code4();
|
|
@@ -11043,9 +11043,9 @@ var require_pattern2 = __commonJS({
|
|
|
11043
11043
|
}
|
|
11044
11044
|
});
|
|
11045
11045
|
|
|
11046
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
11046
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
11047
11047
|
var require_limitProperties2 = __commonJS({
|
|
11048
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
11048
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
11049
11049
|
"use strict";
|
|
11050
11050
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11051
11051
|
var codegen_1 = require_codegen2();
|
|
@@ -11072,9 +11072,9 @@ var require_limitProperties2 = __commonJS({
|
|
|
11072
11072
|
}
|
|
11073
11073
|
});
|
|
11074
11074
|
|
|
11075
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
11075
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
11076
11076
|
var require_required2 = __commonJS({
|
|
11077
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
11077
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
11078
11078
|
"use strict";
|
|
11079
11079
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11080
11080
|
var code_1 = require_code4();
|
|
@@ -11154,9 +11154,9 @@ var require_required2 = __commonJS({
|
|
|
11154
11154
|
}
|
|
11155
11155
|
});
|
|
11156
11156
|
|
|
11157
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
11157
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
11158
11158
|
var require_limitItems2 = __commonJS({
|
|
11159
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
11159
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
11160
11160
|
"use strict";
|
|
11161
11161
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11162
11162
|
var codegen_1 = require_codegen2();
|
|
@@ -11183,9 +11183,9 @@ var require_limitItems2 = __commonJS({
|
|
|
11183
11183
|
}
|
|
11184
11184
|
});
|
|
11185
11185
|
|
|
11186
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js
|
|
11186
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js
|
|
11187
11187
|
var require_equal2 = __commonJS({
|
|
11188
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
11188
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
11189
11189
|
"use strict";
|
|
11190
11190
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11191
11191
|
var equal = require_fast_deep_equal();
|
|
@@ -11194,9 +11194,9 @@ var require_equal2 = __commonJS({
|
|
|
11194
11194
|
}
|
|
11195
11195
|
});
|
|
11196
11196
|
|
|
11197
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
11197
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
11198
11198
|
var require_uniqueItems2 = __commonJS({
|
|
11199
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
11199
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
11200
11200
|
"use strict";
|
|
11201
11201
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11202
11202
|
var dataType_1 = require_dataType2();
|
|
@@ -11261,9 +11261,9 @@ var require_uniqueItems2 = __commonJS({
|
|
|
11261
11261
|
}
|
|
11262
11262
|
});
|
|
11263
11263
|
|
|
11264
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
11264
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
11265
11265
|
var require_const2 = __commonJS({
|
|
11266
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
11266
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
11267
11267
|
"use strict";
|
|
11268
11268
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11269
11269
|
var codegen_1 = require_codegen2();
|
|
@@ -11290,9 +11290,9 @@ var require_const2 = __commonJS({
|
|
|
11290
11290
|
}
|
|
11291
11291
|
});
|
|
11292
11292
|
|
|
11293
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
11293
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
11294
11294
|
var require_enum2 = __commonJS({
|
|
11295
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
11295
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
11296
11296
|
"use strict";
|
|
11297
11297
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11298
11298
|
var codegen_1 = require_codegen2();
|
|
@@ -11339,9 +11339,9 @@ var require_enum2 = __commonJS({
|
|
|
11339
11339
|
}
|
|
11340
11340
|
});
|
|
11341
11341
|
|
|
11342
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
11342
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
11343
11343
|
var require_validation2 = __commonJS({
|
|
11344
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
11344
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
11345
11345
|
"use strict";
|
|
11346
11346
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11347
11347
|
var limitNumber_1 = require_limitNumber2();
|
|
@@ -11377,9 +11377,9 @@ var require_validation2 = __commonJS({
|
|
|
11377
11377
|
}
|
|
11378
11378
|
});
|
|
11379
11379
|
|
|
11380
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
11380
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
11381
11381
|
var require_additionalItems2 = __commonJS({
|
|
11382
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
11382
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
11383
11383
|
"use strict";
|
|
11384
11384
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11385
11385
|
exports2.validateAdditionalItems = void 0;
|
|
@@ -11430,9 +11430,9 @@ var require_additionalItems2 = __commonJS({
|
|
|
11430
11430
|
}
|
|
11431
11431
|
});
|
|
11432
11432
|
|
|
11433
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
11433
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
11434
11434
|
var require_items2 = __commonJS({
|
|
11435
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
11435
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
11436
11436
|
"use strict";
|
|
11437
11437
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11438
11438
|
exports2.validateTuple = void 0;
|
|
@@ -11487,9 +11487,9 @@ var require_items2 = __commonJS({
|
|
|
11487
11487
|
}
|
|
11488
11488
|
});
|
|
11489
11489
|
|
|
11490
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
11490
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
11491
11491
|
var require_prefixItems2 = __commonJS({
|
|
11492
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
11492
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
11493
11493
|
"use strict";
|
|
11494
11494
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11495
11495
|
var items_1 = require_items2();
|
|
@@ -11504,9 +11504,9 @@ var require_prefixItems2 = __commonJS({
|
|
|
11504
11504
|
}
|
|
11505
11505
|
});
|
|
11506
11506
|
|
|
11507
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
11507
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
11508
11508
|
var require_items20202 = __commonJS({
|
|
11509
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
11509
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
11510
11510
|
"use strict";
|
|
11511
11511
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11512
11512
|
var codegen_1 = require_codegen2();
|
|
@@ -11539,9 +11539,9 @@ var require_items20202 = __commonJS({
|
|
|
11539
11539
|
}
|
|
11540
11540
|
});
|
|
11541
11541
|
|
|
11542
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
11542
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
11543
11543
|
var require_contains2 = __commonJS({
|
|
11544
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
11544
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
11545
11545
|
"use strict";
|
|
11546
11546
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11547
11547
|
var codegen_1 = require_codegen2();
|
|
@@ -11633,9 +11633,9 @@ var require_contains2 = __commonJS({
|
|
|
11633
11633
|
}
|
|
11634
11634
|
});
|
|
11635
11635
|
|
|
11636
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
11636
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
11637
11637
|
var require_dependencies2 = __commonJS({
|
|
11638
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
11638
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
11639
11639
|
"use strict";
|
|
11640
11640
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11641
11641
|
exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
|
|
@@ -11727,9 +11727,9 @@ var require_dependencies2 = __commonJS({
|
|
|
11727
11727
|
}
|
|
11728
11728
|
});
|
|
11729
11729
|
|
|
11730
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
11730
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
11731
11731
|
var require_propertyNames2 = __commonJS({
|
|
11732
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
11732
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
11733
11733
|
"use strict";
|
|
11734
11734
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11735
11735
|
var codegen_1 = require_codegen2();
|
|
@@ -11770,9 +11770,9 @@ var require_propertyNames2 = __commonJS({
|
|
|
11770
11770
|
}
|
|
11771
11771
|
});
|
|
11772
11772
|
|
|
11773
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
11773
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
11774
11774
|
var require_additionalProperties2 = __commonJS({
|
|
11775
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
11775
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
11776
11776
|
"use strict";
|
|
11777
11777
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11778
11778
|
var code_1 = require_code4();
|
|
@@ -11876,9 +11876,9 @@ var require_additionalProperties2 = __commonJS({
|
|
|
11876
11876
|
}
|
|
11877
11877
|
});
|
|
11878
11878
|
|
|
11879
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
11879
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
11880
11880
|
var require_properties2 = __commonJS({
|
|
11881
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
11881
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
11882
11882
|
"use strict";
|
|
11883
11883
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11884
11884
|
var validate_1 = require_validate2();
|
|
@@ -11934,9 +11934,9 @@ var require_properties2 = __commonJS({
|
|
|
11934
11934
|
}
|
|
11935
11935
|
});
|
|
11936
11936
|
|
|
11937
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
11937
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
11938
11938
|
var require_patternProperties2 = __commonJS({
|
|
11939
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
11939
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
11940
11940
|
"use strict";
|
|
11941
11941
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11942
11942
|
var code_1 = require_code4();
|
|
@@ -12008,9 +12008,9 @@ var require_patternProperties2 = __commonJS({
|
|
|
12008
12008
|
}
|
|
12009
12009
|
});
|
|
12010
12010
|
|
|
12011
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
12011
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
12012
12012
|
var require_not2 = __commonJS({
|
|
12013
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
12013
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
12014
12014
|
"use strict";
|
|
12015
12015
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12016
12016
|
var util_1 = require_util2();
|
|
@@ -12039,9 +12039,9 @@ var require_not2 = __commonJS({
|
|
|
12039
12039
|
}
|
|
12040
12040
|
});
|
|
12041
12041
|
|
|
12042
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
12042
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
12043
12043
|
var require_anyOf2 = __commonJS({
|
|
12044
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
12044
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
12045
12045
|
"use strict";
|
|
12046
12046
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12047
12047
|
var code_1 = require_code4();
|
|
@@ -12056,9 +12056,9 @@ var require_anyOf2 = __commonJS({
|
|
|
12056
12056
|
}
|
|
12057
12057
|
});
|
|
12058
12058
|
|
|
12059
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
12059
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
12060
12060
|
var require_oneOf2 = __commonJS({
|
|
12061
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
12061
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
12062
12062
|
"use strict";
|
|
12063
12063
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12064
12064
|
var codegen_1 = require_codegen2();
|
|
@@ -12114,9 +12114,9 @@ var require_oneOf2 = __commonJS({
|
|
|
12114
12114
|
}
|
|
12115
12115
|
});
|
|
12116
12116
|
|
|
12117
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
12117
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
12118
12118
|
var require_allOf2 = __commonJS({
|
|
12119
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
12119
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
12120
12120
|
"use strict";
|
|
12121
12121
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12122
12122
|
var util_1 = require_util2();
|
|
@@ -12141,9 +12141,9 @@ var require_allOf2 = __commonJS({
|
|
|
12141
12141
|
}
|
|
12142
12142
|
});
|
|
12143
12143
|
|
|
12144
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
12144
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
12145
12145
|
var require_if2 = __commonJS({
|
|
12146
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
12146
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
12147
12147
|
"use strict";
|
|
12148
12148
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12149
12149
|
var codegen_1 = require_codegen2();
|
|
@@ -12210,9 +12210,9 @@ var require_if2 = __commonJS({
|
|
|
12210
12210
|
}
|
|
12211
12211
|
});
|
|
12212
12212
|
|
|
12213
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
12213
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
12214
12214
|
var require_thenElse2 = __commonJS({
|
|
12215
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
12215
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
12216
12216
|
"use strict";
|
|
12217
12217
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12218
12218
|
var util_1 = require_util2();
|
|
@@ -12228,9 +12228,9 @@ var require_thenElse2 = __commonJS({
|
|
|
12228
12228
|
}
|
|
12229
12229
|
});
|
|
12230
12230
|
|
|
12231
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
12231
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
12232
12232
|
var require_applicator2 = __commonJS({
|
|
12233
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
12233
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
12234
12234
|
"use strict";
|
|
12235
12235
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12236
12236
|
var additionalItems_1 = require_additionalItems2();
|
|
@@ -12276,9 +12276,9 @@ var require_applicator2 = __commonJS({
|
|
|
12276
12276
|
}
|
|
12277
12277
|
});
|
|
12278
12278
|
|
|
12279
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js
|
|
12279
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js
|
|
12280
12280
|
var require_format3 = __commonJS({
|
|
12281
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
12281
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
12282
12282
|
"use strict";
|
|
12283
12283
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12284
12284
|
var codegen_1 = require_codegen2();
|
|
@@ -12366,9 +12366,9 @@ var require_format3 = __commonJS({
|
|
|
12366
12366
|
}
|
|
12367
12367
|
});
|
|
12368
12368
|
|
|
12369
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js
|
|
12369
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js
|
|
12370
12370
|
var require_format4 = __commonJS({
|
|
12371
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
12371
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
12372
12372
|
"use strict";
|
|
12373
12373
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12374
12374
|
var format_1 = require_format3();
|
|
@@ -12377,9 +12377,9 @@ var require_format4 = __commonJS({
|
|
|
12377
12377
|
}
|
|
12378
12378
|
});
|
|
12379
12379
|
|
|
12380
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js
|
|
12380
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js
|
|
12381
12381
|
var require_metadata2 = __commonJS({
|
|
12382
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
12382
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
12383
12383
|
"use strict";
|
|
12384
12384
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12385
12385
|
exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
|
|
@@ -12400,9 +12400,9 @@ var require_metadata2 = __commonJS({
|
|
|
12400
12400
|
}
|
|
12401
12401
|
});
|
|
12402
12402
|
|
|
12403
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js
|
|
12403
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js
|
|
12404
12404
|
var require_draft72 = __commonJS({
|
|
12405
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
|
|
12405
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
|
|
12406
12406
|
"use strict";
|
|
12407
12407
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12408
12408
|
var core_1 = require_core4();
|
|
@@ -12422,9 +12422,9 @@ var require_draft72 = __commonJS({
|
|
|
12422
12422
|
}
|
|
12423
12423
|
});
|
|
12424
12424
|
|
|
12425
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
12425
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
12426
12426
|
var require_types2 = __commonJS({
|
|
12427
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
12427
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
12428
12428
|
"use strict";
|
|
12429
12429
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12430
12430
|
exports2.DiscrError = void 0;
|
|
@@ -12436,9 +12436,9 @@ var require_types2 = __commonJS({
|
|
|
12436
12436
|
}
|
|
12437
12437
|
});
|
|
12438
12438
|
|
|
12439
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
12439
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
12440
12440
|
var require_discriminator2 = __commonJS({
|
|
12441
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
12441
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
12442
12442
|
"use strict";
|
|
12443
12443
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12444
12444
|
var codegen_1 = require_codegen2();
|
|
@@ -12541,9 +12541,9 @@ var require_discriminator2 = __commonJS({
|
|
|
12541
12541
|
}
|
|
12542
12542
|
});
|
|
12543
12543
|
|
|
12544
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
12544
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
12545
12545
|
var require_json_schema_draft_072 = __commonJS({
|
|
12546
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
|
|
12546
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
|
|
12547
12547
|
module2.exports = {
|
|
12548
12548
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
12549
12549
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -12698,9 +12698,9 @@ var require_json_schema_draft_072 = __commonJS({
|
|
|
12698
12698
|
}
|
|
12699
12699
|
});
|
|
12700
12700
|
|
|
12701
|
-
// node_modules/ajv-formats/node_modules/ajv/dist/ajv.js
|
|
12701
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js
|
|
12702
12702
|
var require_ajv2 = __commonJS({
|
|
12703
|
-
"node_modules/ajv-formats/node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
|
12703
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
|
12704
12704
|
"use strict";
|
|
12705
12705
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12706
12706
|
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
|
|
@@ -12768,9 +12768,9 @@ var require_ajv2 = __commonJS({
|
|
|
12768
12768
|
}
|
|
12769
12769
|
});
|
|
12770
12770
|
|
|
12771
|
-
// node_modules/ajv-formats/dist/limit.js
|
|
12771
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/dist/limit.js
|
|
12772
12772
|
var require_limit = __commonJS({
|
|
12773
|
-
"node_modules/ajv-formats/dist/limit.js"(exports2) {
|
|
12773
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/dist/limit.js"(exports2) {
|
|
12774
12774
|
"use strict";
|
|
12775
12775
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12776
12776
|
exports2.formatLimitDefinition = void 0;
|
|
@@ -12840,9 +12840,9 @@ var require_limit = __commonJS({
|
|
|
12840
12840
|
}
|
|
12841
12841
|
});
|
|
12842
12842
|
|
|
12843
|
-
// node_modules/ajv-formats/dist/index.js
|
|
12843
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/dist/index.js
|
|
12844
12844
|
var require_dist = __commonJS({
|
|
12845
|
-
"node_modules/ajv-formats/dist/index.js"(exports2, module2) {
|
|
12845
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ajv-formats/dist/index.js"(exports2, module2) {
|
|
12846
12846
|
"use strict";
|
|
12847
12847
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12848
12848
|
var formats_1 = require_formats();
|
|
@@ -12882,9 +12882,9 @@ var require_dist = __commonJS({
|
|
|
12882
12882
|
}
|
|
12883
12883
|
});
|
|
12884
12884
|
|
|
12885
|
-
// node_modules/content-type/index.js
|
|
12885
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/content-type/index.js
|
|
12886
12886
|
var require_content_type = __commonJS({
|
|
12887
|
-
"node_modules/content-type/index.js"(exports2) {
|
|
12887
|
+
"../../../Users/hainc/duan/hocAI/node_modules/content-type/index.js"(exports2) {
|
|
12888
12888
|
"use strict";
|
|
12889
12889
|
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
|
|
12890
12890
|
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;
|
|
@@ -12986,9 +12986,9 @@ var require_content_type = __commonJS({
|
|
|
12986
12986
|
}
|
|
12987
12987
|
});
|
|
12988
12988
|
|
|
12989
|
-
// node_modules/ws/lib/constants.js
|
|
12989
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/constants.js
|
|
12990
12990
|
var require_constants = __commonJS({
|
|
12991
|
-
"node_modules/ws/lib/constants.js"(exports2, module2) {
|
|
12991
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/constants.js"(exports2, module2) {
|
|
12992
12992
|
"use strict";
|
|
12993
12993
|
var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
|
|
12994
12994
|
var hasBlob = typeof Blob !== "undefined";
|
|
@@ -13009,9 +13009,9 @@ var require_constants = __commonJS({
|
|
|
13009
13009
|
}
|
|
13010
13010
|
});
|
|
13011
13011
|
|
|
13012
|
-
// node_modules/ws/lib/buffer-util.js
|
|
13012
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/buffer-util.js
|
|
13013
13013
|
var require_buffer_util = __commonJS({
|
|
13014
|
-
"node_modules/ws/lib/buffer-util.js"(exports2, module2) {
|
|
13014
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/buffer-util.js"(exports2, module2) {
|
|
13015
13015
|
"use strict";
|
|
13016
13016
|
var { EMPTY_BUFFER } = require_constants();
|
|
13017
13017
|
var FastBuffer = Buffer[Symbol.species];
|
|
@@ -13084,9 +13084,9 @@ var require_buffer_util = __commonJS({
|
|
|
13084
13084
|
}
|
|
13085
13085
|
});
|
|
13086
13086
|
|
|
13087
|
-
// node_modules/ws/lib/limiter.js
|
|
13087
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/limiter.js
|
|
13088
13088
|
var require_limiter = __commonJS({
|
|
13089
|
-
"node_modules/ws/lib/limiter.js"(exports2, module2) {
|
|
13089
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/limiter.js"(exports2, module2) {
|
|
13090
13090
|
"use strict";
|
|
13091
13091
|
var kDone = /* @__PURE__ */ Symbol("kDone");
|
|
13092
13092
|
var kRun = /* @__PURE__ */ Symbol("kRun");
|
|
@@ -13134,9 +13134,9 @@ var require_limiter = __commonJS({
|
|
|
13134
13134
|
}
|
|
13135
13135
|
});
|
|
13136
13136
|
|
|
13137
|
-
// node_modules/ws/lib/permessage-deflate.js
|
|
13137
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/permessage-deflate.js
|
|
13138
13138
|
var require_permessage_deflate = __commonJS({
|
|
13139
|
-
"node_modules/ws/lib/permessage-deflate.js"(exports2, module2) {
|
|
13139
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/permessage-deflate.js"(exports2, module2) {
|
|
13140
13140
|
"use strict";
|
|
13141
13141
|
var zlib = require("zlib");
|
|
13142
13142
|
var bufferUtil = require_buffer_util();
|
|
@@ -13517,9 +13517,9 @@ var require_permessage_deflate = __commonJS({
|
|
|
13517
13517
|
}
|
|
13518
13518
|
});
|
|
13519
13519
|
|
|
13520
|
-
// node_modules/ws/lib/validation.js
|
|
13520
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/validation.js
|
|
13521
13521
|
var require_validation3 = __commonJS({
|
|
13522
|
-
"node_modules/ws/lib/validation.js"(exports2, module2) {
|
|
13522
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/validation.js"(exports2, module2) {
|
|
13523
13523
|
"use strict";
|
|
13524
13524
|
var { isUtf8 } = require("buffer");
|
|
13525
13525
|
var { hasBlob } = require_constants();
|
|
@@ -13718,9 +13718,9 @@ var require_validation3 = __commonJS({
|
|
|
13718
13718
|
}
|
|
13719
13719
|
});
|
|
13720
13720
|
|
|
13721
|
-
// node_modules/ws/lib/receiver.js
|
|
13721
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/receiver.js
|
|
13722
13722
|
var require_receiver = __commonJS({
|
|
13723
|
-
"node_modules/ws/lib/receiver.js"(exports2, module2) {
|
|
13723
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/receiver.js"(exports2, module2) {
|
|
13724
13724
|
"use strict";
|
|
13725
13725
|
var { Writable } = require("stream");
|
|
13726
13726
|
var PerMessageDeflate2 = require_permessage_deflate();
|
|
@@ -14341,9 +14341,9 @@ var require_receiver = __commonJS({
|
|
|
14341
14341
|
}
|
|
14342
14342
|
});
|
|
14343
14343
|
|
|
14344
|
-
// node_modules/ws/lib/sender.js
|
|
14344
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/sender.js
|
|
14345
14345
|
var require_sender = __commonJS({
|
|
14346
|
-
"node_modules/ws/lib/sender.js"(exports2, module2) {
|
|
14346
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/sender.js"(exports2, module2) {
|
|
14347
14347
|
"use strict";
|
|
14348
14348
|
var { Duplex } = require("stream");
|
|
14349
14349
|
var { randomFillSync } = require("crypto");
|
|
@@ -14834,9 +14834,9 @@ var require_sender = __commonJS({
|
|
|
14834
14834
|
}
|
|
14835
14835
|
});
|
|
14836
14836
|
|
|
14837
|
-
// node_modules/ws/lib/event-target.js
|
|
14837
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/event-target.js
|
|
14838
14838
|
var require_event_target = __commonJS({
|
|
14839
|
-
"node_modules/ws/lib/event-target.js"(exports2, module2) {
|
|
14839
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/event-target.js"(exports2, module2) {
|
|
14840
14840
|
"use strict";
|
|
14841
14841
|
var { kForOnEventAttribute, kListener } = require_constants();
|
|
14842
14842
|
var kCode = /* @__PURE__ */ Symbol("kCode");
|
|
@@ -15063,9 +15063,9 @@ var require_event_target = __commonJS({
|
|
|
15063
15063
|
}
|
|
15064
15064
|
});
|
|
15065
15065
|
|
|
15066
|
-
// node_modules/ws/lib/extension.js
|
|
15066
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/extension.js
|
|
15067
15067
|
var require_extension = __commonJS({
|
|
15068
|
-
"node_modules/ws/lib/extension.js"(exports2, module2) {
|
|
15068
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/extension.js"(exports2, module2) {
|
|
15069
15069
|
"use strict";
|
|
15070
15070
|
var { tokenChars } = require_validation3();
|
|
15071
15071
|
function push(dest, name, elem) {
|
|
@@ -15216,9 +15216,9 @@ var require_extension = __commonJS({
|
|
|
15216
15216
|
}
|
|
15217
15217
|
});
|
|
15218
15218
|
|
|
15219
|
-
// node_modules/ws/lib/websocket.js
|
|
15219
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/websocket.js
|
|
15220
15220
|
var require_websocket = __commonJS({
|
|
15221
|
-
"node_modules/ws/lib/websocket.js"(exports2, module2) {
|
|
15221
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/websocket.js"(exports2, module2) {
|
|
15222
15222
|
"use strict";
|
|
15223
15223
|
var EventEmitter = require("events");
|
|
15224
15224
|
var https = require("https");
|
|
@@ -16112,9 +16112,9 @@ var require_websocket = __commonJS({
|
|
|
16112
16112
|
}
|
|
16113
16113
|
});
|
|
16114
16114
|
|
|
16115
|
-
// node_modules/ws/lib/stream.js
|
|
16115
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/stream.js
|
|
16116
16116
|
var require_stream = __commonJS({
|
|
16117
|
-
"node_modules/ws/lib/stream.js"(exports2, module2) {
|
|
16117
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/stream.js"(exports2, module2) {
|
|
16118
16118
|
"use strict";
|
|
16119
16119
|
var WebSocket2 = require_websocket();
|
|
16120
16120
|
var { Duplex } = require("stream");
|
|
@@ -16210,9 +16210,9 @@ var require_stream = __commonJS({
|
|
|
16210
16210
|
}
|
|
16211
16211
|
});
|
|
16212
16212
|
|
|
16213
|
-
// node_modules/ws/lib/subprotocol.js
|
|
16213
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/subprotocol.js
|
|
16214
16214
|
var require_subprotocol = __commonJS({
|
|
16215
|
-
"node_modules/ws/lib/subprotocol.js"(exports2, module2) {
|
|
16215
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/subprotocol.js"(exports2, module2) {
|
|
16216
16216
|
"use strict";
|
|
16217
16217
|
var { tokenChars } = require_validation3();
|
|
16218
16218
|
function parse3(header) {
|
|
@@ -16255,9 +16255,9 @@ var require_subprotocol = __commonJS({
|
|
|
16255
16255
|
}
|
|
16256
16256
|
});
|
|
16257
16257
|
|
|
16258
|
-
// node_modules/ws/lib/websocket-server.js
|
|
16258
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/lib/websocket-server.js
|
|
16259
16259
|
var require_websocket_server = __commonJS({
|
|
16260
|
-
"node_modules/ws/lib/websocket-server.js"(exports2, module2) {
|
|
16260
|
+
"../../../Users/hainc/duan/hocAI/node_modules/ws/lib/websocket-server.js"(exports2, module2) {
|
|
16261
16261
|
"use strict";
|
|
16262
16262
|
var EventEmitter = require("events");
|
|
16263
16263
|
var http2 = require("http");
|
|
@@ -16657,16 +16657,16 @@ var require_websocket_server = __commonJS({
|
|
|
16657
16657
|
});
|
|
16658
16658
|
|
|
16659
16659
|
// apps/mcp/src/cli.ts
|
|
16660
|
-
var
|
|
16661
|
-
var
|
|
16660
|
+
var import_node_fs6 = require("node:fs");
|
|
16661
|
+
var import_node_os5 = require("node:os");
|
|
16662
16662
|
var import_node_path6 = require("node:path");
|
|
16663
16663
|
var import_node_crypto3 = require("node:crypto");
|
|
16664
|
-
var
|
|
16664
|
+
var import_node_child_process4 = require("node:child_process");
|
|
16665
16665
|
|
|
16666
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
16666
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
16667
16667
|
var import_node_process = __toESM(require("node:process"), 1);
|
|
16668
16668
|
|
|
16669
|
-
// node_modules/zod/v4/classic/external.js
|
|
16669
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/external.js
|
|
16670
16670
|
var external_exports = {};
|
|
16671
16671
|
__export(external_exports, {
|
|
16672
16672
|
$brand: () => $brand,
|
|
@@ -16909,7 +16909,7 @@ __export(external_exports, {
|
|
|
16909
16909
|
xor: () => xor
|
|
16910
16910
|
});
|
|
16911
16911
|
|
|
16912
|
-
// node_modules/zod/v4/core/index.js
|
|
16912
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/index.js
|
|
16913
16913
|
var core_exports2 = {};
|
|
16914
16914
|
__export(core_exports2, {
|
|
16915
16915
|
$ZodAny: () => $ZodAny,
|
|
@@ -17188,7 +17188,7 @@ __export(core_exports2, {
|
|
|
17188
17188
|
version: () => version
|
|
17189
17189
|
});
|
|
17190
17190
|
|
|
17191
|
-
// node_modules/zod/v4/core/core.js
|
|
17191
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/core.js
|
|
17192
17192
|
var _a;
|
|
17193
17193
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
17194
17194
|
status: "aborted"
|
|
@@ -17265,7 +17265,7 @@ function config(newConfig) {
|
|
|
17265
17265
|
return globalConfig;
|
|
17266
17266
|
}
|
|
17267
17267
|
|
|
17268
|
-
// node_modules/zod/v4/core/util.js
|
|
17268
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/util.js
|
|
17269
17269
|
var util_exports = {};
|
|
17270
17270
|
__export(util_exports, {
|
|
17271
17271
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -17961,7 +17961,7 @@ var Class = class {
|
|
|
17961
17961
|
}
|
|
17962
17962
|
};
|
|
17963
17963
|
|
|
17964
|
-
// node_modules/zod/v4/core/errors.js
|
|
17964
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/errors.js
|
|
17965
17965
|
var initializer = (inst, def) => {
|
|
17966
17966
|
inst.name = "$ZodError";
|
|
17967
17967
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -18100,7 +18100,7 @@ function prettifyError(error51) {
|
|
|
18100
18100
|
return lines.join("\n");
|
|
18101
18101
|
}
|
|
18102
18102
|
|
|
18103
|
-
// node_modules/zod/v4/core/parse.js
|
|
18103
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/parse.js
|
|
18104
18104
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
18105
18105
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
18106
18106
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -18188,7 +18188,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
18188
18188
|
};
|
|
18189
18189
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
18190
18190
|
|
|
18191
|
-
// node_modules/zod/v4/core/regexes.js
|
|
18191
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/regexes.js
|
|
18192
18192
|
var regexes_exports = {};
|
|
18193
18193
|
__export(regexes_exports, {
|
|
18194
18194
|
base64: () => base64,
|
|
@@ -18347,7 +18347,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
18347
18347
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
18348
18348
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
18349
18349
|
|
|
18350
|
-
// node_modules/zod/v4/core/checks.js
|
|
18350
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/checks.js
|
|
18351
18351
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
18352
18352
|
var _a3;
|
|
18353
18353
|
inst._zod ?? (inst._zod = {});
|
|
@@ -18895,7 +18895,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
18895
18895
|
};
|
|
18896
18896
|
});
|
|
18897
18897
|
|
|
18898
|
-
// node_modules/zod/v4/core/doc.js
|
|
18898
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/doc.js
|
|
18899
18899
|
var Doc = class {
|
|
18900
18900
|
constructor(args = []) {
|
|
18901
18901
|
this.content = [];
|
|
@@ -18931,14 +18931,14 @@ var Doc = class {
|
|
|
18931
18931
|
}
|
|
18932
18932
|
};
|
|
18933
18933
|
|
|
18934
|
-
// node_modules/zod/v4/core/versions.js
|
|
18934
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/versions.js
|
|
18935
18935
|
var version = {
|
|
18936
18936
|
major: 4,
|
|
18937
18937
|
minor: 4,
|
|
18938
18938
|
patch: 3
|
|
18939
18939
|
};
|
|
18940
18940
|
|
|
18941
|
-
// node_modules/zod/v4/core/schemas.js
|
|
18941
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/schemas.js
|
|
18942
18942
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
18943
18943
|
var _a3;
|
|
18944
18944
|
inst ?? (inst = {});
|
|
@@ -21031,7 +21031,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
21031
21031
|
}
|
|
21032
21032
|
}
|
|
21033
21033
|
|
|
21034
|
-
// node_modules/zod/v4/locales/index.js
|
|
21034
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/index.js
|
|
21035
21035
|
var locales_exports = {};
|
|
21036
21036
|
__export(locales_exports, {
|
|
21037
21037
|
ar: () => ar_default,
|
|
@@ -21088,7 +21088,7 @@ __export(locales_exports, {
|
|
|
21088
21088
|
zhTW: () => zh_TW_default
|
|
21089
21089
|
});
|
|
21090
21090
|
|
|
21091
|
-
// node_modules/zod/v4/locales/ar.js
|
|
21091
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ar.js
|
|
21092
21092
|
var error = () => {
|
|
21093
21093
|
const Sizable = {
|
|
21094
21094
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -21195,7 +21195,7 @@ function ar_default() {
|
|
|
21195
21195
|
};
|
|
21196
21196
|
}
|
|
21197
21197
|
|
|
21198
|
-
// node_modules/zod/v4/locales/az.js
|
|
21198
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/az.js
|
|
21199
21199
|
var error2 = () => {
|
|
21200
21200
|
const Sizable = {
|
|
21201
21201
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -21301,7 +21301,7 @@ function az_default() {
|
|
|
21301
21301
|
};
|
|
21302
21302
|
}
|
|
21303
21303
|
|
|
21304
|
-
// node_modules/zod/v4/locales/be.js
|
|
21304
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/be.js
|
|
21305
21305
|
function getBelarusianPlural(count, one, few, many) {
|
|
21306
21306
|
const absCount = Math.abs(count);
|
|
21307
21307
|
const lastDigit = absCount % 10;
|
|
@@ -21458,7 +21458,7 @@ function be_default() {
|
|
|
21458
21458
|
};
|
|
21459
21459
|
}
|
|
21460
21460
|
|
|
21461
|
-
// node_modules/zod/v4/locales/bg.js
|
|
21461
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/bg.js
|
|
21462
21462
|
var error4 = () => {
|
|
21463
21463
|
const Sizable = {
|
|
21464
21464
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -21579,7 +21579,7 @@ function bg_default() {
|
|
|
21579
21579
|
};
|
|
21580
21580
|
}
|
|
21581
21581
|
|
|
21582
|
-
// node_modules/zod/v4/locales/ca.js
|
|
21582
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ca.js
|
|
21583
21583
|
var error5 = () => {
|
|
21584
21584
|
const Sizable = {
|
|
21585
21585
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -21688,7 +21688,7 @@ function ca_default() {
|
|
|
21688
21688
|
};
|
|
21689
21689
|
}
|
|
21690
21690
|
|
|
21691
|
-
// node_modules/zod/v4/locales/cs.js
|
|
21691
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/cs.js
|
|
21692
21692
|
var error6 = () => {
|
|
21693
21693
|
const Sizable = {
|
|
21694
21694
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -21800,7 +21800,7 @@ function cs_default() {
|
|
|
21800
21800
|
};
|
|
21801
21801
|
}
|
|
21802
21802
|
|
|
21803
|
-
// node_modules/zod/v4/locales/da.js
|
|
21803
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/da.js
|
|
21804
21804
|
var error7 = () => {
|
|
21805
21805
|
const Sizable = {
|
|
21806
21806
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -21916,7 +21916,7 @@ function da_default() {
|
|
|
21916
21916
|
};
|
|
21917
21917
|
}
|
|
21918
21918
|
|
|
21919
|
-
// node_modules/zod/v4/locales/de.js
|
|
21919
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/de.js
|
|
21920
21920
|
var error8 = () => {
|
|
21921
21921
|
const Sizable = {
|
|
21922
21922
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -22025,7 +22025,7 @@ function de_default() {
|
|
|
22025
22025
|
};
|
|
22026
22026
|
}
|
|
22027
22027
|
|
|
22028
|
-
// node_modules/zod/v4/locales/el.js
|
|
22028
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/el.js
|
|
22029
22029
|
var error9 = () => {
|
|
22030
22030
|
const Sizable = {
|
|
22031
22031
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -22135,7 +22135,7 @@ function el_default() {
|
|
|
22135
22135
|
};
|
|
22136
22136
|
}
|
|
22137
22137
|
|
|
22138
|
-
// node_modules/zod/v4/locales/en.js
|
|
22138
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/en.js
|
|
22139
22139
|
var error10 = () => {
|
|
22140
22140
|
const Sizable = {
|
|
22141
22141
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -22248,7 +22248,7 @@ function en_default() {
|
|
|
22248
22248
|
};
|
|
22249
22249
|
}
|
|
22250
22250
|
|
|
22251
|
-
// node_modules/zod/v4/locales/eo.js
|
|
22251
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/eo.js
|
|
22252
22252
|
var error11 = () => {
|
|
22253
22253
|
const Sizable = {
|
|
22254
22254
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -22358,7 +22358,7 @@ function eo_default() {
|
|
|
22358
22358
|
};
|
|
22359
22359
|
}
|
|
22360
22360
|
|
|
22361
|
-
// node_modules/zod/v4/locales/es.js
|
|
22361
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/es.js
|
|
22362
22362
|
var error12 = () => {
|
|
22363
22363
|
const Sizable = {
|
|
22364
22364
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -22491,7 +22491,7 @@ function es_default() {
|
|
|
22491
22491
|
};
|
|
22492
22492
|
}
|
|
22493
22493
|
|
|
22494
|
-
// node_modules/zod/v4/locales/fa.js
|
|
22494
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/fa.js
|
|
22495
22495
|
var error13 = () => {
|
|
22496
22496
|
const Sizable = {
|
|
22497
22497
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -22606,7 +22606,7 @@ function fa_default() {
|
|
|
22606
22606
|
};
|
|
22607
22607
|
}
|
|
22608
22608
|
|
|
22609
|
-
// node_modules/zod/v4/locales/fi.js
|
|
22609
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/fi.js
|
|
22610
22610
|
var error14 = () => {
|
|
22611
22611
|
const Sizable = {
|
|
22612
22612
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -22719,7 +22719,7 @@ function fi_default() {
|
|
|
22719
22719
|
};
|
|
22720
22720
|
}
|
|
22721
22721
|
|
|
22722
|
-
// node_modules/zod/v4/locales/fr.js
|
|
22722
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/fr.js
|
|
22723
22723
|
var error15 = () => {
|
|
22724
22724
|
const Sizable = {
|
|
22725
22725
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -22845,7 +22845,7 @@ function fr_default() {
|
|
|
22845
22845
|
};
|
|
22846
22846
|
}
|
|
22847
22847
|
|
|
22848
|
-
// node_modules/zod/v4/locales/fr-CA.js
|
|
22848
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/fr-CA.js
|
|
22849
22849
|
var error16 = () => {
|
|
22850
22850
|
const Sizable = {
|
|
22851
22851
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -22953,7 +22953,7 @@ function fr_CA_default() {
|
|
|
22953
22953
|
};
|
|
22954
22954
|
}
|
|
22955
22955
|
|
|
22956
|
-
// node_modules/zod/v4/locales/he.js
|
|
22956
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/he.js
|
|
22957
22957
|
var error17 = () => {
|
|
22958
22958
|
const TypeNames = {
|
|
22959
22959
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -23148,7 +23148,7 @@ function he_default() {
|
|
|
23148
23148
|
};
|
|
23149
23149
|
}
|
|
23150
23150
|
|
|
23151
|
-
// node_modules/zod/v4/locales/hr.js
|
|
23151
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/hr.js
|
|
23152
23152
|
var error18 = () => {
|
|
23153
23153
|
const Sizable = {
|
|
23154
23154
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -23271,7 +23271,7 @@ function hr_default() {
|
|
|
23271
23271
|
};
|
|
23272
23272
|
}
|
|
23273
23273
|
|
|
23274
|
-
// node_modules/zod/v4/locales/hu.js
|
|
23274
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/hu.js
|
|
23275
23275
|
var error19 = () => {
|
|
23276
23276
|
const Sizable = {
|
|
23277
23277
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -23380,7 +23380,7 @@ function hu_default() {
|
|
|
23380
23380
|
};
|
|
23381
23381
|
}
|
|
23382
23382
|
|
|
23383
|
-
// node_modules/zod/v4/locales/hy.js
|
|
23383
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/hy.js
|
|
23384
23384
|
function getArmenianPlural(count, one, many) {
|
|
23385
23385
|
return Math.abs(count) === 1 ? one : many;
|
|
23386
23386
|
}
|
|
@@ -23528,7 +23528,7 @@ function hy_default() {
|
|
|
23528
23528
|
};
|
|
23529
23529
|
}
|
|
23530
23530
|
|
|
23531
|
-
// node_modules/zod/v4/locales/id.js
|
|
23531
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/id.js
|
|
23532
23532
|
var error21 = () => {
|
|
23533
23533
|
const Sizable = {
|
|
23534
23534
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -23635,7 +23635,7 @@ function id_default() {
|
|
|
23635
23635
|
};
|
|
23636
23636
|
}
|
|
23637
23637
|
|
|
23638
|
-
// node_modules/zod/v4/locales/is.js
|
|
23638
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/is.js
|
|
23639
23639
|
var error22 = () => {
|
|
23640
23640
|
const Sizable = {
|
|
23641
23641
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -23745,7 +23745,7 @@ function is_default() {
|
|
|
23745
23745
|
};
|
|
23746
23746
|
}
|
|
23747
23747
|
|
|
23748
|
-
// node_modules/zod/v4/locales/it.js
|
|
23748
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/it.js
|
|
23749
23749
|
var error23 = () => {
|
|
23750
23750
|
const Sizable = {
|
|
23751
23751
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -23854,7 +23854,7 @@ function it_default() {
|
|
|
23854
23854
|
};
|
|
23855
23855
|
}
|
|
23856
23856
|
|
|
23857
|
-
// node_modules/zod/v4/locales/ja.js
|
|
23857
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ja.js
|
|
23858
23858
|
var error24 = () => {
|
|
23859
23859
|
const Sizable = {
|
|
23860
23860
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -23962,7 +23962,7 @@ function ja_default() {
|
|
|
23962
23962
|
};
|
|
23963
23963
|
}
|
|
23964
23964
|
|
|
23965
|
-
// node_modules/zod/v4/locales/ka.js
|
|
23965
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ka.js
|
|
23966
23966
|
var error25 = () => {
|
|
23967
23967
|
const Sizable = {
|
|
23968
23968
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -24075,7 +24075,7 @@ function ka_default() {
|
|
|
24075
24075
|
};
|
|
24076
24076
|
}
|
|
24077
24077
|
|
|
24078
|
-
// node_modules/zod/v4/locales/km.js
|
|
24078
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/km.js
|
|
24079
24079
|
var error26 = () => {
|
|
24080
24080
|
const Sizable = {
|
|
24081
24081
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -24186,12 +24186,12 @@ function km_default() {
|
|
|
24186
24186
|
};
|
|
24187
24187
|
}
|
|
24188
24188
|
|
|
24189
|
-
// node_modules/zod/v4/locales/kh.js
|
|
24189
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/kh.js
|
|
24190
24190
|
function kh_default() {
|
|
24191
24191
|
return km_default();
|
|
24192
24192
|
}
|
|
24193
24193
|
|
|
24194
|
-
// node_modules/zod/v4/locales/ko.js
|
|
24194
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ko.js
|
|
24195
24195
|
var error27 = () => {
|
|
24196
24196
|
const Sizable = {
|
|
24197
24197
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -24303,7 +24303,7 @@ function ko_default() {
|
|
|
24303
24303
|
};
|
|
24304
24304
|
}
|
|
24305
24305
|
|
|
24306
|
-
// node_modules/zod/v4/locales/lt.js
|
|
24306
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/lt.js
|
|
24307
24307
|
var capitalizeFirstCharacter = (text) => {
|
|
24308
24308
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
24309
24309
|
};
|
|
@@ -24507,7 +24507,7 @@ function lt_default() {
|
|
|
24507
24507
|
};
|
|
24508
24508
|
}
|
|
24509
24509
|
|
|
24510
|
-
// node_modules/zod/v4/locales/mk.js
|
|
24510
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/mk.js
|
|
24511
24511
|
var error29 = () => {
|
|
24512
24512
|
const Sizable = {
|
|
24513
24513
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -24617,7 +24617,7 @@ function mk_default() {
|
|
|
24617
24617
|
};
|
|
24618
24618
|
}
|
|
24619
24619
|
|
|
24620
|
-
// node_modules/zod/v4/locales/ms.js
|
|
24620
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ms.js
|
|
24621
24621
|
var error30 = () => {
|
|
24622
24622
|
const Sizable = {
|
|
24623
24623
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -24725,7 +24725,7 @@ function ms_default() {
|
|
|
24725
24725
|
};
|
|
24726
24726
|
}
|
|
24727
24727
|
|
|
24728
|
-
// node_modules/zod/v4/locales/nl.js
|
|
24728
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/nl.js
|
|
24729
24729
|
var error31 = () => {
|
|
24730
24730
|
const Sizable = {
|
|
24731
24731
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -24836,7 +24836,7 @@ function nl_default() {
|
|
|
24836
24836
|
};
|
|
24837
24837
|
}
|
|
24838
24838
|
|
|
24839
|
-
// node_modules/zod/v4/locales/no.js
|
|
24839
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/no.js
|
|
24840
24840
|
var error32 = () => {
|
|
24841
24841
|
const Sizable = {
|
|
24842
24842
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -24945,7 +24945,7 @@ function no_default() {
|
|
|
24945
24945
|
};
|
|
24946
24946
|
}
|
|
24947
24947
|
|
|
24948
|
-
// node_modules/zod/v4/locales/ota.js
|
|
24948
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ota.js
|
|
24949
24949
|
var error33 = () => {
|
|
24950
24950
|
const Sizable = {
|
|
24951
24951
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -25055,7 +25055,7 @@ function ota_default() {
|
|
|
25055
25055
|
};
|
|
25056
25056
|
}
|
|
25057
25057
|
|
|
25058
|
-
// node_modules/zod/v4/locales/ps.js
|
|
25058
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ps.js
|
|
25059
25059
|
var error34 = () => {
|
|
25060
25060
|
const Sizable = {
|
|
25061
25061
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -25170,7 +25170,7 @@ function ps_default() {
|
|
|
25170
25170
|
};
|
|
25171
25171
|
}
|
|
25172
25172
|
|
|
25173
|
-
// node_modules/zod/v4/locales/pl.js
|
|
25173
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/pl.js
|
|
25174
25174
|
var error35 = () => {
|
|
25175
25175
|
const Sizable = {
|
|
25176
25176
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -25280,7 +25280,7 @@ function pl_default() {
|
|
|
25280
25280
|
};
|
|
25281
25281
|
}
|
|
25282
25282
|
|
|
25283
|
-
// node_modules/zod/v4/locales/pt.js
|
|
25283
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/pt.js
|
|
25284
25284
|
var error36 = () => {
|
|
25285
25285
|
const Sizable = {
|
|
25286
25286
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -25389,7 +25389,7 @@ function pt_default() {
|
|
|
25389
25389
|
};
|
|
25390
25390
|
}
|
|
25391
25391
|
|
|
25392
|
-
// node_modules/zod/v4/locales/ro.js
|
|
25392
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ro.js
|
|
25393
25393
|
var error37 = () => {
|
|
25394
25394
|
const Sizable = {
|
|
25395
25395
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -25509,7 +25509,7 @@ function ro_default() {
|
|
|
25509
25509
|
};
|
|
25510
25510
|
}
|
|
25511
25511
|
|
|
25512
|
-
// node_modules/zod/v4/locales/ru.js
|
|
25512
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ru.js
|
|
25513
25513
|
function getRussianPlural(count, one, few, many) {
|
|
25514
25514
|
const absCount = Math.abs(count);
|
|
25515
25515
|
const lastDigit = absCount % 10;
|
|
@@ -25666,7 +25666,7 @@ function ru_default() {
|
|
|
25666
25666
|
};
|
|
25667
25667
|
}
|
|
25668
25668
|
|
|
25669
|
-
// node_modules/zod/v4/locales/sl.js
|
|
25669
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/sl.js
|
|
25670
25670
|
var error39 = () => {
|
|
25671
25671
|
const Sizable = {
|
|
25672
25672
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -25776,7 +25776,7 @@ function sl_default() {
|
|
|
25776
25776
|
};
|
|
25777
25777
|
}
|
|
25778
25778
|
|
|
25779
|
-
// node_modules/zod/v4/locales/sv.js
|
|
25779
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/sv.js
|
|
25780
25780
|
var error40 = () => {
|
|
25781
25781
|
const Sizable = {
|
|
25782
25782
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -25887,7 +25887,7 @@ function sv_default() {
|
|
|
25887
25887
|
};
|
|
25888
25888
|
}
|
|
25889
25889
|
|
|
25890
|
-
// node_modules/zod/v4/locales/ta.js
|
|
25890
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ta.js
|
|
25891
25891
|
var error41 = () => {
|
|
25892
25892
|
const Sizable = {
|
|
25893
25893
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -25998,7 +25998,7 @@ function ta_default() {
|
|
|
25998
25998
|
};
|
|
25999
25999
|
}
|
|
26000
26000
|
|
|
26001
|
-
// node_modules/zod/v4/locales/th.js
|
|
26001
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/th.js
|
|
26002
26002
|
var error42 = () => {
|
|
26003
26003
|
const Sizable = {
|
|
26004
26004
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -26109,7 +26109,7 @@ function th_default() {
|
|
|
26109
26109
|
};
|
|
26110
26110
|
}
|
|
26111
26111
|
|
|
26112
|
-
// node_modules/zod/v4/locales/tr.js
|
|
26112
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/tr.js
|
|
26113
26113
|
var error43 = () => {
|
|
26114
26114
|
const Sizable = {
|
|
26115
26115
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -26215,7 +26215,7 @@ function tr_default() {
|
|
|
26215
26215
|
};
|
|
26216
26216
|
}
|
|
26217
26217
|
|
|
26218
|
-
// node_modules/zod/v4/locales/uk.js
|
|
26218
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/uk.js
|
|
26219
26219
|
var error44 = () => {
|
|
26220
26220
|
const Sizable = {
|
|
26221
26221
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -26324,12 +26324,12 @@ function uk_default() {
|
|
|
26324
26324
|
};
|
|
26325
26325
|
}
|
|
26326
26326
|
|
|
26327
|
-
// node_modules/zod/v4/locales/ua.js
|
|
26327
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ua.js
|
|
26328
26328
|
function ua_default() {
|
|
26329
26329
|
return uk_default();
|
|
26330
26330
|
}
|
|
26331
26331
|
|
|
26332
|
-
// node_modules/zod/v4/locales/ur.js
|
|
26332
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/ur.js
|
|
26333
26333
|
var error45 = () => {
|
|
26334
26334
|
const Sizable = {
|
|
26335
26335
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -26440,7 +26440,7 @@ function ur_default() {
|
|
|
26440
26440
|
};
|
|
26441
26441
|
}
|
|
26442
26442
|
|
|
26443
|
-
// node_modules/zod/v4/locales/uz.js
|
|
26443
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/uz.js
|
|
26444
26444
|
var error46 = () => {
|
|
26445
26445
|
const Sizable = {
|
|
26446
26446
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -26551,7 +26551,7 @@ function uz_default() {
|
|
|
26551
26551
|
};
|
|
26552
26552
|
}
|
|
26553
26553
|
|
|
26554
|
-
// node_modules/zod/v4/locales/vi.js
|
|
26554
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/vi.js
|
|
26555
26555
|
var error47 = () => {
|
|
26556
26556
|
const Sizable = {
|
|
26557
26557
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -26660,7 +26660,7 @@ function vi_default() {
|
|
|
26660
26660
|
};
|
|
26661
26661
|
}
|
|
26662
26662
|
|
|
26663
|
-
// node_modules/zod/v4/locales/zh-CN.js
|
|
26663
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/zh-CN.js
|
|
26664
26664
|
var error48 = () => {
|
|
26665
26665
|
const Sizable = {
|
|
26666
26666
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -26770,7 +26770,7 @@ function zh_CN_default() {
|
|
|
26770
26770
|
};
|
|
26771
26771
|
}
|
|
26772
26772
|
|
|
26773
|
-
// node_modules/zod/v4/locales/zh-TW.js
|
|
26773
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/zh-TW.js
|
|
26774
26774
|
var error49 = () => {
|
|
26775
26775
|
const Sizable = {
|
|
26776
26776
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -26878,7 +26878,7 @@ function zh_TW_default() {
|
|
|
26878
26878
|
};
|
|
26879
26879
|
}
|
|
26880
26880
|
|
|
26881
|
-
// node_modules/zod/v4/locales/yo.js
|
|
26881
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/locales/yo.js
|
|
26882
26882
|
var error50 = () => {
|
|
26883
26883
|
const Sizable = {
|
|
26884
26884
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -26986,7 +26986,7 @@ function yo_default() {
|
|
|
26986
26986
|
};
|
|
26987
26987
|
}
|
|
26988
26988
|
|
|
26989
|
-
// node_modules/zod/v4/core/registries.js
|
|
26989
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/registries.js
|
|
26990
26990
|
var _a2;
|
|
26991
26991
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
26992
26992
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -27036,7 +27036,7 @@ function registry() {
|
|
|
27036
27036
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
27037
27037
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
27038
27038
|
|
|
27039
|
-
// node_modules/zod/v4/core/api.js
|
|
27039
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/api.js
|
|
27040
27040
|
// @__NO_SIDE_EFFECTS__
|
|
27041
27041
|
function _string(Class2, params) {
|
|
27042
27042
|
return new Class2({
|
|
@@ -28075,7 +28075,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
28075
28075
|
return inst;
|
|
28076
28076
|
}
|
|
28077
28077
|
|
|
28078
|
-
// node_modules/zod/v4/core/to-json-schema.js
|
|
28078
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/to-json-schema.js
|
|
28079
28079
|
function initializeContext(params) {
|
|
28080
28080
|
let target = params?.target ?? "draft-2020-12";
|
|
28081
28081
|
if (target === "draft-4")
|
|
@@ -28434,7 +28434,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
28434
28434
|
return finalize(ctx, schema);
|
|
28435
28435
|
};
|
|
28436
28436
|
|
|
28437
|
-
// node_modules/zod/v4/core/json-schema-processors.js
|
|
28437
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/json-schema-processors.js
|
|
28438
28438
|
var formatMap = {
|
|
28439
28439
|
guid: "uuid",
|
|
28440
28440
|
url: "uri",
|
|
@@ -28978,7 +28978,7 @@ function toJSONSchema(input, params) {
|
|
|
28978
28978
|
return finalize(ctx, input);
|
|
28979
28979
|
}
|
|
28980
28980
|
|
|
28981
|
-
// node_modules/zod/v4/core/json-schema-generator.js
|
|
28981
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/json-schema-generator.js
|
|
28982
28982
|
var JSONSchemaGenerator = class {
|
|
28983
28983
|
/** @deprecated Access via ctx instead */
|
|
28984
28984
|
get metadataRegistry() {
|
|
@@ -29053,10 +29053,10 @@ var JSONSchemaGenerator = class {
|
|
|
29053
29053
|
}
|
|
29054
29054
|
};
|
|
29055
29055
|
|
|
29056
|
-
// node_modules/zod/v4/core/json-schema.js
|
|
29056
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/core/json-schema.js
|
|
29057
29057
|
var json_schema_exports = {};
|
|
29058
29058
|
|
|
29059
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
29059
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/schemas.js
|
|
29060
29060
|
var schemas_exports2 = {};
|
|
29061
29061
|
__export(schemas_exports2, {
|
|
29062
29062
|
ZodAny: () => ZodAny,
|
|
@@ -29227,7 +29227,7 @@ __export(schemas_exports2, {
|
|
|
29227
29227
|
xor: () => xor
|
|
29228
29228
|
});
|
|
29229
29229
|
|
|
29230
|
-
// node_modules/zod/v4/classic/checks.js
|
|
29230
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/checks.js
|
|
29231
29231
|
var checks_exports2 = {};
|
|
29232
29232
|
__export(checks_exports2, {
|
|
29233
29233
|
endsWith: () => _endsWith,
|
|
@@ -29261,7 +29261,7 @@ __export(checks_exports2, {
|
|
|
29261
29261
|
uppercase: () => _uppercase
|
|
29262
29262
|
});
|
|
29263
29263
|
|
|
29264
|
-
// node_modules/zod/v4/classic/iso.js
|
|
29264
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/iso.js
|
|
29265
29265
|
var iso_exports = {};
|
|
29266
29266
|
__export(iso_exports, {
|
|
29267
29267
|
ZodISODate: () => ZodISODate,
|
|
@@ -29302,7 +29302,7 @@ function duration2(params) {
|
|
|
29302
29302
|
return _isoDuration(ZodISODuration, params);
|
|
29303
29303
|
}
|
|
29304
29304
|
|
|
29305
|
-
// node_modules/zod/v4/classic/errors.js
|
|
29305
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/errors.js
|
|
29306
29306
|
var initializer2 = (inst, issues) => {
|
|
29307
29307
|
$ZodError.init(inst, issues);
|
|
29308
29308
|
inst.name = "ZodError";
|
|
@@ -29342,7 +29342,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
29342
29342
|
Parent: Error
|
|
29343
29343
|
});
|
|
29344
29344
|
|
|
29345
|
-
// node_modules/zod/v4/classic/parse.js
|
|
29345
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/parse.js
|
|
29346
29346
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
29347
29347
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
29348
29348
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -29356,7 +29356,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
29356
29356
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
29357
29357
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
29358
29358
|
|
|
29359
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
29359
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/schemas.js
|
|
29360
29360
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
29361
29361
|
function _installLazyMethods(inst, group, methods) {
|
|
29362
29362
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -30646,7 +30646,7 @@ function preprocess(fn, schema) {
|
|
|
30646
30646
|
});
|
|
30647
30647
|
}
|
|
30648
30648
|
|
|
30649
|
-
// node_modules/zod/v4/classic/compat.js
|
|
30649
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/compat.js
|
|
30650
30650
|
var ZodIssueCode = {
|
|
30651
30651
|
invalid_type: "invalid_type",
|
|
30652
30652
|
too_big: "too_big",
|
|
@@ -30672,7 +30672,7 @@ var ZodFirstPartyTypeKind;
|
|
|
30672
30672
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind3) {
|
|
30673
30673
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
30674
30674
|
|
|
30675
|
-
// node_modules/zod/v4/classic/from-json-schema.js
|
|
30675
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/from-json-schema.js
|
|
30676
30676
|
var z = {
|
|
30677
30677
|
...schemas_exports2,
|
|
30678
30678
|
...checks_exports2,
|
|
@@ -31152,7 +31152,7 @@ function fromJSONSchema(schema, params) {
|
|
|
31152
31152
|
return convertSchema(normalized, ctx);
|
|
31153
31153
|
}
|
|
31154
31154
|
|
|
31155
|
-
// node_modules/zod/v4/classic/coerce.js
|
|
31155
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/coerce.js
|
|
31156
31156
|
var coerce_exports = {};
|
|
31157
31157
|
__export(coerce_exports, {
|
|
31158
31158
|
bigint: () => bigint3,
|
|
@@ -31177,10 +31177,10 @@ function date4(params) {
|
|
|
31177
31177
|
return _coercedDate(ZodDate, params);
|
|
31178
31178
|
}
|
|
31179
31179
|
|
|
31180
|
-
// node_modules/zod/v4/classic/external.js
|
|
31180
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/classic/external.js
|
|
31181
31181
|
config(en_default());
|
|
31182
31182
|
|
|
31183
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
31183
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
31184
31184
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
31185
31185
|
var DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26";
|
|
31186
31186
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
@@ -32713,7 +32713,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
32713
32713
|
}
|
|
32714
32714
|
};
|
|
32715
32715
|
|
|
32716
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
32716
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
32717
32717
|
var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
32718
32718
|
var ReadBuffer = class {
|
|
32719
32719
|
constructor(options) {
|
|
@@ -32750,7 +32750,7 @@ function serializeMessage(message) {
|
|
|
32750
32750
|
return JSON.stringify(message) + "\n";
|
|
32751
32751
|
}
|
|
32752
32752
|
|
|
32753
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
32753
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
32754
32754
|
var StdioServerTransport = class {
|
|
32755
32755
|
constructor(_stdin = import_node_process.default.stdin, _stdout = import_node_process.default.stdout, options) {
|
|
32756
32756
|
this._stdin = _stdin;
|
|
@@ -32839,9 +32839,9 @@ function cutLogIfBig(file2, maxBytes = 1e6) {
|
|
|
32839
32839
|
} catch {
|
|
32840
32840
|
}
|
|
32841
32841
|
}
|
|
32842
|
-
function daemonPlan(
|
|
32842
|
+
function daemonPlan(platform3, o) {
|
|
32843
32843
|
const log = logPathFor(o.home);
|
|
32844
|
-
if (
|
|
32844
|
+
if (platform3 === "darwin") {
|
|
32845
32845
|
return {
|
|
32846
32846
|
label: LABEL_MAC,
|
|
32847
32847
|
file: `${o.home}/Library/LaunchAgents/${LABEL_MAC}.plist`,
|
|
@@ -32875,7 +32875,7 @@ function daemonPlan(platform2, o) {
|
|
|
32875
32875
|
log
|
|
32876
32876
|
};
|
|
32877
32877
|
}
|
|
32878
|
-
if (
|
|
32878
|
+
if (platform3 === "linux") {
|
|
32879
32879
|
return {
|
|
32880
32880
|
label: TASK_NAME,
|
|
32881
32881
|
file: `${o.home}/.config/systemd/user/${TASK_NAME}.service`,
|
|
@@ -32900,7 +32900,7 @@ WantedBy=default.target
|
|
|
32900
32900
|
log
|
|
32901
32901
|
};
|
|
32902
32902
|
}
|
|
32903
|
-
if (
|
|
32903
|
+
if (platform3 === "win32") {
|
|
32904
32904
|
return {
|
|
32905
32905
|
label: TASK_NAME,
|
|
32906
32906
|
file: null,
|
|
@@ -32927,6 +32927,9 @@ WantedBy=default.target
|
|
|
32927
32927
|
}
|
|
32928
32928
|
|
|
32929
32929
|
// apps/mcp/src/agents.ts
|
|
32930
|
+
var import_node_child_process = require("node:child_process");
|
|
32931
|
+
var import_node_fs2 = require("node:fs");
|
|
32932
|
+
var import_node_os = require("node:os");
|
|
32930
32933
|
var NHAN = { claude: "Claude Code", codex: "Codex" };
|
|
32931
32934
|
function summarizeAgents(probes) {
|
|
32932
32935
|
const dong = [];
|
|
@@ -32939,6 +32942,13 @@ function summarizeAgents(probes) {
|
|
|
32939
32942
|
continue;
|
|
32940
32943
|
}
|
|
32941
32944
|
if (p.loggedIn === false) {
|
|
32945
|
+
if (p.name === "claude" && p.envAuth) {
|
|
32946
|
+
dong.push("\xB7 Claude Code: ch\u1EA1y trong Terminal b\u1EB1ng bi\u1EBFn m\xF4i tr\u01B0\u1EDDng, nh\u01B0ng CH\u01AFA \u0111\u0103ng nh\u1EADp");
|
|
32947
|
+
canhBao.push(
|
|
32948
|
+
"Claude Code tr\xEAn m\xE1y n\xE0y l\u1EA5y quy\u1EC1n t\u1EEB bi\u1EBFn m\xF4i tr\u01B0\u1EDDng c\u1EE7a shell (ANTHROPIC_AUTH_TOKEN ho\u1EB7c ANTHROPIC_API_KEY). D\u1ECBch v\u1EE5 n\u1EC1n c\u1EE7a hocAI kh\xF4ng n\u1EA1p h\u1ED3 s\u01A1 shell n\xEAn kh\xF4ng th\u1EA5y bi\u1EBFn \u0111\xF3 \u2014 ch\u1EA1y `claude auth login` \u0111\u1EC3 b\xE0i t\u1EADp ch\u1EA1y \u0111\u01B0\u1EE3c c\u1EA3 khi b\u1EA1n \u0111\xF3ng Terminal."
|
|
32949
|
+
);
|
|
32950
|
+
continue;
|
|
32951
|
+
}
|
|
32942
32952
|
dong.push(`\xB7 ${NHAN[p.name]}: \u0111\xE3 c\xE0i, CH\u01AFA \u0111\u0103ng nh\u1EADp`);
|
|
32943
32953
|
canhBao.push(
|
|
32944
32954
|
p.name === "claude" ? "Claude Code ch\u01B0a \u0111\u0103ng nh\u1EADp. Ch\u1EA1y `claude auth login` r\u1ED3i quay l\u1EA1i \u2014 ch\u01B0a \u0111\u0103ng nh\u1EADp th\xEC b\xE0i t\u1EADp kh\xF4ng ch\u1EA1y \u0111\u01B0\u1EE3c." : "Codex ch\u01B0a \u0111\u0103ng nh\u1EADp. Ch\u1EA1y `codex login` n\u1EBFu b\u1EA1n \u0111\u1ECBnh d\xF9ng n\xF3."
|
|
@@ -32961,11 +32971,23 @@ function summarizeAgents(probes) {
|
|
|
32961
32971
|
}
|
|
32962
32972
|
return { dong, canhBao, chayDuocBai: claudeSanSang };
|
|
32963
32973
|
}
|
|
32964
|
-
function
|
|
32965
|
-
const
|
|
32974
|
+
function codexLoggedIn(io) {
|
|
32975
|
+
const tep = `${io.env.CODEX_HOME || `${io.home}/.codex`}/auth.json`;
|
|
32976
|
+
if (!io.exists(tep)) return false;
|
|
32977
|
+
const raw = io.readFile(tep);
|
|
32978
|
+
if (raw === null) return null;
|
|
32979
|
+
try {
|
|
32980
|
+
const j = JSON.parse(raw);
|
|
32981
|
+
return !!(j.tokens?.access_token || j.OPENAI_API_KEY);
|
|
32982
|
+
} catch {
|
|
32983
|
+
return null;
|
|
32984
|
+
}
|
|
32985
|
+
}
|
|
32986
|
+
function probeAgents(io) {
|
|
32987
|
+
const co = (b) => io.run("command", ["-v", b]) !== null;
|
|
32966
32988
|
const probes = [];
|
|
32967
32989
|
if (co("claude")) {
|
|
32968
|
-
const raw = run("claude", ["auth", "status"]);
|
|
32990
|
+
const raw = io.run("claude", ["auth", "status"]);
|
|
32969
32991
|
let loggedIn = null;
|
|
32970
32992
|
if (raw !== null) {
|
|
32971
32993
|
try {
|
|
@@ -32974,21 +32996,105 @@ function probeAgents(run) {
|
|
|
32974
32996
|
} catch {
|
|
32975
32997
|
}
|
|
32976
32998
|
}
|
|
32977
|
-
|
|
32999
|
+
const envAuth = !!(io.env.ANTHROPIC_AUTH_TOKEN || io.env.ANTHROPIC_API_KEY);
|
|
33000
|
+
probes.push({ name: "claude", installed: true, runnable: raw !== null, loggedIn, envAuth });
|
|
32978
33001
|
}
|
|
32979
33002
|
if (co("codex")) {
|
|
32980
|
-
const ver = run("codex", ["--version"]);
|
|
32981
|
-
probes.push({ name: "codex", installed: true, runnable: ver !== null, loggedIn:
|
|
33003
|
+
const ver = io.run("codex", ["--version"]);
|
|
33004
|
+
probes.push({ name: "codex", installed: true, runnable: ver !== null, loggedIn: codexLoggedIn(io) });
|
|
32982
33005
|
}
|
|
32983
33006
|
return probes;
|
|
32984
33007
|
}
|
|
33008
|
+
function cachedProbe(io, now, ttl = { ready: 3e5, notReady: 2e4 }) {
|
|
33009
|
+
let luc = 0;
|
|
33010
|
+
let nho = null;
|
|
33011
|
+
let han = 0;
|
|
33012
|
+
return () => {
|
|
33013
|
+
const gio = now();
|
|
33014
|
+
if (nho && gio - luc <= han) return nho;
|
|
33015
|
+
nho = probeAgents(io);
|
|
33016
|
+
luc = gio;
|
|
33017
|
+
han = summarizeAgents(nho).chayDuocBai ? ttl.ready : ttl.notReady;
|
|
33018
|
+
return nho;
|
|
33019
|
+
};
|
|
33020
|
+
}
|
|
33021
|
+
function shellRun(cmd, args, opts) {
|
|
33022
|
+
try {
|
|
33023
|
+
const dong = [cmd, ...args].join(" ");
|
|
33024
|
+
const o = {
|
|
33025
|
+
encoding: "utf8",
|
|
33026
|
+
timeout: 8e3,
|
|
33027
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
33028
|
+
cwd: opts?.cwd,
|
|
33029
|
+
env: opts?.env
|
|
33030
|
+
};
|
|
33031
|
+
return (0, import_node_os.platform)() === "win32" ? (0, import_node_child_process.execSync)(dong, o) : (0, import_node_child_process.execSync)(dong, { ...o, shell: "/bin/sh" });
|
|
33032
|
+
} catch (e) {
|
|
33033
|
+
const ra = e.stdout;
|
|
33034
|
+
const chu = typeof ra === "string" ? ra : ra?.toString("utf8");
|
|
33035
|
+
return chu && chu.trim() ? chu : null;
|
|
33036
|
+
}
|
|
33037
|
+
}
|
|
33038
|
+
function realProbeIO() {
|
|
33039
|
+
return {
|
|
33040
|
+
run: shellRun,
|
|
33041
|
+
exists: import_node_fs2.existsSync,
|
|
33042
|
+
readFile: (t) => {
|
|
33043
|
+
try {
|
|
33044
|
+
return (0, import_node_fs2.readFileSync)(t, "utf8");
|
|
33045
|
+
} catch {
|
|
33046
|
+
return null;
|
|
33047
|
+
}
|
|
33048
|
+
},
|
|
33049
|
+
env: process.env,
|
|
33050
|
+
home: (0, import_node_os.homedir)()
|
|
33051
|
+
};
|
|
33052
|
+
}
|
|
33053
|
+
|
|
33054
|
+
// apps/mcp/src/permissions.ts
|
|
33055
|
+
var GUARDED_DIRS = ["Documents", "Desktop", "Downloads"];
|
|
33056
|
+
function permPlan(platform3, o) {
|
|
33057
|
+
const notice = [];
|
|
33058
|
+
const fixCache = [];
|
|
33059
|
+
const coSudo = platform3 !== "win32";
|
|
33060
|
+
if (o.alienCacheFiles > 0 && coSudo) {
|
|
33061
|
+
notice.push(
|
|
33062
|
+
`\xB7 M\u1EADt kh\u1EA9u m\xE1y \u2014 ch\u1EC9 \u0111\u1EC3 s\u1EEDa quy\u1EC1n \xEDt nh\u1EA5t ${o.alienCacheFiles} m\u1EE5c trong ${o.cacheDir}. Kh\xF4ng s\u1EEDa th\xEC l\u1EC7nh c\u1EADp nh\u1EADt sau n\xE0y s\u1EBD h\u1ECFng. B\u1ECF qua \u0111\u01B0\u1EE3c.`
|
|
33063
|
+
);
|
|
33064
|
+
fixCache.push(["sudo", "chown", "-R", o.user, o.cacheDir]);
|
|
33065
|
+
}
|
|
33066
|
+
if (platform3 === "darwin") {
|
|
33067
|
+
notice.push("\xB7 Quy\u1EC1n th\u01B0 m\u1EE5c \u2014 n\u1EBFu macOS h\u1ECFi, b\u1EA5m Cho ph\xE9p. Kh\xF4ng h\u1ECFi th\xEC kh\xF4ng c\u1EA7n l\xE0m g\xEC.");
|
|
33068
|
+
}
|
|
33069
|
+
if (o.needLogin) {
|
|
33070
|
+
notice.push("\xB7 Cho ph\xE9p trong tr\xECnh duy\u1EC7t \u2014 \u0111\u1EC3 nh\u1EADn ch\xECa kho\xE1 v\u1EC1 m\xE1y n\xE0y.");
|
|
33071
|
+
}
|
|
33072
|
+
return { notice, fixCache };
|
|
33073
|
+
}
|
|
33074
|
+
function updateNpxArgs(version2, cacheDir) {
|
|
33075
|
+
return ["--cache", cacheDir, "-y", `hocai-connect@${version2}`];
|
|
33076
|
+
}
|
|
33077
|
+
function cleanNpmEnv(env) {
|
|
33078
|
+
return Object.fromEntries(Object.entries(env).filter(([k]) => !k.startsWith("npm_config_")));
|
|
33079
|
+
}
|
|
33080
|
+
function blockedDirs(platform3, home, canRead) {
|
|
33081
|
+
if (platform3 !== "darwin") return [];
|
|
33082
|
+
return GUARDED_DIRS.filter((d) => !canRead(`${home}/${d}`));
|
|
33083
|
+
}
|
|
33084
|
+
function blockedNotice(dirs) {
|
|
33085
|
+
if (dirs.length === 0) return [];
|
|
33086
|
+
return [
|
|
33087
|
+
`D\u1ECBch v\u1EE5 n\u1EC1n kh\xF4ng \u0111\u1ECDc \u0111\u01B0\u1EE3c ${dirs.join(", ")} tr\xEAn m\xE1y n\xE0y.`,
|
|
33088
|
+
"B\xE0i t\u1EADp \u0111\u1EC3 trong nh\u1EEFng th\u01B0 m\u1EE5c \u0111\xF3 s\u1EBD kh\xF4ng ch\u1EA1y \u2014 ch\u1ECDn th\u01B0 m\u1EE5c kh\xE1c, v\xED d\u1EE5 ~/hocai-bai-tap, l\xE0 xong."
|
|
33089
|
+
];
|
|
33090
|
+
}
|
|
32985
33091
|
|
|
32986
33092
|
// apps/mcp/src/server.ts
|
|
32987
33093
|
var import_promises = require("node:fs/promises");
|
|
32988
|
-
var
|
|
33094
|
+
var import_node_os2 = require("node:os");
|
|
32989
33095
|
var import_node_path = require("node:path");
|
|
32990
33096
|
|
|
32991
|
-
// node_modules/zod/v3/helpers/util.js
|
|
33097
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v3/helpers/util.js
|
|
32992
33098
|
var util;
|
|
32993
33099
|
(function(util2) {
|
|
32994
33100
|
util2.assertEqual = (_) => {
|
|
@@ -33122,7 +33228,7 @@ var getParsedType2 = (data) => {
|
|
|
33122
33228
|
}
|
|
33123
33229
|
};
|
|
33124
33230
|
|
|
33125
|
-
// node_modules/zod/v3/ZodError.js
|
|
33231
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v3/ZodError.js
|
|
33126
33232
|
var ZodIssueCode2 = util.arrayToEnum([
|
|
33127
33233
|
"invalid_type",
|
|
33128
33234
|
"invalid_literal",
|
|
@@ -33236,7 +33342,7 @@ ZodError2.create = (issues) => {
|
|
|
33236
33342
|
return error51;
|
|
33237
33343
|
};
|
|
33238
33344
|
|
|
33239
|
-
// node_modules/zod/v3/locales/en.js
|
|
33345
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v3/locales/en.js
|
|
33240
33346
|
var errorMap = (issue2, _ctx) => {
|
|
33241
33347
|
let message;
|
|
33242
33348
|
switch (issue2.code) {
|
|
@@ -33339,13 +33445,13 @@ var errorMap = (issue2, _ctx) => {
|
|
|
33339
33445
|
};
|
|
33340
33446
|
var en_default2 = errorMap;
|
|
33341
33447
|
|
|
33342
|
-
// node_modules/zod/v3/errors.js
|
|
33448
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v3/errors.js
|
|
33343
33449
|
var overrideErrorMap = en_default2;
|
|
33344
33450
|
function getErrorMap2() {
|
|
33345
33451
|
return overrideErrorMap;
|
|
33346
33452
|
}
|
|
33347
33453
|
|
|
33348
|
-
// node_modules/zod/v3/helpers/parseUtil.js
|
|
33454
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v3/helpers/parseUtil.js
|
|
33349
33455
|
var makeIssue = (params) => {
|
|
33350
33456
|
const { data, path, errorMaps, issueData } = params;
|
|
33351
33457
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -33454,14 +33560,14 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
33454
33560
|
var isValid = (x) => x.status === "valid";
|
|
33455
33561
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
33456
33562
|
|
|
33457
|
-
// node_modules/zod/v3/helpers/errorUtil.js
|
|
33563
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v3/helpers/errorUtil.js
|
|
33458
33564
|
var errorUtil;
|
|
33459
33565
|
(function(errorUtil2) {
|
|
33460
33566
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
33461
33567
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
33462
33568
|
})(errorUtil || (errorUtil = {}));
|
|
33463
33569
|
|
|
33464
|
-
// node_modules/zod/v3/types.js
|
|
33570
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v3/types.js
|
|
33465
33571
|
var ParseInputLazyPath = class {
|
|
33466
33572
|
constructor(parent, value, path, key) {
|
|
33467
33573
|
this._cachedPath = [];
|
|
@@ -36864,7 +36970,7 @@ var nullableType = ZodNullable2.create;
|
|
|
36864
36970
|
var preprocessType = ZodEffects.createWithPreprocess;
|
|
36865
36971
|
var pipelineType = ZodPipeline.create;
|
|
36866
36972
|
|
|
36867
|
-
// node_modules/zod/v4/mini/schemas.js
|
|
36973
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod/v4/mini/schemas.js
|
|
36868
36974
|
var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
36869
36975
|
if (!inst._zod)
|
|
36870
36976
|
throw new Error("Uninitialized schema in ZodMiniType.");
|
|
@@ -36910,7 +37016,7 @@ function object2(shape, params) {
|
|
|
36910
37016
|
return new ZodMiniObject(def);
|
|
36911
37017
|
}
|
|
36912
37018
|
|
|
36913
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
37019
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
36914
37020
|
function isZ4Schema(s) {
|
|
36915
37021
|
const schema = s;
|
|
36916
37022
|
return !!schema._zod;
|
|
@@ -37070,12 +37176,12 @@ function getLiteralValue(schema) {
|
|
|
37070
37176
|
return void 0;
|
|
37071
37177
|
}
|
|
37072
37178
|
|
|
37073
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
37179
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
37074
37180
|
function isTerminal(status) {
|
|
37075
37181
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
37076
37182
|
}
|
|
37077
37183
|
|
|
37078
|
-
// node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
37184
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
37079
37185
|
var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
37080
37186
|
var defaultOptions = {
|
|
37081
37187
|
name: void 0,
|
|
@@ -37109,7 +37215,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
37109
37215
|
...options
|
|
37110
37216
|
};
|
|
37111
37217
|
|
|
37112
|
-
// node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
37218
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
37113
37219
|
var getRefs = (options) => {
|
|
37114
37220
|
const _options = getDefaultOptions(options);
|
|
37115
37221
|
const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
|
|
@@ -37130,7 +37236,7 @@ var getRefs = (options) => {
|
|
|
37130
37236
|
};
|
|
37131
37237
|
};
|
|
37132
37238
|
|
|
37133
|
-
// node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
37239
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
37134
37240
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
37135
37241
|
if (!refs?.errorMessages)
|
|
37136
37242
|
return;
|
|
@@ -37146,7 +37252,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
|
|
|
37146
37252
|
addErrorMessage(res, key, errorMessage, refs);
|
|
37147
37253
|
}
|
|
37148
37254
|
|
|
37149
|
-
// node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
|
|
37255
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
|
|
37150
37256
|
var getRelativePath = (pathA, pathB) => {
|
|
37151
37257
|
let i = 0;
|
|
37152
37258
|
for (; i < pathA.length && i < pathB.length; i++) {
|
|
@@ -37156,7 +37262,7 @@ var getRelativePath = (pathA, pathB) => {
|
|
|
37156
37262
|
return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
|
|
37157
37263
|
};
|
|
37158
37264
|
|
|
37159
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
37265
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
37160
37266
|
function parseAnyDef(refs) {
|
|
37161
37267
|
if (refs.target !== "openAi") {
|
|
37162
37268
|
return {};
|
|
@@ -37172,7 +37278,7 @@ function parseAnyDef(refs) {
|
|
|
37172
37278
|
};
|
|
37173
37279
|
}
|
|
37174
37280
|
|
|
37175
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
37281
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
37176
37282
|
function parseArrayDef(def, refs) {
|
|
37177
37283
|
const res = {
|
|
37178
37284
|
type: "array"
|
|
@@ -37196,7 +37302,7 @@ function parseArrayDef(def, refs) {
|
|
|
37196
37302
|
return res;
|
|
37197
37303
|
}
|
|
37198
37304
|
|
|
37199
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
37305
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
37200
37306
|
function parseBigintDef(def, refs) {
|
|
37201
37307
|
const res = {
|
|
37202
37308
|
type: "integer",
|
|
@@ -37242,24 +37348,24 @@ function parseBigintDef(def, refs) {
|
|
|
37242
37348
|
return res;
|
|
37243
37349
|
}
|
|
37244
37350
|
|
|
37245
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
37351
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
37246
37352
|
function parseBooleanDef() {
|
|
37247
37353
|
return {
|
|
37248
37354
|
type: "boolean"
|
|
37249
37355
|
};
|
|
37250
37356
|
}
|
|
37251
37357
|
|
|
37252
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
37358
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
37253
37359
|
function parseBrandedDef(_def, refs) {
|
|
37254
37360
|
return parseDef(_def.type._def, refs);
|
|
37255
37361
|
}
|
|
37256
37362
|
|
|
37257
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
37363
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
37258
37364
|
var parseCatchDef = (def, refs) => {
|
|
37259
37365
|
return parseDef(def.innerType._def, refs);
|
|
37260
37366
|
};
|
|
37261
37367
|
|
|
37262
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
37368
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
37263
37369
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
37264
37370
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
37265
37371
|
if (Array.isArray(strategy)) {
|
|
@@ -37318,7 +37424,7 @@ var integerDateParser = (def, refs) => {
|
|
|
37318
37424
|
return res;
|
|
37319
37425
|
};
|
|
37320
37426
|
|
|
37321
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
37427
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
37322
37428
|
function parseDefaultDef(_def, refs) {
|
|
37323
37429
|
return {
|
|
37324
37430
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -37326,12 +37432,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
37326
37432
|
};
|
|
37327
37433
|
}
|
|
37328
37434
|
|
|
37329
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
37435
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
37330
37436
|
function parseEffectsDef(_def, refs) {
|
|
37331
37437
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
37332
37438
|
}
|
|
37333
37439
|
|
|
37334
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
37440
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
37335
37441
|
function parseEnumDef(def) {
|
|
37336
37442
|
return {
|
|
37337
37443
|
type: "string",
|
|
@@ -37339,7 +37445,7 @@ function parseEnumDef(def) {
|
|
|
37339
37445
|
};
|
|
37340
37446
|
}
|
|
37341
37447
|
|
|
37342
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
37448
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
37343
37449
|
var isJsonSchema7AllOfType = (type) => {
|
|
37344
37450
|
if ("type" in type && type.type === "string")
|
|
37345
37451
|
return false;
|
|
@@ -37381,7 +37487,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
37381
37487
|
} : void 0;
|
|
37382
37488
|
}
|
|
37383
37489
|
|
|
37384
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
37490
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
37385
37491
|
function parseLiteralDef(def, refs) {
|
|
37386
37492
|
const parsedType2 = typeof def.value;
|
|
37387
37493
|
if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") {
|
|
@@ -37401,7 +37507,7 @@ function parseLiteralDef(def, refs) {
|
|
|
37401
37507
|
};
|
|
37402
37508
|
}
|
|
37403
37509
|
|
|
37404
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
37510
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
37405
37511
|
var emojiRegex2 = void 0;
|
|
37406
37512
|
var zodPatterns = {
|
|
37407
37513
|
/**
|
|
@@ -37726,7 +37832,7 @@ function stringifyRegExpWithFlags(regex, refs) {
|
|
|
37726
37832
|
return pattern;
|
|
37727
37833
|
}
|
|
37728
37834
|
|
|
37729
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
37835
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
37730
37836
|
function parseRecordDef(def, refs) {
|
|
37731
37837
|
if (refs.target === "openAi") {
|
|
37732
37838
|
console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
@@ -37778,7 +37884,7 @@ function parseRecordDef(def, refs) {
|
|
|
37778
37884
|
return schema;
|
|
37779
37885
|
}
|
|
37780
37886
|
|
|
37781
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
37887
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
37782
37888
|
function parseMapDef(def, refs) {
|
|
37783
37889
|
if (refs.mapStrategy === "record") {
|
|
37784
37890
|
return parseRecordDef(def, refs);
|
|
@@ -37803,7 +37909,7 @@ function parseMapDef(def, refs) {
|
|
|
37803
37909
|
};
|
|
37804
37910
|
}
|
|
37805
37911
|
|
|
37806
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
37912
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
37807
37913
|
function parseNativeEnumDef(def) {
|
|
37808
37914
|
const object3 = def.values;
|
|
37809
37915
|
const actualKeys = Object.keys(def.values).filter((key) => {
|
|
@@ -37817,7 +37923,7 @@ function parseNativeEnumDef(def) {
|
|
|
37817
37923
|
};
|
|
37818
37924
|
}
|
|
37819
37925
|
|
|
37820
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
37926
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
37821
37927
|
function parseNeverDef(refs) {
|
|
37822
37928
|
return refs.target === "openAi" ? void 0 : {
|
|
37823
37929
|
not: parseAnyDef({
|
|
@@ -37827,7 +37933,7 @@ function parseNeverDef(refs) {
|
|
|
37827
37933
|
};
|
|
37828
37934
|
}
|
|
37829
37935
|
|
|
37830
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
37936
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
37831
37937
|
function parseNullDef(refs) {
|
|
37832
37938
|
return refs.target === "openApi3" ? {
|
|
37833
37939
|
enum: ["null"],
|
|
@@ -37837,7 +37943,7 @@ function parseNullDef(refs) {
|
|
|
37837
37943
|
};
|
|
37838
37944
|
}
|
|
37839
37945
|
|
|
37840
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
37946
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
37841
37947
|
var primitiveMappings = {
|
|
37842
37948
|
ZodString: "string",
|
|
37843
37949
|
ZodNumber: "number",
|
|
@@ -37905,7 +38011,7 @@ var asAnyOf = (def, refs) => {
|
|
|
37905
38011
|
return anyOf.length ? { anyOf } : void 0;
|
|
37906
38012
|
};
|
|
37907
38013
|
|
|
37908
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
38014
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
37909
38015
|
function parseNullableDef(def, refs) {
|
|
37910
38016
|
if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
|
|
37911
38017
|
if (refs.target === "openApi3") {
|
|
@@ -37937,7 +38043,7 @@ function parseNullableDef(def, refs) {
|
|
|
37937
38043
|
return base && { anyOf: [base, { type: "null" }] };
|
|
37938
38044
|
}
|
|
37939
38045
|
|
|
37940
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
38046
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
37941
38047
|
function parseNumberDef(def, refs) {
|
|
37942
38048
|
const res = {
|
|
37943
38049
|
type: "number"
|
|
@@ -37986,7 +38092,7 @@ function parseNumberDef(def, refs) {
|
|
|
37986
38092
|
return res;
|
|
37987
38093
|
}
|
|
37988
38094
|
|
|
37989
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
38095
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
37990
38096
|
function parseObjectDef(def, refs) {
|
|
37991
38097
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
37992
38098
|
const result = {
|
|
@@ -38056,7 +38162,7 @@ function safeIsOptional(schema) {
|
|
|
38056
38162
|
}
|
|
38057
38163
|
}
|
|
38058
38164
|
|
|
38059
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
38165
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
38060
38166
|
var parseOptionalDef = (def, refs) => {
|
|
38061
38167
|
if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
|
|
38062
38168
|
return parseDef(def.innerType._def, refs);
|
|
@@ -38075,7 +38181,7 @@ var parseOptionalDef = (def, refs) => {
|
|
|
38075
38181
|
} : parseAnyDef(refs);
|
|
38076
38182
|
};
|
|
38077
38183
|
|
|
38078
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
38184
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
38079
38185
|
var parsePipelineDef = (def, refs) => {
|
|
38080
38186
|
if (refs.pipeStrategy === "input") {
|
|
38081
38187
|
return parseDef(def.in._def, refs);
|
|
@@ -38095,12 +38201,12 @@ var parsePipelineDef = (def, refs) => {
|
|
|
38095
38201
|
};
|
|
38096
38202
|
};
|
|
38097
38203
|
|
|
38098
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
38204
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
38099
38205
|
function parsePromiseDef(def, refs) {
|
|
38100
38206
|
return parseDef(def.type._def, refs);
|
|
38101
38207
|
}
|
|
38102
38208
|
|
|
38103
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
38209
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
38104
38210
|
function parseSetDef(def, refs) {
|
|
38105
38211
|
const items = parseDef(def.valueType._def, {
|
|
38106
38212
|
...refs,
|
|
@@ -38120,7 +38226,7 @@ function parseSetDef(def, refs) {
|
|
|
38120
38226
|
return schema;
|
|
38121
38227
|
}
|
|
38122
38228
|
|
|
38123
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
38229
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
38124
38230
|
function parseTupleDef(def, refs) {
|
|
38125
38231
|
if (def.rest) {
|
|
38126
38232
|
return {
|
|
@@ -38148,24 +38254,24 @@ function parseTupleDef(def, refs) {
|
|
|
38148
38254
|
}
|
|
38149
38255
|
}
|
|
38150
38256
|
|
|
38151
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
38257
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
38152
38258
|
function parseUndefinedDef(refs) {
|
|
38153
38259
|
return {
|
|
38154
38260
|
not: parseAnyDef(refs)
|
|
38155
38261
|
};
|
|
38156
38262
|
}
|
|
38157
38263
|
|
|
38158
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
38264
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
38159
38265
|
function parseUnknownDef(refs) {
|
|
38160
38266
|
return parseAnyDef(refs);
|
|
38161
38267
|
}
|
|
38162
38268
|
|
|
38163
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
38269
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
38164
38270
|
var parseReadonlyDef = (def, refs) => {
|
|
38165
38271
|
return parseDef(def.innerType._def, refs);
|
|
38166
38272
|
};
|
|
38167
38273
|
|
|
38168
|
-
// node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
38274
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
38169
38275
|
var selectParser = (def, typeName, refs) => {
|
|
38170
38276
|
switch (typeName) {
|
|
38171
38277
|
case ZodFirstPartyTypeKind2.ZodString:
|
|
@@ -38241,7 +38347,7 @@ var selectParser = (def, typeName, refs) => {
|
|
|
38241
38347
|
}
|
|
38242
38348
|
};
|
|
38243
38349
|
|
|
38244
|
-
// node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
38350
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
38245
38351
|
function parseDef(def, refs, forceResolution = false) {
|
|
38246
38352
|
const seenItem = refs.seen.get(def);
|
|
38247
38353
|
if (refs.override) {
|
|
@@ -38297,7 +38403,7 @@ var addMeta = (def, refs, jsonSchema) => {
|
|
|
38297
38403
|
return jsonSchema;
|
|
38298
38404
|
};
|
|
38299
38405
|
|
|
38300
|
-
// node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
38406
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
38301
38407
|
var zodToJsonSchema = (schema, options) => {
|
|
38302
38408
|
const refs = getRefs(options);
|
|
38303
38409
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
|
|
@@ -38359,7 +38465,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
38359
38465
|
return combined;
|
|
38360
38466
|
};
|
|
38361
38467
|
|
|
38362
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
38468
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
38363
38469
|
function mapMiniTarget(t) {
|
|
38364
38470
|
if (!t)
|
|
38365
38471
|
return "draft-7";
|
|
@@ -38401,7 +38507,7 @@ function parseWithCompat(schema, data) {
|
|
|
38401
38507
|
return result.data;
|
|
38402
38508
|
}
|
|
38403
38509
|
|
|
38404
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
38510
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
38405
38511
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
38406
38512
|
var Protocol = class {
|
|
38407
38513
|
constructor(_options) {
|
|
@@ -39355,7 +39461,7 @@ function mergeCapabilities(base, additional) {
|
|
|
39355
39461
|
return result;
|
|
39356
39462
|
}
|
|
39357
39463
|
|
|
39358
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
39464
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
39359
39465
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
39360
39466
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
39361
39467
|
function createDefaultAjvInstance() {
|
|
@@ -39423,7 +39529,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
39423
39529
|
}
|
|
39424
39530
|
};
|
|
39425
39531
|
|
|
39426
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
39532
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
39427
39533
|
var ExperimentalServerTasks = class {
|
|
39428
39534
|
constructor(_server) {
|
|
39429
39535
|
this._server = _server;
|
|
@@ -39636,7 +39742,7 @@ var ExperimentalServerTasks = class {
|
|
|
39636
39742
|
}
|
|
39637
39743
|
};
|
|
39638
39744
|
|
|
39639
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
39745
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
39640
39746
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
39641
39747
|
if (!requests) {
|
|
39642
39748
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -39671,7 +39777,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
39671
39777
|
}
|
|
39672
39778
|
}
|
|
39673
39779
|
|
|
39674
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
39780
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
39675
39781
|
var Server = class extends Protocol {
|
|
39676
39782
|
/**
|
|
39677
39783
|
* Initializes this server with the given name and version information.
|
|
@@ -40042,7 +40148,7 @@ var Server = class extends Protocol {
|
|
|
40042
40148
|
}
|
|
40043
40149
|
};
|
|
40044
40150
|
|
|
40045
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
40151
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
40046
40152
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
40047
40153
|
function isCompletable(schema) {
|
|
40048
40154
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -40056,7 +40162,7 @@ var McpZodTypeKind;
|
|
|
40056
40162
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
40057
40163
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
40058
40164
|
|
|
40059
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
40165
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
40060
40166
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
40061
40167
|
function validateToolName(name) {
|
|
40062
40168
|
const warnings = [];
|
|
@@ -40114,7 +40220,7 @@ function validateAndWarnToolName(name) {
|
|
|
40114
40220
|
return result.isValid;
|
|
40115
40221
|
}
|
|
40116
40222
|
|
|
40117
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
40223
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
40118
40224
|
var ExperimentalMcpServerTasks = class {
|
|
40119
40225
|
constructor(_mcpServer) {
|
|
40120
40226
|
this._mcpServer = _mcpServer;
|
|
@@ -40129,7 +40235,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
40129
40235
|
}
|
|
40130
40236
|
};
|
|
40131
40237
|
|
|
40132
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
40238
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
40133
40239
|
var McpServer = class {
|
|
40134
40240
|
constructor(serverInfo, options) {
|
|
40135
40241
|
this._registeredResources = {};
|
|
@@ -41106,7 +41212,7 @@ function buildServer(token) {
|
|
|
41106
41212
|
},
|
|
41107
41213
|
async ({ slug }) => text(await call(`/lessons/${slug}/homework`))
|
|
41108
41214
|
);
|
|
41109
|
-
const thuMucBai = (maDe) => (0, import_node_path.join)((0,
|
|
41215
|
+
const thuMucBai = (maDe) => (0, import_node_path.join)((0, import_node_os2.homedir)(), "hocai-bai-tap", maDe);
|
|
41110
41216
|
server.registerTool(
|
|
41111
41217
|
"tai_file_de",
|
|
41112
41218
|
{
|
|
@@ -41169,18 +41275,18 @@ function buildServer(token) {
|
|
|
41169
41275
|
}
|
|
41170
41276
|
|
|
41171
41277
|
// apps/mcp/src/http.ts
|
|
41172
|
-
var
|
|
41278
|
+
var import_node_fs4 = require("node:fs");
|
|
41173
41279
|
var import_node_http = __toESM(require("node:http"));
|
|
41174
|
-
var
|
|
41280
|
+
var import_node_child_process3 = require("node:child_process");
|
|
41175
41281
|
|
|
41176
|
-
// node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs
|
|
41282
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs
|
|
41177
41283
|
var X_ALREADY_SENT = "x-hono-already-sent";
|
|
41178
41284
|
|
|
41179
|
-
// node_modules/@hono/node-server/dist/index.mjs
|
|
41285
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@hono/node-server/dist/index.mjs
|
|
41180
41286
|
var import_node_http2 = require("node:http2");
|
|
41181
41287
|
var import_node_stream = require("node:stream");
|
|
41182
41288
|
|
|
41183
|
-
// node_modules/hono/dist/helper/websocket/index.js
|
|
41289
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/hono/dist/helper/websocket/index.js
|
|
41184
41290
|
var defineWebSocketHelper = (handler) => {
|
|
41185
41291
|
return ((...args) => {
|
|
41186
41292
|
if (typeof args[0] === "function") {
|
|
@@ -41206,7 +41312,7 @@ var defineWebSocketHelper = (handler) => {
|
|
|
41206
41312
|
});
|
|
41207
41313
|
};
|
|
41208
41314
|
|
|
41209
|
-
// node_modules/@hono/node-server/dist/index.mjs
|
|
41315
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@hono/node-server/dist/index.mjs
|
|
41210
41316
|
var RequestError = class extends Error {
|
|
41211
41317
|
constructor(message, options) {
|
|
41212
41318
|
super(message, options);
|
|
@@ -42351,7 +42457,7 @@ var upgradeWebSocket = defineWebSocketHelper(async (c, events, options) => {
|
|
|
42351
42457
|
return new Response();
|
|
42352
42458
|
});
|
|
42353
42459
|
|
|
42354
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js
|
|
42460
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js
|
|
42355
42461
|
var import_content_type = __toESM(require_content_type(), 1);
|
|
42356
42462
|
function mediaTypeEssence(header) {
|
|
42357
42463
|
if (!header) {
|
|
@@ -42374,7 +42480,7 @@ function isJsonContentType(header) {
|
|
|
42374
42480
|
return mediaTypeEssence(header) === "application/json";
|
|
42375
42481
|
}
|
|
42376
42482
|
|
|
42377
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js
|
|
42483
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js
|
|
42378
42484
|
var DEFAULT_SSE_KEEP_ALIVE_MS = 15e3;
|
|
42379
42485
|
var MAX_TIMER_DELAY_MS = 2 ** 31 - 1;
|
|
42380
42486
|
function armSseKeepAlive(intervalMs, onTick) {
|
|
@@ -42386,7 +42492,7 @@ function armSseKeepAlive(intervalMs, onTick) {
|
|
|
42386
42492
|
return timer;
|
|
42387
42493
|
}
|
|
42388
42494
|
|
|
42389
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
|
|
42495
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
|
|
42390
42496
|
var WebStandardStreamableHTTPServerTransport = class {
|
|
42391
42497
|
constructor(options = {}) {
|
|
42392
42498
|
this._started = false;
|
|
@@ -43118,7 +43224,7 @@ data:
|
|
|
43118
43224
|
}
|
|
43119
43225
|
};
|
|
43120
43226
|
|
|
43121
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js
|
|
43227
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js
|
|
43122
43228
|
var StreamableHTTPServerTransport = class {
|
|
43123
43229
|
constructor(options = {}) {
|
|
43124
43230
|
this._requestContext = /* @__PURE__ */ new WeakMap();
|
|
@@ -43221,12 +43327,12 @@ var StreamableHTTPServerTransport = class {
|
|
|
43221
43327
|
};
|
|
43222
43328
|
|
|
43223
43329
|
// apps/mcp/src/http.ts
|
|
43224
|
-
var
|
|
43330
|
+
var import_node_os3 = require("node:os");
|
|
43225
43331
|
var import_node_path3 = require("node:path");
|
|
43226
43332
|
|
|
43227
43333
|
// apps/mcp/src/job.ts
|
|
43228
43334
|
var import_node_crypto = require("node:crypto");
|
|
43229
|
-
var
|
|
43335
|
+
var import_node_fs3 = require("node:fs");
|
|
43230
43336
|
var import_node_path2 = require("node:path");
|
|
43231
43337
|
var MAX_RUNNING = 3;
|
|
43232
43338
|
var TIMEOUT_MS = 15 * 60 * 1e3;
|
|
@@ -43235,17 +43341,28 @@ var XONG = /* @__PURE__ */ new Set(["DONE", "FAILED", "STOPPED"]);
|
|
|
43235
43341
|
function createJobStore(o) {
|
|
43236
43342
|
const maxRunning = o.maxRunning ?? MAX_RUNNING;
|
|
43237
43343
|
const timeoutMs = o.timeoutMs ?? TIMEOUT_MS;
|
|
43238
|
-
(0,
|
|
43344
|
+
(0, import_node_fs3.mkdirSync)(o.dir, { recursive: true });
|
|
43239
43345
|
const jobs = /* @__PURE__ */ new Map();
|
|
43240
43346
|
const handles = /* @__PURE__ */ new Map();
|
|
43241
43347
|
const listeners = /* @__PURE__ */ new Map();
|
|
43348
|
+
const initialLines = /* @__PURE__ */ new Map();
|
|
43349
|
+
const initialTimers = /* @__PURE__ */ new Map();
|
|
43242
43350
|
const queue = [];
|
|
43243
43351
|
const file2 = (id) => (0, import_node_path2.join)(o.dir, `${id}.jsonl`);
|
|
43244
43352
|
const push = (id, line) => {
|
|
43245
43353
|
try {
|
|
43246
|
-
(0,
|
|
43354
|
+
(0, import_node_fs3.appendFileSync)(file2(id), line + "\n");
|
|
43247
43355
|
} catch {
|
|
43248
43356
|
}
|
|
43357
|
+
const initial = initialLines.get(id);
|
|
43358
|
+
if (initial) {
|
|
43359
|
+
initial.push(line);
|
|
43360
|
+
while (initial.length > 256) initial.shift();
|
|
43361
|
+
let bytes = initial.reduce((sum, item) => sum + Buffer.byteLength(item), 0);
|
|
43362
|
+
while (initial.length > 1 && bytes > 1024 * 1024) {
|
|
43363
|
+
bytes -= Buffer.byteLength(initial.shift() ?? "");
|
|
43364
|
+
}
|
|
43365
|
+
}
|
|
43249
43366
|
for (const fn of listeners.get(id) ?? []) fn(line);
|
|
43250
43367
|
};
|
|
43251
43368
|
const dangChay = () => [...jobs.values()].filter((j) => j.status === "RUNNING").length;
|
|
@@ -43305,7 +43422,14 @@ function createJobStore(o) {
|
|
|
43305
43422
|
startedAt: Date.now()
|
|
43306
43423
|
};
|
|
43307
43424
|
jobs.set(job.id, job);
|
|
43308
|
-
(0,
|
|
43425
|
+
(0, import_node_fs3.writeFileSync)(file2(job.id), JSON.stringify(job) + "\n");
|
|
43426
|
+
initialLines.set(job.id, []);
|
|
43427
|
+
const initialTimer = setTimeout(() => {
|
|
43428
|
+
initialLines.delete(job.id);
|
|
43429
|
+
initialTimers.delete(job.id);
|
|
43430
|
+
}, 3e4);
|
|
43431
|
+
initialTimer.unref?.();
|
|
43432
|
+
initialTimers.set(job.id, initialTimer);
|
|
43309
43433
|
if (dangChay() < maxRunning) start(job);
|
|
43310
43434
|
else queue.push(job.id);
|
|
43311
43435
|
return job;
|
|
@@ -43331,10 +43455,18 @@ function createJobStore(o) {
|
|
|
43331
43455
|
finish(id, "STOPPED");
|
|
43332
43456
|
return true;
|
|
43333
43457
|
},
|
|
43334
|
-
onEvent(id, fn) {
|
|
43458
|
+
onEvent(id, fn, replayInitial = false) {
|
|
43335
43459
|
const set2 = listeners.get(id) ?? /* @__PURE__ */ new Set();
|
|
43336
43460
|
set2.add(fn);
|
|
43337
43461
|
listeners.set(id, set2);
|
|
43462
|
+
if (replayInitial) {
|
|
43463
|
+
const early = initialLines.get(id) ?? [];
|
|
43464
|
+
initialLines.delete(id);
|
|
43465
|
+
const timer = initialTimers.get(id);
|
|
43466
|
+
if (timer) clearTimeout(timer);
|
|
43467
|
+
initialTimers.delete(id);
|
|
43468
|
+
for (const line of early) fn(line);
|
|
43469
|
+
}
|
|
43338
43470
|
return () => {
|
|
43339
43471
|
set2.delete(fn);
|
|
43340
43472
|
};
|
|
@@ -43344,9 +43476,9 @@ function createJobStore(o) {
|
|
|
43344
43476
|
}
|
|
43345
43477
|
|
|
43346
43478
|
// apps/mcp/src/folder.ts
|
|
43347
|
-
var
|
|
43479
|
+
var import_node_child_process2 = require("node:child_process");
|
|
43348
43480
|
var runExec = (cmd, args) => new Promise((resolve, reject) => {
|
|
43349
|
-
(0,
|
|
43481
|
+
(0, import_node_child_process2.execFile)(cmd, args, (err, stdout) => {
|
|
43350
43482
|
const e = err;
|
|
43351
43483
|
if (e && e.code === "ENOENT") {
|
|
43352
43484
|
reject(e);
|
|
@@ -43356,14 +43488,14 @@ var runExec = (cmd, args) => new Promise((resolve, reject) => {
|
|
|
43356
43488
|
});
|
|
43357
43489
|
});
|
|
43358
43490
|
var DIALOG_TITLE = "Ch\u1ECDn th\u01B0 m\u1EE5c cho AI l\xE0m vi\u1EC7c";
|
|
43359
|
-
function cmdFor(
|
|
43360
|
-
if (
|
|
43491
|
+
function cmdFor(platform3) {
|
|
43492
|
+
if (platform3 === "darwin") {
|
|
43361
43493
|
return {
|
|
43362
43494
|
cmd: "osascript",
|
|
43363
43495
|
args: ["-e", `POSIX path of (choose folder with prompt "${DIALOG_TITLE}")`]
|
|
43364
43496
|
};
|
|
43365
43497
|
}
|
|
43366
|
-
if (
|
|
43498
|
+
if (platform3 === "win32") {
|
|
43367
43499
|
return {
|
|
43368
43500
|
cmd: "powershell.exe",
|
|
43369
43501
|
args: [
|
|
@@ -43379,9 +43511,9 @@ function cmdFor(platform2) {
|
|
|
43379
43511
|
};
|
|
43380
43512
|
}
|
|
43381
43513
|
async function chooseFolder(o = {}) {
|
|
43382
|
-
const
|
|
43514
|
+
const platform3 = o.platform ?? process.platform;
|
|
43383
43515
|
const exec = o.exec ?? runExec;
|
|
43384
|
-
const { cmd, args } = cmdFor(
|
|
43516
|
+
const { cmd, args } = cmdFor(platform3);
|
|
43385
43517
|
let r;
|
|
43386
43518
|
try {
|
|
43387
43519
|
r = await exec(cmd, args);
|
|
@@ -43421,9 +43553,10 @@ var TOOLS = {
|
|
|
43421
43553
|
"Edit",
|
|
43422
43554
|
"Bash"
|
|
43423
43555
|
],
|
|
43424
|
-
WORK: ["Read", "Write", "Edit", "Glob", "Grep"]
|
|
43556
|
+
WORK: ["Read", "Write", "Edit", "Glob", "Grep"],
|
|
43557
|
+
CHAT: []
|
|
43425
43558
|
};
|
|
43426
|
-
var VERSION = "0.
|
|
43559
|
+
var VERSION = "0.16.0";
|
|
43427
43560
|
function claudeArgs(job, o, port) {
|
|
43428
43561
|
const mcp = {
|
|
43429
43562
|
mcpServers: {
|
|
@@ -43434,7 +43567,7 @@ function claudeArgs(job, o, port) {
|
|
|
43434
43567
|
}
|
|
43435
43568
|
}
|
|
43436
43569
|
};
|
|
43437
|
-
|
|
43570
|
+
const args = [
|
|
43438
43571
|
"-p",
|
|
43439
43572
|
job.kind === "LESSON" ? deBaiPrompt(job.assignmentId ?? "", job.prompt) : job.prompt,
|
|
43440
43573
|
"--output-format",
|
|
@@ -43449,13 +43582,14 @@ function claudeArgs(job, o, port) {
|
|
|
43449
43582
|
"--permission-mode",
|
|
43450
43583
|
"acceptEdits",
|
|
43451
43584
|
"--disallowedTools",
|
|
43452
|
-
DISALLOWED_TOOLS
|
|
43453
|
-
"--allowedTools",
|
|
43454
|
-
...TOOLS[job.kind]
|
|
43585
|
+
DISALLOWED_TOOLS
|
|
43455
43586
|
];
|
|
43587
|
+
const tools = TOOLS[job.kind];
|
|
43588
|
+
if (tools.length) args.push("--allowedTools", ...tools);
|
|
43589
|
+
return args;
|
|
43456
43590
|
}
|
|
43457
43591
|
function buildHttpServer(o) {
|
|
43458
|
-
const spawn2 = o.spawn ??
|
|
43592
|
+
const spawn2 = o.spawn ?? import_node_child_process3.spawn;
|
|
43459
43593
|
const dangChay = /* @__PURE__ */ new Set();
|
|
43460
43594
|
const folders = o.folders;
|
|
43461
43595
|
const json3 = (res, code, body) => {
|
|
@@ -43511,7 +43645,7 @@ function buildHttpServer(o) {
|
|
|
43511
43645
|
return typeof a === "object" && a ? a.port : 0;
|
|
43512
43646
|
};
|
|
43513
43647
|
const store = createJobStore({
|
|
43514
|
-
dir: o.jobsDir ?? (0, import_node_path3.join)((0,
|
|
43648
|
+
dir: o.jobsDir ?? (0, import_node_path3.join)((0, import_node_os3.homedir)(), ".hocai", "jobs"),
|
|
43515
43649
|
maxRunning: o.maxRunning,
|
|
43516
43650
|
run: (job, onLine) => {
|
|
43517
43651
|
const child = spawn2(o.claudeBin, claudeArgs(job, o, port()), {
|
|
@@ -43565,7 +43699,9 @@ function buildHttpServer(o) {
|
|
|
43565
43699
|
json3(res, 400, { error: "M\xE3 \u0111\u1EC1 kh\xF4ng h\u1EE3p l\u1EC7" });
|
|
43566
43700
|
return;
|
|
43567
43701
|
}
|
|
43568
|
-
dir = (0, import_node_path3.join)((0,
|
|
43702
|
+
dir = (0, import_node_path3.join)((0, import_node_os3.homedir)(), "hocai-bai-tap", maDe);
|
|
43703
|
+
} else if (i.kind === "CHAT") {
|
|
43704
|
+
dir = (0, import_node_path3.join)((0, import_node_os3.homedir)(), ".hocai", "chat");
|
|
43569
43705
|
} else {
|
|
43570
43706
|
const d = i.dir ?? "";
|
|
43571
43707
|
if (!d.startsWith("/") || d.includes("..")) {
|
|
@@ -43584,7 +43720,7 @@ function buildHttpServer(o) {
|
|
|
43584
43720
|
json3(res, 409, { error: "Ch\u1ED7 n\xE0y \u0111ang c\xF3 m\u1ED9t l\u01B0\u1EE3t ch\u1EA1y \u2014 ch\u1EDD n\xF3 xong \u0111\xE3" });
|
|
43585
43721
|
return;
|
|
43586
43722
|
}
|
|
43587
|
-
(0,
|
|
43723
|
+
(0, import_node_fs4.mkdirSync)(dir, { recursive: true });
|
|
43588
43724
|
const job = store.create({
|
|
43589
43725
|
kind: i.kind,
|
|
43590
43726
|
dir,
|
|
@@ -43628,7 +43764,11 @@ function buildHttpServer(o) {
|
|
|
43628
43764
|
json3(res, 200, {
|
|
43629
43765
|
ten: "hocai-connect",
|
|
43630
43766
|
phienBan: VERSION,
|
|
43631
|
-
user: me ? { ten: me.ten, ...hoi ? { khop: hoi === me.id } : {} } : me
|
|
43767
|
+
user: me ? { ten: me.ten, ...hoi ? { khop: hoi === me.id } : {} } : me,
|
|
43768
|
+
// Vắng mặt khoá này = helper bản cũ. Web phân biệt được `undefined` với
|
|
43769
|
+
// `[]`, nên đừng "cho lành" bằng cách trả mảng rỗng: rỗng nghĩa là máy
|
|
43770
|
+
// KHÔNG CÓ trợ lý nào, một câu hoàn toàn khác.
|
|
43771
|
+
...o.agents ? { agents: o.agents() } : {}
|
|
43632
43772
|
});
|
|
43633
43773
|
return;
|
|
43634
43774
|
}
|
|
@@ -43671,7 +43811,7 @@ function buildHttpServer(o) {
|
|
|
43671
43811
|
body = raw ? JSON.parse(raw) : {};
|
|
43672
43812
|
} catch {
|
|
43673
43813
|
}
|
|
43674
|
-
const kind = body.kind === "LESSON" ? "LESSON" : body.kind === "WORK" ? "WORK" : null;
|
|
43814
|
+
const kind = body.kind === "LESSON" ? "LESSON" : body.kind === "WORK" ? "WORK" : body.kind === "CHAT" ? "CHAT" : null;
|
|
43675
43815
|
if (!kind) {
|
|
43676
43816
|
json3(res, 400, { error: "Lo\u1EA1i vi\u1EC7c kh\xF4ng h\u1EE3p l\u1EC7" });
|
|
43677
43817
|
return;
|
|
@@ -43710,7 +43850,7 @@ data: ${JSON.stringify({ status: job.status })}
|
|
|
43710
43850
|
res.write(`data: ${line}
|
|
43711
43851
|
|
|
43712
43852
|
`);
|
|
43713
|
-
});
|
|
43853
|
+
}, true);
|
|
43714
43854
|
const tim = setInterval(() => res.write(": tim\n\n"), 2e4);
|
|
43715
43855
|
req.on("close", () => {
|
|
43716
43856
|
thoi();
|
|
@@ -43781,11 +43921,11 @@ function mergeClaudeDesktopConfig(existing, creds) {
|
|
|
43781
43921
|
};
|
|
43782
43922
|
return { ...base, mcpServers: { ...servers, hocai } };
|
|
43783
43923
|
}
|
|
43784
|
-
function claudeDesktopConfigPath(
|
|
43785
|
-
if (
|
|
43924
|
+
function claudeDesktopConfigPath(platform3, home, appdata) {
|
|
43925
|
+
if (platform3 === "win32") {
|
|
43786
43926
|
return import_node_path4.win32.join(appdata ?? import_node_path4.win32.join(home, "AppData", "Roaming"), "Claude", "claude_desktop_config.json");
|
|
43787
43927
|
}
|
|
43788
|
-
if (
|
|
43928
|
+
if (platform3 === "darwin") {
|
|
43789
43929
|
return import_node_path4.posix.join(home, "Library", "Application Support", "Claude", "claude_desktop_config.json");
|
|
43790
43930
|
}
|
|
43791
43931
|
return import_node_path4.posix.join(home, ".config", "Claude", "claude_desktop_config.json");
|
|
@@ -43968,11 +44108,11 @@ function defaultOrigins(env) {
|
|
|
43968
44108
|
}
|
|
43969
44109
|
|
|
43970
44110
|
// apps/mcp/src/folder-registry.ts
|
|
43971
|
-
var
|
|
43972
|
-
var
|
|
44111
|
+
var import_node_fs5 = require("node:fs");
|
|
44112
|
+
var import_node_os4 = require("node:os");
|
|
43973
44113
|
var import_node_crypto2 = require("node:crypto");
|
|
43974
44114
|
var import_node_path5 = require("node:path");
|
|
43975
|
-
var MAC_DINH = (0, import_node_path5.join)((0,
|
|
44115
|
+
var MAC_DINH = (0, import_node_path5.join)((0, import_node_os4.homedir)(), ".hocai", "folders.json");
|
|
43976
44116
|
function createFolderRegistry(o = {}) {
|
|
43977
44117
|
if (!o.file && process.env.VITEST) {
|
|
43978
44118
|
throw new Error(
|
|
@@ -44011,7 +44151,7 @@ function createFolderRegistry(o = {}) {
|
|
|
44011
44151
|
function nap(file2) {
|
|
44012
44152
|
let raw;
|
|
44013
44153
|
try {
|
|
44014
|
-
raw = (0,
|
|
44154
|
+
raw = (0, import_node_fs5.readFileSync)(file2, "utf8");
|
|
44015
44155
|
} catch {
|
|
44016
44156
|
return { rows: [], daLoai: false };
|
|
44017
44157
|
}
|
|
@@ -44023,16 +44163,16 @@ function nap(file2) {
|
|
|
44023
44163
|
}
|
|
44024
44164
|
if (!Array.isArray(data)) return { rows: [], daLoai: false };
|
|
44025
44165
|
const giu = data.filter(
|
|
44026
|
-
(r) => !!r && typeof r.id === "string" && typeof r.path === "string" && typeof r.label === "string" && typeof r.createdAt === "string" && (0,
|
|
44166
|
+
(r) => !!r && typeof r.id === "string" && typeof r.path === "string" && typeof r.label === "string" && typeof r.createdAt === "string" && (0, import_node_fs5.existsSync)(r.path)
|
|
44027
44167
|
);
|
|
44028
44168
|
return { rows: giu, daLoai: giu.length !== data.length };
|
|
44029
44169
|
}
|
|
44030
44170
|
function ghi(file2, rows) {
|
|
44031
|
-
(0,
|
|
44032
|
-
(0,
|
|
44171
|
+
(0, import_node_fs5.mkdirSync)((0, import_node_path5.dirname)(file2), { recursive: true, mode: 448 });
|
|
44172
|
+
(0, import_node_fs5.writeFileSync)(file2, JSON.stringify([...rows.values()], null, 2), { mode: 384 });
|
|
44033
44173
|
}
|
|
44034
44174
|
|
|
44035
|
-
// node_modules/ws/wrapper.mjs
|
|
44175
|
+
// ../../../Users/hainc/duan/hocAI/node_modules/ws/wrapper.mjs
|
|
44036
44176
|
var import_stream = __toESM(require_stream(), 1);
|
|
44037
44177
|
var import_extension = __toESM(require_extension(), 1);
|
|
44038
44178
|
var import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
|
|
@@ -44152,7 +44292,7 @@ function handleServerMessage(msg, deps) {
|
|
|
44152
44292
|
}
|
|
44153
44293
|
|
|
44154
44294
|
// apps/mcp/src/cli.ts
|
|
44155
|
-
var HOCAI_DIR = (0, import_node_path6.join)((0,
|
|
44295
|
+
var HOCAI_DIR = (0, import_node_path6.join)((0, import_node_os5.homedir)(), ".hocai");
|
|
44156
44296
|
var CREDS = (0, import_node_path6.join)(HOCAI_DIR, "config.json");
|
|
44157
44297
|
var APP_DIR = (0, import_node_path6.join)(HOCAI_DIR, "app");
|
|
44158
44298
|
var APP_CLI = (0, import_node_path6.join)(APP_DIR, "cli.js");
|
|
@@ -44163,25 +44303,25 @@ var PORT = Number(process.env.MCP_HTTP_PORT ?? 4100);
|
|
|
44163
44303
|
var say = (s) => process.stderr.write(s + "\n");
|
|
44164
44304
|
function loadCreds() {
|
|
44165
44305
|
try {
|
|
44166
|
-
const c = JSON.parse((0,
|
|
44306
|
+
const c = JSON.parse((0, import_node_fs6.readFileSync)(CREDS, "utf8"));
|
|
44167
44307
|
return c.token && c.api ? { token: c.token, api: c.api } : null;
|
|
44168
44308
|
} catch {
|
|
44169
44309
|
return null;
|
|
44170
44310
|
}
|
|
44171
44311
|
}
|
|
44172
44312
|
function saveCreds(c) {
|
|
44173
|
-
(0,
|
|
44174
|
-
(0,
|
|
44313
|
+
(0, import_node_fs6.mkdirSync)(HOCAI_DIR, { recursive: true, mode: 448 });
|
|
44314
|
+
(0, import_node_fs6.writeFileSync)(CREDS, JSON.stringify(c, null, 2));
|
|
44175
44315
|
try {
|
|
44176
|
-
(0,
|
|
44316
|
+
(0, import_node_fs6.chmodSync)(CREDS, 384);
|
|
44177
44317
|
} catch {
|
|
44178
44318
|
}
|
|
44179
44319
|
}
|
|
44180
44320
|
function openBrowser(url2) {
|
|
44181
|
-
const p = (0,
|
|
44321
|
+
const p = (0, import_node_os5.platform)();
|
|
44182
44322
|
const cmd = p === "darwin" ? ["open", url2] : p === "win32" ? ["cmd", "/c", "start", "", url2] : ["xdg-open", url2];
|
|
44183
44323
|
try {
|
|
44184
|
-
(0,
|
|
44324
|
+
(0, import_node_child_process4.spawn)(cmd[0], cmd.slice(1), { stdio: "ignore", detached: true }).unref();
|
|
44185
44325
|
} catch {
|
|
44186
44326
|
}
|
|
44187
44327
|
}
|
|
@@ -44202,28 +44342,28 @@ async function login() {
|
|
|
44202
44342
|
return loadCreds();
|
|
44203
44343
|
}
|
|
44204
44344
|
function writeDesktop(creds) {
|
|
44205
|
-
const path = claudeDesktopConfigPath((0,
|
|
44206
|
-
if (!(0,
|
|
44345
|
+
const path = claudeDesktopConfigPath((0, import_node_os5.platform)(), (0, import_node_os5.homedir)(), process.env.APPDATA);
|
|
44346
|
+
if (!(0, import_node_fs6.existsSync)((0, import_node_path6.dirname)(path))) {
|
|
44207
44347
|
say("\xB7 Claude Desktop: kh\xF4ng th\u1EA5y tr\xEAn m\xE1y, b\u1ECF qua");
|
|
44208
44348
|
return;
|
|
44209
44349
|
}
|
|
44210
44350
|
let prev;
|
|
44211
44351
|
try {
|
|
44212
|
-
prev = JSON.parse((0,
|
|
44352
|
+
prev = JSON.parse((0, import_node_fs6.readFileSync)(path, "utf8"));
|
|
44213
44353
|
} catch {
|
|
44214
44354
|
prev = void 0;
|
|
44215
44355
|
}
|
|
44216
|
-
(0,
|
|
44356
|
+
(0, import_node_fs6.writeFileSync)(path, JSON.stringify(mergeClaudeDesktopConfig(prev, creds), null, 2));
|
|
44217
44357
|
say(`\u2713 Claude Desktop: \u0111\xE3 ghi ${path} (m\u1EDF l\u1EA1i Claude Desktop \u0111\u1EC3 n\xF3 nh\u1EADn)`);
|
|
44218
44358
|
}
|
|
44219
44359
|
function addClaudeCode(creds) {
|
|
44220
|
-
const win = (0,
|
|
44360
|
+
const win = (0, import_node_os5.platform)() === "win32";
|
|
44221
44361
|
try {
|
|
44222
|
-
(0,
|
|
44362
|
+
(0, import_node_child_process4.execFileSync)("claude", ["mcp", "remove", "hocai"], { stdio: "ignore", shell: win });
|
|
44223
44363
|
} catch {
|
|
44224
44364
|
}
|
|
44225
44365
|
try {
|
|
44226
|
-
(0,
|
|
44366
|
+
(0, import_node_child_process4.execFileSync)("claude", [
|
|
44227
44367
|
"mcp",
|
|
44228
44368
|
"add",
|
|
44229
44369
|
"hocai",
|
|
@@ -44245,28 +44385,13 @@ function addClaudeCode(creds) {
|
|
|
44245
44385
|
function claudeBin() {
|
|
44246
44386
|
if (process.env.CLAUDE_BIN) return process.env.CLAUDE_BIN;
|
|
44247
44387
|
try {
|
|
44248
|
-
return (0,
|
|
44388
|
+
return (0, import_node_child_process4.execSync)("command -v claude", { shell: "/bin/sh", encoding: "utf8" }).trim() || "claude";
|
|
44249
44389
|
} catch {
|
|
44250
44390
|
return "claude";
|
|
44251
44391
|
}
|
|
44252
44392
|
}
|
|
44253
|
-
function chayLay(cmd, args) {
|
|
44254
|
-
try {
|
|
44255
|
-
const dong = [cmd, ...args].join(" ");
|
|
44256
|
-
const o = {
|
|
44257
|
-
encoding: "utf8",
|
|
44258
|
-
timeout: 8e3,
|
|
44259
|
-
stdio: ["ignore", "pipe", "ignore"]
|
|
44260
|
-
};
|
|
44261
|
-
return (0, import_node_os4.platform)() === "win32" ? (0, import_node_child_process3.execSync)(dong, o) : (0, import_node_child_process3.execSync)(dong, { ...o, shell: "/bin/sh" });
|
|
44262
|
-
} catch (e) {
|
|
44263
|
-
const ra = e.stdout;
|
|
44264
|
-
const chu = typeof ra === "string" ? ra : ra?.toString("utf8");
|
|
44265
|
-
return chu && chu.trim() ? chu : null;
|
|
44266
|
-
}
|
|
44267
|
-
}
|
|
44268
44393
|
function doTroLy() {
|
|
44269
|
-
const r = summarizeAgents(probeAgents(
|
|
44394
|
+
const r = summarizeAgents(probeAgents(realProbeIO()));
|
|
44270
44395
|
if (r.dong.length) {
|
|
44271
44396
|
say("");
|
|
44272
44397
|
for (const d of r.dong) say(" " + d);
|
|
@@ -44277,13 +44402,75 @@ function doTroLy() {
|
|
|
44277
44402
|
}
|
|
44278
44403
|
return r.chayDuocBai;
|
|
44279
44404
|
}
|
|
44280
|
-
|
|
44405
|
+
function chayHien(cmd) {
|
|
44406
|
+
try {
|
|
44407
|
+
(0, import_node_child_process4.execFileSync)(cmd[0], cmd.slice(1), { stdio: "inherit", shell: (0, import_node_os5.platform)() === "win32" });
|
|
44408
|
+
return true;
|
|
44409
|
+
} catch {
|
|
44410
|
+
return false;
|
|
44411
|
+
}
|
|
44412
|
+
}
|
|
44413
|
+
var PERMS = (0, import_node_path6.join)(HOCAI_DIR, "perms.json");
|
|
44414
|
+
var NPM_CACHE = (0, import_node_path6.join)(HOCAI_DIR, "npm-cache");
|
|
44415
|
+
function npmCacheDir() {
|
|
44416
|
+
const ra = shellRun("npm", ["config", "get", "cache"], {
|
|
44417
|
+
cwd: (0, import_node_os5.homedir)(),
|
|
44418
|
+
env: cleanNpmEnv(process.env)
|
|
44419
|
+
});
|
|
44420
|
+
const chu = ra?.trim();
|
|
44421
|
+
if (chu && chu !== "undefined" && chu !== "null") return chu;
|
|
44422
|
+
return (0, import_node_os5.platform)() === "win32" ? (0, import_node_path6.join)(process.env.LOCALAPPDATA ?? (0, import_node_os5.homedir)(), "npm-cache") : (0, import_node_path6.join)((0, import_node_os5.homedir)(), ".npm");
|
|
44423
|
+
}
|
|
44424
|
+
function countAlienFiles(dir, tran = 500) {
|
|
44425
|
+
const toi = process.getuid?.();
|
|
44426
|
+
if (toi === void 0) return 0;
|
|
44427
|
+
let dem = 0;
|
|
44428
|
+
const di = (d) => {
|
|
44429
|
+
if (dem >= tran) return;
|
|
44430
|
+
let muc;
|
|
44431
|
+
try {
|
|
44432
|
+
muc = (0, import_node_fs6.readdirSync)(d);
|
|
44433
|
+
} catch {
|
|
44434
|
+
return;
|
|
44435
|
+
}
|
|
44436
|
+
for (const m of muc) {
|
|
44437
|
+
if (dem >= tran) return;
|
|
44438
|
+
const duong = (0, import_node_path6.join)(d, m);
|
|
44439
|
+
try {
|
|
44440
|
+
const st = (0, import_node_fs6.statSync)(duong);
|
|
44441
|
+
if (st.uid !== toi) {
|
|
44442
|
+
dem++;
|
|
44443
|
+
continue;
|
|
44444
|
+
}
|
|
44445
|
+
if (st.isDirectory()) di(duong);
|
|
44446
|
+
} catch {
|
|
44447
|
+
}
|
|
44448
|
+
}
|
|
44449
|
+
};
|
|
44450
|
+
di(dir);
|
|
44451
|
+
return dem;
|
|
44452
|
+
}
|
|
44453
|
+
function warnLines(lines) {
|
|
44454
|
+
if (lines.length === 0) return;
|
|
44455
|
+
say("");
|
|
44456
|
+
say("\u26A0 " + lines[0]);
|
|
44457
|
+
for (const d of lines.slice(1)) say(" " + d);
|
|
44458
|
+
}
|
|
44459
|
+
function doPerms() {
|
|
44460
|
+
try {
|
|
44461
|
+
const j = JSON.parse((0, import_node_fs6.readFileSync)(PERMS, "utf8"));
|
|
44462
|
+
return blockedNotice(Array.isArray(j.blocked) ? j.blocked : []);
|
|
44463
|
+
} catch {
|
|
44464
|
+
return [];
|
|
44465
|
+
}
|
|
44466
|
+
}
|
|
44467
|
+
var plan = () => daemonPlan((0, import_node_os5.platform)(), { node: process.execPath, script: APP_CLI, home: (0, import_node_os5.homedir)() });
|
|
44281
44468
|
function nghi(ms) {
|
|
44282
44469
|
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
|
|
44283
44470
|
}
|
|
44284
44471
|
function chay(cmd, im = false) {
|
|
44285
44472
|
try {
|
|
44286
|
-
(0,
|
|
44473
|
+
(0, import_node_child_process4.execFileSync)(cmd[0], cmd.slice(1), { stdio: "ignore", shell: (0, import_node_os5.platform)() === "win32" });
|
|
44287
44474
|
return true;
|
|
44288
44475
|
} catch {
|
|
44289
44476
|
if (!im) return false;
|
|
@@ -44296,17 +44483,17 @@ function caiDichVu() {
|
|
|
44296
44483
|
say("\xB7 H\u1EC7 \u0111i\u1EC1u h\xE0nh n\xE0y ch\u01B0a h\u1ED7 tr\u1EE3 ch\u1EA1y \u1EA9n. D\xF9ng `npx hocai-connect run` v\xE0 \u0111\u1EC3 c\u1EEDa s\u1ED5 m\u1EDF.");
|
|
44297
44484
|
return false;
|
|
44298
44485
|
}
|
|
44299
|
-
(0,
|
|
44300
|
-
(0,
|
|
44301
|
-
(0,
|
|
44486
|
+
(0, import_node_fs6.mkdirSync)(APP_DIR, { recursive: true });
|
|
44487
|
+
(0, import_node_fs6.mkdirSync)(LOG_DIR, { recursive: true });
|
|
44488
|
+
(0, import_node_fs6.copyFileSync)(__filename, APP_CLI);
|
|
44302
44489
|
if (p.file && p.content) {
|
|
44303
|
-
(0,
|
|
44304
|
-
(0,
|
|
44490
|
+
(0, import_node_fs6.mkdirSync)((0, import_node_path6.dirname)(p.file), { recursive: true });
|
|
44491
|
+
(0, import_node_fs6.writeFileSync)(p.file, p.content);
|
|
44305
44492
|
}
|
|
44306
44493
|
p.install.forEach((c, i) => {
|
|
44307
44494
|
if (i === 0) {
|
|
44308
44495
|
chay(c, true);
|
|
44309
|
-
if ((0,
|
|
44496
|
+
if ((0, import_node_os5.platform)() === "darwin") {
|
|
44310
44497
|
const nhan = `gui/${process.getuid?.() ?? 501}/${p.label}`;
|
|
44311
44498
|
for (let lan = 0; lan < 20; lan++) {
|
|
44312
44499
|
if (!chay(["launchctl", "print", nhan], true)) break;
|
|
@@ -44325,7 +44512,7 @@ function caiDichVu() {
|
|
|
44325
44512
|
function goDichVu() {
|
|
44326
44513
|
const p = plan();
|
|
44327
44514
|
for (const c of p.uninstall) chay(c, true);
|
|
44328
|
-
if (p.file) (0,
|
|
44515
|
+
if (p.file) (0, import_node_fs6.rmSync)(p.file, { force: true });
|
|
44329
44516
|
}
|
|
44330
44517
|
var LENH = ["mcp", "run", "update", "status", "stop", "logs", "quen", "help", "--help", "-h", "entry"];
|
|
44331
44518
|
var TRO_GIUP = `hocai-connect \u2014 n\u1ED1i Claude tr\xEAn m\xE1y b\u1EA1n v\xE0o hocAI
|
|
@@ -44360,7 +44547,7 @@ async function main() {
|
|
|
44360
44547
|
}
|
|
44361
44548
|
if (cmd === "quen") {
|
|
44362
44549
|
goDichVu();
|
|
44363
|
-
(0,
|
|
44550
|
+
(0, import_node_fs6.rmSync)(CREDS, { force: true });
|
|
44364
44551
|
say("\u0110\xE3 ng\u1EAFt k\u1EBFt n\u1ED1i v\xE0 g\u1EE1 d\u1ECBch v\u1EE5 n\u1EC1n tr\xEAn m\xE1y n\xE0y.");
|
|
44365
44552
|
say("Ch\u1EA1y l\u1EA1i `npx hocai-connect` \u0111\u1EC3 k\u1EBFt n\u1ED1i l\u1EA1i.");
|
|
44366
44553
|
return;
|
|
@@ -44377,9 +44564,10 @@ async function main() {
|
|
|
44377
44564
|
}
|
|
44378
44565
|
say(`C\xF3 b\u1EA3n m\u1EDBi: ${VERSION} \u2192 ${moi}. \u0110ang c\u1EADp nh\u1EADt\u2026`);
|
|
44379
44566
|
say("");
|
|
44380
|
-
|
|
44567
|
+
(0, import_node_fs6.mkdirSync)(NPM_CACHE, { recursive: true });
|
|
44568
|
+
const r = (0, import_node_child_process4.spawnSync)("npx", updateNpxArgs(moi, NPM_CACHE), {
|
|
44381
44569
|
stdio: "inherit",
|
|
44382
|
-
shell: (0,
|
|
44570
|
+
shell: (0, import_node_os5.platform)() === "win32"
|
|
44383
44571
|
});
|
|
44384
44572
|
process.exit(r.status ?? 1);
|
|
44385
44573
|
}
|
|
@@ -44401,6 +44589,7 @@ async function main() {
|
|
|
44401
44589
|
}
|
|
44402
44590
|
say(`\u2713 \u0110ang ch\u1EA1y \xB7 ${info.user?.ten ?? "(ch\xECa \u0111\xE3 b\u1ECB thu h\u1ED3i)"} \xB7 b\u1EA3n ${info.phienBan}`);
|
|
44403
44591
|
say(` Nh\u1EADt k\xFD: ${plan().log}`);
|
|
44592
|
+
warnLines(doPerms());
|
|
44404
44593
|
const moi = await latestVersion();
|
|
44405
44594
|
if (moi && info.phienBan && newerVersion(moi, info.phienBan)) {
|
|
44406
44595
|
say("");
|
|
@@ -44410,13 +44599,24 @@ async function main() {
|
|
|
44410
44599
|
}
|
|
44411
44600
|
if (cmd === "logs") {
|
|
44412
44601
|
const f = plan().log;
|
|
44413
|
-
if (!(0,
|
|
44602
|
+
if (!(0, import_node_fs6.existsSync)(f)) {
|
|
44414
44603
|
say(`Ch\u01B0a c\xF3 nh\u1EADt k\xFD n\xE0o \u1EDF ${f}`);
|
|
44415
44604
|
return;
|
|
44416
44605
|
}
|
|
44417
|
-
say((0,
|
|
44606
|
+
say((0, import_node_fs6.readFileSync)(f, "utf8").split("\n").slice(-40).join("\n"));
|
|
44418
44607
|
return;
|
|
44419
44608
|
}
|
|
44609
|
+
const quyen = cmd === "run" ? null : permPlan((0, import_node_os5.platform)(), {
|
|
44610
|
+
alienCacheFiles: countAlienFiles(npmCacheDir()),
|
|
44611
|
+
cacheDir: npmCacheDir(),
|
|
44612
|
+
user: (0, import_node_os5.userInfo)().username,
|
|
44613
|
+
needLogin: !loadCreds()
|
|
44614
|
+
});
|
|
44615
|
+
if (quyen && quyen.notice.length) {
|
|
44616
|
+
say("");
|
|
44617
|
+
say("hocAI s\u1EAFp xin nh\u1EEFng th\u1EE9 sau \u2014 kh\xF4ng c\xF3 g\xEC ch\u1EA1y ng\u1EA7m sau l\u01B0ng b\u1EA1n:");
|
|
44618
|
+
for (const d of quyen.notice) say(" " + d);
|
|
44619
|
+
}
|
|
44420
44620
|
const creds = loadCreds() ?? await login();
|
|
44421
44621
|
process.env.HOCAI_API_URL = creds.api;
|
|
44422
44622
|
const me = await fetchIdentity(creds.api, creds.token).catch(() => {
|
|
@@ -44461,10 +44661,34 @@ async function main() {
|
|
|
44461
44661
|
say(` Xem nh\u1EADt k\xFD: npx hocai-connect logs`);
|
|
44462
44662
|
process.exit(1);
|
|
44463
44663
|
}
|
|
44664
|
+
warnLines(doPerms());
|
|
44665
|
+
}
|
|
44666
|
+
if (quyen && quyen.fixCache.length) {
|
|
44667
|
+
say("");
|
|
44668
|
+
say("C\xF2n m\u1ED9t vi\u1EC7c: cache npm tr\xEAn m\xE1y n\xE0y c\xF3 t\u1EC7p thu\u1ED9c ng\u01B0\u1EDDi d\xF9ng kh\xE1c,");
|
|
44669
|
+
say("n\xEAn l\u1EC7nh `npx hocai-connect update` sau n\xE0y s\u1EBD h\u1ECFng. S\u1EEDa c\u1EA7n m\u1EADt kh\u1EA9u m\xE1y.");
|
|
44670
|
+
say("Kh\xF4ng mu\u1ED1n th\xEC b\u1EA5m Ctrl-C \u2014 m\u1ECDi th\u1EE9 kh\xE1c \u0111\xE3 xong v\xE0 v\u1EABn ch\u1EA1y.");
|
|
44671
|
+
for (const lenh of quyen.fixCache) {
|
|
44672
|
+
const ok = chayHien(lenh);
|
|
44673
|
+
say(ok ? "\u2713 \u0110\xE3 s\u1EEDa quy\u1EC1n cache npm." : "\xB7 Ch\u01B0a s\u1EEDa \u0111\u01B0\u1EE3c. C\u1EADp nh\u1EADt sau n\xE0y v\u1EABn ch\u1EA1y \u0111\u01B0\u1EE3c v\xEC hocAI d\xF9ng cache ri\xEAng.");
|
|
44674
|
+
}
|
|
44464
44675
|
}
|
|
44465
44676
|
return;
|
|
44466
44677
|
}
|
|
44467
|
-
cutLogIfBig(logPathFor((0,
|
|
44678
|
+
cutLogIfBig(logPathFor((0, import_node_os5.homedir)()));
|
|
44679
|
+
try {
|
|
44680
|
+
const chan = blockedDirs((0, import_node_os5.platform)(), (0, import_node_os5.homedir)(), (duong) => {
|
|
44681
|
+
try {
|
|
44682
|
+
(0, import_node_fs6.readdirSync)(duong);
|
|
44683
|
+
return true;
|
|
44684
|
+
} catch {
|
|
44685
|
+
return false;
|
|
44686
|
+
}
|
|
44687
|
+
});
|
|
44688
|
+
(0, import_node_fs6.mkdirSync)(HOCAI_DIR, { recursive: true });
|
|
44689
|
+
(0, import_node_fs6.writeFileSync)(PERMS, JSON.stringify({ at: (/* @__PURE__ */ new Date()).toISOString(), blocked: chan }) + "\n");
|
|
44690
|
+
} catch {
|
|
44691
|
+
}
|
|
44468
44692
|
const folders = createFolderRegistry();
|
|
44469
44693
|
const srv = buildHttpServer({
|
|
44470
44694
|
// MỘT sổ dùng chung cho cả đường trình duyệt lẫn đường lên socket. Hai sổ
|
|
@@ -44477,7 +44701,11 @@ async function main() {
|
|
|
44477
44701
|
// chối trang mới trong im lặng. Xem `defaultOrigins`.
|
|
44478
44702
|
origins: defaultOrigins(process.env.HOCAI_WEB_ORIGINS),
|
|
44479
44703
|
claudeBin: claudeBin(),
|
|
44480
|
-
me: identity.current
|
|
44704
|
+
me: identity.current,
|
|
44705
|
+
// Nhớ 5 phút. Đủ lâu để tuyến nóng không đốt máy học viên, đủ ngắn để
|
|
44706
|
+
// người vừa `claude auth login` không phải khởi động lại dịch vụ mới thấy
|
|
44707
|
+
// màn hình đổi.
|
|
44708
|
+
agents: cachedProbe(realProbeIO(), Date.now)
|
|
44481
44709
|
});
|
|
44482
44710
|
srv.on("error", (e) => {
|
|
44483
44711
|
if (e.code !== "EADDRINUSE") throw e;
|
|
@@ -44495,8 +44723,8 @@ async function main() {
|
|
|
44495
44723
|
// hai lượt nối là chuyện thường, và máy chủ phải nhận danh sách MỚI NHẤT.
|
|
44496
44724
|
hello: () => ({
|
|
44497
44725
|
t: "hello",
|
|
44498
|
-
name: (0,
|
|
44499
|
-
os: (0,
|
|
44726
|
+
name: (0, import_node_os5.hostname)(),
|
|
44727
|
+
os: (0, import_node_os5.platform)(),
|
|
44500
44728
|
folders: folders.list()
|
|
44501
44729
|
}),
|
|
44502
44730
|
onMessage: (msg) => handleServerMessage(msg, { folders, store: srv.store, send: uplink.send })
|