code-auditor-mcp 4.1.0 → 5.0.1

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 (1086) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +374 -0
  3. package/README.md +4 -4
  4. package/configs/hhra-compat.json +0 -8
  5. package/dist/__tests__/fixtures/spec-52/item-03-exec-in-loop.d.ts +1 -1
  6. package/dist/__tests__/fixtures/spec-52/item-03-exec-in-loop.d.ts.map +1 -1
  7. package/dist/__tests__/fixtures/spec-52/item-03-exec-in-loop.js +7 -1
  8. package/dist/__tests__/fixtures/spec-52/item-03-exec-in-loop.js.map +1 -1
  9. package/dist/__tests__/fixtures/spec-52/item-04-storage-sql-exec-in-loop.d.ts +2 -8
  10. package/dist/__tests__/fixtures/spec-52/item-04-storage-sql-exec-in-loop.d.ts.map +1 -1
  11. package/dist/__tests__/fixtures/spec-52/item-04-storage-sql-exec-in-loop.js +4 -4
  12. package/dist/__tests__/fixtures/spec-52/item-04-storage-sql-exec-in-loop.js.map +1 -1
  13. package/dist/__tests__/fixtures/spec-52/item-06-chained-prepare-run-in-loop.d.ts +1 -1
  14. package/dist/__tests__/fixtures/spec-52/item-06-chained-prepare-run-in-loop.d.ts.map +1 -1
  15. package/dist/__tests__/fixtures/spec-52/item-06-chained-prepare-run-in-loop.js.map +1 -1
  16. package/dist/__tests__/fixtures/spec-52/item-07-chained-prepare-bind-first-in-loop.d.ts +2 -2
  17. package/dist/__tests__/fixtures/spec-52/item-07-chained-prepare-bind-first-in-loop.d.ts.map +1 -1
  18. package/dist/__tests__/fixtures/spec-52/item-07-chained-prepare-bind-first-in-loop.js.map +1 -1
  19. package/dist/__tests__/fixtures/spec-52/item-10-promise-all-map-of-eager-all-in-loop.d.ts +1 -1
  20. package/dist/__tests__/fixtures/spec-52/item-10-promise-all-map-of-eager-all-in-loop.d.ts.map +1 -1
  21. package/dist/__tests__/fixtures/spec-52/item-10-promise-all-map-of-eager-all-in-loop.js.map +1 -1
  22. package/dist/analyzers/applicability.d.ts +42 -0
  23. package/dist/analyzers/applicability.d.ts.map +1 -1
  24. package/dist/analyzers/applicability.js +74 -0
  25. package/dist/analyzers/applicability.js.map +1 -1
  26. package/dist/analyzers/cross-language/APIContractAnalyzer.js +18 -24
  27. package/dist/analyzers/cross-language/APIContractAnalyzer.js.map +1 -1
  28. package/dist/analyzers/cross-language/DependencyGraphBuilder.d.ts +30 -23
  29. package/dist/analyzers/cross-language/DependencyGraphBuilder.d.ts.map +1 -1
  30. package/dist/analyzers/cross-language/DependencyGraphBuilder.js +113 -76
  31. package/dist/analyzers/cross-language/DependencyGraphBuilder.js.map +1 -1
  32. package/dist/analyzers/cross-language/SchemaValidator.d.ts +2 -0
  33. package/dist/analyzers/cross-language/SchemaValidator.d.ts.map +1 -1
  34. package/dist/analyzers/cross-language/SchemaValidator.js +8 -3
  35. package/dist/analyzers/cross-language/SchemaValidator.js.map +1 -1
  36. package/dist/analyzers/crossDomain/CrossDomainAnalyzer.d.ts.map +1 -1
  37. package/dist/analyzers/crossDomain/CrossDomainAnalyzer.js +210 -148
  38. package/dist/analyzers/crossDomain/CrossDomainAnalyzer.js.map +1 -1
  39. package/dist/analyzers/documentationAnalyzer.d.ts.map +1 -1
  40. package/dist/analyzers/documentationAnalyzer.js +23 -28
  41. package/dist/analyzers/documentationAnalyzer.js.map +1 -1
  42. package/dist/analyzers/handleIdentification.d.ts +356 -0
  43. package/dist/analyzers/handleIdentification.d.ts.map +1 -0
  44. package/dist/analyzers/handleIdentification.js +424 -0
  45. package/dist/analyzers/handleIdentification.js.map +1 -0
  46. package/dist/analyzers/manifestStaleness.d.ts +64 -0
  47. package/dist/analyzers/manifestStaleness.d.ts.map +1 -0
  48. package/dist/analyzers/manifestStaleness.js +115 -0
  49. package/dist/analyzers/manifestStaleness.js.map +1 -0
  50. package/dist/analyzers/orgFilterTiers.d.ts +73 -1
  51. package/dist/analyzers/orgFilterTiers.d.ts.map +1 -1
  52. package/dist/analyzers/orgFilterTiers.js +166 -1
  53. package/dist/analyzers/orgFilterTiers.js.map +1 -1
  54. package/dist/analyzers/provenance.d.ts +251 -57
  55. package/dist/analyzers/provenance.d.ts.map +1 -1
  56. package/dist/analyzers/provenance.js +1109 -429
  57. package/dist/analyzers/provenance.js.map +1 -1
  58. package/dist/analyzers/reactAnalyzer.d.ts +2 -0
  59. package/dist/analyzers/reactAnalyzer.d.ts.map +1 -1
  60. package/dist/analyzers/reactAnalyzer.js +2 -0
  61. package/dist/analyzers/reactAnalyzer.js.map +1 -1
  62. package/dist/analyzers/receiverResolution.d.ts +183 -0
  63. package/dist/analyzers/receiverResolution.d.ts.map +1 -0
  64. package/dist/analyzers/receiverResolution.js +540 -0
  65. package/dist/analyzers/receiverResolution.js.map +1 -0
  66. package/dist/analyzers/receiverRoot.d.ts +328 -0
  67. package/dist/analyzers/receiverRoot.d.ts.map +1 -0
  68. package/dist/analyzers/receiverRoot.js +990 -0
  69. package/dist/analyzers/receiverRoot.js.map +1 -0
  70. package/dist/analyzers/ruleRegistry.d.ts +12 -68
  71. package/dist/analyzers/ruleRegistry.d.ts.map +1 -1
  72. package/dist/analyzers/ruleRegistry.js +32 -342
  73. package/dist/analyzers/ruleRegistry.js.map +1 -1
  74. package/dist/analyzers/ruleTiming.d.ts +10 -0
  75. package/dist/analyzers/ruleTiming.d.ts.map +1 -1
  76. package/dist/analyzers/ruleTiming.js +20 -0
  77. package/dist/analyzers/ruleTiming.js.map +1 -1
  78. package/dist/analyzers/sqlLiteral.d.ts +76 -0
  79. package/dist/analyzers/sqlLiteral.d.ts.map +1 -0
  80. package/dist/analyzers/sqlLiteral.js +419 -0
  81. package/dist/analyzers/sqlLiteral.js.map +1 -0
  82. package/dist/analyzers/tsEcosystem.d.ts +115 -0
  83. package/dist/analyzers/tsEcosystem.d.ts.map +1 -0
  84. package/dist/analyzers/tsEcosystem.js +231 -0
  85. package/dist/analyzers/tsEcosystem.js.map +1 -0
  86. package/dist/analyzers/tsExpressionDescriptor.d.ts +156 -0
  87. package/dist/analyzers/tsExpressionDescriptor.d.ts.map +1 -0
  88. package/dist/analyzers/tsExpressionDescriptor.js +374 -0
  89. package/dist/analyzers/tsExpressionDescriptor.js.map +1 -0
  90. package/dist/analyzers/universal/UniversalConventionsAnalyzer.d.ts +6 -0
  91. package/dist/analyzers/universal/UniversalConventionsAnalyzer.d.ts.map +1 -1
  92. package/dist/analyzers/universal/UniversalConventionsAnalyzer.js +107 -44
  93. package/dist/analyzers/universal/UniversalConventionsAnalyzer.js.map +1 -1
  94. package/dist/analyzers/universal/UniversalDRYAnalyzer.d.ts +1 -12
  95. package/dist/analyzers/universal/UniversalDRYAnalyzer.d.ts.map +1 -1
  96. package/dist/analyzers/universal/UniversalDRYAnalyzer.js +24 -101
  97. package/dist/analyzers/universal/UniversalDRYAnalyzer.js.map +1 -1
  98. package/dist/analyzers/universal/UniversalDataAccessAnalyzer.d.ts +287 -49
  99. package/dist/analyzers/universal/UniversalDataAccessAnalyzer.d.ts.map +1 -1
  100. package/dist/analyzers/universal/UniversalDataAccessAnalyzer.js +2130 -512
  101. package/dist/analyzers/universal/UniversalDataAccessAnalyzer.js.map +1 -1
  102. package/dist/analyzers/universal/UniversalDocumentationAnalyzer.d.ts.map +1 -1
  103. package/dist/analyzers/universal/UniversalDocumentationAnalyzer.js +2 -18
  104. package/dist/analyzers/universal/UniversalDocumentationAnalyzer.js.map +1 -1
  105. package/dist/analyzers/universal/UniversalSOLIDAnalyzer.d.ts +0 -33
  106. package/dist/analyzers/universal/UniversalSOLIDAnalyzer.d.ts.map +1 -1
  107. package/dist/analyzers/universal/UniversalSOLIDAnalyzer.js +20 -143
  108. package/dist/analyzers/universal/UniversalSOLIDAnalyzer.js.map +1 -1
  109. package/dist/analyzers/universal/UniversalSchemaAnalyzer.d.ts +4 -3
  110. package/dist/analyzers/universal/UniversalSchemaAnalyzer.d.ts.map +1 -1
  111. package/dist/analyzers/universal/UniversalSchemaAnalyzer.js +36 -13
  112. package/dist/analyzers/universal/UniversalSchemaAnalyzer.js.map +1 -1
  113. package/dist/analyzers/universal/UniversalSecretsAnalyzer.d.ts.map +1 -1
  114. package/dist/analyzers/universal/UniversalSecretsAnalyzer.js +6 -0
  115. package/dist/analyzers/universal/UniversalSecretsAnalyzer.js.map +1 -1
  116. package/dist/analyzers/universal/UniversalSecurityAnalyzer.d.ts +15 -0
  117. package/dist/analyzers/universal/UniversalSecurityAnalyzer.d.ts.map +1 -1
  118. package/dist/analyzers/universal/UniversalSecurityAnalyzer.js +25 -0
  119. package/dist/analyzers/universal/UniversalSecurityAnalyzer.js.map +1 -1
  120. package/dist/analyzers/universal/UniversalStylesAnalyzer.d.ts +21 -32
  121. package/dist/analyzers/universal/UniversalStylesAnalyzer.d.ts.map +1 -1
  122. package/dist/analyzers/universal/UniversalStylesAnalyzer.js +166 -196
  123. package/dist/analyzers/universal/UniversalStylesAnalyzer.js.map +1 -1
  124. package/dist/analyzers/universal/functionConcerns.d.ts +3 -0
  125. package/dist/analyzers/universal/functionConcerns.d.ts.map +1 -1
  126. package/dist/analyzers/universal/functionConcerns.js +4 -1
  127. package/dist/analyzers/universal/functionConcerns.js.map +1 -1
  128. package/dist/analyzers/universal/schema/codeAnalysis.d.ts +310 -69
  129. package/dist/analyzers/universal/schema/codeAnalysis.d.ts.map +1 -1
  130. package/dist/analyzers/universal/schema/codeAnalysis.js +709 -383
  131. package/dist/analyzers/universal/schema/codeAnalysis.js.map +1 -1
  132. package/dist/analyzers/universal/schema/config.d.ts +3 -14
  133. package/dist/analyzers/universal/schema/config.d.ts.map +1 -1
  134. package/dist/analyzers/universal/schema/config.js +3 -16
  135. package/dist/analyzers/universal/schema/config.js.map +1 -1
  136. package/dist/analyzers/universal/schema/discovery.d.ts +22 -1
  137. package/dist/analyzers/universal/schema/discovery.d.ts.map +1 -1
  138. package/dist/analyzers/universal/schema/discovery.js +36 -20
  139. package/dist/analyzers/universal/schema/discovery.js.map +1 -1
  140. package/dist/analyzers/universal/schema/jsonSchema.d.ts.map +1 -1
  141. package/dist/analyzers/universal/schema/jsonSchema.js +13 -3
  142. package/dist/analyzers/universal/schema/jsonSchema.js.map +1 -1
  143. package/dist/analyzers/universal/schema/migrations.d.ts +187 -27
  144. package/dist/analyzers/universal/schema/migrations.d.ts.map +1 -1
  145. package/dist/analyzers/universal/schema/migrations.js +443 -186
  146. package/dist/analyzers/universal/schema/migrations.js.map +1 -1
  147. package/dist/analyzers/universal/schema/types.d.ts +17 -3
  148. package/dist/analyzers/universal/schema/types.d.ts.map +1 -1
  149. package/dist/analyzers/universal/schema/violations.js +1 -1
  150. package/dist/analyzers/universal/schema/violations.js.map +1 -1
  151. package/dist/analyzers/universal/styleScale.d.ts +52 -0
  152. package/dist/analyzers/universal/styleScale.d.ts.map +1 -0
  153. package/dist/analyzers/universal/styleScale.js +95 -0
  154. package/dist/analyzers/universal/styleScale.js.map +1 -0
  155. package/dist/applyDataDirEnv.js +1 -1
  156. package/dist/applyDataDirEnv.js.map +1 -1
  157. package/dist/auditRouter.d.ts +26 -30
  158. package/dist/auditRouter.d.ts.map +1 -1
  159. package/dist/auditRouter.js +373 -143
  160. package/dist/auditRouter.js.map +1 -1
  161. package/dist/auditRunner.d.ts +64 -1
  162. package/dist/auditRunner.d.ts.map +1 -1
  163. package/dist/auditRunner.js +1537 -1051
  164. package/dist/auditRunner.js.map +1 -1
  165. package/dist/baseline.d.ts +30 -3
  166. package/dist/baseline.d.ts.map +1 -1
  167. package/dist/baseline.js +70 -9
  168. package/dist/baseline.js.map +1 -1
  169. package/dist/cli.js +997 -812
  170. package/dist/cli.js.map +1 -1
  171. package/dist/codeIndex/analyzerConfig.d.ts +60 -0
  172. package/dist/codeIndex/analyzerConfig.d.ts.map +1 -0
  173. package/dist/codeIndex/analyzerConfig.js +98 -0
  174. package/dist/codeIndex/analyzerConfig.js.map +1 -0
  175. package/dist/codeIndex/auditResults.d.ts +39 -0
  176. package/dist/codeIndex/auditResults.d.ts.map +1 -0
  177. package/dist/codeIndex/auditResults.js +99 -0
  178. package/dist/codeIndex/auditResults.js.map +1 -0
  179. package/dist/codeIndex/codeMap.d.ts +59 -0
  180. package/dist/codeIndex/codeMap.d.ts.map +1 -0
  181. package/dist/codeIndex/codeMap.js +72 -0
  182. package/dist/codeIndex/codeMap.js.map +1 -0
  183. package/dist/codeIndex/conventions.d.ts +33 -0
  184. package/dist/codeIndex/conventions.d.ts.map +1 -0
  185. package/dist/codeIndex/conventions.js +84 -0
  186. package/dist/codeIndex/conventions.js.map +1 -0
  187. package/dist/codeIndex/coverage.d.ts +78 -0
  188. package/dist/codeIndex/coverage.d.ts.map +1 -0
  189. package/dist/codeIndex/coverage.js +164 -0
  190. package/dist/codeIndex/coverage.js.map +1 -0
  191. package/dist/codeIndex/dependencyGraph.d.ts +97 -0
  192. package/dist/codeIndex/dependencyGraph.d.ts.map +1 -0
  193. package/dist/codeIndex/dependencyGraph.js +241 -0
  194. package/dist/codeIndex/dependencyGraph.js.map +1 -0
  195. package/dist/codeIndex/functionIndex.d.ts +111 -0
  196. package/dist/codeIndex/functionIndex.d.ts.map +1 -0
  197. package/dist/codeIndex/functionIndex.js +306 -0
  198. package/dist/codeIndex/functionIndex.js.map +1 -0
  199. package/dist/codeIndex/inferredReceivers.d.ts +32 -0
  200. package/dist/codeIndex/inferredReceivers.d.ts.map +1 -0
  201. package/dist/codeIndex/inferredReceivers.js +41 -0
  202. package/dist/codeIndex/inferredReceivers.js.map +1 -0
  203. package/dist/codeIndex/meta.d.ts +30 -0
  204. package/dist/codeIndex/meta.d.ts.map +1 -0
  205. package/dist/codeIndex/meta.js +37 -0
  206. package/dist/codeIndex/meta.js.map +1 -0
  207. package/dist/codeIndex/migrations.d.ts +96 -0
  208. package/dist/codeIndex/migrations.d.ts.map +1 -0
  209. package/dist/codeIndex/migrations.js +1302 -0
  210. package/dist/codeIndex/migrations.js.map +1 -0
  211. package/dist/codeIndex/projectTasks.d.ts +54 -0
  212. package/dist/codeIndex/projectTasks.d.ts.map +1 -0
  213. package/dist/codeIndex/projectTasks.js +81 -0
  214. package/dist/codeIndex/projectTasks.js.map +1 -0
  215. package/dist/codeIndex/provenance.d.ts +47 -0
  216. package/dist/codeIndex/provenance.d.ts.map +1 -0
  217. package/dist/codeIndex/provenance.js +48 -0
  218. package/dist/codeIndex/provenance.js.map +1 -0
  219. package/dist/codeIndex/rawSql.d.ts +54 -0
  220. package/dist/codeIndex/rawSql.d.ts.map +1 -0
  221. package/dist/codeIndex/rawSql.js +71 -0
  222. package/dist/codeIndex/rawSql.js.map +1 -0
  223. package/dist/codeIndex/schema.d.ts +99 -0
  224. package/dist/codeIndex/schema.d.ts.map +1 -0
  225. package/dist/codeIndex/schema.js +174 -0
  226. package/dist/codeIndex/schema.js.map +1 -0
  227. package/dist/codeIndex/search.d.ts +40 -0
  228. package/dist/codeIndex/search.d.ts.map +1 -0
  229. package/dist/codeIndex/search.js +316 -0
  230. package/dist/codeIndex/search.js.map +1 -0
  231. package/dist/codeIndex/shared.d.ts +27 -0
  232. package/dist/codeIndex/shared.d.ts.map +1 -0
  233. package/dist/codeIndex/shared.js +46 -0
  234. package/dist/codeIndex/shared.js.map +1 -0
  235. package/dist/codeIndex/sqliteCollection.d.ts +81 -0
  236. package/dist/codeIndex/sqliteCollection.d.ts.map +1 -0
  237. package/dist/codeIndex/sqliteCollection.js +250 -0
  238. package/dist/codeIndex/sqliteCollection.js.map +1 -0
  239. package/dist/codeIndex/whitelist.d.ts +59 -0
  240. package/dist/codeIndex/whitelist.d.ts.map +1 -0
  241. package/dist/codeIndex/whitelist.js +188 -0
  242. package/dist/codeIndex/whitelist.js.map +1 -0
  243. package/dist/codeIndexDB.d.ts +130 -277
  244. package/dist/codeIndexDB.d.ts.map +1 -1
  245. package/dist/codeIndexDB.js +364 -2748
  246. package/dist/codeIndexDB.js.map +1 -1
  247. package/dist/codeIndexService.d.ts +87 -12
  248. package/dist/codeIndexService.d.ts.map +1 -1
  249. package/dist/codeIndexService.js +110 -34
  250. package/dist/codeIndexService.js.map +1 -1
  251. package/dist/componentScanner.d.ts +35 -0
  252. package/dist/componentScanner.d.ts.map +1 -1
  253. package/dist/componentScanner.js +114 -80
  254. package/dist/componentScanner.js.map +1 -1
  255. package/dist/config/configGeneratePath.d.ts +4 -0
  256. package/dist/config/configGeneratePath.d.ts.map +1 -1
  257. package/dist/config/configGeneratePath.js +4 -0
  258. package/dist/config/configGeneratePath.js.map +1 -1
  259. package/dist/config/configLoader.d.ts +16 -1
  260. package/dist/config/configLoader.d.ts.map +1 -1
  261. package/dist/config/configLoader.js +26 -23
  262. package/dist/config/configLoader.js.map +1 -1
  263. package/dist/config/defaults.d.ts +11 -7
  264. package/dist/config/defaults.d.ts.map +1 -1
  265. package/dist/config/defaults.js +21 -20
  266. package/dist/config/defaults.js.map +1 -1
  267. package/dist/config/effectiveConfig.d.ts +17 -2
  268. package/dist/config/effectiveConfig.d.ts.map +1 -1
  269. package/dist/config/effectiveConfig.js +32 -25
  270. package/dist/config/effectiveConfig.js.map +1 -1
  271. package/dist/config/lintConfigReader.d.ts +6 -0
  272. package/dist/config/lintConfigReader.d.ts.map +1 -1
  273. package/dist/config/lintConfigReader.js +6 -0
  274. package/dist/config/lintConfigReader.js.map +1 -1
  275. package/dist/config/staticObjectExtract.d.ts +4 -0
  276. package/dist/config/staticObjectExtract.d.ts.map +1 -1
  277. package/dist/config/staticObjectExtract.js +7 -3
  278. package/dist/config/staticObjectExtract.js.map +1 -1
  279. package/dist/config/thresholdRationales.d.ts +2 -0
  280. package/dist/config/thresholdRationales.d.ts.map +1 -1
  281. package/dist/config/thresholdRationales.js +5 -2
  282. package/dist/config/thresholdRationales.js.map +1 -1
  283. package/dist/constants.d.ts +1 -1
  284. package/dist/constants.d.ts.map +1 -1
  285. package/dist/constants.js +10 -5
  286. package/dist/constants.js.map +1 -1
  287. package/dist/conventions/conventionMiner.d.ts +105 -2
  288. package/dist/conventions/conventionMiner.d.ts.map +1 -1
  289. package/dist/conventions/conventionMiner.js +334 -259
  290. package/dist/conventions/conventionMiner.js.map +1 -1
  291. package/dist/coverage/coverageService.js +4 -4
  292. package/dist/coverage/coverageService.js.map +1 -1
  293. package/dist/daemon/args.d.ts +3 -0
  294. package/dist/daemon/args.d.ts.map +1 -1
  295. package/dist/daemon/args.js +3 -0
  296. package/dist/daemon/args.js.map +1 -1
  297. package/dist/daemon/core.d.ts +33 -27
  298. package/dist/daemon/core.d.ts.map +1 -1
  299. package/dist/daemon/core.js +198 -162
  300. package/dist/daemon/core.js.map +1 -1
  301. package/dist/daemon/lspServer.d.ts +8 -0
  302. package/dist/daemon/lspServer.d.ts.map +1 -1
  303. package/dist/daemon/lspServer.js +8 -0
  304. package/dist/daemon/lspServer.js.map +1 -1
  305. package/dist/daemon/main.d.ts +2 -0
  306. package/dist/daemon/main.d.ts.map +1 -1
  307. package/dist/daemon/main.js +2 -0
  308. package/dist/daemon/main.js.map +1 -1
  309. package/dist/daemon/resolve.d.ts +22 -7
  310. package/dist/daemon/resolve.d.ts.map +1 -1
  311. package/dist/daemon/resolve.js +29 -8
  312. package/dist/daemon/resolve.js.map +1 -1
  313. package/dist/daemon/socketClient.d.ts +10 -1
  314. package/dist/daemon/socketClient.d.ts.map +1 -1
  315. package/dist/daemon/socketClient.js +10 -1
  316. package/dist/daemon/socketClient.js.map +1 -1
  317. package/dist/daemon/socketServer.d.ts +13 -0
  318. package/dist/daemon/socketServer.d.ts.map +1 -1
  319. package/dist/daemon/socketServer.js +13 -0
  320. package/dist/daemon/socketServer.js.map +1 -1
  321. package/dist/dataPaths.d.ts +27 -8
  322. package/dist/dataPaths.d.ts.map +1 -1
  323. package/dist/dataPaths.js +28 -44
  324. package/dist/dataPaths.js.map +1 -1
  325. package/dist/dismissals.d.ts +22 -1
  326. package/dist/dismissals.d.ts.map +1 -1
  327. package/dist/dismissals.js +22 -1
  328. package/dist/dismissals.js.map +1 -1
  329. package/dist/enforcement/gate.d.ts +1 -0
  330. package/dist/enforcement/gate.d.ts.map +1 -1
  331. package/dist/enforcement/gate.js +1 -0
  332. package/dist/enforcement/gate.js.map +1 -1
  333. package/dist/fingerprint.d.ts +6 -0
  334. package/dist/fingerprint.d.ts.map +1 -1
  335. package/dist/fingerprint.js +46 -1
  336. package/dist/fingerprint.js.map +1 -1
  337. package/dist/functionScanner.d.ts +30 -1
  338. package/dist/functionScanner.d.ts.map +1 -1
  339. package/dist/functionScanner.js +258 -256
  340. package/dist/functionScanner.js.map +1 -1
  341. package/dist/generators/AWSQConfigGenerator.d.ts +23 -0
  342. package/dist/generators/AWSQConfigGenerator.d.ts.map +1 -1
  343. package/dist/generators/AWSQConfigGenerator.js +23 -0
  344. package/dist/generators/AWSQConfigGenerator.js.map +1 -1
  345. package/dist/generators/BaseConfigGenerator.d.ts +7 -0
  346. package/dist/generators/BaseConfigGenerator.d.ts.map +1 -1
  347. package/dist/generators/BaseConfigGenerator.js +7 -0
  348. package/dist/generators/BaseConfigGenerator.js.map +1 -1
  349. package/dist/generators/ClaudeConfigGenerator.d.ts +23 -0
  350. package/dist/generators/ClaudeConfigGenerator.d.ts.map +1 -1
  351. package/dist/generators/ClaudeConfigGenerator.js +23 -0
  352. package/dist/generators/ClaudeConfigGenerator.js.map +1 -1
  353. package/dist/generators/ClineConfigGenerator.d.ts +23 -0
  354. package/dist/generators/ClineConfigGenerator.d.ts.map +1 -1
  355. package/dist/generators/ClineConfigGenerator.js +23 -0
  356. package/dist/generators/ClineConfigGenerator.js.map +1 -1
  357. package/dist/generators/CodeiumConfigGenerator.d.ts +23 -0
  358. package/dist/generators/CodeiumConfigGenerator.d.ts.map +1 -1
  359. package/dist/generators/CodeiumConfigGenerator.js +23 -0
  360. package/dist/generators/CodeiumConfigGenerator.js.map +1 -1
  361. package/dist/generators/CodexConfigGenerator.d.ts +23 -0
  362. package/dist/generators/CodexConfigGenerator.d.ts.map +1 -1
  363. package/dist/generators/CodexConfigGenerator.js +23 -0
  364. package/dist/generators/CodexConfigGenerator.js.map +1 -1
  365. package/dist/generators/ConfigGeneratorFactory.d.ts +9 -0
  366. package/dist/generators/ConfigGeneratorFactory.d.ts.map +1 -1
  367. package/dist/generators/ConfigGeneratorFactory.js +9 -0
  368. package/dist/generators/ConfigGeneratorFactory.js.map +1 -1
  369. package/dist/generators/ContinueConfigGenerator.d.ts +23 -0
  370. package/dist/generators/ContinueConfigGenerator.d.ts.map +1 -1
  371. package/dist/generators/ContinueConfigGenerator.js +23 -0
  372. package/dist/generators/ContinueConfigGenerator.js.map +1 -1
  373. package/dist/generators/CopilotConfigGenerator.d.ts +23 -0
  374. package/dist/generators/CopilotConfigGenerator.d.ts.map +1 -1
  375. package/dist/generators/CopilotConfigGenerator.js +23 -0
  376. package/dist/generators/CopilotConfigGenerator.js.map +1 -1
  377. package/dist/generators/CursorConfigGenerator.d.ts +23 -0
  378. package/dist/generators/CursorConfigGenerator.d.ts.map +1 -1
  379. package/dist/generators/CursorConfigGenerator.js +23 -0
  380. package/dist/generators/CursorConfigGenerator.js.map +1 -1
  381. package/dist/generators/GeminiConfigGenerator.d.ts +23 -0
  382. package/dist/generators/GeminiConfigGenerator.d.ts.map +1 -1
  383. package/dist/generators/GeminiConfigGenerator.js +23 -0
  384. package/dist/generators/GeminiConfigGenerator.js.map +1 -1
  385. package/dist/generators/VSCodeConfigGenerator.d.ts +23 -0
  386. package/dist/generators/VSCodeConfigGenerator.d.ts.map +1 -1
  387. package/dist/generators/VSCodeConfigGenerator.js +23 -0
  388. package/dist/generators/VSCodeConfigGenerator.js.map +1 -1
  389. package/dist/generators/ZCodeConfigGenerator.d.ts +23 -0
  390. package/dist/generators/ZCodeConfigGenerator.d.ts.map +1 -1
  391. package/dist/generators/ZCodeConfigGenerator.js +23 -0
  392. package/dist/generators/ZCodeConfigGenerator.js.map +1 -1
  393. package/dist/graph/blastRadius.d.ts.map +1 -1
  394. package/dist/graph/blastRadius.js +12 -7
  395. package/dist/graph/blastRadius.js.map +1 -1
  396. package/dist/graph/callGraph.d.ts +31 -0
  397. package/dist/graph/callGraph.d.ts.map +1 -1
  398. package/dist/graph/callGraph.js +62 -32
  399. package/dist/graph/callGraph.js.map +1 -1
  400. package/dist/graph/importClassification.d.ts +28 -0
  401. package/dist/graph/importClassification.d.ts.map +1 -1
  402. package/dist/graph/importClassification.js +57 -0
  403. package/dist/graph/importClassification.js.map +1 -1
  404. package/dist/graph/importGraph.d.ts +38 -0
  405. package/dist/graph/importGraph.d.ts.map +1 -1
  406. package/dist/graph/importGraph.js +38 -0
  407. package/dist/graph/importGraph.js.map +1 -1
  408. package/dist/graph/outputFormatter.d.ts +12 -4
  409. package/dist/graph/outputFormatter.d.ts.map +1 -1
  410. package/dist/graph/outputFormatter.js +12 -62
  411. package/dist/graph/outputFormatter.js.map +1 -1
  412. package/dist/hooks/codex.d.ts +8 -1
  413. package/dist/hooks/codex.d.ts.map +1 -1
  414. package/dist/hooks/codex.js +7 -0
  415. package/dist/hooks/codex.js.map +1 -1
  416. package/dist/hooks/core.d.ts +6 -0
  417. package/dist/hooks/core.d.ts.map +1 -1
  418. package/dist/hooks/core.js +6 -1
  419. package/dist/hooks/core.js.map +1 -1
  420. package/dist/hooks/cursor.d.ts +11 -1
  421. package/dist/hooks/cursor.d.ts.map +1 -1
  422. package/dist/hooks/cursor.js +10 -0
  423. package/dist/hooks/cursor.js.map +1 -1
  424. package/dist/index.d.ts +4 -0
  425. package/dist/index.d.ts.map +1 -1
  426. package/dist/index.js +4 -0
  427. package/dist/index.js.map +1 -1
  428. package/dist/installConfig.d.ts +23 -5
  429. package/dist/installConfig.d.ts.map +1 -1
  430. package/dist/installConfig.js +23 -5
  431. package/dist/installConfig.js.map +1 -1
  432. package/dist/installer.d.ts +6 -0
  433. package/dist/installer.d.ts.map +1 -1
  434. package/dist/installer.js +6 -0
  435. package/dist/installer.js.map +1 -1
  436. package/dist/invariants/ruleEngine.d.ts +3 -0
  437. package/dist/invariants/ruleEngine.d.ts.map +1 -1
  438. package/dist/invariants/ruleEngine.js +156 -119
  439. package/dist/invariants/ruleEngine.js.map +1 -1
  440. package/dist/invariants/ruleValidator.d.ts +3 -0
  441. package/dist/invariants/ruleValidator.d.ts.map +1 -1
  442. package/dist/invariants/ruleValidator.js +185 -178
  443. package/dist/invariants/ruleValidator.js.map +1 -1
  444. package/dist/languages/LanguageOrchestrator.d.ts +4 -1
  445. package/dist/languages/LanguageOrchestrator.d.ts.map +1 -1
  446. package/dist/languages/LanguageOrchestrator.js +8 -19
  447. package/dist/languages/LanguageOrchestrator.js.map +1 -1
  448. package/dist/languages/RuntimeManager.d.ts +8 -0
  449. package/dist/languages/RuntimeManager.d.ts.map +1 -1
  450. package/dist/languages/RuntimeManager.js +55 -5
  451. package/dist/languages/RuntimeManager.js.map +1 -1
  452. package/dist/languages/UniversalAnalyzer.js +1 -1
  453. package/dist/languages/UniversalAnalyzer.js.map +1 -1
  454. package/dist/languages/adapterBridge.d.ts +4 -0
  455. package/dist/languages/adapterBridge.d.ts.map +1 -1
  456. package/dist/languages/adapterBridge.js +37 -3
  457. package/dist/languages/adapterBridge.js.map +1 -1
  458. package/dist/languages/go/GoAdapter.d.ts.map +1 -1
  459. package/dist/languages/go/GoAdapter.js +11 -14
  460. package/dist/languages/go/GoAdapter.js.map +1 -1
  461. package/dist/languages/go/analyzer-darwin-amd64 +0 -0
  462. package/dist/languages/go/analyzer-darwin-arm64 +0 -0
  463. package/dist/languages/go/analyzer-linux-amd64 +0 -0
  464. package/dist/languages/go/analyzer-linux-arm64 +0 -0
  465. package/dist/languages/go/analyzer-src/analyzer.go +2 -0
  466. package/dist/languages/go/analyzer-src/dataaccess.go +388 -0
  467. package/dist/languages/go/analyzer-src/types.go +8 -0
  468. package/dist/languages/go/analyzer-windows-amd64.exe +0 -0
  469. package/dist/languages/go/database-packages.json +8 -0
  470. package/dist/languages/go/goResolution.d.ts +229 -0
  471. package/dist/languages/go/goResolution.d.ts.map +1 -0
  472. package/dist/languages/go/goResolution.js +799 -0
  473. package/dist/languages/go/goResolution.js.map +1 -0
  474. package/dist/languages/go/stdlib-packages.json +353 -0
  475. package/dist/languages/go/tenantInputs.d.ts +37 -0
  476. package/dist/languages/go/tenantInputs.d.ts.map +1 -0
  477. package/dist/languages/go/tenantInputs.js +121 -0
  478. package/dist/languages/go/tenantInputs.js.map +1 -0
  479. package/dist/languages/index.d.ts +1 -0
  480. package/dist/languages/index.d.ts.map +1 -1
  481. package/dist/languages/index.js +5 -0
  482. package/dist/languages/index.js.map +1 -1
  483. package/dist/languages/json/JsonAdapter.d.ts +177 -0
  484. package/dist/languages/json/JsonAdapter.d.ts.map +1 -0
  485. package/dist/languages/json/JsonAdapter.js +531 -0
  486. package/dist/languages/json/JsonAdapter.js.map +1 -0
  487. package/dist/languages/locationIndex.d.ts +41 -0
  488. package/dist/languages/locationIndex.d.ts.map +1 -0
  489. package/dist/languages/locationIndex.js +42 -0
  490. package/dist/languages/locationIndex.js.map +1 -0
  491. package/dist/languages/sql/dialectDetection.d.ts +57 -0
  492. package/dist/languages/sql/dialectDetection.d.ts.map +1 -0
  493. package/dist/languages/sql/dialectDetection.js +135 -0
  494. package/dist/languages/sql/dialectDetection.js.map +1 -0
  495. package/dist/languages/sql/sqlAst.d.ts +494 -0
  496. package/dist/languages/sql/sqlAst.d.ts.map +1 -0
  497. package/dist/languages/sql/sqlAst.js +1817 -0
  498. package/dist/languages/sql/sqlAst.js.map +1 -0
  499. package/dist/languages/testConventions.d.ts +12 -1
  500. package/dist/languages/testConventions.d.ts.map +1 -1
  501. package/dist/languages/testConventions.js +13 -1
  502. package/dist/languages/testConventions.js.map +1 -1
  503. package/dist/languages/tree-sitter/TreeSitterCssAdapter.js +1 -1
  504. package/dist/languages/tree-sitter/TreeSitterCssAdapter.js.map +1 -1
  505. package/dist/languages/tree-sitter/converter.js +2 -2
  506. package/dist/languages/tree-sitter/converter.js.map +1 -1
  507. package/dist/languages/tree-sitter/parser.d.ts +3 -4
  508. package/dist/languages/tree-sitter/parser.d.ts.map +1 -1
  509. package/dist/languages/tree-sitter/parser.js +10 -4
  510. package/dist/languages/tree-sitter/parser.js.map +1 -1
  511. package/dist/languages/tree-sitter/rawNode.d.ts +3 -0
  512. package/dist/languages/tree-sitter/rawNode.d.ts.map +1 -1
  513. package/dist/languages/tree-sitter/rawNode.js +3 -0
  514. package/dist/languages/tree-sitter/rawNode.js.map +1 -1
  515. package/dist/languages/types.d.ts +7 -0
  516. package/dist/languages/types.d.ts.map +1 -1
  517. package/dist/languages/typescript/TreeSitterTypeScriptAdapter.d.ts +36 -0
  518. package/dist/languages/typescript/TreeSitterTypeScriptAdapter.d.ts.map +1 -1
  519. package/dist/languages/typescript/TreeSitterTypeScriptAdapter.js +168 -45
  520. package/dist/languages/typescript/TreeSitterTypeScriptAdapter.js.map +1 -1
  521. package/dist/languages/typescript/database-packages.json +19 -0
  522. package/dist/ledger.d.ts +118 -2
  523. package/dist/ledger.d.ts.map +1 -1
  524. package/dist/ledger.js +167 -45
  525. package/dist/ledger.js.map +1 -1
  526. package/dist/legacyIndexNotice.d.ts +32 -0
  527. package/dist/legacyIndexNotice.d.ts.map +1 -0
  528. package/dist/legacyIndexNotice.js +89 -0
  529. package/dist/legacyIndexNotice.js.map +1 -0
  530. package/dist/mcp-tools/discoveryQueries.d.ts +55 -0
  531. package/dist/mcp-tools/discoveryQueries.d.ts.map +1 -0
  532. package/dist/mcp-tools/discoveryQueries.js +157 -0
  533. package/dist/mcp-tools/discoveryQueries.js.map +1 -0
  534. package/dist/mcp-tools/projectTasks.d.ts +9 -123
  535. package/dist/mcp-tools/projectTasks.d.ts.map +1 -1
  536. package/dist/mcp-tools/projectTasks.js +180 -170
  537. package/dist/mcp-tools/projectTasks.js.map +1 -1
  538. package/dist/mcp-tools/whitelistTools.d.ts +20 -0
  539. package/dist/mcp-tools/whitelistTools.d.ts.map +1 -1
  540. package/dist/mcp-tools/whitelistTools.js +20 -0
  541. package/dist/mcp-tools/whitelistTools.js.map +1 -1
  542. package/dist/mcp-tools/workflowGuide.d.ts +9 -0
  543. package/dist/mcp-tools/workflowGuide.d.ts.map +1 -1
  544. package/dist/mcp-tools/workflowGuide.js +13 -5
  545. package/dist/mcp-tools/workflowGuide.js.map +1 -1
  546. package/dist/mcp-tools-shared.d.ts +78 -0
  547. package/dist/mcp-tools-shared.d.ts.map +1 -1
  548. package/dist/mcp-tools-shared.js +203 -340
  549. package/dist/mcp-tools-shared.js.map +1 -1
  550. package/dist/mcp-ui-simple.d.ts +2 -0
  551. package/dist/mcp-ui-simple.d.ts.map +1 -1
  552. package/dist/mcp-ui-simple.js +12 -5
  553. package/dist/mcp-ui-simple.js.map +1 -1
  554. package/dist/mcp.d.ts +6 -0
  555. package/dist/mcp.d.ts.map +1 -1
  556. package/dist/mcp.js +832 -851
  557. package/dist/mcp.js.map +1 -1
  558. package/dist/mcpAuditJobs.d.ts +29 -33
  559. package/dist/mcpAuditJobs.d.ts.map +1 -1
  560. package/dist/mcpAuditJobs.js +102 -791
  561. package/dist/mcpAuditJobs.js.map +1 -1
  562. package/dist/mcpAutoIndex.d.ts +5 -0
  563. package/dist/mcpAutoIndex.d.ts.map +1 -1
  564. package/dist/mcpAutoIndex.js +7 -2
  565. package/dist/mcpAutoIndex.js.map +1 -1
  566. package/dist/mcpDiagnostics.d.ts +7 -0
  567. package/dist/mcpDiagnostics.d.ts.map +1 -1
  568. package/dist/mcpDiagnostics.js +34 -9
  569. package/dist/mcpDiagnostics.js.map +1 -1
  570. package/dist/mcpToolErrors.d.ts +16 -0
  571. package/dist/mcpToolErrors.d.ts.map +1 -1
  572. package/dist/mcpToolErrors.js +16 -0
  573. package/dist/mcpToolErrors.js.map +1 -1
  574. package/dist/nextFile.d.ts +6 -0
  575. package/dist/nextFile.d.ts.map +1 -1
  576. package/dist/nextFile.js +6 -0
  577. package/dist/nextFile.js.map +1 -1
  578. package/dist/nextFileIncremental.d.ts +44 -4
  579. package/dist/nextFileIncremental.d.ts.map +1 -1
  580. package/dist/nextFileIncremental.js +47 -7
  581. package/dist/nextFileIncremental.js.map +1 -1
  582. package/dist/phase/batchFunctions.d.ts +38 -0
  583. package/dist/phase/batchFunctions.d.ts.map +1 -0
  584. package/dist/phase/batchFunctions.js +64 -0
  585. package/dist/phase/batchFunctions.js.map +1 -0
  586. package/dist/phase/checks.d.ts +39 -0
  587. package/dist/phase/checks.d.ts.map +1 -0
  588. package/dist/phase/checks.js +48 -0
  589. package/dist/phase/checks.js.map +1 -0
  590. package/dist/phase/codeBlocks.d.ts +25 -0
  591. package/dist/phase/codeBlocks.d.ts.map +1 -0
  592. package/dist/phase/codeBlocks.js +268 -0
  593. package/dist/phase/codeBlocks.js.map +1 -0
  594. package/dist/phase/colorMath.d.ts +41 -0
  595. package/dist/phase/colorMath.d.ts.map +1 -0
  596. package/dist/phase/colorMath.js +109 -0
  597. package/dist/phase/colorMath.js.map +1 -0
  598. package/dist/phase/config.d.ts +29 -0
  599. package/dist/phase/config.d.ts.map +1 -0
  600. package/dist/phase/config.js +54 -0
  601. package/dist/phase/config.js.map +1 -0
  602. package/dist/phase/consumed.d.ts +47 -0
  603. package/dist/phase/consumed.d.ts.map +1 -0
  604. package/dist/phase/consumed.js +22 -0
  605. package/dist/phase/consumed.js.map +1 -0
  606. package/dist/phase/conventionMining.d.ts +59 -0
  607. package/dist/phase/conventionMining.d.ts.map +1 -0
  608. package/dist/phase/conventionMining.js +152 -0
  609. package/dist/phase/conventionMining.js.map +1 -0
  610. package/dist/phase/coverage.d.ts +65 -0
  611. package/dist/phase/coverage.d.ts.map +1 -0
  612. package/dist/phase/coverage.js +121 -0
  613. package/dist/phase/coverage.js.map +1 -0
  614. package/dist/phase/dag.d.ts +49 -0
  615. package/dist/phase/dag.d.ts.map +1 -0
  616. package/dist/phase/dag.js +120 -0
  617. package/dist/phase/dag.js.map +1 -0
  618. package/dist/phase/dataAccessCalls.d.ts +33 -0
  619. package/dist/phase/dataAccessCalls.d.ts.map +1 -0
  620. package/dist/phase/dataAccessCalls.js +42 -0
  621. package/dist/phase/dataAccessCalls.js.map +1 -0
  622. package/dist/phase/dataAccessCallsCandidates.d.ts +25 -0
  623. package/dist/phase/dataAccessCallsCandidates.d.ts.map +1 -0
  624. package/dist/phase/dataAccessCallsCandidates.js +27 -0
  625. package/dist/phase/dataAccessCallsCandidates.js.map +1 -0
  626. package/dist/phase/dynamicSql.d.ts +18 -0
  627. package/dist/phase/dynamicSql.d.ts.map +1 -0
  628. package/dist/phase/dynamicSql.js +20 -0
  629. package/dist/phase/dynamicSql.js.map +1 -0
  630. package/dist/phase/exportForm.d.ts +23 -0
  631. package/dist/phase/exportForm.d.ts.map +1 -0
  632. package/dist/phase/exportForm.js +29 -0
  633. package/dist/phase/exportForm.js.map +1 -0
  634. package/dist/phase/exportSymbols.d.ts +21 -0
  635. package/dist/phase/exportSymbols.d.ts.map +1 -0
  636. package/dist/phase/exportSymbols.js +28 -0
  637. package/dist/phase/exportSymbols.js.map +1 -0
  638. package/dist/phase/fileHeader.d.ts +15 -0
  639. package/dist/phase/fileHeader.d.ts.map +1 -0
  640. package/dist/phase/fileHeader.js +33 -0
  641. package/dist/phase/fileHeader.js.map +1 -0
  642. package/dist/phase/fileImports.d.ts +39 -0
  643. package/dist/phase/fileImports.d.ts.map +1 -0
  644. package/dist/phase/fileImports.js +138 -0
  645. package/dist/phase/fileImports.js.map +1 -0
  646. package/dist/phase/fileSymbols.d.ts +25 -0
  647. package/dist/phase/fileSymbols.d.ts.map +1 -0
  648. package/dist/phase/fileSymbols.js +302 -0
  649. package/dist/phase/fileSymbols.js.map +1 -0
  650. package/dist/phase/functionBodies.d.ts +28 -0
  651. package/dist/phase/functionBodies.d.ts.map +1 -0
  652. package/dist/phase/functionBodies.js +67 -0
  653. package/dist/phase/functionBodies.js.map +1 -0
  654. package/dist/phase/functionIndex.d.ts +28 -0
  655. package/dist/phase/functionIndex.d.ts.map +1 -0
  656. package/dist/phase/functionIndex.js +152 -0
  657. package/dist/phase/functionIndex.js.map +1 -0
  658. package/dist/phase/goFunctionAnalysis.d.ts +47 -0
  659. package/dist/phase/goFunctionAnalysis.d.ts.map +1 -0
  660. package/dist/phase/goFunctionAnalysis.js +291 -0
  661. package/dist/phase/goFunctionAnalysis.js.map +1 -0
  662. package/dist/phase/goFunctions.d.ts +38 -0
  663. package/dist/phase/goFunctions.d.ts.map +1 -0
  664. package/dist/phase/goFunctions.js +154 -0
  665. package/dist/phase/goFunctions.js.map +1 -0
  666. package/dist/phase/goImports.d.ts +29 -0
  667. package/dist/phase/goImports.d.ts.map +1 -0
  668. package/dist/phase/goImports.js +68 -0
  669. package/dist/phase/goImports.js.map +1 -0
  670. package/dist/phase/goPackageBindings.d.ts +22 -0
  671. package/dist/phase/goPackageBindings.d.ts.map +1 -0
  672. package/dist/phase/goPackageBindings.js +30 -0
  673. package/dist/phase/goPackageBindings.js.map +1 -0
  674. package/dist/phase/goSwitches.d.ts +28 -0
  675. package/dist/phase/goSwitches.d.ts.map +1 -0
  676. package/dist/phase/goSwitches.js +52 -0
  677. package/dist/phase/goSwitches.js.map +1 -0
  678. package/dist/phase/importForm.d.ts +20 -0
  679. package/dist/phase/importForm.d.ts.map +1 -0
  680. package/dist/phase/importForm.js +27 -0
  681. package/dist/phase/importForm.js.map +1 -0
  682. package/dist/phase/importSpecifiers.d.ts +20 -0
  683. package/dist/phase/importSpecifiers.d.ts.map +1 -0
  684. package/dist/phase/importSpecifiers.js +30 -0
  685. package/dist/phase/importSpecifiers.js.map +1 -0
  686. package/dist/phase/imports.d.ts +18 -0
  687. package/dist/phase/imports.d.ts.map +1 -0
  688. package/dist/phase/imports.js +25 -0
  689. package/dist/phase/imports.js.map +1 -0
  690. package/dist/phase/jsonDocument.d.ts +26 -0
  691. package/dist/phase/jsonDocument.d.ts.map +1 -0
  692. package/dist/phase/jsonDocument.js +36 -0
  693. package/dist/phase/jsonDocument.js.map +1 -0
  694. package/dist/phase/localBinding.d.ts +33 -0
  695. package/dist/phase/localBinding.d.ts.map +1 -0
  696. package/dist/phase/localBinding.js +208 -0
  697. package/dist/phase/localBinding.js.map +1 -0
  698. package/dist/phase/loopQueries.d.ts +31 -0
  699. package/dist/phase/loopQueries.d.ts.map +1 -0
  700. package/dist/phase/loopQueries.js +44 -0
  701. package/dist/phase/loopQueries.js.map +1 -0
  702. package/dist/phase/loopQueryCandidates.d.ts +26 -0
  703. package/dist/phase/loopQueryCandidates.d.ts.map +1 -0
  704. package/dist/phase/loopQueryCandidates.js +28 -0
  705. package/dist/phase/loopQueryCandidates.js.map +1 -0
  706. package/dist/phase/oracles.d.ts +216 -0
  707. package/dist/phase/oracles.d.ts.map +1 -0
  708. package/dist/phase/oracles.js +484 -0
  709. package/dist/phase/oracles.js.map +1 -0
  710. package/dist/phase/phaseModel.d.ts +190 -0
  711. package/dist/phase/phaseModel.d.ts.map +1 -0
  712. package/dist/phase/phaseModel.js +468 -0
  713. package/dist/phase/phaseModel.js.map +1 -0
  714. package/dist/phase/producers.d.ts +450 -0
  715. package/dist/phase/producers.d.ts.map +1 -0
  716. package/dist/phase/producers.js +1027 -0
  717. package/dist/phase/producers.js.map +1 -0
  718. package/dist/phase/querySiteCandidates.d.ts +27 -0
  719. package/dist/phase/querySiteCandidates.d.ts.map +1 -0
  720. package/dist/phase/querySiteCandidates.js +66 -0
  721. package/dist/phase/querySiteCandidates.js.map +1 -0
  722. package/dist/phase/querySites.d.ts +30 -0
  723. package/dist/phase/querySites.d.ts.map +1 -0
  724. package/dist/phase/querySites.js +93 -0
  725. package/dist/phase/querySites.js.map +1 -0
  726. package/dist/phase/reachability.d.ts +61 -0
  727. package/dist/phase/reachability.d.ts.map +1 -0
  728. package/dist/phase/reachability.js +104 -0
  729. package/dist/phase/reachability.js.map +1 -0
  730. package/dist/phase/reactComponents.d.ts +33 -0
  731. package/dist/phase/reactComponents.d.ts.map +1 -0
  732. package/dist/phase/reactComponents.js +47 -0
  733. package/dist/phase/reactComponents.js.map +1 -0
  734. package/dist/phase/receiverActivity.d.ts +35 -0
  735. package/dist/phase/receiverActivity.d.ts.map +1 -0
  736. package/dist/phase/receiverActivity.js +66 -0
  737. package/dist/phase/receiverActivity.js.map +1 -0
  738. package/dist/phase/receiverConsumers.d.ts +200 -0
  739. package/dist/phase/receiverConsumers.d.ts.map +1 -0
  740. package/dist/phase/receiverConsumers.js +1025 -0
  741. package/dist/phase/receiverConsumers.js.map +1 -0
  742. package/dist/phase/receiverProvenance.d.ts +97 -0
  743. package/dist/phase/receiverProvenance.d.ts.map +1 -0
  744. package/dist/phase/receiverProvenance.js +337 -0
  745. package/dist/phase/receiverProvenance.js.map +1 -0
  746. package/dist/phase/routing.d.ts +47 -0
  747. package/dist/phase/routing.d.ts.map +1 -0
  748. package/dist/phase/routing.js +62 -0
  749. package/dist/phase/routing.js.map +1 -0
  750. package/dist/phase/rules/conventions.d.ts +61 -0
  751. package/dist/phase/rules/conventions.d.ts.map +1 -0
  752. package/dist/phase/rules/conventions.js +403 -0
  753. package/dist/phase/rules/conventions.js.map +1 -0
  754. package/dist/phase/rules/crossDomain.d.ts +102 -0
  755. package/dist/phase/rules/crossDomain.d.ts.map +1 -0
  756. package/dist/phase/rules/crossDomain.js +918 -0
  757. package/dist/phase/rules/crossDomain.js.map +1 -0
  758. package/dist/phase/rules/dataAccess.d.ts +62 -0
  759. package/dist/phase/rules/dataAccess.d.ts.map +1 -0
  760. package/dist/phase/rules/dataAccess.js +480 -0
  761. package/dist/phase/rules/dataAccess.js.map +1 -0
  762. package/dist/phase/rules/dependencyGraph.d.ts +44 -0
  763. package/dist/phase/rules/dependencyGraph.d.ts.map +1 -0
  764. package/dist/phase/rules/dependencyGraph.js +260 -0
  765. package/dist/phase/rules/dependencyGraph.js.map +1 -0
  766. package/dist/phase/rules/documentation.d.ts +45 -0
  767. package/dist/phase/rules/documentation.d.ts.map +1 -0
  768. package/dist/phase/rules/documentation.js +340 -0
  769. package/dist/phase/rules/documentation.js.map +1 -0
  770. package/dist/phase/rules/dry.d.ts +109 -0
  771. package/dist/phase/rules/dry.d.ts.map +1 -0
  772. package/dist/phase/rules/dry.js +803 -0
  773. package/dist/phase/rules/dry.js.map +1 -0
  774. package/dist/phase/rules/fileDocumentation.d.ts +36 -0
  775. package/dist/phase/rules/fileDocumentation.d.ts.map +1 -0
  776. package/dist/phase/rules/fileDocumentation.js +134 -0
  777. package/dist/phase/rules/fileDocumentation.js.map +1 -0
  778. package/dist/phase/rules/functionBodies.d.ts +33 -0
  779. package/dist/phase/rules/functionBodies.d.ts.map +1 -0
  780. package/dist/phase/rules/functionBodies.js +71 -0
  781. package/dist/phase/rules/functionBodies.js.map +1 -0
  782. package/dist/phase/rules/goRules.d.ts +49 -0
  783. package/dist/phase/rules/goRules.d.ts.map +1 -0
  784. package/dist/phase/rules/goRules.js +209 -0
  785. package/dist/phase/rules/goRules.js.map +1 -0
  786. package/dist/phase/rules/querySites.d.ts +29 -0
  787. package/dist/phase/rules/querySites.d.ts.map +1 -0
  788. package/dist/phase/rules/querySites.js +94 -0
  789. package/dist/phase/rules/querySites.js.map +1 -0
  790. package/dist/phase/rules/react.d.ts +38 -0
  791. package/dist/phase/rules/react.d.ts.map +1 -0
  792. package/dist/phase/rules/react.js +202 -0
  793. package/dist/phase/rules/react.js.map +1 -0
  794. package/dist/phase/rules/registry.d.ts +170 -0
  795. package/dist/phase/rules/registry.d.ts.map +1 -0
  796. package/dist/phase/rules/registry.js +103 -0
  797. package/dist/phase/rules/registry.js.map +1 -0
  798. package/dist/phase/rules/schema.d.ts +79 -0
  799. package/dist/phase/rules/schema.d.ts.map +1 -0
  800. package/dist/phase/rules/schema.js +273 -0
  801. package/dist/phase/rules/schema.js.map +1 -0
  802. package/dist/phase/rules/schemaJson.d.ts +32 -0
  803. package/dist/phase/rules/schemaJson.d.ts.map +1 -0
  804. package/dist/phase/rules/schemaJson.js +81 -0
  805. package/dist/phase/rules/schemaJson.js.map +1 -0
  806. package/dist/phase/rules/schemaValidator.d.ts +38 -0
  807. package/dist/phase/rules/schemaValidator.d.ts.map +1 -0
  808. package/dist/phase/rules/schemaValidator.js +107 -0
  809. package/dist/phase/rules/schemaValidator.js.map +1 -0
  810. package/dist/phase/rules/secrets.d.ts +34 -0
  811. package/dist/phase/rules/secrets.d.ts.map +1 -0
  812. package/dist/phase/rules/secrets.js +208 -0
  813. package/dist/phase/rules/secrets.js.map +1 -0
  814. package/dist/phase/rules/security.d.ts +30 -0
  815. package/dist/phase/rules/security.d.ts.map +1 -0
  816. package/dist/phase/rules/security.js +85 -0
  817. package/dist/phase/rules/security.js.map +1 -0
  818. package/dist/phase/rules/securityDefects.d.ts +37 -0
  819. package/dist/phase/rules/securityDefects.d.ts.map +1 -0
  820. package/dist/phase/rules/securityDefects.js +167 -0
  821. package/dist/phase/rules/securityDefects.js.map +1 -0
  822. package/dist/phase/rules/solid.d.ts +61 -0
  823. package/dist/phase/rules/solid.d.ts.map +1 -0
  824. package/dist/phase/rules/solid.js +562 -0
  825. package/dist/phase/rules/solid.js.map +1 -0
  826. package/dist/phase/rules/styles.d.ts +77 -0
  827. package/dist/phase/rules/styles.d.ts.map +1 -0
  828. package/dist/phase/rules/styles.js +868 -0
  829. package/dist/phase/rules/styles.js.map +1 -0
  830. package/dist/phase/rules/unreferencedModule.d.ts +26 -0
  831. package/dist/phase/rules/unreferencedModule.d.ts.map +1 -0
  832. package/dist/phase/rules/unreferencedModule.js +61 -0
  833. package/dist/phase/rules/unreferencedModule.js.map +1 -0
  834. package/dist/phase/runner.d.ts +549 -0
  835. package/dist/phase/runner.d.ts.map +1 -0
  836. package/dist/phase/runner.js +1098 -0
  837. package/dist/phase/runner.js.map +1 -0
  838. package/dist/phase/schemaCode.d.ts +34 -0
  839. package/dist/phase/schemaCode.d.ts.map +1 -0
  840. package/dist/phase/schemaCode.js +53 -0
  841. package/dist/phase/schemaCode.js.map +1 -0
  842. package/dist/phase/schemaObjects.d.ts +37 -0
  843. package/dist/phase/schemaObjects.d.ts.map +1 -0
  844. package/dist/phase/schemaObjects.js +139 -0
  845. package/dist/phase/schemaObjects.js.map +1 -0
  846. package/dist/phase/schemaUsage.d.ts +30 -0
  847. package/dist/phase/schemaUsage.d.ts.map +1 -0
  848. package/dist/phase/schemaUsage.js +99 -0
  849. package/dist/phase/schemaUsage.js.map +1 -0
  850. package/dist/phase/schemaUsageCandidates.d.ts +32 -0
  851. package/dist/phase/schemaUsageCandidates.d.ts.map +1 -0
  852. package/dist/phase/schemaUsageCandidates.js +165 -0
  853. package/dist/phase/schemaUsageCandidates.js.map +1 -0
  854. package/dist/phase/schemaValidations.d.ts +34 -0
  855. package/dist/phase/schemaValidations.d.ts.map +1 -0
  856. package/dist/phase/schemaValidations.js +53 -0
  857. package/dist/phase/schemaValidations.js.map +1 -0
  858. package/dist/phase/secretCandidates.d.ts +28 -0
  859. package/dist/phase/secretCandidates.d.ts.map +1 -0
  860. package/dist/phase/secretCandidates.js +132 -0
  861. package/dist/phase/secretCandidates.js.map +1 -0
  862. package/dist/phase/securityCandidates.d.ts +29 -0
  863. package/dist/phase/securityCandidates.d.ts.map +1 -0
  864. package/dist/phase/securityCandidates.js +469 -0
  865. package/dist/phase/securityCandidates.js.map +1 -0
  866. package/dist/phase/seeded-defects.d.ts +18 -0
  867. package/dist/phase/seeded-defects.d.ts.map +1 -0
  868. package/dist/phase/seeded-defects.js +61 -0
  869. package/dist/phase/seeded-defects.js.map +1 -0
  870. package/dist/phase/stringLiterals.d.ts +24 -0
  871. package/dist/phase/stringLiterals.d.ts.map +1 -0
  872. package/dist/phase/stringLiterals.js +35 -0
  873. package/dist/phase/stringLiterals.js.map +1 -0
  874. package/dist/phase/stylesCss.d.ts +25 -0
  875. package/dist/phase/stylesCss.d.ts.map +1 -0
  876. package/dist/phase/stylesCss.js +34 -0
  877. package/dist/phase/stylesCss.js.map +1 -0
  878. package/dist/phase/stylesMarkup.d.ts +31 -0
  879. package/dist/phase/stylesMarkup.d.ts.map +1 -0
  880. package/dist/phase/stylesMarkup.js +48 -0
  881. package/dist/phase/stylesMarkup.js.map +1 -0
  882. package/dist/phase/stylesSource.d.ts +36 -0
  883. package/dist/phase/stylesSource.d.ts.map +1 -0
  884. package/dist/phase/stylesSource.js +50 -0
  885. package/dist/phase/stylesSource.js.map +1 -0
  886. package/dist/phase/typeDeclarations.d.ts +33 -0
  887. package/dist/phase/typeDeclarations.d.ts.map +1 -0
  888. package/dist/phase/typeDeclarations.js +76 -0
  889. package/dist/phase/typeDeclarations.js.map +1 -0
  890. package/dist/phase/types.d.ts +2191 -0
  891. package/dist/phase/types.d.ts.map +1 -0
  892. package/dist/phase/types.js +27 -0
  893. package/dist/phase/types.js.map +1 -0
  894. package/dist/phase/withinFileProvenance.d.ts +50 -0
  895. package/dist/phase/withinFileProvenance.d.ts.map +1 -0
  896. package/dist/phase/withinFileProvenance.js +112 -0
  897. package/dist/phase/withinFileProvenance.js.map +1 -0
  898. package/dist/pipeline.d.ts +37 -30
  899. package/dist/pipeline.d.ts.map +1 -1
  900. package/dist/pipeline.js +131 -326
  901. package/dist/pipeline.js.map +1 -1
  902. package/dist/pipelineAdapters.d.ts +104 -21
  903. package/dist/pipelineAdapters.d.ts.map +1 -1
  904. package/dist/pipelineAdapters.js +1145 -988
  905. package/dist/pipelineAdapters.js.map +1 -1
  906. package/dist/pipelineTypes.d.ts +21 -0
  907. package/dist/pipelineTypes.d.ts.map +1 -1
  908. package/dist/pipelineTypes.js +21 -10
  909. package/dist/pipelineTypes.js.map +1 -1
  910. package/dist/presets/presets.d.ts +9 -2
  911. package/dist/presets/presets.d.ts.map +1 -1
  912. package/dist/presets/presets.js +15 -26
  913. package/dist/presets/presets.js.map +1 -1
  914. package/dist/reporting/csvReportGenerator.d.ts +14 -3
  915. package/dist/reporting/csvReportGenerator.d.ts.map +1 -1
  916. package/dist/reporting/csvReportGenerator.js +14 -3
  917. package/dist/reporting/csvReportGenerator.js.map +1 -1
  918. package/dist/reporting/htmlReportGenerator.d.ts +5 -1
  919. package/dist/reporting/htmlReportGenerator.d.ts.map +1 -1
  920. package/dist/reporting/htmlReportGenerator.js +5 -1
  921. package/dist/reporting/htmlReportGenerator.js.map +1 -1
  922. package/dist/reporting/jsonReportGenerator.d.ts +9 -2
  923. package/dist/reporting/jsonReportGenerator.d.ts.map +1 -1
  924. package/dist/reporting/jsonReportGenerator.js +19 -5
  925. package/dist/reporting/jsonReportGenerator.js.map +1 -1
  926. package/dist/reporting/reportGenerator.d.ts +9 -2
  927. package/dist/reporting/reportGenerator.d.ts.map +1 -1
  928. package/dist/reporting/reportGenerator.js +9 -2
  929. package/dist/reporting/reportGenerator.js.map +1 -1
  930. package/dist/reporting/sarifReportGenerator.d.ts +14 -0
  931. package/dist/reporting/sarifReportGenerator.d.ts.map +1 -1
  932. package/dist/reporting/sarifReportGenerator.js +14 -0
  933. package/dist/reporting/sarifReportGenerator.js.map +1 -1
  934. package/dist/reporting/sizeDistribution.d.ts +19 -2
  935. package/dist/reporting/sizeDistribution.d.ts.map +1 -1
  936. package/dist/reporting/sizeDistribution.js +23 -5
  937. package/dist/reporting/sizeDistribution.js.map +1 -1
  938. package/dist/ruleAliases.d.ts +6 -8
  939. package/dist/ruleAliases.d.ts.map +1 -1
  940. package/dist/ruleAliases.js +29 -4
  941. package/dist/ruleAliases.js.map +1 -1
  942. package/dist/search/QueryParser.d.ts +1 -0
  943. package/dist/search/QueryParser.d.ts.map +1 -1
  944. package/dist/search/QueryParser.js +32 -91
  945. package/dist/search/QueryParser.js.map +1 -1
  946. package/dist/services/CodeMapGenerator.d.ts +19 -20
  947. package/dist/services/CodeMapGenerator.d.ts.map +1 -1
  948. package/dist/services/CodeMapGenerator.js +214 -194
  949. package/dist/services/CodeMapGenerator.js.map +1 -1
  950. package/dist/services/ProjectTaskRepository.d.ts +65 -3
  951. package/dist/services/ProjectTaskRepository.d.ts.map +1 -1
  952. package/dist/services/ProjectTaskRepository.js +94 -25
  953. package/dist/services/ProjectTaskRepository.js.map +1 -1
  954. package/dist/services/auditJobService.d.ts +17 -1
  955. package/dist/services/auditJobService.d.ts.map +1 -1
  956. package/dist/services/auditJobService.js +16 -0
  957. package/dist/services/auditJobService.js.map +1 -1
  958. package/dist/services/fileAccounting.d.ts +43 -5
  959. package/dist/services/fileAccounting.d.ts.map +1 -1
  960. package/dist/services/fileAccounting.js +48 -9
  961. package/dist/services/fileAccounting.js.map +1 -1
  962. package/dist/services/projectTaskHelpers.d.ts +45 -0
  963. package/dist/services/projectTaskHelpers.d.ts.map +1 -1
  964. package/dist/services/projectTaskHelpers.js +45 -0
  965. package/dist/services/projectTaskHelpers.js.map +1 -1
  966. package/dist/services/whitelistService.d.ts +40 -5
  967. package/dist/services/whitelistService.d.ts.map +1 -1
  968. package/dist/services/whitelistService.js +87 -46
  969. package/dist/services/whitelistService.js.map +1 -1
  970. package/dist/sqlite/betterSqlite3.d.ts +35 -1
  971. package/dist/sqlite/betterSqlite3.d.ts.map +1 -1
  972. package/dist/sqlite/betterSqlite3.js +35 -1
  973. package/dist/sqlite/betterSqlite3.js.map +1 -1
  974. package/dist/sqlite/driver.d.ts +23 -0
  975. package/dist/sqlite/driver.d.ts.map +1 -1
  976. package/dist/sqlite/driver.js +23 -0
  977. package/dist/sqlite/driver.js.map +1 -1
  978. package/dist/sqlite/nodeSqlite.d.ts +35 -1
  979. package/dist/sqlite/nodeSqlite.d.ts.map +1 -1
  980. package/dist/sqlite/nodeSqlite.js +35 -1
  981. package/dist/sqlite/nodeSqlite.js.map +1 -1
  982. package/dist/structuralSignature.d.ts +9 -0
  983. package/dist/structuralSignature.d.ts.map +1 -1
  984. package/dist/structuralSignature.js +9 -0
  985. package/dist/structuralSignature.js.map +1 -1
  986. package/dist/styles/cssAstExtractor.d.ts +15 -0
  987. package/dist/styles/cssAstExtractor.d.ts.map +1 -1
  988. package/dist/styles/cssAstExtractor.js +15 -0
  989. package/dist/styles/cssAstExtractor.js.map +1 -1
  990. package/dist/styles/normalizer.d.ts +6 -0
  991. package/dist/styles/normalizer.d.ts.map +1 -1
  992. package/dist/styles/normalizer.js +6 -0
  993. package/dist/styles/normalizer.js.map +1 -1
  994. package/dist/styles/styleExtractor.d.ts +29 -2
  995. package/dist/styles/styleExtractor.d.ts.map +1 -1
  996. package/dist/styles/styleExtractor.js +67 -48
  997. package/dist/styles/styleExtractor.js.map +1 -1
  998. package/dist/styles/styleIndexer.d.ts +8 -0
  999. package/dist/styles/styleIndexer.d.ts.map +1 -1
  1000. package/dist/styles/styleIndexer.js +135 -138
  1001. package/dist/styles/styleIndexer.js.map +1 -1
  1002. package/dist/styles/tailwindConfigLoader.d.ts +12 -0
  1003. package/dist/styles/tailwindConfigLoader.d.ts.map +1 -1
  1004. package/dist/styles/tailwindConfigLoader.js +12 -0
  1005. package/dist/styles/tailwindConfigLoader.js.map +1 -1
  1006. package/dist/styles/tailwindExpander.d.ts +3 -0
  1007. package/dist/styles/tailwindExpander.d.ts.map +1 -1
  1008. package/dist/styles/tailwindExpander.js +8 -4
  1009. package/dist/styles/tailwindExpander.js.map +1 -1
  1010. package/dist/styles/tailwindProbe.d.ts +9 -0
  1011. package/dist/styles/tailwindProbe.d.ts.map +1 -1
  1012. package/dist/styles/tailwindProbe.js +181 -166
  1013. package/dist/styles/tailwindProbe.js.map +1 -1
  1014. package/dist/styles/tailwindUtilityExpander.d.ts +13 -0
  1015. package/dist/styles/tailwindUtilityExpander.d.ts.map +1 -1
  1016. package/dist/styles/tailwindUtilityExpander.js +13 -0
  1017. package/dist/styles/tailwindUtilityExpander.js.map +1 -1
  1018. package/dist/symbols.d.ts +13 -11
  1019. package/dist/symbols.d.ts.map +1 -1
  1020. package/dist/symbols.js +14 -21
  1021. package/dist/symbols.js.map +1 -1
  1022. package/dist/telemetry.d.ts +31 -3
  1023. package/dist/telemetry.d.ts.map +1 -1
  1024. package/dist/telemetry.js +31 -3
  1025. package/dist/telemetry.js.map +1 -1
  1026. package/dist/tool-registry.d.ts +37 -1
  1027. package/dist/tool-registry.d.ts.map +1 -1
  1028. package/dist/tool-registry.js +37 -1
  1029. package/dist/tool-registry.js.map +1 -1
  1030. package/dist/types.d.ts +106 -92
  1031. package/dist/types.d.ts.map +1 -1
  1032. package/dist/types.js +7 -16
  1033. package/dist/types.js.map +1 -1
  1034. package/dist/ui/InteractivePrompts.d.ts +12 -0
  1035. package/dist/ui/InteractivePrompts.d.ts.map +1 -1
  1036. package/dist/ui/InteractivePrompts.js +12 -0
  1037. package/dist/ui/InteractivePrompts.js.map +1 -1
  1038. package/dist/utils/astParser.d.ts +15 -0
  1039. package/dist/utils/astParser.d.ts.map +1 -1
  1040. package/dist/utils/astParser.js +15 -0
  1041. package/dist/utils/astParser.js.map +1 -1
  1042. package/dist/utils/astUtils.d.ts +60 -0
  1043. package/dist/utils/astUtils.d.ts.map +1 -1
  1044. package/dist/utils/astUtils.js +350 -362
  1045. package/dist/utils/astUtils.js.map +1 -1
  1046. package/dist/utils/contentHash.d.ts +22 -0
  1047. package/dist/utils/contentHash.d.ts.map +1 -0
  1048. package/dist/utils/contentHash.js +26 -0
  1049. package/dist/utils/contentHash.js.map +1 -0
  1050. package/dist/utils/dependencyExtractor.d.ts +28 -0
  1051. package/dist/utils/dependencyExtractor.d.ts.map +1 -1
  1052. package/dist/utils/dependencyExtractor.js +28 -1
  1053. package/dist/utils/dependencyExtractor.js.map +1 -1
  1054. package/dist/utils/errorMessage.d.ts +10 -0
  1055. package/dist/utils/errorMessage.d.ts.map +1 -0
  1056. package/dist/utils/errorMessage.js +12 -0
  1057. package/dist/utils/errorMessage.js.map +1 -0
  1058. package/dist/utils/fileDiscovery.d.ts +61 -2
  1059. package/dist/utils/fileDiscovery.d.ts.map +1 -1
  1060. package/dist/utils/fileDiscovery.js +131 -23
  1061. package/dist/utils/fileDiscovery.js.map +1 -1
  1062. package/dist/utils/reactDetection.d.ts +34 -5
  1063. package/dist/utils/reactDetection.d.ts.map +1 -1
  1064. package/dist/utils/reactDetection.js +73 -52
  1065. package/dist/utils/reactDetection.js.map +1 -1
  1066. package/dist/version.generated.d.ts +1 -1
  1067. package/dist/version.generated.js +1 -1
  1068. package/dist/workers/auditWorker.js +7 -3
  1069. package/dist/workers/auditWorker.js.map +1 -1
  1070. package/examples/.auditrc.example.json +0 -8
  1071. package/examples/.auditrc.json +0 -11
  1072. package/examples/.code-auditor.json +0 -2
  1073. package/examples/nextjs.auditrc.json +0 -8
  1074. package/examples/node-api.auditrc.json +0 -7
  1075. package/examples/react.auditrc.json +0 -6
  1076. package/examples/tolerant-solid.auditrc.json +0 -5
  1077. package/package.json +14 -8
  1078. package/plugin/.claude-plugin/manifest.json +16 -0
  1079. package/plugin/.claude-plugin/plugin.json +1 -1
  1080. package/plugin/hooks/hooks.json +6 -2
  1081. package/plugin/scripts/hook-audit.sh +41 -14
  1082. package/plugin/scripts/hook-common.sh +50 -5
  1083. package/plugin/scripts/hook-drift-check.sh +72 -0
  1084. package/plugin/scripts/hook-self-audit.sh +17 -12
  1085. package/plugin/skills/code-auditor/SKILL.md +1 -1
  1086. package/server.json +2 -2
