@eui/mcp 1.5.0 → 1.5.2

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 (481) hide show
  1. package/dist/main.js +539 -208
  2. package/package.json +9 -6
  3. package/dist/config/__tests__/schema.property.test.d.ts +0 -2
  4. package/dist/config/__tests__/schema.property.test.d.ts.map +0 -1
  5. package/dist/config/__tests__/schema.property.test.js +0 -203
  6. package/dist/config/__tests__/schema.property.test.js.map +0 -1
  7. package/dist/config/__tests__/schema.test.d.ts +0 -2
  8. package/dist/config/__tests__/schema.test.d.ts.map +0 -1
  9. package/dist/config/__tests__/schema.test.js +0 -454
  10. package/dist/config/__tests__/schema.test.js.map +0 -1
  11. package/dist/config/index.d.ts +0 -6
  12. package/dist/config/index.d.ts.map +0 -1
  13. package/dist/config/index.js +0 -6
  14. package/dist/config/index.js.map +0 -1
  15. package/dist/config/loader.d.ts +0 -27
  16. package/dist/config/loader.d.ts.map +0 -1
  17. package/dist/config/loader.js +0 -224
  18. package/dist/config/loader.js.map +0 -1
  19. package/dist/config/schema.d.ts +0 -171
  20. package/dist/config/schema.d.ts.map +0 -1
  21. package/dist/config/schema.js +0 -100
  22. package/dist/config/schema.js.map +0 -1
  23. package/dist/index.d.ts +0 -3
  24. package/dist/index.d.ts.map +0 -1
  25. package/dist/index.js +0 -45
  26. package/dist/index.js.map +0 -1
  27. package/dist/loader/__tests__/cache-manager.property.test.d.ts +0 -2
  28. package/dist/loader/__tests__/cache-manager.property.test.d.ts.map +0 -1
  29. package/dist/loader/__tests__/cache-manager.property.test.js +0 -245
  30. package/dist/loader/__tests__/cache-manager.property.test.js.map +0 -1
  31. package/dist/loader/__tests__/cache-manager.test.d.ts +0 -2
  32. package/dist/loader/__tests__/cache-manager.test.d.ts.map +0 -1
  33. package/dist/loader/__tests__/cache-manager.test.js +0 -256
  34. package/dist/loader/__tests__/cache-manager.test.js.map +0 -1
  35. package/dist/loader/__tests__/documentation-loader.integration.test.d.ts +0 -2
  36. package/dist/loader/__tests__/documentation-loader.integration.test.d.ts.map +0 -1
  37. package/dist/loader/__tests__/documentation-loader.integration.test.js +0 -498
  38. package/dist/loader/__tests__/documentation-loader.integration.test.js.map +0 -1
  39. package/dist/loader/__tests__/documentation-loader.property.test.d.ts +0 -2
  40. package/dist/loader/__tests__/documentation-loader.property.test.d.ts.map +0 -1
  41. package/dist/loader/__tests__/documentation-loader.property.test.js +0 -258
  42. package/dist/loader/__tests__/documentation-loader.property.test.js.map +0 -1
  43. package/dist/loader/__tests__/errors.test.d.ts +0 -2
  44. package/dist/loader/__tests__/errors.test.d.ts.map +0 -1
  45. package/dist/loader/__tests__/errors.test.js +0 -132
  46. package/dist/loader/__tests__/errors.test.js.map +0 -1
  47. package/dist/loader/__tests__/http-client.property.test.d.ts +0 -2
  48. package/dist/loader/__tests__/http-client.property.test.d.ts.map +0 -1
  49. package/dist/loader/__tests__/http-client.property.test.js +0 -288
  50. package/dist/loader/__tests__/http-client.property.test.js.map +0 -1
  51. package/dist/loader/__tests__/http-client.test.d.ts +0 -2
  52. package/dist/loader/__tests__/http-client.test.d.ts.map +0 -1
  53. package/dist/loader/__tests__/http-client.test.js +0 -497
  54. package/dist/loader/__tests__/http-client.test.js.map +0 -1
  55. package/dist/loader/__tests__/local-documentation-source.property.test.d.ts +0 -2
  56. package/dist/loader/__tests__/local-documentation-source.property.test.d.ts.map +0 -1
  57. package/dist/loader/__tests__/local-documentation-source.property.test.js +0 -373
  58. package/dist/loader/__tests__/local-documentation-source.property.test.js.map +0 -1
  59. package/dist/loader/__tests__/local-documentation-source.test.d.ts +0 -2
  60. package/dist/loader/__tests__/local-documentation-source.test.d.ts.map +0 -1
  61. package/dist/loader/__tests__/local-documentation-source.test.js +0 -544
  62. package/dist/loader/__tests__/local-documentation-source.test.js.map +0 -1
  63. package/dist/loader/__tests__/path-type-detector.property.test.d.ts +0 -2
  64. package/dist/loader/__tests__/path-type-detector.property.test.d.ts.map +0 -1
  65. package/dist/loader/__tests__/path-type-detector.property.test.js +0 -245
  66. package/dist/loader/__tests__/path-type-detector.property.test.js.map +0 -1
  67. package/dist/loader/__tests__/path-type-detector.test.d.ts +0 -2
  68. package/dist/loader/__tests__/path-type-detector.test.d.ts.map +0 -1
  69. package/dist/loader/__tests__/path-type-detector.test.js +0 -390
  70. package/dist/loader/__tests__/path-type-detector.test.js.map +0 -1
  71. package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts +0 -2
  72. package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts.map +0 -1
  73. package/dist/loader/__tests__/remote-documentation-source.property.test.js +0 -462
  74. package/dist/loader/__tests__/remote-documentation-source.property.test.js.map +0 -1
  75. package/dist/loader/__tests__/remote-documentation-source.test.d.ts +0 -2
  76. package/dist/loader/__tests__/remote-documentation-source.test.d.ts.map +0 -1
  77. package/dist/loader/__tests__/remote-documentation-source.test.js +0 -707
  78. package/dist/loader/__tests__/remote-documentation-source.test.js.map +0 -1
  79. package/dist/loader/cache-manager.d.ts +0 -74
  80. package/dist/loader/cache-manager.d.ts.map +0 -1
  81. package/dist/loader/cache-manager.js +0 -107
  82. package/dist/loader/cache-manager.js.map +0 -1
  83. package/dist/loader/documentation-loader.d.ts +0 -57
  84. package/dist/loader/documentation-loader.d.ts.map +0 -1
  85. package/dist/loader/documentation-loader.js +0 -81
  86. package/dist/loader/documentation-loader.js.map +0 -1
  87. package/dist/loader/documentation-source.d.ts +0 -37
  88. package/dist/loader/documentation-source.d.ts.map +0 -1
  89. package/dist/loader/documentation-source.js +0 -2
  90. package/dist/loader/documentation-source.js.map +0 -1
  91. package/dist/loader/errors.d.ts +0 -34
  92. package/dist/loader/errors.d.ts.map +0 -1
  93. package/dist/loader/errors.js +0 -65
  94. package/dist/loader/errors.js.map +0 -1
  95. package/dist/loader/http-client.d.ts +0 -43
  96. package/dist/loader/http-client.d.ts.map +0 -1
  97. package/dist/loader/http-client.js +0 -144
  98. package/dist/loader/http-client.js.map +0 -1
  99. package/dist/loader/index.d.ts +0 -6
  100. package/dist/loader/index.d.ts.map +0 -1
  101. package/dist/loader/index.js +0 -5
  102. package/dist/loader/index.js.map +0 -1
  103. package/dist/loader/local-documentation-source.d.ts +0 -62
  104. package/dist/loader/local-documentation-source.d.ts.map +0 -1
  105. package/dist/loader/local-documentation-source.js +0 -190
  106. package/dist/loader/local-documentation-source.js.map +0 -1
  107. package/dist/loader/path-type-detector.d.ts +0 -34
  108. package/dist/loader/path-type-detector.d.ts.map +0 -1
  109. package/dist/loader/path-type-detector.js +0 -78
  110. package/dist/loader/path-type-detector.js.map +0 -1
  111. package/dist/loader/remote-documentation-source.d.ts +0 -108
  112. package/dist/loader/remote-documentation-source.d.ts.map +0 -1
  113. package/dist/loader/remote-documentation-source.js +0 -249
  114. package/dist/loader/remote-documentation-source.js.map +0 -1
  115. package/dist/main.d.ts +0 -3
  116. package/dist/main.d.ts.map +0 -1
  117. package/dist/main.js.map +0 -1
  118. package/dist/mcp/__tests__/server.property.test.d.ts +0 -2
  119. package/dist/mcp/__tests__/server.property.test.d.ts.map +0 -1
  120. package/dist/mcp/__tests__/server.property.test.js +0 -286
  121. package/dist/mcp/__tests__/server.property.test.js.map +0 -1
  122. package/dist/mcp/__tests__/server.test.d.ts +0 -2
  123. package/dist/mcp/__tests__/server.test.d.ts.map +0 -1
  124. package/dist/mcp/__tests__/server.test.js +0 -101
  125. package/dist/mcp/__tests__/server.test.js.map +0 -1
  126. package/dist/mcp/index.d.ts +0 -5
  127. package/dist/mcp/index.d.ts.map +0 -1
  128. package/dist/mcp/index.js +0 -5
  129. package/dist/mcp/index.js.map +0 -1
  130. package/dist/mcp/server.d.ts +0 -65
  131. package/dist/mcp/server.d.ts.map +0 -1
  132. package/dist/mcp/server.js +0 -242
  133. package/dist/mcp/server.js.map +0 -1
  134. package/dist/publish/__tests__/publish-utils.test.d.ts +0 -5
  135. package/dist/publish/__tests__/publish-utils.test.d.ts.map +0 -1
  136. package/dist/publish/__tests__/publish-utils.test.js +0 -189
  137. package/dist/publish/__tests__/publish-utils.test.js.map +0 -1
  138. package/dist/publish/index.d.ts +0 -8
  139. package/dist/publish/index.d.ts.map +0 -1
  140. package/dist/publish/index.js +0 -8
  141. package/dist/publish/index.js.map +0 -1
  142. package/dist/publish/publish-utils.d.ts +0 -74
  143. package/dist/publish/publish-utils.d.ts.map +0 -1
  144. package/dist/publish/publish-utils.js +0 -170
  145. package/dist/publish/publish-utils.js.map +0 -1
  146. package/dist/query/__tests__/deprecation-parser.test.d.ts +0 -2
  147. package/dist/query/__tests__/deprecation-parser.test.d.ts.map +0 -1
  148. package/dist/query/__tests__/deprecation-parser.test.js +0 -154
  149. package/dist/query/__tests__/deprecation-parser.test.js.map +0 -1
  150. package/dist/query/__tests__/deprecation-query.test.d.ts +0 -2
  151. package/dist/query/__tests__/deprecation-query.test.d.ts.map +0 -1
  152. package/dist/query/__tests__/deprecation-query.test.js +0 -199
  153. package/dist/query/__tests__/deprecation-query.test.js.map +0 -1
  154. package/dist/query/__tests__/index-builder-debug.test.d.ts +0 -2
  155. package/dist/query/__tests__/index-builder-debug.test.d.ts.map +0 -1
  156. package/dist/query/__tests__/index-builder-debug.test.js +0 -34
  157. package/dist/query/__tests__/index-builder-debug.test.js.map +0 -1
  158. package/dist/query/__tests__/index-builder.property.test.d.ts +0 -2
  159. package/dist/query/__tests__/index-builder.property.test.d.ts.map +0 -1
  160. package/dist/query/__tests__/index-builder.property.test.js +0 -422
  161. package/dist/query/__tests__/index-builder.property.test.js.map +0 -1
  162. package/dist/query/__tests__/index-builder.test.d.ts +0 -2
  163. package/dist/query/__tests__/index-builder.test.d.ts.map +0 -1
  164. package/dist/query/__tests__/index-builder.test.js +0 -55
  165. package/dist/query/__tests__/index-builder.test.js.map +0 -1
  166. package/dist/query/__tests__/result-formatter-deprecation.test.d.ts +0 -2
  167. package/dist/query/__tests__/result-formatter-deprecation.test.d.ts.map +0 -1
  168. package/dist/query/__tests__/result-formatter-deprecation.test.js +0 -159
  169. package/dist/query/__tests__/result-formatter-deprecation.test.js.map +0 -1
  170. package/dist/query/__tests__/result-formatter.integration.test.d.ts +0 -2
  171. package/dist/query/__tests__/result-formatter.integration.test.d.ts.map +0 -1
  172. package/dist/query/__tests__/result-formatter.integration.test.js +0 -140
  173. package/dist/query/__tests__/result-formatter.integration.test.js.map +0 -1
  174. package/dist/query/__tests__/result-formatter.property.test.d.ts +0 -2
  175. package/dist/query/__tests__/result-formatter.property.test.d.ts.map +0 -1
  176. package/dist/query/__tests__/result-formatter.property.test.js +0 -163
  177. package/dist/query/__tests__/result-formatter.property.test.js.map +0 -1
  178. package/dist/query/__tests__/result-formatter.test.d.ts +0 -2
  179. package/dist/query/__tests__/result-formatter.test.d.ts.map +0 -1
  180. package/dist/query/__tests__/result-formatter.test.js +0 -85
  181. package/dist/query/__tests__/result-formatter.test.js.map +0 -1
  182. package/dist/query/__tests__/search-engine.property.test.d.ts +0 -2
  183. package/dist/query/__tests__/search-engine.property.test.d.ts.map +0 -1
  184. package/dist/query/__tests__/search-engine.property.test.js +0 -389
  185. package/dist/query/__tests__/search-engine.property.test.js.map +0 -1
  186. package/dist/query/component-query.d.ts +0 -33
  187. package/dist/query/component-query.d.ts.map +0 -1
  188. package/dist/query/component-query.js +0 -63
  189. package/dist/query/component-query.js.map +0 -1
  190. package/dist/query/deprecation-parser.d.ts +0 -46
  191. package/dist/query/deprecation-parser.d.ts.map +0 -1
  192. package/dist/query/deprecation-parser.js +0 -81
  193. package/dist/query/deprecation-parser.js.map +0 -1
  194. package/dist/query/deprecation-query.d.ts +0 -19
  195. package/dist/query/deprecation-query.d.ts.map +0 -1
  196. package/dist/query/deprecation-query.js +0 -73
  197. package/dist/query/deprecation-query.js.map +0 -1
  198. package/dist/query/index-builder.d.ts +0 -79
  199. package/dist/query/index-builder.d.ts.map +0 -1
  200. package/dist/query/index-builder.js +0 -217
  201. package/dist/query/index-builder.js.map +0 -1
  202. package/dist/query/index.d.ts +0 -5
  203. package/dist/query/index.d.ts.map +0 -1
  204. package/dist/query/index.js +0 -6
  205. package/dist/query/index.js.map +0 -1
  206. package/dist/query/result-formatter.d.ts +0 -135
  207. package/dist/query/result-formatter.d.ts.map +0 -1
  208. package/dist/query/result-formatter.js +0 -224
  209. package/dist/query/result-formatter.js.map +0 -1
  210. package/dist/query/search-engine.d.ts +0 -54
  211. package/dist/query/search-engine.d.ts.map +0 -1
  212. package/dist/query/search-engine.js +0 -178
  213. package/dist/query/search-engine.js.map +0 -1
  214. package/dist/tools/__tests__/deprecation-tools.test.d.ts +0 -2
  215. package/dist/tools/__tests__/deprecation-tools.test.d.ts.map +0 -1
  216. package/dist/tools/__tests__/deprecation-tools.test.js +0 -178
  217. package/dist/tools/__tests__/deprecation-tools.test.js.map +0 -1
  218. package/dist/tools/__tests__/get-component-docs.property.test.d.ts +0 -2
  219. package/dist/tools/__tests__/get-component-docs.property.test.d.ts.map +0 -1
  220. package/dist/tools/__tests__/get-component-docs.property.test.js +0 -594
  221. package/dist/tools/__tests__/get-component-docs.property.test.js.map +0 -1
  222. package/dist/tools/__tests__/get-component-docs.test.d.ts +0 -2
  223. package/dist/tools/__tests__/get-component-docs.test.d.ts.map +0 -1
  224. package/dist/tools/__tests__/get-component-docs.test.js +0 -137
  225. package/dist/tools/__tests__/get-component-docs.test.js.map +0 -1
  226. package/dist/tools/__tests__/get-component-examples.property.test.d.ts +0 -2
  227. package/dist/tools/__tests__/get-component-examples.property.test.d.ts.map +0 -1
  228. package/dist/tools/__tests__/get-component-examples.property.test.js +0 -245
  229. package/dist/tools/__tests__/get-component-examples.property.test.js.map +0 -1
  230. package/dist/tools/__tests__/get-component-examples.test.d.ts +0 -2
  231. package/dist/tools/__tests__/get-component-examples.test.d.ts.map +0 -1
  232. package/dist/tools/__tests__/get-component-examples.test.js +0 -128
  233. package/dist/tools/__tests__/get-component-examples.test.js.map +0 -1
  234. package/dist/tools/__tests__/get-component-inputs.property.test.d.ts +0 -2
  235. package/dist/tools/__tests__/get-component-inputs.property.test.d.ts.map +0 -1
  236. package/dist/tools/__tests__/get-component-inputs.property.test.js +0 -310
  237. package/dist/tools/__tests__/get-component-inputs.property.test.js.map +0 -1
  238. package/dist/tools/__tests__/get-component-inputs.test.d.ts +0 -2
  239. package/dist/tools/__tests__/get-component-inputs.test.d.ts.map +0 -1
  240. package/dist/tools/__tests__/get-component-inputs.test.js +0 -245
  241. package/dist/tools/__tests__/get-component-inputs.test.js.map +0 -1
  242. package/dist/tools/__tests__/get-component-outputs.property.test.d.ts +0 -2
  243. package/dist/tools/__tests__/get-component-outputs.property.test.d.ts.map +0 -1
  244. package/dist/tools/__tests__/get-component-outputs.property.test.js +0 -227
  245. package/dist/tools/__tests__/get-component-outputs.property.test.js.map +0 -1
  246. package/dist/tools/__tests__/get-component-outputs.test.d.ts +0 -2
  247. package/dist/tools/__tests__/get-component-outputs.test.d.ts.map +0 -1
  248. package/dist/tools/__tests__/get-component-outputs.test.js +0 -189
  249. package/dist/tools/__tests__/get-component-outputs.test.js.map +0 -1
  250. package/dist/tools/__tests__/get-library-version.property.test.d.ts +0 -2
  251. package/dist/tools/__tests__/get-library-version.property.test.d.ts.map +0 -1
  252. package/dist/tools/__tests__/get-library-version.property.test.js +0 -115
  253. package/dist/tools/__tests__/get-library-version.property.test.js.map +0 -1
  254. package/dist/tools/__tests__/get-library-version.test.d.ts +0 -2
  255. package/dist/tools/__tests__/get-library-version.test.d.ts.map +0 -1
  256. package/dist/tools/__tests__/get-library-version.test.js +0 -97
  257. package/dist/tools/__tests__/get-library-version.test.js.map +0 -1
  258. package/dist/tools/__tests__/list-components.property.test.d.ts +0 -2
  259. package/dist/tools/__tests__/list-components.property.test.d.ts.map +0 -1
  260. package/dist/tools/__tests__/list-components.property.test.js +0 -241
  261. package/dist/tools/__tests__/list-components.property.test.js.map +0 -1
  262. package/dist/tools/__tests__/list-components.test.d.ts +0 -2
  263. package/dist/tools/__tests__/list-components.test.d.ts.map +0 -1
  264. package/dist/tools/__tests__/list-components.test.js +0 -170
  265. package/dist/tools/__tests__/list-components.test.js.map +0 -1
  266. package/dist/tools/__tests__/search-components.test.d.ts +0 -2
  267. package/dist/tools/__tests__/search-components.test.d.ts.map +0 -1
  268. package/dist/tools/__tests__/search-components.test.js +0 -239
  269. package/dist/tools/__tests__/search-components.test.js.map +0 -1
  270. package/dist/tools/get-component-docs.d.ts +0 -43
  271. package/dist/tools/get-component-docs.d.ts.map +0 -1
  272. package/dist/tools/get-component-docs.js +0 -55
  273. package/dist/tools/get-component-docs.js.map +0 -1
  274. package/dist/tools/get-component-examples.d.ts +0 -45
  275. package/dist/tools/get-component-examples.d.ts.map +0 -1
  276. package/dist/tools/get-component-examples.js +0 -56
  277. package/dist/tools/get-component-examples.js.map +0 -1
  278. package/dist/tools/get-component-inputs.d.ts +0 -44
  279. package/dist/tools/get-component-inputs.d.ts.map +0 -1
  280. package/dist/tools/get-component-inputs.js +0 -55
  281. package/dist/tools/get-component-inputs.js.map +0 -1
  282. package/dist/tools/get-component-outputs.d.ts +0 -44
  283. package/dist/tools/get-component-outputs.d.ts.map +0 -1
  284. package/dist/tools/get-component-outputs.js +0 -55
  285. package/dist/tools/get-component-outputs.js.map +0 -1
  286. package/dist/tools/get-deprecation-info.d.ts +0 -42
  287. package/dist/tools/get-deprecation-info.d.ts.map +0 -1
  288. package/dist/tools/get-deprecation-info.js +0 -55
  289. package/dist/tools/get-deprecation-info.js.map +0 -1
  290. package/dist/tools/get-eui-cli-guide.d.ts +0 -32
  291. package/dist/tools/get-eui-cli-guide.d.ts.map +0 -1
  292. package/dist/tools/get-eui-cli-guide.js +0 -160
  293. package/dist/tools/get-eui-cli-guide.js.map +0 -1
  294. package/dist/tools/get-eui-cli-instructions.d.ts +0 -32
  295. package/dist/tools/get-eui-cli-instructions.d.ts.map +0 -1
  296. package/dist/tools/get-eui-cli-instructions.js +0 -375
  297. package/dist/tools/get-eui-cli-instructions.js.map +0 -1
  298. package/dist/tools/get-library-version.d.ts +0 -33
  299. package/dist/tools/get-library-version.d.ts.map +0 -1
  300. package/dist/tools/get-library-version.js +0 -62
  301. package/dist/tools/get-library-version.js.map +0 -1
  302. package/dist/tools/index.d.ts +0 -12
  303. package/dist/tools/index.d.ts.map +0 -1
  304. package/dist/tools/index.js +0 -13
  305. package/dist/tools/index.js.map +0 -1
  306. package/dist/tools/list-components.d.ts +0 -69
  307. package/dist/tools/list-components.d.ts.map +0 -1
  308. package/dist/tools/list-components.js +0 -84
  309. package/dist/tools/list-components.js.map +0 -1
  310. package/dist/tools/list-deprecated.d.ts +0 -47
  311. package/dist/tools/list-deprecated.d.ts.map +0 -1
  312. package/dist/tools/list-deprecated.js +0 -56
  313. package/dist/tools/list-deprecated.js.map +0 -1
  314. package/dist/tools/search-components.d.ts +0 -69
  315. package/dist/tools/search-components.d.ts.map +0 -1
  316. package/dist/tools/search-components.js +0 -98
  317. package/dist/tools/search-components.js.map +0 -1
  318. package/dist/types/compodoc.d.ts +0 -262
  319. package/dist/types/compodoc.d.ts.map +0 -1
  320. package/dist/types/compodoc.js +0 -5
  321. package/dist/types/compodoc.js.map +0 -1
  322. package/dist/types/deprecation.d.ts +0 -33
  323. package/dist/types/deprecation.d.ts.map +0 -1
  324. package/dist/types/deprecation.js +0 -5
  325. package/dist/types/deprecation.js.map +0 -1
  326. package/dist/types/index.d.ts +0 -5
  327. package/dist/types/index.d.ts.map +0 -1
  328. package/dist/types/index.js +0 -5
  329. package/dist/types/index.js.map +0 -1
  330. package/dist/utils/__tests__/credential-masking.property.test.d.ts +0 -2
  331. package/dist/utils/__tests__/credential-masking.property.test.d.ts.map +0 -1
  332. package/dist/utils/__tests__/credential-masking.property.test.js +0 -145
  333. package/dist/utils/__tests__/credential-masking.property.test.js.map +0 -1
  334. package/dist/utils/__tests__/credential-masking.test.d.ts +0 -2
  335. package/dist/utils/__tests__/credential-masking.test.d.ts.map +0 -1
  336. package/dist/utils/__tests__/credential-masking.test.js +0 -188
  337. package/dist/utils/__tests__/credential-masking.test.js.map +0 -1
  338. package/dist/utils/__tests__/errors.test.d.ts +0 -2
  339. package/dist/utils/__tests__/errors.test.d.ts.map +0 -1
  340. package/dist/utils/__tests__/errors.test.js +0 -110
  341. package/dist/utils/__tests__/errors.test.js.map +0 -1
  342. package/dist/utils/__tests__/integration.test.d.ts +0 -2
  343. package/dist/utils/__tests__/integration.test.d.ts.map +0 -1
  344. package/dist/utils/__tests__/integration.test.js +0 -142
  345. package/dist/utils/__tests__/integration.test.js.map +0 -1
  346. package/dist/utils/__tests__/logger.test.d.ts +0 -2
  347. package/dist/utils/__tests__/logger.test.d.ts.map +0 -1
  348. package/dist/utils/__tests__/logger.test.js +0 -119
  349. package/dist/utils/__tests__/logger.test.js.map +0 -1
  350. package/dist/utils/__tests__/retry.test.d.ts +0 -2
  351. package/dist/utils/__tests__/retry.test.d.ts.map +0 -1
  352. package/dist/utils/__tests__/retry.test.js +0 -84
  353. package/dist/utils/__tests__/retry.test.js.map +0 -1
  354. package/dist/utils/circuit-breaker.d.ts +0 -91
  355. package/dist/utils/circuit-breaker.d.ts.map +0 -1
  356. package/dist/utils/circuit-breaker.js +0 -186
  357. package/dist/utils/circuit-breaker.js.map +0 -1
  358. package/dist/utils/credential-masking.d.ts +0 -90
  359. package/dist/utils/credential-masking.d.ts.map +0 -1
  360. package/dist/utils/credential-masking.js +0 -202
  361. package/dist/utils/credential-masking.js.map +0 -1
  362. package/dist/utils/error-handler.d.ts +0 -68
  363. package/dist/utils/error-handler.d.ts.map +0 -1
  364. package/dist/utils/error-handler.js +0 -184
  365. package/dist/utils/error-handler.js.map +0 -1
  366. package/dist/utils/errors.d.ts +0 -156
  367. package/dist/utils/errors.d.ts.map +0 -1
  368. package/dist/utils/errors.js +0 -242
  369. package/dist/utils/errors.js.map +0 -1
  370. package/dist/utils/index.d.ts +0 -10
  371. package/dist/utils/index.d.ts.map +0 -1
  372. package/dist/utils/index.js +0 -16
  373. package/dist/utils/index.js.map +0 -1
  374. package/dist/utils/logger.d.ts +0 -76
  375. package/dist/utils/logger.d.ts.map +0 -1
  376. package/dist/utils/logger.js +0 -150
  377. package/dist/utils/logger.js.map +0 -1
  378. package/dist/utils/retry.d.ts +0 -19
  379. package/dist/utils/retry.d.ts.map +0 -1
  380. package/dist/utils/retry.js +0 -81
  381. package/dist/utils/retry.js.map +0 -1
  382. package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts +0 -2
  383. package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts.map +0 -1
  384. package/dist/version/__tests__/changelog-commit-grouping.property.test.js +0 -297
  385. package/dist/version/__tests__/changelog-commit-grouping.property.test.js.map +0 -1
  386. package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts +0 -2
  387. package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts.map +0 -1
  388. package/dist/version/__tests__/changelog-commit-parsing.property.test.js +0 -396
  389. package/dist/version/__tests__/changelog-commit-parsing.property.test.js.map +0 -1
  390. package/dist/version/__tests__/changelog-file-updates.property.test.d.ts +0 -11
  391. package/dist/version/__tests__/changelog-file-updates.property.test.d.ts.map +0 -1
  392. package/dist/version/__tests__/changelog-file-updates.property.test.js +0 -452
  393. package/dist/version/__tests__/changelog-file-updates.property.test.js.map +0 -1
  394. package/dist/version/__tests__/dry-run-action.property.test.d.ts +0 -8
  395. package/dist/version/__tests__/dry-run-action.property.test.d.ts.map +0 -1
  396. package/dist/version/__tests__/dry-run-action.property.test.js +0 -50
  397. package/dist/version/__tests__/dry-run-action.property.test.js.map +0 -1
  398. package/dist/version/__tests__/dry-run-changelog.property.test.d.ts +0 -8
  399. package/dist/version/__tests__/dry-run-changelog.property.test.d.ts.map +0 -1
  400. package/dist/version/__tests__/dry-run-changelog.property.test.js +0 -53
  401. package/dist/version/__tests__/dry-run-changelog.property.test.js.map +0 -1
  402. package/dist/version/__tests__/dry-run-utils.test.d.ts +0 -7
  403. package/dist/version/__tests__/dry-run-utils.test.d.ts.map +0 -1
  404. package/dist/version/__tests__/dry-run-utils.test.js +0 -205
  405. package/dist/version/__tests__/dry-run-utils.test.js.map +0 -1
  406. package/dist/version/__tests__/dry-run-version.property.test.d.ts +0 -8
  407. package/dist/version/__tests__/dry-run-version.property.test.d.ts.map +0 -1
  408. package/dist/version/__tests__/dry-run-version.property.test.js +0 -59
  409. package/dist/version/__tests__/dry-run-version.property.test.js.map +0 -1
  410. package/dist/version/__tests__/git-tag-annotation.property.test.d.ts +0 -11
  411. package/dist/version/__tests__/git-tag-annotation.property.test.d.ts.map +0 -1
  412. package/dist/version/__tests__/git-tag-annotation.property.test.js +0 -271
  413. package/dist/version/__tests__/git-tag-annotation.property.test.js.map +0 -1
  414. package/dist/version/__tests__/git-tag-format.property.test.d.ts +0 -11
  415. package/dist/version/__tests__/git-tag-format.property.test.d.ts.map +0 -1
  416. package/dist/version/__tests__/git-tag-format.property.test.js +0 -411
  417. package/dist/version/__tests__/git-tag-format.property.test.js.map +0 -1
  418. package/dist/version/__tests__/git-tag-utils.test.d.ts +0 -2
  419. package/dist/version/__tests__/git-tag-utils.test.d.ts.map +0 -1
  420. package/dist/version/__tests__/git-tag-utils.test.js +0 -142
  421. package/dist/version/__tests__/git-tag-utils.test.js.map +0 -1
  422. package/dist/version/__tests__/npm-tag-selection.property.test.d.ts +0 -2
  423. package/dist/version/__tests__/npm-tag-selection.property.test.d.ts.map +0 -1
  424. package/dist/version/__tests__/npm-tag-selection.property.test.js +0 -79
  425. package/dist/version/__tests__/npm-tag-selection.property.test.js.map +0 -1
  426. package/dist/version/__tests__/release-title-format.property.test.d.ts +0 -11
  427. package/dist/version/__tests__/release-title-format.property.test.d.ts.map +0 -1
  428. package/dist/version/__tests__/release-title-format.property.test.js +0 -422
  429. package/dist/version/__tests__/release-title-format.property.test.js.map +0 -1
  430. package/dist/version/__tests__/release-utils.test.d.ts +0 -7
  431. package/dist/version/__tests__/release-utils.test.d.ts.map +0 -1
  432. package/dist/version/__tests__/release-utils.test.js +0 -176
  433. package/dist/version/__tests__/release-utils.test.js.map +0 -1
  434. package/dist/version/__tests__/rollback-changelog.property.test.d.ts +0 -8
  435. package/dist/version/__tests__/rollback-changelog.property.test.d.ts.map +0 -1
  436. package/dist/version/__tests__/rollback-changelog.property.test.js +0 -61
  437. package/dist/version/__tests__/rollback-changelog.property.test.js.map +0 -1
  438. package/dist/version/__tests__/rollback-utils.test.d.ts +0 -7
  439. package/dist/version/__tests__/rollback-utils.test.d.ts.map +0 -1
  440. package/dist/version/__tests__/rollback-utils.test.js +0 -74
  441. package/dist/version/__tests__/rollback-utils.test.js.map +0 -1
  442. package/dist/version/__tests__/version-manager.property.test.d.ts +0 -2
  443. package/dist/version/__tests__/version-manager.property.test.d.ts.map +0 -1
  444. package/dist/version/__tests__/version-manager.property.test.js +0 -143
  445. package/dist/version/__tests__/version-manager.property.test.js.map +0 -1
  446. package/dist/version/__tests__/version-manager.test.d.ts +0 -2
  447. package/dist/version/__tests__/version-manager.test.d.ts.map +0 -1
  448. package/dist/version/__tests__/version-manager.test.js +0 -203
  449. package/dist/version/__tests__/version-manager.test.js.map +0 -1
  450. package/dist/version/changelog-file-utils.d.ts +0 -69
  451. package/dist/version/changelog-file-utils.d.ts.map +0 -1
  452. package/dist/version/changelog-file-utils.js +0 -161
  453. package/dist/version/changelog-file-utils.js.map +0 -1
  454. package/dist/version/changelog-utils.d.ts +0 -98
  455. package/dist/version/changelog-utils.d.ts.map +0 -1
  456. package/dist/version/changelog-utils.js +0 -198
  457. package/dist/version/changelog-utils.js.map +0 -1
  458. package/dist/version/dry-run-utils.d.ts +0 -108
  459. package/dist/version/dry-run-utils.d.ts.map +0 -1
  460. package/dist/version/dry-run-utils.js +0 -126
  461. package/dist/version/dry-run-utils.js.map +0 -1
  462. package/dist/version/git-tag-utils.d.ts +0 -50
  463. package/dist/version/git-tag-utils.d.ts.map +0 -1
  464. package/dist/version/git-tag-utils.js +0 -66
  465. package/dist/version/git-tag-utils.js.map +0 -1
  466. package/dist/version/index.d.ts +0 -11
  467. package/dist/version/index.d.ts.map +0 -1
  468. package/dist/version/index.js +0 -11
  469. package/dist/version/index.js.map +0 -1
  470. package/dist/version/release-utils.d.ts +0 -94
  471. package/dist/version/release-utils.d.ts.map +0 -1
  472. package/dist/version/release-utils.js +0 -170
  473. package/dist/version/release-utils.js.map +0 -1
  474. package/dist/version/rollback-utils.d.ts +0 -47
  475. package/dist/version/rollback-utils.d.ts.map +0 -1
  476. package/dist/version/rollback-utils.js +0 -73
  477. package/dist/version/rollback-utils.js.map +0 -1
  478. package/dist/version/version-manager.d.ts +0 -98
  479. package/dist/version/version-manager.d.ts.map +0 -1
  480. package/dist/version/version-manager.js +0 -154
  481. package/dist/version/version-manager.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"deprecation-tools.test.js","sourceRoot":"","sources":["../../../src/tools/__tests__/deprecation-tools.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG/D,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC7C,IAAI,SAAyB,CAAC;IAC9B,IAAI,SAA0B,CAAC;IAE/B,UAAU,CAAC,GAAG,EAAE;QACd,SAAS,GAAG;YACV,MAAM,EAAE,IAAI,GAAG,EAAE;YACjB,UAAU,EAAE,IAAI,GAAG,EAAE;YACrB,WAAW,EAAE,IAAI,GAAG,EAAE;YACtB,UAAU,EAAE,EAAE;YACd,UAAU,EAAE,EAAE;YACd,KAAK,EAAE,EAAE;YACT,QAAQ,EAAE,EAAE;YACZ,WAAW,EAAE,IAAI,IAAI,EAAE;YACvB,UAAU,EAAE,CAAC;SACd,CAAC;QACF,SAAS,GAAG,IAAI,eAAe,EAAE,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAClC,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;YAC7C,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AAC;QAC3C,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;YACpC,MAAM,SAAS,GAAG;gBAChB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,WAAW;gBACjB,EAAE,EAAE,GAAG;gBACP,IAAI,EAAE,eAAe;gBACrB,UAAU,EAAE,IAAI;gBAChB,kBAAkB,EAAE,YAAY;aAC1B,CAAC;YAET,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;YAE7C,MAAM,IAAI,GAAG,IAAI,sBAAsB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;YAC9D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC,CAAC;YAEhE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=get-component-docs.property.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-component-docs.property.test.d.ts","sourceRoot":"","sources":["../../../src/tools/__tests__/get-component-docs.property.test.ts"],"names":[],"mappings":""}
