@nocobase/plugin-mcp-server 2.2.0-alpha.2 → 2.2.0-alpha.4

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 (134) hide show
  1. package/dist/externalVersion.js +6 -6
  2. package/dist/node_modules/light-my-request/package.json +1 -1
  3. package/dist/node_modules/openapi-types/package.json +1 -1
  4. package/package.json +2 -2
  5. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
  6. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/.github/FUNDING.yml +0 -1
  7. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/.prettierrc.json +0 -1
  8. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/LICENSE +0 -15
  9. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/README.md +0 -390
  10. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/changelog.md +0 -83
  11. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/contributing.md +0 -9
  12. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/createIndex.ts +0 -32
  13. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/Options.js +0 -51
  14. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/Refs.js +0 -26
  15. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +0 -19
  16. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/getRelativePath.js +0 -12
  17. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/index.js +0 -56
  18. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/package.json +0 -1
  19. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +0 -66
  20. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +0 -2
  21. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +0 -21
  22. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +0 -30
  23. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +0 -53
  24. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +0 -9
  25. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +0 -8
  26. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +0 -8
  27. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +0 -50
  28. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +0 -11
  29. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +0 -11
  30. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +0 -10
  31. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +0 -56
  32. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +0 -25
  33. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +0 -30
  34. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +0 -20
  35. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +0 -15
  36. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +0 -14
  37. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +0 -37
  38. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +0 -56
  39. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +0 -76
  40. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +0 -25
  41. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +0 -24
  42. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +0 -8
  43. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +0 -8
  44. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +0 -65
  45. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +0 -24
  46. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +0 -356
  47. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +0 -36
  48. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +0 -10
  49. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +0 -84
  50. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +0 -8
  51. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +0 -109
  52. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +0 -90
  53. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/Options.js +0 -46
  54. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/Refs.js +0 -22
  55. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +0 -14
  56. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +0 -8
  57. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/index.js +0 -40
  58. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/package.json +0 -1
  59. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parseDef.js +0 -62
  60. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +0 -1
  61. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +0 -17
  62. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +0 -26
  63. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +0 -49
  64. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +0 -5
  65. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +0 -4
  66. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +0 -4
  67. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +0 -46
  68. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +0 -7
  69. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +0 -7
  70. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +0 -6
  71. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +0 -52
  72. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +0 -21
  73. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +0 -26
  74. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +0 -16
  75. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +0 -11
  76. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +0 -10
  77. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +0 -33
  78. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +0 -52
  79. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +0 -72
  80. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +0 -21
  81. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +0 -20
  82. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +0 -4
  83. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +0 -4
  84. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +0 -61
  85. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +0 -20
  86. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -352
  87. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +0 -32
  88. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +0 -6
  89. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +0 -80
  90. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +0 -4
  91. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/selectParser.js +0 -105
  92. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +0 -87
  93. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/Options.d.ts +0 -37
  94. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +0 -17
  95. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +0 -15
  96. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +0 -1
  97. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/index.d.ts +0 -40
  98. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +0 -4
  99. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +0 -34
  100. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +0 -5
  101. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +0 -12
  102. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +0 -14
  103. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +0 -4
  104. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +0 -3
  105. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +0 -3
  106. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +0 -15
  107. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +0 -6
  108. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +0 -4
  109. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +0 -6
  110. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +0 -8
  111. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +0 -9
  112. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +0 -15
  113. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +0 -6
  114. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +0 -6
  115. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +0 -5
  116. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +0 -10
  117. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +0 -13
  118. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +0 -10
  119. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +0 -4
  120. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +0 -5
  121. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +0 -4
  122. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +0 -3
  123. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +0 -13
  124. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +0 -13
  125. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +0 -73
  126. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +0 -13
  127. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +0 -6
  128. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +0 -23
  129. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +0 -4
  130. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +0 -5
  131. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +0 -10
  132. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/package.json +0 -85
  133. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/postcjs.ts +0 -3
  134. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema/postesm.ts +0 -3
