@lzehrung/codegraph 2.3.20 → 2.3.22

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 (1386) hide show
  1. package/README.md +6 -5
  2. package/THIRD_PARTY_NOTICES +4 -4
  3. package/codegraph-skill/codegraph/SKILL.md +97 -281
  4. package/dist/agent/call-hierarchy.d.ts +28 -0
  5. package/dist/agent/call-hierarchy.d.ts.map +1 -0
  6. package/dist/agent/call-hierarchy.js +82 -0
  7. package/dist/agent/call-hierarchy.js.map +1 -0
  8. package/dist/agent/candidate-tests.d.ts +12 -0
  9. package/dist/agent/candidate-tests.d.ts.map +1 -0
  10. package/dist/agent/candidate-tests.js +17 -0
  11. package/dist/agent/candidate-tests.js.map +1 -0
  12. package/dist/agent/explain.d.ts +8 -2
  13. package/dist/agent/explain.d.ts.map +1 -1
  14. package/dist/agent/explain.js +17 -3
  15. package/dist/agent/explain.js.map +1 -1
  16. package/dist/agent/explore.d.ts +3 -3
  17. package/dist/agent/explore.d.ts.map +1 -1
  18. package/dist/agent/explore.js +2 -2
  19. package/dist/agent/explore.js.map +1 -1
  20. package/dist/agent/file-view.d.ts +55 -0
  21. package/dist/agent/file-view.d.ts.map +1 -0
  22. package/dist/agent/file-view.js +521 -0
  23. package/dist/agent/file-view.js.map +1 -0
  24. package/dist/agent/follow-ups.d.ts +10 -0
  25. package/dist/agent/follow-ups.d.ts.map +1 -0
  26. package/dist/agent/follow-ups.js +175 -0
  27. package/dist/agent/follow-ups.js.map +1 -0
  28. package/dist/agent/normalize.d.ts +1 -1
  29. package/dist/agent/normalize.d.ts.map +1 -1
  30. package/dist/agent/normalize.js +2 -2
  31. package/dist/agent/normalize.js.map +1 -1
  32. package/dist/agent/orient.d.ts +1 -1
  33. package/dist/agent/orient.d.ts.map +1 -1
  34. package/dist/agent/orient.js +2 -2
  35. package/dist/agent/orient.js.map +1 -1
  36. package/dist/agent/packet.d.ts +1 -1
  37. package/dist/agent/packet.d.ts.map +1 -1
  38. package/dist/agent/packet.js +1 -1
  39. package/dist/agent/packet.js.map +1 -1
  40. package/dist/agent/query-index/candidates.d.ts +8 -2
  41. package/dist/agent/query-index/candidates.d.ts.map +1 -1
  42. package/dist/agent/query-index/candidates.js +12 -5
  43. package/dist/agent/query-index/candidates.js.map +1 -1
  44. package/dist/agent/query-index/content.js +2 -2
  45. package/dist/agent/query-index/content.js.map +1 -1
  46. package/dist/agent/query-index/query-index-worker.d.ts +8 -0
  47. package/dist/agent/query-index/query-index-worker.d.ts.map +1 -0
  48. package/dist/agent/query-index/query-index-worker.js +11 -0
  49. package/dist/agent/query-index/query-index-worker.js.map +1 -0
  50. package/dist/agent/query-index/session-store.d.ts +5 -0
  51. package/dist/agent/query-index/session-store.d.ts.map +1 -0
  52. package/dist/agent/query-index/session-store.js +69 -0
  53. package/dist/agent/query-index/session-store.js.map +1 -0
  54. package/dist/agent/query-index/source-identity.d.ts +3 -0
  55. package/dist/agent/query-index/source-identity.d.ts.map +1 -0
  56. package/dist/agent/query-index/source-identity.js +12 -0
  57. package/dist/agent/query-index/source-identity.js.map +1 -0
  58. package/dist/agent/query-index/store.d.ts +5 -1
  59. package/dist/agent/query-index/store.d.ts.map +1 -1
  60. package/dist/agent/query-index/store.js +98 -31
  61. package/dist/agent/query-index/store.js.map +1 -1
  62. package/dist/agent/query-index/update.js +3 -3
  63. package/dist/agent/query-index/update.js.map +1 -1
  64. package/dist/agent/query-index/worker-pool.d.ts +27 -0
  65. package/dist/agent/query-index/worker-pool.d.ts.map +1 -0
  66. package/dist/agent/query-index/worker-pool.js +114 -0
  67. package/dist/agent/query-index/worker-pool.js.map +1 -0
  68. package/dist/agent/refactor-plan.d.ts +40 -0
  69. package/dist/agent/refactor-plan.d.ts.map +1 -0
  70. package/dist/agent/refactor-plan.js +226 -0
  71. package/dist/agent/refactor-plan.js.map +1 -0
  72. package/dist/agent/rename-preview.d.ts +57 -0
  73. package/dist/agent/rename-preview.d.ts.map +1 -0
  74. package/dist/agent/rename-preview.js +1062 -0
  75. package/dist/agent/rename-preview.js.map +1 -0
  76. package/dist/agent/search.d.ts +8 -2
  77. package/dist/agent/search.d.ts.map +1 -1
  78. package/dist/agent/search.js +26 -9
  79. package/dist/agent/search.js.map +1 -1
  80. package/dist/agent/semantic-symbols.d.ts +16 -0
  81. package/dist/agent/semantic-symbols.d.ts.map +1 -0
  82. package/dist/agent/semantic-symbols.js +97 -0
  83. package/dist/agent/semantic-symbols.js.map +1 -0
  84. package/dist/agent/semantic.d.ts +1 -1
  85. package/dist/agent/semantic.d.ts.map +1 -1
  86. package/dist/agent/session-lifecycle.d.ts +5 -0
  87. package/dist/agent/session-lifecycle.d.ts.map +1 -0
  88. package/dist/agent/session-lifecycle.js +18 -0
  89. package/dist/agent/session-lifecycle.js.map +1 -0
  90. package/dist/agent/session.d.ts +3 -3
  91. package/dist/agent/session.d.ts.map +1 -1
  92. package/dist/agent/session.js +73 -26
  93. package/dist/agent/session.js.map +1 -1
  94. package/dist/agent/symbol-lookup.d.ts +12 -0
  95. package/dist/agent/symbol-lookup.d.ts.map +1 -0
  96. package/dist/agent/symbol-lookup.js +26 -0
  97. package/dist/agent/symbol-lookup.js.map +1 -0
  98. package/dist/agent/type-hierarchy.d.ts +39 -0
  99. package/dist/agent/type-hierarchy.d.ts.map +1 -0
  100. package/dist/agent/type-hierarchy.js +125 -0
  101. package/dist/agent/type-hierarchy.js.map +1 -0
  102. package/dist/agent/workspace-symbols.d.ts +18 -0
  103. package/dist/agent/workspace-symbols.d.ts.map +1 -0
  104. package/dist/agent/workspace-symbols.js +75 -0
  105. package/dist/agent/workspace-symbols.js.map +1 -0
  106. package/dist/agent-tools.d.ts +6 -6
  107. package/dist/agent-tools.d.ts.map +1 -1
  108. package/dist/agent-tools.js +6 -6
  109. package/dist/agent-tools.js.map +1 -1
  110. package/dist/agent.d.ts +18 -18
  111. package/dist/agent.d.ts.map +1 -1
  112. package/dist/agent.js +10 -10
  113. package/dist/agent.js.map +1 -1
  114. package/dist/analysis-summary.d.ts +19 -0
  115. package/dist/analysis-summary.d.ts.map +1 -0
  116. package/dist/analysis-summary.js +80 -0
  117. package/dist/analysis-summary.js.map +1 -0
  118. package/dist/bin/cli.js +37347 -36812
  119. package/dist/bin/query-index-worker.js +4382 -0
  120. package/dist/bin/raw-query-worker.js +383 -0
  121. package/dist/bootstrap/tree-sitter-languages.d.ts +5 -0
  122. package/dist/bootstrap/tree-sitter-languages.d.ts.map +1 -0
  123. package/dist/bootstrap/tree-sitter-languages.js +41 -0
  124. package/dist/bootstrap/tree-sitter-languages.js.map +1 -0
  125. package/dist/chunking/chunk-blocks.d.ts +9 -0
  126. package/dist/chunking/chunk-blocks.d.ts.map +1 -0
  127. package/dist/chunking/chunk-blocks.js +60 -0
  128. package/dist/chunking/chunk-blocks.js.map +1 -0
  129. package/dist/chunking/chunk-file.d.ts +39 -0
  130. package/dist/chunking/chunk-file.d.ts.map +1 -0
  131. package/dist/chunking/chunk-file.js +152 -0
  132. package/dist/chunking/chunk-file.js.map +1 -0
  133. package/dist/chunking/chunk-id.d.ts +7 -0
  134. package/dist/chunking/chunk-id.d.ts.map +1 -0
  135. package/dist/chunking/chunk-id.js +30 -0
  136. package/dist/chunking/chunk-id.js.map +1 -0
  137. package/dist/chunking/chunk-matches.d.ts +4 -0
  138. package/dist/chunking/chunk-matches.d.ts.map +1 -0
  139. package/dist/chunking/chunk-matches.js +65 -0
  140. package/dist/chunking/chunk-matches.js.map +1 -0
  141. package/dist/chunking/chunk-merge.d.ts +4 -0
  142. package/dist/chunking/chunk-merge.d.ts.map +1 -0
  143. package/dist/chunking/chunk-merge.js +144 -0
  144. package/dist/chunking/chunk-merge.js.map +1 -0
  145. package/dist/chunking/chunk-sfc.d.ts +18 -0
  146. package/dist/chunking/chunk-sfc.d.ts.map +1 -0
  147. package/dist/chunking/chunk-sfc.js +165 -0
  148. package/dist/chunking/chunk-sfc.js.map +1 -0
  149. package/dist/chunking/chunk-split.d.ts +6 -0
  150. package/dist/chunking/chunk-split.d.ts.map +1 -0
  151. package/dist/chunking/chunk-split.js +155 -0
  152. package/dist/chunking/chunk-split.js.map +1 -0
  153. package/dist/chunking/chunk-text-file.d.ts +28 -0
  154. package/dist/chunking/chunk-text-file.d.ts.map +1 -0
  155. package/dist/chunking/chunk-text-file.js +107 -0
  156. package/dist/chunking/chunk-text-file.js.map +1 -0
  157. package/dist/chunking/language-config.d.ts +35 -0
  158. package/dist/chunking/language-config.d.ts.map +1 -0
  159. package/dist/chunking/language-config.js +24 -0
  160. package/dist/chunking/language-config.js.map +1 -0
  161. package/dist/cli/affected.js +1 -1
  162. package/dist/cli/affected.js.map +1 -1
  163. package/dist/cli/call-hierarchy.d.ts +6 -0
  164. package/dist/cli/call-hierarchy.d.ts.map +1 -0
  165. package/dist/cli/call-hierarchy.js +72 -0
  166. package/dist/cli/call-hierarchy.js.map +1 -0
  167. package/dist/cli/chunk.js +5 -5
  168. package/dist/cli/chunk.js.map +1 -1
  169. package/dist/cli/command-catalog.d.ts +14 -0
  170. package/dist/cli/command-catalog.d.ts.map +1 -0
  171. package/dist/cli/command-catalog.js +118 -0
  172. package/dist/cli/command-catalog.js.map +1 -0
  173. package/dist/cli/command-table.d.ts +16 -0
  174. package/dist/cli/command-table.d.ts.map +1 -0
  175. package/dist/cli/command-table.js +758 -0
  176. package/dist/cli/command-table.js.map +1 -0
  177. package/dist/cli/compile-cache.d.ts +22 -0
  178. package/dist/cli/compile-cache.d.ts.map +1 -0
  179. package/dist/cli/compile-cache.js +81 -0
  180. package/dist/cli/compile-cache.js.map +1 -0
  181. package/dist/cli/discovery-globs.d.ts +11 -0
  182. package/dist/cli/discovery-globs.d.ts.map +1 -0
  183. package/dist/cli/discovery-globs.js +74 -0
  184. package/dist/cli/discovery-globs.js.map +1 -0
  185. package/dist/cli/doctor.d.ts +1 -1
  186. package/dist/cli/doctor.d.ts.map +1 -1
  187. package/dist/cli/doctor.js +3 -3
  188. package/dist/cli/doctor.js.map +1 -1
  189. package/dist/cli/drift.d.ts +1 -1
  190. package/dist/cli/drift.d.ts.map +1 -1
  191. package/dist/cli/duplicate-similarity.d.ts +10 -0
  192. package/dist/cli/duplicate-similarity.d.ts.map +1 -0
  193. package/dist/cli/duplicate-similarity.js +20 -0
  194. package/dist/cli/duplicate-similarity.js.map +1 -0
  195. package/dist/cli/file.js +2 -2
  196. package/dist/cli/file.js.map +1 -1
  197. package/dist/cli/graph-delta.d.ts +25 -0
  198. package/dist/cli/graph-delta.d.ts.map +1 -0
  199. package/dist/cli/graph-delta.js +80 -0
  200. package/dist/cli/graph-delta.js.map +1 -0
  201. package/dist/cli/graph-queries.d.ts +23 -0
  202. package/dist/cli/graph-queries.d.ts.map +1 -0
  203. package/dist/cli/graph-queries.js +265 -0
  204. package/dist/cli/graph-queries.js.map +1 -0
  205. package/dist/cli/graph.d.ts +2 -2
  206. package/dist/cli/graph.d.ts.map +1 -1
  207. package/dist/cli/graph.js +2 -2
  208. package/dist/cli/graph.js.map +1 -1
  209. package/dist/cli/grep.d.ts +1 -1
  210. package/dist/cli/grep.d.ts.map +1 -1
  211. package/dist/cli/grep.js +1 -1
  212. package/dist/cli/grep.js.map +1 -1
  213. package/dist/cli/help.d.ts +1 -1
  214. package/dist/cli/help.d.ts.map +1 -1
  215. package/dist/cli/help.js +2 -2
  216. package/dist/cli/help.js.map +1 -1
  217. package/dist/cli/impact.d.ts +2 -2
  218. package/dist/cli/impact.d.ts.map +1 -1
  219. package/dist/cli/impact.js +4 -4
  220. package/dist/cli/impact.js.map +1 -1
  221. package/dist/cli/index-policy.d.ts +36 -0
  222. package/dist/cli/index-policy.d.ts.map +1 -0
  223. package/dist/cli/index-policy.js +169 -0
  224. package/dist/cli/index-policy.js.map +1 -0
  225. package/dist/cli/index.d.ts +2 -2
  226. package/dist/cli/index.d.ts.map +1 -1
  227. package/dist/cli/index.js +1 -1
  228. package/dist/cli/index.js.map +1 -1
  229. package/dist/cli/inspect.d.ts +2 -2
  230. package/dist/cli/inspect.d.ts.map +1 -1
  231. package/dist/cli/inspect.js +2 -2
  232. package/dist/cli/inspect.js.map +1 -1
  233. package/dist/cli/invocation-context.d.ts +77 -0
  234. package/dist/cli/invocation-context.d.ts.map +1 -0
  235. package/dist/cli/invocation-context.js +423 -0
  236. package/dist/cli/invocation-context.js.map +1 -0
  237. package/dist/cli/links.d.ts +2 -2
  238. package/dist/cli/links.d.ts.map +1 -1
  239. package/dist/cli/links.js +1 -1
  240. package/dist/cli/links.js.map +1 -1
  241. package/dist/cli/location.d.ts +1 -1
  242. package/dist/cli/location.d.ts.map +1 -1
  243. package/dist/cli/location.js +1 -1
  244. package/dist/cli/location.js.map +1 -1
  245. package/dist/cli/navigation.d.ts +2 -2
  246. package/dist/cli/navigation.d.ts.map +1 -1
  247. package/dist/cli/navigation.js +2 -2
  248. package/dist/cli/navigation.js.map +1 -1
  249. package/dist/cli/packet.js +1 -1
  250. package/dist/cli/packet.js.map +1 -1
  251. package/dist/cli/project-file.d.ts +13 -0
  252. package/dist/cli/project-file.d.ts.map +1 -0
  253. package/dist/cli/project-file.js +23 -0
  254. package/dist/cli/project-file.js.map +1 -0
  255. package/dist/cli/refactor-plan.d.ts +6 -0
  256. package/dist/cli/refactor-plan.d.ts.map +1 -0
  257. package/dist/cli/refactor-plan.js +84 -0
  258. package/dist/cli/refactor-plan.js.map +1 -0
  259. package/dist/cli/rename-preview.d.ts +4 -0
  260. package/dist/cli/rename-preview.d.ts.map +1 -0
  261. package/dist/cli/rename-preview.js +92 -0
  262. package/dist/cli/rename-preview.js.map +1 -0
  263. package/dist/cli/review.d.ts +2 -2
  264. package/dist/cli/review.d.ts.map +1 -1
  265. package/dist/cli/review.js +4 -4
  266. package/dist/cli/review.js.map +1 -1
  267. package/dist/cli/root-policy.d.ts +53 -0
  268. package/dist/cli/root-policy.d.ts.map +1 -0
  269. package/dist/cli/root-policy.js +221 -0
  270. package/dist/cli/root-policy.js.map +1 -0
  271. package/dist/cli/server.js +5 -5
  272. package/dist/cli/server.js.map +1 -1
  273. package/dist/cli/skill.js +1 -1
  274. package/dist/cli/skill.js.map +1 -1
  275. package/dist/cli/symbols.js +1 -1
  276. package/dist/cli/symbols.js.map +1 -1
  277. package/dist/cli/type-hierarchy.d.ts +6 -0
  278. package/dist/cli/type-hierarchy.d.ts.map +1 -0
  279. package/dist/cli/type-hierarchy.js +90 -0
  280. package/dist/cli/type-hierarchy.js.map +1 -0
  281. package/dist/cli/viewer.js +2 -2
  282. package/dist/cli/viewer.js.map +1 -1
  283. package/dist/cli-bootstrap.d.ts +3 -0
  284. package/dist/cli-bootstrap.d.ts.map +1 -0
  285. package/dist/cli-bootstrap.js +10 -0
  286. package/dist/cli-bootstrap.js.map +1 -0
  287. package/dist/cli.d.ts +1 -1
  288. package/dist/cli.d.ts.map +1 -1
  289. package/dist/cli.js +5 -5
  290. package/dist/cli.js.map +1 -1
  291. package/dist/config.d.ts +1 -1
  292. package/dist/config.d.ts.map +1 -1
  293. package/dist/config.js +0 -1
  294. package/dist/config.js.map +1 -1
  295. package/dist/document-links/asciidoc.d.ts.map +1 -0
  296. package/dist/document-links/asciidoc.js.map +1 -0
  297. package/dist/document-links/check.d.ts +32 -0
  298. package/dist/document-links/check.d.ts.map +1 -0
  299. package/dist/document-links/check.js +286 -0
  300. package/dist/document-links/check.js.map +1 -0
  301. package/dist/document-links/html.d.ts.map +1 -0
  302. package/dist/document-links/html.js.map +1 -0
  303. package/dist/document-links/markdown.d.ts.map +1 -0
  304. package/dist/document-links/markdown.js.map +1 -0
  305. package/dist/document-links/rst.d.ts.map +1 -0
  306. package/dist/document-links/rst.js.map +1 -0
  307. package/dist/document-links/sfc.d.ts.map +1 -0
  308. package/dist/document-links/sfc.js.map +1 -0
  309. package/dist/document-links/shared.d.ts.map +1 -0
  310. package/dist/document-links/shared.js.map +1 -0
  311. package/dist/document-links.d.ts +12 -0
  312. package/dist/document-links.d.ts.map +1 -0
  313. package/dist/document-links.js +49 -0
  314. package/dist/document-links.js.map +1 -0
  315. package/dist/drift/snapshot.js +2 -2
  316. package/dist/drift/snapshot.js.map +1 -1
  317. package/dist/drift/types.d.ts +2 -2
  318. package/dist/drift/types.d.ts.map +1 -1
  319. package/dist/duplicates/unit-cache.d.ts +46 -0
  320. package/dist/duplicates/unit-cache.d.ts.map +1 -0
  321. package/dist/duplicates/unit-cache.js +512 -0
  322. package/dist/duplicates/unit-cache.js.map +1 -0
  323. package/dist/duplicates/units.d.ts +1 -1
  324. package/dist/duplicates/units.d.ts.map +1 -1
  325. package/dist/duplicates/units.js +6 -6
  326. package/dist/duplicates/units.js.map +1 -1
  327. package/dist/duplicates-leads.d.ts +39 -0
  328. package/dist/duplicates-leads.d.ts.map +1 -0
  329. package/dist/duplicates-leads.js +112 -0
  330. package/dist/duplicates-leads.js.map +1 -0
  331. package/dist/duplicates.d.ts +1 -1
  332. package/dist/duplicates.d.ts.map +1 -1
  333. package/dist/duplicates.js +2 -2
  334. package/dist/duplicates.js.map +1 -1
  335. package/dist/graph-builder.d.ts +1 -1
  336. package/dist/graph-builder.d.ts.map +1 -1
  337. package/dist/graph-builder.js +4 -4
  338. package/dist/graph-builder.js.map +1 -1
  339. package/dist/graph-edge-collector.d.ts +3 -3
  340. package/dist/graph-edge-collector.d.ts.map +1 -1
  341. package/dist/graph-edge-collector.js +6 -6
  342. package/dist/graph-edge-collector.js.map +1 -1
  343. package/dist/graphs/cycles.js +1 -1
  344. package/dist/graphs/cycles.js.map +1 -1
  345. package/dist/graphs/edge-resolution.d.ts +25 -0
  346. package/dist/graphs/edge-resolution.d.ts.map +1 -0
  347. package/dist/graphs/edge-resolution.js +97 -0
  348. package/dist/graphs/edge-resolution.js.map +1 -0
  349. package/dist/graphs/grep.d.ts +1 -1
  350. package/dist/graphs/grep.d.ts.map +1 -1
  351. package/dist/graphs/grep.js +4 -4
  352. package/dist/graphs/grep.js.map +1 -1
  353. package/dist/graphs/specifiers.d.ts +1 -1
  354. package/dist/graphs/specifiers.d.ts.map +1 -1
  355. package/dist/graphs/specifiers.js +5 -5
  356. package/dist/graphs/specifiers.js.map +1 -1
  357. package/dist/graphs/symbol-graph-detailed/ast.d.ts +0 -1
  358. package/dist/graphs/symbol-graph-detailed/ast.d.ts.map +1 -1
  359. package/dist/graphs/symbol-graph-detailed/ast.js +1 -8
  360. package/dist/graphs/symbol-graph-detailed/ast.js.map +1 -1
  361. package/dist/graphs/symbol-graph-detailed/edge-passes.d.ts +35 -0
  362. package/dist/graphs/symbol-graph-detailed/edge-passes.d.ts.map +1 -0
  363. package/dist/graphs/symbol-graph-detailed/edge-passes.js +676 -0
  364. package/dist/graphs/symbol-graph-detailed/edge-passes.js.map +1 -0
  365. package/dist/graphs/symbol-graph-detailed/import-aliases.d.ts +10 -0
  366. package/dist/graphs/symbol-graph-detailed/import-aliases.d.ts.map +1 -0
  367. package/dist/graphs/symbol-graph-detailed/import-aliases.js +44 -0
  368. package/dist/graphs/symbol-graph-detailed/import-aliases.js.map +1 -0
  369. package/dist/graphs/symbol-graph-detailed/member-chains.d.ts +17 -0
  370. package/dist/graphs/symbol-graph-detailed/member-chains.d.ts.map +1 -0
  371. package/dist/graphs/symbol-graph-detailed/member-chains.js +30 -0
  372. package/dist/graphs/symbol-graph-detailed/member-chains.js.map +1 -0
  373. package/dist/graphs/symbol-graph-detailed/receiver-calls.d.ts +69 -0
  374. package/dist/graphs/symbol-graph-detailed/receiver-calls.d.ts.map +1 -0
  375. package/dist/graphs/symbol-graph-detailed/receiver-calls.js +408 -0
  376. package/dist/graphs/symbol-graph-detailed/receiver-calls.js.map +1 -0
  377. package/dist/graphs/symbol-graph-detailed.d.ts.map +1 -1
  378. package/dist/graphs/symbol-graph-detailed.js +22 -12
  379. package/dist/graphs/symbol-graph-detailed.js.map +1 -1
  380. package/dist/graphs/types.d.ts +1 -1
  381. package/dist/graphs/types.d.ts.map +1 -1
  382. package/dist/graphs/unresolved.js +1 -1
  383. package/dist/graphs/unresolved.js.map +1 -1
  384. package/dist/impact/analyzer.js +4 -4
  385. package/dist/impact/analyzer.js.map +1 -1
  386. package/dist/impact/call-compatibility/text-scanner.d.ts +23 -0
  387. package/dist/impact/call-compatibility/text-scanner.d.ts.map +1 -0
  388. package/dist/impact/call-compatibility/text-scanner.js +615 -0
  389. package/dist/impact/call-compatibility/text-scanner.js.map +1 -0
  390. package/dist/impact/call-compatibility.d.ts +24 -0
  391. package/dist/impact/call-compatibility.d.ts.map +1 -0
  392. package/dist/impact/call-compatibility.js +1023 -0
  393. package/dist/impact/call-compatibility.js.map +1 -0
  394. package/dist/impact/context.js +1 -1
  395. package/dist/impact/context.js.map +1 -1
  396. package/dist/impact/direct.d.ts +1 -1
  397. package/dist/impact/direct.d.ts.map +1 -1
  398. package/dist/impact/index.d.ts +1 -1
  399. package/dist/impact/index.d.ts.map +1 -1
  400. package/dist/impact/index.js +1 -1
  401. package/dist/impact/index.js.map +1 -1
  402. package/dist/impact/map.js +1 -1
  403. package/dist/impact/map.js.map +1 -1
  404. package/dist/impact/member-resolution-coverage.d.ts +14 -0
  405. package/dist/impact/member-resolution-coverage.d.ts.map +1 -0
  406. package/dist/impact/member-resolution-coverage.js +42 -0
  407. package/dist/impact/member-resolution-coverage.js.map +1 -0
  408. package/dist/impact/reference-cache.d.ts +12 -0
  409. package/dist/impact/reference-cache.d.ts.map +1 -0
  410. package/dist/impact/reference-cache.js +101 -0
  411. package/dist/impact/reference-cache.js.map +1 -0
  412. package/dist/impact/report-compact.d.ts +8 -0
  413. package/dist/impact/report-compact.d.ts.map +1 -0
  414. package/dist/impact/report-compact.js +153 -0
  415. package/dist/impact/report-compact.js.map +1 -0
  416. package/dist/impact/report-full.d.ts +10 -0
  417. package/dist/impact/report-full.d.ts.map +1 -0
  418. package/dist/impact/report-full.js +67 -0
  419. package/dist/impact/report-full.js.map +1 -0
  420. package/dist/impact/report-parts.d.ts +51 -0
  421. package/dist/impact/report-parts.d.ts.map +1 -0
  422. package/dist/impact/report-parts.js +2 -0
  423. package/dist/impact/report-parts.js.map +1 -0
  424. package/dist/impact/report-shared.d.ts +76 -0
  425. package/dist/impact/report-shared.d.ts.map +1 -0
  426. package/dist/impact/report-shared.js +130 -0
  427. package/dist/impact/report-shared.js.map +1 -0
  428. package/dist/impact/report-suggestions.js +2 -2
  429. package/dist/impact/report-suggestions.js.map +1 -1
  430. package/dist/impact/report.js +5 -5
  431. package/dist/impact/report.js.map +1 -1
  432. package/dist/impact/streaming.d.ts +1 -1
  433. package/dist/impact/streaming.d.ts.map +1 -1
  434. package/dist/impact/streaming.js +2 -2
  435. package/dist/impact/streaming.js.map +1 -1
  436. package/dist/impact/test-patterns.d.ts +6 -0
  437. package/dist/impact/test-patterns.d.ts.map +1 -0
  438. package/dist/impact/test-patterns.js +65 -0
  439. package/dist/impact/test-patterns.js.map +1 -0
  440. package/dist/impact/transitive.js +1 -1
  441. package/dist/impact/transitive.js.map +1 -1
  442. package/dist/impact/types.d.ts +3 -3
  443. package/dist/impact/types.d.ts.map +1 -1
  444. package/dist/impact/types.js +1 -1
  445. package/dist/impact/types.js.map +1 -1
  446. package/dist/index.d.ts +10 -10
  447. package/dist/index.d.ts.map +1 -1
  448. package/dist/index.js +9 -9
  449. package/dist/index.js.map +1 -1
  450. package/dist/indexer/build-cache/manifest.d.ts +4 -4
  451. package/dist/indexer/build-cache/manifest.d.ts.map +1 -1
  452. package/dist/indexer/build-cache/manifest.js +9 -34
  453. package/dist/indexer/build-cache/manifest.js.map +1 -1
  454. package/dist/indexer/build-cache/module-cache.d.ts +1 -1
  455. package/dist/indexer/build-cache/module-cache.d.ts.map +1 -1
  456. package/dist/indexer/build-cache/module-cache.js +4 -4
  457. package/dist/indexer/build-cache/module-cache.js.map +1 -1
  458. package/dist/indexer/build-cache/options.d.ts +6 -4
  459. package/dist/indexer/build-cache/options.d.ts.map +1 -1
  460. package/dist/indexer/build-cache/options.js +9 -7
  461. package/dist/indexer/build-cache/options.js.map +1 -1
  462. package/dist/indexer/build-cache/project-snapshot.d.ts +1 -1
  463. package/dist/indexer/build-cache/project-snapshot.d.ts.map +1 -1
  464. package/dist/indexer/build-cache/project-snapshot.js +16 -19
  465. package/dist/indexer/build-cache/project-snapshot.js.map +1 -1
  466. package/dist/indexer/build-cache/reports.js +1 -1
  467. package/dist/indexer/build-cache/reports.js.map +1 -1
  468. package/dist/indexer/build-cache/resolver-environment.d.ts +6 -2
  469. package/dist/indexer/build-cache/resolver-environment.d.ts.map +1 -1
  470. package/dist/indexer/build-cache/resolver-environment.js +41 -5
  471. package/dist/indexer/build-cache/resolver-environment.js.map +1 -1
  472. package/dist/indexer/build-index.d.ts.map +1 -1
  473. package/dist/indexer/build-index.js +63 -29
  474. package/dist/indexer/build-index.js.map +1 -1
  475. package/dist/indexer/build-manifest.d.ts +3 -0
  476. package/dist/indexer/build-manifest.d.ts.map +1 -1
  477. package/dist/indexer/build-manifest.js +1 -1
  478. package/dist/indexer/build-manifest.js.map +1 -1
  479. package/dist/indexer/build-workers.d.ts +1 -1
  480. package/dist/indexer/build-workers.d.ts.map +1 -1
  481. package/dist/indexer/build-workers.js +6 -6
  482. package/dist/indexer/build-workers.js.map +1 -1
  483. package/dist/indexer/finalize.d.ts +3 -2
  484. package/dist/indexer/finalize.d.ts.map +1 -1
  485. package/dist/indexer/finalize.js +2 -1
  486. package/dist/indexer/finalize.js.map +1 -1
  487. package/dist/indexer/imports/graph-only.d.ts +13 -0
  488. package/dist/indexer/imports/graph-only.d.ts.map +1 -0
  489. package/dist/indexer/imports/graph-only.js +40 -0
  490. package/dist/indexer/imports/graph-only.js.map +1 -0
  491. package/dist/indexer/imports/js-text-imports.d.ts +9 -0
  492. package/dist/indexer/imports/js-text-imports.d.ts.map +1 -0
  493. package/dist/indexer/imports/js-text-imports.js +181 -0
  494. package/dist/indexer/imports/js-text-imports.js.map +1 -0
  495. package/dist/indexer/imports/language-specific.d.ts +26 -0
  496. package/dist/indexer/imports/language-specific.d.ts.map +1 -0
  497. package/dist/indexer/imports/language-specific.js +449 -0
  498. package/dist/indexer/imports/language-specific.js.map +1 -0
  499. package/dist/indexer/imports/native-captures.d.ts +16 -0
  500. package/dist/indexer/imports/native-captures.d.ts.map +1 -0
  501. package/dist/indexer/imports/native-captures.js +142 -0
  502. package/dist/indexer/imports/native-captures.js.map +1 -0
  503. package/dist/indexer/imports.d.ts +1 -1
  504. package/dist/indexer/imports.d.ts.map +1 -1
  505. package/dist/indexer/imports.js +7 -7
  506. package/dist/indexer/imports.js.map +1 -1
  507. package/dist/indexer/incremental-plan.d.ts +4 -3
  508. package/dist/indexer/incremental-plan.d.ts.map +1 -1
  509. package/dist/indexer/incremental-plan.js +9 -5
  510. package/dist/indexer/incremental-plan.js.map +1 -1
  511. package/dist/indexer/locals-and-exports.d.ts +1 -1
  512. package/dist/indexer/locals-and-exports.d.ts.map +1 -1
  513. package/dist/indexer/locals-and-exports.js +5 -5
  514. package/dist/indexer/locals-and-exports.js.map +1 -1
  515. package/dist/indexer/navigation-goto.js +1 -1
  516. package/dist/indexer/navigation-goto.js.map +1 -1
  517. package/dist/indexer/navigation-local.d.ts +2 -1
  518. package/dist/indexer/navigation-local.d.ts.map +1 -1
  519. package/dist/indexer/navigation-local.js +26 -21
  520. package/dist/indexer/navigation-local.js.map +1 -1
  521. package/dist/indexer/navigation.js +1 -1
  522. package/dist/indexer/navigation.js.map +1 -1
  523. package/dist/indexer/parse-context.d.ts +2 -2
  524. package/dist/indexer/parse-context.d.ts.map +1 -1
  525. package/dist/indexer/parse-context.js +5 -5
  526. package/dist/indexer/parse-context.js.map +1 -1
  527. package/dist/indexer/scope.d.ts +1 -1
  528. package/dist/indexer/scope.d.ts.map +1 -1
  529. package/dist/indexer/scope.js +2 -2
  530. package/dist/indexer/scope.js.map +1 -1
  531. package/dist/indexer/shared.d.ts +1 -1
  532. package/dist/indexer/shared.d.ts.map +1 -1
  533. package/dist/indexer/shared.js +1 -1
  534. package/dist/indexer/shared.js.map +1 -1
  535. package/dist/indexer/symbols.js +1 -1
  536. package/dist/indexer/symbols.js.map +1 -1
  537. package/dist/indexer/types.d.ts +4 -2
  538. package/dist/indexer/types.d.ts.map +1 -1
  539. package/dist/indexer.d.ts +2 -2
  540. package/dist/indexer.d.ts.map +1 -1
  541. package/dist/installer/locks.js +1 -1
  542. package/dist/installer/locks.js.map +1 -1
  543. package/dist/installer/registry.js +1 -1
  544. package/dist/installer/registry.js.map +1 -1
  545. package/dist/languages/definitions/adoc.js +1 -1
  546. package/dist/languages/definitions/adoc.js.map +1 -1
  547. package/dist/languages/definitions/astro.js +1 -1
  548. package/dist/languages/definitions/astro.js.map +1 -1
  549. package/dist/languages/definitions/c-family.d.ts +34 -0
  550. package/dist/languages/definitions/c-family.d.ts.map +1 -0
  551. package/dist/languages/definitions/c-family.js +177 -0
  552. package/dist/languages/definitions/c-family.js.map +1 -0
  553. package/dist/languages/definitions/c.js +1 -1
  554. package/dist/languages/definitions/c.js.map +1 -1
  555. package/dist/languages/definitions/cpp.js +1 -1
  556. package/dist/languages/definitions/cpp.js.map +1 -1
  557. package/dist/languages/definitions/css-like.d.ts +5 -0
  558. package/dist/languages/definitions/css-like.d.ts.map +1 -0
  559. package/dist/languages/definitions/css-like.js +32 -0
  560. package/dist/languages/definitions/css-like.js.map +1 -0
  561. package/dist/languages/definitions/css.js +1 -1
  562. package/dist/languages/definitions/css.js.map +1 -1
  563. package/dist/languages/definitions/hbs.js +1 -1
  564. package/dist/languages/definitions/hbs.js.map +1 -1
  565. package/dist/languages/definitions/html-stub.d.ts +18 -0
  566. package/dist/languages/definitions/html-stub.d.ts.map +1 -0
  567. package/dist/languages/definitions/html-stub.js +36 -0
  568. package/dist/languages/definitions/html-stub.js.map +1 -0
  569. package/dist/languages/definitions/javascript.js +1 -1
  570. package/dist/languages/definitions/javascript.js.map +1 -1
  571. package/dist/languages/definitions/js-family.d.ts +5 -0
  572. package/dist/languages/definitions/js-family.d.ts.map +1 -0
  573. package/dist/languages/definitions/js-family.js +75 -0
  574. package/dist/languages/definitions/js-family.js.map +1 -0
  575. package/dist/languages/definitions/less.js +1 -1
  576. package/dist/languages/definitions/less.js.map +1 -1
  577. package/dist/languages/definitions/markdown.js +1 -1
  578. package/dist/languages/definitions/markdown.js.map +1 -1
  579. package/dist/languages/definitions/mdx.js +1 -1
  580. package/dist/languages/definitions/mdx.js.map +1 -1
  581. package/dist/languages/definitions/rst.js +1 -1
  582. package/dist/languages/definitions/rst.js.map +1 -1
  583. package/dist/languages/definitions/typescript.js +1 -1
  584. package/dist/languages/definitions/typescript.js.map +1 -1
  585. package/dist/languages/file-prep.d.ts +36 -0
  586. package/dist/languages/file-prep.d.ts.map +1 -0
  587. package/dist/languages/file-prep.js +76 -0
  588. package/dist/languages/file-prep.js.map +1 -0
  589. package/dist/languages/import-statement-parsers.d.ts +57 -0
  590. package/dist/languages/import-statement-parsers.d.ts.map +1 -0
  591. package/dist/languages/import-statement-parsers.js +383 -0
  592. package/dist/languages/import-statement-parsers.js.map +1 -0
  593. package/dist/languages/query-generator.d.ts +6 -0
  594. package/dist/languages/query-generator.d.ts.map +1 -0
  595. package/dist/languages/query-generator.js +46 -0
  596. package/dist/languages/query-generator.js.map +1 -0
  597. package/dist/lifecycle/manifest.d.ts +1 -1
  598. package/dist/lifecycle/manifest.d.ts.map +1 -1
  599. package/dist/lifecycle/manifest.js +6 -4
  600. package/dist/lifecycle/manifest.js.map +1 -1
  601. package/dist/mcp/handlers.d.ts +7 -7
  602. package/dist/mcp/handlers.d.ts.map +1 -1
  603. package/dist/mcp/handlers.js +12 -15
  604. package/dist/mcp/handlers.js.map +1 -1
  605. package/dist/mcp/http-transport.d.ts +14 -0
  606. package/dist/mcp/http-transport.d.ts.map +1 -0
  607. package/dist/mcp/http-transport.js +185 -0
  608. package/dist/mcp/http-transport.js.map +1 -0
  609. package/dist/mcp/legacy-sessions.d.ts +38 -0
  610. package/dist/mcp/legacy-sessions.d.ts.map +1 -0
  611. package/dist/mcp/legacy-sessions.js +264 -0
  612. package/dist/mcp/legacy-sessions.js.map +1 -0
  613. package/dist/mcp/lifecycle-health.d.ts +12 -0
  614. package/dist/mcp/lifecycle-health.d.ts.map +1 -0
  615. package/dist/mcp/lifecycle-health.js +37 -0
  616. package/dist/mcp/lifecycle-health.js.map +1 -0
  617. package/dist/mcp/protocol.d.ts +1 -1
  618. package/dist/mcp/protocol.d.ts.map +1 -1
  619. package/dist/mcp/protocol.js +3 -3
  620. package/dist/mcp/protocol.js.map +1 -1
  621. package/dist/mcp/security.js +1 -1
  622. package/dist/mcp/security.js.map +1 -1
  623. package/dist/mcp/server.d.ts +4 -4
  624. package/dist/mcp/server.d.ts.map +1 -1
  625. package/dist/mcp/server.js +6 -6
  626. package/dist/mcp/server.js.map +1 -1
  627. package/dist/mcp/sqlite-guard.d.ts +3 -0
  628. package/dist/mcp/sqlite-guard.d.ts.map +1 -0
  629. package/dist/mcp/sqlite-guard.js +35 -0
  630. package/dist/mcp/sqlite-guard.js.map +1 -0
  631. package/dist/mcp/stdio-lifecycle.d.ts +23 -0
  632. package/dist/mcp/stdio-lifecycle.d.ts.map +1 -0
  633. package/dist/mcp/stdio-lifecycle.js +83 -0
  634. package/dist/mcp/stdio-lifecycle.js.map +1 -0
  635. package/dist/mcp/tools.js +2 -2
  636. package/dist/mcp/tools.js.map +1 -1
  637. package/dist/native/binding-loader.d.ts +51 -0
  638. package/dist/native/binding-loader.d.ts.map +1 -0
  639. package/dist/native/binding-loader.js +223 -0
  640. package/dist/native/binding-loader.js.map +1 -0
  641. package/dist/native/byte-index.d.ts +26 -0
  642. package/dist/native/byte-index.d.ts.map +1 -0
  643. package/dist/native/byte-index.js +70 -0
  644. package/dist/native/byte-index.js.map +1 -0
  645. package/dist/native/execution.js +1 -1
  646. package/dist/native/execution.js.map +1 -1
  647. package/dist/native/js-bridge.d.ts +7 -0
  648. package/dist/native/js-bridge.d.ts.map +1 -0
  649. package/dist/native/js-bridge.js +20 -0
  650. package/dist/native/js-bridge.js.map +1 -0
  651. package/dist/native/native-backend-report.d.ts +22 -0
  652. package/dist/native/native-backend-report.d.ts.map +1 -0
  653. package/dist/native/native-backend-report.js +102 -0
  654. package/dist/native/native-backend-report.js.map +1 -0
  655. package/dist/native/projected-tree.d.ts +53 -0
  656. package/dist/native/projected-tree.d.ts.map +1 -0
  657. package/dist/native/projected-tree.js +180 -0
  658. package/dist/native/projected-tree.js.map +1 -0
  659. package/dist/native/query-results.d.ts +12 -0
  660. package/dist/native/query-results.d.ts.map +1 -0
  661. package/dist/native/query-results.js +34 -0
  662. package/dist/native/query-results.js.map +1 -0
  663. package/dist/native/runtime-cache.d.ts +128 -0
  664. package/dist/native/runtime-cache.d.ts.map +1 -0
  665. package/dist/native/runtime-cache.js +667 -0
  666. package/dist/native/runtime-cache.js.map +1 -0
  667. package/dist/native/runtime.js +3 -3
  668. package/dist/native/runtime.js.map +1 -1
  669. package/dist/native/tree-shape.d.ts +21 -0
  670. package/dist/native/tree-shape.d.ts.map +1 -0
  671. package/dist/native/tree-shape.js +28 -0
  672. package/dist/native/tree-shape.js.map +1 -0
  673. package/dist/native/tree-sitter-native.d.ts +6 -0
  674. package/dist/native/tree-sitter-native.d.ts.map +1 -0
  675. package/dist/native/tree-sitter-native.js +5 -0
  676. package/dist/native/tree-sitter-native.js.map +1 -0
  677. package/dist/review/deleted.js +2 -2
  678. package/dist/review/deleted.js.map +1 -1
  679. package/dist/review/report.d.ts +3 -3
  680. package/dist/review/report.d.ts.map +1 -1
  681. package/dist/review/report.js +2 -2
  682. package/dist/review/report.js.map +1 -1
  683. package/dist/review/summaries.js +3 -3
  684. package/dist/review/summaries.js.map +1 -1
  685. package/dist/review/types.d.ts +3 -3
  686. package/dist/review/types.d.ts.map +1 -1
  687. package/dist/review.js +3 -3
  688. package/dist/review.js.map +1 -1
  689. package/dist/runtime-identity.d.ts +27 -0
  690. package/dist/runtime-identity.d.ts.map +1 -0
  691. package/dist/runtime-identity.js +75 -0
  692. package/dist/runtime-identity.js.map +1 -0
  693. package/dist/session.js +1 -1
  694. package/dist/session.js.map +1 -1
  695. package/dist/sql/classify-sql-file.d.ts +3 -0
  696. package/dist/sql/classify-sql-file.d.ts.map +1 -0
  697. package/dist/sql/classify-sql-file.js +42 -0
  698. package/dist/sql/classify-sql-file.js.map +1 -0
  699. package/dist/sql/extract-facts.d.ts +4 -0
  700. package/dist/sql/extract-facts.d.ts.map +1 -0
  701. package/dist/sql/extract-facts.js +511 -0
  702. package/dist/sql/extract-facts.js.map +1 -0
  703. package/dist/sql/graph.js +1 -1
  704. package/dist/sql/graph.js.map +1 -1
  705. package/dist/sql/index.d.ts +2 -2
  706. package/dist/sql/index.d.ts.map +1 -1
  707. package/dist/sql/index.js +2 -2
  708. package/dist/sql/index.js.map +1 -1
  709. package/dist/sql/navigation.js +1 -1
  710. package/dist/sql/navigation.js.map +1 -1
  711. package/dist/sql/review.js +2 -2
  712. package/dist/sql/review.js.map +1 -1
  713. package/dist/sql/source-graph.d.ts +19 -0
  714. package/dist/sql/source-graph.d.ts.map +1 -0
  715. package/dist/sql/source-graph.js +195 -0
  716. package/dist/sql/source-graph.js.map +1 -0
  717. package/dist/sqlite/query.d.ts +2 -2
  718. package/dist/sqlite/query.d.ts.map +1 -1
  719. package/dist/sqlite/query.js +3 -3
  720. package/dist/sqlite/query.js.map +1 -1
  721. package/dist/sqlite/raw-query-worker-pool.d.ts +66 -0
  722. package/dist/sqlite/raw-query-worker-pool.d.ts.map +1 -0
  723. package/dist/sqlite/raw-query-worker-pool.js +146 -0
  724. package/dist/sqlite/raw-query-worker-pool.js.map +1 -0
  725. package/dist/sqlite/raw-query-worker.d.ts +22 -0
  726. package/dist/sqlite/raw-query-worker.d.ts.map +1 -0
  727. package/dist/sqlite/raw-query-worker.js +31 -0
  728. package/dist/sqlite/raw-query-worker.js.map +1 -0
  729. package/dist/sqlite/row-bounds.d.ts +24 -0
  730. package/dist/sqlite/row-bounds.d.ts.map +1 -0
  731. package/dist/sqlite/row-bounds.js +95 -0
  732. package/dist/sqlite/row-bounds.js.map +1 -0
  733. package/dist/sqlite-driver.js +1 -1
  734. package/dist/sqlite-driver.js.map +1 -1
  735. package/dist/util/bloom-filter.d.ts +100 -0
  736. package/dist/util/bloom-filter.d.ts.map +1 -0
  737. package/dist/util/bloom-filter.js +206 -0
  738. package/dist/util/bloom-filter.js.map +1 -0
  739. package/dist/util/confined-file.d.ts +48 -0
  740. package/dist/util/confined-file.d.ts.map +1 -0
  741. package/dist/util/confined-file.js +164 -0
  742. package/dist/util/confined-file.js.map +1 -0
  743. package/dist/util/discovery-path.d.ts +3 -0
  744. package/dist/util/discovery-path.d.ts.map +1 -0
  745. package/dist/util/discovery-path.js +19 -0
  746. package/dist/util/discovery-path.js.map +1 -0
  747. package/dist/util/git.d.ts +13 -10
  748. package/dist/util/git.d.ts.map +1 -1
  749. package/dist/util/git.js +29 -25
  750. package/dist/util/git.js.map +1 -1
  751. package/dist/util/graph-edges.d.ts +5 -0
  752. package/dist/util/graph-edges.d.ts.map +1 -0
  753. package/dist/util/graph-edges.js +42 -0
  754. package/dist/util/graph-edges.js.map +1 -0
  755. package/dist/util/graph-only-extensions.d.ts +5 -0
  756. package/dist/util/graph-only-extensions.d.ts.map +1 -0
  757. package/dist/util/graph-only-extensions.js +12 -0
  758. package/dist/util/graph-only-extensions.js.map +1 -0
  759. package/dist/util/include-roots.d.ts +6 -0
  760. package/dist/util/include-roots.d.ts.map +1 -0
  761. package/dist/util/include-roots.js +53 -0
  762. package/dist/util/include-roots.js.map +1 -0
  763. package/dist/util/lazy-symbols.d.ts +166 -0
  764. package/dist/util/lazy-symbols.d.ts.map +1 -0
  765. package/dist/util/lazy-symbols.js +365 -0
  766. package/dist/util/lazy-symbols.js.map +1 -0
  767. package/dist/util/lru-map.d.ts +3 -0
  768. package/dist/util/lru-map.d.ts.map +1 -0
  769. package/dist/util/lru-map.js +22 -0
  770. package/dist/util/lru-map.js.map +1 -0
  771. package/dist/util/member-access.d.ts +26 -0
  772. package/dist/util/member-access.d.ts.map +1 -0
  773. package/dist/util/member-access.js +185 -0
  774. package/dist/util/member-access.js.map +1 -0
  775. package/dist/util/package-exports.d.ts +25 -0
  776. package/dist/util/package-exports.d.ts.map +1 -0
  777. package/dist/util/package-exports.js +79 -0
  778. package/dist/util/package-exports.js.map +1 -0
  779. package/dist/util/package-info.d.ts +12 -0
  780. package/dist/util/package-info.d.ts.map +1 -0
  781. package/dist/util/package-info.js +57 -0
  782. package/dist/util/package-info.js.map +1 -0
  783. package/dist/util/partial-results.d.ts +81 -0
  784. package/dist/util/partial-results.d.ts.map +1 -0
  785. package/dist/util/partial-results.js +290 -0
  786. package/dist/util/partial-results.js.map +1 -0
  787. package/dist/util/project-files/definitions.d.ts +40 -0
  788. package/dist/util/project-files/definitions.d.ts.map +1 -0
  789. package/dist/util/project-files/definitions.js.map +1 -0
  790. package/dist/util/project-files/parsers.d.ts.map +1 -0
  791. package/dist/util/project-files/parsers.js.map +1 -0
  792. package/dist/util/project-files.d.ts +153 -0
  793. package/dist/util/project-files.d.ts.map +1 -0
  794. package/dist/util/project-files.js +1460 -0
  795. package/dist/util/project-files.js.map +1 -0
  796. package/dist/util/resolution/find-first-existing.d.ts +2 -0
  797. package/dist/util/resolution/find-first-existing.d.ts.map +1 -0
  798. package/dist/util/resolution/find-first-existing.js +13 -0
  799. package/dist/util/resolution/find-first-existing.js.map +1 -0
  800. package/dist/util/resolution/jvm.js +1 -1
  801. package/dist/util/resolution/jvm.js.map +1 -1
  802. package/dist/util/resolution/node.d.ts +1 -1
  803. package/dist/util/resolution/node.d.ts.map +1 -1
  804. package/dist/util/resolution/node.js +2 -2
  805. package/dist/util/resolution/node.js.map +1 -1
  806. package/dist/util/resolution/php-composer.d.ts +17 -0
  807. package/dist/util/resolution/php-composer.d.ts.map +1 -0
  808. package/dist/util/resolution/php-composer.js +269 -0
  809. package/dist/util/resolution/php-composer.js.map +1 -0
  810. package/dist/util/resolution/php.d.ts +1 -1
  811. package/dist/util/resolution/php.d.ts.map +1 -1
  812. package/dist/util/resolution/php.js +4 -4
  813. package/dist/util/resolution/php.js.map +1 -1
  814. package/dist/util/resolution/project-symbols.d.ts +14 -0
  815. package/dist/util/resolution/project-symbols.d.ts.map +1 -0
  816. package/dist/util/resolution/project-symbols.js +70 -0
  817. package/dist/util/resolution/project-symbols.js.map +1 -0
  818. package/dist/util/resolution/tsconfig.d.ts +7 -0
  819. package/dist/util/resolution/tsconfig.d.ts.map +1 -1
  820. package/dist/util/resolution/tsconfig.js +23 -8
  821. package/dist/util/resolution/tsconfig.js.map +1 -1
  822. package/dist/util/resolution-candidates.d.ts +5 -0
  823. package/dist/util/resolution-candidates.d.ts.map +1 -0
  824. package/dist/util/resolution-candidates.js +70 -0
  825. package/dist/util/resolution-candidates.js.map +1 -0
  826. package/dist/util/resolution.d.ts +2 -2
  827. package/dist/util/resolution.d.ts.map +1 -1
  828. package/dist/util/resolution.js +6 -6
  829. package/dist/util/resolution.js.map +1 -1
  830. package/dist/util/rust-test-modules.d.ts +3 -0
  831. package/dist/util/rust-test-modules.d.ts.map +1 -0
  832. package/dist/util/rust-test-modules.js +71 -0
  833. package/dist/util/rust-test-modules.js.map +1 -0
  834. package/dist/util/source-location.d.ts +8 -0
  835. package/dist/util/source-location.d.ts.map +1 -0
  836. package/dist/util/source-location.js +19 -0
  837. package/dist/util/source-location.js.map +1 -0
  838. package/dist/util/sqlite-schema.d.ts +28 -0
  839. package/dist/util/sqlite-schema.d.ts.map +1 -0
  840. package/dist/util/sqlite-schema.js +75 -0
  841. package/dist/util/sqlite-schema.js.map +1 -0
  842. package/dist/util/symbol-hash.d.ts +59 -0
  843. package/dist/util/symbol-hash.d.ts.map +1 -0
  844. package/dist/util/symbol-hash.js +84 -0
  845. package/dist/util/symbol-hash.js.map +1 -0
  846. package/dist/util/windows-process-drain.d.ts +23 -0
  847. package/dist/util/windows-process-drain.d.ts.map +1 -0
  848. package/dist/util/windows-process-drain.js +51 -0
  849. package/dist/util/windows-process-drain.js.map +1 -0
  850. package/dist/util/worker-threads.d.ts +12 -0
  851. package/dist/util/worker-threads.d.ts.map +1 -0
  852. package/dist/util/worker-threads.js +19 -0
  853. package/dist/util/worker-threads.js.map +1 -0
  854. package/dist/util/workspace.d.ts +1 -1
  855. package/dist/util/workspace.d.ts.map +1 -1
  856. package/dist/util/workspace.js +2 -2
  857. package/dist/util/workspace.js.map +1 -1
  858. package/dist/util.d.ts +2 -2
  859. package/dist/util.d.ts.map +1 -1
  860. package/dist/util.js +1 -1
  861. package/dist/util.js.map +1 -1
  862. package/dist/worker/native-extract-worker.d.ts +77 -0
  863. package/dist/worker/native-extract-worker.d.ts.map +1 -0
  864. package/dist/worker/native-extract-worker.js +272 -0
  865. package/dist/worker/native-extract-worker.js.map +1 -0
  866. package/dist/worker/native-worker-pool.d.ts +16 -0
  867. package/dist/worker/native-worker-pool.d.ts.map +1 -0
  868. package/dist/worker/native-worker-pool.js +54 -0
  869. package/dist/worker/native-worker-pool.js.map +1 -0
  870. package/docs/mcp.md +2 -2
  871. package/package.json +4 -4
  872. package/dist/agent/callHierarchy.d.ts +0 -28
  873. package/dist/agent/callHierarchy.d.ts.map +0 -1
  874. package/dist/agent/callHierarchy.js +0 -82
  875. package/dist/agent/callHierarchy.js.map +0 -1
  876. package/dist/agent/candidateTests.d.ts +0 -12
  877. package/dist/agent/candidateTests.d.ts.map +0 -1
  878. package/dist/agent/candidateTests.js +0 -17
  879. package/dist/agent/candidateTests.js.map +0 -1
  880. package/dist/agent/fileView.d.ts +0 -55
  881. package/dist/agent/fileView.d.ts.map +0 -1
  882. package/dist/agent/fileView.js +0 -521
  883. package/dist/agent/fileView.js.map +0 -1
  884. package/dist/agent/followUps.d.ts +0 -10
  885. package/dist/agent/followUps.d.ts.map +0 -1
  886. package/dist/agent/followUps.js +0 -175
  887. package/dist/agent/followUps.js.map +0 -1
  888. package/dist/agent/query-index/queryIndexWorker.d.ts +0 -8
  889. package/dist/agent/query-index/queryIndexWorker.d.ts.map +0 -1
  890. package/dist/agent/query-index/queryIndexWorker.js +0 -11
  891. package/dist/agent/query-index/queryIndexWorker.js.map +0 -1
  892. package/dist/agent/query-index/sessionStore.d.ts +0 -5
  893. package/dist/agent/query-index/sessionStore.d.ts.map +0 -1
  894. package/dist/agent/query-index/sessionStore.js +0 -69
  895. package/dist/agent/query-index/sessionStore.js.map +0 -1
  896. package/dist/agent/query-index/sourceIdentity.d.ts +0 -3
  897. package/dist/agent/query-index/sourceIdentity.d.ts.map +0 -1
  898. package/dist/agent/query-index/sourceIdentity.js +0 -12
  899. package/dist/agent/query-index/sourceIdentity.js.map +0 -1
  900. package/dist/agent/query-index/workerPool.d.ts +0 -27
  901. package/dist/agent/query-index/workerPool.d.ts.map +0 -1
  902. package/dist/agent/query-index/workerPool.js +0 -114
  903. package/dist/agent/query-index/workerPool.js.map +0 -1
  904. package/dist/agent/refactorPlan.d.ts +0 -40
  905. package/dist/agent/refactorPlan.d.ts.map +0 -1
  906. package/dist/agent/refactorPlan.js +0 -226
  907. package/dist/agent/refactorPlan.js.map +0 -1
  908. package/dist/agent/renamePreview.d.ts +0 -57
  909. package/dist/agent/renamePreview.d.ts.map +0 -1
  910. package/dist/agent/renamePreview.js +0 -1062
  911. package/dist/agent/renamePreview.js.map +0 -1
  912. package/dist/agent/semanticSymbols.d.ts +0 -16
  913. package/dist/agent/semanticSymbols.d.ts.map +0 -1
  914. package/dist/agent/semanticSymbols.js +0 -97
  915. package/dist/agent/semanticSymbols.js.map +0 -1
  916. package/dist/agent/sessionLifecycle.d.ts +0 -5
  917. package/dist/agent/sessionLifecycle.d.ts.map +0 -1
  918. package/dist/agent/sessionLifecycle.js +0 -18
  919. package/dist/agent/sessionLifecycle.js.map +0 -1
  920. package/dist/agent/symbolLookup.d.ts +0 -12
  921. package/dist/agent/symbolLookup.d.ts.map +0 -1
  922. package/dist/agent/symbolLookup.js +0 -26
  923. package/dist/agent/symbolLookup.js.map +0 -1
  924. package/dist/agent/typeHierarchy.d.ts +0 -39
  925. package/dist/agent/typeHierarchy.d.ts.map +0 -1
  926. package/dist/agent/typeHierarchy.js +0 -125
  927. package/dist/agent/typeHierarchy.js.map +0 -1
  928. package/dist/agent/workspaceSymbols.d.ts +0 -18
  929. package/dist/agent/workspaceSymbols.d.ts.map +0 -1
  930. package/dist/agent/workspaceSymbols.js +0 -75
  931. package/dist/agent/workspaceSymbols.js.map +0 -1
  932. package/dist/analysisSummary.d.ts +0 -19
  933. package/dist/analysisSummary.d.ts.map +0 -1
  934. package/dist/analysisSummary.js +0 -80
  935. package/dist/analysisSummary.js.map +0 -1
  936. package/dist/bin/queryIndexWorker.js +0 -4382
  937. package/dist/bin/rawQueryWorker.js +0 -383
  938. package/dist/bootstrap/treeSitterLanguages.d.ts +0 -5
  939. package/dist/bootstrap/treeSitterLanguages.d.ts.map +0 -1
  940. package/dist/bootstrap/treeSitterLanguages.js +0 -41
  941. package/dist/bootstrap/treeSitterLanguages.js.map +0 -1
  942. package/dist/chunking/chunkBlocks.d.ts +0 -9
  943. package/dist/chunking/chunkBlocks.d.ts.map +0 -1
  944. package/dist/chunking/chunkBlocks.js +0 -60
  945. package/dist/chunking/chunkBlocks.js.map +0 -1
  946. package/dist/chunking/chunkFile.d.ts +0 -39
  947. package/dist/chunking/chunkFile.d.ts.map +0 -1
  948. package/dist/chunking/chunkFile.js +0 -152
  949. package/dist/chunking/chunkFile.js.map +0 -1
  950. package/dist/chunking/chunkId.d.ts +0 -7
  951. package/dist/chunking/chunkId.d.ts.map +0 -1
  952. package/dist/chunking/chunkId.js +0 -30
  953. package/dist/chunking/chunkId.js.map +0 -1
  954. package/dist/chunking/chunkMatches.d.ts +0 -4
  955. package/dist/chunking/chunkMatches.d.ts.map +0 -1
  956. package/dist/chunking/chunkMatches.js +0 -65
  957. package/dist/chunking/chunkMatches.js.map +0 -1
  958. package/dist/chunking/chunkMerge.d.ts +0 -4
  959. package/dist/chunking/chunkMerge.d.ts.map +0 -1
  960. package/dist/chunking/chunkMerge.js +0 -144
  961. package/dist/chunking/chunkMerge.js.map +0 -1
  962. package/dist/chunking/chunkSFC.d.ts +0 -18
  963. package/dist/chunking/chunkSFC.d.ts.map +0 -1
  964. package/dist/chunking/chunkSFC.js +0 -165
  965. package/dist/chunking/chunkSFC.js.map +0 -1
  966. package/dist/chunking/chunkSplit.d.ts +0 -6
  967. package/dist/chunking/chunkSplit.d.ts.map +0 -1
  968. package/dist/chunking/chunkSplit.js +0 -155
  969. package/dist/chunking/chunkSplit.js.map +0 -1
  970. package/dist/chunking/chunkTextFile.d.ts +0 -28
  971. package/dist/chunking/chunkTextFile.d.ts.map +0 -1
  972. package/dist/chunking/chunkTextFile.js +0 -107
  973. package/dist/chunking/chunkTextFile.js.map +0 -1
  974. package/dist/chunking/languageConfig.d.ts +0 -35
  975. package/dist/chunking/languageConfig.d.ts.map +0 -1
  976. package/dist/chunking/languageConfig.js +0 -24
  977. package/dist/chunking/languageConfig.js.map +0 -1
  978. package/dist/cli/callHierarchy.d.ts +0 -6
  979. package/dist/cli/callHierarchy.d.ts.map +0 -1
  980. package/dist/cli/callHierarchy.js +0 -72
  981. package/dist/cli/callHierarchy.js.map +0 -1
  982. package/dist/cli/commandCatalog.d.ts +0 -14
  983. package/dist/cli/commandCatalog.d.ts.map +0 -1
  984. package/dist/cli/commandCatalog.js +0 -118
  985. package/dist/cli/commandCatalog.js.map +0 -1
  986. package/dist/cli/commandTable.d.ts +0 -16
  987. package/dist/cli/commandTable.d.ts.map +0 -1
  988. package/dist/cli/commandTable.js +0 -758
  989. package/dist/cli/commandTable.js.map +0 -1
  990. package/dist/cli/compileCache.d.ts +0 -22
  991. package/dist/cli/compileCache.d.ts.map +0 -1
  992. package/dist/cli/compileCache.js +0 -81
  993. package/dist/cli/compileCache.js.map +0 -1
  994. package/dist/cli/discoveryGlobs.d.ts +0 -11
  995. package/dist/cli/discoveryGlobs.d.ts.map +0 -1
  996. package/dist/cli/discoveryGlobs.js +0 -74
  997. package/dist/cli/discoveryGlobs.js.map +0 -1
  998. package/dist/cli/duplicateSimilarity.d.ts +0 -10
  999. package/dist/cli/duplicateSimilarity.d.ts.map +0 -1
  1000. package/dist/cli/duplicateSimilarity.js +0 -20
  1001. package/dist/cli/duplicateSimilarity.js.map +0 -1
  1002. package/dist/cli/graphDelta.d.ts +0 -25
  1003. package/dist/cli/graphDelta.d.ts.map +0 -1
  1004. package/dist/cli/graphDelta.js +0 -80
  1005. package/dist/cli/graphDelta.js.map +0 -1
  1006. package/dist/cli/graphQueries.d.ts +0 -23
  1007. package/dist/cli/graphQueries.d.ts.map +0 -1
  1008. package/dist/cli/graphQueries.js +0 -265
  1009. package/dist/cli/graphQueries.js.map +0 -1
  1010. package/dist/cli/indexPolicy.d.ts +0 -36
  1011. package/dist/cli/indexPolicy.d.ts.map +0 -1
  1012. package/dist/cli/indexPolicy.js +0 -169
  1013. package/dist/cli/indexPolicy.js.map +0 -1
  1014. package/dist/cli/invocationContext.d.ts +0 -77
  1015. package/dist/cli/invocationContext.d.ts.map +0 -1
  1016. package/dist/cli/invocationContext.js +0 -423
  1017. package/dist/cli/invocationContext.js.map +0 -1
  1018. package/dist/cli/projectFile.d.ts +0 -13
  1019. package/dist/cli/projectFile.d.ts.map +0 -1
  1020. package/dist/cli/projectFile.js +0 -23
  1021. package/dist/cli/projectFile.js.map +0 -1
  1022. package/dist/cli/refactorPlan.d.ts +0 -6
  1023. package/dist/cli/refactorPlan.d.ts.map +0 -1
  1024. package/dist/cli/refactorPlan.js +0 -84
  1025. package/dist/cli/refactorPlan.js.map +0 -1
  1026. package/dist/cli/renamePreview.d.ts +0 -4
  1027. package/dist/cli/renamePreview.d.ts.map +0 -1
  1028. package/dist/cli/renamePreview.js +0 -92
  1029. package/dist/cli/renamePreview.js.map +0 -1
  1030. package/dist/cli/rootPolicy.d.ts +0 -53
  1031. package/dist/cli/rootPolicy.d.ts.map +0 -1
  1032. package/dist/cli/rootPolicy.js +0 -221
  1033. package/dist/cli/rootPolicy.js.map +0 -1
  1034. package/dist/cli/typeHierarchy.d.ts +0 -6
  1035. package/dist/cli/typeHierarchy.d.ts.map +0 -1
  1036. package/dist/cli/typeHierarchy.js +0 -90
  1037. package/dist/cli/typeHierarchy.js.map +0 -1
  1038. package/dist/cliBootstrap.d.ts +0 -3
  1039. package/dist/cliBootstrap.d.ts.map +0 -1
  1040. package/dist/cliBootstrap.js +0 -10
  1041. package/dist/cliBootstrap.js.map +0 -1
  1042. package/dist/documentLinks/asciidoc.d.ts.map +0 -1
  1043. package/dist/documentLinks/asciidoc.js.map +0 -1
  1044. package/dist/documentLinks/check.d.ts +0 -32
  1045. package/dist/documentLinks/check.d.ts.map +0 -1
  1046. package/dist/documentLinks/check.js +0 -286
  1047. package/dist/documentLinks/check.js.map +0 -1
  1048. package/dist/documentLinks/html.d.ts.map +0 -1
  1049. package/dist/documentLinks/html.js.map +0 -1
  1050. package/dist/documentLinks/markdown.d.ts.map +0 -1
  1051. package/dist/documentLinks/markdown.js.map +0 -1
  1052. package/dist/documentLinks/rst.d.ts.map +0 -1
  1053. package/dist/documentLinks/rst.js.map +0 -1
  1054. package/dist/documentLinks/sfc.d.ts.map +0 -1
  1055. package/dist/documentLinks/sfc.js.map +0 -1
  1056. package/dist/documentLinks/shared.d.ts.map +0 -1
  1057. package/dist/documentLinks/shared.js.map +0 -1
  1058. package/dist/documentLinks.d.ts +0 -12
  1059. package/dist/documentLinks.d.ts.map +0 -1
  1060. package/dist/documentLinks.js +0 -49
  1061. package/dist/documentLinks.js.map +0 -1
  1062. package/dist/duplicates/unitCache.d.ts +0 -46
  1063. package/dist/duplicates/unitCache.d.ts.map +0 -1
  1064. package/dist/duplicates/unitCache.js +0 -512
  1065. package/dist/duplicates/unitCache.js.map +0 -1
  1066. package/dist/duplicatesLeads.d.ts +0 -39
  1067. package/dist/duplicatesLeads.d.ts.map +0 -1
  1068. package/dist/duplicatesLeads.js +0 -112
  1069. package/dist/duplicatesLeads.js.map +0 -1
  1070. package/dist/graphs/edgeResolution.d.ts +0 -25
  1071. package/dist/graphs/edgeResolution.d.ts.map +0 -1
  1072. package/dist/graphs/edgeResolution.js +0 -97
  1073. package/dist/graphs/edgeResolution.js.map +0 -1
  1074. package/dist/graphs/symbol-graph-detailed/edgePasses.d.ts +0 -35
  1075. package/dist/graphs/symbol-graph-detailed/edgePasses.d.ts.map +0 -1
  1076. package/dist/graphs/symbol-graph-detailed/edgePasses.js +0 -586
  1077. package/dist/graphs/symbol-graph-detailed/edgePasses.js.map +0 -1
  1078. package/dist/graphs/symbol-graph-detailed/importAliases.d.ts +0 -10
  1079. package/dist/graphs/symbol-graph-detailed/importAliases.d.ts.map +0 -1
  1080. package/dist/graphs/symbol-graph-detailed/importAliases.js +0 -44
  1081. package/dist/graphs/symbol-graph-detailed/importAliases.js.map +0 -1
  1082. package/dist/graphs/symbol-graph-detailed/memberChains.d.ts +0 -17
  1083. package/dist/graphs/symbol-graph-detailed/memberChains.d.ts.map +0 -1
  1084. package/dist/graphs/symbol-graph-detailed/memberChains.js +0 -30
  1085. package/dist/graphs/symbol-graph-detailed/memberChains.js.map +0 -1
  1086. package/dist/graphs/symbol-graph-detailed/receiverCalls.d.ts +0 -69
  1087. package/dist/graphs/symbol-graph-detailed/receiverCalls.d.ts.map +0 -1
  1088. package/dist/graphs/symbol-graph-detailed/receiverCalls.js +0 -408
  1089. package/dist/graphs/symbol-graph-detailed/receiverCalls.js.map +0 -1
  1090. package/dist/impact/call-compatibility/textScanner.d.ts +0 -23
  1091. package/dist/impact/call-compatibility/textScanner.d.ts.map +0 -1
  1092. package/dist/impact/call-compatibility/textScanner.js +0 -615
  1093. package/dist/impact/call-compatibility/textScanner.js.map +0 -1
  1094. package/dist/impact/callCompatibility.d.ts +0 -24
  1095. package/dist/impact/callCompatibility.d.ts.map +0 -1
  1096. package/dist/impact/callCompatibility.js +0 -1023
  1097. package/dist/impact/callCompatibility.js.map +0 -1
  1098. package/dist/impact/memberResolutionCoverage.d.ts +0 -14
  1099. package/dist/impact/memberResolutionCoverage.d.ts.map +0 -1
  1100. package/dist/impact/memberResolutionCoverage.js +0 -42
  1101. package/dist/impact/memberResolutionCoverage.js.map +0 -1
  1102. package/dist/impact/referenceCache.d.ts +0 -12
  1103. package/dist/impact/referenceCache.d.ts.map +0 -1
  1104. package/dist/impact/referenceCache.js +0 -101
  1105. package/dist/impact/referenceCache.js.map +0 -1
  1106. package/dist/impact/reportCompact.d.ts +0 -8
  1107. package/dist/impact/reportCompact.d.ts.map +0 -1
  1108. package/dist/impact/reportCompact.js +0 -153
  1109. package/dist/impact/reportCompact.js.map +0 -1
  1110. package/dist/impact/reportFull.d.ts +0 -10
  1111. package/dist/impact/reportFull.d.ts.map +0 -1
  1112. package/dist/impact/reportFull.js +0 -67
  1113. package/dist/impact/reportFull.js.map +0 -1
  1114. package/dist/impact/reportParts.d.ts +0 -51
  1115. package/dist/impact/reportParts.d.ts.map +0 -1
  1116. package/dist/impact/reportParts.js +0 -2
  1117. package/dist/impact/reportParts.js.map +0 -1
  1118. package/dist/impact/reportShared.d.ts +0 -76
  1119. package/dist/impact/reportShared.d.ts.map +0 -1
  1120. package/dist/impact/reportShared.js +0 -130
  1121. package/dist/impact/reportShared.js.map +0 -1
  1122. package/dist/impact/testPatterns.d.ts +0 -6
  1123. package/dist/impact/testPatterns.d.ts.map +0 -1
  1124. package/dist/impact/testPatterns.js +0 -65
  1125. package/dist/impact/testPatterns.js.map +0 -1
  1126. package/dist/indexer/imports/graphOnly.d.ts +0 -13
  1127. package/dist/indexer/imports/graphOnly.d.ts.map +0 -1
  1128. package/dist/indexer/imports/graphOnly.js +0 -40
  1129. package/dist/indexer/imports/graphOnly.js.map +0 -1
  1130. package/dist/indexer/imports/jsTextImports.d.ts +0 -9
  1131. package/dist/indexer/imports/jsTextImports.d.ts.map +0 -1
  1132. package/dist/indexer/imports/jsTextImports.js +0 -181
  1133. package/dist/indexer/imports/jsTextImports.js.map +0 -1
  1134. package/dist/indexer/imports/languageSpecific.d.ts +0 -26
  1135. package/dist/indexer/imports/languageSpecific.d.ts.map +0 -1
  1136. package/dist/indexer/imports/languageSpecific.js +0 -449
  1137. package/dist/indexer/imports/languageSpecific.js.map +0 -1
  1138. package/dist/indexer/imports/nativeCaptures.d.ts +0 -16
  1139. package/dist/indexer/imports/nativeCaptures.d.ts.map +0 -1
  1140. package/dist/indexer/imports/nativeCaptures.js +0 -142
  1141. package/dist/indexer/imports/nativeCaptures.js.map +0 -1
  1142. package/dist/languages/definitions/cFamily.d.ts +0 -34
  1143. package/dist/languages/definitions/cFamily.d.ts.map +0 -1
  1144. package/dist/languages/definitions/cFamily.js +0 -177
  1145. package/dist/languages/definitions/cFamily.js.map +0 -1
  1146. package/dist/languages/definitions/cssLike.d.ts +0 -5
  1147. package/dist/languages/definitions/cssLike.d.ts.map +0 -1
  1148. package/dist/languages/definitions/cssLike.js +0 -32
  1149. package/dist/languages/definitions/cssLike.js.map +0 -1
  1150. package/dist/languages/definitions/htmlStub.d.ts +0 -18
  1151. package/dist/languages/definitions/htmlStub.d.ts.map +0 -1
  1152. package/dist/languages/definitions/htmlStub.js +0 -36
  1153. package/dist/languages/definitions/htmlStub.js.map +0 -1
  1154. package/dist/languages/definitions/jsFamily.d.ts +0 -5
  1155. package/dist/languages/definitions/jsFamily.d.ts.map +0 -1
  1156. package/dist/languages/definitions/jsFamily.js +0 -75
  1157. package/dist/languages/definitions/jsFamily.js.map +0 -1
  1158. package/dist/languages/filePrep.d.ts +0 -36
  1159. package/dist/languages/filePrep.d.ts.map +0 -1
  1160. package/dist/languages/filePrep.js +0 -76
  1161. package/dist/languages/filePrep.js.map +0 -1
  1162. package/dist/languages/importStatementParsers.d.ts +0 -57
  1163. package/dist/languages/importStatementParsers.d.ts.map +0 -1
  1164. package/dist/languages/importStatementParsers.js +0 -383
  1165. package/dist/languages/importStatementParsers.js.map +0 -1
  1166. package/dist/languages/queryGenerator.d.ts +0 -6
  1167. package/dist/languages/queryGenerator.d.ts.map +0 -1
  1168. package/dist/languages/queryGenerator.js +0 -46
  1169. package/dist/languages/queryGenerator.js.map +0 -1
  1170. package/dist/mcp/httpTransport.d.ts +0 -14
  1171. package/dist/mcp/httpTransport.d.ts.map +0 -1
  1172. package/dist/mcp/httpTransport.js +0 -185
  1173. package/dist/mcp/httpTransport.js.map +0 -1
  1174. package/dist/mcp/legacySessions.d.ts +0 -38
  1175. package/dist/mcp/legacySessions.d.ts.map +0 -1
  1176. package/dist/mcp/legacySessions.js +0 -264
  1177. package/dist/mcp/legacySessions.js.map +0 -1
  1178. package/dist/mcp/lifecycleHealth.d.ts +0 -12
  1179. package/dist/mcp/lifecycleHealth.d.ts.map +0 -1
  1180. package/dist/mcp/lifecycleHealth.js +0 -37
  1181. package/dist/mcp/lifecycleHealth.js.map +0 -1
  1182. package/dist/mcp/sqliteGuard.d.ts +0 -3
  1183. package/dist/mcp/sqliteGuard.d.ts.map +0 -1
  1184. package/dist/mcp/sqliteGuard.js +0 -35
  1185. package/dist/mcp/sqliteGuard.js.map +0 -1
  1186. package/dist/mcp/stdioLifecycle.d.ts +0 -23
  1187. package/dist/mcp/stdioLifecycle.d.ts.map +0 -1
  1188. package/dist/mcp/stdioLifecycle.js +0 -83
  1189. package/dist/mcp/stdioLifecycle.js.map +0 -1
  1190. package/dist/native/bindingLoader.d.ts +0 -51
  1191. package/dist/native/bindingLoader.d.ts.map +0 -1
  1192. package/dist/native/bindingLoader.js +0 -223
  1193. package/dist/native/bindingLoader.js.map +0 -1
  1194. package/dist/native/byteIndex.d.ts +0 -26
  1195. package/dist/native/byteIndex.d.ts.map +0 -1
  1196. package/dist/native/byteIndex.js +0 -70
  1197. package/dist/native/byteIndex.js.map +0 -1
  1198. package/dist/native/jsBridge.d.ts +0 -7
  1199. package/dist/native/jsBridge.d.ts.map +0 -1
  1200. package/dist/native/jsBridge.js +0 -25
  1201. package/dist/native/jsBridge.js.map +0 -1
  1202. package/dist/native/nativeBackendReport.d.ts +0 -22
  1203. package/dist/native/nativeBackendReport.d.ts.map +0 -1
  1204. package/dist/native/nativeBackendReport.js +0 -102
  1205. package/dist/native/nativeBackendReport.js.map +0 -1
  1206. package/dist/native/projectedTree.d.ts +0 -53
  1207. package/dist/native/projectedTree.d.ts.map +0 -1
  1208. package/dist/native/projectedTree.js +0 -180
  1209. package/dist/native/projectedTree.js.map +0 -1
  1210. package/dist/native/queryResults.d.ts +0 -12
  1211. package/dist/native/queryResults.d.ts.map +0 -1
  1212. package/dist/native/queryResults.js +0 -34
  1213. package/dist/native/queryResults.js.map +0 -1
  1214. package/dist/native/runtimeCache.d.ts +0 -128
  1215. package/dist/native/runtimeCache.d.ts.map +0 -1
  1216. package/dist/native/runtimeCache.js +0 -667
  1217. package/dist/native/runtimeCache.js.map +0 -1
  1218. package/dist/native/treeShape.d.ts +0 -21
  1219. package/dist/native/treeShape.d.ts.map +0 -1
  1220. package/dist/native/treeShape.js +0 -28
  1221. package/dist/native/treeShape.js.map +0 -1
  1222. package/dist/native/treeSitterNative.d.ts +0 -6
  1223. package/dist/native/treeSitterNative.d.ts.map +0 -1
  1224. package/dist/native/treeSitterNative.js +0 -5
  1225. package/dist/native/treeSitterNative.js.map +0 -1
  1226. package/dist/runtimeIdentity.d.ts +0 -27
  1227. package/dist/runtimeIdentity.d.ts.map +0 -1
  1228. package/dist/runtimeIdentity.js +0 -75
  1229. package/dist/runtimeIdentity.js.map +0 -1
  1230. package/dist/sql/classifySqlFile.d.ts +0 -3
  1231. package/dist/sql/classifySqlFile.d.ts.map +0 -1
  1232. package/dist/sql/classifySqlFile.js +0 -42
  1233. package/dist/sql/classifySqlFile.js.map +0 -1
  1234. package/dist/sql/extractFacts.d.ts +0 -4
  1235. package/dist/sql/extractFacts.d.ts.map +0 -1
  1236. package/dist/sql/extractFacts.js +0 -511
  1237. package/dist/sql/extractFacts.js.map +0 -1
  1238. package/dist/sql/sourceGraph.d.ts +0 -19
  1239. package/dist/sql/sourceGraph.d.ts.map +0 -1
  1240. package/dist/sql/sourceGraph.js +0 -195
  1241. package/dist/sql/sourceGraph.js.map +0 -1
  1242. package/dist/sqlite/rawQueryWorker.d.ts +0 -22
  1243. package/dist/sqlite/rawQueryWorker.d.ts.map +0 -1
  1244. package/dist/sqlite/rawQueryWorker.js +0 -31
  1245. package/dist/sqlite/rawQueryWorker.js.map +0 -1
  1246. package/dist/sqlite/rawQueryWorkerPool.d.ts +0 -66
  1247. package/dist/sqlite/rawQueryWorkerPool.d.ts.map +0 -1
  1248. package/dist/sqlite/rawQueryWorkerPool.js +0 -146
  1249. package/dist/sqlite/rawQueryWorkerPool.js.map +0 -1
  1250. package/dist/sqlite/rowBounds.d.ts +0 -24
  1251. package/dist/sqlite/rowBounds.d.ts.map +0 -1
  1252. package/dist/sqlite/rowBounds.js +0 -95
  1253. package/dist/sqlite/rowBounds.js.map +0 -1
  1254. package/dist/util/bloomFilter.d.ts +0 -100
  1255. package/dist/util/bloomFilter.d.ts.map +0 -1
  1256. package/dist/util/bloomFilter.js +0 -206
  1257. package/dist/util/bloomFilter.js.map +0 -1
  1258. package/dist/util/confinedFile.d.ts +0 -48
  1259. package/dist/util/confinedFile.d.ts.map +0 -1
  1260. package/dist/util/confinedFile.js +0 -164
  1261. package/dist/util/confinedFile.js.map +0 -1
  1262. package/dist/util/discoveryPath.d.ts +0 -3
  1263. package/dist/util/discoveryPath.d.ts.map +0 -1
  1264. package/dist/util/discoveryPath.js +0 -19
  1265. package/dist/util/discoveryPath.js.map +0 -1
  1266. package/dist/util/graphEdges.d.ts +0 -5
  1267. package/dist/util/graphEdges.d.ts.map +0 -1
  1268. package/dist/util/graphEdges.js +0 -42
  1269. package/dist/util/graphEdges.js.map +0 -1
  1270. package/dist/util/graphOnlyExtensions.d.ts +0 -5
  1271. package/dist/util/graphOnlyExtensions.d.ts.map +0 -1
  1272. package/dist/util/graphOnlyExtensions.js +0 -12
  1273. package/dist/util/graphOnlyExtensions.js.map +0 -1
  1274. package/dist/util/includeRoots.d.ts +0 -6
  1275. package/dist/util/includeRoots.d.ts.map +0 -1
  1276. package/dist/util/includeRoots.js +0 -53
  1277. package/dist/util/includeRoots.js.map +0 -1
  1278. package/dist/util/lazySymbols.d.ts +0 -166
  1279. package/dist/util/lazySymbols.d.ts.map +0 -1
  1280. package/dist/util/lazySymbols.js +0 -365
  1281. package/dist/util/lazySymbols.js.map +0 -1
  1282. package/dist/util/lruMap.d.ts +0 -3
  1283. package/dist/util/lruMap.d.ts.map +0 -1
  1284. package/dist/util/lruMap.js +0 -22
  1285. package/dist/util/lruMap.js.map +0 -1
  1286. package/dist/util/memberAccess.d.ts +0 -26
  1287. package/dist/util/memberAccess.d.ts.map +0 -1
  1288. package/dist/util/memberAccess.js +0 -185
  1289. package/dist/util/memberAccess.js.map +0 -1
  1290. package/dist/util/packageExports.d.ts +0 -25
  1291. package/dist/util/packageExports.d.ts.map +0 -1
  1292. package/dist/util/packageExports.js +0 -79
  1293. package/dist/util/packageExports.js.map +0 -1
  1294. package/dist/util/packageInfo.d.ts +0 -12
  1295. package/dist/util/packageInfo.d.ts.map +0 -1
  1296. package/dist/util/packageInfo.js +0 -57
  1297. package/dist/util/packageInfo.js.map +0 -1
  1298. package/dist/util/partialResults.d.ts +0 -81
  1299. package/dist/util/partialResults.d.ts.map +0 -1
  1300. package/dist/util/partialResults.js +0 -290
  1301. package/dist/util/partialResults.js.map +0 -1
  1302. package/dist/util/projectFiles/definitions.d.ts +0 -21
  1303. package/dist/util/projectFiles/definitions.d.ts.map +0 -1
  1304. package/dist/util/projectFiles/definitions.js.map +0 -1
  1305. package/dist/util/projectFiles/parsers.d.ts.map +0 -1
  1306. package/dist/util/projectFiles/parsers.js.map +0 -1
  1307. package/dist/util/projectFiles.d.ts +0 -102
  1308. package/dist/util/projectFiles.d.ts.map +0 -1
  1309. package/dist/util/projectFiles.js +0 -1209
  1310. package/dist/util/projectFiles.js.map +0 -1
  1311. package/dist/util/resolution/findFirstExisting.d.ts +0 -2
  1312. package/dist/util/resolution/findFirstExisting.d.ts.map +0 -1
  1313. package/dist/util/resolution/findFirstExisting.js +0 -13
  1314. package/dist/util/resolution/findFirstExisting.js.map +0 -1
  1315. package/dist/util/resolution/phpComposer.d.ts +0 -17
  1316. package/dist/util/resolution/phpComposer.d.ts.map +0 -1
  1317. package/dist/util/resolution/phpComposer.js +0 -269
  1318. package/dist/util/resolution/phpComposer.js.map +0 -1
  1319. package/dist/util/resolution/projectSymbols.d.ts +0 -14
  1320. package/dist/util/resolution/projectSymbols.d.ts.map +0 -1
  1321. package/dist/util/resolution/projectSymbols.js +0 -70
  1322. package/dist/util/resolution/projectSymbols.js.map +0 -1
  1323. package/dist/util/resolutionCandidates.d.ts +0 -5
  1324. package/dist/util/resolutionCandidates.d.ts.map +0 -1
  1325. package/dist/util/resolutionCandidates.js +0 -70
  1326. package/dist/util/resolutionCandidates.js.map +0 -1
  1327. package/dist/util/rustTestModules.d.ts +0 -3
  1328. package/dist/util/rustTestModules.d.ts.map +0 -1
  1329. package/dist/util/rustTestModules.js +0 -71
  1330. package/dist/util/rustTestModules.js.map +0 -1
  1331. package/dist/util/sourceLocation.d.ts +0 -8
  1332. package/dist/util/sourceLocation.d.ts.map +0 -1
  1333. package/dist/util/sourceLocation.js +0 -19
  1334. package/dist/util/sourceLocation.js.map +0 -1
  1335. package/dist/util/sqliteSchema.d.ts +0 -28
  1336. package/dist/util/sqliteSchema.d.ts.map +0 -1
  1337. package/dist/util/sqliteSchema.js +0 -75
  1338. package/dist/util/sqliteSchema.js.map +0 -1
  1339. package/dist/util/symbolHash.d.ts +0 -59
  1340. package/dist/util/symbolHash.d.ts.map +0 -1
  1341. package/dist/util/symbolHash.js +0 -84
  1342. package/dist/util/symbolHash.js.map +0 -1
  1343. package/dist/util/windowsProcessDrain.d.ts +0 -23
  1344. package/dist/util/windowsProcessDrain.d.ts.map +0 -1
  1345. package/dist/util/windowsProcessDrain.js +0 -51
  1346. package/dist/util/windowsProcessDrain.js.map +0 -1
  1347. package/dist/util/workerThreads.d.ts +0 -12
  1348. package/dist/util/workerThreads.d.ts.map +0 -1
  1349. package/dist/util/workerThreads.js +0 -16
  1350. package/dist/util/workerThreads.js.map +0 -1
  1351. package/dist/worker/nativeExtractWorker.d.ts +0 -77
  1352. package/dist/worker/nativeExtractWorker.d.ts.map +0 -1
  1353. package/dist/worker/nativeExtractWorker.js +0 -272
  1354. package/dist/worker/nativeExtractWorker.js.map +0 -1
  1355. package/dist/worker/nativeWorkerPool.d.ts +0 -16
  1356. package/dist/worker/nativeWorkerPool.d.ts.map +0 -1
  1357. package/dist/worker/nativeWorkerPool.js +0 -54
  1358. package/dist/worker/nativeWorkerPool.js.map +0 -1
  1359. package/docs/graph-visualization/viewer-selected-node.webp +0 -0
  1360. /package/dist/{documentLinks → document-links}/asciidoc.d.ts +0 -0
  1361. /package/dist/{documentLinks → document-links}/asciidoc.js +0 -0
  1362. /package/dist/{documentLinks → document-links}/html.d.ts +0 -0
  1363. /package/dist/{documentLinks → document-links}/html.js +0 -0
  1364. /package/dist/{documentLinks → document-links}/markdown.d.ts +0 -0
  1365. /package/dist/{documentLinks → document-links}/markdown.js +0 -0
  1366. /package/dist/{documentLinks → document-links}/rst.d.ts +0 -0
  1367. /package/dist/{documentLinks → document-links}/rst.js +0 -0
  1368. /package/dist/{documentLinks → document-links}/sfc.d.ts +0 -0
  1369. /package/dist/{documentLinks → document-links}/sfc.js +0 -0
  1370. /package/dist/{documentLinks → document-links}/shared.d.ts +0 -0
  1371. /package/dist/{documentLinks → document-links}/shared.js +0 -0
  1372. /package/dist/util/{projectFiles → project-files}/definitions.js +0 -0
  1373. /package/dist/util/{projectFiles → project-files}/parsers.d.ts +0 -0
  1374. /package/dist/util/{projectFiles → project-files}/parsers.js +0 -0
  1375. /package/{docs/graph-visualization → src/viewer}/app.js +0 -0
  1376. /package/{docs/graph-visualization → src/viewer}/file-tree-filters.js +0 -0
  1377. /package/{docs/graph-visualization → src/viewer}/file-tree-model.js +0 -0
  1378. /package/{docs/graph-visualization → src/viewer}/graph-builder.js +0 -0
  1379. /package/{docs/graph-visualization → src/viewer}/index.html +0 -0
  1380. /package/{docs/graph-visualization → src/viewer}/styles.css +0 -0
  1381. /package/{docs/graph-visualization → src/viewer}/vendor/LICENSE.graphology-layout-forceatlas2.txt +0 -0
  1382. /package/{docs/graph-visualization → src/viewer}/vendor/LICENSE.graphology.txt +0 -0
  1383. /package/{docs/graph-visualization → src/viewer}/vendor/LICENSE.sigma.txt +0 -0
  1384. /package/{docs/graph-visualization → src/viewer}/vendor/graphology-layout-forceatlas2.js +0 -0
  1385. /package/{docs/graph-visualization → src/viewer}/vendor/graphology.js +0 -0
  1386. /package/{docs/graph-visualization → src/viewer}/vendor/sigma.js +0 -0
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  </p>
6
6
 
