kirograph 0.28.0 → 0.28.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 (645) hide show
  1. package/dist/bin/installer/config-prompt.js +117 -100
  2. package/dist/bin/installer/config-prompt.js.map +3 -3
  3. package/dist/bin/kirograph.js +1 -1
  4. package/package.json +1 -1
  5. package/dist/architecture/index.d.ts +0 -11
  6. package/dist/architecture/index.d.ts.map +0 -1
  7. package/dist/architecture/layers/csharp.d.ts +0 -6
  8. package/dist/architecture/layers/csharp.d.ts.map +0 -1
  9. package/dist/architecture/layers/dart.d.ts +0 -10
  10. package/dist/architecture/layers/dart.d.ts.map +0 -1
  11. package/dist/architecture/layers/elixir.d.ts +0 -6
  12. package/dist/architecture/layers/elixir.d.ts.map +0 -1
  13. package/dist/architecture/layers/go.d.ts +0 -7
  14. package/dist/architecture/layers/go.d.ts.map +0 -1
  15. package/dist/architecture/layers/index.d.ts +0 -30
  16. package/dist/architecture/layers/index.d.ts.map +0 -1
  17. package/dist/architecture/layers/java.d.ts +0 -7
  18. package/dist/architecture/layers/java.d.ts.map +0 -1
  19. package/dist/architecture/layers/ocaml.d.ts +0 -6
  20. package/dist/architecture/layers/ocaml.d.ts.map +0 -1
  21. package/dist/architecture/layers/python.d.ts +0 -7
  22. package/dist/architecture/layers/python.d.ts.map +0 -1
  23. package/dist/architecture/layers/ruby.d.ts +0 -6
  24. package/dist/architecture/layers/ruby.d.ts.map +0 -1
  25. package/dist/architecture/layers/rust.d.ts +0 -6
  26. package/dist/architecture/layers/rust.d.ts.map +0 -1
  27. package/dist/architecture/layers/scala.d.ts +0 -6
  28. package/dist/architecture/layers/scala.d.ts.map +0 -1
  29. package/dist/architecture/layers/solidity.d.ts +0 -6
  30. package/dist/architecture/layers/solidity.d.ts.map +0 -1
  31. package/dist/architecture/layers/types.d.ts +0 -2
  32. package/dist/architecture/layers/types.d.ts.map +0 -1
  33. package/dist/architecture/layers/typescript.d.ts +0 -9
  34. package/dist/architecture/layers/typescript.d.ts.map +0 -1
  35. package/dist/architecture/layers/vue.d.ts +0 -6
  36. package/dist/architecture/layers/vue.d.ts.map +0 -1
  37. package/dist/architecture/manifest/cargo.d.ts +0 -3
  38. package/dist/architecture/manifest/cargo.d.ts.map +0 -1
  39. package/dist/architecture/manifest/csproj.d.ts +0 -3
  40. package/dist/architecture/manifest/csproj.d.ts.map +0 -1
  41. package/dist/architecture/manifest/elm.d.ts +0 -3
  42. package/dist/architecture/manifest/elm.d.ts.map +0 -1
  43. package/dist/architecture/manifest/go.d.ts +0 -3
  44. package/dist/architecture/manifest/go.d.ts.map +0 -1
  45. package/dist/architecture/manifest/gradle.d.ts +0 -3
  46. package/dist/architecture/manifest/gradle.d.ts.map +0 -1
  47. package/dist/architecture/manifest/index.d.ts +0 -12
  48. package/dist/architecture/manifest/index.d.ts.map +0 -1
  49. package/dist/architecture/manifest/maven.d.ts +0 -3
  50. package/dist/architecture/manifest/maven.d.ts.map +0 -1
  51. package/dist/architecture/manifest/npm.d.ts +0 -3
  52. package/dist/architecture/manifest/npm.d.ts.map +0 -1
  53. package/dist/architecture/manifest/ocaml.d.ts +0 -3
  54. package/dist/architecture/manifest/ocaml.d.ts.map +0 -1
  55. package/dist/architecture/manifest/python.d.ts +0 -3
  56. package/dist/architecture/manifest/python.d.ts.map +0 -1
  57. package/dist/architecture/manifest/scala.d.ts +0 -3
  58. package/dist/architecture/manifest/scala.d.ts.map +0 -1
  59. package/dist/architecture/manifest/types.d.ts +0 -2
  60. package/dist/architecture/manifest/types.d.ts.map +0 -1
  61. package/dist/architecture/types.d.ts +0 -91
  62. package/dist/architecture/types.d.ts.map +0 -1
  63. package/dist/banner.d.ts +0 -6
  64. package/dist/banner.d.ts.map +0 -1
  65. package/dist/banner.js +0 -67
  66. package/dist/banner.js.map +0 -1
  67. package/dist/bin/banner.d.ts +0 -6
  68. package/dist/bin/banner.d.ts.map +0 -1
  69. package/dist/bin/commands/affected.d.ts +0 -3
  70. package/dist/bin/commands/affected.d.ts.map +0 -1
  71. package/dist/bin/commands/architecture.d.ts +0 -3
  72. package/dist/bin/commands/architecture.d.ts.map +0 -1
  73. package/dist/bin/commands/attack-surface.d.ts +0 -3
  74. package/dist/bin/commands/attack-surface.d.ts.map +0 -1
  75. package/dist/bin/commands/benchmark.d.ts +0 -9
  76. package/dist/bin/commands/benchmark.d.ts.map +0 -1
  77. package/dist/bin/commands/budget.d.ts +0 -6
  78. package/dist/bin/commands/budget.d.ts.map +0 -1
  79. package/dist/bin/commands/caveman.d.ts +0 -7
  80. package/dist/bin/commands/caveman.d.ts.map +0 -1
  81. package/dist/bin/commands/communities.d.ts +0 -3
  82. package/dist/bin/commands/communities.d.ts.map +0 -1
  83. package/dist/bin/commands/compression.d.ts +0 -7
  84. package/dist/bin/commands/compression.d.ts.map +0 -1
  85. package/dist/bin/commands/configure-mcp.js +0 -104
  86. package/dist/bin/commands/configure-mcp.js.map +0 -7
  87. package/dist/bin/commands/context.d.ts +0 -3
  88. package/dist/bin/commands/context.d.ts.map +0 -1
  89. package/dist/bin/commands/coupling.d.ts +0 -3
  90. package/dist/bin/commands/coupling.d.ts.map +0 -1
  91. package/dist/bin/commands/dashboard.d.ts +0 -3
  92. package/dist/bin/commands/dashboard.d.ts.map +0 -1
  93. package/dist/bin/commands/data.d.ts +0 -3
  94. package/dist/bin/commands/data.d.ts.map +0 -1
  95. package/dist/bin/commands/dead-code.d.ts +0 -3
  96. package/dist/bin/commands/dead-code.d.ts.map +0 -1
  97. package/dist/bin/commands/dep-confusion.d.ts +0 -3
  98. package/dist/bin/commands/dep-confusion.d.ts.map +0 -1
  99. package/dist/bin/commands/docs.d.ts +0 -3
  100. package/dist/bin/commands/docs.d.ts.map +0 -1
  101. package/dist/bin/commands/exec.d.ts +0 -11
  102. package/dist/bin/commands/exec.d.ts.map +0 -1
  103. package/dist/bin/commands/export.d.ts +0 -3
  104. package/dist/bin/commands/export.d.ts.map +0 -1
  105. package/dist/bin/commands/files.d.ts +0 -3
  106. package/dist/bin/commands/files.d.ts.map +0 -1
  107. package/dist/bin/commands/flows.d.ts +0 -3
  108. package/dist/bin/commands/flows.d.ts.map +0 -1
  109. package/dist/bin/commands/gain.d.ts +0 -6
  110. package/dist/bin/commands/gain.d.ts.map +0 -1
  111. package/dist/bin/commands/help.d.ts +0 -11
  112. package/dist/bin/commands/help.d.ts.map +0 -1
  113. package/dist/bin/commands/hotspots.d.ts +0 -3
  114. package/dist/bin/commands/hotspots.d.ts.map +0 -1
  115. package/dist/bin/commands/index.d.ts +0 -3
  116. package/dist/bin/commands/index.d.ts.map +0 -1
  117. package/dist/bin/commands/init.d.ts +0 -3
  118. package/dist/bin/commands/init.d.ts.map +0 -1
  119. package/dist/bin/commands/install.d.ts +0 -3
  120. package/dist/bin/commands/install.d.ts.map +0 -1
  121. package/dist/bin/commands/licenses.d.ts +0 -3
  122. package/dist/bin/commands/licenses.d.ts.map +0 -1
  123. package/dist/bin/commands/mark-dirty.d.ts +0 -3
  124. package/dist/bin/commands/mark-dirty.d.ts.map +0 -1
  125. package/dist/bin/commands/memory.d.ts +0 -16
  126. package/dist/bin/commands/memory.d.ts.map +0 -1
  127. package/dist/bin/commands/package.d.ts +0 -3
  128. package/dist/bin/commands/package.d.ts.map +0 -1
  129. package/dist/bin/commands/path.d.ts +0 -3
  130. package/dist/bin/commands/path.d.ts.map +0 -1
  131. package/dist/bin/commands/pattern.d.ts +0 -3
  132. package/dist/bin/commands/pattern.d.ts.map +0 -1
  133. package/dist/bin/commands/qdrant.d.ts +0 -3
  134. package/dist/bin/commands/qdrant.d.ts.map +0 -1
  135. package/dist/bin/commands/qdrant.js +0 -159
  136. package/dist/bin/commands/qdrant.js.map +0 -1
  137. package/dist/bin/commands/query.d.ts +0 -3
  138. package/dist/bin/commands/query.d.ts.map +0 -1
  139. package/dist/bin/commands/reachability.d.ts +0 -3
  140. package/dist/bin/commands/reachability.d.ts.map +0 -1
  141. package/dist/bin/commands/read.d.ts +0 -6
  142. package/dist/bin/commands/read.d.ts.map +0 -1
  143. package/dist/bin/commands/refactor.d.ts +0 -3
  144. package/dist/bin/commands/refactor.d.ts.map +0 -1
  145. package/dist/bin/commands/remediation.d.ts +0 -3
  146. package/dist/bin/commands/remediation.d.ts.map +0 -1
  147. package/dist/bin/commands/sbom.d.ts +0 -3
  148. package/dist/bin/commands/sbom.d.ts.map +0 -1
  149. package/dist/bin/commands/security-ci-report.d.ts +0 -9
  150. package/dist/bin/commands/security-ci-report.d.ts.map +0 -1
  151. package/dist/bin/commands/security-export.d.ts +0 -2
  152. package/dist/bin/commands/security-export.d.ts.map +0 -1
  153. package/dist/bin/commands/security-flows.d.ts +0 -3
  154. package/dist/bin/commands/security-flows.d.ts.map +0 -1
  155. package/dist/bin/commands/security-secrets.d.ts +0 -3
  156. package/dist/bin/commands/security-secrets.d.ts.map +0 -1
  157. package/dist/bin/commands/security.d.ts +0 -3
  158. package/dist/bin/commands/security.d.ts.map +0 -1
  159. package/dist/bin/commands/serve.d.ts +0 -3
  160. package/dist/bin/commands/serve.d.ts.map +0 -1
  161. package/dist/bin/commands/snapshot.d.ts +0 -3
  162. package/dist/bin/commands/snapshot.d.ts.map +0 -1
  163. package/dist/bin/commands/staleness.d.ts +0 -3
  164. package/dist/bin/commands/staleness.d.ts.map +0 -1
  165. package/dist/bin/commands/status.d.ts +0 -3
  166. package/dist/bin/commands/status.d.ts.map +0 -1
  167. package/dist/bin/commands/stop.d.ts +0 -3
  168. package/dist/bin/commands/stop.d.ts.map +0 -1
  169. package/dist/bin/commands/stop.js +0 -81
  170. package/dist/bin/commands/stop.js.map +0 -1
  171. package/dist/bin/commands/supply-chain.d.ts +0 -3
  172. package/dist/bin/commands/supply-chain.d.ts.map +0 -1
  173. package/dist/bin/commands/surprising.d.ts +0 -3
  174. package/dist/bin/commands/surprising.d.ts.map +0 -1
  175. package/dist/bin/commands/sync-if-dirty.d.ts +0 -3
  176. package/dist/bin/commands/sync-if-dirty.d.ts.map +0 -1
  177. package/dist/bin/commands/sync.d.ts +0 -3
  178. package/dist/bin/commands/sync.d.ts.map +0 -1
  179. package/dist/bin/commands/typesense.d.ts +0 -3
  180. package/dist/bin/commands/typesense.d.ts.map +0 -1
  181. package/dist/bin/commands/typesense.js +0 -126
  182. package/dist/bin/commands/typesense.js.map +0 -1
  183. package/dist/bin/commands/uninit.d.ts +0 -4
  184. package/dist/bin/commands/uninit.d.ts.map +0 -1
  185. package/dist/bin/commands/unlock.d.ts +0 -3
  186. package/dist/bin/commands/unlock.d.ts.map +0 -1
  187. package/dist/bin/commands/utils.d.ts +0 -17
  188. package/dist/bin/commands/utils.d.ts.map +0 -1
  189. package/dist/bin/commands/vex.d.ts +0 -3
  190. package/dist/bin/commands/vex.d.ts.map +0 -1
  191. package/dist/bin/commands/vuln-suppress.d.ts +0 -3
  192. package/dist/bin/commands/vuln-suppress.d.ts.map +0 -1
  193. package/dist/bin/commands/vulns.d.ts +0 -3
  194. package/dist/bin/commands/vulns.d.ts.map +0 -1
  195. package/dist/bin/installer/archive.d.ts +0 -47
  196. package/dist/bin/installer/archive.d.ts.map +0 -1
  197. package/dist/bin/installer/auto-detect.d.ts +0 -16
  198. package/dist/bin/installer/auto-detect.d.ts.map +0 -1
  199. package/dist/bin/installer/caveman.d.ts +0 -12
  200. package/dist/bin/installer/caveman.d.ts.map +0 -1
  201. package/dist/bin/installer/cli-agent.d.ts +0 -20
  202. package/dist/bin/installer/cli-agent.d.ts.map +0 -1
  203. package/dist/bin/installer/common.d.ts +0 -36
  204. package/dist/bin/installer/common.d.ts.map +0 -1
  205. package/dist/bin/installer/config-prompt.d.ts +0 -13
  206. package/dist/bin/installer/config-prompt.d.ts.map +0 -1
  207. package/dist/bin/installer/dashboard.d.ts +0 -3
  208. package/dist/bin/installer/dashboard.d.ts.map +0 -1
  209. package/dist/bin/installer/detect.d.ts +0 -30
  210. package/dist/bin/installer/detect.d.ts.map +0 -1
  211. package/dist/bin/installer/hooks.d.ts +0 -8
  212. package/dist/bin/installer/hooks.d.ts.map +0 -1
  213. package/dist/bin/installer/index.d.ts +0 -12
  214. package/dist/bin/installer/index.d.ts.map +0 -1
  215. package/dist/bin/installer/instructions.d.ts +0 -14
  216. package/dist/bin/installer/instructions.d.ts.map +0 -1
  217. package/dist/bin/installer/mcp.d.ts +0 -5
  218. package/dist/bin/installer/mcp.d.ts.map +0 -1
  219. package/dist/bin/installer/prompts.d.ts +0 -45
  220. package/dist/bin/installer/prompts.d.ts.map +0 -1
  221. package/dist/bin/installer/qdrant-dashboard.d.ts +0 -4
  222. package/dist/bin/installer/qdrant-dashboard.d.ts.map +0 -1
  223. package/dist/bin/installer/steering.d.ts +0 -17
  224. package/dist/bin/installer/steering.d.ts.map +0 -1
  225. package/dist/bin/installer/targets/aider.d.ts +0 -6
  226. package/dist/bin/installer/targets/aider.d.ts.map +0 -1
  227. package/dist/bin/installer/targets/amp.d.ts +0 -6
  228. package/dist/bin/installer/targets/amp.d.ts.map +0 -1
  229. package/dist/bin/installer/targets/antigravity.d.ts +0 -13
  230. package/dist/bin/installer/targets/antigravity.d.ts.map +0 -1
  231. package/dist/bin/installer/targets/augment.d.ts +0 -6
  232. package/dist/bin/installer/targets/augment.d.ts.map +0 -1
  233. package/dist/bin/installer/targets/claude.d.ts +0 -6
  234. package/dist/bin/installer/targets/claude.d.ts.map +0 -1
  235. package/dist/bin/installer/targets/cline.d.ts +0 -13
  236. package/dist/bin/installer/targets/cline.d.ts.map +0 -1
  237. package/dist/bin/installer/targets/codex.d.ts +0 -6
  238. package/dist/bin/installer/targets/codex.d.ts.map +0 -1
  239. package/dist/bin/installer/targets/continue.d.ts +0 -12
  240. package/dist/bin/installer/targets/continue.d.ts.map +0 -1
  241. package/dist/bin/installer/targets/copilot-cli.d.ts +0 -12
  242. package/dist/bin/installer/targets/copilot-cli.d.ts.map +0 -1
  243. package/dist/bin/installer/targets/copilot.d.ts +0 -6
  244. package/dist/bin/installer/targets/copilot.d.ts.map +0 -1
  245. package/dist/bin/installer/targets/cursor.d.ts +0 -6
  246. package/dist/bin/installer/targets/cursor.d.ts.map +0 -1
  247. package/dist/bin/installer/targets/devin.d.ts +0 -13
  248. package/dist/bin/installer/targets/devin.d.ts.map +0 -1
  249. package/dist/bin/installer/targets/gemini-cli.d.ts +0 -16
  250. package/dist/bin/installer/targets/gemini-cli.d.ts.map +0 -1
  251. package/dist/bin/installer/targets/generic.d.ts +0 -59
  252. package/dist/bin/installer/targets/generic.d.ts.map +0 -1
  253. package/dist/bin/installer/targets/goose.d.ts +0 -6
  254. package/dist/bin/installer/targets/goose.d.ts.map +0 -1
  255. package/dist/bin/installer/targets/index.d.ts +0 -11
  256. package/dist/bin/installer/targets/index.d.ts.map +0 -1
  257. package/dist/bin/installer/targets/junie.d.ts +0 -13
  258. package/dist/bin/installer/targets/junie.d.ts.map +0 -1
  259. package/dist/bin/installer/targets/kilo.d.ts +0 -12
  260. package/dist/bin/installer/targets/kilo.d.ts.map +0 -1
  261. package/dist/bin/installer/targets/kiro.d.ts +0 -5
  262. package/dist/bin/installer/targets/kiro.d.ts.map +0 -1
  263. package/dist/bin/installer/targets/opencode.d.ts +0 -13
  264. package/dist/bin/installer/targets/opencode.d.ts.map +0 -1
  265. package/dist/bin/installer/targets/openhands.d.ts +0 -6
  266. package/dist/bin/installer/targets/openhands.d.ts.map +0 -1
  267. package/dist/bin/installer/targets/qoder.d.ts +0 -12
  268. package/dist/bin/installer/targets/qoder.d.ts.map +0 -1
  269. package/dist/bin/installer/targets/qwen.d.ts +0 -12
  270. package/dist/bin/installer/targets/qwen.d.ts.map +0 -1
  271. package/dist/bin/installer/targets/replit.d.ts +0 -6
  272. package/dist/bin/installer/targets/replit.d.ts.map +0 -1
  273. package/dist/bin/installer/targets/roo.d.ts +0 -13
  274. package/dist/bin/installer/targets/roo.d.ts.map +0 -1
  275. package/dist/bin/installer/targets/tabnine.d.ts +0 -6
  276. package/dist/bin/installer/targets/tabnine.d.ts.map +0 -1
  277. package/dist/bin/installer/targets/trae.d.ts +0 -6
  278. package/dist/bin/installer/targets/trae.d.ts.map +0 -1
  279. package/dist/bin/installer/targets/warp.d.ts +0 -12
  280. package/dist/bin/installer/targets/warp.d.ts.map +0 -1
  281. package/dist/bin/installer/targets/windsurf.d.ts +0 -13
  282. package/dist/bin/installer/targets/windsurf.d.ts.map +0 -1
  283. package/dist/bin/kirograph.d.ts +0 -6
  284. package/dist/bin/kirograph.d.ts.map +0 -1
  285. package/dist/bin/progress.d.ts +0 -29
  286. package/dist/bin/progress.d.ts.map +0 -1
  287. package/dist/bin/ui.d.ts +0 -11
  288. package/dist/bin/ui.d.ts.map +0 -1
  289. package/dist/compression/filters/aws.d.ts +0 -9
  290. package/dist/compression/filters/aws.d.ts.map +0 -1
  291. package/dist/compression/filters/docker.d.ts +0 -6
  292. package/dist/compression/filters/docker.d.ts.map +0 -1
  293. package/dist/compression/filters/files.d.ts +0 -6
  294. package/dist/compression/filters/files.d.ts.map +0 -1
  295. package/dist/compression/filters/generic.d.ts +0 -7
  296. package/dist/compression/filters/generic.d.ts.map +0 -1
  297. package/dist/compression/filters/git.d.ts +0 -6
  298. package/dist/compression/filters/git.d.ts.map +0 -1
  299. package/dist/compression/filters/github.d.ts +0 -6
  300. package/dist/compression/filters/github.d.ts.map +0 -1
  301. package/dist/compression/filters/lint.d.ts +0 -6
  302. package/dist/compression/filters/lint.d.ts.map +0 -1
  303. package/dist/compression/filters/misc.d.ts +0 -6
  304. package/dist/compression/filters/misc.d.ts.map +0 -1
  305. package/dist/compression/filters/package.d.ts +0 -6
  306. package/dist/compression/filters/package.d.ts.map +0 -1
  307. package/dist/compression/filters/test.d.ts +0 -6
  308. package/dist/compression/filters/test.d.ts.map +0 -1
  309. package/dist/compression/index.d.ts +0 -29
  310. package/dist/compression/index.d.ts.map +0 -1
  311. package/dist/compression/naive-cost.d.ts +0 -26
  312. package/dist/compression/naive-cost.d.ts.map +0 -1
  313. package/dist/compression/tracker.d.ts +0 -155
  314. package/dist/compression/tracker.d.ts.map +0 -1
  315. package/dist/compression/types.d.ts +0 -49
  316. package/dist/compression/types.d.ts.map +0 -1
  317. package/dist/config.d.ts +0 -138
  318. package/dist/config.d.ts.map +0 -1
  319. package/dist/context/index.d.ts +0 -61
  320. package/dist/context/index.d.ts.map +0 -1
  321. package/dist/core/file-tree.d.ts +0 -15
  322. package/dist/core/file-tree.d.ts.map +0 -1
  323. package/dist/core/lock-manager.d.ts +0 -22
  324. package/dist/core/lock-manager.d.ts.map +0 -1
  325. package/dist/core/pipeline.d.ts +0 -40
  326. package/dist/core/pipeline.d.ts.map +0 -1
  327. package/dist/core/snapshot.d.ts +0 -58
  328. package/dist/core/snapshot.d.ts.map +0 -1
  329. package/dist/data/filters.d.ts +0 -23
  330. package/dist/data/filters.d.ts.map +0 -1
  331. package/dist/data/indexer.d.ts +0 -25
  332. package/dist/data/indexer.d.ts.map +0 -1
  333. package/dist/data/linker.d.ts +0 -37
  334. package/dist/data/linker.d.ts.map +0 -1
  335. package/dist/data/linker.test.js +0 -60
  336. package/dist/data/linker.test.js.map +0 -7
  337. package/dist/data/lint.d.ts +0 -27
  338. package/dist/data/lint.d.ts.map +0 -1
  339. package/dist/data/parsers/__fixtures__/pdf-inspector-stub.js +0 -41
  340. package/dist/data/parsers/__fixtures__/pdf-inspector-stub.js.map +0 -7
  341. package/dist/data/parsers/csv.d.ts +0 -11
  342. package/dist/data/parsers/csv.d.ts.map +0 -1
  343. package/dist/data/parsers/excel.d.ts +0 -10
  344. package/dist/data/parsers/excel.d.ts.map +0 -1
  345. package/dist/data/parsers/index.d.ts +0 -28
  346. package/dist/data/parsers/index.d.ts.map +0 -1
  347. package/dist/data/parsers/json-array.d.ts +0 -9
  348. package/dist/data/parsers/json-array.d.ts.map +0 -1
  349. package/dist/data/parsers/jsonl.d.ts +0 -9
  350. package/dist/data/parsers/jsonl.d.ts.map +0 -1
  351. package/dist/data/parsers/parquet.d.ts +0 -10
  352. package/dist/data/parsers/parquet.d.ts.map +0 -1
  353. package/dist/data/parsers/pdf.test.js +0 -125
  354. package/dist/data/parsers/pdf.test.js.map +0 -7
  355. package/dist/data/pixelrag-bridge.js +0 -93
  356. package/dist/data/pixelrag-bridge.js.map +0 -7
  357. package/dist/data/pixelrag-manager.js +0 -416
  358. package/dist/data/pixelrag-manager.js.map +0 -7
  359. package/dist/data/profiler.d.ts +0 -29
  360. package/dist/data/profiler.d.ts.map +0 -1
  361. package/dist/data/queries.d.ts +0 -95
  362. package/dist/data/queries.d.ts.map +0 -1
  363. package/dist/data/types.d.ts +0 -103
  364. package/dist/data/types.d.ts.map +0 -1
  365. package/dist/db/database.d.ts +0 -190
  366. package/dist/db/database.d.ts.map +0 -1
  367. package/dist/docs/formats/asciidoc.d.ts +0 -9
  368. package/dist/docs/formats/asciidoc.d.ts.map +0 -1
  369. package/dist/docs/formats/html.d.ts +0 -10
  370. package/dist/docs/formats/html.d.ts.map +0 -1
  371. package/dist/docs/formats/index.d.ts +0 -31
  372. package/dist/docs/formats/index.d.ts.map +0 -1
  373. package/dist/docs/formats/markdown.d.ts +0 -11
  374. package/dist/docs/formats/markdown.d.ts.map +0 -1
  375. package/dist/docs/formats/openapi.d.ts +0 -17
  376. package/dist/docs/formats/openapi.d.ts.map +0 -1
  377. package/dist/docs/formats/org.d.ts +0 -9
  378. package/dist/docs/formats/org.d.ts.map +0 -1
  379. package/dist/docs/formats/plaintext.d.ts +0 -11
  380. package/dist/docs/formats/plaintext.d.ts.map +0 -1
  381. package/dist/docs/formats/rdoc.d.ts +0 -10
  382. package/dist/docs/formats/rdoc.d.ts.map +0 -1
  383. package/dist/docs/formats/rst.d.ts +0 -11
  384. package/dist/docs/formats/rst.d.ts.map +0 -1
  385. package/dist/docs/indexer.d.ts +0 -49
  386. package/dist/docs/indexer.d.ts.map +0 -1
  387. package/dist/docs/linker.d.ts +0 -30
  388. package/dist/docs/linker.d.ts.map +0 -1
  389. package/dist/docs/lint.d.ts +0 -27
  390. package/dist/docs/lint.d.ts.map +0 -1
  391. package/dist/docs/queries.d.ts +0 -78
  392. package/dist/docs/queries.d.ts.map +0 -1
  393. package/dist/docs/section-id.d.ts +0 -48
  394. package/dist/docs/section-id.d.ts.map +0 -1
  395. package/dist/docs/summarizer.d.ts +0 -13
  396. package/dist/docs/summarizer.d.ts.map +0 -1
  397. package/dist/docs/types.d.ts +0 -71
  398. package/dist/docs/types.d.ts.map +0 -1
  399. package/dist/docs/vectors.d.ts +0 -54
  400. package/dist/docs/vectors.d.ts.map +0 -1
  401. package/dist/errors.d.ts +0 -49
  402. package/dist/errors.d.ts.map +0 -1
  403. package/dist/extraction/extractor.d.ts +0 -29
  404. package/dist/extraction/extractor.d.ts.map +0 -1
  405. package/dist/extraction/grammars.d.ts +0 -54
  406. package/dist/extraction/grammars.d.ts.map +0 -1
  407. package/dist/extraction/languages.d.ts +0 -9
  408. package/dist/extraction/languages.d.ts.map +0 -1
  409. package/dist/extraction/notebook.d.ts +0 -14
  410. package/dist/extraction/notebook.d.ts.map +0 -1
  411. package/dist/frameworks/amplify.d.ts +0 -9
  412. package/dist/frameworks/amplify.d.ts.map +0 -1
  413. package/dist/frameworks/angular.d.ts +0 -9
  414. package/dist/frameworks/angular.d.ts.map +0 -1
  415. package/dist/frameworks/ansible.d.ts +0 -8
  416. package/dist/frameworks/ansible.d.ts.map +0 -1
  417. package/dist/frameworks/cloudformation.d.ts +0 -9
  418. package/dist/frameworks/cloudformation.d.ts.map +0 -1
  419. package/dist/frameworks/csharp.d.ts +0 -8
  420. package/dist/frameworks/csharp.d.ts.map +0 -1
  421. package/dist/frameworks/docker.d.ts +0 -9
  422. package/dist/frameworks/docker.d.ts.map +0 -1
  423. package/dist/frameworks/elixir.d.ts +0 -6
  424. package/dist/frameworks/elixir.d.ts.map +0 -1
  425. package/dist/frameworks/express.d.ts +0 -8
  426. package/dist/frameworks/express.d.ts.map +0 -1
  427. package/dist/frameworks/flutter.d.ts +0 -12
  428. package/dist/frameworks/flutter.d.ts.map +0 -1
  429. package/dist/frameworks/go.d.ts +0 -8
  430. package/dist/frameworks/go.d.ts.map +0 -1
  431. package/dist/frameworks/iac.d.ts +0 -10
  432. package/dist/frameworks/iac.d.ts.map +0 -1
  433. package/dist/frameworks/index.d.ts +0 -44
  434. package/dist/frameworks/index.d.ts.map +0 -1
  435. package/dist/frameworks/java.d.ts +0 -8
  436. package/dist/frameworks/java.d.ts.map +0 -1
  437. package/dist/frameworks/kubernetes.d.ts +0 -9
  438. package/dist/frameworks/kubernetes.d.ts.map +0 -1
  439. package/dist/frameworks/laravel.d.ts +0 -9
  440. package/dist/frameworks/laravel.d.ts.map +0 -1
  441. package/dist/frameworks/pulumi.d.ts +0 -9
  442. package/dist/frameworks/pulumi.d.ts.map +0 -1
  443. package/dist/frameworks/python.d.ts +0 -10
  444. package/dist/frameworks/python.d.ts.map +0 -1
  445. package/dist/frameworks/react.d.ts +0 -9
  446. package/dist/frameworks/react.d.ts.map +0 -1
  447. package/dist/frameworks/ruby.d.ts +0 -8
  448. package/dist/frameworks/ruby.d.ts.map +0 -1
  449. package/dist/frameworks/rust.d.ts +0 -8
  450. package/dist/frameworks/rust.d.ts.map +0 -1
  451. package/dist/frameworks/scala.d.ts +0 -6
  452. package/dist/frameworks/scala.d.ts.map +0 -1
  453. package/dist/frameworks/solidity.d.ts +0 -6
  454. package/dist/frameworks/solidity.d.ts.map +0 -1
  455. package/dist/frameworks/svelte.d.ts +0 -8
  456. package/dist/frameworks/svelte.d.ts.map +0 -1
  457. package/dist/frameworks/swift.d.ts +0 -10
  458. package/dist/frameworks/swift.d.ts.map +0 -1
  459. package/dist/frameworks/terraform.d.ts +0 -14
  460. package/dist/frameworks/terraform.d.ts.map +0 -1
  461. package/dist/frameworks/types.d.ts +0 -37
  462. package/dist/frameworks/types.d.ts.map +0 -1
  463. package/dist/frameworks/vue.d.ts +0 -7
  464. package/dist/frameworks/vue.d.ts.map +0 -1
  465. package/dist/graph/communities.d.ts +0 -43
  466. package/dist/graph/communities.d.ts.map +0 -1
  467. package/dist/graph/flows.d.ts +0 -55
  468. package/dist/graph/flows.d.ts.map +0 -1
  469. package/dist/graph/queries.d.ts +0 -53
  470. package/dist/graph/queries.d.ts.map +0 -1
  471. package/dist/graph/refactor.d.ts +0 -43
  472. package/dist/graph/refactor.d.ts.map +0 -1
  473. package/dist/graph/traversal.d.ts +0 -35
  474. package/dist/graph/traversal.d.ts.map +0 -1
  475. package/dist/index.d.ts +0 -134
  476. package/dist/index.d.ts.map +0 -1
  477. package/dist/installer/index.d.ts +0 -10
  478. package/dist/installer/index.d.ts.map +0 -1
  479. package/dist/installer/index.js +0 -526
  480. package/dist/installer/index.js.map +0 -1
  481. package/dist/mcp/cache.d.ts +0 -69
  482. package/dist/mcp/cache.d.ts.map +0 -1
  483. package/dist/mcp/read-modes.d.ts +0 -31
  484. package/dist/mcp/read-modes.d.ts.map +0 -1
  485. package/dist/mcp/server.d.ts +0 -17
  486. package/dist/mcp/server.d.ts.map +0 -1
  487. package/dist/mcp/tool-names.d.ts +0 -2
  488. package/dist/mcp/tool-names.d.ts.map +0 -1
  489. package/dist/mcp/tools.d.ts +0 -49
  490. package/dist/mcp/tools.d.ts.map +0 -1
  491. package/dist/mcp/transport.d.ts +0 -29
  492. package/dist/mcp/transport.d.ts.map +0 -1
  493. package/dist/memory/compress.d.ts +0 -19
  494. package/dist/memory/compress.d.ts.map +0 -1
  495. package/dist/memory/database.d.ts +0 -92
  496. package/dist/memory/database.d.ts.map +0 -1
  497. package/dist/memory/index.d.ts +0 -71
  498. package/dist/memory/index.d.ts.map +0 -1
  499. package/dist/memory/symbols.d.ts +0 -21
  500. package/dist/memory/symbols.d.ts.map +0 -1
  501. package/dist/memory/types.d.ts +0 -78
  502. package/dist/memory/types.d.ts.map +0 -1
  503. package/dist/memory/vectors.d.ts +0 -43
  504. package/dist/memory/vectors.d.ts.map +0 -1
  505. package/dist/patterns/graph.d.ts +0 -16
  506. package/dist/patterns/graph.d.ts.map +0 -1
  507. package/dist/patterns/index.d.ts +0 -4
  508. package/dist/patterns/index.d.ts.map +0 -1
  509. package/dist/patterns/indexer.d.ts +0 -15
  510. package/dist/patterns/indexer.d.ts.map +0 -1
  511. package/dist/patterns/loader.d.ts +0 -18
  512. package/dist/patterns/loader.d.ts.map +0 -1
  513. package/dist/patterns/runner.d.ts +0 -42
  514. package/dist/patterns/runner.d.ts.map +0 -1
  515. package/dist/patterns/types.d.ts +0 -27
  516. package/dist/patterns/types.d.ts.map +0 -1
  517. package/dist/resolution/bridges/android-rn.d.ts +0 -13
  518. package/dist/resolution/bridges/android-rn.d.ts.map +0 -1
  519. package/dist/resolution/bridges/expo-modules.d.ts +0 -10
  520. package/dist/resolution/bridges/expo-modules.d.ts.map +0 -1
  521. package/dist/resolution/bridges/flutter-channel.d.ts +0 -14
  522. package/dist/resolution/bridges/flutter-channel.d.ts.map +0 -1
  523. package/dist/resolution/bridges/index.d.ts +0 -40
  524. package/dist/resolution/bridges/index.d.ts.map +0 -1
  525. package/dist/resolution/bridges/native-events.d.ts +0 -10
  526. package/dist/resolution/bridges/native-events.d.ts.map +0 -1
  527. package/dist/resolution/bridges/native-views.d.ts +0 -13
  528. package/dist/resolution/bridges/native-views.d.ts.map +0 -1
  529. package/dist/resolution/bridges/react-native.d.ts +0 -9
  530. package/dist/resolution/bridges/react-native.d.ts.map +0 -1
  531. package/dist/resolution/bridges/swift-objc.d.ts +0 -14
  532. package/dist/resolution/bridges/swift-objc.d.ts.map +0 -1
  533. package/dist/resolution/bridges/turbomodules.d.ts +0 -10
  534. package/dist/resolution/bridges/turbomodules.d.ts.map +0 -1
  535. package/dist/resolution/index.d.ts +0 -81
  536. package/dist/resolution/index.d.ts.map +0 -1
  537. package/dist/resolution/name-matcher.d.ts +0 -25
  538. package/dist/resolution/name-matcher.d.ts.map +0 -1
  539. package/dist/scripts/postinstall.js +0 -64
  540. package/dist/search/query-utils.d.ts +0 -21
  541. package/dist/search/query-utils.d.ts.map +0 -1
  542. package/dist/search/searcher.d.ts +0 -15
  543. package/dist/search/searcher.d.ts.map +0 -1
  544. package/dist/security/attack-surface.d.ts +0 -46
  545. package/dist/security/attack-surface.d.ts.map +0 -1
  546. package/dist/security/context-warnings.d.ts +0 -40
  547. package/dist/security/context-warnings.d.ts.map +0 -1
  548. package/dist/security/data-flows.d.ts +0 -33
  549. package/dist/security/data-flows.d.ts.map +0 -1
  550. package/dist/security/dep-confusion.d.ts +0 -23
  551. package/dist/security/dep-confusion.d.ts.map +0 -1
  552. package/dist/security/errors.d.ts +0 -16
  553. package/dist/security/errors.d.ts.map +0 -1
  554. package/dist/security/export/fix-suggestions.d.ts +0 -21
  555. package/dist/security/export/fix-suggestions.d.ts.map +0 -1
  556. package/dist/security/export/sbom.d.ts +0 -33
  557. package/dist/security/export/sbom.d.ts.map +0 -1
  558. package/dist/security/export/serialization.d.ts +0 -62
  559. package/dist/security/export/serialization.d.ts.map +0 -1
  560. package/dist/security/export/vex.d.ts +0 -58
  561. package/dist/security/export/vex.d.ts.map +0 -1
  562. package/dist/security/index.d.ts +0 -21
  563. package/dist/security/index.d.ts.map +0 -1
  564. package/dist/security/integrator.d.ts +0 -63
  565. package/dist/security/integrator.d.ts.map +0 -1
  566. package/dist/security/license.d.ts +0 -33
  567. package/dist/security/license.d.ts.map +0 -1
  568. package/dist/security/manifest/adapter.d.ts +0 -92
  569. package/dist/security/manifest/adapter.d.ts.map +0 -1
  570. package/dist/security/manifest/parser.d.ts +0 -73
  571. package/dist/security/manifest/parser.d.ts.map +0 -1
  572. package/dist/security/manifest/plugins/cargo.d.ts +0 -11
  573. package/dist/security/manifest/plugins/cargo.d.ts.map +0 -1
  574. package/dist/security/manifest/plugins/composer.d.ts +0 -11
  575. package/dist/security/manifest/plugins/composer.d.ts.map +0 -1
  576. package/dist/security/manifest/plugins/go.d.ts +0 -12
  577. package/dist/security/manifest/plugins/go.d.ts.map +0 -1
  578. package/dist/security/manifest/plugins/gradle.d.ts +0 -12
  579. package/dist/security/manifest/plugins/gradle.d.ts.map +0 -1
  580. package/dist/security/manifest/plugins/hex.d.ts +0 -11
  581. package/dist/security/manifest/plugins/hex.d.ts.map +0 -1
  582. package/dist/security/manifest/plugins/maven.d.ts +0 -11
  583. package/dist/security/manifest/plugins/maven.d.ts.map +0 -1
  584. package/dist/security/manifest/plugins/npm.d.ts +0 -11
  585. package/dist/security/manifest/plugins/npm.d.ts.map +0 -1
  586. package/dist/security/manifest/plugins/nuget.d.ts +0 -12
  587. package/dist/security/manifest/plugins/nuget.d.ts.map +0 -1
  588. package/dist/security/manifest/plugins/pip.d.ts +0 -11
  589. package/dist/security/manifest/plugins/pip.d.ts.map +0 -1
  590. package/dist/security/manifest/plugins/pubspec.d.ts +0 -11
  591. package/dist/security/manifest/plugins/pubspec.d.ts.map +0 -1
  592. package/dist/security/manifest/plugins/pyproject.d.ts +0 -3
  593. package/dist/security/manifest/plugins/pyproject.d.ts.map +0 -1
  594. package/dist/security/manifest/plugins/rubygems.d.ts +0 -11
  595. package/dist/security/manifest/plugins/rubygems.d.ts.map +0 -1
  596. package/dist/security/manifest/plugins/swift.d.ts +0 -11
  597. package/dist/security/manifest/plugins/swift.d.ts.map +0 -1
  598. package/dist/security/owasp.d.ts +0 -16
  599. package/dist/security/owasp.d.ts.map +0 -1
  600. package/dist/security/pipeline.d.ts +0 -37
  601. package/dist/security/pipeline.d.ts.map +0 -1
  602. package/dist/security/reachability.d.ts +0 -67
  603. package/dist/security/reachability.d.ts.map +0 -1
  604. package/dist/security/remediation.d.ts +0 -51
  605. package/dist/security/remediation.d.ts.map +0 -1
  606. package/dist/security/secrets.d.ts +0 -38
  607. package/dist/security/secrets.d.ts.map +0 -1
  608. package/dist/security/staleness.d.ts +0 -43
  609. package/dist/security/staleness.d.ts.map +0 -1
  610. package/dist/security/supply-chain.d.ts +0 -34
  611. package/dist/security/supply-chain.d.ts.map +0 -1
  612. package/dist/security/suppressions.d.ts +0 -18
  613. package/dist/security/suppressions.d.ts.map +0 -1
  614. package/dist/security/types.d.ts +0 -144
  615. package/dist/security/types.d.ts.map +0 -1
  616. package/dist/security/vuln/client.d.ts +0 -90
  617. package/dist/security/vuln/client.d.ts.map +0 -1
  618. package/dist/security/vuln/epss-client.d.ts +0 -26
  619. package/dist/security/vuln/epss-client.d.ts.map +0 -1
  620. package/dist/security/vuln/index.d.ts +0 -6
  621. package/dist/security/vuln/index.d.ts.map +0 -1
  622. package/dist/security/vuln/osv-adapter.d.ts +0 -58
  623. package/dist/security/vuln/osv-adapter.d.ts.map +0 -1
  624. package/dist/security/vuln/types.d.ts +0 -29
  625. package/dist/security/vuln/types.d.ts.map +0 -1
  626. package/dist/sync/index.d.ts +0 -35
  627. package/dist/sync/index.d.ts.map +0 -1
  628. package/dist/types.d.ts +0 -137
  629. package/dist/types.d.ts.map +0 -1
  630. package/dist/utils.d.ts +0 -52
  631. package/dist/utils.d.ts.map +0 -1
  632. package/dist/vectors/index.d.ts +0 -79
  633. package/dist/vectors/index.d.ts.map +0 -1
  634. package/dist/vectors/lancedb-index.d.ts +0 -50
  635. package/dist/vectors/lancedb-index.d.ts.map +0 -1
  636. package/dist/vectors/orama-index.d.ts +0 -54
  637. package/dist/vectors/orama-index.d.ts.map +0 -1
  638. package/dist/vectors/pglite-index.d.ts +0 -53
  639. package/dist/vectors/pglite-index.d.ts.map +0 -1
  640. package/dist/vectors/qdrant-index.d.ts +0 -77
  641. package/dist/vectors/qdrant-index.d.ts.map +0 -1
  642. package/dist/vectors/typesense-index.d.ts +0 -75
  643. package/dist/vectors/typesense-index.d.ts.map +0 -1
  644. package/dist/vectors/vec-index.d.ts +0 -52
  645. package/dist/vectors/vec-index.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"sbom.d.ts","sourceRoot":"","sources":["../../../src/security/export/sbom.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EACV,aAAa,EAId,MAAM,UAAU,CAAC;AAiHlB;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAgB;IACnC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,EAAE,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM;IAKlD;;OAEG;IACH,MAAM,IAAI,aAAa;IAsGvB;;OAEG;IACH,UAAU,IAAI,MAAM;IAKpB;;OAEG;IACH,OAAO,CAAC,aAAa;CA8BtB"}
