@weavelogic/knowledge-graph-agent 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1269) hide show
  1. package/README.md +339 -679
  2. package/dist/_virtual/ExpiringCache.js +5 -0
  3. package/dist/_virtual/ExpiringCache.js.map +1 -0
  4. package/dist/_virtual/___vite-browser-external.js +7 -0
  5. package/dist/_virtual/___vite-browser-external.js.map +1 -0
  6. package/dist/_virtual/__vite-browser-external.js +5 -0
  7. package/dist/_virtual/__vite-browser-external.js.map +1 -0
  8. package/dist/_virtual/_commonjs-dynamic-modules.js +7 -0
  9. package/dist/_virtual/_commonjs-dynamic-modules.js.map +1 -0
  10. package/dist/_virtual/_commonjsHelpers.js +27 -0
  11. package/dist/_virtual/_commonjsHelpers.js.map +1 -1
  12. package/dist/_virtual/assert-valid-pattern.js +5 -0
  13. package/dist/_virtual/assert-valid-pattern.js.map +1 -0
  14. package/dist/_virtual/ast-converter.js +5 -0
  15. package/dist/_virtual/ast-converter.js.map +1 -0
  16. package/dist/_virtual/ast-spec.js +5 -0
  17. package/dist/_virtual/ast-spec.js.map +1 -0
  18. package/dist/_virtual/ast.js +5 -0
  19. package/dist/_virtual/ast.js.map +1 -0
  20. package/dist/_virtual/brace-expressions.js +5 -0
  21. package/dist/_virtual/brace-expressions.js.map +1 -0
  22. package/dist/_virtual/browser.js +6 -0
  23. package/dist/_virtual/browser.js.map +1 -0
  24. package/dist/_virtual/browser2.js +5 -0
  25. package/dist/_virtual/browser2.js.map +1 -0
  26. package/dist/_virtual/candidateTSConfigRootDirs.js +5 -0
  27. package/dist/_virtual/candidateTSConfigRootDirs.js.map +1 -0
  28. package/dist/_virtual/check-modifiers.js +5 -0
  29. package/dist/_virtual/check-modifiers.js.map +1 -0
  30. package/dist/_virtual/clear-caches.js +5 -0
  31. package/dist/_virtual/clear-caches.js.map +1 -0
  32. package/dist/_virtual/compilerOptions.js +5 -0
  33. package/dist/_virtual/compilerOptions.js.map +1 -0
  34. package/dist/_virtual/convert-comments.js +5 -0
  35. package/dist/_virtual/convert-comments.js.map +1 -0
  36. package/dist/_virtual/convert.js +5 -0
  37. package/dist/_virtual/convert.js.map +1 -0
  38. package/dist/_virtual/createIsolatedProgram.js +5 -0
  39. package/dist/_virtual/createIsolatedProgram.js.map +1 -0
  40. package/dist/_virtual/createParseSettings.js +5 -0
  41. package/dist/_virtual/createParseSettings.js.map +1 -0
  42. package/dist/_virtual/createParserServices.js +5 -0
  43. package/dist/_virtual/createParserServices.js.map +1 -0
  44. package/dist/_virtual/createProjectProgram.js +5 -0
  45. package/dist/_virtual/createProjectProgram.js.map +1 -0
  46. package/dist/_virtual/createProjectProgramError.js +5 -0
  47. package/dist/_virtual/createProjectProgramError.js.map +1 -0
  48. package/dist/_virtual/createProjectService.js +5 -0
  49. package/dist/_virtual/createProjectService.js.map +1 -0
  50. package/dist/_virtual/createSourceFile.js +5 -0
  51. package/dist/_virtual/createSourceFile.js.map +1 -0
  52. package/dist/_virtual/describeFilePath.js +5 -0
  53. package/dist/_virtual/describeFilePath.js.map +1 -0
  54. package/dist/_virtual/escape.js +5 -0
  55. package/dist/_virtual/escape.js.map +1 -0
  56. package/dist/_virtual/eslint-visitor-keys.js +5 -0
  57. package/dist/_virtual/eslint-visitor-keys.js.map +1 -0
  58. package/dist/_virtual/estree-to-ts-node-types.js +5 -0
  59. package/dist/_virtual/estree-to-ts-node-types.js.map +1 -0
  60. package/dist/_virtual/get-keys.js +5 -0
  61. package/dist/_virtual/get-keys.js.map +1 -0
  62. package/dist/_virtual/getModifiers.js +5 -0
  63. package/dist/_virtual/getModifiers.js.map +1 -0
  64. package/dist/_virtual/getParsedConfigFile.js +5 -0
  65. package/dist/_virtual/getParsedConfigFile.js.map +1 -0
  66. package/dist/_virtual/getParsedConfigFileFromTSServer.js +5 -0
  67. package/dist/_virtual/getParsedConfigFileFromTSServer.js.map +1 -0
  68. package/dist/_virtual/getProjectConfigFiles.js +5 -0
  69. package/dist/_virtual/getProjectConfigFiles.js.map +1 -0
  70. package/dist/_virtual/getScriptKind.js +5 -0
  71. package/dist/_virtual/getScriptKind.js.map +1 -0
  72. package/dist/_virtual/getWatchProgramsForProjects.js +5 -0
  73. package/dist/_virtual/getWatchProgramsForProjects.js.map +1 -0
  74. package/dist/_virtual/global-ponyfill.js +9 -0
  75. package/dist/_virtual/global-ponyfill.js.map +1 -0
  76. package/dist/_virtual/global-ponyfill2.js +5 -0
  77. package/dist/_virtual/global-ponyfill2.js.map +1 -0
  78. package/dist/_virtual/index.js +2 -4
  79. package/dist/_virtual/index.js.map +1 -1
  80. package/dist/_virtual/index10.js +2 -2
  81. package/dist/_virtual/index11.js +2 -2
  82. package/dist/_virtual/index2.js +2 -2
  83. package/dist/_virtual/index3.js +2 -2
  84. package/dist/_virtual/index4.js +2 -2
  85. package/dist/_virtual/index5.js +2 -2
  86. package/dist/_virtual/index6.js +2 -2
  87. package/dist/_virtual/index7.js +2 -2
  88. package/dist/_virtual/index8.js +2 -2
  89. package/dist/_virtual/index9.js +2 -2
  90. package/dist/_virtual/inferSingleRun.js +5 -0
  91. package/dist/_virtual/inferSingleRun.js.map +1 -0
  92. package/dist/_virtual/lib.js +5 -0
  93. package/dist/_virtual/lib.js.map +1 -0
  94. package/dist/_virtual/node-utils.js +5 -0
  95. package/dist/_virtual/node-utils.js.map +1 -0
  96. package/dist/_virtual/parser-options.js +5 -0
  97. package/dist/_virtual/parser-options.js.map +1 -0
  98. package/dist/_virtual/parser.js +5 -0
  99. package/dist/_virtual/parser.js.map +1 -0
  100. package/dist/_virtual/re.js +5 -0
  101. package/dist/_virtual/re.js.map +1 -0
  102. package/dist/_virtual/resolveProjectList.js +5 -0
  103. package/dist/_virtual/resolveProjectList.js.map +1 -0
  104. package/dist/_virtual/semantic-or-syntactic-errors.js +5 -0
  105. package/dist/_virtual/semantic-or-syntactic-errors.js.map +1 -0
  106. package/dist/_virtual/shared.js +5 -0
  107. package/dist/_virtual/shared.js.map +1 -0
  108. package/dist/_virtual/simple-traverse.js +5 -0
  109. package/dist/_virtual/simple-traverse.js.map +1 -0
  110. package/dist/_virtual/source-files.js +5 -0
  111. package/dist/_virtual/source-files.js.map +1 -0
  112. package/dist/_virtual/ts-estree.js +5 -0
  113. package/dist/_virtual/ts-estree.js.map +1 -0
  114. package/dist/_virtual/ts-nodes.js +5 -0
  115. package/dist/_virtual/ts-nodes.js.map +1 -0
  116. package/dist/_virtual/tsserverlibrary.js +5 -0
  117. package/dist/_virtual/tsserverlibrary.js.map +1 -0
  118. package/dist/_virtual/typescript.js +5 -0
  119. package/dist/_virtual/typescript.js.map +1 -0
  120. package/dist/_virtual/unescape.js +5 -0
  121. package/dist/_virtual/unescape.js.map +1 -0
  122. package/dist/_virtual/useProgramFromProjectService.js +5 -0
  123. package/dist/_virtual/useProgramFromProjectService.js.map +1 -0
  124. package/dist/_virtual/useProvidedPrograms.js +5 -0
  125. package/dist/_virtual/useProvidedPrograms.js.map +1 -0
  126. package/dist/_virtual/utils.js +5 -0
  127. package/dist/_virtual/utils.js.map +1 -0
  128. package/dist/_virtual/validateDefaultProjectForFilesGlob.js +5 -0
  129. package/dist/_virtual/validateDefaultProjectForFilesGlob.js.map +1 -0
  130. package/dist/_virtual/version-check.js +5 -0
  131. package/dist/_virtual/version-check.js.map +1 -0
  132. package/dist/_virtual/version.js +5 -0
  133. package/dist/_virtual/version.js.map +1 -0
  134. package/dist/_virtual/visitor-keys.js +5 -0
  135. package/dist/_virtual/visitor-keys.js.map +1 -0
  136. package/dist/_virtual/warnAboutTSVersion.js +5 -0
  137. package/dist/_virtual/warnAboutTSVersion.js.map +1 -0
  138. package/dist/_virtual/withoutProjectParserOptions.js +5 -0
  139. package/dist/_virtual/withoutProjectParserOptions.js.map +1 -0
  140. package/dist/_virtual/xhtml-entities.js +5 -0
  141. package/dist/_virtual/xhtml-entities.js.map +1 -0
  142. package/dist/cli/commands/dashboard.d.ts +14 -0
  143. package/dist/cli/commands/dashboard.d.ts.map +1 -0
  144. package/dist/cli/commands/dashboard.js +271 -0
  145. package/dist/cli/commands/dashboard.js.map +1 -0
  146. package/dist/cli/commands/plugin.d.ts +14 -0
  147. package/dist/cli/commands/plugin.d.ts.map +1 -0
  148. package/dist/cli/commands/plugin.js +784 -0
  149. package/dist/cli/commands/plugin.js.map +1 -0
  150. package/dist/cli/commands/serve.d.ts +15 -0
  151. package/dist/cli/commands/serve.d.ts.map +1 -0
  152. package/dist/cli/commands/serve.js +252 -0
  153. package/dist/cli/commands/serve.js.map +1 -0
  154. package/dist/cli/index.d.ts.map +1 -1
  155. package/dist/cli/index.js +28 -1
  156. package/dist/cli/index.js.map +1 -1
  157. package/dist/config/manager.js +325 -0
  158. package/dist/config/manager.js.map +1 -0
  159. package/dist/dashboard-server/index.d.ts +31 -0
  160. package/dist/dashboard-server/index.d.ts.map +1 -0
  161. package/dist/dashboard-server/server.d.ts +205 -0
  162. package/dist/dashboard-server/server.d.ts.map +1 -0
  163. package/dist/dashboard-server/server.js +651 -0
  164. package/dist/dashboard-server/server.js.map +1 -0
  165. package/dist/graphql/context.d.ts +154 -0
  166. package/dist/graphql/context.d.ts.map +1 -0
  167. package/dist/graphql/context.js +168 -0
  168. package/dist/graphql/context.js.map +1 -0
  169. package/dist/graphql/index.d.ts +12 -0
  170. package/dist/graphql/index.d.ts.map +1 -0
  171. package/dist/graphql/pubsub.d.ts +282 -0
  172. package/dist/graphql/pubsub.d.ts.map +1 -0
  173. package/dist/graphql/resolvers/index.d.ts +519 -0
  174. package/dist/graphql/resolvers/index.d.ts.map +1 -0
  175. package/dist/graphql/resolvers/mutations.d.ts +255 -0
  176. package/dist/graphql/resolvers/mutations.d.ts.map +1 -0
  177. package/dist/graphql/resolvers/queries.d.ts +451 -0
  178. package/dist/graphql/resolvers/queries.d.ts.map +1 -0
  179. package/dist/graphql/resolvers/subscriptions.d.ts +399 -0
  180. package/dist/graphql/resolvers/subscriptions.d.ts.map +1 -0
  181. package/dist/graphql/scalars.d.ts +89 -0
  182. package/dist/graphql/scalars.d.ts.map +1 -0
  183. package/dist/graphql/scalars.js +242 -0
  184. package/dist/graphql/scalars.js.map +1 -0
  185. package/dist/graphql/server.d.ts +122 -0
  186. package/dist/graphql/server.d.ts.map +1 -0
  187. package/dist/graphql/server.js +368 -0
  188. package/dist/graphql/server.js.map +1 -0
  189. package/dist/index.d.ts +5 -0
  190. package/dist/index.d.ts.map +1 -1
  191. package/dist/index.js +106 -0
  192. package/dist/index.js.map +1 -1
  193. package/dist/mcp-server/handlers/index.js +1 -1
  194. package/dist/mcp-server/server.js +2 -2
  195. package/dist/node_modules/@envelop/core/esm/create.js +31 -0
  196. package/dist/node_modules/@envelop/core/esm/create.js.map +1 -0
  197. package/dist/node_modules/@envelop/core/esm/document-string-map.js +5 -0
  198. package/dist/node_modules/@envelop/core/esm/document-string-map.js.map +1 -0
  199. package/dist/node_modules/@envelop/core/esm/orchestrator.js +407 -0
  200. package/dist/node_modules/@envelop/core/esm/orchestrator.js.map +1 -0
  201. package/dist/node_modules/@envelop/core/esm/plugins/use-engine.js +29 -0
  202. package/dist/node_modules/@envelop/core/esm/plugins/use-engine.js.map +1 -0
  203. package/dist/node_modules/@envelop/core/esm/plugins/use-extend-context.js +10 -0
  204. package/dist/node_modules/@envelop/core/esm/plugins/use-extend-context.js.map +1 -0
  205. package/dist/node_modules/@envelop/core/esm/plugins/use-masked-errors.js +86 -0
  206. package/dist/node_modules/@envelop/core/esm/plugins/use-masked-errors.js.map +1 -0
  207. package/dist/node_modules/@envelop/core/esm/utils.js +129 -0
  208. package/dist/node_modules/@envelop/core/esm/utils.js.map +1 -0
  209. package/dist/node_modules/@envelop/instrumentation/esm/instrumentation.js +51 -0
  210. package/dist/node_modules/@envelop/instrumentation/esm/instrumentation.js.map +1 -0
  211. package/dist/node_modules/@graphql-tools/executor/esm/execution/coerceError.js +26 -0
  212. package/dist/node_modules/@graphql-tools/executor/esm/execution/coerceError.js.map +1 -0
  213. package/dist/node_modules/@graphql-tools/executor/esm/execution/execute.js +1101 -0
  214. package/dist/node_modules/@graphql-tools/executor/esm/execution/execute.js.map +1 -0
  215. package/dist/node_modules/@graphql-tools/executor/esm/execution/flattenAsyncIterable.js +72 -0
  216. package/dist/node_modules/@graphql-tools/executor/esm/execution/flattenAsyncIterable.js.map +1 -0
  217. package/dist/node_modules/@graphql-tools/executor/esm/execution/invariant.js +9 -0
  218. package/dist/node_modules/@graphql-tools/executor/esm/execution/invariant.js.map +1 -0
  219. package/dist/node_modules/@graphql-tools/executor/esm/execution/normalizedExecutor.js +22 -0
  220. package/dist/node_modules/@graphql-tools/executor/esm/execution/normalizedExecutor.js.map +1 -0
  221. package/dist/node_modules/@graphql-tools/executor/esm/execution/promiseForObject.js +26 -0
  222. package/dist/node_modules/@graphql-tools/executor/esm/execution/promiseForObject.js.map +1 -0
  223. package/dist/node_modules/@graphql-tools/executor/esm/execution/values.js +73 -0
  224. package/dist/node_modules/@graphql-tools/executor/esm/execution/values.js.map +1 -0
  225. package/dist/node_modules/@graphql-tools/merge/esm/extensions.js +46 -0
  226. package/dist/node_modules/@graphql-tools/merge/esm/extensions.js.map +1 -0
  227. package/dist/node_modules/@graphql-tools/merge/esm/links.js +142 -0
  228. package/dist/node_modules/@graphql-tools/merge/esm/links.js.map +1 -0
  229. package/dist/node_modules/@graphql-tools/merge/esm/merge-resolvers.js +27 -0
  230. package/dist/node_modules/@graphql-tools/merge/esm/merge-resolvers.js.map +1 -0
  231. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/arguments.js +23 -0
  232. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/arguments.js.map +1 -0
  233. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/directives.js +113 -0
  234. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/directives.js.map +1 -0
  235. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum-values.js +39 -0
  236. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum-values.js.map +1 -0
  237. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum.js +23 -0
  238. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/enum.js.map +1 -0
  239. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/fields.js +74 -0
  240. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/fields.js.map +1 -0
  241. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/input-type.js +27 -0
  242. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/input-type.js.map +1 -0
  243. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/interface.js +29 -0
  244. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/interface.js.map +1 -0
  245. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-named-type-array.js +15 -0
  246. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-named-type-array.js.map +1 -0
  247. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-nodes.js +81 -0
  248. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-nodes.js.map +1 -0
  249. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-typedefs.js +142 -0
  250. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/merge-typedefs.js.map +1 -0
  251. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/scalar.js +21 -0
  252. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/scalar.js.map +1 -0
  253. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/schema-def.js +36 -0
  254. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/schema-def.js.map +1 -0
  255. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/type.js +29 -0
  256. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/type.js.map +1 -0
  257. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/union.js +24 -0
  258. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/union.js.map +1 -0
  259. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/utils.js +67 -0
  260. package/dist/node_modules/@graphql-tools/merge/esm/typedefs-mergers/utils.js.map +1 -0
  261. package/dist/node_modules/@graphql-tools/schema/esm/addResolversToSchema.js +287 -0
  262. package/dist/node_modules/@graphql-tools/schema/esm/addResolversToSchema.js.map +1 -0
  263. package/dist/node_modules/@graphql-tools/schema/esm/assertResolversPresent.js +42 -0
  264. package/dist/node_modules/@graphql-tools/schema/esm/assertResolversPresent.js.map +1 -0
  265. package/dist/node_modules/@graphql-tools/schema/esm/checkForResolveTypeResolver.js +22 -0
  266. package/dist/node_modules/@graphql-tools/schema/esm/checkForResolveTypeResolver.js.map +1 -0
  267. package/dist/node_modules/@graphql-tools/schema/esm/extendResolversFromInterfaces.js +34 -0
  268. package/dist/node_modules/@graphql-tools/schema/esm/extendResolversFromInterfaces.js.map +1 -0
  269. package/dist/node_modules/@graphql-tools/schema/esm/makeExecutableSchema.js +50 -0
  270. package/dist/node_modules/@graphql-tools/schema/esm/makeExecutableSchema.js.map +1 -0
  271. package/dist/node_modules/@graphql-tools/utils/esm/AccumulatorMap.js +17 -0
  272. package/dist/node_modules/@graphql-tools/utils/esm/AccumulatorMap.js.map +1 -0
  273. package/dist/node_modules/@graphql-tools/utils/esm/Interfaces.js +32 -0
  274. package/dist/node_modules/@graphql-tools/utils/esm/Interfaces.js.map +1 -0
  275. package/dist/node_modules/@graphql-tools/utils/esm/Path.js +21 -0
  276. package/dist/node_modules/@graphql-tools/utils/esm/Path.js.map +1 -0
  277. package/dist/node_modules/@graphql-tools/utils/esm/astFromType.js +31 -0
  278. package/dist/node_modules/@graphql-tools/utils/esm/astFromType.js.map +1 -0
  279. package/dist/node_modules/@graphql-tools/utils/esm/astFromValue.js +70 -0
  280. package/dist/node_modules/@graphql-tools/utils/esm/astFromValue.js.map +1 -0
  281. package/dist/node_modules/@graphql-tools/utils/esm/astFromValueUntyped.js +56 -0
  282. package/dist/node_modules/@graphql-tools/utils/esm/astFromValueUntyped.js.map +1 -0
  283. package/dist/node_modules/@graphql-tools/utils/esm/collectFields.js +137 -0
  284. package/dist/node_modules/@graphql-tools/utils/esm/collectFields.js.map +1 -0
  285. package/dist/node_modules/@graphql-tools/utils/esm/comments.js +337 -0
  286. package/dist/node_modules/@graphql-tools/utils/esm/comments.js.map +1 -0
  287. package/dist/node_modules/@graphql-tools/utils/esm/descriptionFromObject.js +20 -0
  288. package/dist/node_modules/@graphql-tools/utils/esm/descriptionFromObject.js.map +1 -0
  289. package/dist/node_modules/@graphql-tools/utils/esm/directives.js +46 -0
  290. package/dist/node_modules/@graphql-tools/utils/esm/directives.js.map +1 -0
  291. package/dist/node_modules/@graphql-tools/utils/esm/errors.js +52 -0
  292. package/dist/node_modules/@graphql-tools/utils/esm/errors.js.map +1 -0
  293. package/dist/node_modules/@graphql-tools/utils/esm/forEachDefaultValue.js +28 -0
  294. package/dist/node_modules/@graphql-tools/utils/esm/forEachDefaultValue.js.map +1 -0
  295. package/dist/node_modules/@graphql-tools/utils/esm/forEachField.js +18 -0
  296. package/dist/node_modules/@graphql-tools/utils/esm/forEachField.js.map +1 -0
  297. package/dist/node_modules/@graphql-tools/utils/esm/get-directives.js +12 -0
  298. package/dist/node_modules/@graphql-tools/utils/esm/get-directives.js.map +1 -0
  299. package/dist/node_modules/@graphql-tools/utils/esm/getArgumentValues.js +61 -0
  300. package/dist/node_modules/@graphql-tools/utils/esm/getArgumentValues.js.map +1 -0
  301. package/dist/node_modules/@graphql-tools/utils/esm/getDirectiveExtensions.js +76 -0
  302. package/dist/node_modules/@graphql-tools/utils/esm/getDirectiveExtensions.js.map +1 -0
  303. package/dist/node_modules/@graphql-tools/utils/esm/getObjectTypeFromTypeMap.js +13 -0
  304. package/dist/node_modules/@graphql-tools/utils/esm/getObjectTypeFromTypeMap.js.map +1 -0
  305. package/dist/node_modules/@graphql-tools/utils/esm/heal.js +120 -0
  306. package/dist/node_modules/@graphql-tools/utils/esm/heal.js.map +1 -0
  307. package/dist/node_modules/@graphql-tools/utils/esm/helpers.js +42 -0
  308. package/dist/node_modules/@graphql-tools/utils/esm/helpers.js.map +1 -0
  309. package/dist/node_modules/@graphql-tools/utils/esm/isAsyncIterable.js +7 -0
  310. package/dist/node_modules/@graphql-tools/utils/esm/isAsyncIterable.js.map +1 -0
  311. package/dist/node_modules/@graphql-tools/utils/esm/isDocumentNode.js +8 -0
  312. package/dist/node_modules/@graphql-tools/utils/esm/isDocumentNode.js.map +1 -0
  313. package/dist/node_modules/@graphql-tools/utils/esm/jsutils.js +26 -0
  314. package/dist/node_modules/@graphql-tools/utils/esm/jsutils.js.map +1 -0
  315. package/dist/node_modules/@graphql-tools/utils/esm/mapSchema.js +439 -0
  316. package/dist/node_modules/@graphql-tools/utils/esm/mapSchema.js.map +1 -0
  317. package/dist/node_modules/@graphql-tools/utils/esm/memoize.js +104 -0
  318. package/dist/node_modules/@graphql-tools/utils/esm/memoize.js.map +1 -0
  319. package/dist/node_modules/@graphql-tools/utils/esm/mergeDeep.js +86 -0
  320. package/dist/node_modules/@graphql-tools/utils/esm/mergeDeep.js.map +1 -0
  321. package/dist/node_modules/@graphql-tools/utils/esm/print-schema-with-directives.js +370 -0
  322. package/dist/node_modules/@graphql-tools/utils/esm/print-schema-with-directives.js.map +1 -0
  323. package/dist/node_modules/@graphql-tools/utils/esm/rewire.js +155 -0
  324. package/dist/node_modules/@graphql-tools/utils/esm/rewire.js.map +1 -0
  325. package/dist/node_modules/@graphql-tools/utils/esm/rootTypes.js +33 -0
  326. package/dist/node_modules/@graphql-tools/utils/esm/rootTypes.js.map +1 -0
  327. package/dist/node_modules/@graphql-tools/utils/esm/stub.js +32 -0
  328. package/dist/node_modules/@graphql-tools/utils/esm/stub.js.map +1 -0
  329. package/dist/node_modules/@graphql-tools/utils/esm/transformInputValue.js +47 -0
  330. package/dist/node_modules/@graphql-tools/utils/esm/transformInputValue.js.map +1 -0
  331. package/dist/node_modules/@graphql-yoga/logger/esm/index.js +42 -0
  332. package/dist/node_modules/@graphql-yoga/logger/esm/index.js.map +1 -0
  333. package/dist/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +126 -0
  334. package/dist/node_modules/@typescript-eslint/project-service/dist/createProjectService.js.map +1 -0
  335. package/dist/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +25 -0
  336. package/dist/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js.map +1 -0
  337. package/dist/node_modules/@typescript-eslint/project-service/dist/index.js +32 -0
  338. package/dist/node_modules/@typescript-eslint/project-service/dist/index.js.map +1 -0
  339. package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +20 -0
  340. package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js.map +1 -0
  341. package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +87 -0
  342. package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js.map +1 -0
  343. package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +34 -0
  344. package/dist/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js.map +1 -0
  345. package/dist/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +201 -0
  346. package/dist/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  347. package/dist/node_modules/@typescript-eslint/types/dist/index.js +45 -0
  348. package/dist/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
  349. package/dist/node_modules/@typescript-eslint/types/dist/lib.js +12 -0
  350. package/dist/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
  351. package/dist/node_modules/@typescript-eslint/types/dist/parser-options.js +12 -0
  352. package/dist/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
  353. package/dist/node_modules/@typescript-eslint/types/dist/ts-estree.js +52 -0
  354. package/dist/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
  355. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +54 -0
  356. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -0
  357. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +207 -0
  358. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js.map +1 -0
  359. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +34 -0
  360. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js.map +1 -0
  361. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +81 -0
  362. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -0
  363. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +2438 -0
  364. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -0
  365. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +117 -0
  366. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -0
  367. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +33 -0
  368. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -0
  369. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +82 -0
  370. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js.map +1 -0
  371. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +84 -0
  372. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -0
  373. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +31 -0
  374. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map +1 -0
  375. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +90 -0
  376. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
  377. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +292 -0
  378. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +1 -0
  379. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +134 -0
  380. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -0
  381. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +91 -0
  382. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -0
  383. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +35 -0
  384. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js.map +1 -0
  385. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +39 -0
  386. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js.map +1 -0
  387. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +88 -0
  388. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
  389. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/index.js +90 -0
  390. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -0
  391. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +268 -0
  392. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +1 -0
  393. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +533 -0
  394. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -0
  395. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +50 -0
  396. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js.map +1 -0
  397. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +38 -0
  398. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js.map +1 -0
  399. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +216 -0
  400. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +1 -0
  401. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +87 -0
  402. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +1 -0
  403. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +53 -0
  404. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map +1 -0
  405. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +89 -0
  406. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js.map +1 -0
  407. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +92 -0
  408. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js.map +1 -0
  409. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +132 -0
  410. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -0
  411. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +124 -0
  412. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +1 -0
  413. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +64 -0
  414. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -0
  415. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +63 -0
  416. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js.map +1 -0
  417. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +12 -0
  418. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -0
  419. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +46 -0
  420. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -0
  421. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +12 -0
  422. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +1 -0
  423. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +205 -0
  424. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js.map +1 -0
  425. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +75 -0
  426. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -0
  427. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version.js +15 -0
  428. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/version.js.map +1 -0
  429. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +17 -0
  430. package/dist/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js.map +1 -0
  431. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +23 -0
  432. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  433. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.js +495 -0
  434. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  435. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.js +121 -0
  436. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  437. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.js +17 -0
  438. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  439. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.js +763 -0
  440. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  441. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.js +17 -0
  442. package/dist/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  443. package/dist/node_modules/@typescript-eslint/typescript-estree/package.json.js +9 -0
  444. package/dist/node_modules/@typescript-eslint/typescript-estree/package.json.js.map +1 -0
  445. package/dist/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +16 -0
  446. package/dist/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +1 -0
  447. package/dist/node_modules/@typescript-eslint/visitor-keys/dist/index.js +25 -0
  448. package/dist/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +1 -0
  449. package/dist/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +187 -0
  450. package/dist/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -0
  451. package/dist/node_modules/@whatwg-node/disposablestack/esm/AsyncDisposableStack.js +72 -0
  452. package/dist/node_modules/@whatwg-node/disposablestack/esm/AsyncDisposableStack.js.map +1 -0
  453. package/dist/node_modules/@whatwg-node/disposablestack/esm/SupressedError.js +16 -0
  454. package/dist/node_modules/@whatwg-node/disposablestack/esm/SupressedError.js.map +1 -0
  455. package/dist/node_modules/@whatwg-node/disposablestack/esm/index.js +6 -0
  456. package/dist/node_modules/@whatwg-node/disposablestack/esm/index.js.map +1 -0
  457. package/dist/node_modules/@whatwg-node/disposablestack/esm/symbols.js +12 -0
  458. package/dist/node_modules/@whatwg-node/disposablestack/esm/symbols.js.map +1 -0
  459. package/dist/node_modules/@whatwg-node/disposablestack/esm/utils.js +12 -0
  460. package/dist/node_modules/@whatwg-node/disposablestack/esm/utils.js.map +1 -0
  461. package/dist/node_modules/@whatwg-node/fetch/dist/global-ponyfill.js +33 -0
  462. package/dist/node_modules/@whatwg-node/fetch/dist/global-ponyfill.js.map +1 -0
  463. package/dist/node_modules/@whatwg-node/promise-helpers/esm/index.js +241 -0
  464. package/dist/node_modules/@whatwg-node/promise-helpers/esm/index.js.map +1 -0
  465. package/dist/node_modules/@whatwg-node/server/esm/createServerAdapter.js +333 -0
  466. package/dist/node_modules/@whatwg-node/server/esm/createServerAdapter.js.map +1 -0
  467. package/dist/node_modules/@whatwg-node/server/esm/plugins/useCors.js +106 -0
  468. package/dist/node_modules/@whatwg-node/server/esm/plugins/useCors.js.map +1 -0
  469. package/dist/node_modules/@whatwg-node/server/esm/utils.js +476 -0
  470. package/dist/node_modules/@whatwg-node/server/esm/utils.js.map +1 -0
  471. package/dist/node_modules/@whatwg-node/server/esm/uwebsockets.js +232 -0
  472. package/dist/node_modules/@whatwg-node/server/esm/uwebsockets.js.map +1 -0
  473. package/dist/node_modules/balanced-match/index.js +62 -0
  474. package/dist/node_modules/balanced-match/index.js.map +1 -0
  475. package/dist/node_modules/brace-expansion/index.js +156 -0
  476. package/dist/node_modules/brace-expansion/index.js.map +1 -0
  477. package/dist/node_modules/cross-inspect/esm/index.js +89 -0
  478. package/dist/node_modules/cross-inspect/esm/index.js.map +1 -0
  479. package/dist/node_modules/debug/src/browser.js +178 -0
  480. package/dist/node_modules/debug/src/browser.js.map +1 -0
  481. package/dist/node_modules/debug/src/common.js +183 -0
  482. package/dist/node_modules/debug/src/common.js.map +1 -0
  483. package/dist/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.js +353 -0
  484. package/dist/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.js.map +1 -0
  485. package/dist/node_modules/fdir/dist/index.js +540 -0
  486. package/dist/node_modules/fdir/dist/index.js.map +1 -0
  487. package/dist/node_modules/graphql/error/GraphQLError.js +154 -0
  488. package/dist/node_modules/graphql/error/GraphQLError.js.map +1 -0
  489. package/dist/node_modules/graphql/error/locatedError.js +23 -0
  490. package/dist/node_modules/graphql/error/locatedError.js.map +1 -0
  491. package/dist/node_modules/graphql/error/syntaxError.js +11 -0
  492. package/dist/node_modules/graphql/error/syntaxError.js.map +1 -0
  493. package/dist/node_modules/graphql/execution/collectFields.js +128 -0
  494. package/dist/node_modules/graphql/execution/collectFields.js.map +1 -0
  495. package/dist/node_modules/graphql/execution/execute.js +606 -0
  496. package/dist/node_modules/graphql/execution/execute.js.map +1 -0
  497. package/dist/node_modules/graphql/execution/mapAsyncIterator.js +46 -0
  498. package/dist/node_modules/graphql/execution/mapAsyncIterator.js.map +1 -0
  499. package/dist/node_modules/graphql/execution/subscribe.js +121 -0
  500. package/dist/node_modules/graphql/execution/subscribe.js.map +1 -0
  501. package/dist/node_modules/graphql/execution/values.js +184 -0
  502. package/dist/node_modules/graphql/execution/values.js.map +1 -0
  503. package/dist/node_modules/graphql/jsutils/Path.js +21 -0
  504. package/dist/node_modules/graphql/jsutils/Path.js.map +1 -0
  505. package/dist/node_modules/graphql/jsutils/devAssert.js +10 -0
  506. package/dist/node_modules/graphql/jsutils/devAssert.js.map +1 -0
  507. package/dist/node_modules/graphql/jsutils/didYouMean.js +24 -0
  508. package/dist/node_modules/graphql/jsutils/didYouMean.js.map +1 -0
  509. package/dist/node_modules/graphql/jsutils/groupBy.js +17 -0
  510. package/dist/node_modules/graphql/jsutils/groupBy.js.map +1 -0
  511. package/dist/node_modules/graphql/jsutils/identityFunc.js +7 -0
  512. package/dist/node_modules/graphql/jsutils/identityFunc.js.map +1 -0
  513. package/dist/node_modules/graphql/jsutils/inspect.js +85 -0
  514. package/dist/node_modules/graphql/jsutils/inspect.js.map +1 -0
  515. package/dist/node_modules/graphql/jsutils/instanceOf.js +42 -0
  516. package/dist/node_modules/graphql/jsutils/instanceOf.js.map +1 -0
  517. package/dist/node_modules/graphql/jsutils/invariant.js +12 -0
  518. package/dist/node_modules/graphql/jsutils/invariant.js.map +1 -0
  519. package/dist/node_modules/graphql/jsutils/isAsyncIterable.js +7 -0
  520. package/dist/node_modules/graphql/jsutils/isAsyncIterable.js.map +1 -0
  521. package/dist/node_modules/graphql/jsutils/isIterableObject.js +7 -0
  522. package/dist/node_modules/graphql/jsutils/isIterableObject.js.map +1 -0
  523. package/dist/node_modules/graphql/jsutils/isObjectLike.js +7 -0
  524. package/dist/node_modules/graphql/jsutils/isObjectLike.js.map +1 -0
  525. package/dist/node_modules/graphql/jsutils/isPromise.js +7 -0
  526. package/dist/node_modules/graphql/jsutils/isPromise.js.map +1 -0
  527. package/dist/node_modules/graphql/jsutils/keyMap.js +11 -0
  528. package/dist/node_modules/graphql/jsutils/keyMap.js.map +1 -0
  529. package/dist/node_modules/graphql/jsutils/keyValMap.js +11 -0
  530. package/dist/node_modules/graphql/jsutils/keyValMap.js.map +1 -0
  531. package/dist/node_modules/graphql/jsutils/mapValue.js +11 -0
  532. package/dist/node_modules/graphql/jsutils/mapValue.js.map +1 -0
  533. package/dist/node_modules/graphql/jsutils/memoize3.js +28 -0
  534. package/dist/node_modules/graphql/jsutils/memoize3.js.map +1 -0
  535. package/dist/node_modules/graphql/jsutils/naturalCompare.js +47 -0
  536. package/dist/node_modules/graphql/jsutils/naturalCompare.js.map +1 -0
  537. package/dist/node_modules/graphql/jsutils/printPathArray.js +9 -0
  538. package/dist/node_modules/graphql/jsutils/printPathArray.js.map +1 -0
  539. package/dist/node_modules/graphql/jsutils/promiseForObject.js +13 -0
  540. package/dist/node_modules/graphql/jsutils/promiseForObject.js.map +1 -0
  541. package/dist/node_modules/graphql/jsutils/promiseReduce.js +12 -0
  542. package/dist/node_modules/graphql/jsutils/promiseReduce.js.map +1 -0
  543. package/dist/node_modules/graphql/jsutils/suggestionList.js +94 -0
  544. package/dist/node_modules/graphql/jsutils/suggestionList.js.map +1 -0
  545. package/dist/node_modules/graphql/jsutils/toError.js +15 -0
  546. package/dist/node_modules/graphql/jsutils/toError.js.map +1 -0
  547. package/dist/node_modules/graphql/jsutils/toObjMap.js +17 -0
  548. package/dist/node_modules/graphql/jsutils/toObjMap.js.map +1 -0
  549. package/dist/node_modules/graphql/language/ast.js +189 -0
  550. package/dist/node_modules/graphql/language/ast.js.map +1 -0
  551. package/dist/node_modules/graphql/language/blockString.js +60 -0
  552. package/dist/node_modules/graphql/language/blockString.js.map +1 -0
  553. package/dist/node_modules/graphql/language/characterClasses.js +24 -0
  554. package/dist/node_modules/graphql/language/characterClasses.js.map +1 -0
  555. package/dist/node_modules/graphql/language/directiveLocation.js +26 -0
  556. package/dist/node_modules/graphql/language/directiveLocation.js.map +1 -0
  557. package/dist/node_modules/graphql/language/kinds.js +55 -0
  558. package/dist/node_modules/graphql/language/kinds.js.map +1 -0
  559. package/dist/node_modules/graphql/language/lexer.js +543 -0
  560. package/dist/node_modules/graphql/language/lexer.js.map +1 -0
  561. package/dist/node_modules/graphql/language/location.js +22 -0
  562. package/dist/node_modules/graphql/language/location.js.map +1 -0
  563. package/dist/node_modules/graphql/language/parser.js +1343 -0
  564. package/dist/node_modules/graphql/language/parser.js.map +1 -0
  565. package/dist/node_modules/graphql/language/predicates.js +28 -0
  566. package/dist/node_modules/graphql/language/predicates.js.map +1 -0
  567. package/dist/node_modules/graphql/language/printLocation.js +51 -0
  568. package/dist/node_modules/graphql/language/printLocation.js.map +1 -0
  569. package/dist/node_modules/graphql/language/printString.js +178 -0
  570. package/dist/node_modules/graphql/language/printString.js.map +1 -0
  571. package/dist/node_modules/graphql/language/printer.js +269 -0
  572. package/dist/node_modules/graphql/language/printer.js.map +1 -0
  573. package/dist/node_modules/graphql/language/source.js +33 -0
  574. package/dist/node_modules/graphql/language/source.js.map +1 -0
  575. package/dist/node_modules/graphql/language/tokenKind.js +30 -0
  576. package/dist/node_modules/graphql/language/tokenKind.js.map +1 -0
  577. package/dist/node_modules/graphql/language/visitor.js +192 -0
  578. package/dist/node_modules/graphql/language/visitor.js.map +1 -0
  579. package/dist/node_modules/graphql/type/assertName.js +34 -0
  580. package/dist/node_modules/graphql/type/assertName.js.map +1 -0
  581. package/dist/node_modules/graphql/type/definition.js +648 -0
  582. package/dist/node_modules/graphql/type/definition.js.map +1 -0
  583. package/dist/node_modules/graphql/type/directives.js +137 -0
  584. package/dist/node_modules/graphql/type/directives.js.map +1 -0
  585. package/dist/node_modules/graphql/type/introspection.js +506 -0
  586. package/dist/node_modules/graphql/type/introspection.js.map +1 -0
  587. package/dist/node_modules/graphql/type/scalars.js +248 -0
  588. package/dist/node_modules/graphql/type/scalars.js.map +1 -0
  589. package/dist/node_modules/graphql/type/schema.js +223 -0
  590. package/dist/node_modules/graphql/type/schema.js.map +1 -0
  591. package/dist/node_modules/graphql/type/validate.js +461 -0
  592. package/dist/node_modules/graphql/type/validate.js.map +1 -0
  593. package/dist/node_modules/graphql/utilities/TypeInfo.js +257 -0
  594. package/dist/node_modules/graphql/utilities/TypeInfo.js.map +1 -0
  595. package/dist/node_modules/graphql/utilities/astFromValue.js +111 -0
  596. package/dist/node_modules/graphql/utilities/astFromValue.js.map +1 -0
  597. package/dist/node_modules/graphql/utilities/buildASTSchema.js +65 -0
  598. package/dist/node_modules/graphql/utilities/buildASTSchema.js.map +1 -0
  599. package/dist/node_modules/graphql/utilities/coerceInputValue.js +154 -0
  600. package/dist/node_modules/graphql/utilities/coerceInputValue.js.map +1 -0
  601. package/dist/node_modules/graphql/utilities/extendSchema.js +456 -0
  602. package/dist/node_modules/graphql/utilities/extendSchema.js.map +1 -0
  603. package/dist/node_modules/graphql/utilities/getOperationAST.js +22 -0
  604. package/dist/node_modules/graphql/utilities/getOperationAST.js.map +1 -0
  605. package/dist/node_modules/graphql/utilities/sortValueNode.js +30 -0
  606. package/dist/node_modules/graphql/utilities/sortValueNode.js.map +1 -0
  607. package/dist/node_modules/graphql/utilities/typeComparators.js +58 -0
  608. package/dist/node_modules/graphql/utilities/typeComparators.js.map +1 -0
  609. package/dist/node_modules/graphql/utilities/typeFromAST.js +20 -0
  610. package/dist/node_modules/graphql/utilities/typeFromAST.js.map +1 -0
  611. package/dist/node_modules/graphql/utilities/valueFromAST.js +109 -0
  612. package/dist/node_modules/graphql/utilities/valueFromAST.js.map +1 -0
  613. package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js +32 -0
  614. package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js.map +1 -0
  615. package/dist/node_modules/graphql/validation/ValidationContext.js +171 -0
  616. package/dist/node_modules/graphql/validation/ValidationContext.js.map +1 -0
  617. package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +24 -0
  618. package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js.map +1 -0
  619. package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +80 -0
  620. package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js.map +1 -0
  621. package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +43 -0
  622. package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js.map +1 -0
  623. package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +73 -0
  624. package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js.map +1 -0
  625. package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js +112 -0
  626. package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js.map +1 -0
  627. package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +20 -0
  628. package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js.map +1 -0
  629. package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +55 -0
  630. package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js.map +1 -0
  631. package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +28 -0
  632. package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js.map +1 -0
  633. package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +34 -0
  634. package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js.map +1 -0
  635. package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js +56 -0
  636. package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js.map +1 -0
  637. package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +53 -0
  638. package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js.map +1 -0
  639. package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +34 -0
  640. package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js.map +1 -0
  641. package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +41 -0
  642. package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js.map +1 -0
  643. package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +38 -0
  644. package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js.map +1 -0
  645. package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +519 -0
  646. package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +1 -0
  647. package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +55 -0
  648. package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js.map +1 -0
  649. package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +113 -0
  650. package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js.map +1 -0
  651. package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +99 -0
  652. package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js.map +1 -0
  653. package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js +53 -0
  654. package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js.map +1 -0
  655. package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +62 -0
  656. package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js.map +1 -0
  657. package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +47 -0
  658. package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js.map +1 -0
  659. package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +29 -0
  660. package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js.map +1 -0
  661. package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +38 -0
  662. package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js.map +1 -0
  663. package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +63 -0
  664. package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js.map +1 -0
  665. package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +50 -0
  666. package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js.map +1 -0
  667. package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +59 -0
  668. package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js.map +1 -0
  669. package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +27 -0
  670. package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js.map +1 -0
  671. package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +38 -0
  672. package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js.map +1 -0
  673. package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +32 -0
  674. package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js.map +1 -0
  675. package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +48 -0
  676. package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js.map +1 -0
  677. package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +41 -0
  678. package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js.map +1 -0
  679. package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +30 -0
  680. package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js.map +1 -0
  681. package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +170 -0
  682. package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js.map +1 -0
  683. package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +27 -0
  684. package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js.map +1 -0
  685. package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +74 -0
  686. package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js.map +1 -0
  687. package/dist/node_modules/graphql/validation/specifiedRules.js +88 -0
  688. package/dist/node_modules/graphql/validation/specifiedRules.js.map +1 -0
  689. package/dist/node_modules/graphql/validation/validate.js +65 -0
  690. package/dist/node_modules/graphql/validation/validate.js.map +1 -0
  691. package/dist/node_modules/graphql/version.js +10 -0
  692. package/dist/node_modules/graphql/version.js.map +1 -0
  693. package/dist/node_modules/graphql-ws/lib/common.js +127 -0
  694. package/dist/node_modules/graphql-ws/lib/common.js.map +1 -0
  695. package/dist/node_modules/graphql-ws/lib/server.js +257 -0
  696. package/dist/node_modules/graphql-ws/lib/server.js.map +1 -0
  697. package/dist/node_modules/graphql-ws/lib/use/ws.js +83 -0
  698. package/dist/node_modules/graphql-ws/lib/use/ws.js.map +1 -0
  699. package/dist/node_modules/graphql-ws/lib/utils.js +35 -0
  700. package/dist/node_modules/graphql-ws/lib/utils.js.map +1 -0
  701. package/dist/node_modules/graphql-yoga/esm/error.js +127 -0
  702. package/dist/node_modules/graphql-yoga/esm/error.js.map +1 -0
  703. package/dist/node_modules/graphql-yoga/esm/graphiql-html.js +5 -0
  704. package/dist/node_modules/graphql-yoga/esm/graphiql-html.js.map +1 -0
  705. package/dist/node_modules/graphql-yoga/esm/landing-page-html.js +21 -0
  706. package/dist/node_modules/graphql-yoga/esm/landing-page-html.js.map +1 -0
  707. package/dist/node_modules/graphql-yoga/esm/plugins/allowed-headers.js +26 -0
  708. package/dist/node_modules/graphql-yoga/esm/plugins/allowed-headers.js.map +1 -0
  709. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/get.js +15 -0
  710. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/get.js.map +1 -0
  711. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-form-url-encoded.js +12 -0
  712. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-form-url-encoded.js.map +1 -0
  713. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-graphql-string.js +12 -0
  714. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-graphql-string.js.map +1 -0
  715. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-json.js +58 -0
  716. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-json.js.map +1 -0
  717. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-multipart.js +78 -0
  718. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/post-multipart.js.map +1 -0
  719. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/utils.js +28 -0
  720. package/dist/node_modules/graphql-yoga/esm/plugins/request-parser/utils.js.map +1 -0
  721. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-graphql-query-params.js +131 -0
  722. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-graphql-query-params.js.map +1 -0
  723. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-method-for-graphql.js +28 -0
  724. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-check-method-for-graphql.js.map +1 -0
  725. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-http-validation-error.js +21 -0
  726. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-http-validation-error.js.map +1 -0
  727. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-limit-batching.js +37 -0
  728. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-limit-batching.js.map +1 -0
  729. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-prevent-mutation-via-get.js +61 -0
  730. package/dist/node_modules/graphql-yoga/esm/plugins/request-validation/use-prevent-mutation-via-get.js.map +1 -0
  731. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/accept.js +28 -0
  732. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/accept.js.map +1 -0
  733. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/multipart.js +68 -0
  734. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/multipart.js.map +1 -0
  735. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js +29 -0
  736. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js.map +1 -0
  737. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/sse.js +83 -0
  738. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/sse.js.map +1 -0
  739. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/stringify.js +47 -0
  740. package/dist/node_modules/graphql-yoga/esm/plugins/result-processor/stringify.js.map +1 -0
  741. package/dist/node_modules/graphql-yoga/esm/plugins/use-graphiql.js +55 -0
  742. package/dist/node_modules/graphql-yoga/esm/plugins/use-graphiql.js.map +1 -0
  743. package/dist/node_modules/graphql-yoga/esm/plugins/use-health-check.js +20 -0
  744. package/dist/node_modules/graphql-yoga/esm/plugins/use-health-check.js.map +1 -0
  745. package/dist/node_modules/graphql-yoga/esm/plugins/use-parser-and-validation-cache.js +63 -0
  746. package/dist/node_modules/graphql-yoga/esm/plugins/use-parser-and-validation-cache.js.map +1 -0
  747. package/dist/node_modules/graphql-yoga/esm/plugins/use-request-parser.js +15 -0
  748. package/dist/node_modules/graphql-yoga/esm/plugins/use-request-parser.js.map +1 -0
  749. package/dist/node_modules/graphql-yoga/esm/plugins/use-result-processor.js +58 -0
  750. package/dist/node_modules/graphql-yoga/esm/plugins/use-result-processor.js.map +1 -0
  751. package/dist/node_modules/graphql-yoga/esm/plugins/use-schema.js +76 -0
  752. package/dist/node_modules/graphql-yoga/esm/plugins/use-schema.js.map +1 -0
  753. package/dist/node_modules/graphql-yoga/esm/plugins/use-unhandled-route.js +52 -0
  754. package/dist/node_modules/graphql-yoga/esm/plugins/use-unhandled-route.js.map +1 -0
  755. package/dist/node_modules/graphql-yoga/esm/process-request.js +56 -0
  756. package/dist/node_modules/graphql-yoga/esm/process-request.js.map +1 -0
  757. package/dist/node_modules/graphql-yoga/esm/server.js +374 -0
  758. package/dist/node_modules/graphql-yoga/esm/server.js.map +1 -0
  759. package/dist/node_modules/graphql-yoga/esm/utils/create-lru-cache.js +10 -0
  760. package/dist/node_modules/graphql-yoga/esm/utils/create-lru-cache.js.map +1 -0
  761. package/dist/node_modules/graphql-yoga/esm/utils/mask-error.js +47 -0
  762. package/dist/node_modules/graphql-yoga/esm/utils/mask-error.js.map +1 -0
  763. package/dist/node_modules/graphql-yoga/node_modules/lru-cache/dist/esm/index.js +1370 -0
  764. package/dist/node_modules/graphql-yoga/node_modules/lru-cache/dist/esm/index.js.map +1 -0
  765. package/dist/node_modules/ms/index.js +121 -0
  766. package/dist/node_modules/ms/index.js.map +1 -0
  767. package/dist/node_modules/picomatch/index.js +23 -0
  768. package/dist/node_modules/picomatch/index.js.map +1 -0
  769. package/dist/node_modules/picomatch/lib/constants.js +203 -0
  770. package/dist/node_modules/picomatch/lib/constants.js.map +1 -0
  771. package/dist/node_modules/picomatch/lib/parse.js +774 -0
  772. package/dist/node_modules/picomatch/lib/parse.js.map +1 -0
  773. package/dist/node_modules/picomatch/lib/picomatch.js +148 -0
  774. package/dist/node_modules/picomatch/lib/picomatch.js.map +1 -0
  775. package/dist/node_modules/picomatch/lib/scan.js +336 -0
  776. package/dist/node_modules/picomatch/lib/scan.js.map +1 -0
  777. package/dist/node_modules/picomatch/lib/utils.js +71 -0
  778. package/dist/node_modules/picomatch/lib/utils.js.map +1 -0
  779. package/dist/node_modules/semver/classes/comparator.js +123 -0
  780. package/dist/node_modules/semver/classes/comparator.js.map +1 -0
  781. package/dist/node_modules/semver/classes/range.js +388 -0
  782. package/dist/node_modules/semver/classes/range.js.map +1 -0
  783. package/dist/node_modules/semver/classes/semver.js +288 -0
  784. package/dist/node_modules/semver/classes/semver.js.map +1 -0
  785. package/dist/node_modules/semver/functions/clean.js +18 -0
  786. package/dist/node_modules/semver/functions/clean.js.map +1 -0
  787. package/dist/node_modules/semver/functions/cmp.js +60 -0
  788. package/dist/node_modules/semver/functions/cmp.js.map +1 -0
  789. package/dist/node_modules/semver/functions/coerce.js +53 -0
  790. package/dist/node_modules/semver/functions/coerce.js.map +1 -0
  791. package/dist/node_modules/semver/functions/compare-build.js +19 -0
  792. package/dist/node_modules/semver/functions/compare-build.js.map +1 -0
  793. package/dist/node_modules/semver/functions/compare-loose.js +15 -0
  794. package/dist/node_modules/semver/functions/compare-loose.js.map +1 -0
  795. package/dist/node_modules/semver/functions/compare.js +15 -0
  796. package/dist/node_modules/semver/functions/compare.js.map +1 -0
  797. package/dist/node_modules/semver/functions/diff.js +49 -0
  798. package/dist/node_modules/semver/functions/diff.js.map +1 -0
  799. package/dist/node_modules/semver/functions/eq.js +15 -0
  800. package/dist/node_modules/semver/functions/eq.js.map +1 -0
  801. package/dist/node_modules/semver/functions/gt.js +15 -0
  802. package/dist/node_modules/semver/functions/gt.js.map +1 -0
  803. package/dist/node_modules/semver/functions/gte.js +15 -0
  804. package/dist/node_modules/semver/functions/gte.js.map +1 -0
  805. package/dist/node_modules/semver/functions/inc.js +29 -0
  806. package/dist/node_modules/semver/functions/inc.js.map +1 -0
  807. package/dist/node_modules/semver/functions/lt.js +15 -0
  808. package/dist/node_modules/semver/functions/lt.js.map +1 -0
  809. package/dist/node_modules/semver/functions/lte.js +15 -0
  810. package/dist/node_modules/semver/functions/lte.js.map +1 -0
  811. package/dist/node_modules/semver/functions/major.js +15 -0
  812. package/dist/node_modules/semver/functions/major.js.map +1 -0
  813. package/dist/node_modules/semver/functions/minor.js +15 -0
  814. package/dist/node_modules/semver/functions/minor.js.map +1 -0
  815. package/dist/node_modules/semver/functions/neq.js +15 -0
  816. package/dist/node_modules/semver/functions/neq.js.map +1 -0
  817. package/dist/node_modules/semver/functions/parse.js +27 -0
  818. package/dist/node_modules/semver/functions/parse.js.map +1 -0
  819. package/dist/node_modules/semver/functions/patch.js +15 -0
  820. package/dist/node_modules/semver/functions/patch.js.map +1 -0
  821. package/dist/node_modules/semver/functions/prerelease.js +18 -0
  822. package/dist/node_modules/semver/functions/prerelease.js.map +1 -0
  823. package/dist/node_modules/semver/functions/rcompare.js +15 -0
  824. package/dist/node_modules/semver/functions/rcompare.js.map +1 -0
  825. package/dist/node_modules/semver/functions/rsort.js +15 -0
  826. package/dist/node_modules/semver/functions/rsort.js.map +1 -0
  827. package/dist/node_modules/semver/functions/satisfies.js +22 -0
  828. package/dist/node_modules/semver/functions/satisfies.js.map +1 -0
  829. package/dist/node_modules/semver/functions/sort.js +15 -0
  830. package/dist/node_modules/semver/functions/sort.js.map +1 -0
  831. package/dist/node_modules/semver/functions/valid.js +18 -0
  832. package/dist/node_modules/semver/functions/valid.js.map +1 -0
  833. package/dist/node_modules/semver/index.js +140 -0
  834. package/dist/node_modules/semver/index.js.map +1 -0
  835. package/dist/node_modules/semver/internal/constants.js +36 -0
  836. package/dist/node_modules/semver/internal/constants.js.map +1 -0
  837. package/dist/node_modules/semver/internal/debug.js +14 -0
  838. package/dist/node_modules/semver/internal/debug.js.map +1 -0
  839. package/dist/node_modules/semver/internal/identifiers.js +29 -0
  840. package/dist/node_modules/semver/internal/identifiers.js.map +1 -0
  841. package/dist/node_modules/semver/internal/lrucache.js +42 -0
  842. package/dist/node_modules/semver/internal/lrucache.js.map +1 -0
  843. package/dist/node_modules/semver/internal/parse-options.js +23 -0
  844. package/dist/node_modules/semver/internal/parse-options.js.map +1 -0
  845. package/dist/node_modules/semver/internal/re.js +96 -0
  846. package/dist/node_modules/semver/internal/re.js.map +1 -0
  847. package/dist/node_modules/semver/ranges/gtr.js +15 -0
  848. package/dist/node_modules/semver/ranges/gtr.js.map +1 -0
  849. package/dist/node_modules/semver/ranges/intersects.js +19 -0
  850. package/dist/node_modules/semver/ranges/intersects.js.map +1 -0
  851. package/dist/node_modules/semver/ranges/ltr.js +15 -0
  852. package/dist/node_modules/semver/ranges/ltr.js.map +1 -0
  853. package/dist/node_modules/semver/ranges/max-satisfying.js +35 -0
  854. package/dist/node_modules/semver/ranges/max-satisfying.js.map +1 -0
  855. package/dist/node_modules/semver/ranges/min-satisfying.js +35 -0
  856. package/dist/node_modules/semver/ranges/min-satisfying.js.map +1 -0
  857. package/dist/node_modules/semver/ranges/min-version.js +66 -0
  858. package/dist/node_modules/semver/ranges/min-version.js.map +1 -0
  859. package/dist/node_modules/semver/ranges/outside.js +81 -0
  860. package/dist/node_modules/semver/ranges/outside.js.map +1 -0
  861. package/dist/node_modules/semver/ranges/simplify.js +56 -0
  862. package/dist/node_modules/semver/ranges/simplify.js.map +1 -0
  863. package/dist/node_modules/semver/ranges/subset.js +170 -0
  864. package/dist/node_modules/semver/ranges/subset.js.map +1 -0
  865. package/dist/node_modules/semver/ranges/to-comparators.js +15 -0
  866. package/dist/node_modules/semver/ranges/to-comparators.js.map +1 -0
  867. package/dist/node_modules/semver/ranges/valid.js +21 -0
  868. package/dist/node_modules/semver/ranges/valid.js.map +1 -0
  869. package/dist/node_modules/tinyglobby/dist/index.js +332 -0
  870. package/dist/node_modules/tinyglobby/dist/index.js.map +1 -0
  871. package/dist/node_modules/ts-api-utils/lib/index.js +2361 -0
  872. package/dist/node_modules/ts-api-utils/lib/index.js.map +1 -0
  873. package/dist/node_modules/typescript/lib/tsserverlibrary.js +33 -0
  874. package/dist/node_modules/typescript/lib/tsserverlibrary.js.map +1 -0
  875. package/dist/node_modules/typescript/lib/typescript.js +210602 -0
  876. package/dist/node_modules/typescript/lib/typescript.js.map +1 -0
  877. package/dist/node_modules/ws/browser.js +16 -0
  878. package/dist/node_modules/ws/browser.js.map +1 -0
  879. package/dist/plugins/analyzers/code-complexity/analyzer.d.ts +105 -0
  880. package/dist/plugins/analyzers/code-complexity/analyzer.d.ts.map +1 -0
  881. package/dist/plugins/analyzers/code-complexity/analyzer.js +507 -0
  882. package/dist/plugins/analyzers/code-complexity/analyzer.js.map +1 -0
  883. package/dist/plugins/analyzers/code-complexity/graph-generator.d.ts +70 -0
  884. package/dist/plugins/analyzers/code-complexity/graph-generator.d.ts.map +1 -0
  885. package/dist/plugins/analyzers/code-complexity/graph-generator.js +405 -0
  886. package/dist/plugins/analyzers/code-complexity/graph-generator.js.map +1 -0
  887. package/dist/plugins/analyzers/code-complexity/index.d.ts +191 -0
  888. package/dist/plugins/analyzers/code-complexity/index.d.ts.map +1 -0
  889. package/dist/plugins/analyzers/code-complexity/index.js +276 -0
  890. package/dist/plugins/analyzers/code-complexity/index.js.map +1 -0
  891. package/dist/plugins/analyzers/code-complexity/metrics.d.ts +77 -0
  892. package/dist/plugins/analyzers/code-complexity/metrics.d.ts.map +1 -0
  893. package/dist/plugins/analyzers/code-complexity/metrics.js +514 -0
  894. package/dist/plugins/analyzers/code-complexity/metrics.js.map +1 -0
  895. package/dist/plugins/analyzers/code-complexity/plugin.d.ts +161 -0
  896. package/dist/plugins/analyzers/code-complexity/plugin.d.ts.map +1 -0
  897. package/dist/plugins/analyzers/code-complexity/plugin.js +661 -0
  898. package/dist/plugins/analyzers/code-complexity/plugin.js.map +1 -0
  899. package/dist/plugins/analyzers/code-complexity/types.d.ts +360 -0
  900. package/dist/plugins/analyzers/code-complexity/types.d.ts.map +1 -0
  901. package/dist/plugins/analyzers/code-complexity/types.js +27 -0
  902. package/dist/plugins/analyzers/code-complexity/types.js.map +1 -0
  903. package/dist/plugins/analyzers/dependency-health/analyzer.d.ts +56 -0
  904. package/dist/plugins/analyzers/dependency-health/analyzer.d.ts.map +1 -0
  905. package/dist/plugins/analyzers/dependency-health/analyzer.js +387 -0
  906. package/dist/plugins/analyzers/dependency-health/analyzer.js.map +1 -0
  907. package/dist/plugins/analyzers/dependency-health/graph-generator.d.ts +60 -0
  908. package/dist/plugins/analyzers/dependency-health/graph-generator.d.ts.map +1 -0
  909. package/dist/plugins/analyzers/dependency-health/graph-generator.js +295 -0
  910. package/dist/plugins/analyzers/dependency-health/graph-generator.js.map +1 -0
  911. package/dist/plugins/analyzers/dependency-health/index.d.ts +201 -0
  912. package/dist/plugins/analyzers/dependency-health/index.d.ts.map +1 -0
  913. package/dist/plugins/analyzers/dependency-health/index.js +857 -0
  914. package/dist/plugins/analyzers/dependency-health/index.js.map +1 -0
  915. package/dist/plugins/analyzers/dependency-health/npm-client.d.ts +68 -0
  916. package/dist/plugins/analyzers/dependency-health/npm-client.d.ts.map +1 -0
  917. package/dist/plugins/analyzers/dependency-health/npm-client.js +226 -0
  918. package/dist/plugins/analyzers/dependency-health/npm-client.js.map +1 -0
  919. package/dist/plugins/analyzers/dependency-health/types.d.ts +462 -0
  920. package/dist/plugins/analyzers/dependency-health/types.d.ts.map +1 -0
  921. package/dist/plugins/analyzers/dependency-health/vulnerability.d.ts +80 -0
  922. package/dist/plugins/analyzers/dependency-health/vulnerability.d.ts.map +1 -0
  923. package/dist/plugins/analyzers/dependency-health/vulnerability.js +215 -0
  924. package/dist/plugins/analyzers/dependency-health/vulnerability.js.map +1 -0
  925. package/dist/plugins/analyzers/index.d.ts +12 -0
  926. package/dist/plugins/analyzers/index.d.ts.map +1 -0
  927. package/dist/plugins/index.d.ts +13 -0
  928. package/dist/plugins/index.d.ts.map +1 -0
  929. package/dist/plugins/loader.d.ts +158 -0
  930. package/dist/plugins/loader.d.ts.map +1 -0
  931. package/dist/plugins/loader.js +554 -0
  932. package/dist/plugins/loader.js.map +1 -0
  933. package/dist/plugins/manager.d.ts +183 -0
  934. package/dist/plugins/manager.d.ts.map +1 -0
  935. package/dist/plugins/manager.js +876 -0
  936. package/dist/plugins/manager.js.map +1 -0
  937. package/dist/plugins/registry.d.ts +163 -0
  938. package/dist/plugins/registry.d.ts.map +1 -0
  939. package/dist/plugins/registry.js +448 -0
  940. package/dist/plugins/registry.js.map +1 -0
  941. package/dist/plugins/types.d.ts +930 -0
  942. package/dist/plugins/types.d.ts.map +1 -0
  943. package/dist/plugins/types.js +43 -0
  944. package/dist/plugins/types.js.map +1 -0
  945. package/dist/server/container.d.ts +263 -0
  946. package/dist/server/container.d.ts.map +1 -0
  947. package/dist/server/container.js +605 -0
  948. package/dist/server/container.js.map +1 -0
  949. package/dist/server/event-bus.d.ts +418 -0
  950. package/dist/server/event-bus.d.ts.map +1 -0
  951. package/dist/server/event-bus.js +442 -0
  952. package/dist/server/event-bus.js.map +1 -0
  953. package/dist/server/index.d.ts +37 -0
  954. package/dist/server/index.d.ts.map +1 -0
  955. package/dist/server/manager.d.ts +123 -0
  956. package/dist/server/manager.d.ts.map +1 -0
  957. package/dist/server/manager.js +742 -0
  958. package/dist/server/manager.js.map +1 -0
  959. package/dist/server/shared-services.d.ts +130 -0
  960. package/dist/server/shared-services.d.ts.map +1 -0
  961. package/dist/server/shared-services.js +476 -0
  962. package/dist/server/shared-services.js.map +1 -0
  963. package/dist/server/types.d.ts +320 -0
  964. package/dist/server/types.d.ts.map +1 -0
  965. package/dist/server/types.js +13 -0
  966. package/dist/server/types.js.map +1 -0
  967. package/dist/services/manager.js +328 -0
  968. package/dist/services/manager.js.map +1 -0
  969. package/package.json +29 -3
  970. package/dist/_virtual/additionalItems.js +0 -5
  971. package/dist/_virtual/additionalItems.js.map +0 -1
  972. package/dist/_virtual/additionalProperties.js +0 -5
  973. package/dist/_virtual/additionalProperties.js.map +0 -1
  974. package/dist/_virtual/ajv.js +0 -6
  975. package/dist/_virtual/ajv.js.map +0 -1
  976. package/dist/_virtual/ajv2.js +0 -5
  977. package/dist/_virtual/ajv2.js.map +0 -1
  978. package/dist/_virtual/allOf.js +0 -5
  979. package/dist/_virtual/allOf.js.map +0 -1
  980. package/dist/_virtual/anyOf.js +0 -5
  981. package/dist/_virtual/anyOf.js.map +0 -1
  982. package/dist/_virtual/applicability.js +0 -5
  983. package/dist/_virtual/applicability.js.map +0 -1
  984. package/dist/_virtual/boolSchema.js +0 -5
  985. package/dist/_virtual/boolSchema.js.map +0 -1
  986. package/dist/_virtual/code.js +0 -5
  987. package/dist/_virtual/code.js.map +0 -1
  988. package/dist/_virtual/code2.js +0 -5
  989. package/dist/_virtual/code2.js.map +0 -1
  990. package/dist/_virtual/const.js +0 -5
  991. package/dist/_virtual/const.js.map +0 -1
  992. package/dist/_virtual/contains.js +0 -5
  993. package/dist/_virtual/contains.js.map +0 -1
  994. package/dist/_virtual/core.js +0 -5
  995. package/dist/_virtual/core.js.map +0 -1
  996. package/dist/_virtual/dataType.js +0 -5
  997. package/dist/_virtual/dataType.js.map +0 -1
  998. package/dist/_virtual/defaults.js +0 -5
  999. package/dist/_virtual/defaults.js.map +0 -1
  1000. package/dist/_virtual/dependencies.js +0 -5
  1001. package/dist/_virtual/dependencies.js.map +0 -1
  1002. package/dist/_virtual/draft7.js +0 -5
  1003. package/dist/_virtual/draft7.js.map +0 -1
  1004. package/dist/_virtual/enum.js +0 -5
  1005. package/dist/_virtual/enum.js.map +0 -1
  1006. package/dist/_virtual/equal.js +0 -5
  1007. package/dist/_virtual/equal.js.map +0 -1
  1008. package/dist/_virtual/errors.js +0 -5
  1009. package/dist/_virtual/errors.js.map +0 -1
  1010. package/dist/_virtual/format.js +0 -5
  1011. package/dist/_virtual/format.js.map +0 -1
  1012. package/dist/_virtual/formats.js +0 -5
  1013. package/dist/_virtual/formats.js.map +0 -1
  1014. package/dist/_virtual/id.js +0 -5
  1015. package/dist/_virtual/id.js.map +0 -1
  1016. package/dist/_virtual/if.js +0 -5
  1017. package/dist/_virtual/if.js.map +0 -1
  1018. package/dist/_virtual/index12.js +0 -5
  1019. package/dist/_virtual/index12.js.map +0 -1
  1020. package/dist/_virtual/items.js +0 -5
  1021. package/dist/_virtual/items.js.map +0 -1
  1022. package/dist/_virtual/items2020.js +0 -5
  1023. package/dist/_virtual/items2020.js.map +0 -1
  1024. package/dist/_virtual/keyword.js +0 -5
  1025. package/dist/_virtual/keyword.js.map +0 -1
  1026. package/dist/_virtual/limit.js +0 -5
  1027. package/dist/_virtual/limit.js.map +0 -1
  1028. package/dist/_virtual/limitItems.js +0 -5
  1029. package/dist/_virtual/limitItems.js.map +0 -1
  1030. package/dist/_virtual/limitLength.js +0 -5
  1031. package/dist/_virtual/limitLength.js.map +0 -1
  1032. package/dist/_virtual/limitNumber.js +0 -5
  1033. package/dist/_virtual/limitNumber.js.map +0 -1
  1034. package/dist/_virtual/limitProperties.js +0 -5
  1035. package/dist/_virtual/limitProperties.js.map +0 -1
  1036. package/dist/_virtual/metadata.js +0 -5
  1037. package/dist/_virtual/metadata.js.map +0 -1
  1038. package/dist/_virtual/multipleOf.js +0 -5
  1039. package/dist/_virtual/multipleOf.js.map +0 -1
  1040. package/dist/_virtual/names.js +0 -5
  1041. package/dist/_virtual/names.js.map +0 -1
  1042. package/dist/_virtual/not.js +0 -5
  1043. package/dist/_virtual/not.js.map +0 -1
  1044. package/dist/_virtual/oneOf.js +0 -5
  1045. package/dist/_virtual/oneOf.js.map +0 -1
  1046. package/dist/_virtual/pattern.js +0 -5
  1047. package/dist/_virtual/pattern.js.map +0 -1
  1048. package/dist/_virtual/patternProperties.js +0 -5
  1049. package/dist/_virtual/patternProperties.js.map +0 -1
  1050. package/dist/_virtual/prefixItems.js +0 -5
  1051. package/dist/_virtual/prefixItems.js.map +0 -1
  1052. package/dist/_virtual/properties.js +0 -5
  1053. package/dist/_virtual/properties.js.map +0 -1
  1054. package/dist/_virtual/propertyNames.js +0 -5
  1055. package/dist/_virtual/propertyNames.js.map +0 -1
  1056. package/dist/_virtual/ref.js +0 -5
  1057. package/dist/_virtual/ref.js.map +0 -1
  1058. package/dist/_virtual/ref_error.js +0 -5
  1059. package/dist/_virtual/ref_error.js.map +0 -1
  1060. package/dist/_virtual/required.js +0 -5
  1061. package/dist/_virtual/required.js.map +0 -1
  1062. package/dist/_virtual/resolve.js +0 -5
  1063. package/dist/_virtual/resolve.js.map +0 -1
  1064. package/dist/_virtual/rules.js +0 -5
  1065. package/dist/_virtual/rules.js.map +0 -1
  1066. package/dist/_virtual/scope.js +0 -5
  1067. package/dist/_virtual/scope.js.map +0 -1
  1068. package/dist/_virtual/subschema.js +0 -5
  1069. package/dist/_virtual/subschema.js.map +0 -1
  1070. package/dist/_virtual/thenElse.js +0 -5
  1071. package/dist/_virtual/thenElse.js.map +0 -1
  1072. package/dist/_virtual/types.js +0 -5
  1073. package/dist/_virtual/types.js.map +0 -1
  1074. package/dist/_virtual/ucs2length.js +0 -5
  1075. package/dist/_virtual/ucs2length.js.map +0 -1
  1076. package/dist/_virtual/uniqueItems.js +0 -5
  1077. package/dist/_virtual/uniqueItems.js.map +0 -1
  1078. package/dist/_virtual/uri.js +0 -5
  1079. package/dist/_virtual/uri.js.map +0 -1
  1080. package/dist/_virtual/util.js +0 -5
  1081. package/dist/_virtual/util.js.map +0 -1
  1082. package/dist/_virtual/validation_error.js +0 -5
  1083. package/dist/_virtual/validation_error.js.map +0 -1
  1084. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +0 -296
  1085. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +0 -1
  1086. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +0 -71
  1087. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +0 -1
  1088. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +0 -26
  1089. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +0 -1
  1090. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +0 -407
  1091. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +0 -1
  1092. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +0 -1332
  1093. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +0 -1
  1094. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +0 -71
  1095. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +0 -1
  1096. package/dist/node_modules/ajv/dist/ajv.js +0 -84
  1097. package/dist/node_modules/ajv/dist/ajv.js.map +0 -1
  1098. package/dist/node_modules/ajv/dist/compile/codegen/code.js +0 -160
  1099. package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  1100. package/dist/node_modules/ajv/dist/compile/codegen/index.js +0 -728
  1101. package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  1102. package/dist/node_modules/ajv/dist/compile/codegen/scope.js +0 -152
  1103. package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  1104. package/dist/node_modules/ajv/dist/compile/errors.js +0 -131
  1105. package/dist/node_modules/ajv/dist/compile/errors.js.map +0 -1
  1106. package/dist/node_modules/ajv/dist/compile/index.js +0 -234
  1107. package/dist/node_modules/ajv/dist/compile/index.js.map +0 -1
  1108. package/dist/node_modules/ajv/dist/compile/names.js +0 -44
  1109. package/dist/node_modules/ajv/dist/compile/names.js.map +0 -1
  1110. package/dist/node_modules/ajv/dist/compile/ref_error.js +0 -22
  1111. package/dist/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  1112. package/dist/node_modules/ajv/dist/compile/resolve.js +0 -163
  1113. package/dist/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  1114. package/dist/node_modules/ajv/dist/compile/rules.js +0 -35
  1115. package/dist/node_modules/ajv/dist/compile/rules.js.map +0 -1
  1116. package/dist/node_modules/ajv/dist/compile/util.js +0 -173
  1117. package/dist/node_modules/ajv/dist/compile/util.js.map +0 -1
  1118. package/dist/node_modules/ajv/dist/compile/validate/applicability.js +0 -27
  1119. package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  1120. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -58
  1121. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  1122. package/dist/node_modules/ajv/dist/compile/validate/dataType.js +0 -193
  1123. package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  1124. package/dist/node_modules/ajv/dist/compile/validate/defaults.js +0 -43
  1125. package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  1126. package/dist/node_modules/ajv/dist/compile/validate/index.js +0 -522
  1127. package/dist/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  1128. package/dist/node_modules/ajv/dist/compile/validate/keyword.js +0 -126
  1129. package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  1130. package/dist/node_modules/ajv/dist/compile/validate/subschema.js +0 -89
  1131. package/dist/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  1132. package/dist/node_modules/ajv/dist/core.js +0 -628
  1133. package/dist/node_modules/ajv/dist/core.js.map +0 -1
  1134. package/dist/node_modules/ajv/dist/refs/data.json.js +0 -24
  1135. package/dist/node_modules/ajv/dist/refs/data.json.js.map +0 -1
  1136. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +0 -25
  1137. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +0 -1
  1138. package/dist/node_modules/ajv/dist/runtime/equal.js +0 -16
  1139. package/dist/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  1140. package/dist/node_modules/ajv/dist/runtime/ucs2length.js +0 -30
  1141. package/dist/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  1142. package/dist/node_modules/ajv/dist/runtime/uri.js +0 -16
  1143. package/dist/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  1144. package/dist/node_modules/ajv/dist/runtime/validation_error.js +0 -20
  1145. package/dist/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  1146. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -59
  1147. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  1148. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -114
  1149. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  1150. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -32
  1151. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  1152. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -22
  1153. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  1154. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -100
  1155. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  1156. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -103
  1157. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  1158. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -75
  1159. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  1160. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -68
  1161. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  1162. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -64
  1163. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  1164. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -43
  1165. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  1166. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -36
  1167. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  1168. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -64
  1169. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  1170. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -81
  1171. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  1172. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -22
  1173. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  1174. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -66
  1175. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  1176. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -49
  1177. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  1178. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -23
  1179. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  1180. package/dist/node_modules/ajv/dist/vocabularies/code.js +0 -140
  1181. package/dist/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  1182. package/dist/node_modules/ajv/dist/vocabularies/core/id.js +0 -19
  1183. package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  1184. package/dist/node_modules/ajv/dist/vocabularies/core/index.js +0 -27
  1185. package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  1186. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +0 -132
  1187. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  1188. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -114
  1189. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  1190. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -18
  1191. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  1192. package/dist/node_modules/ajv/dist/vocabularies/draft7.js +0 -31
  1193. package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  1194. package/dist/node_modules/ajv/dist/vocabularies/format/format.js +0 -95
  1195. package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  1196. package/dist/node_modules/ajv/dist/vocabularies/format/index.js +0 -16
  1197. package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  1198. package/dist/node_modules/ajv/dist/vocabularies/metadata.js +0 -27
  1199. package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  1200. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +0 -36
  1201. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  1202. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -56
  1203. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  1204. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +0 -52
  1205. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  1206. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -34
  1207. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  1208. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -39
  1209. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  1210. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -37
  1211. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  1212. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -34
  1213. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  1214. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -33
  1215. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  1216. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -34
  1217. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  1218. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +0 -89
  1219. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  1220. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -75
  1221. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  1222. package/dist/node_modules/ajv-formats/dist/formats.js +0 -209
  1223. package/dist/node_modules/ajv-formats/dist/formats.js.map +0 -1
  1224. package/dist/node_modules/ajv-formats/dist/index.js +0 -51
  1225. package/dist/node_modules/ajv-formats/dist/index.js.map +0 -1
  1226. package/dist/node_modules/ajv-formats/dist/limit.js +0 -80
  1227. package/dist/node_modules/ajv-formats/dist/limit.js.map +0 -1
  1228. package/dist/node_modules/fast-deep-equal/index.js +0 -39
  1229. package/dist/node_modules/fast-deep-equal/index.js.map +0 -1
  1230. package/dist/node_modules/fast-uri/index.js +0 -261
  1231. package/dist/node_modules/fast-uri/index.js.map +0 -1
  1232. package/dist/node_modules/fast-uri/lib/schemes.js +0 -215
  1233. package/dist/node_modules/fast-uri/lib/schemes.js.map +0 -1
  1234. package/dist/node_modules/fast-uri/lib/utils.js +0 -261
  1235. package/dist/node_modules/fast-uri/lib/utils.js.map +0 -1
  1236. package/dist/node_modules/json-schema-traverse/index.js +0 -92
  1237. package/dist/node_modules/json-schema-traverse/index.js.map +0 -1
  1238. package/dist/node_modules/zod/v4/classic/errors.js +0 -37
  1239. package/dist/node_modules/zod/v4/classic/errors.js.map +0 -1
  1240. package/dist/node_modules/zod/v4/classic/iso.js +0 -43
  1241. package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
  1242. package/dist/node_modules/zod/v4/classic/parse.js +0 -13
  1243. package/dist/node_modules/zod/v4/classic/parse.js.map +0 -1
  1244. package/dist/node_modules/zod/v4/classic/schemas.js +0 -688
  1245. package/dist/node_modules/zod/v4/classic/schemas.js.map +0 -1
  1246. package/dist/node_modules/zod/v4/core/api.js +0 -492
  1247. package/dist/node_modules/zod/v4/core/api.js.map +0 -1
  1248. package/dist/node_modules/zod/v4/core/checks.js +0 -405
  1249. package/dist/node_modules/zod/v4/core/checks.js.map +0 -1
  1250. package/dist/node_modules/zod/v4/core/core.js +0 -58
  1251. package/dist/node_modules/zod/v4/core/core.js.map +0 -1
  1252. package/dist/node_modules/zod/v4/core/doc.js +0 -38
  1253. package/dist/node_modules/zod/v4/core/doc.js.map +0 -1
  1254. package/dist/node_modules/zod/v4/core/errors.js +0 -82
  1255. package/dist/node_modules/zod/v4/core/errors.js.map +0 -1
  1256. package/dist/node_modules/zod/v4/core/parse.js +0 -60
  1257. package/dist/node_modules/zod/v4/core/parse.js.map +0 -1
  1258. package/dist/node_modules/zod/v4/core/regexes.js +0 -87
  1259. package/dist/node_modules/zod/v4/core/regexes.js.map +0 -1
  1260. package/dist/node_modules/zod/v4/core/registries.js +0 -52
  1261. package/dist/node_modules/zod/v4/core/registries.js.map +0 -1
  1262. package/dist/node_modules/zod/v4/core/schemas.js +0 -1283
  1263. package/dist/node_modules/zod/v4/core/schemas.js.map +0 -1
  1264. package/dist/node_modules/zod/v4/core/util.js +0 -341
  1265. package/dist/node_modules/zod/v4/core/util.js.map +0 -1
  1266. package/dist/node_modules/zod/v4/core/versions.js +0 -9
  1267. package/dist/node_modules/zod/v4/core/versions.js.map +0 -1
  1268. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -2
  1269. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js.map +0 -1