7
7
  <p align="center">
8
+ <a href="https://www.npmjs.com/package/@lzehrung/codegraph"><img src="https://img.shields.io/npm/v/%40lzehrung%2Fcodegraph?logo=npm&amp;label=npm" alt="npm version"></a>
8
9
  <a href="https://github.com/lzehrung/codegraph/releases/latest"><img src="https://img.shields.io/github/v/release/lzehrung/codegraph?display_name=tag&amp;sort=semver" alt="Release"></a>
9
10
  <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License: MIT"></a>
10
11
  <a href="./package.json"><img src="https://img.shields.io/badge/node-%3E%3D22.16-brightgreen.svg" alt="Node.js"></a>
@@ -133,11 +134,11 @@ Do not begin by generating every possible report. Start with the question you ac
133
134
  # Map the repository before selecting a target
134
135
  codegraph orient --root . --budget small
135
136
 
136
- # Search a concrete term
137
- codegraph search "review analysis CLI" --json
137
+ # Search a concrete term (the query is lexical: use the words that appear in code)
138
+ codegraph search "build review report" --json
138
139
 
139
140
  # Use explore only when those results need packets and dependency paths
140
- codegraph explore "review analysis CLI" --root .
141
+ codegraph explore "build review report" --root .
141
142
 
142
143
  # Follow a returned target
