@hasna/microservices 0.0.19 → 0.0.20

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/bin/mcp.js CHANGED
@@ -44,8 +44,9 @@ var __export = (target, all) => {
44
44
  set: __exportSetter.bind(all, name)
45
45
  });
46
46
  };
47
+ var __require = import.meta.require;
47
48
 
48
- // node_modules/ajv/dist/compile/codegen/code.js
49
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
49
50
  var require_code = __commonJS((exports) => {
50
51
  Object.defineProperty(exports, "__esModule", { value: true });
51
52
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = undefined;
@@ -199,7 +200,7 @@ var require_code = __commonJS((exports) => {
199
200
  exports.regexpCode = regexpCode;
200
201
  });
201
202
 
202
- // node_modules/ajv/dist/compile/codegen/scope.js
203
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
203
204
  var require_scope = __commonJS((exports) => {
204
205
  Object.defineProperty(exports, "__esModule", { value: true });
205
206
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = undefined;
@@ -345,7 +346,7 @@ var require_scope = __commonJS((exports) => {
345
346
  exports.ValueScope = ValueScope;
346
347
  });
347
348
 
348
- // node_modules/ajv/dist/compile/codegen/index.js
349
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
349
350
  var require_codegen = __commonJS((exports) => {
350
351
  Object.defineProperty(exports, "__esModule", { value: true });
351
352
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = undefined;
@@ -1055,7 +1056,7 @@ var require_codegen = __commonJS((exports) => {
1055
1056
  }
1056
1057
  });
1057
1058
 
1058
- // node_modules/ajv/dist/compile/util.js
1059
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
1059
1060
  var require_util = __commonJS((exports) => {
1060
1061
  Object.defineProperty(exports, "__esModule", { value: true });
1061
1062
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = undefined;
@@ -1219,7 +1220,7 @@ var require_util = __commonJS((exports) => {
1219
1220
  exports.checkStrictMode = checkStrictMode;
1220
1221
  });
1221
1222
 
1222
- // node_modules/ajv/dist/compile/names.js
1223
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
1223
1224
  var require_names = __commonJS((exports) => {
1224
1225
  Object.defineProperty(exports, "__esModule", { value: true });
1225
1226
  var codegen_1 = require_codegen();
@@ -1244,7 +1245,7 @@ var require_names = __commonJS((exports) => {
1244
1245
  exports.default = names;
1245
1246
  });
1246
1247
 
1247
- // node_modules/ajv/dist/compile/errors.js
1248
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
1248
1249
  var require_errors = __commonJS((exports) => {
1249
1250
  Object.defineProperty(exports, "__esModule", { value: true });
1250
1251
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = undefined;
@@ -1362,7 +1363,7 @@ var require_errors = __commonJS((exports) => {
1362
1363
  }
1363
1364
  });
1364
1365
 
1365
- // node_modules/ajv/dist/compile/validate/boolSchema.js
1366
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
1366
1367
  var require_boolSchema = __commonJS((exports) => {
1367
1368
  Object.defineProperty(exports, "__esModule", { value: true });
1368
1369
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = undefined;
@@ -1410,7 +1411,7 @@ var require_boolSchema = __commonJS((exports) => {
1410
1411
  }
1411
1412
  });
1412
1413
 
1413
- // node_modules/ajv/dist/compile/rules.js
1414
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
1414
1415
  var require_rules = __commonJS((exports) => {
1415
1416
  Object.defineProperty(exports, "__esModule", { value: true });
1416
1417
  exports.getRules = exports.isJSONType = undefined;
@@ -1438,7 +1439,7 @@ var require_rules = __commonJS((exports) => {
1438
1439
  exports.getRules = getRules;
1439
1440
  });
1440
1441
 
1441
- // node_modules/ajv/dist/compile/validate/applicability.js
1442
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
1442
1443
  var require_applicability = __commonJS((exports) => {
1443
1444
  Object.defineProperty(exports, "__esModule", { value: true });
1444
1445
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = undefined;
@@ -1458,7 +1459,7 @@ var require_applicability = __commonJS((exports) => {
1458
1459
  exports.shouldUseRule = shouldUseRule;
1459
1460
  });
1460
1461
 
1461
- // node_modules/ajv/dist/compile/validate/dataType.js
1462
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
1462
1463
  var require_dataType = __commonJS((exports) => {
1463
1464
  Object.defineProperty(exports, "__esModule", { value: true });
1464
1465
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = undefined;
@@ -1639,7 +1640,7 @@ var require_dataType = __commonJS((exports) => {
1639
1640
  }
1640
1641
  });
1641
1642
 
1642
- // node_modules/ajv/dist/compile/validate/defaults.js
1643
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
1643
1644
  var require_defaults = __commonJS((exports) => {
1644
1645
  Object.defineProperty(exports, "__esModule", { value: true });
1645
1646
  exports.assignDefaults = undefined;
@@ -1673,7 +1674,7 @@ var require_defaults = __commonJS((exports) => {
1673
1674
  }
1674
1675
  });
1675
1676
 
1676
- // node_modules/ajv/dist/vocabularies/code.js
1677
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
1677
1678
  var require_code2 = __commonJS((exports) => {
1678
1679
  Object.defineProperty(exports, "__esModule", { value: true });
1679
1680
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = undefined;
@@ -1802,7 +1803,7 @@ var require_code2 = __commonJS((exports) => {
1802
1803
  exports.validateUnion = validateUnion;
1803
1804
  });
1804
1805
 
1805
- // node_modules/ajv/dist/compile/validate/keyword.js
1806
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
1806
1807
  var require_keyword = __commonJS((exports) => {
1807
1808
  Object.defineProperty(exports, "__esModule", { value: true });
1808
1809
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = undefined;
@@ -1917,7 +1918,7 @@ var require_keyword = __commonJS((exports) => {
1917
1918
  exports.validateKeywordUsage = validateKeywordUsage;
1918
1919
  });
1919
1920
 
1920
- // node_modules/ajv/dist/compile/validate/subschema.js
1921
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
1921
1922
  var require_subschema = __commonJS((exports) => {
1922
1923
  Object.defineProperty(exports, "__esModule", { value: true });
1923
1924
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = undefined;
@@ -1997,7 +1998,7 @@ var require_subschema = __commonJS((exports) => {
1997
1998
  exports.extendSubschemaMode = extendSubschemaMode;
1998
1999
  });
1999
2000
 
2000
- // node_modules/fast-deep-equal/index.js
2001
+ // node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
2001
2002
  var require_fast_deep_equal = __commonJS((exports, module) => {
2002
2003
  module.exports = function equal(a, b) {
2003
2004
  if (a === b)
@@ -2039,7 +2040,7 @@ var require_fast_deep_equal = __commonJS((exports, module) => {
2039
2040
  };
2040
2041
  });
2041
2042
 
2042
- // node_modules/json-schema-traverse/index.js
2043
+ // node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
2043
2044
  var require_json_schema_traverse = __commonJS((exports, module) => {
2044
2045
  var traverse = module.exports = function(schema, opts, cb) {
2045
2046
  if (typeof opts == "function") {
@@ -2122,7 +2123,7 @@ var require_json_schema_traverse = __commonJS((exports, module) => {
2122
2123
  }
2123
2124
  });
2124
2125
 
2125
- // node_modules/ajv/dist/compile/resolve.js
2126
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
2126
2127
  var require_resolve = __commonJS((exports) => {
2127
2128
  Object.defineProperty(exports, "__esModule", { value: true });
2128
2129
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = undefined;
@@ -2275,7 +2276,7 @@ var require_resolve = __commonJS((exports) => {
2275
2276
  exports.getSchemaRefs = getSchemaRefs;
2276
2277
  });
2277
2278
 
2278
- // node_modules/ajv/dist/compile/validate/index.js
2279
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
2279
2280
  var require_validate = __commonJS((exports) => {
2280
2281
  Object.defineProperty(exports, "__esModule", { value: true });
2281
2282
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = undefined;
@@ -2780,7 +2781,7 @@ var require_validate = __commonJS((exports) => {
2780
2781
  exports.getData = getData;
2781
2782
  });
2782
2783
 
2783
- // node_modules/ajv/dist/runtime/validation_error.js
2784
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
2784
2785
  var require_validation_error = __commonJS((exports) => {
2785
2786
  Object.defineProperty(exports, "__esModule", { value: true });
2786
2787
 
@@ -2794,7 +2795,7 @@ var require_validation_error = __commonJS((exports) => {
2794
2795
  exports.default = ValidationError;
2795
2796
  });
2796
2797
 
2797
- // node_modules/ajv/dist/compile/ref_error.js
2798
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
2798
2799
  var require_ref_error = __commonJS((exports) => {
2799
2800
  Object.defineProperty(exports, "__esModule", { value: true });
2800
2801
  var resolve_1 = require_resolve();
@@ -2809,7 +2810,7 @@ var require_ref_error = __commonJS((exports) => {
2809
2810
  exports.default = MissingRefError;
2810
2811
  });
2811
2812
 
2812
- // node_modules/ajv/dist/compile/index.js
2813
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
2813
2814
  var require_compile = __commonJS((exports) => {
2814
2815
  Object.defineProperty(exports, "__esModule", { value: true });
2815
2816
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = undefined;
@@ -3030,7 +3031,7 @@ var require_compile = __commonJS((exports) => {
3030
3031
  }
3031
3032
  });
3032
3033
 
3033
- // node_modules/ajv/dist/refs/data.json
3034
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
3034
3035
  var require_data = __commonJS((exports, module) => {
3035
3036
  module.exports = {
3036
3037
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
@@ -3047,7 +3048,7 @@ var require_data = __commonJS((exports, module) => {
3047
3048
  };
3048
3049
  });
3049
3050
 
3050
- // node_modules/fast-uri/lib/utils.js
3051
+ // node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
3051
3052
  var require_utils = __commonJS((exports, module) => {
3052
3053
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
3053
3054
  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);
@@ -3302,7 +3303,7 @@ var require_utils = __commonJS((exports, module) => {
3302
3303
  };
3303
3304
  });
3304
3305
 
3305
- // node_modules/fast-uri/lib/schemes.js
3306
+ // node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
3306
3307
  var require_schemes = __commonJS((exports, module) => {
3307
3308
  var { isUUID } = require_utils();
3308
3309
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -3476,7 +3477,7 @@ var require_schemes = __commonJS((exports, module) => {
3476
3477
  };
3477
3478
  });
3478
3479
 
3479
- // node_modules/fast-uri/index.js
3480
+ // node_modules/.bun/fast-uri@3.1.0/node_modules/fast-uri/index.js
3480
3481
  var require_fast_uri = __commonJS((exports, module) => {
3481
3482
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
3482
3483
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -3727,7 +3728,7 @@ var require_fast_uri = __commonJS((exports, module) => {
3727
3728
  module.exports.fastUri = fastUri;
3728
3729
  });
3729
3730
 
3730
- // node_modules/ajv/dist/runtime/uri.js
3731
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
3731
3732
  var require_uri = __commonJS((exports) => {
3732
3733
  Object.defineProperty(exports, "__esModule", { value: true });
3733
3734
  var uri = require_fast_uri();
@@ -3735,7 +3736,7 @@ var require_uri = __commonJS((exports) => {
3735
3736
  exports.default = uri;
3736
3737
  });
3737
3738
 
3738
- // node_modules/ajv/dist/core.js
3739
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/core.js
3739
3740
  var require_core = __commonJS((exports) => {
3740
3741
  Object.defineProperty(exports, "__esModule", { value: true });
3741
3742
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = undefined;
@@ -4328,7 +4329,7 @@ var require_core = __commonJS((exports) => {
4328
4329
  }
4329
4330
  });
4330
4331
 
4331
- // node_modules/ajv/dist/vocabularies/core/id.js
4332
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
4332
4333
  var require_id = __commonJS((exports) => {
4333
4334
  Object.defineProperty(exports, "__esModule", { value: true });
4334
4335
  var def = {
@@ -4340,7 +4341,7 @@ var require_id = __commonJS((exports) => {
4340
4341
  exports.default = def;
4341
4342
  });
4342
4343
 
4343
- // node_modules/ajv/dist/vocabularies/core/ref.js
4344
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
4344
4345
  var require_ref = __commonJS((exports) => {
4345
4346
  Object.defineProperty(exports, "__esModule", { value: true });
4346
4347
  exports.callRef = exports.getValidate = undefined;
@@ -4459,7 +4460,7 @@ var require_ref = __commonJS((exports) => {
4459
4460
  exports.default = def;
4460
4461
  });
4461
4462
 
4462
- // node_modules/ajv/dist/vocabularies/core/index.js
4463
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
4463
4464
  var require_core2 = __commonJS((exports) => {
4464
4465
  Object.defineProperty(exports, "__esModule", { value: true });
4465
4466
  var id_1 = require_id();
@@ -4477,7 +4478,7 @@ var require_core2 = __commonJS((exports) => {
4477
4478
  exports.default = core2;
4478
4479
  });
4479
4480
 
4480
- // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4481
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4481
4482
  var require_limitNumber = __commonJS((exports) => {
4482
4483
  Object.defineProperty(exports, "__esModule", { value: true });
4483
4484
  var codegen_1 = require_codegen();
@@ -4506,7 +4507,7 @@ var require_limitNumber = __commonJS((exports) => {
4506
4507
  exports.default = def;
4507
4508
  });
4508
4509
 
4509
- // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4510
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4510
4511
  var require_multipleOf = __commonJS((exports) => {
4511
4512
  Object.defineProperty(exports, "__esModule", { value: true });
4512
4513
  var codegen_1 = require_codegen();
@@ -4531,7 +4532,7 @@ var require_multipleOf = __commonJS((exports) => {
4531
4532
  exports.default = def;
4532
4533
  });
4533
4534
 
4534
- // node_modules/ajv/dist/runtime/ucs2length.js
4535
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
4535
4536
  var require_ucs2length = __commonJS((exports) => {
4536
4537
  Object.defineProperty(exports, "__esModule", { value: true });
4537
4538
  function ucs2length(str) {
@@ -4554,7 +4555,7 @@ var require_ucs2length = __commonJS((exports) => {
4554
4555
  ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
4555
4556
  });
4556
4557
 
4557
- // node_modules/ajv/dist/vocabularies/validation/limitLength.js
4558
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
4558
4559
  var require_limitLength = __commonJS((exports) => {
4559
4560
  Object.defineProperty(exports, "__esModule", { value: true });
4560
4561
  var codegen_1 = require_codegen();
@@ -4583,7 +4584,7 @@ var require_limitLength = __commonJS((exports) => {
4583
4584
  exports.default = def;
4584
4585
  });
4585
4586
 
4586
- // node_modules/ajv/dist/vocabularies/validation/pattern.js
4587
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
4587
4588
  var require_pattern = __commonJS((exports) => {
4588
4589
  Object.defineProperty(exports, "__esModule", { value: true });
4589
4590
  var code_1 = require_code2();
@@ -4617,7 +4618,7 @@ var require_pattern = __commonJS((exports) => {
4617
4618
  exports.default = def;
4618
4619
  });
4619
4620
 
4620
- // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4621
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4621
4622
  var require_limitProperties = __commonJS((exports) => {
4622
4623
  Object.defineProperty(exports, "__esModule", { value: true });
4623
4624
  var codegen_1 = require_codegen();
@@ -4643,7 +4644,7 @@ var require_limitProperties = __commonJS((exports) => {
4643
4644
  exports.default = def;
4644
4645
  });
4645
4646
 
4646
- // node_modules/ajv/dist/vocabularies/validation/required.js
4647
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
4647
4648
  var require_required = __commonJS((exports) => {
4648
4649
  Object.defineProperty(exports, "__esModule", { value: true });
4649
4650
  var code_1 = require_code2();
@@ -4722,7 +4723,7 @@ var require_required = __commonJS((exports) => {
4722
4723
  exports.default = def;
4723
4724
  });
4724
4725
 
4725
- // node_modules/ajv/dist/vocabularies/validation/limitItems.js
4726
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
4726
4727
  var require_limitItems = __commonJS((exports) => {
4727
4728
  Object.defineProperty(exports, "__esModule", { value: true });
4728
4729
  var codegen_1 = require_codegen();
@@ -4748,7 +4749,7 @@ var require_limitItems = __commonJS((exports) => {
4748
4749
  exports.default = def;
4749
4750
  });
4750
4751
 
4751
- // node_modules/ajv/dist/runtime/equal.js
4752
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
4752
4753
  var require_equal = __commonJS((exports) => {
4753
4754
  Object.defineProperty(exports, "__esModule", { value: true });
4754
4755
  var equal = require_fast_deep_equal();
@@ -4756,7 +4757,7 @@ var require_equal = __commonJS((exports) => {
4756
4757
  exports.default = equal;
4757
4758
  });
4758
4759
 
4759
- // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4760
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4760
4761
  var require_uniqueItems = __commonJS((exports) => {
4761
4762
  Object.defineProperty(exports, "__esModule", { value: true });
4762
4763
  var dataType_1 = require_dataType();
@@ -4820,7 +4821,7 @@ var require_uniqueItems = __commonJS((exports) => {
4820
4821
  exports.default = def;
4821
4822
  });
4822
4823
 
4823
- // node_modules/ajv/dist/vocabularies/validation/const.js
4824
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
4824
4825
  var require_const = __commonJS((exports) => {
4825
4826
  Object.defineProperty(exports, "__esModule", { value: true });
4826
4827
  var codegen_1 = require_codegen();
@@ -4846,7 +4847,7 @@ var require_const = __commonJS((exports) => {
4846
4847
  exports.default = def;
4847
4848
  });
4848
4849
 
4849
- // node_modules/ajv/dist/vocabularies/validation/enum.js
4850
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
4850
4851
  var require_enum = __commonJS((exports) => {
4851
4852
  Object.defineProperty(exports, "__esModule", { value: true });
4852
4853
  var codegen_1 = require_codegen();
@@ -4892,7 +4893,7 @@ var require_enum = __commonJS((exports) => {
4892
4893
  exports.default = def;
4893
4894
  });
4894
4895
 
4895
- // node_modules/ajv/dist/vocabularies/validation/index.js
4896
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
4896
4897
  var require_validation = __commonJS((exports) => {
4897
4898
  Object.defineProperty(exports, "__esModule", { value: true });
4898
4899
  var limitNumber_1 = require_limitNumber();
@@ -4922,7 +4923,7 @@ var require_validation = __commonJS((exports) => {
4922
4923
  exports.default = validation;
4923
4924
  });
4924
4925
 
4925
- // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
4926
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
4926
4927
  var require_additionalItems = __commonJS((exports) => {
4927
4928
  Object.defineProperty(exports, "__esModule", { value: true });
4928
4929
  exports.validateAdditionalItems = undefined;
@@ -4972,7 +4973,7 @@ var require_additionalItems = __commonJS((exports) => {
4972
4973
  exports.default = def;
4973
4974
  });
4974
4975
 
4975
- // node_modules/ajv/dist/vocabularies/applicator/items.js
4976
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
4976
4977
  var require_items = __commonJS((exports) => {
4977
4978
  Object.defineProperty(exports, "__esModule", { value: true });
4978
4979
  exports.validateTuple = undefined;
@@ -5026,7 +5027,7 @@ var require_items = __commonJS((exports) => {
5026
5027
  exports.default = def;
5027
5028
  });
5028
5029
 
5029
- // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5030
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5030
5031
  var require_prefixItems = __commonJS((exports) => {
5031
5032
  Object.defineProperty(exports, "__esModule", { value: true });
5032
5033
  var items_1 = require_items();
@@ -5040,7 +5041,7 @@ var require_prefixItems = __commonJS((exports) => {
5040
5041
  exports.default = def;
5041
5042
  });
5042
5043
 
5043
- // node_modules/ajv/dist/vocabularies/applicator/items2020.js
5044
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
5044
5045
  var require_items2020 = __commonJS((exports) => {
5045
5046
  Object.defineProperty(exports, "__esModule", { value: true });
5046
5047
  var codegen_1 = require_codegen();
@@ -5072,7 +5073,7 @@ var require_items2020 = __commonJS((exports) => {
5072
5073
  exports.default = def;
5073
5074
  });
5074
5075
 
5075
- // node_modules/ajv/dist/vocabularies/applicator/contains.js
5076
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
5076
5077
  var require_contains = __commonJS((exports) => {
5077
5078
  Object.defineProperty(exports, "__esModule", { value: true });
5078
5079
  var codegen_1 = require_codegen();
@@ -5163,7 +5164,7 @@ var require_contains = __commonJS((exports) => {
5163
5164
  exports.default = def;
5164
5165
  });
5165
5166
 
5166
- // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5167
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5167
5168
  var require_dependencies = __commonJS((exports) => {
5168
5169
  Object.defineProperty(exports, "__esModule", { value: true });
5169
5170
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = undefined;
@@ -5248,7 +5249,7 @@ var require_dependencies = __commonJS((exports) => {
5248
5249
  exports.default = def;
5249
5250
  });
5250
5251
 
5251
- // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5252
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5252
5253
  var require_propertyNames = __commonJS((exports) => {
5253
5254
  Object.defineProperty(exports, "__esModule", { value: true });
5254
5255
  var codegen_1 = require_codegen();
@@ -5288,7 +5289,7 @@ var require_propertyNames = __commonJS((exports) => {
5288
5289
  exports.default = def;
5289
5290
  });
5290
5291
 
5291
- // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5292
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5292
5293
  var require_additionalProperties = __commonJS((exports) => {
5293
5294
  Object.defineProperty(exports, "__esModule", { value: true });
5294
5295
  var code_1 = require_code2();
@@ -5391,7 +5392,7 @@ var require_additionalProperties = __commonJS((exports) => {
5391
5392
  exports.default = def;
5392
5393
  });
5393
5394
 
5394
- // node_modules/ajv/dist/vocabularies/applicator/properties.js
5395
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
5395
5396
  var require_properties = __commonJS((exports) => {
5396
5397
  Object.defineProperty(exports, "__esModule", { value: true });
5397
5398
  var validate_1 = require_validate();
@@ -5446,7 +5447,7 @@ var require_properties = __commonJS((exports) => {
5446
5447
  exports.default = def;
5447
5448
  });
5448
5449
 
5449
- // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5450
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5450
5451
  var require_patternProperties = __commonJS((exports) => {
5451
5452
  Object.defineProperty(exports, "__esModule", { value: true });
5452
5453
  var code_1 = require_code2();
@@ -5517,7 +5518,7 @@ var require_patternProperties = __commonJS((exports) => {
5517
5518
  exports.default = def;
5518
5519
  });
5519
5520
 
5520
- // node_modules/ajv/dist/vocabularies/applicator/not.js
5521
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
5521
5522
  var require_not = __commonJS((exports) => {
5522
5523
  Object.defineProperty(exports, "__esModule", { value: true });
5523
5524
  var util_1 = require_util();
@@ -5545,7 +5546,7 @@ var require_not = __commonJS((exports) => {
5545
5546
  exports.default = def;
5546
5547
  });
5547
5548
 
5548
- // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5549
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5549
5550
  var require_anyOf = __commonJS((exports) => {
5550
5551
  Object.defineProperty(exports, "__esModule", { value: true });
5551
5552
  var code_1 = require_code2();
@@ -5559,7 +5560,7 @@ var require_anyOf = __commonJS((exports) => {
5559
5560
  exports.default = def;
5560
5561
  });
5561
5562
 
5562
- // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5563
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5563
5564
  var require_oneOf = __commonJS((exports) => {
5564
5565
  Object.defineProperty(exports, "__esModule", { value: true });
5565
5566
  var codegen_1 = require_codegen();
@@ -5614,7 +5615,7 @@ var require_oneOf = __commonJS((exports) => {
5614
5615
  exports.default = def;
5615
5616
  });
5616
5617
 
5617
- // node_modules/ajv/dist/vocabularies/applicator/allOf.js
5618
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
5618
5619
  var require_allOf = __commonJS((exports) => {
5619
5620
  Object.defineProperty(exports, "__esModule", { value: true });
5620
5621
  var util_1 = require_util();
@@ -5638,7 +5639,7 @@ var require_allOf = __commonJS((exports) => {
5638
5639
  exports.default = def;
5639
5640
  });
5640
5641
 
5641
- // node_modules/ajv/dist/vocabularies/applicator/if.js
5642
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
5642
5643
  var require_if = __commonJS((exports) => {
5643
5644
  Object.defineProperty(exports, "__esModule", { value: true });
5644
5645
  var codegen_1 = require_codegen();
@@ -5704,7 +5705,7 @@ var require_if = __commonJS((exports) => {
5704
5705
  exports.default = def;
5705
5706
  });
5706
5707
 
5707
- // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5708
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5708
5709
  var require_thenElse = __commonJS((exports) => {
5709
5710
  Object.defineProperty(exports, "__esModule", { value: true });
5710
5711
  var util_1 = require_util();
@@ -5719,7 +5720,7 @@ var require_thenElse = __commonJS((exports) => {
5719
5720
  exports.default = def;
5720
5721
  });
5721
5722
 
5722
- // node_modules/ajv/dist/vocabularies/applicator/index.js
5723
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
5723
5724
  var require_applicator = __commonJS((exports) => {
5724
5725
  Object.defineProperty(exports, "__esModule", { value: true });
5725
5726
  var additionalItems_1 = require_additionalItems();
@@ -5762,7 +5763,7 @@ var require_applicator = __commonJS((exports) => {
5762
5763
  exports.default = getApplicator;
5763
5764
  });
5764
5765
 
5765
- // node_modules/ajv/dist/vocabularies/format/format.js
5766
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
5766
5767
  var require_format = __commonJS((exports) => {
5767
5768
  Object.defineProperty(exports, "__esModule", { value: true });
5768
5769
  var codegen_1 = require_codegen();
@@ -5849,7 +5850,7 @@ var require_format = __commonJS((exports) => {
5849
5850
  exports.default = def;
5850
5851
  });
5851
5852
 
5852
- // node_modules/ajv/dist/vocabularies/format/index.js
5853
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
5853
5854
  var require_format2 = __commonJS((exports) => {
5854
5855
  Object.defineProperty(exports, "__esModule", { value: true });
5855
5856
  var format_1 = require_format();
@@ -5857,7 +5858,7 @@ var require_format2 = __commonJS((exports) => {
5857
5858
  exports.default = format;
5858
5859
  });
5859
5860
 
5860
- // node_modules/ajv/dist/vocabularies/metadata.js
5861
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
5861
5862
  var require_metadata = __commonJS((exports) => {
5862
5863
  Object.defineProperty(exports, "__esModule", { value: true });
5863
5864
  exports.contentVocabulary = exports.metadataVocabulary = undefined;
@@ -5877,7 +5878,7 @@ var require_metadata = __commonJS((exports) => {
5877
5878
  ];
5878
5879
  });
5879
5880
 
5880
- // node_modules/ajv/dist/vocabularies/draft7.js
5881
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
5881
5882
  var require_draft7 = __commonJS((exports) => {
5882
5883
  Object.defineProperty(exports, "__esModule", { value: true });
5883
5884
  var core_1 = require_core2();
@@ -5896,7 +5897,7 @@ var require_draft7 = __commonJS((exports) => {
5896
5897
  exports.default = draft7Vocabularies;
5897
5898
  });
5898
5899
 
5899
- // node_modules/ajv/dist/vocabularies/discriminator/types.js
5900
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
5900
5901
  var require_types = __commonJS((exports) => {
5901
5902
  Object.defineProperty(exports, "__esModule", { value: true });
5902
5903
  exports.DiscrError = undefined;
@@ -5907,7 +5908,7 @@ var require_types = __commonJS((exports) => {
5907
5908
  })(DiscrError || (exports.DiscrError = DiscrError = {}));
5908
5909
  });
5909
5910
 
5910
- // node_modules/ajv/dist/vocabularies/discriminator/index.js
5911
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
5911
5912
  var require_discriminator = __commonJS((exports) => {
5912
5913
  Object.defineProperty(exports, "__esModule", { value: true });
5913
5914
  var codegen_1 = require_codegen();
@@ -6009,7 +6010,7 @@ var require_discriminator = __commonJS((exports) => {
6009
6010
  exports.default = def;
6010
6011
  });
6011
6012
 
6012
- // node_modules/ajv/dist/refs/json-schema-draft-07.json
6013
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
6013
6014
  var require_json_schema_draft_07 = __commonJS((exports, module) => {
6014
6015
  module.exports = {
6015
6016
  $schema: "http://json-schema.org/draft-07/schema#",
@@ -6164,7 +6165,7 @@ var require_json_schema_draft_07 = __commonJS((exports, module) => {
6164
6165
  };
6165
6166
  });
6166
6167
 
6167
- // node_modules/ajv/dist/ajv.js
6168
+ // node_modules/.bun/ajv@8.18.0/node_modules/ajv/dist/ajv.js
6168
6169
  var require_ajv = __commonJS((exports, module) => {
6169
6170
  Object.defineProperty(exports, "__esModule", { value: true });
6170
6171
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = undefined;
@@ -6232,7 +6233,7 @@ var require_ajv = __commonJS((exports, module) => {
6232
6233
  } });
6233
6234
  });
6234
6235
 
6235
- // node_modules/ajv-formats/dist/formats.js
6236
+ // node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
6236
6237
  var require_formats = __commonJS((exports) => {
6237
6238
  Object.defineProperty(exports, "__esModule", { value: true });
6238
6239
  exports.formatNames = exports.fastFormats = exports.fullFormats = undefined;
@@ -6409,7 +6410,7 @@ var require_formats = __commonJS((exports) => {
6409
6410
  }
6410
6411
  });
6411
6412
 
6412
- // node_modules/ajv-formats/dist/limit.js
6413
+ // node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
6413
6414
  var require_limit = __commonJS((exports) => {
6414
6415
  Object.defineProperty(exports, "__esModule", { value: true });
6415
6416
  exports.formatLimitDefinition = undefined;
@@ -6478,7 +6479,7 @@ var require_limit = __commonJS((exports) => {
6478
6479
  exports.default = formatLimitPlugin;
6479
6480
  });
6480
6481
 
6481
- // node_modules/ajv-formats/dist/index.js
6482
+ // node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
6482
6483
  var require_dist = __commonJS((exports, module) => {
6483
6484
  Object.defineProperty(exports, "__esModule", { value: true });
6484
6485
  var formats_1 = require_formats();
@@ -6517,7 +6518,7 @@ var require_dist = __commonJS((exports, module) => {
6517
6518
  exports.default = formatsPlugin;
6518
6519
  });
6519
6520
 
6520
- // node_modules/zod/v3/external.js
6521
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
6521
6522
  var exports_external = {};
6522
6523
  __export(exports_external, {
6523
6524
  void: () => voidType,
@@ -6629,7 +6630,7 @@ __export(exports_external, {
6629
6630
  BRAND: () => BRAND
6630
6631
  });
6631
6632
 
6632
- // node_modules/zod/v3/helpers/util.js
6633
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/util.js
6633
6634
  var util;
6634
6635
  (function(util2) {
6635
6636
  util2.assertEqual = (_) => {};
@@ -6760,7 +6761,7 @@ var getParsedType = (data) => {
6760
6761
  }
6761
6762
  };
6762
6763
 
6763
- // node_modules/zod/v3/ZodError.js
6764
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/ZodError.js
6764
6765
  var ZodIssueCode = util.arrayToEnum([
6765
6766
  "invalid_type",
6766
6767
  "invalid_literal",
@@ -6879,7 +6880,7 @@ ZodError.create = (issues) => {
6879
6880
  return error;
6880
6881
  };
6881
6882
 
6882
- // node_modules/zod/v3/locales/en.js
6883
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/locales/en.js
6883
6884
  var errorMap = (issue, _ctx) => {
6884
6885
  let message;
6885
6886
  switch (issue.code) {
@@ -6982,7 +6983,7 @@ var errorMap = (issue, _ctx) => {
6982
6983
  };
6983
6984
  var en_default = errorMap;
6984
6985
 
6985
- // node_modules/zod/v3/errors.js
6986
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/errors.js
6986
6987
  var overrideErrorMap = en_default;
6987
6988
  function setErrorMap(map) {
6988
6989
  overrideErrorMap = map;
@@ -6990,7 +6991,7 @@ function setErrorMap(map) {
6990
6991
  function getErrorMap() {
6991
6992
  return overrideErrorMap;
6992
6993
  }
6993
- // node_modules/zod/v3/helpers/parseUtil.js
6994
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
6994
6995
  var makeIssue = (params) => {
6995
6996
  const { data, path, errorMaps, issueData } = params;
6996
6997
  const fullPath = [...path, ...issueData.path || []];
@@ -7096,14 +7097,14 @@ var isAborted = (x) => x.status === "aborted";
7096
7097
  var isDirty = (x) => x.status === "dirty";
7097
7098
  var isValid = (x) => x.status === "valid";
7098
7099
  var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
7099
- // node_modules/zod/v3/helpers/errorUtil.js
7100
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
7100
7101
  var errorUtil;
7101
7102
  (function(errorUtil2) {
7102
7103
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
7103
7104
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
7104
7105
  })(errorUtil || (errorUtil = {}));
7105
7106
 
7106
- // node_modules/zod/v3/types.js
7107
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v3/types.js
7107
7108
  class ParseInputLazyPath {
7108
7109
  constructor(parent, value, path, key) {
7109
7110
  this._cachedPath = [];
@@ -10490,7 +10491,7 @@ var coerce = {
10490
10491
  date: (arg) => ZodDate.create({ ...arg, coerce: true })
10491
10492
  };
10492
10493
  var NEVER = INVALID;
10493
- // node_modules/zod/v4/core/core.js
10494
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/core.js
10494
10495
  var NEVER2 = Object.freeze({
10495
10496
  status: "aborted"
10496
10497
  });
@@ -10550,7 +10551,7 @@ function config(newConfig) {
10550
10551
  Object.assign(globalConfig, newConfig);
10551
10552
  return globalConfig;
10552
10553
  }
10553
- // node_modules/zod/v4/core/util.js
10554
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
10554
10555
  var exports_util = {};
10555
10556
  __export(exports_util, {
10556
10557
  unwrapMessage: () => unwrapMessage,
@@ -11064,7 +11065,7 @@ class Class {
11064
11065
  constructor(..._args) {}
11065
11066
  }
11066
11067
 
11067
- // node_modules/zod/v4/core/errors.js
11068
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/errors.js
11068
11069
  var initializer = (inst, def) => {
11069
11070
  inst.name = "$ZodError";
11070
11071
  Object.defineProperty(inst, "_zod", {
@@ -11138,7 +11139,7 @@ function formatError(error, _mapper) {
11138
11139
  return fieldErrors;
11139
11140
  }
11140
11141
 
11141
- // node_modules/zod/v4/core/parse.js
11142
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/parse.js
11142
11143
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
11143
11144
  const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
11144
11145
  const result = schema._zod.run({ value, issues: [] }, ctx);
@@ -11189,7 +11190,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
11189
11190
  } : { success: true, data: result.value };
11190
11191
  };
11191
11192
  var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
11192
- // node_modules/zod/v4/core/regexes.js
11193
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/regexes.js
11193
11194
  var cuid = /^[cC][^\s-]{8,}$/;
11194
11195
  var cuid2 = /^[0-9a-z]+$/;
11195
11196
  var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
@@ -11247,7 +11248,7 @@ var _null = /null/i;
11247
11248
  var lowercase = /^[^A-Z]*$/;
11248
11249
  var uppercase = /^[^a-z]*$/;
11249
11250
 
11250
- // node_modules/zod/v4/core/checks.js
11251
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/checks.js
11251
11252
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
11252
11253
  var _a;
11253
11254
  inst._zod ?? (inst._zod = {});
@@ -11631,7 +11632,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
11631
11632
  };
11632
11633
  });
11633
11634
 
11634
- // node_modules/zod/v4/core/doc.js
11635
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/doc.js
11635
11636
  class Doc {
11636
11637
  constructor(args = []) {
11637
11638
  this.content = [];
@@ -11669,14 +11670,14 @@ class Doc {
11669
11670
  }
11670
11671
  }
11671
11672
 
11672
- // node_modules/zod/v4/core/versions.js
11673
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/versions.js
11673
11674
  var version = {
11674
11675
  major: 4,
11675
11676
  minor: 0,
11676
11677
  patch: 0
11677
11678
  };
11678
11679
 
11679
- // node_modules/zod/v4/core/schemas.js
11680
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/schemas.js
11680
11681
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
11681
11682
  var _a;
11682
11683
  inst ?? (inst = {});
@@ -12907,7 +12908,7 @@ function handleRefineResult(result, payload, input, inst) {
12907
12908
  payload.issues.push(issue(_iss));
12908
12909
  }
12909
12910
  }
12910
- // node_modules/zod/v4/locales/en.js
12911
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/en.js
12911
12912
  var parsedType = (data) => {
12912
12913
  const t = typeof data;
12913
12914
  switch (t) {
@@ -13024,7 +13025,7 @@ function en_default2() {
13024
13025
  localeError: error()
13025
13026
  };
13026
13027
  }
13027
- // node_modules/zod/v4/core/registries.js
13028
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/registries.js
13028
13029
  var $output = Symbol("ZodOutput");
13029
13030
  var $input = Symbol("ZodInput");
13030
13031
 
@@ -13074,7 +13075,7 @@ function registry() {
13074
13075
  return new $ZodRegistry;
13075
13076
  }
13076
13077
  var globalRegistry = /* @__PURE__ */ registry();
13077
- // node_modules/zod/v4/core/api.js
13078
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/api.js
13078
13079
  function _string(Class2, params) {
13079
13080
  return new Class2({
13080
13081
  type: "string",
@@ -13509,7 +13510,7 @@ function _refine(Class2, fn, _params) {
13509
13510
  });
13510
13511
  return schema;
13511
13512
  }
13512
- // node_modules/zod/v4/core/to-json-schema.js
13513
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js
13513
13514
  class JSONSchemaGenerator {
13514
13515
  constructor(params) {
13515
13516
  this.counter = 0;
@@ -14261,7 +14262,7 @@ function isTransforming(_schema, _ctx) {
14261
14262
  }
14262
14263
  throw new Error(`Unknown schema type: ${def.type}`);
14263
14264
  }
14264
- // node_modules/zod/v4/mini/schemas.js
14265
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/mini/schemas.js
14265
14266
  var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
14266
14267
  if (!inst._zod)
14267
14268
  throw new Error("Uninitialized schema in ZodMiniType.");
@@ -14303,7 +14304,7 @@ function object(shape, params) {
14303
14304
  };
14304
14305
  return new ZodMiniObject(def);
14305
14306
  }
14306
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
14307
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
14307
14308
  function isZ4Schema(s) {
14308
14309
  const schema = s;
14309
14310
  return !!schema._zod;
@@ -14446,7 +14447,7 @@ function getLiteralValue(schema) {
14446
14447
  return directValue;
14447
14448
  return;
14448
14449
  }
14449
- // node_modules/zod/v4/classic/iso.js
14450
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
14450
14451
  var exports_iso2 = {};
14451
14452
  __export(exports_iso2, {
14452
14453
  time: () => time2,
@@ -14487,7 +14488,7 @@ function duration2(params) {
14487
14488
  return _isoDuration(ZodISODuration, params);
14488
14489
  }
14489
14490
 
14490
- // node_modules/zod/v4/classic/errors.js
14491
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/errors.js
14491
14492
  var initializer2 = (inst, issues) => {
14492
14493
  $ZodError.init(inst, issues);
14493
14494
  inst.name = "ZodError";
@@ -14516,13 +14517,13 @@ var ZodRealError = $constructor("ZodError", initializer2, {
14516
14517
  Parent: Error
14517
14518
  });
14518
14519
 
14519
- // node_modules/zod/v4/classic/parse.js
14520
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/parse.js
14520
14521
  var parse4 = /* @__PURE__ */ _parse(ZodRealError);
14521
14522
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
14522
14523
  var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
14523
14524
  var safeParseAsync3 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
14524
14525
 
14525
- // node_modules/zod/v4/classic/schemas.js
14526
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
14526
14527
  var ZodType2 = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
14527
14528
  $ZodType.init(inst, def);
14528
14529
  inst.def = def;
@@ -15127,10 +15128,10 @@ function superRefine(fn) {
15127
15128
  function preprocess(fn, schema) {
15128
15129
  return pipe(transform(fn), schema);
15129
15130
  }
15130
- // node_modules/zod/v4/classic/external.js
15131
+ // node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
15131
15132
  config(en_default2());
15132
15133
 
15133
- // node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
15134
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
15134
15135
  var LATEST_PROTOCOL_VERSION = "2025-11-25";
15135
15136
  var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
15136
15137
  var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
@@ -15972,12 +15973,12 @@ class UrlElicitationRequiredError extends McpError {
15972
15973
  }
15973
15974
  }
15974
15975
 
15975
- // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
15976
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
15976
15977
  function isTerminal(status) {
15977
15978
  return status === "completed" || status === "failed" || status === "cancelled";
15978
15979
  }
15979
15980
 
15980
- // node_modules/zod-to-json-schema/dist/esm/Options.js
15981
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Options.js
15981
15982
  var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
15982
15983
  var defaultOptions = {
15983
15984
  name: undefined,
@@ -16010,7 +16011,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
16010
16011
  ...defaultOptions,
16011
16012
  ...options
16012
16013
  };
16013
- // node_modules/zod-to-json-schema/dist/esm/Refs.js
16014
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/Refs.js
16014
16015
  var getRefs = (options) => {
16015
16016
  const _options = getDefaultOptions(options);
16016
16017
  const currentPath = _options.name !== undefined ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
@@ -16029,7 +16030,7 @@ var getRefs = (options) => {
16029
16030
  ]))
16030
16031
  };
16031
16032
  };
16032
- // node_modules/zod-to-json-schema/dist/esm/errorMessages.js
16033
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
16033
16034
  function addErrorMessage(res, key, errorMessage, refs) {
16034
16035
  if (!refs?.errorMessages)
16035
16036
  return;
@@ -16044,7 +16045,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
16044
16045
  res[key] = value;
16045
16046
  addErrorMessage(res, key, errorMessage, refs);
16046
16047
  }
16047
- // node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
16048
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
16048
16049
  var getRelativePath = (pathA, pathB) => {
16049
16050
  let i = 0;
16050
16051
  for (;i < pathA.length && i < pathB.length; i++) {
@@ -16053,7 +16054,7 @@ var getRelativePath = (pathA, pathB) => {
16053
16054
  }
16054
16055
  return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
16055
16056
  };
16056
- // node_modules/zod-to-json-schema/dist/esm/parsers/any.js
16057
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
16057
16058
  function parseAnyDef(refs) {
16058
16059
  if (refs.target !== "openAi") {
16059
16060
  return {};
@@ -16069,7 +16070,7 @@ function parseAnyDef(refs) {
16069
16070
  };
16070
16071
  }
16071
16072
 
16072
- // node_modules/zod-to-json-schema/dist/esm/parsers/array.js
16073
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
16073
16074
  function parseArrayDef(def, refs) {
16074
16075
  const res = {
16075
16076
  type: "array"
@@ -16093,7 +16094,7 @@ function parseArrayDef(def, refs) {
16093
16094
  return res;
16094
16095
  }
16095
16096
 
16096
- // node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
16097
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
16097
16098
  function parseBigintDef(def, refs) {
16098
16099
  const res = {
16099
16100
  type: "integer",
@@ -16139,24 +16140,24 @@ function parseBigintDef(def, refs) {
16139
16140
  return res;
16140
16141
  }
16141
16142
 
16142
- // node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
16143
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
16143
16144
  function parseBooleanDef() {
16144
16145
  return {
16145
16146
  type: "boolean"
16146
16147
  };
16147
16148
  }
16148
16149
 
16149
- // node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
16150
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
16150
16151
  function parseBrandedDef(_def, refs) {
16151
16152
  return parseDef(_def.type._def, refs);
16152
16153
  }
16153
16154
 
16154
- // node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
16155
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
16155
16156
  var parseCatchDef = (def, refs) => {
16156
16157
  return parseDef(def.innerType._def, refs);
16157
16158
  };
16158
16159
 
16159
- // node_modules/zod-to-json-schema/dist/esm/parsers/date.js
16160
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
16160
16161
  function parseDateDef(def, refs, overrideDateStrategy) {
16161
16162
  const strategy = overrideDateStrategy ?? refs.dateStrategy;
16162
16163
  if (Array.isArray(strategy)) {
@@ -16201,7 +16202,7 @@ var integerDateParser = (def, refs) => {
16201
16202
  return res;
16202
16203
  };
16203
16204
 
16204
- // node_modules/zod-to-json-schema/dist/esm/parsers/default.js
16205
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
16205
16206
  function parseDefaultDef(_def, refs) {
16206
16207
  return {
16207
16208
  ...parseDef(_def.innerType._def, refs),
@@ -16209,12 +16210,12 @@ function parseDefaultDef(_def, refs) {
16209
16210
  };
16210
16211
  }
16211
16212
 
16212
- // node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
16213
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
16213
16214
  function parseEffectsDef(_def, refs) {
16214
16215
  return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
16215
16216
  }
16216
16217
 
16217
- // node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
16218
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
16218
16219
  function parseEnumDef(def) {
16219
16220
  return {
16220
16221
  type: "string",
@@ -16222,7 +16223,7 @@ function parseEnumDef(def) {
16222
16223
  };
16223
16224
  }
16224
16225
 
16225
- // node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
16226
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
16226
16227
  var isJsonSchema7AllOfType = (type) => {
16227
16228
  if ("type" in type && type.type === "string")
16228
16229
  return false;
@@ -16264,7 +16265,7 @@ function parseIntersectionDef(def, refs) {
16264
16265
  } : undefined;
16265
16266
  }
16266
16267
 
16267
- // node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
16268
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
16268
16269
  function parseLiteralDef(def, refs) {
16269
16270
  const parsedType2 = typeof def.value;
16270
16271
  if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") {
@@ -16284,7 +16285,7 @@ function parseLiteralDef(def, refs) {
16284
16285
  };
16285
16286
  }
16286
16287
 
16287
- // node_modules/zod-to-json-schema/dist/esm/parsers/string.js
16288
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
16288
16289
  var emojiRegex2 = undefined;
16289
16290
  var zodPatterns = {
16290
16291
  cuid: /^[cC][^\s-]{8,}$/,
@@ -16581,7 +16582,7 @@ function stringifyRegExpWithFlags(regex, refs) {
16581
16582
  return pattern;
16582
16583
  }
16583
16584
 
16584
- // node_modules/zod-to-json-schema/dist/esm/parsers/record.js
16585
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
16585
16586
  function parseRecordDef(def, refs) {
16586
16587
  if (refs.target === "openAi") {
16587
16588
  console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
@@ -16633,7 +16634,7 @@ function parseRecordDef(def, refs) {
16633
16634
  return schema;
16634
16635
  }
16635
16636
 
16636
- // node_modules/zod-to-json-schema/dist/esm/parsers/map.js
16637
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
16637
16638
  function parseMapDef(def, refs) {
16638
16639
  if (refs.mapStrategy === "record") {
16639
16640
  return parseRecordDef(def, refs);
@@ -16658,7 +16659,7 @@ function parseMapDef(def, refs) {
16658
16659
  };
16659
16660
  }
16660
16661
 
16661
- // node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
16662
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
16662
16663
  function parseNativeEnumDef(def) {
16663
16664
  const object3 = def.values;
16664
16665
  const actualKeys = Object.keys(def.values).filter((key) => {
@@ -16672,7 +16673,7 @@ function parseNativeEnumDef(def) {
16672
16673
  };
16673
16674
  }
16674
16675
 
16675
- // node_modules/zod-to-json-schema/dist/esm/parsers/never.js
16676
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
16676
16677
  function parseNeverDef(refs) {
16677
16678
  return refs.target === "openAi" ? undefined : {
16678
16679
  not: parseAnyDef({
@@ -16682,7 +16683,7 @@ function parseNeverDef(refs) {
16682
16683
  };
16683
16684
  }
16684
16685
 
16685
- // node_modules/zod-to-json-schema/dist/esm/parsers/null.js
16686
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/null.js
16686
16687
  function parseNullDef(refs) {
16687
16688
  return refs.target === "openApi3" ? {
16688
16689
  enum: ["null"],
@@ -16692,7 +16693,7 @@ function parseNullDef(refs) {
16692
16693
  };
16693
16694
  }
16694
16695
 
16695
- // node_modules/zod-to-json-schema/dist/esm/parsers/union.js
16696
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
16696
16697
  var primitiveMappings = {
16697
16698
  ZodString: "string",
16698
16699
  ZodNumber: "number",
@@ -16760,7 +16761,7 @@ var asAnyOf = (def, refs) => {
16760
16761
  return anyOf.length ? { anyOf } : undefined;
16761
16762
  };
16762
16763
 
16763
- // node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
16764
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
16764
16765
  function parseNullableDef(def, refs) {
16765
16766
  if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
16766
16767
  if (refs.target === "openApi3") {
@@ -16792,7 +16793,7 @@ function parseNullableDef(def, refs) {
16792
16793
  return base && { anyOf: [base, { type: "null" }] };
16793
16794
  }
16794
16795
 
16795
- // node_modules/zod-to-json-schema/dist/esm/parsers/number.js
16796
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
16796
16797
  function parseNumberDef(def, refs) {
16797
16798
  const res = {
16798
16799
  type: "number"
@@ -16841,7 +16842,7 @@ function parseNumberDef(def, refs) {
16841
16842
  return res;
16842
16843
  }
16843
16844
 
16844
- // node_modules/zod-to-json-schema/dist/esm/parsers/object.js
16845
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
16845
16846
  function parseObjectDef(def, refs) {
16846
16847
  const forceOptionalIntoNullable = refs.target === "openAi";
16847
16848
  const result = {
@@ -16911,7 +16912,7 @@ function safeIsOptional(schema) {
16911
16912
  }
16912
16913
  }
16913
16914
 
16914
- // node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
16915
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
16915
16916
  var parseOptionalDef = (def, refs) => {
16916
16917
  if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
16917
16918
  return parseDef(def.innerType._def, refs);
@@ -16930,7 +16931,7 @@ var parseOptionalDef = (def, refs) => {
16930
16931
  } : parseAnyDef(refs);
16931
16932
  };
16932
16933
 
16933
- // node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
16934
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
16934
16935
  var parsePipelineDef = (def, refs) => {
16935
16936
  if (refs.pipeStrategy === "input") {
16936
16937
  return parseDef(def.in._def, refs);
@@ -16950,12 +16951,12 @@ var parsePipelineDef = (def, refs) => {
16950
16951
  };
16951
16952
  };
16952
16953
 
16953
- // node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
16954
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
16954
16955
  function parsePromiseDef(def, refs) {
16955
16956
  return parseDef(def.type._def, refs);
16956
16957
  }
16957
16958
 
16958
- // node_modules/zod-to-json-schema/dist/esm/parsers/set.js
16959
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
16959
16960
  function parseSetDef(def, refs) {
16960
16961
  const items = parseDef(def.valueType._def, {
16961
16962
  ...refs,
@@ -16975,7 +16976,7 @@ function parseSetDef(def, refs) {
16975
16976
  return schema;
16976
16977
  }
16977
16978
 
16978
- // node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
16979
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
16979
16980
  function parseTupleDef(def, refs) {
16980
16981
  if (def.rest) {
16981
16982
  return {
@@ -17003,24 +17004,24 @@ function parseTupleDef(def, refs) {
17003
17004
  }
17004
17005
  }
17005
17006
 
17006
- // node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
17007
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
17007
17008
  function parseUndefinedDef(refs) {
17008
17009
  return {
17009
17010
  not: parseAnyDef(refs)
17010
17011
  };
17011
17012
  }
17012
17013
 
17013
- // node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
17014
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
17014
17015
  function parseUnknownDef(refs) {
17015
17016
  return parseAnyDef(refs);
17016
17017
  }
17017
17018
 
17018
- // node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
17019
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
17019
17020
  var parseReadonlyDef = (def, refs) => {
17020
17021
  return parseDef(def.innerType._def, refs);
17021
17022
  };
17022
17023
 
17023
- // node_modules/zod-to-json-schema/dist/esm/selectParser.js
17024
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/selectParser.js
17024
17025
  var selectParser = (def, typeName, refs) => {
17025
17026
  switch (typeName) {
17026
17027
  case ZodFirstPartyTypeKind.ZodString:
@@ -17098,7 +17099,7 @@ var selectParser = (def, typeName, refs) => {
17098
17099
  }
17099
17100
  };
17100
17101
 
17101
- // node_modules/zod-to-json-schema/dist/esm/parseDef.js
17102
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/parseDef.js
17102
17103
  function parseDef(def, refs, forceResolution = false) {
17103
17104
  const seenItem = refs.seen.get(def);
17104
17105
  if (refs.override) {
@@ -17153,7 +17154,7 @@ var addMeta = (def, refs, jsonSchema) => {
17153
17154
  }
17154
17155
  return jsonSchema;
17155
17156
  };
17156
- // node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
17157
+ // node_modules/.bun/zod-to-json-schema@3.25.1+27912429049419a2/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
17157
17158
  var zodToJsonSchema = (schema, options) => {
17158
17159
  const refs = getRefs(options);
17159
17160
  let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
@@ -17213,7 +17214,7 @@ var zodToJsonSchema = (schema, options) => {
17213
17214
  }
17214
17215
  return combined;
17215
17216
  };
17216
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
17217
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
17217
17218
  function mapMiniTarget(t) {
17218
17219
  if (!t)
17219
17220
  return "draft-7";
@@ -17255,7 +17256,7 @@ function parseWithCompat(schema, data) {
17255
17256
  return result.data;
17256
17257
  }
17257
17258
 
17258
- // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
17259
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
17259
17260
  var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
17260
17261
 
17261
17262
  class Protocol {
@@ -18090,7 +18091,7 @@ function mergeCapabilities(base, additional) {
18090
18091
  return result;
18091
18092
  }
18092
18093
 
18093
- // node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
18094
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
18094
18095
  var import_ajv = __toESM(require_ajv(), 1);
18095
18096
  var import_ajv_formats = __toESM(require_dist(), 1);
18096
18097
  function createDefaultAjvInstance() {
@@ -18130,7 +18131,7 @@ class AjvJsonSchemaValidator {
18130
18131
  }
18131
18132
  }
18132
18133
 
18133
- // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
18134
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
18134
18135
  class ExperimentalServerTasks {
18135
18136
  constructor(_server) {
18136
18137
  this._server = _server;
@@ -18208,7 +18209,7 @@ class ExperimentalServerTasks {
18208
18209
  }
18209
18210
  }
18210
18211
 
18211
- // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
18212
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
18212
18213
  function assertToolsCallTaskCapability(requests, method, entityName) {
18213
18214
  if (!requests) {
18214
18215
  throw new Error(`${entityName} does not support task creation (required for ${method})`);
@@ -18243,7 +18244,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
18243
18244
  }
18244
18245
  }
18245
18246
 
18246
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
18247
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
18247
18248
  class Server extends Protocol {
18248
18249
  constructor(_serverInfo, options) {
18249
18250
  super(options);
@@ -18576,7 +18577,7 @@ class Server extends Protocol {
18576
18577
  }
18577
18578
  }
18578
18579
 
18579
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
18580
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
18580
18581
  var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
18581
18582
  function isCompletable(schema) {
18582
18583
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
@@ -18590,7 +18591,7 @@ var McpZodTypeKind;
18590
18591
  McpZodTypeKind2["Completable"] = "McpCompletable";
18591
18592
  })(McpZodTypeKind || (McpZodTypeKind = {}));
18592
18593
 
18593
- // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
18594
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
18594
18595
  var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
18595
18596
  function validateToolName(name) {
18596
18597
  const warnings = [];
@@ -18648,7 +18649,7 @@ function validateAndWarnToolName(name) {
18648
18649
  return result.isValid;
18649
18650
  }
18650
18651
 
18651
- // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
18652
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
18652
18653
  class ExperimentalMcpServerTasks {
18653
18654
  constructor(_mcpServer) {
18654
18655
  this._mcpServer = _mcpServer;
@@ -18662,7 +18663,7 @@ class ExperimentalMcpServerTasks {
18662
18663
  return mcpServerInternal._createRegisteredTool(name, config2.title, config2.description, config2.inputSchema, config2.outputSchema, config2.annotations, execution, config2._meta, handler);
18663
18664
  }
18664
18665
  }
18665
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
18666
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
18666
18667
  class McpServer {
18667
18668
  constructor(serverInfo, options) {
18668
18669
  this._registeredResources = {};
@@ -19382,10 +19383,10 @@ var EMPTY_COMPLETION_RESULT = {
19382
19383
  }
19383
19384
  };
19384
19385
 
19385
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
19386
- import process from "process";
19386
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
19387
+ import process2 from "process";
19387
19388
 
19388
- // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
19389
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
19389
19390
  class ReadBuffer {
19390
19391
  append(chunk) {
19391
19392
  this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
@@ -19415,9 +19416,9 @@ function serializeMessage(message) {
19415
19416
  `;
19416
19417
  }
19417
19418
 
19418
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
19419
+ // node_modules/.bun/@modelcontextprotocol+sdk@1.27.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
19419
19420
  class StdioServerTransport {
19420
- constructor(_stdin = process.stdin, _stdout = process.stdout) {
19421
+ constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
19421
19422
  this._stdin = _stdin;
19422
19423
  this._stdout = _stdout;
19423
19424
  this._readBuffer = new ReadBuffer;
@@ -19473,6 +19474,9 @@ class StdioServerTransport {
19473
19474
  }
19474
19475
  }
19475
19476
 
19477
+ // src/lib/installer.ts
19478
+ import { execFileSync, execSync } from "child_process";
19479
+
19476
19480
  // src/lib/registry.ts
19477
19481
  var MICROSERVICES = [
19478
19482
  {
@@ -19483,9 +19487,24 @@ var MICROSERVICES = [
19483
19487
  package: "@hasna/microservice-auth",
19484
19488
  binary: "microservice-auth",
19485
19489
  schemaPrefix: "auth",
19486
- tags: ["auth", "users", "sessions", "jwt", "oauth", "2fa", "api-keys", "magic-links"],
19490
+ tags: [
19491
+ "auth",
19492
+ "users",
19493
+ "sessions",
19494
+ "jwt",
19495
+ "oauth",
19496
+ "2fa",
19497
+ "api-keys",
19498
+ "magic-links"
19499
+ ],
19487
19500
  requiredEnv: ["DATABASE_URL", "JWT_SECRET"],
19488
- optionalEnv: ["GITHUB_CLIENT_ID", "GITHUB_CLIENT_SECRET", "GOOGLE_CLIENT_ID", "GOOGLE_CLIENT_SECRET", "AUTH_PORT"]
19501
+ optionalEnv: [
19502
+ "GITHUB_CLIENT_ID",
19503
+ "GITHUB_CLIENT_SECRET",
19504
+ "GOOGLE_CLIENT_ID",
19505
+ "GOOGLE_CLIENT_SECRET",
19506
+ "AUTH_PORT"
19507
+ ]
19489
19508
  },
19490
19509
  {
19491
19510
  name: "teams",
@@ -19495,7 +19514,14 @@ var MICROSERVICES = [
19495
19514
  package: "@hasna/microservice-teams",
19496
19515
  binary: "microservice-teams",
19497
19516
  schemaPrefix: "teams",
19498
- tags: ["teams", "workspaces", "rbac", "invites", "permissions", "multi-tenancy"],
19517
+ tags: [
19518
+ "teams",
19519
+ "workspaces",
19520
+ "rbac",
19521
+ "invites",
19522
+ "permissions",
19523
+ "multi-tenancy"
19524
+ ],
19499
19525
  requiredEnv: ["DATABASE_URL"],
19500
19526
  optionalEnv: ["TEAMS_PORT"]
19501
19527
  },
@@ -19507,7 +19533,15 @@ var MICROSERVICES = [
19507
19533
  package: "@hasna/microservice-billing",
19508
19534
  binary: "microservice-billing",
19509
19535
  schemaPrefix: "billing",
19510
- tags: ["billing", "stripe", "subscriptions", "plans", "invoices", "usage", "webhooks"],
19536
+ tags: [
19537
+ "billing",
19538
+ "stripe",
19539
+ "subscriptions",
19540
+ "plans",
19541
+ "invoices",
19542
+ "usage",
19543
+ "webhooks"
19544
+ ],
19511
19545
  requiredEnv: ["DATABASE_URL", "STRIPE_SECRET_KEY", "STRIPE_WEBHOOK_SECRET"],
19512
19546
  optionalEnv: ["BILLING_PORT"]
19513
19547
  },
@@ -19519,9 +19553,26 @@ var MICROSERVICES = [
19519
19553
  package: "@hasna/microservice-notify",
19520
19554
  binary: "microservice-notify",
19521
19555
  schemaPrefix: "notify",
19522
- tags: ["notifications", "email", "sms", "in-app", "webhooks", "templates", "sse"],
19556
+ tags: [
19557
+ "notifications",
19558
+ "email",
19559
+ "sms",
19560
+ "in-app",
19561
+ "webhooks",
19562
+ "templates",
19563
+ "sse"
19564
+ ],
19523
19565
  requiredEnv: ["DATABASE_URL"],
19524
- optionalEnv: ["RESEND_API_KEY", "SMTP_HOST", "SMTP_PORT", "SMTP_USER", "SMTP_PASS", "TWILIO_ACCOUNT_SID", "TWILIO_AUTH_TOKEN", "NOTIFY_PORT"]
19566
+ optionalEnv: [
19567
+ "RESEND_API_KEY",
19568
+ "SMTP_HOST",
19569
+ "SMTP_PORT",
19570
+ "SMTP_USER",
19571
+ "SMTP_PASS",
19572
+ "TWILIO_ACCOUNT_SID",
19573
+ "TWILIO_AUTH_TOKEN",
19574
+ "NOTIFY_PORT"
19575
+ ]
19525
19576
  },
19526
19577
  {
19527
19578
  name: "files",
@@ -19531,9 +19582,24 @@ var MICROSERVICES = [
19531
19582
  package: "@hasna/microservice-files",
19532
19583
  binary: "microservice-files",
19533
19584
  schemaPrefix: "files",
19534
- tags: ["files", "uploads", "s3", "storage", "images", "presigned-urls", "cdn"],
19585
+ tags: [
19586
+ "files",
19587
+ "uploads",
19588
+ "s3",
19589
+ "storage",
19590
+ "images",
19591
+ "presigned-urls",
19592
+ "cdn"
19593
+ ],
19535
19594
  requiredEnv: ["DATABASE_URL"],
19536
- optionalEnv: ["S3_BUCKET", "S3_REGION", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "FILES_STORAGE", "FILES_PORT"]
19595
+ optionalEnv: [
19596
+ "S3_BUCKET",
19597
+ "S3_REGION",
19598
+ "AWS_ACCESS_KEY_ID",
19599
+ "AWS_SECRET_ACCESS_KEY",
19600
+ "FILES_STORAGE",
19601
+ "FILES_PORT"
19602
+ ]
19537
19603
  },
19538
19604
  {
19539
19605
  name: "audit",
@@ -19555,7 +19621,13 @@ var MICROSERVICES = [
19555
19621
  package: "@hasna/microservice-flags",
19556
19622
  binary: "microservice-flags",
19557
19623
  schemaPrefix: "flags",
19558
- tags: ["feature-flags", "experiments", "rollouts", "ab-testing", "targeting"],
19624
+ tags: [
19625
+ "feature-flags",
19626
+ "experiments",
19627
+ "rollouts",
19628
+ "ab-testing",
19629
+ "targeting"
19630
+ ],
19559
19631
  requiredEnv: ["DATABASE_URL"],
19560
19632
  optionalEnv: ["FLAGS_PORT"]
19561
19633
  },
@@ -19567,7 +19639,15 @@ var MICROSERVICES = [
19567
19639
  package: "@hasna/microservice-jobs",
19568
19640
  binary: "microservice-jobs",
19569
19641
  schemaPrefix: "jobs",
19570
- tags: ["jobs", "queues", "background", "cron", "scheduling", "workers", "retry"],
19642
+ tags: [
19643
+ "jobs",
19644
+ "queues",
19645
+ "background",
19646
+ "cron",
19647
+ "scheduling",
19648
+ "workers",
19649
+ "retry"
19650
+ ],
19571
19651
  requiredEnv: ["DATABASE_URL"],
19572
19652
  optionalEnv: ["JOBS_PORT", "JOBS_WORKER_CONCURRENCY"]
19573
19653
  },
@@ -19579,9 +19659,23 @@ var MICROSERVICES = [
19579
19659
  package: "@hasna/microservice-llm",
19580
19660
  binary: "microservice-llm",
19581
19661
  schemaPrefix: "llm",
19582
- tags: ["llm", "openai", "anthropic", "groq", "ai", "gateway", "cost-tracking", "rate-limiting"],
19662
+ tags: [
19663
+ "llm",
19664
+ "openai",
19665
+ "anthropic",
19666
+ "groq",
19667
+ "ai",
19668
+ "gateway",
19669
+ "cost-tracking",
19670
+ "rate-limiting"
19671
+ ],
19583
19672
  requiredEnv: ["DATABASE_URL"],
19584
- optionalEnv: ["OPENAI_API_KEY", "ANTHROPIC_API_KEY", "GROQ_API_KEY", "LLM_PORT"]
19673
+ optionalEnv: [
19674
+ "OPENAI_API_KEY",
19675
+ "ANTHROPIC_API_KEY",
19676
+ "GROQ_API_KEY",
19677
+ "LLM_PORT"
19678
+ ]
19585
19679
  },
19586
19680
  {
19587
19681
  name: "memory",
@@ -19591,7 +19685,15 @@ var MICROSERVICES = [
19591
19685
  package: "@hasna/microservice-memory",
19592
19686
  binary: "microservice-memory",
19593
19687
  schemaPrefix: "memory",
19594
- tags: ["memory", "embeddings", "pgvector", "semantic-search", "rag", "ai-agents", "recall"],
19688
+ tags: [
19689
+ "memory",
19690
+ "embeddings",
19691
+ "pgvector",
19692
+ "semantic-search",
19693
+ "rag",
19694
+ "ai-agents",
19695
+ "recall"
19696
+ ],
19595
19697
  requiredEnv: ["DATABASE_URL"],
19596
19698
  optionalEnv: ["OPENAI_API_KEY", "MEMORY_PORT"]
19597
19699
  },
@@ -19603,7 +19705,15 @@ var MICROSERVICES = [
19603
19705
  package: "@hasna/microservice-search",
19604
19706
  binary: "microservice-search",
19605
19707
  schemaPrefix: "search",
19606
- tags: ["search", "full-text", "semantic", "vector", "pgvector", "hybrid", "rag"],
19708
+ tags: [
19709
+ "search",
19710
+ "full-text",
19711
+ "semantic",
19712
+ "vector",
19713
+ "pgvector",
19714
+ "hybrid",
19715
+ "rag"
19716
+ ],
19607
19717
  requiredEnv: ["DATABASE_URL"],
19608
19718
  optionalEnv: ["OPENAI_API_KEY", "SEARCH_PORT"]
19609
19719
  },
@@ -19615,7 +19725,15 @@ var MICROSERVICES = [
19615
19725
  package: "@hasna/microservice-knowledge",
19616
19726
  binary: "microservice-knowledge",
19617
19727
  schemaPrefix: "knowledge",
19618
- tags: ["knowledge", "rag", "chunking", "embeddings", "retrieval", "pgvector", "documents"],
19728
+ tags: [
19729
+ "knowledge",
19730
+ "rag",
19731
+ "chunking",
19732
+ "embeddings",
19733
+ "retrieval",
19734
+ "pgvector",
19735
+ "documents"
19736
+ ],
19619
19737
  requiredEnv: ["DATABASE_URL"],
19620
19738
  optionalEnv: ["OPENAI_API_KEY", "KNOWLEDGE_PORT"]
19621
19739
  },
@@ -19639,7 +19757,14 @@ var MICROSERVICES = [
19639
19757
  package: "@hasna/microservice-webhooks",
19640
19758
  binary: "microservice-webhooks",
19641
19759
  schemaPrefix: "webhooks",
19642
- tags: ["webhooks", "outbound", "delivery", "retry", "signing", "integrations"],
19760
+ tags: [
19761
+ "webhooks",
19762
+ "outbound",
19763
+ "delivery",
19764
+ "retry",
19765
+ "signing",
19766
+ "integrations"
19767
+ ],
19643
19768
  requiredEnv: ["DATABASE_URL"],
19644
19769
  optionalEnv: ["WEBHOOKS_PORT"]
19645
19770
  },
@@ -19675,7 +19800,14 @@ var MICROSERVICES = [
19675
19800
  package: "@hasna/microservice-sessions",
19676
19801
  binary: "microservice-sessions",
19677
19802
  schemaPrefix: "sessions",
19678
- tags: ["sessions", "conversations", "chat", "messages", "context-window", "history"],
19803
+ tags: [
19804
+ "sessions",
19805
+ "conversations",
19806
+ "chat",
19807
+ "messages",
19808
+ "context-window",
19809
+ "history"
19810
+ ],
19679
19811
  requiredEnv: ["DATABASE_URL"],
19680
19812
  optionalEnv: ["SESSIONS_PORT"]
19681
19813
  },
@@ -19687,22 +19819,18 @@ var MICROSERVICES = [
19687
19819
  package: "@hasna/microservice-guardrails",
19688
19820
  binary: "microservice-guardrails",
19689
19821
  schemaPrefix: "guardrails",
19690
- tags: ["guardrails", "safety", "pii", "injection", "toxicity", "moderation", "policy"],
19822
+ tags: [
19823
+ "guardrails",
19824
+ "safety",
19825
+ "pii",
19826
+ "injection",
19827
+ "toxicity",
19828
+ "moderation",
19829
+ "policy"
19830
+ ],
19691
19831
  requiredEnv: ["DATABASE_URL"],
19692
19832
  optionalEnv: ["GUARDRAILS_PORT"]
19693
19833
  },
19694
- {
19695
- name: "knowledge",
19696
- displayName: "Knowledge",
19697
- description: "RAG pipeline: document ingestion, chunking (fixed/paragraph/sentence/recursive), embedding via pgvector, retrieval with source attribution and scoring.",
19698
- category: "AI",
19699
- package: "@hasna/microservice-knowledge",
19700
- binary: "microservice-knowledge",
19701
- schemaPrefix: "knowledge",
19702
- tags: ["knowledge", "rag", "chunking", "ingestion", "retrieval", "documents", "pgvector"],
19703
- requiredEnv: ["DATABASE_URL"],
19704
- optionalEnv: ["OPENAI_API_KEY", "KNOWLEDGE_PORT"]
19705
- },
19706
19834
  {
19707
19835
  name: "traces",
19708
19836
  displayName: "Traces",
@@ -19711,7 +19839,15 @@ var MICROSERVICES = [
19711
19839
  package: "@hasna/microservice-traces",
19712
19840
  binary: "microservice-traces",
19713
19841
  schemaPrefix: "traces",
19714
- tags: ["traces", "tracing", "spans", "observability", "latency", "debugging", "agent-ops"],
19842
+ tags: [
19843
+ "traces",
19844
+ "tracing",
19845
+ "spans",
19846
+ "observability",
19847
+ "latency",
19848
+ "debugging",
19849
+ "agent-ops"
19850
+ ],
19715
19851
  requiredEnv: ["DATABASE_URL"],
19716
19852
  optionalEnv: ["TRACES_PORT"]
19717
19853
  },
@@ -19723,7 +19859,15 @@ var MICROSERVICES = [
19723
19859
  package: "@hasna/microservice-agents",
19724
19860
  binary: "microservice-agents",
19725
19861
  schemaPrefix: "agents",
19726
- tags: ["agents", "registry", "orchestration", "routing", "multi-agent", "capabilities", "heartbeat"],
19862
+ tags: [
19863
+ "agents",
19864
+ "registry",
19865
+ "orchestration",
19866
+ "routing",
19867
+ "multi-agent",
19868
+ "capabilities",
19869
+ "heartbeat"
19870
+ ],
19727
19871
  requiredEnv: ["DATABASE_URL"],
19728
19872
  optionalEnv: ["AGENTS_PORT"]
19729
19873
  },
@@ -19735,7 +19879,14 @@ var MICROSERVICES = [
19735
19879
  package: "@hasna/microservice-prompts",
19736
19880
  binary: "microservice-prompts",
19737
19881
  schemaPrefix: "prompts",
19738
- tags: ["prompts", "templates", "versioning", "ab-testing", "overrides", "rollback"],
19882
+ tags: [
19883
+ "prompts",
19884
+ "templates",
19885
+ "versioning",
19886
+ "ab-testing",
19887
+ "overrides",
19888
+ "rollback"
19889
+ ],
19739
19890
  requiredEnv: ["DATABASE_URL"],
19740
19891
  optionalEnv: ["PROMPTS_PORT"]
19741
19892
  }
@@ -19750,7 +19901,6 @@ function searchMicroservices(query) {
19750
19901
  }
19751
19902
 
19752
19903
  // src/lib/installer.ts
19753
- import { execSync, execFileSync } from "child_process";
19754
19904
  function microserviceExists(name) {
19755
19905
  const meta = getMicroservice(name);
19756
19906
  if (!meta)
@@ -19767,7 +19917,9 @@ function getMicroserviceVersion(name) {
19767
19917
  if (!meta)
19768
19918
  return null;
19769
19919
  try {
19770
- const out = execFileSync(meta.binary, ["--version"], { encoding: "utf8" }).trim();
19920
+ const out = execFileSync(meta.binary, ["--version"], {
19921
+ encoding: "utf8"
19922
+ }).trim();
19771
19923
  return out || null;
19772
19924
  } catch {
19773
19925
  return null;
@@ -19776,7 +19928,11 @@ function getMicroserviceVersion(name) {
19776
19928
  function installMicroservice(name, options = {}) {
19777
19929
  const meta = getMicroservice(name);
19778
19930
  if (!meta) {
19779
- return { microservice: name, success: false, error: `Unknown microservice '${name}'` };
19931
+ return {
19932
+ microservice: name,
19933
+ success: false,
19934
+ error: `Unknown microservice '${name}'`
19935
+ };
19780
19936
  }
19781
19937
  if (microserviceExists(name) && !options.force) {
19782
19938
  const version2 = getMicroserviceVersion(name);
@@ -19814,38 +19970,6 @@ function getMicroserviceStatus(name) {
19814
19970
  };
19815
19971
  }
19816
19972
 
19817
- // src/lib/runner.ts
19818
- import { execFile } from "child_process";
19819
- async function runMicroserviceCommand(name, args, timeout = 30000) {
19820
- const meta = getMicroservice(name);
19821
- if (!meta) {
19822
- return { success: false, stdout: "", stderr: `Unknown microservice '${name}'`, exitCode: 1 };
19823
- }
19824
- if (!microserviceExists(name)) {
19825
- return {
19826
- success: false,
19827
- stdout: "",
19828
- stderr: `microservice-${name} is not installed. Run: bun install -g ${meta.package}`,
19829
- exitCode: 1
19830
- };
19831
- }
19832
- return new Promise((resolve) => {
19833
- execFile(meta.binary, args, { timeout, maxBuffer: 10 * 1024 * 1024 }, (error2, stdout, stderr) => {
19834
- if (error2 && "killed" in error2 && error2.killed) {
19835
- resolve({ success: false, stdout: "", stderr: "Command timed out", exitCode: 1 });
19836
- return;
19837
- }
19838
- const exitCode = error2?.code ? typeof error2.code === "number" ? error2.code : 1 : 0;
19839
- resolve({
19840
- success: exitCode === 0,
19841
- stdout: (stdout || "").trim(),
19842
- stderr: (stderr || "").trim(),
19843
- exitCode
19844
- });
19845
- });
19846
- });
19847
- }
19848
-
19849
19973
  // src/lib/package-info.ts
19850
19974
  import { existsSync, readFileSync } from "fs";
19851
19975
  import { dirname, join, resolve } from "path";
@@ -19878,6 +20002,48 @@ function getPackageVersion(startDir) {
19878
20002
  return readPackageVersion(packageJsonPath);
19879
20003
  }
19880
20004
 
20005
+ // src/lib/runner.ts
20006
+ import { execFile } from "child_process";
20007
+ async function runMicroserviceCommand(name, args, timeout = 30000) {
20008
+ const meta = getMicroservice(name);
20009
+ if (!meta) {
20010
+ return {
20011
+ success: false,
20012
+ stdout: "",
20013
+ stderr: `Unknown microservice '${name}'`,
20014
+ exitCode: 1
20015
+ };
20016
+ }
20017
+ if (!microserviceExists(name)) {
20018
+ return {
20019
+ success: false,
20020
+ stdout: "",
20021
+ stderr: `microservice-${name} is not installed. Run: bun install -g ${meta.package}`,
20022
+ exitCode: 1
20023
+ };
20024
+ }
20025
+ return new Promise((resolve2) => {
20026
+ execFile(meta.binary, args, { timeout, maxBuffer: 10 * 1024 * 1024 }, (error2, stdout, stderr) => {
20027
+ if (error2 && "killed" in error2 && error2.killed) {
20028
+ resolve2({
20029
+ success: false,
20030
+ stdout: "",
20031
+ stderr: "Command timed out",
20032
+ exitCode: 1
20033
+ });
20034
+ return;
20035
+ }
20036
+ const exitCode = error2?.code ? typeof error2.code === "number" ? error2.code : 1 : 0;
20037
+ resolve2({
20038
+ success: exitCode === 0,
20039
+ stdout: (stdout || "").trim(),
20040
+ stderr: (stderr || "").trim(),
20041
+ exitCode
20042
+ });
20043
+ });
20044
+ });
20045
+ }
20046
+
19881
20047
  // src/mcp/index.ts
19882
20048
  var server = new McpServer({
19883
20049
  name: "microservices",
@@ -19885,24 +20051,26 @@ var server = new McpServer({
19885
20051
  });
19886
20052
  server.registerTool("list_microservices", {
19887
20053
  title: "List Microservices",
19888
- description: "List all available production microservices (auth, teams, billing, notify, files, audit, flags, jobs).",
20054
+ description: "List all 21 available production microservices (auth, teams, billing, llm, agents, memory, etc).",
19889
20055
  inputSchema: { installed_only: exports_external.boolean().optional() }
19890
20056
  }, async ({ installed_only }) => {
19891
20057
  const services = installed_only ? MICROSERVICES.filter((m) => microserviceExists(m.name)) : MICROSERVICES;
19892
20058
  return {
19893
- content: [{
19894
- type: "text",
19895
- text: JSON.stringify(services.map((m) => ({
19896
- name: m.name,
19897
- package: m.package,
19898
- binary: m.binary,
19899
- category: m.category,
19900
- description: m.description,
19901
- schemaPrefix: m.schemaPrefix,
19902
- installed: microserviceExists(m.name),
19903
- requiredEnv: m.requiredEnv
19904
- })), null, 2)
19905
- }]
20059
+ content: [
20060
+ {
20061
+ type: "text",
20062
+ text: JSON.stringify(services.map((m) => ({
20063
+ name: m.name,
20064
+ package: m.package,
20065
+ binary: m.binary,
20066
+ category: m.category,
20067
+ description: m.description,
20068
+ schemaPrefix: m.schemaPrefix,
20069
+ installed: microserviceExists(m.name),
20070
+ requiredEnv: m.requiredEnv
20071
+ })), null, 2)
20072
+ }
20073
+ ]
19906
20074
  };
19907
20075
  });
19908
20076
  server.registerTool("search_microservices", {
@@ -19912,16 +20080,18 @@ server.registerTool("search_microservices", {
19912
20080
  }, async ({ query }) => {
19913
20081
  const results = searchMicroservices(query);
19914
20082
  return {
19915
- content: [{
19916
- type: "text",
19917
- text: JSON.stringify(results.map((m) => ({
19918
- name: m.name,
19919
- package: m.package,
19920
- description: m.description,
19921
- category: m.category,
19922
- tags: m.tags
19923
- })), null, 2)
19924
- }]
20083
+ content: [
20084
+ {
20085
+ type: "text",
20086
+ text: JSON.stringify(results.map((m) => ({
20087
+ name: m.name,
20088
+ package: m.package,
20089
+ description: m.description,
20090
+ category: m.category,
20091
+ tags: m.tags
20092
+ })), null, 2)
20093
+ }
20094
+ ]
19925
20095
  };
19926
20096
  });
19927
20097
  server.registerTool("install_microservice", {
@@ -19931,10 +20101,12 @@ server.registerTool("install_microservice", {
19931
20101
  }, async ({ name, force }) => {
19932
20102
  const result = installMicroservice(name, { force });
19933
20103
  return {
19934
- content: [{
19935
- type: "text",
19936
- text: JSON.stringify(result, null, 2)
19937
- }]
20104
+ content: [
20105
+ {
20106
+ type: "text",
20107
+ text: JSON.stringify(result, null, 2)
20108
+ }
20109
+ ]
19938
20110
  };
19939
20111
  });
19940
20112
  server.registerTool("microservice_status", {
@@ -19944,7 +20116,12 @@ server.registerTool("microservice_status", {
19944
20116
  }, async ({ name }) => {
19945
20117
  if (name) {
19946
20118
  return {
19947
- content: [{ type: "text", text: JSON.stringify(getMicroserviceStatus(name), null, 2) }]
20119
+ content: [
20120
+ {
20121
+ type: "text",
20122
+ text: JSON.stringify(getMicroserviceStatus(name), null, 2)
20123
+ }
20124
+ ]
19948
20125
  };
19949
20126
  }
19950
20127
  const statuses = MICROSERVICES.map((m) => getMicroserviceStatus(m.name));
@@ -19962,17 +20139,279 @@ server.registerTool("run_microservice_command", {
19962
20139
  }, async ({ name, args }) => {
19963
20140
  const result = await runMicroserviceCommand(name, args);
19964
20141
  return {
19965
- content: [{
19966
- type: "text",
19967
- text: JSON.stringify({
19968
- success: result.success,
19969
- exitCode: result.exitCode,
19970
- stdout: result.stdout,
19971
- stderr: result.stderr
19972
- }, null, 2)
19973
- }]
20142
+ content: [
20143
+ {
20144
+ type: "text",
20145
+ text: JSON.stringify({
20146
+ success: result.success,
20147
+ exitCode: result.exitCode,
20148
+ stdout: result.stdout,
20149
+ stderr: result.stderr
20150
+ }, null, 2)
20151
+ }
20152
+ ]
19974
20153
  };
19975
20154
  });
20155
+ server.registerTool("check_env", {
20156
+ title: "Check Environment Variables",
20157
+ description: "Verify if all required and optional environment variables are set for installed microservices.",
20158
+ inputSchema: {}
20159
+ }, async () => {
20160
+ const installed = MICROSERVICES.filter((m) => microserviceExists(m.name));
20161
+ if (installed.length === 0) {
20162
+ return {
20163
+ content: [
20164
+ { type: "text", text: "No microservices installed to check." }
20165
+ ]
20166
+ };
20167
+ }
20168
+ const report = installed.map((m) => {
20169
+ const missingRequired = m.requiredEnv.filter((env) => !process.env[env]);
20170
+ const missingOptional = (m.optionalEnv ?? []).filter((env) => !process.env[env]);
20171
+ return {
20172
+ name: m.name,
20173
+ ok: missingRequired.length === 0,
20174
+ missing_required: missingRequired,
20175
+ missing_optional: missingOptional
20176
+ };
20177
+ });
20178
+ return {
20179
+ content: [
20180
+ {
20181
+ type: "text",
20182
+ text: JSON.stringify({
20183
+ summary: {
20184
+ installed: installed.length,
20185
+ total_missing_required: report.reduce((acc, r) => acc + r.missing_required.length, 0),
20186
+ all_ok: report.every((r) => r.ok)
20187
+ },
20188
+ services: report
20189
+ }, null, 2)
20190
+ }
20191
+ ]
20192
+ };
20193
+ });
20194
+ server.registerTool("scaffold_microservice", {
20195
+ title: "Scaffold Microservice",
20196
+ description: "Scaffold a new microservice from the _template directory.",
20197
+ inputSchema: {
20198
+ name: exports_external.string().describe("The name of the new microservice (lowercase, dashes only)")
20199
+ }
20200
+ }, async ({ name }) => {
20201
+ if (!/^[a-z0-9-]+$/.test(name)) {
20202
+ return {
20203
+ content: [
20204
+ {
20205
+ type: "text",
20206
+ text: JSON.stringify({
20207
+ success: false,
20208
+ error: "Name can only contain lowercase letters, numbers, and dashes."
20209
+ }, null, 2)
20210
+ }
20211
+ ]
20212
+ };
20213
+ }
20214
+ try {
20215
+ const fs = await import("fs");
20216
+ const path = await import("path");
20217
+ const cwd = process.cwd();
20218
+ const templateDir = path.join(cwd, "microservices", "_template");
20219
+ const targetDir = path.join(cwd, "microservices", `microservice-${name}`);
20220
+ if (!fs.existsSync(templateDir)) {
20221
+ return {
20222
+ content: [
20223
+ {
20224
+ type: "text",
20225
+ text: JSON.stringify({
20226
+ success: false,
20227
+ error: `Template directory not found at ${templateDir}.`
20228
+ }, null, 2)
20229
+ }
20230
+ ]
20231
+ };
20232
+ }
20233
+ if (fs.existsSync(targetDir)) {
20234
+ return {
20235
+ content: [
20236
+ {
20237
+ type: "text",
20238
+ text: JSON.stringify({
20239
+ success: false,
20240
+ error: `Target directory already exists at ${targetDir}`
20241
+ }, null, 2)
20242
+ }
20243
+ ]
20244
+ };
20245
+ }
20246
+ fs.cpSync(templateDir, targetDir, { recursive: true });
20247
+ const replaceInFile = (filePath) => {
20248
+ const content = fs.readFileSync(filePath, "utf-8");
20249
+ let updated = content.replace(/__NAME__/g, name.toUpperCase().replace(/-/g, "_"));
20250
+ updated = updated.replace(/__Name__/g, name.charAt(0).toUpperCase() + name.slice(1));
20251
+ updated = updated.replace(/__name__/g, name);
20252
+ fs.writeFileSync(filePath, updated, "utf-8");
20253
+ };
20254
+ const walkAndReplace = (dir) => {
20255
+ const files = fs.readdirSync(dir);
20256
+ for (const file of files) {
20257
+ const filePath = path.join(dir, file);
20258
+ if (fs.statSync(filePath).isDirectory()) {
20259
+ walkAndReplace(filePath);
20260
+ } else {
20261
+ replaceInFile(filePath);
20262
+ }
20263
+ }
20264
+ };
20265
+ walkAndReplace(targetDir);
20266
+ return {
20267
+ content: [
20268
+ {
20269
+ type: "text",
20270
+ text: JSON.stringify({
20271
+ success: true,
20272
+ message: `Created microservices/microservice-${name}`
20273
+ }, null, 2)
20274
+ }
20275
+ ]
20276
+ };
20277
+ } catch (err) {
20278
+ return {
20279
+ content: [
20280
+ {
20281
+ type: "text",
20282
+ text: JSON.stringify({ success: false, error: String(err) }, null, 2)
20283
+ }
20284
+ ]
20285
+ };
20286
+ }
20287
+ });
20288
+ server.registerTool("init_all_microservices", {
20289
+ title: "Init All Microservices",
20290
+ description: "Run migrations and confirm setup for all installed microservices.",
20291
+ inputSchema: { db: exports_external.string().describe("PostgreSQL connection URL") }
20292
+ }, async ({ db }) => {
20293
+ process.env.DATABASE_URL = db;
20294
+ const installed = MICROSERVICES.filter((m) => microserviceExists(m.name));
20295
+ if (installed.length === 0) {
20296
+ return {
20297
+ content: [
20298
+ { type: "text", text: "No microservices installed to init." }
20299
+ ]
20300
+ };
20301
+ }
20302
+ const results = [];
20303
+ let hasErrors = false;
20304
+ for (const m of installed) {
20305
+ const res = await runMicroserviceCommand(m.name, ["init", "--db", db]);
20306
+ results.push({
20307
+ name: m.name,
20308
+ success: res.success,
20309
+ output: res.stdout || res.stderr
20310
+ });
20311
+ if (!res.success)
20312
+ hasErrors = true;
20313
+ }
20314
+ return {
20315
+ content: [
20316
+ {
20317
+ type: "text",
20318
+ text: JSON.stringify({ success: !hasErrors, initialized: installed.length, results }, null, 2)
20319
+ }
20320
+ ]
20321
+ };
20322
+ });
20323
+ server.registerTool("migrate_all_microservices", {
20324
+ title: "Migrate All Microservices",
20325
+ description: "Run database migrations for all installed microservices.",
20326
+ inputSchema: {
20327
+ db: exports_external.string().optional().describe("PostgreSQL connection URL (overrides DATABASE_URL)")
20328
+ }
20329
+ }, async ({ db }) => {
20330
+ if (db)
20331
+ process.env.DATABASE_URL = db;
20332
+ const installed = MICROSERVICES.filter((m) => microserviceExists(m.name));
20333
+ if (installed.length === 0) {
20334
+ return {
20335
+ content: [
20336
+ { type: "text", text: "No microservices installed to migrate." }
20337
+ ]
20338
+ };
20339
+ }
20340
+ const results = [];
20341
+ let hasErrors = false;
20342
+ for (const m of installed) {
20343
+ const res = await runMicroserviceCommand(m.name, ["migrate"]);
20344
+ results.push({
20345
+ name: m.name,
20346
+ success: res.success,
20347
+ output: res.stdout || res.stderr
20348
+ });
20349
+ if (!res.success)
20350
+ hasErrors = true;
20351
+ }
20352
+ return {
20353
+ content: [
20354
+ {
20355
+ type: "text",
20356
+ text: JSON.stringify({ success: !hasErrors, migrated: installed.length, results }, null, 2)
20357
+ }
20358
+ ]
20359
+ };
20360
+ });
20361
+ server.registerTool("serve_all_microservices", {
20362
+ title: "Serve All Microservices",
20363
+ description: "Start HTTP servers for all installed microservices. NOTE: This will run them in the background. It is highly recommended to run this directly in your terminal if you need to view live logs.",
20364
+ inputSchema: {
20365
+ db: exports_external.string().optional().describe("PostgreSQL connection URL (overrides DATABASE_URL)")
20366
+ }
20367
+ }, async ({ db }) => {
20368
+ if (db)
20369
+ process.env.DATABASE_URL = db;
20370
+ const installed = MICROSERVICES.filter((m) => microserviceExists(m.name));
20371
+ if (installed.length === 0) {
20372
+ return {
20373
+ content: [
20374
+ { type: "text", text: "No microservices installed to serve." }
20375
+ ]
20376
+ };
20377
+ }
20378
+ try {
20379
+ const { spawn } = await import("child_process");
20380
+ const servicesStarted = [];
20381
+ for (let i = 0;i < installed.length; i++) {
20382
+ const m = installed[i];
20383
+ const proc = spawn(m.binary, ["serve"], {
20384
+ env: process.env,
20385
+ stdio: "ignore",
20386
+ detached: true
20387
+ });
20388
+ proc.unref();
20389
+ servicesStarted.push(m.name);
20390
+ }
20391
+ return {
20392
+ content: [
20393
+ {
20394
+ type: "text",
20395
+ text: JSON.stringify({
20396
+ success: true,
20397
+ started: servicesStarted.length,
20398
+ services: servicesStarted,
20399
+ note: "Processes have been detached and are running in the background."
20400
+ }, null, 2)
20401
+ }
20402
+ ]
20403
+ };
20404
+ } catch (err) {
20405
+ return {
20406
+ content: [
20407
+ {
20408
+ type: "text",
20409
+ text: JSON.stringify({ success: false, error: String(err) }, null, 2)
20410
+ }
20411
+ ]
20412
+ };
20413
+ }
20414
+ });
19976
20415
  server.registerTool("remove_microservice", {
19977
20416
  title: "Remove Microservice",
19978
20417
  description: "Uninstall a microservice global package.",
@@ -19980,7 +20419,9 @@ server.registerTool("remove_microservice", {
19980
20419
  }, async ({ name }) => {
19981
20420
  const ok = removeMicroservice(name);
19982
20421
  return {
19983
- content: [{ type: "text", text: JSON.stringify({ removed: ok, name }, null, 2) }]
20422
+ content: [
20423
+ { type: "text", text: JSON.stringify({ removed: ok, name }, null, 2) }
20424
+ ]
19984
20425
  };
19985
20426
  });
19986
20427
  server.registerTool("get_microservice_info", {
@@ -19990,12 +20431,16 @@ server.registerTool("get_microservice_info", {
19990
20431
  }, async ({ name }) => {
19991
20432
  const m = getMicroservice(name);
19992
20433
  if (!m)
19993
- return { content: [{ type: "text", text: `Unknown microservice: ${name}` }] };
20434
+ return {
20435
+ content: [{ type: "text", text: `Unknown microservice: ${name}` }]
20436
+ };
19994
20437
  return {
19995
- content: [{
19996
- type: "text",
19997
- text: JSON.stringify({ ...m, installed: microserviceExists(name) }, null, 2)
19998
- }]
20438
+ content: [
20439
+ {
20440
+ type: "text",
20441
+ text: JSON.stringify({ ...m, installed: microserviceExists(name) }, null, 2)
20442
+ }
20443
+ ]
19999
20444
  };
20000
20445
  });
20001
20446
  async function main() {