@@ -1,5 +0,0 @@
1
- var resolve = {};
2
- export {
3
- resolve as __exports
4
- };
5
- //# sourceMappingURL=resolve.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var rules = {};
2
- export {
3
- rules as __exports
4
- };
5
- //# sourceMappingURL=rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var scope = {};
2
- export {
3
- scope as __exports
4
- };
5
- //# sourceMappingURL=scope.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scope.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var subschema = {};
2
- export {
3
- subschema as __exports
4
- };
5
- //# sourceMappingURL=subschema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subschema.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var thenElse = {};
2
- export {
3
- thenElse as __exports
4
- };
5
- //# sourceMappingURL=thenElse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"thenElse.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var types = {};
2
- export {
3
- types as __exports
4
- };
5
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var ucs2length = {};
2
- export {
3
- ucs2length as __exports
4
- };
5
- //# sourceMappingURL=ucs2length.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ucs2length.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var uniqueItems = {};
2
- export {
3
- uniqueItems as __exports
4
- };
5
- //# sourceMappingURL=uniqueItems.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uniqueItems.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var uri = {};
2
- export {
3
- uri as __exports
4
- };
5
- //# sourceMappingURL=uri.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uri.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var util = {};
2
- export {
3
- util as __exports
4
- };
5
- //# sourceMappingURL=util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +0,0 @@
1
- var validation_error = {};
2
- export {
3
- validation_error as __exports
4
- };
5
- //# sourceMappingURL=validation_error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation_error.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,296 +0,0 @@
1
- import { Protocol, mergeCapabilities } from "../shared/protocol.js";
2
- import { LoggingLevelSchema, InitializeRequestSchema, InitializedNotificationSchema, SetLevelRequestSchema, LATEST_PROTOCOL_VERSION, EmptyResultSchema, CreateMessageResultSchema, ElicitResultSchema, McpError, ErrorCode, ListRootsResultSchema, SUPPORTED_PROTOCOL_VERSIONS } from "../types.js";
3
- import { AjvJsonSchemaValidator } from "../validation/ajv-provider.js";
4
- class Server extends Protocol {
5
- /**
6
- * Initializes this server with the given name and version information.
7
- */
8
- constructor(_serverInfo, options) {
9
- var _a, _b;
10
- super(options);
11
- this._serverInfo = _serverInfo;
12
- this._loggingLevels = /* @__PURE__ */ new Map();
13
- this.LOG_LEVEL_SEVERITY = new Map(LoggingLevelSchema.options.map((level, index) => [level, index]));
14
- this.isMessageIgnored = (level, sessionId) => {
15
- const currentLevel = this._loggingLevels.get(sessionId);
16
- return currentLevel ? this.LOG_LEVEL_SEVERITY.get(level) < this.LOG_LEVEL_SEVERITY.get(currentLevel) : false;
17
- };
18
- this._capabilities = (_a = options === null || options === void 0 ? void 0 : options.capabilities) !== null && _a !== void 0 ? _a : {};
19
- this._instructions = options === null || options === void 0 ? void 0 : options.instructions;
20
- this._jsonSchemaValidator = (_b = options === null || options === void 0 ? void 0 : options.jsonSchemaValidator) !== null && _b !== void 0 ? _b : new AjvJsonSchemaValidator();
21
- this.setRequestHandler(InitializeRequestSchema, (request) => this._oninitialize(request));
22
- this.setNotificationHandler(InitializedNotificationSchema, () => {
23
- var _a2;
24
- return (_a2 = this.oninitialized) === null || _a2 === void 0 ? void 0 : _a2.call(this);
25
- });
26
- if (this._capabilities.logging) {
27
- this.setRequestHandler(SetLevelRequestSchema, async (request, extra) => {
28
- var _a2;
29
- const transportSessionId = extra.sessionId || ((_a2 = extra.requestInfo) === null || _a2 === void 0 ? void 0 : _a2.headers["mcp-session-id"]) || void 0;
30
- const { level } = request.params;
31
- const parseResult = LoggingLevelSchema.safeParse(level);
32
- if (parseResult.success) {
33
- this._loggingLevels.set(transportSessionId, parseResult.data);
34
- }
35
- return {};
36
- });
37
- }
38
- }
39
- /**
40
- * Registers new capabilities. This can only be called before connecting to a transport.
41
- *
42
- * The new capabilities will be merged with any existing capabilities previously given (e.g., at initialization).
43
- */
44
- registerCapabilities(capabilities) {
45
- if (this.transport) {
46
- throw new Error("Cannot register capabilities after connecting to transport");
47
- }
48
- this._capabilities = mergeCapabilities(this._capabilities, capabilities);
49
- }
50
- assertCapabilityForMethod(method) {
51
- var _a, _b, _c;
52
- switch (method) {
53
- case "sampling/createMessage":
54
- if (!((_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.sampling)) {
55
- throw new Error(`Client does not support sampling (required for ${method})`);
56
- }
57
- break;
58
- case "elicitation/create":
59
- if (!((_b = this._clientCapabilities) === null || _b === void 0 ? void 0 : _b.elicitation)) {
60
- throw new Error(`Client does not support elicitation (required for ${method})`);
61
- }
62
- break;
63
- case "roots/list":
64
- if (!((_c = this._clientCapabilities) === null || _c === void 0 ? void 0 : _c.roots)) {
65
- throw new Error(`Client does not support listing roots (required for ${method})`);
66
- }
67
- break;
68
- }
69
- }
70
- assertNotificationCapability(method) {
71
- var _a, _b;
72
- switch (method) {
73
- case "notifications/message":
74
- if (!this._capabilities.logging) {
75
- throw new Error(`Server does not support logging (required for ${method})`);
76
- }
77
- break;
78
- case "notifications/resources/updated":
79
- case "notifications/resources/list_changed":
80
- if (!this._capabilities.resources) {
81
- throw new Error(`Server does not support notifying about resources (required for ${method})`);
82
- }
83
- break;
84
- case "notifications/tools/list_changed":
85
- if (!this._capabilities.tools) {
86
- throw new Error(`Server does not support notifying of tool list changes (required for ${method})`);
87
- }
88
- break;
89
- case "notifications/prompts/list_changed":
90
- if (!this._capabilities.prompts) {
91
- throw new Error(`Server does not support notifying of prompt list changes (required for ${method})`);
92
- }
93
- break;
94
- case "notifications/elicitation/complete":
95
- if (!((_b = (_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.elicitation) === null || _b === void 0 ? void 0 : _b.url)) {
96
- throw new Error(`Client does not support URL elicitation (required for ${method})`);
97
- }
98
- break;
99
- }
100
- }
101
- assertRequestHandlerCapability(method) {
102
- switch (method) {
103
- case "completion/complete":
104
- if (!this._capabilities.completions) {
105
- throw new Error(`Server does not support completions (required for ${method})`);
106
- }
107
- break;
108
- case "logging/setLevel":
109
- if (!this._capabilities.logging) {
110
- throw new Error(`Server does not support logging (required for ${method})`);
111
- }
112
- break;
113
- case "prompts/get":
114
- case "prompts/list":
115
- if (!this._capabilities.prompts) {
116
- throw new Error(`Server does not support prompts (required for ${method})`);
117
- }
118
- break;
119
- case "resources/list":
120
- case "resources/templates/list":
121
- case "resources/read":
122
- if (!this._capabilities.resources) {
123
- throw new Error(`Server does not support resources (required for ${method})`);
124
- }
125
- break;
126
- case "tools/call":
127
- case "tools/list":
128
- if (!this._capabilities.tools) {
129
- throw new Error(`Server does not support tools (required for ${method})`);
130
- }
131
- break;
132
- }
133
- }
134
- async _oninitialize(request) {
135
- const requestedVersion = request.params.protocolVersion;
136
- this._clientCapabilities = request.params.capabilities;
137
- this._clientVersion = request.params.clientInfo;
138
- const protocolVersion = SUPPORTED_PROTOCOL_VERSIONS.includes(requestedVersion) ? requestedVersion : LATEST_PROTOCOL_VERSION;
139
- return {
140
- protocolVersion,
141
- capabilities: this.getCapabilities(),
142
- serverInfo: this._serverInfo,
143
- ...this._instructions && { instructions: this._instructions }
144
- };
145
- }
146
- /**
147
- * After initialization has completed, this will be populated with the client's reported capabilities.
148
- */
149
- getClientCapabilities() {
150
- return this._clientCapabilities;
151
- }
152
- /**
153
- * After initialization has completed, this will be populated with information about the client's name and version.
154
- */
155
- getClientVersion() {
156
- return this._clientVersion;
157
- }
158
- getCapabilities() {
159
- return this._capabilities;
160
- }
161
- async ping() {
162
- return this.request({ method: "ping" }, EmptyResultSchema);
163
- }
164
- async createMessage(params, options) {
165
- var _a, _b;
166
- if (params.tools || params.toolChoice) {
167
- if (!((_b = (_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.sampling) === null || _b === void 0 ? void 0 : _b.tools)) {
168
- throw new Error("Client does not support sampling tools capability.");
169
- }
170
- }
171
- if (params.messages.length > 0) {
172
- const lastMessage = params.messages[params.messages.length - 1];
173
- const lastContent = Array.isArray(lastMessage.content) ? lastMessage.content : [lastMessage.content];
174
- const hasToolResults = lastContent.some((c) => c.type === "tool_result");
175
- const previousMessage = params.messages.length > 1 ? params.messages[params.messages.length - 2] : void 0;
176
- const previousContent = previousMessage ? Array.isArray(previousMessage.content) ? previousMessage.content : [previousMessage.content] : [];
177
- const hasPreviousToolUse = previousContent.some((c) => c.type === "tool_use");
178
- if (hasToolResults) {
179
- if (lastContent.some((c) => c.type !== "tool_result")) {
180
- throw new Error("The last message must contain only tool_result content if any is present");
181
- }
182
- if (!hasPreviousToolUse) {
183
- throw new Error("tool_result blocks are not matching any tool_use from the previous message");
184
- }
185
- }
186
- if (hasPreviousToolUse) {
187
- const toolUseIds = new Set(previousContent.filter((c) => c.type === "tool_use").map((c) => c.id));
188
- const toolResultIds = new Set(lastContent.filter((c) => c.type === "tool_result").map((c) => c.toolUseId));
189
- if (toolUseIds.size !== toolResultIds.size || ![...toolUseIds].every((id) => toolResultIds.has(id))) {
190
- throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match");
191
- }
192
- }
193
- }
194
- return this.request({ method: "sampling/createMessage", params }, CreateMessageResultSchema, options);
195
- }
196
- /**
197
- * Creates an elicitation request for the given parameters.
198
- * For backwards compatibility, `mode` may be omitted for form requests and will default to `'form'`.
199
- * @param params The parameters for the elicitation request.
200
- * @param options Optional request options.
201
- * @returns The result of the elicitation request.
202
- */
203
- async elicitInput(params, options) {
204
- var _a, _b, _c, _d, _e;
205
- const mode = (_a = params.mode) !== null && _a !== void 0 ? _a : "form";
206
- switch (mode) {
207
- case "url": {
208
- if (!((_c = (_b = this._clientCapabilities) === null || _b === void 0 ? void 0 : _b.elicitation) === null || _c === void 0 ? void 0 : _c.url)) {
209
- throw new Error("Client does not support url elicitation.");
210
- }
211
- const urlParams = params;
212
- return this.request({ method: "elicitation/create", params: urlParams }, ElicitResultSchema, options);
213
- }
214
- case "form": {
215
- if (!((_e = (_d = this._clientCapabilities) === null || _d === void 0 ? void 0 : _d.elicitation) === null || _e === void 0 ? void 0 : _e.form)) {
216
- throw new Error("Client does not support form elicitation.");
217
- }
218
- const formParams = params.mode === "form" ? params : { ...params, mode: "form" };
219
- const result = await this.request({ method: "elicitation/create", params: formParams }, ElicitResultSchema, options);
220
- if (result.action === "accept" && result.content && formParams.requestedSchema) {
221
- try {
222
- const validator = this._jsonSchemaValidator.getValidator(formParams.requestedSchema);
223
- const validationResult = validator(result.content);
224
- if (!validationResult.valid) {
225
- throw new McpError(ErrorCode.InvalidParams, `Elicitation response content does not match requested schema: ${validationResult.errorMessage}`);
226
- }
227
- } catch (error) {
228
- if (error instanceof McpError) {
229
- throw error;
230
- }
231
- throw new McpError(ErrorCode.InternalError, `Error validating elicitation response: ${error instanceof Error ? error.message : String(error)}`);
232
- }
233
- }
234
- return result;
235
- }
236
- }
237
- }
238
- /**
239
- * Creates a reusable callback that, when invoked, will send a `notifications/elicitation/complete`
240
- * notification for the specified elicitation ID.
241
- *
242
- * @param elicitationId The ID of the elicitation to mark as complete.
243
- * @param options Optional notification options. Useful when the completion notification should be related to a prior request.
244
- * @returns A function that emits the completion notification when awaited.
245
- */
246
- createElicitationCompletionNotifier(elicitationId, options) {
247
- var _a, _b;
248
- if (!((_b = (_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.elicitation) === null || _b === void 0 ? void 0 : _b.url)) {
249
- throw new Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");
250
- }
251
- return () => this.notification({
252
- method: "notifications/elicitation/complete",
253
- params: {
254
- elicitationId
255
- }
256
- }, options);
257
- }
258
- async listRoots(params, options) {
259
- return this.request({ method: "roots/list", params }, ListRootsResultSchema, options);
260
- }
261
- /**
262
- * Sends a logging message to the client, if connected.
263
- * Note: You only need to send the parameters object, not the entire JSON RPC message
264
- * @see LoggingMessageNotification
265
- * @param params
266
- * @param sessionId optional for stateless and backward compatibility
267
- */
268
- async sendLoggingMessage(params, sessionId) {
269
- if (this._capabilities.logging) {
270
- if (!this.isMessageIgnored(params.level, sessionId)) {
271
- return this.notification({ method: "notifications/message", params });
272
- }
273
- }
274
- }
275
- async sendResourceUpdated(params) {
276
- return this.notification({
277
- method: "notifications/resources/updated",
278
- params
279
- });
280
- }
281
- async sendResourceListChanged() {
282
- return this.notification({
283
- method: "notifications/resources/list_changed"
284
- });
285
- }
286
- async sendToolListChanged() {
287
- return this.notification({ method: "notifications/tools/list_changed" });
288
- }
289
- async sendPromptListChanged() {
290
- return this.notification({ method: "notifications/prompts/list_changed" });
291
- }
292
- }
293
- export {
294
- Server
295
- };
296
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js"],"sourcesContent":["import { mergeCapabilities, Protocol } from '../shared/protocol.js';\nimport { CreateMessageResultSchema, ElicitResultSchema, EmptyResultSchema, ErrorCode, InitializedNotificationSchema, InitializeRequestSchema, LATEST_PROTOCOL_VERSION, ListRootsResultSchema, LoggingLevelSchema, McpError, SetLevelRequestSchema, SUPPORTED_PROTOCOL_VERSIONS } from '../types.js';\nimport { AjvJsonSchemaValidator } from '../validation/ajv-provider.js';\n/**\n * An MCP server on top of a pluggable transport.\n *\n * This server will automatically respond to the initialization flow as initiated from the client.\n *\n * To use with custom types, extend the base Request/Notification/Result types and pass them as type parameters:\n *\n * ```typescript\n * // Custom schemas\n * const CustomRequestSchema = RequestSchema.extend({...})\n * const CustomNotificationSchema = NotificationSchema.extend({...})\n * const CustomResultSchema = ResultSchema.extend({...})\n *\n * // Type aliases\n * type CustomRequest = z.infer<typeof CustomRequestSchema>\n * type CustomNotification = z.infer<typeof CustomNotificationSchema>\n * type CustomResult = z.infer<typeof CustomResultSchema>\n *\n * // Create typed server\n * const server = new Server<CustomRequest, CustomNotification, CustomResult>({\n * name: \"CustomServer\",\n * version: \"1.0.0\"\n * })\n * ```\n * @deprecated Use `McpServer` instead for the high-level API. Only use `Server` for advanced use cases.\n */\nexport class Server extends Protocol {\n /**\n * Initializes this server with the given name and version information.\n */\n constructor(_serverInfo, options) {\n var _a, _b;\n super(options);\n this._serverInfo = _serverInfo;\n // Map log levels by session id\n this._loggingLevels = new Map();\n // Map LogLevelSchema to severity index\n this.LOG_LEVEL_SEVERITY = new Map(LoggingLevelSchema.options.map((level, index) => [level, index]));\n // Is a message with the given level ignored in the log level set for the given session id?\n this.isMessageIgnored = (level, sessionId) => {\n const currentLevel = this._loggingLevels.get(sessionId);\n return currentLevel ? this.LOG_LEVEL_SEVERITY.get(level) < this.LOG_LEVEL_SEVERITY.get(currentLevel) : false;\n };\n this._capabilities = (_a = options === null || options === void 0 ? void 0 : options.capabilities) !== null && _a !== void 0 ? _a : {};\n this._instructions = options === null || options === void 0 ? void 0 : options.instructions;\n this._jsonSchemaValidator = (_b = options === null || options === void 0 ? void 0 : options.jsonSchemaValidator) !== null && _b !== void 0 ? _b : new AjvJsonSchemaValidator();\n this.setRequestHandler(InitializeRequestSchema, request => this._oninitialize(request));\n this.setNotificationHandler(InitializedNotificationSchema, () => { var _a; return (_a = this.oninitialized) === null || _a === void 0 ? void 0 : _a.call(this); });\n if (this._capabilities.logging) {\n this.setRequestHandler(SetLevelRequestSchema, async (request, extra) => {\n var _a;\n const transportSessionId = extra.sessionId || ((_a = extra.requestInfo) === null || _a === void 0 ? void 0 : _a.headers['mcp-session-id']) || undefined;\n const { level } = request.params;\n const parseResult = LoggingLevelSchema.safeParse(level);\n if (parseResult.success) {\n this._loggingLevels.set(transportSessionId, parseResult.data);\n }\n return {};\n });\n }\n }\n /**\n * Registers new capabilities. This can only be called before connecting to a transport.\n *\n * The new capabilities will be merged with any existing capabilities previously given (e.g., at initialization).\n */\n registerCapabilities(capabilities) {\n if (this.transport) {\n throw new Error('Cannot register capabilities after connecting to transport');\n }\n this._capabilities = mergeCapabilities(this._capabilities, capabilities);\n }\n assertCapabilityForMethod(method) {\n var _a, _b, _c;\n switch (method) {\n case 'sampling/createMessage':\n if (!((_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.sampling)) {\n throw new Error(`Client does not support sampling (required for ${method})`);\n }\n break;\n case 'elicitation/create':\n if (!((_b = this._clientCapabilities) === null || _b === void 0 ? void 0 : _b.elicitation)) {\n throw new Error(`Client does not support elicitation (required for ${method})`);\n }\n break;\n case 'roots/list':\n if (!((_c = this._clientCapabilities) === null || _c === void 0 ? void 0 : _c.roots)) {\n throw new Error(`Client does not support listing roots (required for ${method})`);\n }\n break;\n case 'ping':\n // No specific capability required for ping\n break;\n }\n }\n assertNotificationCapability(method) {\n var _a, _b;\n switch (method) {\n case 'notifications/message':\n if (!this._capabilities.logging) {\n throw new Error(`Server does not support logging (required for ${method})`);\n }\n break;\n case 'notifications/resources/updated':\n case 'notifications/resources/list_changed':\n if (!this._capabilities.resources) {\n throw new Error(`Server does not support notifying about resources (required for ${method})`);\n }\n break;\n case 'notifications/tools/list_changed':\n if (!this._capabilities.tools) {\n throw new Error(`Server does not support notifying of tool list changes (required for ${method})`);\n }\n break;\n case 'notifications/prompts/list_changed':\n if (!this._capabilities.prompts) {\n throw new Error(`Server does not support notifying of prompt list changes (required for ${method})`);\n }\n break;\n case 'notifications/elicitation/complete':\n if (!((_b = (_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.elicitation) === null || _b === void 0 ? void 0 : _b.url)) {\n throw new Error(`Client does not support URL elicitation (required for ${method})`);\n }\n break;\n case 'notifications/cancelled':\n // Cancellation notifications are always allowed\n break;\n case 'notifications/progress':\n // Progress notifications are always allowed\n break;\n }\n }\n assertRequestHandlerCapability(method) {\n switch (method) {\n case 'completion/complete':\n if (!this._capabilities.completions) {\n throw new Error(`Server does not support completions (required for ${method})`);\n }\n break;\n case 'logging/setLevel':\n if (!this._capabilities.logging) {\n throw new Error(`Server does not support logging (required for ${method})`);\n }\n break;\n case 'prompts/get':\n case 'prompts/list':\n if (!this._capabilities.prompts) {\n throw new Error(`Server does not support prompts (required for ${method})`);\n }\n break;\n case 'resources/list':\n case 'resources/templates/list':\n case 'resources/read':\n if (!this._capabilities.resources) {\n throw new Error(`Server does not support resources (required for ${method})`);\n }\n break;\n case 'tools/call':\n case 'tools/list':\n if (!this._capabilities.tools) {\n throw new Error(`Server does not support tools (required for ${method})`);\n }\n break;\n case 'ping':\n case 'initialize':\n // No specific capability required for these methods\n break;\n }\n }\n async _oninitialize(request) {\n const requestedVersion = request.params.protocolVersion;\n this._clientCapabilities = request.params.capabilities;\n this._clientVersion = request.params.clientInfo;\n const protocolVersion = SUPPORTED_PROTOCOL_VERSIONS.includes(requestedVersion) ? requestedVersion : LATEST_PROTOCOL_VERSION;\n return {\n protocolVersion,\n capabilities: this.getCapabilities(),\n serverInfo: this._serverInfo,\n ...(this._instructions && { instructions: this._instructions })\n };\n }\n /**\n * After initialization has completed, this will be populated with the client's reported capabilities.\n */\n getClientCapabilities() {\n return this._clientCapabilities;\n }\n /**\n * After initialization has completed, this will be populated with information about the client's name and version.\n */\n getClientVersion() {\n return this._clientVersion;\n }\n getCapabilities() {\n return this._capabilities;\n }\n async ping() {\n return this.request({ method: 'ping' }, EmptyResultSchema);\n }\n async createMessage(params, options) {\n var _a, _b;\n // Capability check - only required when tools/toolChoice are provided\n if (params.tools || params.toolChoice) {\n if (!((_b = (_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.sampling) === null || _b === void 0 ? void 0 : _b.tools)) {\n throw new Error('Client does not support sampling tools capability.');\n }\n }\n // Message structure validation - always validate tool_use/tool_result pairs.\n // These may appear even without tools/toolChoice in the current request when\n // a previous sampling request returned tool_use and this is a follow-up with results.\n if (params.messages.length > 0) {\n const lastMessage = params.messages[params.messages.length - 1];\n const lastContent = Array.isArray(lastMessage.content) ? lastMessage.content : [lastMessage.content];\n const hasToolResults = lastContent.some(c => c.type === 'tool_result');\n const previousMessage = params.messages.length > 1 ? params.messages[params.messages.length - 2] : undefined;\n const previousContent = previousMessage\n ? Array.isArray(previousMessage.content)\n ? previousMessage.content\n : [previousMessage.content]\n : [];\n const hasPreviousToolUse = previousContent.some(c => c.type === 'tool_use');\n if (hasToolResults) {\n if (lastContent.some(c => c.type !== 'tool_result')) {\n throw new Error('The last message must contain only tool_result content if any is present');\n }\n if (!hasPreviousToolUse) {\n throw new Error('tool_result blocks are not matching any tool_use from the previous message');\n }\n }\n if (hasPreviousToolUse) {\n const toolUseIds = new Set(previousContent.filter(c => c.type === 'tool_use').map(c => c.id));\n const toolResultIds = new Set(lastContent.filter(c => c.type === 'tool_result').map(c => c.toolUseId));\n if (toolUseIds.size !== toolResultIds.size || ![...toolUseIds].every(id => toolResultIds.has(id))) {\n throw new Error('ids of tool_result blocks and tool_use blocks from previous message do not match');\n }\n }\n }\n return this.request({ method: 'sampling/createMessage', params }, CreateMessageResultSchema, options);\n }\n /**\n * Creates an elicitation request for the given parameters.\n * For backwards compatibility, `mode` may be omitted for form requests and will default to `'form'`.\n * @param params The parameters for the elicitation request.\n * @param options Optional request options.\n * @returns The result of the elicitation request.\n */\n async elicitInput(params, options) {\n var _a, _b, _c, _d, _e;\n const mode = ((_a = params.mode) !== null && _a !== void 0 ? _a : 'form');\n switch (mode) {\n case 'url': {\n if (!((_c = (_b = this._clientCapabilities) === null || _b === void 0 ? void 0 : _b.elicitation) === null || _c === void 0 ? void 0 : _c.url)) {\n throw new Error('Client does not support url elicitation.');\n }\n const urlParams = params;\n return this.request({ method: 'elicitation/create', params: urlParams }, ElicitResultSchema, options);\n }\n case 'form': {\n if (!((_e = (_d = this._clientCapabilities) === null || _d === void 0 ? void 0 : _d.elicitation) === null || _e === void 0 ? void 0 : _e.form)) {\n throw new Error('Client does not support form elicitation.');\n }\n const formParams = params.mode === 'form' ? params : { ...params, mode: 'form' };\n const result = await this.request({ method: 'elicitation/create', params: formParams }, ElicitResultSchema, options);\n if (result.action === 'accept' && result.content && formParams.requestedSchema) {\n try {\n const validator = this._jsonSchemaValidator.getValidator(formParams.requestedSchema);\n const validationResult = validator(result.content);\n if (!validationResult.valid) {\n throw new McpError(ErrorCode.InvalidParams, `Elicitation response content does not match requested schema: ${validationResult.errorMessage}`);\n }\n }\n catch (error) {\n if (error instanceof McpError) {\n throw error;\n }\n throw new McpError(ErrorCode.InternalError, `Error validating elicitation response: ${error instanceof Error ? error.message : String(error)}`);\n }\n }\n return result;\n }\n }\n }\n /**\n * Creates a reusable callback that, when invoked, will send a `notifications/elicitation/complete`\n * notification for the specified elicitation ID.\n *\n * @param elicitationId The ID of the elicitation to mark as complete.\n * @param options Optional notification options. Useful when the completion notification should be related to a prior request.\n * @returns A function that emits the completion notification when awaited.\n */\n createElicitationCompletionNotifier(elicitationId, options) {\n var _a, _b;\n if (!((_b = (_a = this._clientCapabilities) === null || _a === void 0 ? void 0 : _a.elicitation) === null || _b === void 0 ? void 0 : _b.url)) {\n throw new Error('Client does not support URL elicitation (required for notifications/elicitation/complete)');\n }\n return () => this.notification({\n method: 'notifications/elicitation/complete',\n params: {\n elicitationId\n }\n }, options);\n }\n async listRoots(params, options) {\n return this.request({ method: 'roots/list', params }, ListRootsResultSchema, options);\n }\n /**\n * Sends a logging message to the client, if connected.\n * Note: You only need to send the parameters object, not the entire JSON RPC message\n * @see LoggingMessageNotification\n * @param params\n * @param sessionId optional for stateless and backward compatibility\n */\n async sendLoggingMessage(params, sessionId) {\n if (this._capabilities.logging) {\n if (!this.isMessageIgnored(params.level, sessionId)) {\n return this.notification({ method: 'notifications/message', params });\n }\n }\n }\n async sendResourceUpdated(params) {\n return this.notification({\n method: 'notifications/resources/updated',\n params\n });\n }\n async sendResourceListChanged() {\n return this.notification({\n method: 'notifications/resources/list_changed'\n });\n }\n async sendToolListChanged() {\n return this.notification({ method: 'notifications/tools/list_changed' });\n }\n async sendPromptListChanged() {\n return this.notification({ method: 'notifications/prompts/list_changed' });\n }\n}\n//# sourceMappingURL=index.js.map"],"names":["_a"],"mappings":";;;AA6BO,MAAM,eAAe,SAAS;AAAA;AAAA;AAAA;AAAA,EAIjC,YAAY,aAAa,SAAS;AAC9B,QAAI,IAAI;AACR,UAAM,OAAO;AACb,SAAK,cAAc;AAEnB,SAAK,iBAAiB,oBAAI,IAAG;AAE7B,SAAK,qBAAqB,IAAI,IAAI,mBAAmB,QAAQ,IAAI,CAAC,OAAO,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AAElG,SAAK,mBAAmB,CAAC,OAAO,cAAc;AAC1C,YAAM,eAAe,KAAK,eAAe,IAAI,SAAS;AACtD,aAAO,eAAe,KAAK,mBAAmB,IAAI,KAAK,IAAI,KAAK,mBAAmB,IAAI,YAAY,IAAI;AAAA,IAC3G;AACA,SAAK,iBAAiB,KAAK,YAAY,QAAQ,YAAY,SAAS,SAAS,QAAQ,kBAAkB,QAAQ,OAAO,SAAS,KAAK,CAAA;AACpI,SAAK,gBAAgB,YAAY,QAAQ,YAAY,SAAS,SAAS,QAAQ;AAC/E,SAAK,wBAAwB,KAAK,YAAY,QAAQ,YAAY,SAAS,SAAS,QAAQ,yBAAyB,QAAQ,OAAO,SAAS,KAAK,IAAI,uBAAsB;AAC5K,SAAK,kBAAkB,yBAAyB,aAAW,KAAK,cAAc,OAAO,CAAC;AACtF,SAAK,uBAAuB,+BAA+B,MAAM;AAAE,UAAIA;AAAI,cAAQA,MAAK,KAAK,mBAAmB,QAAQA,QAAO,SAAS,SAASA,IAAG,KAAK,IAAI;AAAA,IAAG,CAAC;AACjK,QAAI,KAAK,cAAc,SAAS;AAC5B,WAAK,kBAAkB,uBAAuB,OAAO,SAAS,UAAU;AACpE,YAAIA;AACJ,cAAM,qBAAqB,MAAM,eAAeA,MAAK,MAAM,iBAAiB,QAAQA,QAAO,SAAS,SAASA,IAAG,QAAQ,gBAAgB,MAAM;AAC9I,cAAM,EAAE,UAAU,QAAQ;AAC1B,cAAM,cAAc,mBAAmB,UAAU,KAAK;AACtD,YAAI,YAAY,SAAS;AACrB,eAAK,eAAe,IAAI,oBAAoB,YAAY,IAAI;AAAA,QAChE;AACA,eAAO,CAAA;AAAA,MACX,CAAC;AAAA,IACL;AAAA,EACJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,qBAAqB,cAAc;AAC/B,QAAI,KAAK,WAAW;AAChB,YAAM,IAAI,MAAM,4DAA4D;AAAA,IAChF;AACA,SAAK,gBAAgB,kBAAkB,KAAK,eAAe,YAAY;AAAA,EAC3E;AAAA,EACA,0BAA0B,QAAQ;AAC9B,QAAI,IAAI,IAAI;AACZ,YAAQ,QAAM;AAAA,MACV,KAAK;AACD,YAAI,GAAG,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,WAAW;AACrF,gBAAM,IAAI,MAAM,kDAAkD,MAAM,GAAG;AAAA,QAC/E;AACA;AAAA,MACJ,KAAK;AACD,YAAI,GAAG,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,cAAc;AACxF,gBAAM,IAAI,MAAM,qDAAqD,MAAM,GAAG;AAAA,QAClF;AACA;AAAA,MACJ,KAAK;AACD,YAAI,GAAG,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,QAAQ;AAClF,gBAAM,IAAI,MAAM,uDAAuD,MAAM,GAAG;AAAA,QACpF;AACA;AAAA,IAIhB;AAAA,EACI;AAAA,EACA,6BAA6B,QAAQ;AACjC,QAAI,IAAI;AACR,YAAQ,QAAM;AAAA,MACV,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,SAAS;AAC7B,gBAAM,IAAI,MAAM,iDAAiD,MAAM,GAAG;AAAA,QAC9E;AACA;AAAA,MACJ,KAAK;AAAA,MACL,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,WAAW;AAC/B,gBAAM,IAAI,MAAM,mEAAmE,MAAM,GAAG;AAAA,QAChG;AACA;AAAA,MACJ,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,OAAO;AAC3B,gBAAM,IAAI,MAAM,wEAAwE,MAAM,GAAG;AAAA,QACrG;AACA;AAAA,MACJ,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,SAAS;AAC7B,gBAAM,IAAI,MAAM,0EAA0E,MAAM,GAAG;AAAA,QACvG;AACA;AAAA,MACJ,KAAK;AACD,YAAI,GAAG,MAAM,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,iBAAiB,QAAQ,OAAO,SAAS,SAAS,GAAG,MAAM;AAC3I,gBAAM,IAAI,MAAM,yDAAyD,MAAM,GAAG;AAAA,QACtF;AACA;AAAA,IAOhB;AAAA,EACI;AAAA,EACA,+BAA+B,QAAQ;AACnC,YAAQ,QAAM;AAAA,MACV,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,aAAa;AACjC,gBAAM,IAAI,MAAM,qDAAqD,MAAM,GAAG;AAAA,QAClF;AACA;AAAA,MACJ,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,SAAS;AAC7B,gBAAM,IAAI,MAAM,iDAAiD,MAAM,GAAG;AAAA,QAC9E;AACA;AAAA,MACJ,KAAK;AAAA,MACL,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,SAAS;AAC7B,gBAAM,IAAI,MAAM,iDAAiD,MAAM,GAAG;AAAA,QAC9E;AACA;AAAA,MACJ,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,WAAW;AAC/B,gBAAM,IAAI,MAAM,mDAAmD,MAAM,GAAG;AAAA,QAChF;AACA;AAAA,MACJ,KAAK;AAAA,MACL,KAAK;AACD,YAAI,CAAC,KAAK,cAAc,OAAO;AAC3B,gBAAM,IAAI,MAAM,+CAA+C,MAAM,GAAG;AAAA,QAC5E;AACA;AAAA,IAKhB;AAAA,EACI;AAAA,EACA,MAAM,cAAc,SAAS;AACzB,UAAM,mBAAmB,QAAQ,OAAO;AACxC,SAAK,sBAAsB,QAAQ,OAAO;AAC1C,SAAK,iBAAiB,QAAQ,OAAO;AACrC,UAAM,kBAAkB,4BAA4B,SAAS,gBAAgB,IAAI,mBAAmB;AACpG,WAAO;AAAA,MACH;AAAA,MACA,cAAc,KAAK,gBAAe;AAAA,MAClC,YAAY,KAAK;AAAA,MACjB,GAAI,KAAK,iBAAiB,EAAE,cAAc,KAAK,cAAa;AAAA,IACxE;AAAA,EACI;AAAA;AAAA;AAAA;AAAA,EAIA,wBAAwB;AACpB,WAAO,KAAK;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA,EAIA,mBAAmB;AACf,WAAO,KAAK;AAAA,EAChB;AAAA,EACA,kBAAkB;AACd,WAAO,KAAK;AAAA,EAChB;AAAA,EACA,MAAM,OAAO;AACT,WAAO,KAAK,QAAQ,EAAE,QAAQ,OAAM,GAAI,iBAAiB;AAAA,EAC7D;AAAA,EACA,MAAM,cAAc,QAAQ,SAAS;AACjC,QAAI,IAAI;AAER,QAAI,OAAO,SAAS,OAAO,YAAY;AACnC,UAAI,GAAG,MAAM,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,cAAc,QAAQ,OAAO,SAAS,SAAS,GAAG,QAAQ;AAC1I,cAAM,IAAI,MAAM,oDAAoD;AAAA,MACxE;AAAA,IACJ;AAIA,QAAI,OAAO,SAAS,SAAS,GAAG;AAC5B,YAAM,cAAc,OAAO,SAAS,OAAO,SAAS,SAAS,CAAC;AAC9D,YAAM,cAAc,MAAM,QAAQ,YAAY,OAAO,IAAI,YAAY,UAAU,CAAC,YAAY,OAAO;AACnG,YAAM,iBAAiB,YAAY,KAAK,OAAK,EAAE,SAAS,aAAa;AACrE,YAAM,kBAAkB,OAAO,SAAS,SAAS,IAAI,OAAO,SAAS,OAAO,SAAS,SAAS,CAAC,IAAI;AACnG,YAAM,kBAAkB,kBAClB,MAAM,QAAQ,gBAAgB,OAAO,IACjC,gBAAgB,UAChB,CAAC,gBAAgB,OAAO,IAC5B,CAAA;AACN,YAAM,qBAAqB,gBAAgB,KAAK,OAAK,EAAE,SAAS,UAAU;AAC1E,UAAI,gBAAgB;AAChB,YAAI,YAAY,KAAK,OAAK,EAAE,SAAS,aAAa,GAAG;AACjD,gBAAM,IAAI,MAAM,0EAA0E;AAAA,QAC9F;AACA,YAAI,CAAC,oBAAoB;AACrB,gBAAM,IAAI,MAAM,4EAA4E;AAAA,QAChG;AAAA,MACJ;AACA,UAAI,oBAAoB;AACpB,cAAM,aAAa,IAAI,IAAI,gBAAgB,OAAO,OAAK,EAAE,SAAS,UAAU,EAAE,IAAI,OAAK,EAAE,EAAE,CAAC;AAC5F,cAAM,gBAAgB,IAAI,IAAI,YAAY,OAAO,OAAK,EAAE,SAAS,aAAa,EAAE,IAAI,OAAK,EAAE,SAAS,CAAC;AACrG,YAAI,WAAW,SAAS,cAAc,QAAQ,CAAC,CAAC,GAAG,UAAU,EAAE,MAAM,QAAM,cAAc,IAAI,EAAE,CAAC,GAAG;AAC/F,gBAAM,IAAI,MAAM,kFAAkF;AAAA,QACtG;AAAA,MACJ;AAAA,IACJ;AACA,WAAO,KAAK,QAAQ,EAAE,QAAQ,0BAA0B,OAAM,GAAI,2BAA2B,OAAO;AAAA,EACxG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,YAAY,QAAQ,SAAS;AAC/B,QAAI,IAAI,IAAI,IAAI,IAAI;AACpB,UAAM,QAAS,KAAK,OAAO,UAAU,QAAQ,OAAO,SAAS,KAAK;AAClE,YAAQ,MAAI;AAAA,MACR,KAAK,OAAO;AACR,YAAI,GAAG,MAAM,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,iBAAiB,QAAQ,OAAO,SAAS,SAAS,GAAG,MAAM;AAC3I,gBAAM,IAAI,MAAM,0CAA0C;AAAA,QAC9D;AACA,cAAM,YAAY;AAClB,eAAO,KAAK,QAAQ,EAAE,QAAQ,sBAAsB,QAAQ,UAAS,GAAI,oBAAoB,OAAO;AAAA,MACxG;AAAA,MACA,KAAK,QAAQ;AACT,YAAI,GAAG,MAAM,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,iBAAiB,QAAQ,OAAO,SAAS,SAAS,GAAG,OAAO;AAC5I,gBAAM,IAAI,MAAM,2CAA2C;AAAA,QAC/D;AACA,cAAM,aAAa,OAAO,SAAS,SAAS,SAAS,EAAE,GAAG,QAAQ,MAAM,OAAM;AAC9E,cAAM,SAAS,MAAM,KAAK,QAAQ,EAAE,QAAQ,sBAAsB,QAAQ,cAAc,oBAAoB,OAAO;AACnH,YAAI,OAAO,WAAW,YAAY,OAAO,WAAW,WAAW,iBAAiB;AAC5E,cAAI;AACA,kBAAM,YAAY,KAAK,qBAAqB,aAAa,WAAW,eAAe;AACnF,kBAAM,mBAAmB,UAAU,OAAO,OAAO;AACjD,gBAAI,CAAC,iBAAiB,OAAO;AACzB,oBAAM,IAAI,SAAS,UAAU,eAAe,iEAAiE,iBAAiB,YAAY,EAAE;AAAA,YAChJ;AAAA,UACJ,SACO,OAAO;AACV,gBAAI,iBAAiB,UAAU;AAC3B,oBAAM;AAAA,YACV;AACA,kBAAM,IAAI,SAAS,UAAU,eAAe,0CAA0C,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,CAAC,EAAE;AAAA,UAClJ;AAAA,QACJ;AACA,eAAO;AAAA,MACX;AAAA,IACZ;AAAA,EACI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,oCAAoC,eAAe,SAAS;AACxD,QAAI,IAAI;AACR,QAAI,GAAG,MAAM,KAAK,KAAK,yBAAyB,QAAQ,OAAO,SAAS,SAAS,GAAG,iBAAiB,QAAQ,OAAO,SAAS,SAAS,GAAG,MAAM;AAC3I,YAAM,IAAI,MAAM,2FAA2F;AAAA,IAC/G;AACA,WAAO,MAAM,KAAK,aAAa;AAAA,MAC3B,QAAQ;AAAA,MACR,QAAQ;AAAA,QACJ;AAAA,MAChB;AAAA,IACA,GAAW,OAAO;AAAA,EACd;AAAA,EACA,MAAM,UAAU,QAAQ,SAAS;AAC7B,WAAO,KAAK,QAAQ,EAAE,QAAQ,cAAc,OAAM,GAAI,uBAAuB,OAAO;AAAA,EACxF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,mBAAmB,QAAQ,WAAW;AACxC,QAAI,KAAK,cAAc,SAAS;AAC5B,UAAI,CAAC,KAAK,iBAAiB,OAAO,OAAO,SAAS,GAAG;AACjD,eAAO,KAAK,aAAa,EAAE,QAAQ,yBAAyB,OAAM,CAAE;AAAA,MACxE;AAAA,IACJ;AAAA,EACJ;AAAA,EACA,MAAM,oBAAoB,QAAQ;AAC9B,WAAO,KAAK,aAAa;AAAA,MACrB,QAAQ;AAAA,MACR;AAAA,IACZ,CAAS;AAAA,EACL;AAAA,EACA,MAAM,0BAA0B;AAC5B,WAAO,KAAK,aAAa;AAAA,MACrB,QAAQ;AAAA,IACpB,CAAS;AAAA,EACL;AAAA,EACA,MAAM,sBAAsB;AACxB,WAAO,KAAK,aAAa,EAAE,QAAQ,mCAAkC,CAAE;AAAA,EAC3E;AAAA,EACA,MAAM,wBAAwB;AAC1B,WAAO,KAAK,aAAa,EAAE,QAAQ,qCAAoC,CAAE;AAAA,EAC7E;AACJ;","x_google_ignoreList":[0]}
@@ -1,71 +0,0 @@
1
- import { safeParse as safeParse$1 } from "../../../../../zod/v4/core/parse.js";
2
- function isZ4Schema(s) {
3
- const schema = s;
4
- return !!schema._zod;
5
- }
6
- function safeParse(schema, data) {
7
- if (isZ4Schema(schema)) {
8
- const result2 = safeParse$1(schema, data);
9
- return result2;
10
- }
11
- const v3Schema = schema;
12
- const result = v3Schema.safeParse(data);
13
- return result;
14
- }
15
- function getObjectShape(schema) {
16
- var _a, _b;
17
- if (!schema)
18
- return void 0;
19
- let rawShape;
20
- if (isZ4Schema(schema)) {
21
- const v4Schema = schema;
22
- rawShape = (_b = (_a = v4Schema._zod) === null || _a === void 0 ? void 0 : _a.def) === null || _b === void 0 ? void 0 : _b.shape;
23
- } else {
24
- const v3Schema = schema;
25
- rawShape = v3Schema.shape;
26
- }
27
- if (!rawShape)
28
- return void 0;
29
- if (typeof rawShape === "function") {
30
- try {
31
- return rawShape();
32
- } catch (_c) {
33
- return void 0;
34
- }
35
- }
36
- return rawShape;
37
- }
38
- function getLiteralValue(schema) {
39
- var _a;
40
- if (isZ4Schema(schema)) {
41
- const v4Schema = schema;
42
- const def2 = (_a = v4Schema._zod) === null || _a === void 0 ? void 0 : _a.def;
43
- if (def2) {
44
- if (def2.value !== void 0)
45
- return def2.value;
46
- if (Array.isArray(def2.values) && def2.values.length > 0) {
47
- return def2.values[0];
48
- }
49
- }
50
- }
51
- const v3Schema = schema;
52
- const def = v3Schema._def;
53
- if (def) {
54
- if (def.value !== void 0)
55
- return def.value;
56
- if (Array.isArray(def.values) && def.values.length > 0) {
57
- return def.values[0];
58
- }
59
- }
60
- const directValue = schema.value;
61
- if (directValue !== void 0)
62
- return directValue;
63
- return void 0;
64
- }
65
- export {
66
- getLiteralValue,
67
- getObjectShape,
68
- isZ4Schema,
69
- safeParse
70
- };
71
- //# sourceMappingURL=zod-compat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"zod-compat.js","sources":["../../../../../../../../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js"],"sourcesContent":["// zod-compat.ts\n// ----------------------------------------------------\n// Unified types + helpers to accept Zod v3 and v4 (Mini)\n// ----------------------------------------------------\nimport * as z3rt from 'zod/v3';\nimport * as z4mini from 'zod/v4-mini';\n// --- Runtime detection ---\nexport function isZ4Schema(s) {\n // Present on Zod 4 (Classic & Mini) schemas; absent on Zod 3\n const schema = s;\n return !!schema._zod;\n}\n// --- Schema construction ---\nexport function objectFromShape(shape) {\n const values = Object.values(shape);\n if (values.length === 0)\n return z4mini.object({}); // default to v4 Mini\n const allV4 = values.every(isZ4Schema);\n const allV3 = values.every(s => !isZ4Schema(s));\n if (allV4)\n return z4mini.object(shape);\n if (allV3)\n return z3rt.object(shape);\n throw new Error('Mixed Zod versions detected in object shape.');\n}\n// --- Unified parsing ---\nexport function safeParse(schema, data) {\n if (isZ4Schema(schema)) {\n // Mini exposes top-level safeParse\n const result = z4mini.safeParse(schema, data);\n return result;\n }\n const v3Schema = schema;\n const result = v3Schema.safeParse(data);\n return result;\n}\nexport async function safeParseAsync(schema, data) {\n if (isZ4Schema(schema)) {\n // Mini exposes top-level safeParseAsync\n const result = await z4mini.safeParseAsync(schema, data);\n return result;\n }\n const v3Schema = schema;\n const result = await v3Schema.safeParseAsync(data);\n return result;\n}\n// --- Shape extraction ---\nexport function getObjectShape(schema) {\n var _a, _b;\n if (!schema)\n return undefined;\n // Zod v3 exposes `.shape`; Zod v4 keeps the shape on `_zod.def.shape`\n let rawShape;\n if (isZ4Schema(schema)) {\n const v4Schema = schema;\n rawShape = (_b = (_a = v4Schema._zod) === null || _a === void 0 ? void 0 : _a.def) === null || _b === void 0 ? void 0 : _b.shape;\n }\n else {\n const v3Schema = schema;\n rawShape = v3Schema.shape;\n }\n if (!rawShape)\n return undefined;\n if (typeof rawShape === 'function') {\n try {\n return rawShape();\n }\n catch (_c) {\n return undefined;\n }\n }\n return rawShape;\n}\n// --- Schema normalization ---\n/**\n * Normalizes a schema to an object schema. Handles both:\n * - Already-constructed object schemas (v3 or v4)\n * - Raw shapes that need to be wrapped into object schemas\n */\nexport function normalizeObjectSchema(schema) {\n var _a;\n if (!schema)\n return undefined;\n // First check if it's a raw shape (Record<string, AnySchema>)\n // Raw shapes don't have _def or _zod properties and aren't schemas themselves\n if (typeof schema === 'object') {\n // Check if it's actually a ZodRawShapeCompat (not a schema instance)\n // by checking if it lacks schema-like internal properties\n const asV3 = schema;\n const asV4 = schema;\n // If it's not a schema instance (no _def or _zod), it might be a raw shape\n if (!asV3._def && !asV4._zod) {\n // Check if all values are schemas (heuristic to confirm it's a raw shape)\n const values = Object.values(schema);\n if (values.length > 0 &&\n values.every(v => typeof v === 'object' &&\n v !== null &&\n (v._def !== undefined ||\n v._zod !== undefined ||\n typeof v.parse === 'function'))) {\n return objectFromShape(schema);\n }\n }\n }\n // If we get here, it should be an AnySchema (not a raw shape)\n // Check if it's already an object schema\n if (isZ4Schema(schema)) {\n // Check if it's a v4 object\n const v4Schema = schema;\n const def = (_a = v4Schema._zod) === null || _a === void 0 ? void 0 : _a.def;\n if (def && (def.typeName === 'object' || def.shape !== undefined)) {\n return schema;\n }\n }\n else {\n // Check if it's a v3 object\n const v3Schema = schema;\n if (v3Schema.shape !== undefined) {\n return schema;\n }\n }\n return undefined;\n}\n// --- Error message extraction ---\n/**\n * Safely extracts an error message from a parse result error.\n * Zod errors can have different structures, so we handle various cases.\n */\nexport function getParseErrorMessage(error) {\n if (error && typeof error === 'object') {\n // Try common error structures\n if ('message' in error && typeof error.message === 'string') {\n return error.message;\n }\n if ('issues' in error && Array.isArray(error.issues) && error.issues.length > 0) {\n const firstIssue = error.issues[0];\n if (firstIssue && typeof firstIssue === 'object' && 'message' in firstIssue) {\n return String(firstIssue.message);\n }\n }\n // Fallback: try to stringify the error\n try {\n return JSON.stringify(error);\n }\n catch (_a) {\n return String(error);\n }\n }\n return String(error);\n}\n// --- Schema metadata access ---\n/**\n * Gets the description from a schema, if available.\n * Works with both Zod v3 and v4.\n */\nexport function getSchemaDescription(schema) {\n var _a, _b, _c, _d;\n if (isZ4Schema(schema)) {\n const v4Schema = schema;\n return (_b = (_a = v4Schema._zod) === null || _a === void 0 ? void 0 : _a.def) === null || _b === void 0 ? void 0 : _b.description;\n }\n const v3Schema = schema;\n // v3 may have description on the schema itself or in _def\n return (_c = schema.description) !== null && _c !== void 0 ? _c : (_d = v3Schema._def) === null || _d === void 0 ? void 0 : _d.description;\n}\n/**\n * Checks if a schema is optional.\n * Works with both Zod v3 and v4.\n */\nexport function isSchemaOptional(schema) {\n var _a, _b, _c;\n if (isZ4Schema(schema)) {\n const v4Schema = schema;\n return ((_b = (_a = v4Schema._zod) === null || _a === void 0 ? void 0 : _a.def) === null || _b === void 0 ? void 0 : _b.typeName) === 'ZodOptional';\n }\n const v3Schema = schema;\n // v3 has isOptional() method\n if (typeof schema.isOptional === 'function') {\n return schema.isOptional();\n }\n return ((_c = v3Schema._def) === null || _c === void 0 ? void 0 : _c.typeName) === 'ZodOptional';\n}\n/**\n * Gets the literal value from a schema, if it's a literal schema.\n * Works with both Zod v3 and v4.\n * Returns undefined if the schema is not a literal or the value cannot be determined.\n */\nexport function getLiteralValue(schema) {\n var _a;\n if (isZ4Schema(schema)) {\n const v4Schema = schema;\n const def = (_a = v4Schema._zod) === null || _a === void 0 ? void 0 : _a.def;\n if (def) {\n // Try various ways to get the literal value\n if (def.value !== undefined)\n return def.value;\n if (Array.isArray(def.values) && def.values.length > 0) {\n return def.values[0];\n }\n }\n }\n const v3Schema = schema;\n const def = v3Schema._def;\n if (def) {\n if (def.value !== undefined)\n return def.value;\n if (Array.isArray(def.values) && def.values.length > 0) {\n return def.values[0];\n }\n }\n // Fallback: check for direct value property (some Zod versions)\n const directValue = schema.value;\n if (directValue !== undefined)\n return directValue;\n return undefined;\n}\n//# sourceMappingURL=zod-compat.js.map"],"names":["result","z4mini.safeParse","def"],"mappings":";AAOO,SAAS,WAAW,GAAG;AAE1B,QAAM,SAAS;AACf,SAAO,CAAC,CAAC,OAAO;AACpB;AAeO,SAAS,UAAU,QAAQ,MAAM;AACpC,MAAI,WAAW,MAAM,GAAG;AAEpB,UAAMA,UAASC,YAAiB,QAAQ,IAAI;AAC5C,WAAOD;AAAA,EACX;AACA,QAAM,WAAW;AACjB,QAAM,SAAS,SAAS,UAAU,IAAI;AACtC,SAAO;AACX;AAYO,SAAS,eAAe,QAAQ;AACnC,MAAI,IAAI;AACR,MAAI,CAAC;AACD,WAAO;AAEX,MAAI;AACJ,MAAI,WAAW,MAAM,GAAG;AACpB,UAAM,WAAW;AACjB,gBAAY,MAAM,KAAK,SAAS,UAAU,QAAQ,OAAO,SAAS,SAAS,GAAG,SAAS,QAAQ,OAAO,SAAS,SAAS,GAAG;AAAA,EAC/H,OACK;AACD,UAAM,WAAW;AACjB,eAAW,SAAS;AAAA,EACxB;AACA,MAAI,CAAC;AACD,WAAO;AACX,MAAI,OAAO,aAAa,YAAY;AAChC,QAAI;AACA,aAAO,SAAQ;AAAA,IACnB,SACO,IAAI;AACP,aAAO;AAAA,IACX;AAAA,EACJ;AACA,SAAO;AACX;AAmHO,SAAS,gBAAgB,QAAQ;AACpC,MAAI;AACJ,MAAI,WAAW,MAAM,GAAG;AACpB,UAAM,WAAW;AACjB,UAAME,QAAO,KAAK,SAAS,UAAU,QAAQ,OAAO,SAAS,SAAS,GAAG;AACzE,QAAIA,MAAK;AAEL,UAAIA,KAAI,UAAU;AACd,eAAOA,KAAI;AACf,UAAI,MAAM,QAAQA,KAAI,MAAM,KAAKA,KAAI,OAAO,SAAS,GAAG;AACpD,eAAOA,KAAI,OAAO,CAAC;AAAA,MACvB;AAAA,IACJ;AAAA,EACJ;AACA,QAAM,WAAW;AACjB,QAAM,MAAM,SAAS;AACrB,MAAI,KAAK;AACL,QAAI,IAAI,UAAU;AACd,aAAO,IAAI;AACf,QAAI,MAAM,QAAQ,IAAI,MAAM,KAAK,IAAI,OAAO,SAAS,GAAG;AACpD,aAAO,IAAI,OAAO,CAAC;AAAA,IACvB;AAAA,EACJ;AAEA,QAAM,cAAc,OAAO;AAC3B,MAAI,gBAAgB;AAChB,WAAO;AACX,SAAO;AACX;","x_google_ignoreList":[0]}
@@ -1,26 +0,0 @@
1
- import { getObjectShape, getLiteralValue, safeParse } from "./zod-compat.js";
2
- import "../../../../../zod-to-json-schema/dist/esm/parsers/string.js";
3
- function getMethodLiteral(schema) {
4
- const shape = getObjectShape(schema);
5
- const methodSchema = shape === null || shape === void 0 ? void 0 : shape.method;
6
- if (!methodSchema) {
7
- throw new Error("Schema is missing a method literal");
8
- }
9
- const value = getLiteralValue(methodSchema);
10
- if (typeof value !== "string") {
11
- throw new Error("Schema method literal must be a string");
12
- }
13
- return value;
14
- }
15
- function parseWithCompat(schema, data) {
16
- const result = safeParse(schema, data);
17
- if (!result.success) {
18
- throw result.error;
19
- }
20
- return result.data;
21
- }
22
- export {
23
- getMethodLiteral,
24
- parseWithCompat
25
- };
26
- //# sourceMappingURL=zod-json-schema-compat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"zod-json-schema-compat.js","sources":["../../../../../../../../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js"],"sourcesContent":["// zod-json-schema-compat.ts\n// ----------------------------------------------------\n// JSON Schema conversion for both Zod v3 and Zod v4 (Mini)\n// v3 uses your vendored converter; v4 uses Mini's toJSONSchema\n// ----------------------------------------------------\nimport * as z4mini from 'zod/v4-mini';\nimport { getObjectShape, safeParse, isZ4Schema, getLiteralValue } from './zod-compat.js';\nimport { zodToJsonSchema } from 'zod-to-json-schema';\nfunction mapMiniTarget(t) {\n if (!t)\n return 'draft-7';\n if (t === 'jsonSchema7' || t === 'draft-7')\n return 'draft-7';\n if (t === 'jsonSchema2019-09' || t === 'draft-2020-12')\n return 'draft-2020-12';\n return 'draft-7'; // fallback\n}\nexport function toJsonSchemaCompat(schema, opts) {\n var _a, _b, _c;\n if (isZ4Schema(schema)) {\n // v4 branch — use Mini's built-in toJSONSchema\n return z4mini.toJSONSchema(schema, {\n target: mapMiniTarget(opts === null || opts === void 0 ? void 0 : opts.target),\n io: (_a = opts === null || opts === void 0 ? void 0 : opts.pipeStrategy) !== null && _a !== void 0 ? _a : 'input'\n });\n }\n // v3 branch — use vendored converter\n return zodToJsonSchema(schema, {\n strictUnions: (_b = opts === null || opts === void 0 ? void 0 : opts.strictUnions) !== null && _b !== void 0 ? _b : true,\n pipeStrategy: (_c = opts === null || opts === void 0 ? void 0 : opts.pipeStrategy) !== null && _c !== void 0 ? _c : 'input'\n });\n}\nexport function getMethodLiteral(schema) {\n const shape = getObjectShape(schema);\n const methodSchema = shape === null || shape === void 0 ? void 0 : shape.method;\n if (!methodSchema) {\n throw new Error('Schema is missing a method literal');\n }\n const value = getLiteralValue(methodSchema);\n if (typeof value !== 'string') {\n throw new Error('Schema method literal must be a string');\n }\n return value;\n}\nexport function parseWithCompat(schema, data) {\n const result = safeParse(schema, data);\n if (!result.success) {\n throw result.error;\n }\n return result.data;\n}\n//# sourceMappingURL=zod-json-schema-compat.js.map"],"names":[],"mappings":";;AAgCO,SAAS,iBAAiB,QAAQ;AACrC,QAAM,QAAQ,eAAe,MAAM;AACnC,QAAM,eAAe,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM;AACzE,MAAI,CAAC,cAAc;AACf,UAAM,IAAI,MAAM,oCAAoC;AAAA,EACxD;AACA,QAAM,QAAQ,gBAAgB,YAAY;AAC1C,MAAI,OAAO,UAAU,UAAU;AAC3B,UAAM,IAAI,MAAM,wCAAwC;AAAA,EAC5D;AACA,SAAO;AACX;AACO,SAAS,gBAAgB,QAAQ,MAAM;AAC1C,QAAM,SAAS,UAAU,QAAQ,IAAI;AACrC,MAAI,CAAC,OAAO,SAAS;AACjB,UAAM,OAAO;AAAA,EACjB;AACA,SAAO,OAAO;AAClB;","x_google_ignoreList":[0]}