@@ -8,10 +8,10 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/flow-engine": "2.2.0-alpha.2",
12
- "@nocobase/client": "2.2.0-alpha.2",
13
- "@nocobase/ai": "2.2.0-alpha.2",
14
- "@nocobase/server": "2.2.0-alpha.2",
15
- "@nocobase/utils": "2.2.0-alpha.2",
16
- "@nocobase/plugin-idp-oauth": "2.2.0-alpha.2"
11
+ "@nocobase/flow-engine": "2.2.0-alpha.4",
12
+ "@nocobase/client": "2.2.0-alpha.4",
13
+ "@nocobase/ai": "2.2.0-alpha.4",
14
+ "@nocobase/server": "2.2.0-alpha.4",
15
+ "@nocobase/utils": "2.2.0-alpha.4",
16
+ "@nocobase/plugin-idp-oauth": "2.2.0-alpha.4"
17
17
  };
@@ -1 +1 @@
1
- {"name":"light-my-request","version":"6.6.0","description":"Fake HTTP injection library","main":"index.js","type":"commonjs","types":"types/index.d.ts","dependencies":{"cookie":"^1.0.1","process-warning":"^4.0.0","set-cookie-parser":"^2.6.0"},"devDependencies":{"@fastify/ajv-compiler":"^4.0.0","@fastify/pre-commit":"^2.1.0","@types/node":"^22.7.7","c8":"^10.1.2","end-of-stream":"^1.4.4","eslint":"^9.17.0","express":"^4.19.2","form-auto-content":"^3.2.1","form-data":"^4.0.0","formdata-node":"^6.0.3","multer":"^1.4.5-lts.1","neostandard":"^0.12.0","tinybench":"^3.0.0","tsd":"^0.31.0","undici":"^7.0.0"},"scripts":{"benchmark":"node benchmark/benchmark.js","coverage":"npm run unit -- --cov --coverage-report=html","lint":"eslint","lint:fix":"eslint --fix","test":"npm run lint && npm run test:unit && npm run test:typescript","test:typescript":"tsd","test:unit":"c8 --100 node --test"},"repository":{"type":"git","url":"git+https://github.com/fastify/light-my-request.git"},"keywords":["http","inject","fake","request","server"],"author":"Tomas Della Vedova - @delvedor (http://delved.org)","contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"name":"Frazer Smith","email":"frazer.dev@icloud.com","url":"https://github.com/fdawgs"}],"license":"BSD-3-Clause","bugs":{"url":"https://github.com/fastify/light-my-request/issues"},"homepage":"https://github.com/fastify/light-my-request#readme","funding":[{"type":"github","url":"https://github.com/sponsors/fastify"},{"type":"opencollective","url":"https://opencollective.com/fastify"}],"_lastModified":"2026-06-26T03:50:41.638Z"}
1
+ {"name":"light-my-request","version":"6.6.0","description":"Fake HTTP injection library","main":"index.js","type":"commonjs","types":"types/index.d.ts","dependencies":{"cookie":"^1.0.1","process-warning":"^4.0.0","set-cookie-parser":"^2.6.0"},"devDependencies":{"@fastify/ajv-compiler":"^4.0.0","@fastify/pre-commit":"^2.1.0","@types/node":"^22.7.7","c8":"^10.1.2","end-of-stream":"^1.4.4","eslint":"^9.17.0","express":"^4.19.2","form-auto-content":"^3.2.1","form-data":"^4.0.0","formdata-node":"^6.0.3","multer":"^1.4.5-lts.1","neostandard":"^0.12.0","tinybench":"^3.0.0","tsd":"^0.31.0","undici":"^7.0.0"},"scripts":{"benchmark":"node benchmark/benchmark.js","coverage":"npm run unit -- --cov --coverage-report=html","lint":"eslint","lint:fix":"eslint --fix","test":"npm run lint && npm run test:unit && npm run test:typescript","test:typescript":"tsd","test:unit":"c8 --100 node --test"},"repository":{"type":"git","url":"git+https://github.com/fastify/light-my-request.git"},"keywords":["http","inject","fake","request","server"],"author":"Tomas Della Vedova - @delvedor (http://delved.org)","contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"name":"Frazer Smith","email":"frazer.dev@icloud.com","url":"https://github.com/fdawgs"}],"license":"BSD-3-Clause","bugs":{"url":"https://github.com/fastify/light-my-request/issues"},"homepage":"https://github.com/fastify/light-my-request#readme","funding":[{"type":"github","url":"https://github.com/sponsors/fastify"},{"type":"opencollective","url":"https://opencollective.com/fastify"}],"_lastModified":"2026-07-01T07:57:07.216Z"}
@@ -1 +1 @@
1
- {"name":"openapi-types","version":"12.1.3","description":"Types for OpenAPI documents.","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"prepare":"../../bin/tsc","test-watch":"../../bin/tsc"},"keywords":["openapi","swagger","types","typescript"],"author":"Joseph Spencer","bugs":{"url":"https://github.com/kogosoftwarellc/open-api/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Aopenapi-types"},"repository":"https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types","homepage":"https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types#readme","license":"MIT","gitHead":"09fed6d77536b3d7d1d38a2630a096041da773ee","_lastModified":"2026-06-26T03:50:41.734Z"}
1
+ {"name":"openapi-types","version":"12.1.3","description":"Types for OpenAPI documents.","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"prepare":"../../bin/tsc","test-watch":"../../bin/tsc"},"keywords":["openapi","swagger","types","typescript"],"author":"Joseph Spencer","bugs":{"url":"https://github.com/kogosoftwarellc/open-api/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Aopenapi-types"},"repository":"https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types","homepage":"https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-types#readme","license":"MIT","gitHead":"09fed6d77536b3d7d1d38a2630a096041da773ee","_lastModified":"2026-07-01T07:57:07.276Z"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-mcp-server",
3
3
  "main": "dist/server/index.js",
4
- "version": "2.2.0-alpha.2",
4
+ "version": "2.2.0-alpha.4",
5
5
  "displayName": "AI: MCP server",
6
6
  "displayName.zh-CN": "AI: MCP 服务器",
7
7
  "description": "An MCP server for building NocoBase systems and supporting business workflows.",
@@ -23,5 +23,5 @@
23
23
  "keywords": [
24
24
  "AI"
25
25
  ],
26
- "gitHead": "9dd5224bb8f6c1ac12d766b9f175bdc29bddd845"
26
+ "gitHead": "81bf8733db4bccf08a6bc5e6d97f274bce349161"
27
27
  }
@@ -1,15 +0,0 @@
1
- ISC License
2
-
3
- Copyright (c) 2020, Stefan Terdell
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted, provided that the above
7
- copyright notice and this permission notice appear in all copies.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,390 +0,0 @@
1
- # Zod to Json Schema
2
-
3
- [![NPM Version](https://img.shields.io/npm/v/zod-to-json-schema.svg)](https://npmjs.org/package/zod-to-json-schema)
4
- [![NPM Downloads](https://img.shields.io/npm/dw/zod-to-json-schema.svg)](https://npmjs.org/package/zod-to-json-schema)
5
-
6
- ## Notice of deprecation
7
-
8
- As of November 2025, this project will no longer be actively maintained. [Zod v4 natively supports generating JSON schemas](https://zod.dev/json-schema#ztojsonschema), so I recommend you switch to the new major.
9
-
10
- Thank you to all the contributors and sponsors throughout the years! So long, and thanks for all the fish.
11
-
12
- ## Summary
13
-
14
- Does what it says on the tin; converts [Zod schemas](https://github.com/colinhacks/zod) into [JSON schemas](https://json-schema.org/)!
15
-
16
- - Supports all relevant schema types, basic string, number and array length validations and string patterns.
17
- - Resolves recursive and recurring schemas with internal `$ref`s.
18
- - Supports targeting legacy Open API 3.0 specification (3.1 supports regular Json Schema).
19
- - Supports Open AI strict mode schemas (Optional object properties are replaced with required but nullable ones).
20
- - As of v3.25 you can use Zod v4 as a peer-dependency, so long as you still provide v3-schemas.
21
-
22
- _Looking for the exact opposite? Check out [json-schema-to-zod](https://npmjs.org/package/json-schema-to-zod)_
23
-
24
- ## Sponsors
25
-
26
- As this project will no longer be receiving updates I am no longer accepting new partnerships. Huge shout-out to CodeRabbit for keeping it real to the end <3
27
-
28
- <table align="center" style="justify-content: center;align-items: center;display: flex;">
29
- <tr>
30
- <td align="center">
31
- <p></p>
32
- <p>
33
- <div style="background-color: white; padding: 4px; padding-bottom: 8px;" alt="stainless">
34
- <a href="https://www.coderabbit.ai/">
35
- <picture height="45px">
36
- <source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/eea24edb-ff20-4532-b57c-e8719f455d6d">
37
- <img alt="CodeRabbit logo" height="45px" src="https://github.com/user-attachments/assets/d791bc7d-dc60-4d55-9c31-97779839cb74">
38
- </picture>
39
- </a>
40
- </div>
41
- <br />
42
- Cut code review time & bugs in half
43
- <br/>
44
- <a href="https://www.coderabbit.ai/" style="text-decoration:none;">coderabbit.ai</a>
45
- </p>
46
- <p></p>
47
- </td>
48
- </tr>
49
- </table>
50
-
51
- ## Usage
52
-
53
- ### Basic example
54
-
55
- ```typescript
56
- import { z } from "zod"; // Or, using v3.25 or v4, "zod/v3"
57
- import { zodToJsonSchema } from "zod-to-json-schema";
58
-
59
- const mySchema = z
60
- .object({
61
- myString: z.string().min(5),
62
- myUnion: z.union([z.number(), z.boolean()]),
63
- })
64
- .describe("My neat object schema");
65
-
66
- const jsonSchema = zodToJsonSchema(mySchema, "mySchema");
67
- ```
68
-
69
- #### Expected output
70
-
71
- ```json
72
- {
73
- "$schema": "http://json-schema.org/draft-07/schema#",
74
- "$ref": "#/definitions/mySchema",
75
- "definitions": {
76
- "mySchema": {
77
- "description": "My neat object schema",
78
- "type": "object",
79
- "properties": {
80
- "myString": {
81
- "type": "string",
82
- "minLength": 5
83
- },
84
- "myUnion": {
85
- "type": ["number", "boolean"]
86
- }
87
- },
88
- "additionalProperties": false,
89
- "required": ["myString", "myUnion"]
90
- }
91
- }
92
- }
93
- ```
94
-
95
- ## Options
96
-
97
- ### Schema name
98
-
99
- You can pass a string as the second parameter of the main zodToJsonSchema function. If you do, your schema will end up inside a definitions object property on the root and referenced from there. Alternatively, you can pass the name as the `name` property of the options object (see below).
100
-
101
- ### Options object
102
-
103
- Instead of the schema name (or nothing), you can pass an options object as the second parameter. The following options are available:
104
-
105
- | Option | Effect |
106
- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
107
- | **name**?: _string_ | As described above. |
108
- | **nameStrategy**?: "ref" \| "title" | Adds name as "title" meta instead of as a ref as described above |
109
- | **basePath**?: string[] | The base path of the root reference builder. Defaults to ["#"]. |
110
- | **$refStrategy**?: "root" \| "relative" \| "seen" \| "none" | The reference builder strategy; <ul><li>**"root"** resolves $refs from the root up, ie: "#/definitions/mySchema".</li><li>**"relative"** uses [relative JSON pointers](https://tools.ietf.org/id/draft-handrews-relative-json-pointer-00.html). _See known issues!_</li><li>**"seen"** reuses the output of any "seen" Zod schema. In theory it's a more performant version of "none", but in practice this behaviour can cause issues with nested schemas and has now gotten its own option.</li> <li>**"none"** ignores referencing all together, creating a new schema branch even on "seen" schemas. Recursive references defaults to "any", ie `{}`.</li></ul> Defaults to "root". |
111
- | **effectStrategy**?: "input" \| "any" | The effects output strategy. Defaults to "input". _See known issues!_ |
112
- | **dateStrategy**?: "format:date" \| "format:date-time" \| "string" \| "integer" | Date strategy, integer allow to specify in unix-time min and max values. "format:date" creates a string schema with format: "date". "format:date-time" creates a string schema with format: "date-time". "string" is intepreted as "format:date-time". "integer" creates an integer schema with format "unix-time" (unless target "openApi3" is used min max checks are also respected) |
113
- | |
114
- | **emailStrategy**?: "format:email" \| "format:idn-email" \| "pattern:zod" | Choose how to handle the email string check. Defaults to "format:email". |
115
- | **base64Strategy**?: "format:binary" \| "contentEnconding:base64" \| "pattern:zod" | Choose how to handle the base64 string check. Defaults to "contentEncoding:base64" as described [here](https://json-schema.org/understanding-json-schema/reference/non_json_data#contentencoding). Note that "format:binary" is not represented in the output type as it's not part of the JSON Schema spec and only intended to be used when targeting OpenAPI 3.0. Later versions of OpenAPI support contentEncoding. |
116
- | **definitionPath**?: "definitions" \| "$defs" | The name of the definitions property when name is passed. Defaults to "definitions". |
117
- | **target**?: "jsonSchema7" \| "jsonSchema2019-09" \| "openApi3" \| "openAi" | Which spec to target. Defaults to "jsonSchema7" |
118
- | **strictUnions**?: boolean | Scrubs unions of any-like json schemas, like `{}` or `true`. Multiple zod types may result in these out of necessity, such as z.instanceof() |
119
- | **definitions**?: Record<string, ZodSchema> | See separate section below |
120
- | **errorMessages**?: boolean | Include custom error messages created via chained function checks for supported zod types. See section below |
121
- | **markdownDescription**?: boolean | Copies the `description` meta to `markdownDescription` |
122
- | **patternStrategy**?: "escape" \| "preserve" | The Zod string validations `.includes()`, `.startsWith()`, and `.endsWith()` must be converted to regex to be compatible with JSON Schema's `pattern`. For safety, all non-alphanumeric characters are `escape`d by default (consider `z.string().includes(".")`), but this can occasionally cause problems with Unicode-flagged regex parsers. Use `preserve` to prevent this escaping behaviour and preserve the exact string written, even if it results in an inaccurate regex. |
123
- | **applyRegexFlags**?: boolean | JSON Schema's `pattern` doesn't support RegExp flags, but Zod's `z.string().regex()` does. When this option is true (default false), a best-effort is made to transform regexes into a flag-independent form (e.g. `/x/i => /[xX]/` ). Supported flags: `i` (basic Latin only), `m`, `s`. |
124
- | **pipeStrategy**?: "all" \| "input" \| "output" | Decide which types should be included when using `z.pipe`, for example `z.string().pipe(z.number())` would return both `string` and `number` by default, only `string` for "input" and only `number` for "output". |
125
- | **removeAdditionalStrategy**?: "passthrough" \| "strict" | Decide when `additionalProperties` should be allowed. See the section on additional properties for details. |
126
- | **allowedAdditionalProperties**?: `true` \| `undefined` | What value to give `additionalProperties` when allowed. See the section on additional properties for details. |
127
- | **rejectedAdditionalProperties**?: `false` \| `undefined` | What value to give `additionalProperties` when rejected. See the section on additional properties for details. |
128
- | **override**?: callback | See section |
129
- | **postProcess**?: callback | See section |
130
- | **openAiAnyTypeName**?: string | Decides the name of a Json schema used to allow semi-arbitrary values in Open AI structured output. If any value in the Zod-schema resolves to any "any"-type schema it will reference a definition of this name. If no such definition is provided a default Json schema will be used. Defaults to "OpenAiAnyType" |
131
-
132
- ### Definitions
133
-
134
- The definitions option lets you manually add recurring schemas into definitions for cleaner outputs. It's fully compatible with named schemas, changed definitions path and base path. Here's a simple example:
135
-
136
- ```typescript
137
- const myRecurringSchema = z.string();
138
- const myObjectSchema = z.object({ a: myRecurringSchema, b: myRecurringSchema });
139
-
140
- const myJsonSchema = zodToJsonSchema(myObjectSchema, {
141
- definitions: { myRecurringSchema },
142
- });
143
- ```
144
-
145
- #### Result
146
-
147
- ```json
148
- {
149
- "type": "object",
150
- "properties": {
151
- "a": {
152
- "$ref": "#/definitions/myRecurringSchema"
153
- },
154
- "b": {
155
- "$ref": "#/definitions/myRecurringSchema"
156
- }
157
- },
158
- "definitions": {
159
- "myRecurringSchema": {
160
- "type": "string"
161
- }
162
- }
163
- }
164
- ```
165
-
166
- ### Error Messages
167
-
168
- This feature allows optionally including error messages created via chained function calls for supported zod types:
169
-
170
- ```ts
171
- // string schema with additional chained function call checks
172
- const EmailSchema = z.string().email("Invalid email").min(5, "Too short");
173
-
174
- const jsonSchema = zodToJsonSchema(EmailSchema, { errorMessages: true });
175
- ```
176
-
177
- #### Result
178
-
179
- ```json
180
- {
181
- "$schema": "http://json-schema.org/draft-07/schema#",
182
- "type": "string",
183
- "format": "email",
184
- "minLength": 5,
185
- "errorMessage": {
186
- "format": "Invalid email",
187
- "minLength": "Too short"
188
- }
189
- }
190
- ```
191
-
192
- This allows for field specific, validation step specific error messages which can be useful for building forms and such. This format is accepted by `react-hook-form`'s ajv resolver (and therefor `ajv-errors` which it uses under the hood). Note that if using AJV with this format will require [enabling `ajv-errors`](https://ajv.js.org/packages/ajv-errors.html#usage) as vanilla AJV does not accept this format by default.
193
-
194
- #### Custom Error Message Support
195
-
196
- - ZodString
197
- - regex
198
- - min, max
199
- - email, cuid, uuid, url
200
- - endsWith, startsWith
201
- - ZodNumber
202
- - min, max, lt, lte, gt, gte,
203
- - int
204
- - multipleOf
205
- - ZodSet
206
- - min, max
207
- - ZodArray
208
- - min, max
209
-
210
- ### Additional properties
211
-
212
- By default, Zod removes undeclared properties when parsing object schemas. In order to replicate the expected output of this behaviour, the default for behaviour of zodToJsonSchema is to set `"additionalProperties"` to `false` (although the correctness of this can be debated). If you wish to allow undeclared properties you can either:
213
-
214
- - Set `removeAdditionalStrategy` to `"strict"`. This will allow additional properties for any object schema that is not declared with `.strict()`.
215
- - Leave `removeAdditionalStrategy` set to its default value of `"passthrough"`, and add `.passtrough()` to your object schema.
216
-
217
- #### Removing the `additionalProperties` keyword using the `allowedAdditionalProperties` and/or `rejectedAdditionalProperties` options.
218
-
219
- Some schema definitions (like Googles Gen AI API for instance) does not allow the `additionalProperties` keyword at all. Luckily the JSON Schema spec allows for this: leaving the keyword undefined _should_ have the same effect as setting it to true (as per usual YMMV). To enable this behaviour, set the option `allowedAdditionalProperties` to `undefined`.
220
-
221
- To exclude the keyword even when additional properties are _not_ allowed, set the `rejectedAdditionalProperties` to `undefined` as well.
222
-
223
- _Heads up ⚠️: Both of these options will be ignored if your schema is declared with `.catchall(...)` as the provided schema will be used instead (if valid)._
224
-
225
- #### Expected outputs
226
-
227
- | `z.object({})` + option | `"additionalProperties"` value |
228
- | ------------------------- | ----------------------------------------------------------- |
229
- | `.strip()` (default) | `false` if strategy is `"passtrough"`, `true` if `"strict"` |
230
- | `.passtrough()` | `true` |
231
- | `.strict()` | `false` |
232
- | `.catchall(z.string())` | `{ "type": "string" }` |
233
- | `.catchall(z.function())` | `undefined` (function schemas are not currently parseable) |
234
-
235
- Substitute `true` and `false` for `undefined` according to `allowedAdditionalProperties` and/or `rejectedAdditionalProperties` respectively.
236
-
237
- ### `override`
238
-
239
- This options takes a callback receiving a Zod schema definition, the current reference object (containing the current ref path and other options), an argument containing inforation about wether or not the schema has been encountered before, and a forceResolution argument.
240
-
241
- Important: if you don't want to override the current item you have to return the `ignoreOverride` symbol exported from the index. This is because `undefined` is a valid option to return when you want the property to be excluded from the resulting JSON schema.
242
-
243
- ```typescript
244
- import zodToJsonSchema, { ignoreOverride } from "zod-to-json-schema";
245
-
246
- zodToJsonSchema(
247
- z.object({
248
- ignoreThis: z.string(),
249
- overrideThis: z.string(),
250
- removeThis: z.string(),
251
- }),
252
- {
253
- override: (def, refs) => {
254
- const path = refs.currentPath.join("/");
255
-
256
- if (path === "#/properties/overrideThis") {
257
- return {
258
- type: "integer",
259
- };
260
- }
261
-
262
- if (path === "#/properties/removeThis") {
263
- return undefined;
264
- }
265
-
266
- // Important! Do not return `undefined` or void unless you want to remove the property from the resulting schema completely.
267
- return ignoreOverride;
268
- },
269
- },
270
- );
271
- ```
272
-
273
- Expected output:
274
-
275
- ```json
276
- {
277
- "type": "object",
278
- "required": ["ignoreThis", "overrideThis"],
279
- "properties": {
280
- "ignoreThis": {
281
- "type": "string"
282
- },
283
- "overrideThis": {
284
- "type": "integer"
285
- }
286
- },
287
- "additionalProperties": false
288
- }
289
- ```
290
-
291
- ### `postProcess`
292
-
293
- Besided receiving all arguments of the `override` callback, the `postProcess` callback also receives the generated schema. It should always return a JSON Schema, or `undefined` if you wish to filter it out. Unlike the `override` callback you do not have to return `ignoreOverride` if you are happy with the produced schema; simply return it unchanged.
294
-
295
- ```typescript
296
- import zodToJsonSchema, { PostProcessCallback } from "zod-to-json-schema";
297
-
298
- // Define the callback to be used to process the output using the PostProcessCallback type:
299
- const postProcess: PostProcessCallback = (
300
- // The original output produced by the package itself:
301
- jsonSchema,
302
- // The ZodSchema def used to produce the original schema:
303
- def,
304
- // The refs object containing the current path, passed options, etc.
305
- refs,
306
- ) => {
307
- if (!jsonSchema) {
308
- return jsonSchema;
309
- }
310
-
311
- // Try to expand description as JSON meta:
312
- if (jsonSchema.description) {
313
- try {
314
- jsonSchema = {
315
- ...jsonSchema,
316
- ...JSON.parse(jsonSchema.description),
317
- };
318
- } catch {}
319
- }
320
-
321
- // Make all numbers nullable:
322
- if ("type" in jsonSchema! && jsonSchema.type === "number") {
323
- jsonSchema.type = ["number", "null"];
324
- }
325
-
326
- // Add the refs path, just because
327
- (jsonSchema as any).path = refs.currentPath;
328
-
329
- return jsonSchema;
330
- };
331
-
332
- const jsonSchema = zodToJsonSchema(zodSchema, { postProcess });
333
- ```
334
-
335
- #### Using `postProcess` for including examples and other meta
336
-
337
- Adding support for examples and other JSON Schema meta keys are among the most commonly requested features for this project. Unfortunately the current Zod major (3) has pretty anemic support for this, so some userland hacking is required. Since this is such a common usecase I've included a helper function that simply tries to parse any description as JSON and expand it into the resulting schema.
338
-
339
- Simply stringify whatever you want added to the output schema as the description, then import and use `jsonDescription` as the postProcess option:
340
-
341
- ```typescript
342
- import zodToJsonSchema, { jsonDescription } from "zod-to-json-schema";
343
-
344
- const zodSchema = z.string().describe(
345
- JSON.stringify({
346
- title: "My string",
347
- description: "My description",
348
- examples: ["Foo", "Bar"],
349
- whatever: 123,
350
- }),
351
- );
352
-
353
- const jsonSchema = zodToJsonSchema(zodSchema, {
354
- postProcess: jsonDescription,
355
- });
356
- ```
357
-
358
- Expected output:
359
-
360
- ```json
361
- {
362
- "$schema": "http://json-schema.org/draft-07/schema#",
363
- "type": "string",
364
- "title": "My string",
365
- "description": "My description",
366
- "examples": ["Foo", "Bar"],
367
- "whatever": 123
368
- }
369
- ```
370
-
371
- ## Known issues
372
-
373
- - The OpenAI target should be considered experimental for now, as some combination of options may break the compatibility.
374
- - When using `.transform`, the return type is inferred from the supplied function. In other words, there is no schema for the return type, and there is no way to convert it in runtime. Currently the JSON schema will therefore reflect the input side of the Zod schema and not necessarily the output (the latter aka. `z.infer`). If this causes problems with your schema, consider using the effectStrategy "any", which will allow any type of output.
375
- - JSON Schemas does not support any other key type than strings for objects. When using `z.record` with any other key type, this will be ignored. An exception to this rule is `z.enum` as is supported since 3.11.3
376
- - Relative JSON pointers, while published alongside [JSON schema draft 2020-12](https://json-schema.org/specification.html), is not technically a part of it. Currently, most resolvers do not handle them at all.
377
- - Since v3, the Object parser uses `.isOptional()` to check if a property should be included in `required` or not. This has the potentially dangerous behavior of calling `.safeParse` with `undefined`. To work around this, make sure your `preprocess` and other effects callbacks are pure and not liable to throw errors. An issue has been logged in the Zod repo and can be [tracked here](https://github.com/colinhacks/zod/issues/1460).
378
- - JSON Schema version 2020-12 is not yet officially supported. However, you should be able to use this library to obtain a compatible schema for the 2020-12 format just by changing the returned schema's `$schema` field to: "https://json-schema.org/draft/2020-12/schema#"
379
-
380
- ## Versioning
381
-
382
- This package _does not_ follow semantic versioning. The major and minor versions of this package instead reflects feature parity with the [Zod package](http://npmjs.com/package/zod).
383
-
384
- I will do my best to keep API-breaking changes to an absolute minimum, but new features may appear as "patches", such as introducing the options pattern in 3.9.1.
385
-
386
- While v3.25 supports Zod v4 as a peer-dependency, it does _not_ mean it supports v4 schemas. Use `import { z } from "zod/v3"` and refer to the Zod documentation.
387
-
388
- ## Changelog
389
-
390
- https://github.com/StefanTerdell/zod-to-json-schema/blob/master/changelog.md