@@ -0,0 +1,549 @@
1
+ /**
2
+ * Spec 68 §3.2 vertical slice — the phase runner: Parse → Process → Analyze.
3
+ *
4
+ * This is the in-process proof of the phase model for ONE fact kind
5
+ * (`file-symbols`) and its SOLID rules. It is deliberately not the full §6
6
+ * distributed runner (bounded work queue, parent/worker, index-backed facts);
7
+ * that lands in §6. What this proves, once, is the contract the whole model
8
+ * turns on:
9
+ *
10
+ * - Parse produces a `ParsedFile` whose `ast` lives only here (it is freed
11
+ * after the processor runs and never crosses the Process→Analyze boundary).
12
+ * - Process runs the `file-symbols` producer per file and concatenates the
13
+ * fragments into the corpus-wide `file-symbols` fact.
14
+ * - Analyze hands that fact — and nothing else — to each SOLID rule, whose
15
+ * `analyze` is pure threshold comparison over plain data.
16
+ *
17
+ * §6 replaces the parse loop with fan-out and the `thresholds` literal with
18
+ * resolved config; the three-phase ordering and the "rules read facts, never
19
+ * ASTs" property are already fixed here.
20
+ */
21
+ import type { Dialect } from '../mcp-tools/discoveryQueries.js';
22
+ import type { ParsedFile, FileSymbols, ResolvedQuery, LoopQueryFact, DynamicSqlFact, SchemaUsageFact, SchemaDeclaration, SchemaObject, ResolutionFact, MigrationHistory, Entity, Format, ThresholdValues, Finding, StyleDeclarationsFile, FunctionIndexFact, MinedConvention, ExportFormFact, ImportFormFact, ImportFact, StringLiteralFact, SecretCandidate, SecurityCandidate, QuerySiteFact, ReactComponentScan, FileHeaderFact, CodeBlockFact, JsonDocumentFact, SchemaValidationFact } from './types.js';
23
+ /** A file to parse, with its source already read (the CLI reads it in §11). */
24
+ export type InputFile = {
25
+ readonly path: string;
26
+ readonly content: string;
27
+ };
28
+ /**
29
+ * The format a path declares, by extension (matches the liveness fixtures).
30
+ *
31
+ * @param path - The file path whose extension determines the format.
32
+ * @returns The `Format` the path declares.
33
+ */
34
+ export declare function formatFor(path: string): Format;
35
+ /**
36
+ * Parse one file into a `ParsedFile`. Uses `adapter.parse()` (not the sync
37
+ * bridge) so the adapter's source map is populated — `extractFunctions` /
38
+ * `extractClasses` read the real source through it. Returns `null` when no
39
+ * adapter resolves the path or the parse fails; the caller records the drop
40
+ * (§3.3 makes a per-file failure `incomplete`, which is §8's concern).
41
+ *
42
+ * @param input - The file to parse (path + already-read content).
43
+ * @param projectRoot - The optional project root threaded into the parsed file.
44
+ * @param sqlDialect - The corpus's named SQL dialect (null means cannot-fire for
45
+ * the SQL-reading producers: `ddl-declarations` and `data-access-calls`).
46
+ * @returns The parsed file, or `null` when no adapter resolves or the parse fails.
47
+ */
48
+ export declare function parseOne(input: InputFile, projectRoot?: string, sqlDialect?: Dialect | null): Promise<ParsedFile | null>;
49
+ /**
50
+ * Parse → Process for the `file-symbols` fact. Returns the assembled corpus
51
+ * fact (every symbol from every file, files' ASTs already freed).
52
+ *
53
+ * @param files - The input files to parse and process.
54
+ * @returns The assembled `file-symbols` corpus fact.
55
+ */
56
+ export declare function buildFileSymbols(files: readonly InputFile[]): Promise<FileSymbols[]>;
57
+ /** Analyze the assembled `file-symbols` fact with the SOLID rules. The union
58
+ * context carries the §9 Go facts as `[]` and widens `formats` to include `go`
59
+ * so the Go arms (`interface-size`'s Go branch, `struct-size`, `function-size`,
60
+ * `switch-size`, `liskov-substitution`) reduce an empty fact in this TS-only
61
+ * slice rather than a missing one — they produce nothing because there are no
62
+ * Go files here. `resolution` supplies the class-declaration chain
63
+ * `solid/open-closed` walks (`isErrorSubclass`) for its `instanceof` guard.
64
+ *
65
+ * @param symbols - The assembled `file-symbols` fact to analyze.
66
+ * @param resolution - The one resolution fact (`solid/open-closed` reads its
67
+ * `classes` for the extends-Error check).
68
+ * @param thresholds - The SOLID rule thresholds (defaults to `{}`).
69
+ * @returns The SOLID rules' findings over the fact.
70
+ */
71
+ export declare function analyzeFileSymbols(symbols: FileSymbols[], resolution: ResolutionFact, thresholds?: ThresholdValues): Promise<Finding[]>;
72
+ /** The whole vertical slice: parse → file-symbols + resolution → SOLID rules →
73
+ * findings.
74
+ *
75
+ * @param files the input files to parse and analyze
76
+ * @param thresholds the SOLID rule thresholds (defaults to `{}`)
77
+ * @returns the SOLID rules' findings over the whole file set
78
+ */
79
+ export declare function runFileSymbolsSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
80
+ /**
81
+ * Analyze the assembled `file-symbols` fact with the documentation rules.
82
+ *
83
+ * @param symbols - The assembled `file-symbols` fact to analyze.
84
+ * @param thresholds - The documentation rule thresholds (defaults to `{}`).
85
+ * @returns The documentation rules' findings over the fact.
86
+ */
87
+ export declare function analyzeDocumentation(symbols: FileSymbols[], thresholds?: ThresholdValues): Promise<Finding[]>;
88
+ /** The documentation slice: parse → file-symbols → documentation rules → findings. */
89
+ export declare function runDocumentationSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
90
+ /**
91
+ * Parse → Process for the `data-access-calls` fact. Returns the assembled
92
+ * corpus fact (every resolved DB call from every file, ASTs already freed).
93
+ *
94
+ * @param files - The input files to parse and process.
95
+ * @param sqlDialect - The corpus's named dialect for SQL parsing, or null/undefined.
96
+ * @returns The assembled `data-access-calls` corpus fact.
97
+ */
98
+ export declare function buildDataAccessCalls(files: readonly InputFile[], sqlDialect?: Dialect | null): Promise<ResolvedQuery[]>;
99
+ /** Analyze the assembled `data-access-calls` + `resolution` facts with the
100
+ * data-access rules. `missing-org-filter` reads the resolution for Tier 3 (DDL)
101
+ * tenancy; the other three rules ignore it (their `needs` declare only
102
+ * `data-access-calls`, and the union context carries both).
103
+ *
104
+ * @param calls - The assembled `data-access-calls` fact to analyze.
105
+ * @param resolution - The one resolution fact (`missing-org-filter` reads it).
106
+ * @param thresholds - The data-access rule thresholds (defaults to `{}`).
107
+ * @returns The data-access rules' findings over the facts.
108
+ */
109
+ export declare function analyzeDataAccessCalls(calls: ResolvedQuery[], resolution: ResolutionFact, thresholds?: ThresholdValues): Promise<Finding[]>;
110
+ /**
111
+ * The data-access slice: parse → data-access-calls + resolution → rules → findings.
112
+ *
113
+ * @param files - The input files to parse and process.
114
+ * @param thresholds - The data-access rule thresholds (defaults to `{}`).
115
+ * @param sqlDialect - The corpus's named dialect (null means cannot-fire).
116
+ * @returns The data-access rules' findings over the assembled facts.
117
+ */
118
+ export declare function runDataAccessSlice(files: readonly InputFile[], thresholds?: ThresholdValues, sqlDialect?: Dialect | null): Promise<Finding[]>;
119
+ /**
120
+ * Parse → Process for the `loop-queries` fact. Returns the assembled corpus
121
+ * fact (every loop whose body issues a DB call, ASTs already freed). The fact
122
+ * carries no cross-file structure — the `loop-query` rule reduces each element
123
+ * in isolation, exactly as the legacy `checkLoopQueries` ran once per AST.
124
+ *
125
+ * @param files - The input files to parse and process.
126
+ * @param sqlDialect - The corpus's named dialect (null means cannot-fire).
127
+ * @returns The assembled `loop-queries` corpus fact.
128
+ */
129
+ export declare function buildLoopQueries(files: readonly InputFile[], sqlDialect?: Dialect | null): Promise<LoopQueryFact[]>;
130
+ /**
131
+ * Analyze the assembled `loop-queries` fact with the loop-query rule.
132
+ *
133
+ * @param facts - The assembled `loop-queries` fact to analyze.
134
+ * @param thresholds - The loop-query rule thresholds (defaults to `{}`).
135
+ * @returns The loop-query rule's findings over the fact.
136
+ */
137
+ export declare function analyzeLoopQueries(facts: LoopQueryFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
138
+ /**
139
+ * The loop-queries slice: parse → loop-queries → loop-query → findings.
140
+ *
141
+ * @param files - The input files to parse and process.
142
+ * @param thresholds - The loop-query rule thresholds (defaults to `{}`).
143
+ * @param sqlDialect - The corpus's named dialect (null means cannot-fire).
144
+ * @returns The loop-query rule's findings over the assembled facts.
145
+ */
146
+ export declare function runLoopQueriesSlice(files: readonly InputFile[], thresholds?: ThresholdValues, sqlDialect?: Dialect | null): Promise<Finding[]>;
147
+ /**
148
+ * Parse → Process for the `dynamic-sql` fact. Returns the assembled corpus
149
+ * fact (every dangerous query/execute call site, ASTs already freed). The fact
150
+ * carries no cross-file structure — the `dynamic-sql-construction` rule reduces
151
+ * each element in isolation, exactly as the legacy `checkSQLInjection` ran once
152
+ * per AST.
153
+ *
154
+ * @param files - The input files to parse and process.
155
+ * @returns The assembled `dynamic-sql` corpus fact.
156
+ */
157
+ export declare function buildDynamicSql(files: readonly InputFile[]): Promise<DynamicSqlFact[]>;
158
+ /**
159
+ * Analyze the assembled `dynamic-sql` fact with the dynamic-sql-construction rule.
160
+ *
161
+ * @param facts - The assembled `dynamic-sql` fact to analyze.
162
+ * @param thresholds - The dynamic-sql rule thresholds (defaults to `{}`).
163
+ * @returns The dynamic-sql-construction rule's findings over the fact.
164
+ */
165
+ export declare function analyzeDynamicSql(facts: DynamicSqlFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
166
+ /** The dynamic-sql slice: parse → dynamic-sql → dynamic-sql-construction → findings. */
167
+ export declare function runDynamicSqlSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
168
+ /**
169
+ * Parse → Process for the `schema-usage` fact. Returns the assembled corpus
170
+ * fact (every table reference from every file, ASTs already freed).
171
+ *
172
+ * @param files - The input files to parse and process.
173
+ * @param sqlDialect - The corpus's named dialect for SQL parsing, or null/undefined.
174
+ * @returns The assembled `schema-usage` corpus fact.
175
+ */
176
+ export declare function buildSchemaUsage(files: readonly InputFile[], sqlDialect?: Dialect | null): Promise<SchemaUsageFact[]>;
177
+ /**
178
+ * Parse → Process for the `ddl-declarations` fact (DDL in code and `.sql`
179
+ * migration files). Returns the raw declarations both corpus processors
180
+ * (`resolution`, `migration-history`) reduce — so the two derive from one
181
+ * parse pass rather than re-parsing the same files twice.
182
+ *
183
+ * @param files - The input files to parse and process.
184
+ * @param sqlDialect - The corpus's named dialect for SQL parsing, or null/undefined.
185
+ * @returns The raw `ddl-declarations` the corpus processors reduce.
186
+ */
187
+ export declare function buildDdlDeclarations(files: readonly InputFile[], sqlDialect?: Dialect | null): Promise<SchemaDeclaration[]>;
188
+ /**
189
+ * Parse → Process for the `schema-objects` fact (ORM `const <id> = pgTable(
190
+ * 'name', …)` bindings). Returns the identifier → SQL-name bindings the
191
+ * `resolution` corpus processor folds into its alias map.
192
+ *
193
+ * @param files - The input files to parse and process.
194
+ * @returns The raw `schema-objects` the corpus processor reduces.
195
+ */
196
+ export declare function buildSchemaObjects(files: readonly InputFile[]): Promise<SchemaObject[]>;
197
+ /**
198
+ * Reduce the `ddl-declarations` + `schema-objects` + `file-symbols` facts
199
+ * through the `resolution` corpus processor into the one resolution fact. The
200
+ * JSON-schema half of the old catalog is config-driven (§10) and not reachable
201
+ * from this simple runner, so it is dropped — this is the DDL-only slice of the
202
+ * resolution, the config-free half the corpus processor consumes.
203
+ *
204
+ * @param files The input files to parse and process.
205
+ * @param sqlDialect The corpus's named dialect (null means cannot-fire).
206
+ * @returns The reduced resolution fact.
207
+ */
208
+ export declare function buildResolution(files: readonly InputFile[], sqlDialect?: Dialect | null): Promise<ResolutionFact>;
209
+ /**
210
+ * Reduce the `ddl-declarations` fact through the `migration-history` corpus
211
+ * processor into the cross-file drop provenance (`stale-table-reference` reads
212
+ * it to partition dropped tables from never-existed tables).
213
+ *
214
+ * @param files The input files to parse and process.
215
+ * @param sqlDialect The corpus's named dialect (null means cannot-fire).
216
+ */
217
+ export declare function buildMigrationHistory(files: readonly InputFile[], sqlDialect?: Dialect | null): Promise<MigrationHistory>;
218
+ /** Analyze the `schema-usage` + `resolution` + `migration-history` facts with
219
+ * the schema rules. `unknown-table` reads the resolution and migration-history
220
+ * to hand dropped tables to `stale-table-reference`; `table-naming-convention`
221
+ * reads `schema-usage` alone (its `needs` declares only that fact, and the
222
+ * union context carries all three).
223
+ *
224
+ * @param usages - The assembled `schema-usage` fact to analyze.
225
+ * @param resolution - The one resolution fact (`unknown-table` reads it).
226
+ * @param migrationHistory - The cross-file drop provenance.
227
+ * @param thresholds - The schema rule thresholds (defaults to `{}`).
228
+ * @returns The schema rules' findings over the facts.
229
+ */
230
+ export declare function analyzeSchemaRules(usages: SchemaUsageFact[], resolution: ResolutionFact, migrationHistory: MigrationHistory, thresholds?: ThresholdValues): Promise<Finding[]>;
231
+ /** The schema slice: parse → schema-usage + resolution + migration-history →
232
+ * schema rules → findings.
233
+ *
234
+ * @param files - The input files to parse and process.
235
+ * @param thresholds - The schema rule thresholds (defaults to `{}`).
236
+ * @param sqlDialect - The corpus's named dialect (null means cannot-fire).
237
+ * @returns The schema rules' findings over the assembled facts.
238
+ */
239
+ export declare function runSchemaSlice(files: readonly InputFile[], thresholds?: ThresholdValues, sqlDialect?: Dialect | null): Promise<Finding[]>;
240
+ /**
241
+ * Analyze the assembled `schema-usage` fact with the cross-domain lifecycle
242
+ * rules (`written-never-read`, `read-never-written`). Like the schema rules,
243
+ * these reduce the whole corpus at once; the two detectors are pure set
244
+ * differences over the flat usage list.
245
+ *
246
+ * @param usages - The assembled `schema-usage` fact to analyze.
247
+ * @param thresholds - The cross-domain rule thresholds (defaults to `{}`).
248
+ * @returns The cross-domain lifecycle rules' findings over the fact.
249
+ */
250
+ export declare function analyzeCrossDomain(usages: SchemaUsageFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
251
+ /** The cross-domain slice: parse → schema-usage → lifecycle rules → findings.
252
+ * @param files - The input files to parse and process.
253
+ * @param thresholds - The cross-domain rule thresholds.
254
+ * @param sqlDialect - The corpus's named dialect for SQL parsing, or null/undefined.
255
+ * @returns The cross-domain lifecycle rules' findings over the fact. */
256
+ export declare function runCrossDomainSlice(files: readonly InputFile[], thresholds?: ThresholdValues, sqlDialect?: Dialect | null): Promise<Finding[]>;
257
+ /**
258
+ * Parse → Process for the `cross-language-entities` fact. Returns the assembled
259
+ * corpus fact (every entity from every file, ASTs already freed). The
260
+ * dependency-graph rules read the *whole* corpus at once, so unlike the SOLID /
261
+ * data-access slices there is no per-file analysis arm — the fact is the input.
262
+ *
263
+ * @param files - The input files to parse and process.
264
+ * @returns The assembled `cross-language-entities` corpus fact.
265
+ */
266
+ export declare function buildCrossLanguageEntities(files: readonly InputFile[]): Promise<Entity[]>;
267
+ /**
268
+ * Analyze the assembled `cross-language-entities` fact with the dependency-graph rules.
269
+ *
270
+ * @param entities - The assembled `cross-language-entities` fact to analyze.
271
+ * @param thresholds - The dependency-graph rule thresholds (defaults to `{}`).
272
+ * @returns The dependency-graph rules' findings over the fact.
273
+ */
274
+ export declare function analyzeDependencyGraph(entities: Entity[], thresholds?: ThresholdValues): Promise<Finding[]>;
275
+ /** The dependency-graph slice: parse → cross-language-entities → graph rules → findings. */
276
+ export declare function runDependencyGraphSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
277
+ /**
278
+ * Analyze the assembled `cross-language-entities` fact with the schema-validator
279
+ * rules. The dependency-graph and schema-validator slices share one producer;
280
+ * they differ only in which rules reduce the fact. Like the dependency-graph
281
+ * rules, the schema-validator rules read the *whole* corpus at once.
282
+ *
283
+ * @param entities - The assembled `cross-language-entities` fact to analyze.
284
+ * @param thresholds - The schema-validator rule thresholds (defaults to `{}`).
285
+ * @returns The schema-validator rules' findings over the fact.
286
+ */
287
+ export declare function analyzeSchemaValidator(entities: Entity[], thresholds?: ThresholdValues): Promise<Finding[]>;
288
+ /** The schema-validator slice: parse → cross-language-entities → validator rules → findings. */
289
+ export declare function runSchemaValidatorSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
290
+ /**
291
+ * Parse → Process for the `style-declarations` fact. Returns the assembled
292
+ * corpus fact (every declaration/token/class-usage from every CSS/SCSS/TS/JS
293
+ * file, ASTs already freed). `projectRoot` threads through to the TS/JS producer
294
+ * so Tailwind utility expansion resolves the project's theme tokens.
295
+ *
296
+ * @param files - The input files to parse and process.
297
+ * @param projectRoot - The optional project root for Tailwind token resolution.
298
+ * @returns The assembled `style-declarations` corpus fact.
299
+ */
300
+ export declare function buildStyleDeclarations(files: readonly InputFile[], projectRoot?: string): Promise<StyleDeclarationsFile[]>;
301
+ /**
302
+ * Analyze the assembled `style-declarations` fact with the styles rules.
303
+ *
304
+ * @param facts - The assembled `style-declarations` fact to analyze.
305
+ * @param thresholds - The styles rule thresholds (defaults to `{}`).
306
+ * @returns The styles rules' findings over the fact.
307
+ */
308
+ export declare function analyzeStyles(facts: StyleDeclarationsFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
309
+ /**
310
+ * The styles slice: parse → style-declarations → styles rules → findings.
311
+ *
312
+ * @param files - The input files to parse and process.
313
+ * @param projectRoot - The optional project root for Tailwind token resolution.
314
+ * @param thresholds - The styles rule thresholds (defaults to `{}`).
315
+ * @returns The styles rules' findings over the assembled fact.
316
+ */
317
+ export declare function runStylesSlice(files: readonly InputFile[], projectRoot?: string, thresholds?: ThresholdValues): Promise<Finding[]>;
318
+ /**
319
+ * Parse → Process for the `function-index` fact. Returns the assembled corpus
320
+ * fact (every function/method/component from every file, ASTs already freed).
321
+ *
322
+ * @param files - The input files to parse and process.
323
+ * @returns The assembled `function-index` corpus fact.
324
+ */
325
+ export declare function buildFunctionIndex(files: readonly InputFile[]): Promise<FunctionIndexFact[]>;
326
+ /**
327
+ * Parse → Process for the `export-form` fact. Returns the assembled corpus fact
328
+ * (every exported `(name, isDefault)` pair from every file, ASTs already freed).
329
+ * The `conventions/export-shape` rule reads it to resolve a function's export
330
+ * form — the same AST-extracted exports the legacy reducer read as `exportsMap`.
331
+ *
332
+ * @param files - The input files to parse and process.
333
+ * @returns The assembled `export-form` corpus fact.
334
+ */
335
+ export declare function buildExportForms(files: readonly InputFile[]): Promise<ExportFormFact[]>;
336
+ /**
337
+ * Parse → Process for the `import-form` fact. Returns the assembled corpus fact
338
+ * (every import's classified form from every file). The producer reads
339
+ * `.source` (not the AST) via `parseFileImports`, so the AST is freed without
340
+ * being consumed by this producer — but the parse still validates the file.
341
+ *
342
+ * @param files - The input files to parse and process.
343
+ * @returns The assembled `import-form` corpus fact.
344
+ */
345
+ export declare function buildImportForms(files: readonly InputFile[]): Promise<ImportFormFact[]>;
346
+ /** Analyze the assembled `function-index` + `mined-conventions` + `export-form` +
347
+ * `import-form` facts with the five function-index-servable conventions rules
348
+ * (three `function-index`+`mined-conventions` rules plus the `export-form`-
349
+ * reading export-shape rule and the `import-form`-reading import-form rule).
350
+ *
351
+ * @param facts - The assembled `function-index` fact to analyze.
352
+ * @param conventions - The assembled `mined-conventions` fact to analyze.
353
+ * @param exportForms - The assembled `export-form` fact (`export-shape` reads it).
354
+ * @param importForms - The assembled `import-form` fact (`import-form` reads it).
355
+ * @param thresholds - The conventions rule thresholds (defaults to `{}`).
356
+ * @returns The conventions rules' findings over the facts.
357
+ */
358
+ export declare function analyzeConventions(facts: FunctionIndexFact[], conventions: MinedConvention[], exportForms: ExportFormFact[], importForms: ImportFormFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
359
+ /**
360
+ * The conventions slice: parse → function-index + export-form + import-form → mined-conventions → rules → findings.
361
+ *
362
+ * @param files - The input files to parse and process.
363
+ * @param thresholds - The conventions rule thresholds (defaults to `{}`).
364
+ * @returns The conventions rules' findings over the assembled facts.
365
+ */
366
+ export declare function runConventionsSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
367
+ /**
368
+ * Parse → Process for the `imports` fact. Returns the assembled corpus fact
369
+ * (every import statement from every file, ASTs already freed).
370
+ *
371
+ * @param files - The input files to parse and process.
372
+ * @returns The assembled `imports` corpus fact.
373
+ */
374
+ export declare function buildImports(files: readonly InputFile[]): Promise<ImportFact[]>;
375
+ /**
376
+ * Parse → Process for the `string-literals` fact. Returns the assembled corpus
377
+ * fact (every string/template-string literal from every file, ASTs already freed).
378
+ *
379
+ * @param files - The input files to parse and process.
380
+ * @returns The assembled `string-literals` corpus fact.
381
+ */
382
+ export declare function buildStringLiterals(files: readonly InputFile[]): Promise<StringLiteralFact[]>;
383
+ /**
384
+ * Parse → Process for the `code-block` fact. Returns the assembled corpus fact
385
+ * (every code block + shape fragment from every file, ASTs already freed). The
386
+ * producer projects the raw blocks/fragments with no threshold and no dedup;
387
+ * the three block rules re-apply `minLineThreshold`/`similarityThreshold`/
388
+ * `minShapeNames`/`excludePatterns`/check-gates over this plain data.
389
+ *
390
+ * @param files - The input files to parse and process.
391
+ * @returns The assembled `code-block` corpus fact.
392
+ */
393
+ export declare function buildCodeBlocks(files: readonly InputFile[]): Promise<CodeBlockFact[]>;
394
+ /**
395
+ * Analyze the assembled `imports` + `string-literals` + `code-block` facts with
396
+ * the six DRY rules. Each rule reads only the fact its `needs` declares; the
397
+ * union context carries all four. The three block rules partition `code-block`
398
+ * by file before their filter → dedupe → compare, because the legacy
399
+ * `analyzeAST` ran once per file (a block in file A is never compared against a
400
+ * block in file B). `diverging-clone` reads `clone-pair-history`, empty here
401
+ * (the slice test has no index), so it emits nothing.
402
+ *
403
+ * @param imports - The assembled `imports` fact to analyze.
404
+ * @param stringLiterals - The assembled `string-literals` fact to analyze.
405
+ * @param codeBlocks - The assembled `code-block` fact to analyze.
406
+ * @param thresholds - The DRY rule thresholds (defaults to `{}`).
407
+ * @returns The DRY rules' findings over the facts.
408
+ */
409
+ export declare function analyzeDry(imports: ImportFact[], stringLiterals: StringLiteralFact[], codeBlocks: CodeBlockFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
410
+ /**
411
+ * The dry slice: parse → imports + string-literals + code-block → DRY rules → findings.
412
+ *
413
+ * @param files - The input files to parse and process.
414
+ * @param thresholds - The DRY rule thresholds (defaults to `{}`).
415
+ * @returns The DRY rules' findings over the assembled facts.
416
+ */
417
+ export declare function runDrySlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
418
+ /**
419
+ * Analyze the assembled `string-literals` fact with the hardcoded-connection
420
+ * rule. `hardcoded-secret` reads a different fact (`secret-candidates`) and is
421
+ * served by `analyzeSecrets` below, not this slice.
422
+ *
423
+ * @param stringLiterals - The assembled `string-literals` fact to analyze.
424
+ * @param thresholds - The security rule thresholds (defaults to `{}`).
425
+ * @returns The hardcoded-connection rule's findings over the fact.
426
+ */
427
+ export declare function analyzeSecurity(stringLiterals: StringLiteralFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
428
+ /** The security slice: parse → string-literals → hardcoded-credential rules → findings. */
429
+ export declare function runSecuritySlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
430
+ /**
431
+ * Parse → Process for the `secret-candidates` fact. Returns the assembled corpus
432
+ * fact (every credential-position string from every file, ASTs already freed).
433
+ *
434
+ * @param files - The input files to parse and process.
435
+ * @returns The assembled `secret-candidates` corpus fact.
436
+ */
437
+ export declare function buildSecretCandidates(files: readonly InputFile[]): Promise<SecretCandidate[]>;
438
+ /**
439
+ * Analyze the assembled `secret-candidates` fact with the hardcoded-secret rule.
440
+ *
441
+ * @param candidates - The assembled `secret-candidates` fact to analyze.
442
+ * @param thresholds - The hardcoded-secret rule thresholds (defaults to `{}`).
443
+ * @returns The hardcoded-secret rule's findings over the fact.
444
+ */
445
+ export declare function analyzeSecrets(candidates: SecretCandidate[], thresholds?: ThresholdValues): Promise<Finding[]>;
446
+ /** The secret-candidates slice: parse → secret-candidates → hardcoded-secret → findings. */
447
+ export declare function runSecretsSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
448
+ /**
449
+ * Parse → Process for the `security-candidates` fact. Returns the assembled
450
+ * corpus fact (every command-injection/dynamic-require/unescaped-html candidate
451
+ * from every file, ASTs already freed).
452
+ *
453
+ * @param files - The input files to parse and process.
454
+ * @returns The assembled `security-candidates` corpus fact.
455
+ */
456
+ export declare function buildSecurityCandidates(files: readonly InputFile[]): Promise<SecurityCandidate[]>;
457
+ /**
458
+ * Analyze the assembled `security-candidates` fact with the three defect rules.
459
+ *
460
+ * @param candidates - The assembled `security-candidates` fact to analyze.
461
+ * @param thresholds - The security-defect rule thresholds (defaults to `{}`).
462
+ * @returns The three defect rules' findings over the fact.
463
+ */
464
+ export declare function analyzeSecurityDefects(candidates: SecurityCandidate[], thresholds?: ThresholdValues): Promise<Finding[]>;
465
+ /** The security-candidates slice: parse → security-candidates → defect rules → findings. */
466
+ export declare function runSecurityDefectsSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
467
+ /**
468
+ * Parse → Process → Reduce for the `query-sites` fact (Spec 70 Item 4, step 3).
469
+ * The legacy `query-sites` producer did two jobs — locate each DB-query site and
470
+ * gate the file on DB context — with a second parse of the file's provenance.
471
+ * The collapse splits them: `query-site-candidates` runs the location job
472
+ * un-gated while the AST lives, and the `query-sites` corpus producer re-derives
473
+ * each file's gate (`glob || dbProvenanced || dbActivity || hasSqlTag`) once the
474
+ * `receiver-provenance` fixed point supplies the cross-file seed, then emits the
475
+ * sites of the gated files. This helper builds the raw file facts + the fixed
476
+ * point and reduces through the two corpus producers, so the returned fact is
477
+ * byte-identical to the legacy gated extraction.
478
+ *
479
+ * @param files - The input files to parse and process.
480
+ * @param sqlDialect - The corpus's named dialect for SQL parsing, or null/undefined.
481
+ * @returns The assembled `query-sites` corpus fact.
482
+ */
483
+ export declare function buildQuerySites(files: readonly InputFile[], sqlDialect?: Dialect | null): Promise<QuerySiteFact[]>;
484
+ /**
485
+ * Analyze the assembled `query-sites` fact with the too-many-queries rule.
486
+ *
487
+ * @param facts - The assembled `query-sites` fact to analyze.
488
+ * @param thresholds - The too-many-queries rule thresholds (defaults to `{}`).
489
+ * @returns The too-many-queries rule's findings over the fact.
490
+ */
491
+ export declare function analyzeQuerySites(facts: QuerySiteFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
492
+ /** The query-sites slice: parse → query-sites → too-many-queries → findings. */
493
+ export declare function runQuerySitesSlice(files: readonly InputFile[], thresholds?: ThresholdValues, sqlDialect?: Dialect | null): Promise<Finding[]>;
494
+ /**
495
+ * Parse → Process for the `react-component` fact. Returns the assembled corpus
496
+ * fact (one scan per file, each a full component universe: metadata, imports,
497
+ * JSX elements, hooks, props, complexity), ASTs already freed.
498
+ *
499
+ * @param files - The input files to parse and process.
500
+ * @returns The assembled `react-component` corpus fact.
501
+ */
502
+ export declare function buildReactComponents(files: readonly InputFile[]): Promise<ReactComponentScan[]>;
503
+ /**
504
+ * Analyze the assembled `react-component` fact with the seven react rules.
505
+ *
506
+ * @param facts - The assembled `react-component` fact to analyze.
507
+ * @param thresholds - The react rule thresholds (defaults to `{}`).
508
+ * @returns The react rules' findings over the fact.
509
+ */
510
+ export declare function analyzeReactComponents(facts: ReactComponentScan[], thresholds?: ThresholdValues): Promise<Finding[]>;
511
+ /** The react slice: parse → react-component → react rules → findings. */
512
+ export declare function runReactComponentsSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
513
+ /**
514
+ * Parse → Process for the `file-header` fact. Returns the assembled corpus
515
+ * fact (one leading comment projection per file, ASTs already freed).
516
+ *
517
+ * @param files - The input files to parse and process.
518
+ * @returns The assembled `file-header` corpus fact.
519
+ */
520
+ export declare function buildFileHeaders(files: readonly InputFile[]): Promise<FileHeaderFact[]>;
521
+ /**
522
+ * Analyze the assembled `file-header` fact with the file-documentation rule.
523
+ *
524
+ * @param facts - The assembled `file-header` fact to analyze.
525
+ * @param thresholds - The file-documentation rule thresholds (defaults to `{}`).
526
+ * @returns The file-documentation rule's findings over the fact.
527
+ */
528
+ export declare function analyzeFileHeaders(facts: FileHeaderFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
529
+ /** The file-header slice: parse → file-header → file-documentation → findings. */
530
+ export declare function runFileHeadersSlice(files: readonly InputFile[], thresholds?: ThresholdValues): Promise<Finding[]>;
531
+ /**
532
+ * Parse → Process for the `json-document` fact. Returns the assembled corpus
533
+ * fact (one parsed JSON document per `.json` file, ASTs already freed). The
534
+ * producer reads `.source` (the JsonAdapter has no code constructs), so the
535
+ * parse still validates the file but the fact is the `JSON.parse` value.
536
+ *
537
+ * @param files - The input files to parse and process.
538
+ * @returns The assembled `json-document` corpus fact.
539
+ */
540
+ export declare function buildJsonDocuments(files: readonly InputFile[]): Promise<JsonDocumentFact[]>;
541
+ /**
542
+ * Analyze the assembled `schema-validations` fact with the 17 schema-json rules.
543
+ *
544
+ * @param validations - The assembled `schema-validations` fact to analyze.
545
+ * @param thresholds - The schema-json rule thresholds (defaults to `{}`).
546
+ * @returns The 17 schema-json rules' findings over the fact.
547
+ */
548
+ export declare function analyzeSchemaJson(validations: SchemaValidationFact[], thresholds?: ThresholdValues): Promise<Finding[]>;
549
+ //# sourceMappingURL=runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../../src/phase/runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAmBhE,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EAGX,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,MAAM,EACN,MAAM,EACN,eAAe,EACf,OAAO,EAEP,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EAIrB,MAAM,YAAY,CAAC;AAEpB,+EA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