@@ -1,594 +0,0 @@
1
- /**
2
- * Property-based tests for GetComponentDocsTool
3
- */
4
- import { describe, it, expect } from '@jest/globals';
5
- import * as fc from 'fast-check';
6
- import { GetComponentDocsTool } from '../get-component-docs.js';
7
- import { ComponentQuery } from '../../query/component-query.js';
8
- import { ResultFormatter } from '../../query/result-formatter.js';
9
- import { IndexBuilder } from '../../query/index-builder.js';
10
- // Arbitraries for generating test data
11
- /**
12
- * Generate a decorator
13
- */
14
- const decoratorArbitrary = fc.record({
15
- name: fc.string({ minLength: 1, maxLength: 20 }),
16
- stringifiedArguments: fc.option(fc.string(), { nil: undefined }),
17
- });
18
- /**
19
- * Generate a property with optional fields
20
- */
21
- const propertyArbitrary = fc.record({
22
- name: fc.string({ minLength: 1, maxLength: 30 }).filter((s) => s.trim().length > 0 && s === s.trim()),
23
- type: fc.string({ minLength: 1, maxLength: 30 }),
24
- optional: fc.option(fc.boolean(), { nil: undefined }),
25
- description: fc.option(fc.string(), { nil: undefined }),
26
- deprecated: fc.boolean(),
27
- deprecationMessage: fc.option(fc.string(), { nil: undefined }),
28
- decorators: fc.option(fc.array(decoratorArbitrary, { maxLength: 3 }), { nil: undefined }),
29
- defaultValue: fc.option(fc.string({ minLength: 1, maxLength: 50 }).filter((s) => s.trim().length > 0), { nil: undefined }),
30
- });
31
- /**
32
- * Generate an example
33
- */
34
- const exampleArbitrary = fc.record({
35
- title: fc.option(fc.string({ maxLength: 50 }), { nil: undefined }),
36
- description: fc.option(fc.string(), { nil: undefined }),
37
- example: fc.string({ minLength: 1 }),
38
- language: fc.option(fc.constantFrom('html', 'typescript', 'javascript'), { nil: undefined }),
39
- });
40
- /**
41
- * Generate a valid component with all relevant fields
42
- */
43
- const componentArbitrary = fc.record({
44
- name: fc.string({ minLength: 1, maxLength: 50 }).filter((s) => s.trim().length > 0 && s === s.trim()),
45
- id: fc.string({ minLength: 1 }),
46
- file: fc.string({ minLength: 1 }),
47
- type: fc.constant('component'),
48
- selector: fc.option(fc.string({ minLength: 1 }), { nil: undefined }),
49
- description: fc.option(fc.string(), { nil: undefined }),
50
- deprecated: fc.boolean(),
51
- deprecationMessage: fc.option(fc.string(), { nil: undefined }),
52
- inputs: fc.option(fc.array(propertyArbitrary, { maxLength: 10 }), { nil: undefined }),
53
- outputs: fc.option(fc.array(propertyArbitrary, { maxLength: 10 }), { nil: undefined }),
54
- examples: fc.option(fc.array(exampleArbitrary, { maxLength: 5 }), { nil: undefined }),
55
- standalone: fc.option(fc.boolean(), { nil: undefined }),
56
- imports: fc.option(fc.array(fc.string({ minLength: 1, maxLength: 30 }), { maxLength: 10 }), { nil: undefined }),
57
- })
58
- .filter((comp) => {
59
- // Ensure unique input names
60
- if (comp.inputs) {
61
- const inputNames = new Set(comp.inputs.map((i) => i.name));
62
- if (inputNames.size !== comp.inputs.length)
63
- return false;
64
- }
65
- // Ensure unique output names
66
- if (comp.outputs) {
67
- const outputNames = new Set(comp.outputs.map((o) => o.name));
68
- if (outputNames.size !== comp.outputs.length)
69
- return false;
70
- }
71
- return true;
72
- });
73
- /**
74
- * Generate a valid directive with all relevant fields
75
- */
76
- const directiveArbitrary = fc.record({
77
- name: fc.string({ minLength: 1, maxLength: 50 }).filter((s) => s.trim().length > 0 && s === s.trim()),
78
- id: fc.string({ minLength: 1 }),
79
- file: fc.string({ minLength: 1 }),
80
- type: fc.constant('directive'),
81
- selector: fc.option(fc.string({ minLength: 1 }), { nil: undefined }),
82
- description: fc.option(fc.string(), { nil: undefined }),
83
- deprecated: fc.boolean(),
84
- deprecationMessage: fc.option(fc.string(), { nil: undefined }),
85
- inputs: fc.option(fc.array(propertyArbitrary, { maxLength: 10 }), { nil: undefined }),
86
- outputs: fc.option(fc.array(propertyArbitrary, { maxLength: 10 }), { nil: undefined }),
87
- standalone: fc.option(fc.boolean(), { nil: undefined }),
88
- })
89
- .filter((dir) => {
90
- // Ensure unique input names
91
- if (dir.inputs) {
92
- const inputNames = new Set(dir.inputs.map((i) => i.name));
93
- if (inputNames.size !== dir.inputs.length)
94
- return false;
95
- }
96
- // Ensure unique output names
97
- if (dir.outputs) {
98
- const outputNames = new Set(dir.outputs.map((o) => o.name));
99
- if (outputNames.size !== dir.outputs.length)
100
- return false;
101
- }
102
- return true;
103
- });
104
- /**
105
- * Generate a valid pipe
106
- */
107
- const pipeArbitrary = fc.record({
108
- name: fc.string({ minLength: 1, maxLength: 50 }).filter((s) => s.trim().length > 0 && s === s.trim()),
109
- id: fc.string({ minLength: 1 }),
110
- file: fc.string({ minLength: 1 }),
111
- type: fc.constant('pipe'),
112
- description: fc.option(fc.string(), { nil: undefined }),
113
- deprecated: fc.boolean(),
114
- standalone: fc.option(fc.boolean(), { nil: undefined }),
115
- });
116
- /**
117
- * Generate a valid injectable (service)
118
- */
119
- const injectableArbitrary = fc.record({
120
- name: fc.string({ minLength: 1, maxLength: 50 }).filter((s) => s.trim().length > 0 && s === s.trim()),
121
- id: fc.string({ minLength: 1 }),
122
- file: fc.string({ minLength: 1 }),
123
- type: fc.constant('injectable'),
124
- description: fc.option(fc.string(), { nil: undefined }),
125
- deprecated: fc.boolean(),
126
- });
127
- /**
128
- * Generate valid Compodoc documentation with unique names
129
- */
130
- const documentationArbitrary = fc
131
- .record({
132
- components: fc.array(componentArbitrary, { maxLength: 20 }),
133
- directives: fc.array(directiveArbitrary, { maxLength: 20 }),
134
- pipes: fc.array(pipeArbitrary, { maxLength: 20 }),
135
- injectables: fc.array(injectableArbitrary, { maxLength: 20 }),
136
- interfaces: fc.constant([]),
137
- classes: fc.constant([]),
138
- modules: fc.constant([]),
139
- })
140
- .filter((doc) => {
141
- // Ensure all names are unique across all types
142
- const allNames = new Set();
143
- const items = [
144
- ...doc.components,
145
- ...doc.directives,
146
- ...doc.pipes,
147
- ...doc.injectables,
148
- ];
149
- for (const item of items) {
150
- if (allNames.has(item.name)) {
151
- return false;
152
- }
153
- allNames.add(item.name);
154
- }
155
- return items.length > 0; // Ensure at least one item
156
- });
157
- describe('GetComponentDocsTool Property Tests', () => {
158
- describe('Property 4: Component retrieval completeness', () => {
159
- /**
160
- * Feature: eui-compodoc-mcp, Property 4: Component retrieval completeness
161
- * Validates: Requirements 2.1, 2.2
162
- *
163
- * For any component name in the documentation, requesting it via get-component-docs
164
- * should return metadata including inputs, outputs, selector, description, and examples.
165
- */
166
- it('should return complete metadata for any component', () => {
167
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
168
- // Build index
169
- const builder = new IndexBuilder();
170
- const index = builder.build(documentation);
171
- // Create tool
172
- const query = new ComponentQuery(index);
173
- const formatter = new ResultFormatter();
174
- const tool = new GetComponentDocsTool(query, formatter);
175
- // Get all items
176
- const allItems = [
177
- ...documentation.components,
178
- ...documentation.directives,
179
- ...documentation.pipes,
180
- ...documentation.injectables,
181
- ];
182
- // Test each item
183
- for (const item of allItems) {
184
- const result = tool.execute({ name: item.name });
185
- // Verify result structure
186
- expect(result.component).toBeDefined();
187
- expect(result.component.name).toBe(item.name);
188
- // Verify required fields are present
189
- expect(result.component.inputs).toBeDefined();
190
- expect(Array.isArray(result.component.inputs)).toBe(true);
191
- expect(result.component.outputs).toBeDefined();
192
- expect(Array.isArray(result.component.outputs)).toBe(true);
193
- expect(result.component.description).toBeDefined();
194
- expect(typeof result.component.description).toBe('string');
195
- expect(result.component.examples).toBeDefined();
196
- expect(Array.isArray(result.component.examples)).toBe(true);
197
- // Selector should be present for components/directives that have one
198
- if ('selector' in item && item.selector) {
199
- expect(result.component.selector).toBe(item.selector);
200
- }
201
- }
202
- }), { numRuns: 100 });
203
- });
204
- });
205
- describe('Property 5: Non-existent component error handling', () => {
206
- /**
207
- * Feature: eui-compodoc-mcp, Property 5: Non-existent component error handling
208
- * Validates: Requirements 2.3
209
- *
210
- * For any component name not in the documentation, requesting it should return
211
- * an error message indicating it was not found.
212
- */
213
- it('should throw error for non-existent component names', () => {
214
- fc.assert(fc.property(documentationArbitrary, fc.string({ minLength: 1, maxLength: 50 }).filter((s) => s.trim().length > 0), (documentation, nonExistentName) => {
215
- // Build index
216
- const builder = new IndexBuilder();
217
- const index = builder.build(documentation);
218
- // Create tool
219
- const query = new ComponentQuery(index);
220
- const formatter = new ResultFormatter();
221
- const tool = new GetComponentDocsTool(query, formatter);
222
- // Get all existing names
223
- const existingNames = new Set([
224
- ...documentation.components.map((c) => c.name),
225
- ...documentation.directives.map((d) => d.name),
226
- ...documentation.pipes.map((p) => p.name),
227
- ...documentation.injectables.map((i) => i.name),
228
- ]);
229
- // Only test if the name doesn't exist and is valid (non-whitespace)
230
- if (!existingNames.has(nonExistentName)) {
231
- expect(() => {
232
- tool.execute({ name: nonExistentName });
233
- }).toThrow();
234
- try {
235
- tool.execute({ name: nonExistentName });
236
- }
237
- catch (error) {
238
- expect(error).toBeInstanceOf(Error);
239
- expect(error.message).toContain('not found');
240
- }
241
- }
242
- }), { numRuns: 100 });
243
- });
244
- });
245
- describe('Property 13: Default value preservation', () => {
246
- /**
247
- * Feature: eui-compodoc-mcp, Property 13: Default value preservation
248
- * Validates: Requirements 4.3
249
- *
250
- * For any property with a default value in the documentation, the retrieved
251
- * metadata should include that default value.
252
- */
253
- it('should preserve default values for inputs and outputs', () => {
254
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
255
- // Build index
256
- const builder = new IndexBuilder();
257
- const index = builder.build(documentation);
258
- // Create tool
259
- const query = new ComponentQuery(index);
260
- const formatter = new ResultFormatter();
261
- const tool = new GetComponentDocsTool(query, formatter);
262
- // Test components with inputs/outputs
263
- for (const component of documentation.components) {
264
- const result = tool.execute({ name: component.name });
265
- // Check inputs
266
- if (component.inputs) {
267
- for (const input of component.inputs) {
268
- const resultInput = result.component.inputs.find((i) => i.name === input.name);
269
- expect(resultInput).toBeDefined();
270
- if (input.defaultValue !== undefined) {
271
- expect(resultInput?.defaultValue).toBe(input.defaultValue);
272
- }
273
- }
274
- }
275
- // Check outputs
276
- if (component.outputs) {
277
- for (const output of component.outputs) {
278
- const resultOutput = result.component.outputs.find((o) => o.name === output.name);
279
- expect(resultOutput).toBeDefined();
280
- if (output.defaultValue !== undefined) {
281
- expect(resultOutput?.defaultValue).toBe(output.defaultValue);
282
- }
283
- }
284
- }
285
- }
286
- // Test directives with inputs/outputs
287
- for (const directive of documentation.directives) {
288
- const result = tool.execute({ name: directive.name });
289
- // Check inputs
290
- if (directive.inputs) {
291
- for (const input of directive.inputs) {
292
- const resultInput = result.component.inputs.find((i) => i.name === input.name);
293
- expect(resultInput).toBeDefined();
294
- if (input.defaultValue !== undefined) {
295
- expect(resultInput?.defaultValue).toBe(input.defaultValue);
296
- }
297
- }
298
- }
299
- // Check outputs
300
- if (directive.outputs) {
301
- for (const output of directive.outputs) {
302
- const resultOutput = result.component.outputs.find((o) => o.name === output.name);
303
- expect(resultOutput).toBeDefined();
304
- if (output.defaultValue !== undefined) {
305
- expect(resultOutput?.defaultValue).toBe(output.defaultValue);
306
- }
307
- }
308
- }
309
- }
310
- }), { numRuns: 100 });
311
- });
312
- });
313
- describe('Property 14: Property optionality preservation', () => {
314
- /**
315
- * Feature: eui-compodoc-mcp, Property 14: Property optionality preservation
316
- * Validates: Requirements 4.4
317
- *
318
- * For any property marked as required or optional in the documentation, the
319
- * retrieved metadata should accurately reflect this status.
320
- */
321
- it('should preserve required/optional status for properties', () => {
322
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
323
- // Build index
324
- const builder = new IndexBuilder();
325
- const index = builder.build(documentation);
326
- // Create tool
327
- const query = new ComponentQuery(index);
328
- const formatter = new ResultFormatter();
329
- const tool = new GetComponentDocsTool(query, formatter);
330
- // Test components
331
- for (const component of documentation.components) {
332
- const result = tool.execute({ name: component.name });
333
- // Check inputs
334
- if (component.inputs) {
335
- for (const input of component.inputs) {
336
- const resultInput = result.component.inputs.find((i) => i.name === input.name);
337
- expect(resultInput).toBeDefined();
338
- // required should be the inverse of optional
339
- const expectedRequired = !input.optional;
340
- expect(resultInput?.required).toBe(expectedRequired);
341
- }
342
- }
343
- // Check outputs
344
- if (component.outputs) {
345
- for (const output of component.outputs) {
346
- const resultOutput = result.component.outputs.find((o) => o.name === output.name);
347
- expect(resultOutput).toBeDefined();
348
- // required should be the inverse of optional
349
- const expectedRequired = !output.optional;
350
- expect(resultOutput?.required).toBe(expectedRequired);
351
- }
352
- }
353
- }
354
- // Test directives
355
- for (const directive of documentation.directives) {
356
- const result = tool.execute({ name: directive.name });
357
- // Check inputs
358
- if (directive.inputs) {
359
- for (const input of directive.inputs) {
360
- const resultInput = result.component.inputs.find((i) => i.name === input.name);
361
- expect(resultInput).toBeDefined();
362
- const expectedRequired = !input.optional;
363
- expect(resultInput?.required).toBe(expectedRequired);
364
- }
365
- }
366
- // Check outputs
367
- if (directive.outputs) {
368
- for (const output of directive.outputs) {
369
- const resultOutput = result.component.outputs.find((o) => o.name === output.name);
370
- expect(resultOutput).toBeDefined();
371
- const expectedRequired = !output.optional;
372
- expect(resultOutput?.required).toBe(expectedRequired);
373
- }
374
- }
375
- }
376
- }), { numRuns: 100 });
377
- });
378
- });
379
- describe('Property 15: Decorator information preservation', () => {
380
- /**
381
- * Feature: eui-compodoc-mcp, Property 15: Decorator information preservation
382
- * Validates: Requirements 4.5
383
- *
384
- * For any property with decorator metadata in the documentation, the retrieved
385
- * metadata should include that decorator information.
386
- */
387
- it('should preserve decorator information for properties', () => {
388
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
389
- // Build index
390
- const builder = new IndexBuilder();
391
- const index = builder.build(documentation);
392
- // Create tool
393
- const query = new ComponentQuery(index);
394
- const formatter = new ResultFormatter();
395
- const tool = new GetComponentDocsTool(query, formatter);
396
- // Test components
397
- for (const component of documentation.components) {
398
- if (!component.inputs && !component.outputs)
399
- continue;
400
- const result = tool.execute({ name: component.name });
401
- // Check inputs with decorators
402
- if (component.inputs) {
403
- for (const input of component.inputs) {
404
- if (input.decorators && input.decorators.length > 0) {
405
- const resultInput = result.component.inputs.find((i) => i.name === input.name);
406
- expect(resultInput).toBeDefined();
407
- // Note: The current implementation doesn't expose decorators in PropertySummary
408
- // This test verifies the data is preserved in the underlying doc
409
- }
410
- }
411
- }
412
- // Check outputs with decorators
413
- if (component.outputs) {
414
- for (const output of component.outputs) {
415
- if (output.decorators && output.decorators.length > 0) {
416
- const resultOutput = result.component.outputs.find((o) => o.name === output.name);
417
- expect(resultOutput).toBeDefined();
418
- }
419
- }
420
- }
421
- }
422
- }), { numRuns: 100 });
423
- });
424
- });
425
- describe('Property 21: Selector inclusion', () => {
426
- /**
427
- * Feature: eui-compodoc-mcp, Property 21: Selector inclusion
428
- * Validates: Requirements 9.1
429
- *
430
- * For any component, requesting its details should include the selector field
431
- * in the response.
432
- */
433
- it('should include selector field in component details', () => {
434
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
435
- // Build index
436
- const builder = new IndexBuilder();
437
- const index = builder.build(documentation);
438
- // Create tool
439
- const query = new ComponentQuery(index);
440
- const formatter = new ResultFormatter();
441
- const tool = new GetComponentDocsTool(query, formatter);
442
- // Test components and directives (which have selectors)
443
- const itemsWithSelectors = [
444
- ...documentation.components,
445
- ...documentation.directives,
446
- ];
447
- for (const item of itemsWithSelectors) {
448
- const result = tool.execute({ name: item.name });
449
- // Selector field should be present (even if undefined)
450
- expect('selector' in result.component).toBe(true);
451
- // If original has selector, result should match
452
- if (item.selector) {
453
- expect(result.component.selector).toBe(item.selector);
454
- }
455
- }
456
- }), { numRuns: 100 });
457
- });
458
- });
459
- describe('Property 22: Multiple selector completeness', () => {
460
- /**
461
- * Feature: eui-compodoc-mcp, Property 22: Multiple selector completeness
462
- * Validates: Requirements 9.2
463
- *
464
- * For any component with multiple selectors, all selectors should be included
465
- * in the retrieved metadata.
466
- */
467
- it('should include all selectors when component has multiple', () => {
468
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
469
- // Build index
470
- const builder = new IndexBuilder();
471
- const index = builder.build(documentation);
472
- // Create tool
473
- const query = new ComponentQuery(index);
474
- const formatter = new ResultFormatter();
475
- const tool = new GetComponentDocsTool(query, formatter);
476
- // Test components with selectors
477
- for (const component of documentation.components) {
478
- if (!component.selector)
479
- continue;
480
- const result = tool.execute({ name: component.name });
481
- // The selector should match exactly
482
- expect(result.component.selector).toBe(component.selector);
483
- // Note: Compodoc stores multiple selectors as comma-separated string
484
- // e.g., "app-button, [appButton], .app-button"
485
- if (component.selector.includes(',')) {
486
- // Verify all parts are present
487
- const selectorParts = component.selector.split(',').map((s) => s.trim());
488
- for (const part of selectorParts) {
489
- expect(result.component.selector).toContain(part);
490
- }
491
- }
492
- }
493
- }), { numRuns: 100 });
494
- });
495
- });
496
- describe('Property 23: Selector type preservation', () => {
497
- /**
498
- * Feature: eui-compodoc-mcp, Property 23: Selector type preservation
499
- * Validates: Requirements 9.3
500
- *
501
- * For any selector with type information (element, attribute, class), the
502
- * retrieved metadata should indicate the selector type.
503
- */
504
- it('should preserve selector type information', () => {
505
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
506
- // Build index
507
- const builder = new IndexBuilder();
508
- const index = builder.build(documentation);
509
- // Create tool
510
- const query = new ComponentQuery(index);
511
- const formatter = new ResultFormatter();
512
- const tool = new GetComponentDocsTool(query, formatter);
513
- // Test components with selectors
514
- for (const component of documentation.components) {
515
- if (!component.selector)
516
- continue;
517
- const result = tool.execute({ name: component.name });
518
- // Selector should be preserved exactly as in original
519
- expect(result.component.selector).toBe(component.selector);
520
- // Verify selector format is preserved (brackets for attribute, dot for class, etc.)
521
- if (component.selector.startsWith('[')) {
522
- expect(result.component.selector?.startsWith('[')).toBe(true);
523
- }
524
- if (component.selector.startsWith('.')) {
525
- expect(result.component.selector?.startsWith('.')).toBe(true);
526
- }
527
- }
528
- }), { numRuns: 100 });
529
- });
530
- });
531
- describe('Property 24: Standalone flag preservation', () => {
532
- /**
533
- * Feature: eui-compodoc-mcp, Property 24: Standalone flag preservation
534
- * Validates: Requirements 9.4
535
- *
536
- * For any component marked as standalone in the documentation, the retrieved
537
- * metadata should indicate this status.
538
- */
539
- it('should preserve standalone flag', () => {
540
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
541
- // Build index
542
- const builder = new IndexBuilder();
543
- const index = builder.build(documentation);
544
- // Create tool
545
- const query = new ComponentQuery(index);
546
- const formatter = new ResultFormatter();
547
- const tool = new GetComponentDocsTool(query, formatter);
548
- // Test all items that can be standalone
549
- const standaloneItems = [
550
- ...documentation.components,
551
- ...documentation.directives,
552
- ...documentation.pipes,
553
- ];
554
- for (const item of standaloneItems) {
555
- const result = tool.execute({ name: item.name });
556
- // If standalone is defined in original, it should match in result
557
- if (item.standalone !== undefined) {
558
- expect(result.component.standalone).toBe(item.standalone);
559
- }
560
- }
561
- }), { numRuns: 100 });
562
- });
563
- });
564
- describe('Property 25: Module import preservation', () => {
565
- /**
566
- * Feature: eui-compodoc-mcp, Property 25: Module import preservation
567
- * Validates: Requirements 9.5
568
- *
569
- * For any component with module import requirements, the retrieved metadata
570
- * should include this information.
571
- */
572
- it('should preserve module import information', () => {
573
- fc.assert(fc.property(documentationArbitrary, (documentation) => {
574
- // Build index
575
- const builder = new IndexBuilder();
576
- const index = builder.build(documentation);
577
- // Create tool
578
- const query = new ComponentQuery(index);
579
- const formatter = new ResultFormatter();
580
- const tool = new GetComponentDocsTool(query, formatter);
581
- // Test components with imports
582
- for (const component of documentation.components) {
583
- const result = tool.execute({ name: component.name });
584
- // If imports are defined in original, they should match in result
585
- if (component.imports !== undefined) {
586
- expect(result.component.imports).toBeDefined();
587
- expect(result.component.imports).toEqual(component.imports);
588
- }
589
- }
590
- }), { numRuns: 100 });
591
- });
592
- });
593
- });
594
- //# sourceMappingURL=get-component-docs.property.test.js.map