@@ -1,62 +0,0 @@
1
- /**
2
- * CycloneDX serialization utilities for Dependency_Nodes.
3
- *
4
- * Provides serialize/deserialize between DependencyRow (sec_dependencies table)
5
- * and CycloneDX JSON component format, with partial failure resilience.
6
- *
7
- * Requirements: 8.2, 8.3, 8.4
8
- */
9
- import type { CycloneDXComponent } from '../types';
10
- /**
11
- * Represents a row from the sec_dependencies table.
12
- */
13
- export interface DependencyRow {
14
- node_id: string;
15
- ecosystem: string;
16
- package_name: string;
17
- declared_constraint: string;
18
- resolved_version: string | null;
19
- scope: 'production' | 'development' | 'optional';
20
- transitive_status: 'complete' | 'incomplete';
21
- last_vuln_check: number | null;
22
- vuln_data_stale: number;
23
- vuln_data_stale_since: number | null;
24
- source_manifests: string;
25
- }
26
- /**
27
- * Error reported when a single node fails serialization/deserialization.
28
- */
29
- export interface SerializationError {
30
- name: string;
31
- reason: string;
32
- }
33
- /**
34
- * Converts a dependency database row to a CycloneDX component object.
35
- * Stores the declared constraint in a `properties` array entry with
36
- * name "kirograph:declaredConstraint".
37
- *
38
- * The purl format is: pkg:<ecosystem>/<name>@<version>
39
- */
40
- export declare function serializeDependencyToComponent(dep: DependencyRow): CycloneDXComponent;
41
- /**
42
- * Converts a CycloneDX component back to a dependency row.
43
- * Extracts the constraint from the properties array.
44
- */
45
- export declare function deserializeComponentToDependency(component: CycloneDXComponent): DependencyRow;
46
- /**
47
- * Serializes all dependencies, collecting errors for any that fail
48
- * without aborting the batch.
49
- */
50
- export declare function serializeAll(deps: DependencyRow[]): {
51
- components: CycloneDXComponent[];
52
- errors: SerializationError[];
53
- };
54
- /**
55
- * Deserializes all components back to dependency rows,
56
- * collecting errors for any that fail without aborting the batch.
57
- */
58
- export declare function deserializeAll(components: CycloneDXComponent[]): {
59
- deps: DependencyRow[];
60
- errors: SerializationError[];
61
- };
62
- //# sourceMappingURL=serialization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serialization.d.ts","sourceRoot":"","sources":["../../../src/security/export/serialization.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAInD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,KAAK,EAAE,YAAY,GAAG,aAAa,GAAG,UAAU,CAAC;IACjD,iBAAiB,EAAE,UAAU,GAAG,YAAY,CAAC;IAC7C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAsBD;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,aAAa,GAAG,kBAAkB,CAgCrF;AAID;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,SAAS,EAAE,kBAAkB,GAAG,aAAa,CA+C7F;AAID;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG;IACnD,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC9B,CAiBA;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,kBAAkB,EAAE,GAAG;IAChE,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC9B,CAiBA"}
@@ -1,58 +0,0 @@
1
- /**
2
- * KiroGraph-Sec VEX Exporter
3
- *
4
- * Generates CycloneDX 1.5 VEX (Vulnerability Exploitability eXchange) documents
5
- * with reachability-informed vulnerability status. Each Vulnerability_Node is
6
- * mapped to a VEX entry with an analysis state derived from the reachability verdict.
7
- *
8
- * Requirements: 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 7.8
9
- */
10
- import type { GraphDatabase } from '../../db/database';
11
- import type { CycloneDXVEX } from '../types';
12
- /**
13
- * VEXExporter serializes vulnerability assessments with reachability verdicts
14
- * into CycloneDX 1.5 VEX format.
15
- */
16
- export declare class VEXExporter {
17
- private readonly db;
18
- private readonly projectRoot;
19
- constructor(db: GraphDatabase, projectRoot: string);
20
- /**
21
- * Generate CycloneDX 1.5 VEX JSON object.
22
- *
23
- * Queries all Vulnerability_Nodes and their reachability verdicts,
24
- * producing one VEX entry per vulnerability.
25
- */
26
- export(): CycloneDXVEX;
27
- /**
28
- * Export to pretty-printed JSON string.
29
- */
30
- exportJSON(): string;
31
- /**
32
- * Build a single CycloneDX vulnerability entry from a Vulnerability_Node.
33
- *
34
- * Maps reachability verdicts to CycloneDX analysis states:
35
- * - affected → "affected" with path summary detail
36
- * - not_affected → "not_affected" with justification "code_not_reachable"
37
- * - under_investigation → "under_investigation" with unresolved symbols detail
38
- * - no reachability data → "under_investigation" with pending analysis detail
39
- */
40
- private buildVulnerabilityEntry;
41
- /**
42
- * Build the analysis section based on the reachability verdict.
43
- */
44
- private buildAnalysis;
45
- /**
46
- * Build analysis detail for "affected" verdict.
47
- *
48
- * Includes: entry point count, layer count, shortest path length.
49
- */
50
- private buildAffectedAnalysis;
51
- /**
52
- * Build analysis detail for "under_investigation" verdict.
53
- *
54
- * Lists unresolved symbols or states pending analysis reason.
55
- */
56
- private buildUnderInvestigationAnalysis;
57
- }
58
- //# sourceMappingURL=vex.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vex.d.ts","sourceRoot":"","sources":["../../../src/security/export/vex.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAA4C,MAAM,UAAU,CAAC;AAMvF;;;GAGG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAgB;IACnC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,EAAE,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM;IAKlD;;;;;OAKG;IACH,MAAM,IAAI,YAAY;IAiDtB;;OAEG;IACH,UAAU,IAAI,MAAM;IAIpB;;;;;;;;OAQG;IACH,OAAO,CAAC,uBAAuB;IA6D/B;;OAEG;IACH,OAAO,CAAC,aAAa;IAgCrB;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;IAuC7B;;;;OAIG;IACH,OAAO,CAAC,+BAA+B;CAoBxC"}
@@ -1,21 +0,0 @@
1
- /**
2
- * KiroGraph-Sec Module Index
3
- *
4
- * Exports all public interfaces, classes, and types for the security module.
5
- * Used by MCP tools, CLI commands, and pipeline integration.
6
- */
7
- export { SecurityPipeline } from './pipeline';
8
- export { ManifestParser } from './manifest/parser';
9
- export { DependencyGraphIntegrator } from './integrator';
10
- export { VulnerabilityDatabaseClient } from './vuln/client';
11
- export { OsvAdapter } from './vuln/osv-adapter';
12
- export type { VulnDatabaseAdapter } from './vuln/types';
13
- export { ReachabilityAnalyzer } from './reachability';
14
- export { SBOMExporter } from './export/sbom';
15
- export { VEXExporter } from './export/vex';
16
- export { buildFixSuggestion, formatFixSuggestion } from './export/fix-suggestions';
17
- export { getSecurityWarningsForNodes, formatSecurityWarnings } from './context-warnings';
18
- export type { SecurityWarning } from './context-warnings';
19
- export type { ParsedDependency, ManifestParseResult, IntegrationResult, TransitiveResult, CleanupResult, CVERecord, VersionRange, EnrichmentResult, ReachabilityVerdict, ReachabilityPath, ReachabilityResult, ImpactSummary, SecurityResult, SBOMMetadata, CycloneDXSBOM, CycloneDXComponent, CycloneDXDependencyEntry, CycloneDXVEX, CycloneDXVulnerability, } from './types';
20
- export { SecurityError, ManifestParseError, VulnDatabaseError } from './errors';
21
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/security/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAGzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,YAAY,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGnF,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACzF,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,YAAY,EACV,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,YAAY,EACZ,sBAAsB,GACvB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
@@ -1,63 +0,0 @@
1
- import type { GraphDatabase } from '../db/database';
2
- import type { IntegrationResult, TransitiveResult, CleanupResult } from './types';
3
- export declare class DependencyGraphIntegrator {
4
- private readonly db;
5
- private readonly projectRoot;
6
- constructor(db: GraphDatabase, projectRoot: string);
7
- /**
8
- * Create import/reference edges between code symbols and Dependency_Nodes.
9
- *
10
- * Per Requirement 2.1: creates `imports` edges from file nodes that contain
11
- * import statements resolving to a dependency → the Dependency_Node.
12
- *
13
- * Per Requirement 2.2: creates `references` edges from code symbols that
14
- * reference classes/functions from a dependency → the Dependency_Node.
15
- */
16
- integrate(): Promise<IntegrationResult>;
17
- /**
18
- * Find the file node ID for a given file path.
19
- * File nodes have kind='file' and their file_path matches.
20
- */
21
- private findFileNodeId;
22
- /**
23
- * Match an import specifier to a dependency node ID.
24
- *
25
- * Handles:
26
- * - Exact match: `express` → dep:npm:express
27
- * - Scoped packages: `@scope/pkg` → dep:npm:@scope/pkg
28
- * - Subpath imports: `express/Router` → dep:npm:express
29
- * - Scoped subpath: `@angular/core/testing` → dep:npm:@angular/core
30
- * - Go modules: `github.com/gin-gonic/gin` → dep:go:github.com/gin-gonic/gin
31
- * - Go subpath: `github.com/gin-gonic/gin/internal` → dep:go:github.com/gin-gonic/gin
32
- */
33
- private matchImportToDependency;
34
- /**
35
- * Resolve transitive dependencies up to maxDepth levels.
36
- *
37
- * For each ecosystem with a lock file:
38
- * 1. Parse the lock file to extract dependency relationships
39
- * 2. Create `depends_on` edges between Dependency_Nodes
40
- * 3. Traverse up to maxDepth levels of transitive depth
41
- *
42
- * If a lock file is missing for an ecosystem, mark all dependencies of that
43
- * ecosystem with `transitive_status: 'incomplete'` and log a warning.
44
- *
45
- * @param maxDepth - Maximum levels of transitive depth to resolve (default: 10)
46
- */
47
- resolveTransitives(maxDepth?: number): Promise<TransitiveResult>;
48
- /**
49
- * Remove orphaned Dependency_Nodes and their edges.
50
- *
51
- * A Dependency_Node is orphaned if:
52
- * 1. It has no `declared_in` edges (manifest no longer declares it), OR
53
- * 2. None of its source manifests still exist on disk
54
- *
55
- * Also removes transitive Dependency_Nodes that are no longer reachable from
56
- * any remaining direct dependency via `depends_on` edges.
57
- *
58
- * @param manifestExists - Optional function to check if a manifest path exists.
59
- * Defaults to fs.existsSync. Useful for testing.
60
- */
61
- cleanup(manifestExists?: (absolutePath: string) => boolean): Promise<CleanupResult>;
62
- }
63
- //# sourceMappingURL=integrator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integrator.d.ts","sourceRoot":"","sources":["../../src/security/integrator.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAmNlF,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAgB;IACnC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,EAAE,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM;IAKlD;;;;;;;;OAQG;IACG,SAAS,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAwG7C;;;OAGG;IACH,OAAO,CAAC,cAAc;IAQtB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,uBAAuB;IAmD/B;;;;;;;;;;;;OAYG;IACG,kBAAkB,CAAC,QAAQ,GAAE,MAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAmI1E;;;;;;;;;;;;OAYG;IACG,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC;CA2G1F"}
@@ -1,33 +0,0 @@
1
- /**
2
- * License Compliance Checker for KiroGraph-Sec
3
- *
4
- * Checks project dependencies against a license policy (deny/warn lists).
5
- * Supports case-insensitive matching and wildcard patterns (e.g. GPL-* matches
6
- * GPL-2.0, GPL-3.0-only, etc.).
7
- */
8
- export interface LicenseViolation {
9
- packageName: string;
10
- ecosystem: string;
11
- license: string;
12
- severity: 'deny' | 'warn';
13
- }
14
- /**
15
- * Check a list of dependencies against a license policy.
16
- *
17
- * Dependencies with no license are skipped (no violation).
18
- * A license matched in `deny` produces a 'deny' violation.
19
- * A license matched in `warn` (and not in `deny`) produces a 'warn' violation.
20
- *
21
- * @param deps - Array of dependency rows from sec_dependencies
22
- * @param policy - The license policy with deny and warn lists
23
- * @returns Array of violations sorted by severity (deny first) then package name
24
- */
25
- export declare function checkLicensePolicy(deps: Array<{
26
- package_name: string;
27
- ecosystem: string;
28
- license: string | null;
29
- }>, policy: {
30
- deny: string[];
31
- warn: string[];
32
- }): LicenseViolation[];
33
- //# sourceMappingURL=license.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../src/security/license.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B;AAmCD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,KAAK,CAAC;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC,EAChF,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,GACzC,gBAAgB,EAAE,CAkCpB"}
@@ -1,92 +0,0 @@
1
- import type { ManifestParser as ArchManifestParser } from '../../architecture/types';
2
- import type { ParsedDependency, ManifestParseResult } from '../types';
3
- /**
4
- * A version extraction plugin provides ecosystem-specific logic to extract
5
- * version constraints and scopes from manifest files. Each plugin corresponds
6
- * to one or more architecture parsers and enhances their output with security-
7
- * relevant metadata.
8
- */
9
- export interface VersionExtractionPlugin {
10
- /** Ecosystem identifier matching the architecture parser name (e.g. 'npm', 'maven', 'go') */
11
- ecosystem: string;
12
- /** Manifest filenames this plugin handles (should match the architecture parser's manifestFiles) */
13
- manifestFiles: string[];
14
- /** Returns true if this plugin can handle the given manifest file path */
15
- canExtract(manifestPath: string): boolean;
16
- /**
17
- * Extract version constraints and scopes from a manifest file.
18
- * This is called AFTER the architecture parser has already discovered the manifest.
19
- * The plugin receives the manifest path and project root, and returns detailed
20
- * dependency information including versions and scopes.
21
- */
22
- extract(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
23
- }
24
- export declare class SecurityManifestAdapter {
25
- private readonly archParsers;
26
- private readonly plugins;
27
- /** Standalone plugins have no corresponding architecture parser — they own their own discovery. */
28
- private readonly standalonePlugins;
29
- private readonly projectRoot;
30
- constructor(projectRoot: string);
31
- /**
32
- * Register a version extraction plugin for an ecosystem that has a
33
- * corresponding architecture parser. The plugin's `ecosystem` field
34
- * must equal the architecture parser's `name` for the lookup to work.
35
- */
36
- registerPlugin(plugin: VersionExtractionPlugin): void;
37
- /**
38
- * Register a standalone version extraction plugin for an ecosystem that
39
- * has NO corresponding architecture parser. The plugin's `manifestFiles`
40
- * list drives discovery — the adapter will scan for those filenames and
41
- * invoke the plugin directly when found.
42
- */
43
- registerStandalonePlugin(plugin: VersionExtractionPlugin): void;
44
- /**
45
- * Get all registered version extraction plugins (wrapped + standalone).
46
- */
47
- getPlugins(): VersionExtractionPlugin[];
48
- /**
49
- * Get the architecture parsers being wrapped.
50
- */
51
- getArchParsers(): ArchManifestParser[];
52
- /**
53
- * Discover all manifest files in the project tree.
54
- * Includes files known to architecture parsers AND files from standalone plugins.
55
- * Returns absolute paths.
56
- */
57
- discoverManifests(): string[];
58
- /**
59
- * Run full discovery and extraction:
60
- * 1. Discover manifest files (reusing architecture's SKIP_DIRS logic)
61
- * 2. For each manifest, find the matching architecture parser
62
- * 3. If a version extraction plugin is registered for that ecosystem,
63
- * use it to extract detailed version/scope information
64
- * 4. Otherwise, fall back to basic extraction from the architecture parser's
65
- * ArchPackage.externalDeps (names only, no version info)
66
- */
67
- extractAll(): Promise<ManifestParseResult>;
68
- /**
69
- * Extract dependencies for a single manifest file.
70
- * Tries standalone plugins first (when there is no arch parser), then
71
- * wrapped plugins, then falls back to arch parser output.
72
- */
73
- extractFromManifest(manifestPath: string): Promise<ParsedDependency[]>;
74
- /**
75
- * Get the ecosystem name for a given manifest file path.
76
- * Returns undefined if no parser handles this file.
77
- */
78
- getEcosystem(manifestPath: string): string | undefined;
79
- /**
80
- * Fallback extraction: converts ArchPackage.externalDeps (names only) into
81
- * ParsedDependency records with empty version constraints and default scope.
82
- */
83
- private _fallbackExtract;
84
- /**
85
- * Walk the project directory tree looking for manifest files.
86
- * Mirrors the architecture module's _findManifests() logic, respecting SKIP_DIRS.
87
- * Includes manifest filenames from standalone plugins in addition to arch parsers.
88
- */
89
- private _findManifests;
90
- private _walkDir;
91
- }
92
- //# sourceMappingURL=adapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/security/manifest/adapter.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAe,MAAM,0BAA0B,CAAC;AAClG,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAItE;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACtC,6FAA6F;IAC7F,SAAS,EAAE,MAAM,CAAC;IAClB,oGAAoG;IACpG,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,0EAA0E;IAC1E,UAAU,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1C;;;;;OAKG;IACH,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC;CACjF;AAYD,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAuB;IACnD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmD;IAC3E,mGAAmG;IACnG,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAmD;IACrF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,WAAW,EAAE,MAAM;IAK/B;;;;OAIG;IACH,cAAc,CAAC,MAAM,EAAE,uBAAuB,GAAG,IAAI;IAIrD;;;;;OAKG;IACH,wBAAwB,CAAC,MAAM,EAAE,uBAAuB,GAAG,IAAI;IAI/D;;OAEG;IACH,UAAU,IAAI,uBAAuB,EAAE;IAIvC;;OAEG;IACH,cAAc,IAAI,kBAAkB,EAAE;IAItC;;;;OAIG;IACH,iBAAiB,IAAI,MAAM,EAAE;IAI7B;;;;;;;;OAQG;IACG,UAAU,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAqDhD;;;;OAIG;IACG,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAyB5E;;;OAGG;IACH,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAOtD;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAqBxB;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,QAAQ;CAsBjB"}
@@ -1,73 +0,0 @@
1
- /**
2
- * ManifestParser Orchestrator
3
- *
4
- * Orchestrates manifest discovery, version extraction, deduplication, and
5
- * database persistence. Uses the SecurityManifestAdapter for discovery and
6
- * extraction, registers all 12 version extraction plugins:
7
- * Wrapped (arch parser exists): npm, maven, go, pip, cargo, nuget, gradle
8
- * Standalone (no arch parser): rubygems, composer, swift, pubspec, hex
9
- *
10
- * Node ID format: `dep:<ecosystem>:<name>` (e.g. `dep:npm:express`)
11
- */
12
- import { SecurityManifestAdapter } from './adapter';
13
- import type { GraphDatabase } from '../../db/database';
14
- import type { ParsedDependency, ManifestParseResult } from '../types';
15
- /**
16
- * Compare two version strings. Returns:
17
- * - positive if a > b
18
- * - negative if a < b
19
- * - 0 if equal
20
- *
21
- * Handles semver-like versions (1.2.3), Go pseudo-versions, and constraint
22
- * strings. Falls back to lexicographic comparison for non-numeric versions.
23
- */
24
- export declare function compareVersions(a: string, b: string): number;
25
- /**
26
- * A deduplicated dependency entry combining data from multiple manifests.
27
- */
28
- interface DeduplicatedDependency {
29
- name: string;
30
- ecosystem: string;
31
- /** The highest declared constraint across all manifests */
32
- declaredConstraint: string;
33
- /** The highest resolved version across all manifests (if any) */
34
- resolvedVersion?: string;
35
- /** Scope from the manifest with the highest version */
36
- scope: ParsedDependency['scope'];
37
- /** All source manifests that declared this dependency */
38
- sourceManifests: string[];
39
- /** License from manifest, if available */
40
- license?: string;
41
- }
42
- /**
43
- * Deduplicate dependencies by (name, ecosystem) pair, keeping the entry
44
- * with the highest version and collecting all source manifests.
45
- */
46
- export declare function deduplicateDependencies(deps: ParsedDependency[]): DeduplicatedDependency[];
47
- /**
48
- * ManifestParser orchestrates manifest discovery, parsing, deduplication,
49
- * and database persistence for the security module.
50
- */
51
- export declare class ManifestParser {
52
- private readonly adapter;
53
- private readonly db;
54
- private readonly projectRoot;
55
- constructor(db: GraphDatabase, projectRoot: string);
56
- /**
57
- * Get the underlying adapter (useful for testing).
58
- */
59
- getAdapter(): SecurityManifestAdapter;
60
- /**
61
- * Run full manifest discovery, parsing, deduplication, and database persistence.
62
- *
63
- * Steps:
64
- * 1. Discover manifest files via the adapter (reuses architecture parsers)
65
- * 2. Extract dependencies with version/scope data via registered plugins
66
- * 3. Deduplicate: same (name, ecosystem) → single entry with highest version
67
- * 4. Create Dependency_Nodes in the database (nodes + sec_dependencies tables)
68
- * 5. Create `declared_in` edges linking dependencies to their source manifests
69
- */
70
- parseAll(): Promise<ManifestParseResult>;
71
- }
72
- export {};
73
- //# sourceMappingURL=parser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/security/manifest/parser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,uBAAuB,EAAgC,MAAM,WAAW,CAAC;AAclF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAiLtE;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAyC5D;AAYD;;GAEG;AACH,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iEAAiE;IACjE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,uDAAuD;IACvD,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACjC,yDAAyD;IACzD,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,gBAAgB,EAAE,GAAG,sBAAsB,EAAE,CA2C1F;AAID;;;GAGG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA0B;IAClD,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAgB;IACnC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;gBAEzB,EAAE,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM;IAuBlD;;OAEG;IACH,UAAU,IAAI,uBAAuB;IAIrC;;;;;;;;;OASG;IACG,QAAQ,IAAI,OAAO,CAAC,mBAAmB,CAAC;CAkH/C"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a Cargo.toml manifest and extract dependency declarations
4
- * with version constraints, scopes, and resolved versions from Cargo.lock.
5
- *
6
- * @param manifestPath - Absolute path to the Cargo.toml file
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parseCargoManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=cargo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cargo.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/cargo.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAkBpD;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACtC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAuC7B"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a composer.json manifest and extract package declarations with
4
- * version constraints, scopes, and resolved versions from composer.lock.
5
- *
6
- * @param manifestPath - Absolute path to the composer.json file
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parseComposerManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=composer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/composer.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACzC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAoE7B"}
@@ -1,12 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a go.mod manifest and extract dependency declarations with version
4
- * information. In Go modules, the version declared in go.mod is the resolved
5
- * version (pinned), so declaredConstraint and resolvedVersion are the same.
6
- *
7
- * @param manifestPath - Absolute path to the go.mod file
8
- * @param projectRoot - Absolute path to the project root directory
9
- * @returns Array of parsed dependencies with version information
10
- */
11
- export declare function parseGoManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
12
- //# sourceMappingURL=go.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"go.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/go.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpD;;;;;;;;GAQG;AACH,wBAAsB,eAAe,CACnC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CA0C7B"}
@@ -1,12 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a Gradle build script (`build.gradle` or `build.gradle.kts`) and extract
4
- * dependency declarations with version constraints, scopes, and resolved versions
5
- * from `gradle.lockfile`.
6
- *
7
- * @param manifestPath - Absolute path to the build.gradle or build.gradle.kts file
8
- * @param projectRoot - Absolute path to the project root directory
9
- * @returns Array of parsed dependencies with version and scope information
10
- */
11
- export declare function parseGradleManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
12
- //# sourceMappingURL=gradle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gradle.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/gradle.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA0CpD;;;;;;;;GAQG;AACH,wBAAsB,mBAAmB,CACvC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAmD7B"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a mix.exs manifest and extract package declarations with
4
- * version constraints, scopes, and resolved versions from mix.lock.
5
- *
6
- * @param manifestPath - Absolute path to the mix.exs file
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parseHexManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=hex.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/hex.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAiC7B"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a Maven pom.xml manifest and extract dependency declarations
4
- * with groupId, artifactId, version constraints, and scopes.
5
- *
6
- * @param manifestPath - Absolute path to the pom.xml file
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parseMavenManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=maven.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"maven.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/maven.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAyCpD;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACtC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CA8E7B"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse an npm package.json manifest and extract dependency declarations
4
- * with version constraints, scopes, and resolved versions from lock files.
5
- *
6
- * @param manifestPath - Absolute path to the package.json file
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parseNpmManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=npm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"npm.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/npm.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAgBpD;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAsG7B"}
@@ -1,12 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a .csproj manifest and extract NuGet dependency declarations
4
- * with version constraints, scopes, and resolved versions from packages.lock.json.
5
- * Also parses a packages.config in the same directory if present.
6
- *
7
- * @param manifestPath - Absolute path to the .csproj file
8
- * @param projectRoot - Absolute path to the project root directory
9
- * @returns Array of parsed dependencies with version and scope information
10
- */
11
- export declare function parseNugetManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
12
- //# sourceMappingURL=nuget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nuget.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/nuget.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CACtC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CA6D7B"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a pip requirements.txt manifest and extract dependency declarations
4
- * with version constraints.
5
- *
6
- * @param manifestPath - Absolute path to the requirements.txt file
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parsePipManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=pip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pip.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/pip.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAyBpD;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAwC7B"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a pubspec.yaml manifest and extract package declarations with
4
- * version constraints, scopes, and resolved versions from pubspec.lock.
5
- *
6
- * @param manifestPath - Absolute path to the pubspec.yaml file
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parsePubspecManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=pubspec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pubspec.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/pubspec.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD;;;;;;;GAOG;AACH,wBAAsB,oBAAoB,CACxC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CA4C7B"}
@@ -1,3 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- export declare function parsePyprojectManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
3
- //# sourceMappingURL=pyproject.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pyproject.d.ts","sourceRoot":"","sources":["../../../../src/security/manifest/plugins/pyproject.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAOpD,wBAAsB,sBAAsB,CAC1C,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAiE7B"}
@@ -1,11 +0,0 @@
1
- import type { ParsedDependency } from '../../types';
2
- /**
3
- * Parse a Gemfile manifest and extract gem declarations with version constraints,
4
- * scopes, and resolved versions from Gemfile.lock.
5
- *
6
- * @param manifestPath - Absolute path to the Gemfile
7
- * @param projectRoot - Absolute path to the project root directory
8
- * @returns Array of parsed dependencies with version and scope information
9
- */
10
- export declare function parseRubygemsManifest(manifestPath: string, projectRoot: string): Promise<ParsedDependency[]>;
11
- //# sourceMappingURL=rubygems.d.ts.map