143
144
  codegraph explain src/review.ts
@@ -187,7 +188,7 @@ codegraph graph --root . ./src --sqlite codegraph.sqlite
187
188
 
188
189
  The packaged viewer is a human-facing graph UI; agents should use graph JSON, SQLite, MCP, or `--json` instead. Its command is `codegraph viewer [--root <root>] [--graph <root-confined-json>] [--host <host>] [--port <0-65535>] [--open] [--print-url]`; the root defaults to the current directory.
189
190
 
190
- ![codegraph graph viewer with `src/cli.ts` selected and its immediate dependencies labeled](docs/graph-visualization/viewer-selected-node.webp)
191
+ ![codegraph graph viewer with `src/cli.ts` selected and its immediate dependencies labeled](assets/viewer-selected-node.webp)
191
192
 
192
193
  ```bash
193
194
  codegraph viewer --root . --open
@@ -197,7 +198,7 @@ codegraph viewer --root . --port 4173 --print-url
197
198
 
198
199
  The default host is `127.0.0.1` and the default port is `4173`. Without `--graph`, each UI load or reload builds a current graph projection through the automatically validated `.codegraph/cache/index-v1` index; `init`, `index`, and an exported JSON file are not prerequisites. An explicit `--graph` serves that root-confined snapshot through the same `/graph.json` route, while `--print-url` only prints the deterministic URL and exits.
199
200
 
200
- The UI loads Sigma, Graphology, and ForceAtlas2 from bundled `docs/graph-visualization/vendor/` assets, so the viewer stays offline and self-contained once codegraph is installed.
201
+ The UI loads Sigma, Graphology, and ForceAtlas2 from bundled `src/viewer/vendor/` assets, so the viewer stays offline and self-contained once codegraph is installed.
201
202
 
202
203
  ## What the output looks like
203
204
 
@@ -7,11 +7,11 @@ Production npm package license files and package metadata remain in node_modules
7
7
 
8
8
  Bundled graph viewer libraries
9
9
 
10
- The packaged graph viewer vendors browser builds of graphology, graphology-layout-forceatlas2, and sigma under docs/graph-visualization/vendor/. Full MIT license texts for those bundles are also shipped alongside the assets:
10
+ The packaged graph viewer vendors browser builds of graphology, graphology-layout-forceatlas2, and sigma under src/viewer/vendor/. Full MIT license texts for those bundles are also shipped alongside the assets:
11
11
 
12
- - docs/graph-visualization/vendor/LICENSE.graphology.txt
13
- - docs/graph-visualization/vendor/LICENSE.graphology-layout-forceatlas2.txt
14
- - docs/graph-visualization/vendor/LICENSE.sigma.txt
12
+ - src/viewer/vendor/LICENSE.graphology.txt
13
+ - src/viewer/vendor/LICENSE.graphology-layout-forceatlas2.txt
14
+ - src/viewer/vendor/LICENSE.sigma.txt
15
15
 
16
16
  ### graphology (MIT)
17
17
 
@@ -5,298 +5,114 @@ description: "Use for repo structure, symbol navigation, dependency analysis, du
5
5
 
6
6
  # codegraph
7
7
 
8
- Use codegraph when a repository question depends on structure rather than exact text:
8
+ Use Codegraph to find definitions, references, calls, dependencies, and change impact.
9
+ Use plain text search for exact strings, logs, config keys, and prose.
10
+ Codegraph provides static evidence, not runtime proof.
9
11
 
10
- - architecture, hotspots, cycles, unresolved imports, and public API surface
11
- - definitions, references, dependencies, reverse dependencies, and paths
12
- - PR or worktree impact, candidate tests, affected test lists, and risk signals
13
- - duplicate cleanup and refactor-risk triage
14
- - local Markdown link validation with exact ranges and no network access
15
- - bounded context for agents through explore, orientation, search, packets, explain, and MCP
12
+ ## Choose the next tool
16
13
 
17
- Use plain text search for exact strings, logs, config keys, secrets, and prose. Do not treat codegraph as runtime proof; verify behavior with focused tests or execution.
14
+ Prefer mounted MCP tools for repeated queries; they share a warm index. Otherwise, use the CLI.
15
+ MCP accepts flat schema fields, not CLI flags or per-call roots.
18
16
 
19
- ## Choose the First Command
17
+ | Need | CLI | MCP |
18
+ | ------------------------------------ | --------------------------------------------------------------- | ---------------------------------- |
19
+ | Map an unfamiliar repo | `codegraph orient --root . --budget small` | `orient` |
20
+ | Find a declaration by name | `codegraph symbols "Name"` | `workspace_symbols` |
21
+ | Search across code, paths, and docs | `codegraph search "query"` | `search` |
22
+ | Find a definition | `codegraph goto <target>` | `goto` |
23
+ | Find references | `codegraph refs <target>` | `refs` |
24
+ | Find callers or callees | `codegraph callers <handle>` / `codegraph callees <handle>` | `calls`, with `direction` |
25
+ | Find file dependencies or dependents | `codegraph deps <file>` / `codegraph rdeps <file>` | `file_deps`, with `direction` |
26
+ | Find a path between files | `codegraph path <from> <to>` | `path` |
27
+ | Find base or derived types | `codegraph supertypes <target>` / `codegraph subtypes <target>` | `type_hierarchy`, with `direction` |
28
+ | Find implementations | `codegraph implementations <target>` | `implementations` |
29
+ | Read current source | `codegraph file <path> --offset 1 --limit 200` | `get_file` |
30
+ | Retrieve context for a known target | `codegraph packet get <target>` | `packet_get` |
31
+ | Resolve a search handle | `codegraph explain <handle>` | `get_symbol` |
20
32
 
21
- Bare `codegraph` prints five task-first routes without scanning the project. Use `codegraph --help` for Core commands, `codegraph help advanced` for the complete catalog, and `codegraph help <command>` for command help; unknown commands suggest but never execute alternatives.
33
+ CLI `goto` / `refs` accepts `file:line:column`, project-relative `file::symbol`, or returned `symbol:` handles.
34
+ MCP takes separate `file`, `line`, `column` fields, or `handle`; do not mix forms or invent handles.
35
+ Use `codegraph refs <file>` to check every definition in a file.
36
+ `deps`, `rdeps`, and `file_deps` accept symbol handles but traverse the declaring file.
22
37
 
23
- Exit `0` means completion without a failure condition. Exit `1` can mean findings, no matching target, or a runtime failure. Inspect its output before continuing; findings and no matching targets are actionable, while runtime or analysis failures need error handling.
38
+ ## Follow the task, not the catalog
24
39
 
25
- Exit `2` means invalid usage or input, including malformed options and unsupported explicit `chunk --language` values. `links` uses `1` for broken local links; do not treat it as an invocation error.
40
+ ### Find and understand code
26
41
 
27
- | Task | Start here |
28
- | --------------------------------------------------------- | -------------------------------------------------------- |
29
- | Review staged and unstaged work | `codegraph review` |
30
- | Review a branch against main | `codegraph review --base origin/main --head HEAD` |
31
- | Map the wider blast radius of a change | `codegraph impact --base HEAD --head WORKTREE` |
32
- | Select deterministic test paths for changed files | `codegraph affected --base HEAD --head WORKTREE --quiet` |
33
- | Find a concrete term | `codegraph search "auth user" --json` |
34
- | Map a repo before selecting a target | `codegraph orient --root . --budget small` |
35
- | Build context from one narrow query | `codegraph explore "how does auth reach db?" --root .` |
36
- | Diagnose installation, native runtime, or artifact health | `codegraph doctor` |
42
+ 1. Known target: use `goto`, `refs`, or `get_file`. Use `orient` only if you need a repo map.
43
+ 2. Find declarations with `workspace_symbols` / `codegraph symbols`; use `search` for broader queries.
44
+ 3. Read source, then follow `refs`, `calls`, or `file_deps`. File dependencies are not symbol calls.
37
45
 
38
- Prefer `review` before `impact`: review is the compact reviewer handoff; impact is the broader "what could this break?" map. Start with `orient`, then use `search` or `grep` for concrete terms and `refs` or `callers` for known symbols. Use `explore` only for one narrow query that needs context from top results.
46
+ `explore` / `codegraph explore "query"` combines one search with context from its top results; it does not plan subqueries.
47
+ MCP omits source unless `includeSource: true`; CLI includes it unless `--no-source`.
39
48
 
40
- ## Keep the Project Boundary Explicit
49
+ ### Review changes
41
50
 
42
- Use `--root` to define the boundary for config lookup, path confinement, and output normalization. Cache contents use project-relative paths and may live at the resolved repository anchor; override location with `--cache-dir` or `CODEGRAPH_CACHE_DIR`. An overridden anchor pointing at the home directory or a filesystem root is rejected with an error.
43
-
44
- - Positional paths are include roots inside the project boundary for `orient`, `drift`, and positional graph commands.
45
- - `codegraph.config.json` discovery globs are project-root-relative.
46
- - `languages.extensions` maps literal suffixes such as `.tpl` to supported language IDs; longest suffix wins, while `.vue` and `.svelte` cannot be remapped.
47
- - CLI `--include-glob` and `--ignore-glob` values are one-off filters relative to each active scan root.
48
- - Use `--no-gitignore` only when ignored files are intentionally in scope.
49
- - Index-backed commands stay quiet for their first second, then write progress and a heartbeat to stderr. Cold or incompatible rebuilds report source discovery, Git listing or filesystem scan, ignore-file listing, and metadata discovery before build progress; path checks include completed and total counts when known. Use `--progress` for immediate logs or `--no-progress` to suppress feedback; JSON stdout remains unchanged.
50
-
51
- ## Choose the Smallest Follow-up
52
-
53
- ### Understand
54
-
55
- - map a repo: `codegraph orient --root . --budget small`
56
- - find a target: `codegraph symbols "CodeReviewSession"` / `codegraph search "auth user"` / `codegraph grep "spawn|timeout"`
57
- - navigate a symbol: `codegraph refs <handle>` -> `codegraph callers <handle>` -> `codegraph rdeps <file|handle>`
58
- - explain or retrieve a target: `codegraph explain <handle>` or `codegraph packet get <handle>`
59
- - use `codegraph explore` only for one hybrid search plus context from top results
60
-
61
- Use `search --no-snippets` when handles and paths are sufficient and source text will be fetched separately with `file`. Use `explain --changed-context` for bounded source context around changed ranges in changed-file or review workflows.
62
-
63
- Use `symbols` instead of hybrid `search` when only declarations should compete. It supports `--kind <kind,...>`, `--exported`, `--include-imports`, project-relative `--file-glob`, and `--limit <0-500>`; imports default off, and only named/default aliases that resolve to concrete declarations are returned.
64
- Use the portable callable handle from `symbols` with `codegraph callers <handle>` or `codegraph callees <handle>`. Depth defaults to 1 and caps at 5, the symbol limit defaults to 100 and caps at 500, pretty grouped callsites are the default, and `--json` returns the structured envelope.
65
-
66
- Call hierarchy contains resolved semantic `calls` edges only. `--include-heuristic` is accepted but currently adds no guessed dynamic calls; use `refs` for all references and `deps` or `rdeps` for file relationships.
67
-
68
- Receiver method calls (`this.m()`, `$this->m()`, `const l = new Lib(); l.target()`) are resolved `calls` edges, including inherited members. `super`/`base`/`parent` follow class `extends` ancestors only. Unproven receivers and Go methods declared outside the type emit no edge.
69
-
70
- Use a portable handle, unique exact symbol name, single-definition file, or source location with `codegraph supertypes <target>`, `codegraph subtypes <target>`, or `codegraph implementations <target>`. Hierarchy depth defaults to 1 and caps at 10; all result limits default to 100 and cap at 500, and the default output is the concise human-readable form.
71
-
72
- Hierarchy results contain only proven indexed `extends` and `implements` relationships. Implementation targets are interfaces, traits, abstract types, and members with proven implementation or override relationships; exact declarations are returned, while overloads, dynamic or structural conformance, unrelated same-name methods, and unresolved external bases are not guessed.
73
-
74
- Use `codegraph rename-preview <target> <new-name> --json` to plan a semantic rename without changing files. Add `--include-comments`, `--include-strings`, or `--include-filenames` only when needed, and use `--max-edits <1-10000>` to bound the plan.
75
-
76
- Treat `safe: false`, conflicts, unsafe sites, and omissions as blockers. Eligible exported class, interface, and type filename results are suggestions only; codegraph has no apply command or tool.
77
-
78
- Use `codegraph refactor-plan <target>` to compose references, direct callers and callees, hierarchy, implementations, section issues, candidate tests, omissions, and copyable follow-ups from one snapshot. It accepts portable search or workspace-symbol handles and exact internal review or impact symbol handles; add `--rename <new-name>` only when the packet should include the authoritative nested rename preview.
79
-
80
- The independent `--max-references`, `--max-callers`, and `--max-hierarchy` bounds accept 0 to 500, and `--include-source` opts reference context into output. Treat `sectionIssues`, omissions, and nested `rename.safe` as authoritative; the packet is read-only and has no apply action.
81
-
82
- ### Navigate
83
-
84
- - dependencies: `codegraph deps <file|file::symbol|symbol:...>`
85
- - reverse dependencies: `codegraph rdeps <file|file::symbol|symbol:...>`
86
- - shortest path: `codegraph path <from> <to>`
87
- - definition at a source location: `codegraph goto <file>:<line>:<column>`
88
- - references at a source location: `codegraph refs <file>:<line>:<column>`
89
- - coordinate-free definition or references: `codegraph goto <file>::<symbol>` returns one definition; `codegraph refs <file>::<symbol>` resolves one definition then reports its references (both accept `symbol:...`)
90
- - references for every definition in a file: `codegraph refs <file>`
91
-
92
- Use line and column coordinates when known; this is the primary navigation form. Use an exact project-relative `file::symbol` path or portable `symbol:` handle when coordinates are unavailable; neither can be combined with line or column input.
93
-
94
- - `deps` and `rdeps` accept either form or a portable `symbol:` handle, resolved to its defining file.
95
- - `deps` and `rdeps` show depth 1 by default; use `--depth <n>` for another finite output depth or `--all` for every depth.
96
- - `deps` and `rdeps` return `{ items, truncated }` with `--json`.
97
- - `callers` and `callees` expose symbol-level calls, returning symbols and callsites separately, both bounded and with truncation metadata.
98
-
99
- Safe shorthand: `impact` and git-backed `drift` default to `HEAD..WORKTREE`; `artifact`, `packet`, and `mcp` infer `build`, `get`, and `serve`. `artifact --sqlite` is equivalent to `artifact build --sqlite`; `grep <regex>` and `sql <db> "SELECT ..."` accept positional forms. Explicit options remain valid. `grep --json` returns an envelope `{ items, limit, totalSeen, truncated, omitted }`, not a bare hit array: `limit` is the effective `--max-hits` cap for text greps (default 5000, capped at 200000) and `null` for uncapped `--query` AST greps. Check `truncated` before treating text results as complete, and raise `--max-hits` when it is true - `truncated` stays exact through that ceiling. `graph` output selectors are mutually exclusive.
100
-
101
- - compact review handoff: `codegraph review`
102
- - broader change impact: `codegraph impact --base HEAD --head WORKTREE`
103
- - impact with candidate tests: `codegraph impact --base HEAD --head WORKTREE --include-tests`
104
- - affected test paths: `codegraph affected --base HEAD --head WORKTREE --quiet`
105
- - architecture drift: `codegraph drift ./src --base origin/main --head HEAD --graph-edges summary --public-api removals`
106
- - architecture summary: `codegraph inspect ./src --limit 20`
107
- - prioritized cycles: `codegraph cycles --sort priority`
108
- - duplicate cleanup: `codegraph duplicates --root . ./src --profile cleanup`
109
- - full duplicate groups: `codegraph duplicates --root . ./src --json`
110
- - local Markdown link check: `codegraph links --json`
111
- - exported API summary: `codegraph apisurface --root . --json`
112
- - embedding-ready file chunks: `codegraph chunk src/auth.ts --json` (explicit `--language` must be supported; unknown extensions use text)
113
- - one indexed module: `codegraph dumpmod src/auth.ts --json`
114
- - prewarm or repair disk state: `codegraph index --root .`
115
- - include static-string Python `importlib.import_module(...)` and `__import__(...)` edges: `codegraph graph --root . --dynamic-import-heuristics`
116
- - inspect complex files: `codegraph hotspots --root . --limit 20`
117
- - list unresolved source imports: `codegraph unresolved --root . --json`
118
- - search text with a regex: `codegraph grep "TODO|FIXME" --glob "src/**/*.ts"`
119
- - query an exported SQLite graph: `codegraph sql codegraph.sqlite "SELECT * FROM files LIMIT 20"`
120
- - compare graph changes across revisions: `codegraph graph-delta --git-base origin/main --git-head HEAD --json`
121
- - create a durable artifact: `codegraph artifact --root . --out codegraph-out --sqlite --graph-json`
122
- - start a warm local tool server: `codegraph mcp --root . --stdio`
123
-
124
- Dynamic import heuristics use shared language adapters, including JS and TypeScript embedded script blocks. The Python adapter recognizes direct `importlib.import_module(...)`, direct `__import__(...)`, and direct import aliases when the module argument is a static string. It does not evaluate computed names, assignment-based aliases, name reassignment, the `package=` argument, or `__import__` relative `level=` semantics; leading-dot `importlib.import_module(...)` strings use the importing file's package-relative resolution.
125
-
126
- `links` checks root-confined local Markdown links and GitHub-style heading fragments, including raw HTML `a[href]` in `.md` files. It skips external URLs and unsupported formats; exit 1 reports broken links. Discovery honors `codegraph.config.json` discovery globs plus CLI `--include-glob` / `--ignore-glob` / `--no-gitignore`. `review` and non-empty `impact` include the same `markdownLinks` findings; `unresolved` excludes document edges.
127
-
128
- `inspect --duplicates` adds the slower bounded duplicate summary. Treat duplicate matches, candidate tests, and call-compatibility hints as review leads, not proof.
129
-
130
- Current-state commands validate the on-disk index automatically and default to the disk cache, so `index` and `sync` only prewarm or repair state and are never prerequisites for a query. `--cache off|memory|disk` stays explicit, `--cache-verify` and `--cache-strict` request stronger checks when reusable cache or manifest state exists, and `--cache-strict` has no effect with `--cache off`. `drift`/`graph-delta` keep revision-range semantics instead. `review` and `impact` diff ranges select what to analyze independently from the complete current-project index, so repeated unchanged ranges reuse a warm manifest without narrowing graph, symbol, candidate-test, or duplicate context.
131
-
132
- ## Choose Output by Consumer
133
-
134
- - Human or model reading one result: use the human-readable default with no output flag; `review` is already compact.
135
- - Tool chaining, filtering, stable handles, exact ranges, or schema fields: use `--json`. If `--json` and `--pretty` are both present, `--json` wins. `viewer` and `mcp` reject `--json`/`--pretty` because they do not emit structured command output.
136
- - Repeated agent queries over one repo snapshot: prefer MCP so the index stays warm. MCP inputs are flat JSON objects and the server root is fixed at startup; send only fields in the mounted tool schema, never CLI flags such as `--root` or `--json`. Unknown tool fields are rejected as invalid parameters. If the first MCP call fails at startup or loses its transport, do not retry the same server; run `codegraph doctor`, use the equivalent CLI command for this session, and restart the agent client after package upgrades.
137
- - Durable graph handoff: use `codegraph graph --root . ./src --json --output codegraph.json` rather than parsing display text. `graph --json` and `index --json` payloads include an `analysis` object (`mode`, `backend`, `label`, fallback counts); when `mode` is `mixed` or `reduced` the run used regex/graph-only extraction for some or all files, so treat symbol accuracy accordingly. Degraded runs also print a `Backend:` warning on stderr even without `--progress`.
138
- - Search and inspect performance diagnosis: add `--report` for JSON on stderr or `--report-file <path>` for a file while keeping normal command output unchanged.
139
- - Index discovery diagnosis: `--report` timing JSON can include `sourceDiscoveryMs`, `metadataDiscoveryMs`, `gitListMs`, `filesystemScanMs`, and `cacheProbeMs` when those steps run. Named `steps` cover discovery (`git-list`, `git-ignore`, `filesystem-scan`, `cache-probe`, `metadata-discovery`), an incremental build's manifest-reuse preamble (`file-identity`, `clear-resolution-caches`, `load-manifest`, `diff-build-options`, `config-hash`), and post-parse persistence (`persist-cache`, `workspace-manifests`, `index-manifest`, `finalize`, `snapshot-write`). `index-manifest` totals its sub-steps `git-head`, `config-hash`, `manifest-transform`, `manifest-write`, and `cache-prune`. Incremental updates include `snapshot-write` when the project snapshot is rewritten.
140
-
141
- ### Human Graph Viewer
142
-
143
- `viewer` is for a human inspecting a graph, not an agent interface; use graph JSON, SQLite, MCP, or `--json` for structured agent work. Its contract is `codegraph viewer [--root <root>] [--graph <root-confined-json>] [--host <host>] [--port <0-65535>] [--open] [--print-url]`, with the current directory, `127.0.0.1`, and `4173` as the default root, host, and port. Do not pass `--json` to `viewer`.
144
-
145
- ```bash
146
- codegraph viewer --root . --open
147
- codegraph viewer --root . --graph codegraph-out/graph.json --open
148
- codegraph viewer --root . --port 4173 --print-url
149
- ```
150
-
151
- `--print-url` is preview-only: it prints the deterministic URL and exits without starting a server, rejects `--open`, and rejects port `0`. Without `--graph`, each load or reload builds the current project graph through the automatically validated disk cache; `init`, `index`, and exported JSON are not prerequisites. An explicit `--graph` is served through the same `/graph.json` route; manual upload remains available, and the viewer loads Sigma, Graphology, and ForceAtlas2 from bundled local vendor assets (no CDN).
152
-
153
- Do not parse pretty output to recover fields already available in structured output.
154
-
155
- ## Live Reads and Sensitive Files
156
-
157
- Use `codegraph file <path>` for current disk content. Readable numbered lines are the default; add `--json` for structured pagination fields.
158
-
159
- ```bash
160
- codegraph file src/auth.ts --offset 201 --limit 200 --max-bytes 80000
161
- codegraph file src/auth.ts --include-graph-context
162
- ```
163
-
164
- Pagination and byte contracts:
165
-
166
- - `--offset` is 1-based.
167
- - `--limit` defaults to 2000 lines and is capped at 10000.
168
- - `--max-bytes` defaults to 80000 unnumbered text bytes and is capped at 500000.
169
- - A separate 16 MiB input limit rejects larger raw reads and structural text-config summaries before unbounded I/O.
170
- - `content` is exact `number<TAB>line` text; `text` omits line-number prefixes.
171
- - Follow `page.nextOffset`. Beyond EOF, JSON fields are empty and pretty output reports that no lines remain.
172
-
173
- Live bytes and indexed context have different freshness rules:
174
-
175
- - Plain file bytes come from disk and do not depend on index freshness.
176
- - `--include-graph-context` opts into indexed `usedBy` paths, imports, and symbols.
177
- - An exact project-relative query such as `codegraph explore src/auth.ts --json` adds `fileView` with the same live-read contract as `codegraph file`; `--no-source` suppresses it.
178
-
179
- Sensitive-file rules:
180
-
181
- - Recognized environment, authentication, and credential text configs return structural summaries by default.
182
- - Key material defaults to metadata and may report file size without reading raw secret bytes.
183
- - Use `--allow-sensitive` only for deliberate raw access.
184
- - `--allow-sensitive` never bypasses input-size, binary, NUL, or UTF-8 guards; `.p12` and `.pfx` remain metadata-only in practice.
185
-
186
- ## MCP and Freshness
187
-
188
- If MCP tools are available, prefer them over repeated CLI invocations. Use `explore`, `orient`, `workspace_symbols`, `search`, `get_file`, `get_symbol`, `packet_get`, `goto`, `refs`, `rename_preview`, `refactor_plan`, `calls`, `type_hierarchy`, `implementations`, `file_deps`, `path`, `impact`, `review`, `query_sqlite`, `refresh_index`, and `artifact_build`; fall back to the CLI when MCP is unavailable. Legacy `callers`/`callees`, `supertypes`/`subtypes`, and `deps`/`rdeps` names remain valid `tools/call` aliases.
189
-
190
- MCP `explore` defaults `includeSource` to `false` because source-bearing packets dominate an agent response; anchors and follow-ups identify the focused source request to make next. This intentionally differs from CLI `explore`, which includes source by default for human-readable output; pass `includeSource: true` to MCP when source is needed.
191
-
192
- codegraph uses the official MCP SDK v2 to serve current 2026-07-28 clients while retaining compatibility with 2025-era clients. MCP protocol connections and HTTP protocol sessions keep separate transport state, but all share the server's one warm codegraph analysis session for the configured root.
193
-
194
- - `mcp serve` warms the base session cache during startup by default, so a cold discovery-and-build cost lands on server startup rather than the first `tools/call`.
195
- - Pass `--no-warmup` to start lazily instead, or `--warmup-symbols` to also build the detailed symbol graph before serving.
196
- - Tool schemas reject unknown fields; each protocol session caps tool concurrency at 4 with a retryable busy error.
197
- - HTTP request bodies time out after 30 seconds; idle HTTP protocol sessions are evicted with a bounded session count.
198
- - Cancellation responds to the caller promptly but retains the occupied slot until shared work settles, so abandoned calls cannot bypass that resource bound.
199
- - Concurrent `refresh_index` calls serialize and honor each request's requested warmup mode.
200
-
201
- On the first `tools/call`, codegraph can emit `notifications/message` and, when the request includes `_meta.progressToken`, `notifications/progress` before the final result. Stdio carries them inline, and modern Streamable HTTP clients that accept `text/event-stream` receive them as a stream until the terminal result frame.
202
- HTTP enforces Host and Origin policies. A missing `Origin` is accepted for non-browser clients; unapproved, malformed, and opaque origins are rejected. This is not authentication: binding `--host` to a non-loopback address exposes an unauthenticated endpoint intended only for trusted networks or containers.
203
- For a reusable local HTTP server, run `codegraph server start --root .`, inspect it with `codegraph server status --root . --json`, and shut it down with `codegraph server stop --root .`. The lifecycle wrapper serializes project changes and writes `.codegraph/server.json` only after a challenged `/health` response proves the root, process, and startup time; its secret remains in the per-user Codegraph state directory, outside the project and separate from package files and compiler cache data. It defaults to `127.0.0.1:7331`, accepts `--startup-timeout-ms <1-86400000>` for warmups longer than 15 seconds, and writes startup diagnostics to `.codegraph/server.log`; add `--json` for `status: "started"`, registry fields, and update state.
204
- For stdio lifecycle control, pass `--idle-timeout-ms <milliseconds>`; `0` disables the timer and the option is rejected with HTTP `--port` transport.
205
-
206
- Use `refactor_plan` with flat `handle`, optional `renameTo`, independent optional `maxReferences`, `maxCallers`, and `maxHierarchy` bounds from 0 to 500, and optional `includeSource`. It reuses the configured server root and one session snapshot, returns portable targets and structured tool-call follow-ups even for exact internal review handles, exposes unsupported implementation sections in `sectionIssues`, preserves nested `rename.safe`, and never writes.
207
- Use `workspace_symbols` for deterministic symbol identities and exact ranges; use `search` when paths, prose, SQL, snippets, or graph evidence should participate.
208
- Use `type_hierarchy` with `direction: "supertypes" | "subtypes"` and `implementations` with portable symbol handles for repeated hierarchy queries; schemas are flat and use the same 10-depth and 500-result caps as the CLI.
209
- `refs` and `file_deps` collection limits default to 25 and cap at 500. `query_sqlite` row limits default to 100 and cap at 500 (`src/sqlite/rowBounds.ts`); its 10-second deadline can reject a long-running query, and concurrent calls can temporarily fail while an expired native step completes its bounded cleanup.
210
-
211
- Use `calls` with `direction: "callers" | "callees"` and portable callable handles for repeated call hierarchy queries. The flat schema accepts `handle`, `direction`, `depth`, `limit`, and `includeHeuristic`, reuses the MCP freshness gate, and caps depth at 5 and symbols at 500; current results remain semantic-only.
212
- Use `file_deps` with `direction: "deps" | "rdeps"` for file-level dependency queries. Its `file` field accepts an exact `file::symbol` path or portable `symbol:` handle and resolves either to the declaring file; use `calls` for symbol-level relationships. `refs` and `file_deps` pair their collections with `limit`, `totalSeen`, `truncated`, and `omitted`; when `truncated` is true the result is a capped prefix, so rerun with a higher `limit` instead of treating it as complete. MCP `review` is bounded for transport: collections are capped at the response's `limits` with exact `omittedCounts`, while `summary` totals always describe the full report.
213
- Use `rename_preview` with `handle`, `newName`, optional boolean inclusion fields, and optional `maxEdits`. It remains available in read-only mode, reuses the MCP session, never changes files, and has no apply counterpart.
214
-
215
- Keep live and indexed evidence distinct:
216
-
217
- - `get_file` returns bounded live bytes with `offset`, `limit`, and `maxBytes`; continue at `page.nextOffset`.
218
- - Set `allowSensitive: true` only for intentional sensitive reads.
219
- - Set `includeGraphContext: true` only when freshness-backed context is needed; importers, imports, and symbols are each capped at 100.
220
- - Plain `get_file` freshness does not gate live bytes.
221
- - After indexed calls, check `freshness` before trusting graph or semantic context. `refreshed` means codegraph rebuilt; `stale` includes a reason and bounded changed-file metadata.
222
- - Run `refresh_index` before `artifact_build` when the index is stale. Artifact writes refuse stale snapshots.
223
- - After an install or codegraph update, restart or reload the owning MCP client. `codegraph doctor --json` diagnoses package/native version identity; `refresh_index` refreshes repository state only and does not reload MCP code or tools.
224
-
225
- ## Agent Setup and Project Lifecycle
226
-
227
- Run the guided installer interactively to detect clients, preview exact actions, and confirm once. Use `--all` to configure the complete current catalog without detection:
228
-
229
- ```bash
230
- codegraph install
231
- codegraph install --target codex,claude --dry-run
232
- codegraph install --print-config codex
233
- codegraph install --target codex,claude --yes
234
- codegraph install --target codex --yes --force
235
- codegraph install --all --dry-run
236
- codegraph install --all --yes
237
- codegraph uninstall --target codex --yes
238
- ```
239
-
240
- Use `codegraph version` to inspect package identity and `codegraph skill doctor` to inspect bundled skill targets.
241
-
242
- Interactive confirmation accepts only `y` or `yes` and defaults to no. Noninteractive writes require `--yes`. `--all` is install-only, configures `codex`, `claude`, `cursor`, `gemini`, `opencode`, `omp`, `kilo`, and `agents`, and cannot be combined with target selection, `--detect`, or `--print-config`.
243
-
244
- Compatible JSON MCP entries and equivalent unmarked Codex tables are preserved byte-for-byte. Kilo JSONC comments and unrelated settings remain intact. Divergent codegraph entries are collision-reported without exposing configuration values.
245
-
246
- The installer manages codegraph-owned MCP entries, skill payloads, and marker files; uninstall removes only recognized codegraph-owned content. Existing user-owned `SKILL.md` files are preserved unless an ownership marker and known payload match, or `--force` is passed.
247
-
248
- Lifecycle commands manage `.codegraph/manifest.json`; shared server commands separately manage `.codegraph/server.json` and `.codegraph/server.log`, and other commands do not require the manifest:
51
+ Start with the compact review report:
249
52
 
250
53
  ```bash
251
- codegraph init --root .
252
- codegraph status --root . --json
253
- codegraph sync --root .
254
- codegraph uninit --root .
255
- # Opt out only when initializing
256
- codegraph init --root . --no-update-gitignore
257
- codegraph sync --root . --init --no-update-gitignore
54
+ codegraph review
55
+ codegraph review --base origin/main --head HEAD
258
56
  ```
259
57
 
260
- `init` and `sync --init` use Git's effective ignore semantics before lifecycle hashing. When the untracked manifest is not already ignored, they append exactly `.codegraph/` to the resolved root's `.gitignore`; effective parent/global/info excludes are honored, tracked manifests are left unchanged with a warning, and non-Git roots are not modified.
261
-
262
- Use `--no-update-gitignore` to opt out during `init` or `sync --init`; ordinary `sync` never updates ignore policy. `uninit` preserves `.codegraph/server.json`, `.codegraph/server.log`, and `.codegraph/cache/` even with `--force`, so stop a shared server explicitly; it leaves the root rule, while `init` and `sync` may warm or update `.codegraph/cache/index-v1/`. An existing `.codegraph-cache/` directory migrates automatically on the next run.
263
-
264
- Lifecycle commands accept either one positional project path or `--root <path>`, never both. Automatic ignore updates are bound to that same resolved project root.
265
-
266
- ## Installation
267
-
268
- For normal CLI and MCP use, install from public npm with Node.js 22.16 or newer. Disk cache uses Node's standard-library `node:sqlite` module; builds below 22.16 may load it without the statement APIs Codegraph needs and then disable disk cache after one warning.
269
-
270
- ```bash
271
- npm install -g @lzehrung/codegraph
272
- codegraph doctor
273
- codegraph install --all --dry-run
274
- codegraph install --all --yes
275
- ```
276
-
277
- Public npm installs need no GitHub token or `@lzehrung` registry mapping. Do not suggest the unscoped `codegraph` package. If `.npmrc` still maps `@lzehrung` to `https://npm.pkg.github.com`, remove or replace that legacy mapping; npm otherwise selects GitHub Packages instead of current public releases.
278
-
279
- Published installs resolve the optional native runtime when a compatible artifact exists; otherwise codegraph reports reduced graph-only and regex recovery behavior rather than semantic parity.
280
-
281
- For library or API consumers, use only the scoped packages:
282
-
283
- - slim library install: `@lzehrung/codegraph-core`
284
- - agent-shaped APIs: `@lzehrung/codegraph/agent` or `@lzehrung/codegraph-core/agent`
285
- - MCP handlers/server: `@lzehrung/codegraph/mcp`
286
- - optional native runtime: `@lzehrung/codegraph-native`
287
-
288
- No Node.js or npm? The preview standalone archive is self-contained: it bundles Node.js, production dependencies, the matching native runtime, and the codegraph skill.
289
-
290
- ```powershell
291
- irm https://github.com/lzehrung/codegraph/releases/latest/download/install.ps1 | iex
292
- ```
293
-
294
- ```bash
295
- curl -fsSL https://github.com/lzehrung/codegraph/releases/latest/download/install.sh | sh
296
- ```
297
-
298
- The standalone Linux archives require glibc. On musl Linux, use the package or source installation path instead. The bootstrap previews its target and paths, then confirms interactively or requires `-Yes`/`--yes` for noninteractive writes. It verifies the selected archive against release `SHA256SUMS`, rejects unsafe entries, installs under a versioned user-owned root, and records the prior version; pin or roll back with `./install.ps1 -Version VERSION` or `sh ./install.sh --version VERSION`. This channel is checksummed preview content, not a signed release claim.
299
-
300
- On Windows, installed releases load native code from `%LOCALAPPDATA%\codegraph\native-cache\v1`. The first upgrade from an older direct-loading release requires closing codegraph MCP clients once, running `npm install -g @lzehrung/codegraph@latest`, and restarting the clients.
301
-
302
- Use `codegraph doctor` to inspect `native.origin`, cache fallback errors, stale `.codegraph-*` npm retirement siblings, and installed-versus-running version drift. Do not delete reported paths or kill Node/IDE processes automatically; restart the owning client explicitly, and only clean obsolete cache entries after every process using them has stopped.
58
+ These review staged and unstaged edits, and branch changes, respectively.
59
+ MCP `review` and `impact` require explicit `base` and `head`.
60
+ Use `codegraph impact --base HEAD --head WORKTREE` for wider dependency impact.
61
+ Review and impact ranges select changes, not the indexed project scope.
62
+
63
+ Get candidate test paths with `codegraph affected --base HEAD --head WORKTREE --quiet`, then run the relevant tests.
64
+
65
+ ### Plan a refactor
66
+
67
+ Resolve the symbol, then inspect `refs`, callers, or implementations.
68
+ Use `codegraph refactor-plan <handle>` / MCP `refactor_plan` for references, calls, hierarchy, and candidate tests from one snapshot.
69
+ For renames, use `codegraph rename-preview <target> <new-name> --json` / MCP `rename_preview`, or add `--rename <new-name>` to `refactor-plan`.
70
+
71
+ These tools do not edit source.
72
+ Treat `safe: false` (nested `rename.safe` in refactor plans), conflicts, unsafe sites, omissions, and `sectionIssues` as blockers until checked.
73
+ Filename results are suggestions only.
74
+
75
+ ## Keep results small and check their limits
76
+
77
+ - Use readable CLI output for direct reading; `--json` for exact fields, ranges, handles, or tool chaining. Do not parse display text.
78
+ - Use narrow queries and small limits. `codegraph search --no-snippets` avoids source you will read separately.
79
+ - Check `truncated`, `omitted`, and `omittedCounts`. A capped result is incomplete; narrow the query or raise its limit.
80
+ - For indexed text search, inspect `candidateCounts.indexedTextChunks` and `omittedCounts.indexedTextChunks` separately from final `omittedCounts.results`; a true `candidateCounts.indexedTextChunksLowerBound` means the candidate counts are incomplete.
81
+ - Dependency, call, and type hierarchy queries default to depth 1. Increase depth for transitive results.
82
+ - For `file` / `get_file`, offsets are 1-based; continue at `page.nextOffset`. Request indexed context with `--include-graph-context` / `includeGraphContext: true`.
83
+ - Calls and type relationships are proven indexed edges, not complete runtime coverage. Missing edges do not prove absence.
84
+ - Check backend warnings and `analysis` when present. `mixed` or `reduced` analysis has weaker symbol coverage.
85
+ - Duplicate matches, candidate tests, and compatibility hints are leads. Verify behavior with focused tests or execution.
86
+
87
+ ## Scope, freshness, and sensitive files
88
+
89
+ - CLI `--root` sets the project boundary. Use project-relative paths; MCP uses the root fixed at server startup.
90
+ - Config globs are project-root-relative; CLI `--include-glob` / `--ignore-glob` filters are relative to each scan root. Use `--no-gitignore` only for deliberately included ignored files.
91
+ - Current-state CLI queries reuse and validate the disk index. `init`, `index`, and `sync` are not prerequisites.
92
+ - Check MCP `freshness`; on `stale`, run `refresh_index` and repeat the query. `artifact_build` requires fresh state and write access.
93
+ - Plain `get_file` / `codegraph file` reads live bytes; optional indexed context can be stale.
94
+ - Recognized sensitive files return summaries or metadata. Enable `--allow-sensitive` / `allowSensitive: true` only for deliberate raw access.
95
+
96
+ ## Other tasks and recovery
97
+
98
+ - Architecture checks: `codegraph inspect`, `codegraph hotspots`, `codegraph cycles`, `codegraph unresolved`, and `codegraph apisurface`.
99
+ - Duplicate cleanup: `codegraph duplicates --root . ./src --profile cleanup`. Local Markdown links: `codegraph links --json`.
100
+ - Specialized reads: `codegraph grep --query` for syntax trees, `codegraph chunk` for embeddings, and `codegraph dumpmod` for indexed module data.
101
+ - Compare architecture across revisions: `codegraph drift` or `codegraph graph-delta`.
102
+ - Export graphs with `codegraph graph --json`; `codegraph viewer` is for people. Create bundles with `codegraph artifact build` / MCP `artifact_build`; query SQLite exports with `codegraph sql` / MCP `query_sqlite`.
103
+ - If MCP startup or transport fails, do not keep retrying that server. Run `codegraph doctor` and use the CLI for the session.
104
+ - First CLI queries may build an index; progress goes to stderr. Use `codegraph orient --report` to diagnose index costs.
105
+ - After a Codegraph update, restart or reload the owning MCP client. `refresh_index` refreshes project state, not running tool code.
106
+ - CLI exit `1` can mean findings, no target, or a runtime failure: read the output. Exit `2` means invalid usage or input.
107
+ - Preview setup with `codegraph install --dry-run`. Do not overwrite user config, delete reported cache paths, or stop unrelated processes automatically.
108
+
109
+ ## Look up details only when needed
110
+
111
+ Use `codegraph help <command>` for flags and `codegraph help advanced` for the full catalog.
112
+ Use mounted MCP schemas for exact field names and limits.
113
+ The CLI package is `@lzehrung/codegraph`, not the unscoped `codegraph` package.
114
+
115
+ - [CLI reference](https://github.com/lzehrung/codegraph/blob/main/docs/cli.md)
116
+ - [MCP reference and server setup](https://github.com/lzehrung/codegraph/blob/main/docs/mcp.md)
117
+ - [Installation](https://github.com/lzehrung/codegraph/blob/main/docs/installation.md)
118
+ - [Agent workflows and library sessions](https://github.com/lzehrung/codegraph/blob/main/docs/agent-workflows.md)
@@ -0,0 +1,28 @@
1
+ import { type CallHierarchyDirection } from "../indexer/call-hierarchy.js";
2
+ import type { BuildOptions } from "../indexer/types.js";
3
+ import type { SemanticLocation, SemanticProvenance, SemanticResponseEnvelope, SemanticSymbol } from "./semantic.js";
4
+ import { type AgentSession } from "./session.js";
5
+ export type CallHierarchyRequest = {
6
+ root: string;
7
+ handle: string;
8
+ depth?: number;
9
+ limit?: number;
10
+ includeHeuristic?: boolean;
11
+ buildOptions?: BuildOptions;
12
+ };
13
+ export type CallHierarchyEntry = {
14
+ symbol: SemanticSymbol;
15
+ callsites: SemanticLocation[];
16
+ depth: number;
17
+ provenance: SemanticProvenance;
18
+ };
19
+ export type CallHierarchyResponse = SemanticResponseEnvelope & {
20
+ target: SemanticSymbol;
21
+ direction: CallHierarchyDirection;
22
+ entries: CallHierarchyEntry[];
23
+ };
24
+ export declare function findCallers(request: CallHierarchyRequest): Promise<CallHierarchyResponse>;
25
+ export declare function findCallees(request: CallHierarchyRequest): Promise<CallHierarchyResponse>;
26
+ export declare function findCallersWithSession(session: AgentSession, request: CallHierarchyRequest): Promise<CallHierarchyResponse>;
27
+ export declare function findCalleesWithSession(session: AgentSession, request: CallHierarchyRequest): Promise<CallHierarchyResponse>;
28
+ //# sourceMappingURL=call-hierarchy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"call-hierarchy.d.ts","sourceRoot":"","sources":["../../src/agent/call-hierarchy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpH,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,kBAAkB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,GAAG;IAC7D,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,sBAAsB,CAAC;IAClC,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,wBAAsB,WAAW,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAE/F;AAED,wBAAsB,WAAW,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAE/F;AAED,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,qBAAqB,CAAC,CAEhC;AAED,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,qBAAqB,CAAC,CAEhC"}
@@ -0,0 +1,82 @@
1
+ import { findCallHierarchy } from "../indexer/call-hierarchy.js";
2
+ import { normalizeAgentFilePath } from "./normalize.js";
3
+ import { requireSemanticSymbol, semanticSymbolFromDef } from "./semantic-symbols.js";
4
+ import { createAgentSession, } from "./session.js";
5
+ import { buildSymbolLookup } from "./symbol-lookup.js";
6
+ export async function findCallers(request) {
7
+ return await runCallHierarchy(createSession(request), request, "incoming");
8
+ }
9
+ export async function findCallees(request) {
10
+ return await runCallHierarchy(createSession(request), request, "outgoing");
11
+ }
12
+ export async function findCallersWithSession(session, request) {
13
+ return await runCallHierarchy(session, request, "incoming");
14
+ }
15
+ export async function findCalleesWithSession(session, request) {
16
+ return await runCallHierarchy(session, request, "outgoing");
17
+ }
18
+ async function runCallHierarchy(session, request, direction) {
19
+ const freshness = session.checkFreshness ? await session.checkFreshness() : { state: "fresh" };
20
+ const snapshot = await session.loadProject();
21
+ const resolved = requireSemanticSymbol(snapshot, request.handle);
22
+ const result = findCallHierarchy(snapshot.symbolGraph, resolved.id, direction, {
23
+ ...(request.depth !== undefined ? { depth: request.depth } : {}),
24
+ ...(request.limit !== undefined ? { limit: request.limit } : {}),
25
+ });
26
+ if (result.status !== "ok")
27
+ throw new Error(result.reason);
28
+ const lookup = buildSymbolLookup(snapshot);
29
+ const provenance = callProvenance(snapshot);
30
+ const entries = result.entries.flatMap((match) => {
31
+ const def = lookup.defById.get(match.symbolId);
32
+ if (!def)
33
+ return [];
34
+ return [
35
+ {
36
+ symbol: semanticSymbolFromDef(snapshot, def),
37
+ callsites: match.callsites.map((site) => ({
38
+ file: normalizeAgentFilePath(snapshot.root, site.file),
39
+ range: site.range,
40
+ })),
41
+ depth: match.depth,
42
+ provenance,
43
+ },
44
+ ];
45
+ });
46
+ return {
47
+ ...callResponseEnvelope(snapshot, freshness, result.limit, result.callsiteLimit, {
48
+ symbols: result.omittedSymbols,
49
+ callsites: result.omittedCallsites,
50
+ unresolvedSites: result.unresolvedEdges,
51
+ }),
52
+ target: semanticSymbolFromDef(snapshot, resolved.def),
53
+ direction,
54
+ entries,
55
+ };
56
+ }
57
+ function createSession(request) {
58
+ return createAgentSession({
59
+ root: request.root,
60
+ ...(request.buildOptions ? { buildOptions: request.buildOptions } : {}),
61
+ });
62
+ }
63
+ function callProvenance(snapshot) {
64
+ const reduced = snapshot.analysis.mode === "reduced";
65
+ return {
66
+ capability: reduced ? "graph" : "semantic",
67
+ backend: snapshot.analysis.backend,
68
+ confidence: reduced ? "medium" : "high",
69
+ ...(reduced ? { reason: snapshot.analysis.label } : {}),
70
+ };
71
+ }
72
+ function callResponseEnvelope(snapshot, freshness, symbolLimit, callsiteLimit, omittedCounts) {
73
+ return {
74
+ schemaVersion: 1,
75
+ root: snapshot.root,
76
+ analysis: snapshot.analysis,
77
+ freshness,
78
+ limits: { symbols: symbolLimit, callsitesPerSymbol: callsiteLimit },
79
+ omittedCounts,
80
+ };
81
+ }
82
+ //# sourceMappingURL=call-hierarchy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"call-hierarchy.js","sourceRoot":"","sources":["../../src/agent/call-hierarchy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA+B,MAAM,8BAA8B,CAAC;AAE9F,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EACL,kBAAkB,GAInB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAwBvD,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,OAA6B;IAC7D,OAAO,MAAM,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,OAA6B;IAC7D,OAAO,MAAM,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,OAAqB,EACrB,OAA6B;IAE7B,OAAO,MAAM,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,OAAqB,EACrB,OAA6B;IAE7B,OAAO,MAAM,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;AAC9D,CAAC;AAED,KAAK,UAAU,gBAAgB,CAC7B,OAAqB,EACrB,OAA6B,EAC7B,SAAiC;IAEjC,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAgB,EAAE,CAAC;IACxG,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,WAAW,EAAE,CAAC;IAC7C,MAAM,QAAQ,GAAG,qBAAqB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACjE,MAAM,MAAM,GAAG,iBAAiB,CAAC,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE;QAC7E,GAAG,CAAC,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChE,GAAG,CAAC,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACjE,CAAC,CAAC;IACH,IAAI,MAAM,CAAC,MAAM,KAAK,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE3D,MAAM,MAAM,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,UAAU,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAwB,EAAE;QACrE,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC/C,IAAI,CAAC,GAAG;YAAE,OAAO,EAAE,CAAC;QACpB,OAAO;YACL;gBACE,MAAM,EAAE,qBAAqB,CAAC,QAAQ,EAAE,GAAG,CAAC;gBAC5C,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;oBACxC,IAAI,EAAE,sBAAsB,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;oBACtD,KAAK,EAAE,IAAI,CAAC,KAAK;iBAClB,CAAC,CAAC;gBACH,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,UAAU;aACX;SACF,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,GAAG,oBAAoB,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,aAAa,EAAE;YAC/E,OAAO,EAAE,MAAM,CAAC,cAAc;YAC9B,SAAS,EAAE,MAAM,CAAC,gBAAgB;YAClC,eAAe,EAAE,MAAM,CAAC,eAAe;SACxC,CAAC;QACF,MAAM,EAAE,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC;QACrD,SAAS;QACT,OAAO;KACR,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,OAA6B;IAClD,OAAO,kBAAkB,CAAC;QACxB,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACxE,CAAC,CAAC;AACL,CAAC;AAED,SAAS,cAAc,CAAC,QAA8B;IACpD,MAAM,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS,CAAC;IACrD,OAAO;QACL,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU;QAC1C,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,OAAO;QAClC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM;QACvC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACxD,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAC3B,QAA8B,EAC9B,SAA+B,EAC/B,WAAmB,EACnB,aAAqB,EACrB,aAAqC;IAErC,OAAO;QACL,aAAa,EAAE,CAAC;QAChB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;QAC3B,SAAS;QACT,MAAM,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,aAAa,EAAE;QACnE,aAAa;KACd,CAAC;AACJ,CAAC"}