code-graph-rag 0.0.345__tar.gz → 0.0.484__tar.gz

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 (288) hide show
  1. {code_graph_rag-0.0.345/code_graph_rag.egg-info → code_graph_rag-0.0.484}/PKG-INFO +23 -6
  2. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/PYPI_README.md +14 -4
  3. code_graph_rag-0.0.484/README.md +197 -0
  4. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484/code_graph_rag.egg-info}/PKG-INFO +23 -6
  5. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/code_graph_rag.egg-info/SOURCES.txt +67 -0
  6. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/code_graph_rag.egg-info/requires.txt +10 -1
  7. code_graph_rag-0.0.484/codebase_rag/__init__.py +1 -0
  8. code_graph_rag-0.0.484/codebase_rag/analyzers/__init__.py +4 -0
  9. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_analyzer.py +200 -0
  10. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/c.yaml +31 -0
  11. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/cpp.yaml +34 -0
  12. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/csharp.yaml +46 -0
  13. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/dart.yaml +28 -0
  14. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/go.yaml +25 -0
  15. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/java.yaml +37 -0
  16. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/javascript.yaml +28 -0
  17. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/lua.yaml +56 -0
  18. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/php.yaml +31 -0
  19. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/python.yaml +49 -0
  20. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/ruby.yaml +29 -0
  21. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/rust.yaml +27 -0
  22. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/scala.yaml +25 -0
  23. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/tsx.yaml +28 -0
  24. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/patterns/typescript.yaml +28 -0
  25. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/c.yaml +35 -0
  26. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/cpp.yaml +53 -0
  27. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/csharp.yaml +83 -0
  28. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/dart.yaml +45 -0
  29. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/go.yaml +127 -0
  30. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/java.yaml +57 -0
  31. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/javascript.yaml +35 -0
  32. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/lua.yaml +47 -0
  33. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/php.yaml +59 -0
  34. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/python.yaml +71 -0
  35. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/ruby.yaml +65 -0
  36. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/rust.yaml +78 -0
  37. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/scala.yaml +34 -0
  38. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/tsx.yaml +35 -0
  39. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/security/typescript.yaml +35 -0
  40. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/c.yaml +20 -0
  41. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/cpp.yaml +24 -0
  42. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/csharp.yaml +27 -0
  43. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/dart.yaml +29 -0
  44. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/go.yaml +30 -0
  45. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/java.yaml +32 -0
  46. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/javascript.yaml +22 -0
  47. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/lua.yaml +35 -0
  48. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/php.yaml +24 -0
  49. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/python.yaml +33 -0
  50. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/ruby.yaml +40 -0
  51. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/rust.yaml +23 -0
  52. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/scala.yaml +22 -0
  53. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/tsx.yaml +22 -0
  54. code_graph_rag-0.0.484/codebase_rag/analyzers/ast_grep_rules/smells/typescript.yaml +22 -0
  55. code_graph_rag-0.0.484/codebase_rag/ast_cache.py +92 -0
  56. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/capture.py +5 -6
  57. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/cli.py +162 -29
  58. code_graph_rag-0.0.484/codebase_rag/cli_help.py +238 -0
  59. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/config.py +47 -17
  60. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/__init__.py +2 -1
  61. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_cpp.py +74 -41
  62. code_graph_rag-0.0.484/codebase_rag/constants/ast_csharp.py +314 -0
  63. code_graph_rag-0.0.484/codebase_rag/constants/ast_dart.py +174 -0
  64. code_graph_rag-0.0.484/codebase_rag/constants/ast_go.py +86 -0
  65. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_java.py +38 -28
  66. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_js.py +70 -55
  67. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_lua.py +3 -5
  68. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_nodes.py +31 -35
  69. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_php.py +6 -7
  70. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_python.py +32 -23
  71. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_rust.py +54 -54
  72. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/ast_scala.py +4 -5
  73. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/build.py +1 -4
  74. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/cli.py +9 -23
  75. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/core.py +22 -37
  76. code_graph_rag-0.0.484/codebase_rag/constants/deadcode_roots.py +224 -0
  77. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/deps.py +7 -15
  78. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/fqn_specs.py +37 -60
  79. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/graph.py +114 -53
  80. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/health.py +1 -1
  81. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/lang_tooling.py +1 -10
  82. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/languages.py +64 -23
  83. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/mcp.py +10 -10
  84. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/providers.py +28 -9
  85. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/security.py +8 -9
  86. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/constants/stdlib_types.py +37 -38
  87. code_graph_rag-0.0.484/codebase_rag/constants/structural.py +69 -0
  88. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/cypher_queries.py +78 -16
  89. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/dead_code.py +131 -129
  90. code_graph_rag-0.0.484/codebase_rag/embedder.py +329 -0
  91. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/exceptions.py +24 -9
  92. code_graph_rag-0.0.484/codebase_rag/function_registry.py +264 -0
  93. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/graph_audit.py +17 -17
  94. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/graph_updater.py +906 -512
  95. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/language_spec.py +47 -37
  96. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/logs.py +131 -60
  97. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/main.py +120 -21
  98. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/mcp/server.py +80 -5
  99. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/mcp/tools.py +116 -27
  100. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/models.py +7 -0
  101. code_graph_rag-0.0.484/codebase_rag/parser_fingerprint.py +70 -0
  102. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parser_loader.py +142 -40
  103. code_graph_rag-0.0.484/codebase_rag/parsers/ast_grep_patterns/ruby.yaml +21 -0
  104. code_graph_rag-0.0.484/codebase_rag/parsers/ast_grep_tier.py +278 -0
  105. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/call_processor.py +2322 -868
  106. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/call_resolver.py +523 -392
  107. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/cpp_modules.py +3 -3
  108. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/identity.py +3 -3
  109. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/method_override.py +53 -54
  110. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/mixin.py +493 -225
  111. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/parent_extraction.py +125 -62
  112. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/relationships.py +25 -24
  113. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/utils.py +4 -4
  114. code_graph_rag-0.0.484/codebase_rag/parsers/cpp/preproc_recovery.py +256 -0
  115. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/cpp/type_inference.py +122 -81
  116. code_graph_rag-0.0.484/codebase_rag/parsers/cpp/utils.py +780 -0
  117. code_graph_rag-0.0.484/codebase_rag/parsers/cpp_frontend/constants.py +44 -0
  118. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/cpp_frontend/frontend.py +182 -127
  119. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/cpp_frontend/qn.py +22 -22
  120. code_graph_rag-0.0.484/codebase_rag/parsers/csharp/type_inference.py +1362 -0
  121. code_graph_rag-0.0.484/codebase_rag/parsers/csharp/utils.py +273 -0
  122. code_graph_rag-0.0.484/codebase_rag/parsers/csharp_frontend/__init__.py +23 -0
  123. code_graph_rag-0.0.484/codebase_rag/parsers/csharp_frontend/frontend.py +390 -0
  124. code_graph_rag-0.0.484/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.cs +583 -0
  125. code_graph_rag-0.0.484/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.csproj +36 -0
  126. code_graph_rag-0.0.484/codebase_rag/parsers/csharp_frontend/roslyn/Program.cs +22 -0
  127. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/dart/__init__.py +8 -0
  128. code_graph_rag-0.0.484/codebase_rag/parsers/dart/type_inference.py +262 -0
  129. code_graph_rag-0.0.484/codebase_rag/parsers/dart/utils.py +324 -0
  130. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/definition_processor.py +153 -80
  131. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/dependency_parser.py +8 -8
  132. code_graph_rag-0.0.484/codebase_rag/parsers/endpoint_prefixes.py +490 -0
  133. code_graph_rag-0.0.484/codebase_rag/parsers/endpoint_routes.py +817 -0
  134. code_graph_rag-0.0.484/codebase_rag/parsers/endpoints.py +601 -0
  135. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/export_detection.py +111 -64
  136. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/factory.py +12 -1
  137. code_graph_rag-0.0.484/codebase_rag/parsers/flow_access/processor.py +2065 -0
  138. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/function_ingest.py +575 -225
  139. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/go/__init__.py +2 -0
  140. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/go/module_paths.py +11 -12
  141. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/go/type_inference.py +28 -28
  142. code_graph_rag-0.0.484/codebase_rag/parsers/go/utils.py +93 -0
  143. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/import_processor.py +205 -197
  144. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/io_access/__init__.py +14 -0
  145. code_graph_rag-0.0.484/codebase_rag/parsers/io_access/constants.py +83 -0
  146. code_graph_rag-0.0.484/codebase_rag/parsers/io_access/descriptor.py +405 -0
  147. code_graph_rag-0.0.484/codebase_rag/parsers/io_access/extract.py +566 -0
  148. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/io_access/models.py +17 -0
  149. code_graph_rag-0.0.484/codebase_rag/parsers/io_access/processor.py +1983 -0
  150. code_graph_rag-0.0.484/codebase_rag/parsers/io_access/registry.py +988 -0
  151. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/java/method_resolver.py +58 -58
  152. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/java/type_inference.py +8 -7
  153. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/java/type_resolver.py +18 -18
  154. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/java/utils.py +24 -24
  155. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/java/variable_analyzer.py +16 -16
  156. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/js_ts/ingest.py +31 -34
  157. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/js_ts/module_system.py +13 -12
  158. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/js_ts/type_inference.py +4 -4
  159. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/js_ts/utils.py +2 -1
  160. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/py/ast_analyzer.py +25 -25
  161. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/py/expression_analyzer.py +26 -32
  162. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/py/type_inference.py +7 -8
  163. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/py/utils.py +22 -22
  164. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/py/variable_analyzer.py +24 -24
  165. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/python_source_roots.py +22 -25
  166. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/rs/type_inference.py +65 -66
  167. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/rs/utils.py +15 -15
  168. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/stdlib_extractor.py +7 -8
  169. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/structure_processor.py +20 -6
  170. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/type_inference.py +225 -75
  171. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/utils.py +177 -121
  172. code_graph_rag-0.0.484/codebase_rag/path_filters.py +23 -0
  173. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/prompts.py +16 -4
  174. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/providers/base.py +7 -7
  175. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/providers/litellm.py +1 -2
  176. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/readme_sections.py +29 -0
  177. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/services/filtering.py +7 -4
  178. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/services/graph_service.py +69 -8
  179. code_graph_rag-0.0.484/codebase_rag/services/resource_cleanup.py +44 -0
  180. code_graph_rag-0.0.484/codebase_rag/services/usage_cost.py +32 -0
  181. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/stack/cli.py +11 -6
  182. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/stack/constants.py +2 -0
  183. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/stack/health.py +3 -2
  184. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/stack/manager.py +4 -8
  185. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tool_errors.py +14 -9
  186. code_graph_rag-0.0.484/codebase_rag/tools/ast_grep_service.py +217 -0
  187. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/code_retrieval.py +41 -3
  188. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/file_editor.py +9 -3
  189. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/health_checker.py +1 -1
  190. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/language.py +18 -5
  191. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/semantic_search.py +55 -6
  192. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/shell_command.py +19 -9
  193. code_graph_rag-0.0.484/codebase_rag/tools/structural_editor.py +57 -0
  194. code_graph_rag-0.0.484/codebase_rag/tools/structural_search.py +46 -0
  195. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/tool_descriptions.py +50 -3
  196. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/types_defs.py +86 -19
  197. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/unixcoder.py +9 -9
  198. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/utils/dependencies.py +28 -1
  199. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/utils/path_utils.py +66 -16
  200. code_graph_rag-0.0.484/codebase_rag/vector_store.py +613 -0
  201. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/workspaces/cli.py +20 -7
  202. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/pyproject.toml +29 -12
  203. code_graph_rag-0.0.345/README.md +0 -1058
  204. code_graph_rag-0.0.345/codebase_rag/cli_help.py +0 -248
  205. code_graph_rag-0.0.345/codebase_rag/constants/ast_csharp.py +0 -243
  206. code_graph_rag-0.0.345/codebase_rag/constants/ast_dart.py +0 -68
  207. code_graph_rag-0.0.345/codebase_rag/constants/ast_go.py +0 -63
  208. code_graph_rag-0.0.345/codebase_rag/constants/deadcode_roots.py +0 -217
  209. code_graph_rag-0.0.345/codebase_rag/embedder.py +0 -223
  210. code_graph_rag-0.0.345/codebase_rag/parser_fingerprint.py +0 -44
  211. code_graph_rag-0.0.345/codebase_rag/parsers/cpp/preproc_recovery.py +0 -129
  212. code_graph_rag-0.0.345/codebase_rag/parsers/cpp/utils.py +0 -436
  213. code_graph_rag-0.0.345/codebase_rag/parsers/cpp_frontend/constants.py +0 -44
  214. code_graph_rag-0.0.345/codebase_rag/parsers/csharp/type_inference.py +0 -579
  215. code_graph_rag-0.0.345/codebase_rag/parsers/csharp/utils.py +0 -205
  216. code_graph_rag-0.0.345/codebase_rag/parsers/dart/utils.py +0 -81
  217. code_graph_rag-0.0.345/codebase_rag/parsers/flow_access/processor.py +0 -1247
  218. code_graph_rag-0.0.345/codebase_rag/parsers/go/utils.py +0 -63
  219. code_graph_rag-0.0.345/codebase_rag/parsers/io_access/constants.py +0 -72
  220. code_graph_rag-0.0.345/codebase_rag/parsers/io_access/descriptor.py +0 -289
  221. code_graph_rag-0.0.345/codebase_rag/parsers/io_access/extract.py +0 -203
  222. code_graph_rag-0.0.345/codebase_rag/parsers/io_access/processor.py +0 -1038
  223. code_graph_rag-0.0.345/codebase_rag/parsers/io_access/registry.py +0 -410
  224. code_graph_rag-0.0.345/codebase_rag/vector_store.py +0 -180
  225. code_graph_rag-0.0.345/codec/__init__.py +0 -0
  226. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/LICENSE +0 -0
  227. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/cgr/__init__.py +0 -0
  228. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/code_graph_rag.egg-info/dependency_links.txt +0 -0
  229. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/code_graph_rag.egg-info/entry_points.txt +0 -0
  230. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/code_graph_rag.egg-info/top_level.txt +0 -0
  231. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/cgr_state.py +0 -0
  232. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/decorators.py +0 -0
  233. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/docker-compose.yaml +0 -0
  234. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/graph_loader.py +0 -0
  235. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/mcp/__init__.py +0 -0
  236. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/mcp/client.py +0 -0
  237. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/__init__.py +0 -0
  238. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/__init__.py +0 -0
  239. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/class_ingest/node_type.py +0 -0
  240. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/cpp/__init__.py +0 -0
  241. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/cpp_frontend/__init__.py +0 -0
  242. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/csharp/__init__.py +0 -0
  243. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/flow_access/__init__.py +0 -0
  244. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/flow_access/constants.py +0 -0
  245. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/__init__.py +0 -0
  246. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/base.py +0 -0
  247. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/cpp.py +0 -0
  248. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/java.py +0 -0
  249. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/js_ts.py +0 -0
  250. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/lua.py +0 -0
  251. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/php.py +0 -0
  252. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/protocol.py +0 -0
  253. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/python.py +0 -0
  254. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/registry.py +0 -0
  255. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/handlers/rust.py +0 -0
  256. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/java/__init__.py +0 -0
  257. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/js_ts/__init__.py +0 -0
  258. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/lua/__init__.py +0 -0
  259. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/lua/type_inference.py +0 -0
  260. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/lua/utils.py +0 -0
  261. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/py/__init__.py +0 -0
  262. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/parsers/rs/__init__.py +0 -0
  263. {code_graph_rag-0.0.345/codebase_rag → code_graph_rag-0.0.484/codebase_rag/providers}/__init__.py +0 -0
  264. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/schema_builder.py +0 -0
  265. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/schemas.py +0 -0
  266. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/services/__init__.py +0 -0
  267. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/services/anthropic_token_counter.py +0 -0
  268. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/services/llm.py +0 -0
  269. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/services/protobuf_service.py +0 -0
  270. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/stack/__init__.py +0 -0
  271. {code_graph_rag-0.0.345/codebase_rag/providers → code_graph_rag-0.0.484/codebase_rag/tools}/__init__.py +0 -0
  272. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/codebase_query.py +0 -0
  273. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/directory_lister.py +0 -0
  274. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/file_reader.py +0 -0
  275. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/tools/file_writer.py +0 -0
  276. {code_graph_rag-0.0.345/codebase_rag/tools → code_graph_rag-0.0.484/codebase_rag/utils}/__init__.py +0 -0
  277. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/utils/fqn_resolver.py +0 -0
  278. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/utils/rich_markdown.py +0 -0
  279. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/utils/source_extraction.py +0 -0
  280. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/utils/token_utils.py +0 -0
  281. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/workspaces/__init__.py +0 -0
  282. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/workspaces/constants.py +0 -0
  283. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/workspaces/models.py +0 -0
  284. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codebase_rag/workspaces/storage.py +0 -0
  285. {code_graph_rag-0.0.345/codebase_rag/utils → code_graph_rag-0.0.484/codec}/__init__.py +0 -0
  286. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codec/schema_pb2.py +0 -0
  287. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/codec/schema_pb2.pyi +0 -0
  288. {code_graph_rag-0.0.345 → code_graph_rag-0.0.484}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-graph-rag
3
- Version: 0.0.345
3
+ Version: 0.0.484
4
4
  Summary: The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
5
5
  License-Expression: MIT
6
6
  Keywords: rag,retrieval-augmented-generation,knowledge-graph,code-analysis,tree-sitter,mcp,mcp-server,llm,graph-database,semantic-search,codebase,memgraph,developer-tools,monorepo
@@ -19,7 +19,7 @@ Requires-Python: >=3.12
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
21
  Requires-Dist: loguru>=0.7.3
22
- Requires-Dist: mcp>=1.25.0
22
+ Requires-Dist: mcp>=1.28.1
23
23
  Requires-Dist: pydantic-ai>=1.102.0
24
24
  Requires-Dist: pydantic-settings>=2.12.0
25
25
  Requires-Dist: pymgclient>=1.5.1
@@ -47,6 +47,8 @@ Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
47
47
  Requires-Dist: testcontainers>=4.9.0; extra == "test"
48
48
  Requires-Dist: libclang>=18.1.1; extra == "test"
49
49
  Requires-Dist: filelock>=3.12; extra == "test"
50
+ Requires-Dist: ast-grep-py>=0.44.0; extra == "test"
51
+ Requires-Dist: pyyaml>=6.0; extra == "test"
50
52
  Provides-Extra: treesitter-full
51
53
  Requires-Dist: tree-sitter-python>=0.23.6; extra == "treesitter-full"
52
54
  Requires-Dist: tree-sitter-javascript>=0.23.1; extra == "treesitter-full"
@@ -65,11 +67,16 @@ Provides-Extra: semantic
65
67
  Requires-Dist: qdrant-client>=1.9.0; extra == "semantic"
66
68
  Requires-Dist: torch>=2.6.0; extra == "semantic"
67
69
  Requires-Dist: transformers>=4.0.0; extra == "semantic"
70
+ Provides-Extra: milvus
71
+ Requires-Dist: pymilvus[milvus-lite]>=3.0.0; extra == "milvus"
72
+ Provides-Extra: ast-grep
73
+ Requires-Dist: ast-grep-py>=0.44.0; extra == "ast-grep"
74
+ Requires-Dist: pyyaml>=6.0; extra == "ast-grep"
68
75
  Dynamic: license-file
69
76
 
70
77
  # Code-Graph-RAG
71
78
 
72
- A graph-based RAG system that parses multi-language codebases with Tree-sitter, builds knowledge graphs in Memgraph, and enables natural language querying, editing, and optimization.
79
+ A graph-based RAG system that parses multi-language codebases with Tree-sitter, builds knowledge graphs in Memgraph, and enables natural language querying, editing, and optimisation.
73
80
 
74
81
  ## Install
75
82
 
@@ -77,7 +84,7 @@ A graph-based RAG system that parses multi-language codebases with Tree-sitter,
77
84
  pip install code-graph-rag
78
85
  ```
79
86
 
80
- With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C++, Lua):
87
+ With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart):
81
88
 
82
89
  ```bash
83
90
  pip install 'code-graph-rag[treesitter-full]'
@@ -89,6 +96,16 @@ With semantic code search (UniXcoder embeddings):
89
96
  pip install 'code-graph-rag[semantic]'
90
97
  ```
91
98
 
99
+ Qdrant is the default vector store for semantic search. To use Milvus Lite,
100
+ install `code-graph-rag[semantic,milvus]`, then set
101
+ `CGR_VECTOR_STORE_BACKEND=milvus` and `MILVUS_URI=./.milvus_code_embeddings.db`
102
+ before indexing.
103
+
104
+ To compute embeddings on an OpenAI-compatible endpoint (OpenAI, Ollama, vLLM)
105
+ instead of locally, set `CGR_EMBEDDING_PROVIDER=openai` with
106
+ `OPENAI_EMBEDDING_BASE_URL` and `OPENAI_EMBEDDING_MODEL`; torch and
107
+ transformers are then not required locally.
108
+
92
109
  ### Prerequisites
93
110
 
94
111
  - Python 3.12+
@@ -120,7 +137,7 @@ cgr index -o ./index-output --repo-path ./my-project
120
137
  cgr export -o graph.json
121
138
  ```
122
139
 
123
- **AI-guided optimization:**
140
+ **AI-guided optimisation:**
124
141
 
125
142
  ```bash
126
143
  cgr optimize python --repo-path ./my-project
@@ -220,7 +237,7 @@ Configure via `.env` or environment variables:
220
237
  |----------|---------|-------------|
221
238
  | `MEMGRAPH_HOST` | `localhost` | Memgraph hostname |
222
239
  | `MEMGRAPH_PORT` | `7687` | Memgraph port |
223
- | `ORCHESTRATOR_PROVIDER` | | Provider: `google`, `openai`, `ollama` |
240
+ | `ORCHESTRATOR_PROVIDER` | | Provider: `google`, `openai`, `anthropic`, `azure`, `ollama`, `minimax`, `litellm_proxy` |
224
241
  | `ORCHESTRATOR_MODEL` | | Model ID (e.g. `gpt-4o`, `gemini-2.5-pro`) |
225
242
  | `ORCHESTRATOR_API_KEY` | | API key for the provider (not needed for `ollama`) |
226
243
  | `CYPHER_PROVIDER` | | Provider for Cypher generation |
@@ -1,6 +1,6 @@
1
1
  # Code-Graph-RAG
2
2
 
3
- A graph-based RAG system that parses multi-language codebases with Tree-sitter, builds knowledge graphs in Memgraph, and enables natural language querying, editing, and optimization.
3
+ A graph-based RAG system that parses multi-language codebases with Tree-sitter, builds knowledge graphs in Memgraph, and enables natural language querying, editing, and optimisation.
4
4
 
5
5
  ## Install
6
6
 
@@ -8,7 +8,7 @@ A graph-based RAG system that parses multi-language codebases with Tree-sitter,
8
8
  pip install code-graph-rag
9
9
  ```
10
10
 
11
- With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C++, Lua):
11
+ With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart):
12
12
 
13
13
  ```bash
14
14
  pip install 'code-graph-rag[treesitter-full]'
@@ -20,6 +20,16 @@ With semantic code search (UniXcoder embeddings):
20
20
  pip install 'code-graph-rag[semantic]'
21
21
  ```
22
22
 
23
+ Qdrant is the default vector store for semantic search. To use Milvus Lite,
24
+ install `code-graph-rag[semantic,milvus]`, then set
25
+ `CGR_VECTOR_STORE_BACKEND=milvus` and `MILVUS_URI=./.milvus_code_embeddings.db`
26
+ before indexing.
27
+
28
+ To compute embeddings on an OpenAI-compatible endpoint (OpenAI, Ollama, vLLM)
29
+ instead of locally, set `CGR_EMBEDDING_PROVIDER=openai` with
30
+ `OPENAI_EMBEDDING_BASE_URL` and `OPENAI_EMBEDDING_MODEL`; torch and
31
+ transformers are then not required locally.
32
+
23
33
  ### Prerequisites
24
34
 
25
35
  - Python 3.12+
@@ -51,7 +61,7 @@ cgr index -o ./index-output --repo-path ./my-project
51
61
  cgr export -o graph.json
52
62
  ```
53
63
 
54
- **AI-guided optimization:**
64
+ **AI-guided optimisation:**
55
65
 
56
66
  ```bash
57
67
  cgr optimize python --repo-path ./my-project
@@ -151,7 +161,7 @@ Configure via `.env` or environment variables:
151
161
  |----------|---------|-------------|
152
162
  | `MEMGRAPH_HOST` | `localhost` | Memgraph hostname |
153
163
  | `MEMGRAPH_PORT` | `7687` | Memgraph port |
154
- | `ORCHESTRATOR_PROVIDER` | | Provider: `google`, `openai`, `ollama` |
164
+ | `ORCHESTRATOR_PROVIDER` | | Provider: `google`, `openai`, `anthropic`, `azure`, `ollama`, `minimax`, `litellm_proxy` |
155
165
  | `ORCHESTRATOR_MODEL` | | Model ID (e.g. `gpt-4o`, `gemini-2.5-pro`) |
156
166
  | `ORCHESTRATOR_API_KEY` | | API key for the provider (not needed for `ollama`) |
157
167
  | `CYPHER_PROVIDER` | | Provider for Cypher generation |
@@ -0,0 +1,197 @@
1
+ <div align="center">
2
+ <!-- Bitbucket strips <picture>/<source> tags, so we use a single light-mode <img>. Restore the theme-aware <picture> block below when the GitHub account is reinstated:
3
+ <picture>
4
+ <source srcset="assets/logo-dark-any.png" media="(prefers-color-scheme: dark)">
5
+ <source srcset="assets/logo-light-any.png" media="(prefers-color-scheme: light)">
6
+ <img src="assets/logo-dark-any.png" alt="Code-Graph-RAG Logo" width="480">
7
+ </picture>
8
+ -->
9
+ <img src="assets/logo-light-any.png" alt="Code-Graph-RAG Logo" width="480">
10
+
11
+ <p>
12
+ <!-- Badges below are commented out while the GitHub account is suspended. Restore them when the account is reinstated.
13
+ Stars/Forks: shields.io hits GitHub's API (returns "repo not found" for suspended accounts).
14
+ gitcgr: indexes from GitHub (shows "not indexed" while unavailable).
15
+ MseeP.ai: badge PNG ignores inline height on Bitbucket and renders as a full-size tile.
16
+ <a href="https://github.com/vitali87/code-graph-rag/stargazers">
17
+ <img src="https://img.shields.io/github/stars/vitali87/code-graph-rag?style=social" alt="GitHub stars" />
18
+ </a>
19
+ <a href="https://github.com/vitali87/code-graph-rag/network/members">
20
+ <img src="https://img.shields.io/github/forks/vitali87/code-graph-rag?style=social" alt="GitHub forks" />
21
+ </a>
22
+ -->
23
+ <a href="https://github.com/vitali87/code-graph-rag/actions/workflows/ci.yml">
24
+ <img src="https://img.shields.io/github/actions/workflow/status/vitali87/code-graph-rag/ci.yml?branch=main" alt="CI" />
25
+ </a>
26
+ <a href="https://codecov.io/gh/vitali87/code-graph-rag">
27
+ <img src="https://codecov.io/gh/vitali87/code-graph-rag/graph/badge.svg" alt="Codecov" />
28
+ </a>
29
+ <a href="https://sonarcloud.io/summary/overall?id=vitali87_code-graph-rag">
30
+ <img src="https://sonarcloud.io/api/project_badges/measure?project=vitali87_code-graph-rag&metric=alert_status" alt="Quality Gate Status" />
31
+ </a>
32
+ <!--
33
+ <a href="https://mseep.ai/app/vitali87-code-graph-rag">
34
+ <img src="https://mseep.net/pr/vitali87-code-graph-rag-badge.png" alt="MseeP.ai Security Assessment" height="20" />
35
+ </a>
36
+ -->
37
+ <a href="https://code-graph-rag.com">
38
+ <img src="https://img.shields.io/badge/Enterprise-Support%20%26%20Services-6366f1" alt="Enterprise Support" />
39
+ </a>
40
+ <a href="https://pypi.org/project/code-graph-rag/">
41
+ <img src="https://img.shields.io/pypi/v/code-graph-rag" alt="PyPI Version" />
42
+ </a>
43
+ <a href="https://pepy.tech/projects/code-graph-rag">
44
+ <img src="https://static.pepy.tech/personalized-badge/code-graph-rag?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads" alt="PyPI Downloads" />
45
+ </a>
46
+ <a href="https://skillsllm.com/security-check/DHsMGRb1Ysys">
47
+ <img src="https://skillsllm.com/security-check/badge.svg?owner=vitali87&repo=code-graph-rag" alt="SkillsLLM Security Check" />
48
+ </a>
49
+ <a href="https://scorecard.dev/viewer/?uri=github.com/vitali87/code-graph-rag">
50
+ <img src="https://api.scorecard.dev/projects/github.com/vitali87/code-graph-rag/badge" alt="OpenSSF Scorecard" />
51
+ </a>
52
+ <a href="https://www.bestpractices.dev/projects/13757">
53
+ <img src="https://www.bestpractices.dev/projects/13757/badge" alt="OpenSSF Best Practices" />
54
+ </a>
55
+ <!--
56
+ <a href="https://gitcgr.com/vitali87/code-graph-rag">
57
+ <img src="https://gitcgr.com/badge/vitali87/code-graph-rag.svg" alt="gitcgr" />
58
+ </a>
59
+ -->
60
+ </p>
61
+ </div>
62
+
63
+ # Code-Graph-RAG
64
+
65
+ Code-Graph-RAG parses a multi-language codebase with Tree-sitter, builds a knowledge graph of its structure in Memgraph, and lets you query, edit, and optimise that code in plain English. It works across a monorepo of mixed languages under one unified graph schema.
66
+
67
+ <p align="center">
68
+ <img src="./assets/demo.gif" alt="demo">
69
+ </p>
70
+
71
+ ## Latest News 🔥
72
+
73
+ <!-- SECTION:latest_news -->
74
+ - **Ruby Support**: Ruby joins the graph through a new pluggable ast-grep tier that adds a language from a single YAML pattern file, emitting `Module`, `Function`, and `Class` nodes plus import edges without a hand-written parser.
75
+ - **Structural Search & Replace**: Find and rewrite code by AST pattern with ast-grep, exposed as agent tools so you can match and transform structure across the whole codebase instead of relying on text or regex.
76
+ - **Data-Flow Tracing**: New `FLOWS_TO` taint edges follow values through assignments, function calls, and I/O sinks, with coverage across C#, Java, C, and Go.
77
+ <!-- /SECTION:latest_news -->
78
+
79
+ See [NEWS.md](NEWS.md) for the full history.
80
+
81
+ ## What It Does
82
+
83
+ Point Code-Graph-RAG at a repository and it reads every source file, extracts functions, classes, methods, modules, and the relationships between them, and stores the result as an interconnected graph. Once the graph exists you can:
84
+
85
+ - Ask questions about the codebase in natural language and get answers grounded in the real structure.
86
+ - Retrieve the actual source of any function, class, or method by name or by intent.
87
+ - Edit code through the agent with AST-based surgical patching and a diff preview before anything changes.
88
+ - Optimise code against language best practices or your own coding standards.
89
+ - Find dead code by walking call and reference edges from entry points.
90
+ - Search and rewrite structurally by AST pattern with ast-grep.
91
+
92
+ ## How It Works
93
+
94
+ The system has two components:
95
+
96
+ 1. **Multi-language parser.** A Tree-sitter based parser reads the codebase and ingests functions, classes, methods, modules, and their relationships into Memgraph under a single language-agnostic schema.
97
+ 2. **RAG system** (`codebase_rag/`). An interactive CLI that turns natural language into Cypher queries, retrieves matching code, and drives AI-powered editing and optimisation.
98
+
99
+ ```
100
+ Source Code -> Tree-sitter Parser -> AST Analysis -> Memgraph Knowledge Graph
101
+ |
102
+ User Query -> AI Model (Cypher Gen) -> Cypher Query -> Graph Results -> Response
103
+ ```
104
+
105
+ See the [Architecture Overview](docs/architecture/overview.md) and [Graph Schema](docs/architecture/graph-schema.md) for the full picture.
106
+
107
+ ## Supported Languages
108
+
109
+ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and Dart are fully supported. Scala is in development, and Ruby has structural support (modules, functions, classes, and imports) through the pluggable ast-grep tier. See the [Language Support](docs/architecture/language-support.md) matrix for per-language capabilities.
110
+
111
+ ## Installation
112
+
113
+ `cgr` is published to PyPI. Install it system-wide with the `treesitter-full` (all languages) and `semantic` (vector search) extras:
114
+
115
+ ```bash
116
+ # with uv (recommended)
117
+ uv tool install "code-graph-rag[treesitter-full,semantic]"
118
+
119
+ # or with pipx
120
+ pipx install "code-graph-rag[treesitter-full,semantic]"
121
+ ```
122
+
123
+ You also need Docker (for Memgraph), `cmake`, and `ripgrep`. Full prerequisites, source installs, and environment setup are in the [Installation](docs/getting-started/installation.md) guide.
124
+
125
+ ## Quick Start
126
+
127
+ ```bash
128
+ # Start the packaged Memgraph + Qdrant stack (no compose file needed)
129
+ cgr daemon up
130
+
131
+ # Parse a repository into the graph, then query it
132
+ cgr start --repo-path /path/to/repo --update-graph --clean
133
+ cgr start --repo-path /path/to/repo
134
+ ```
135
+
136
+ The [Quick Start](docs/getting-started/quickstart.md) guide walks through parsing, querying, and exporting in five minutes.
137
+
138
+ ## MCP Server
139
+
140
+ Code-Graph-RAG runs as an [MCP](https://modelcontextprotocol.io) server so Claude Code and other MCP clients can query and edit your codebase directly. See the [MCP Server](docs/guide/mcp-server.md) guide for setup.
141
+
142
+ ## Documentation
143
+
144
+ **Getting Started**
145
+ - [Installation](docs/getting-started/installation.md)
146
+ - [Quick Start](docs/getting-started/quickstart.md)
147
+ - [Configuration](docs/getting-started/configuration.md)
148
+
149
+ **User Guide**
150
+ - [CLI Reference](docs/guide/cli-reference.md)
151
+ - [Interactive Querying](docs/guide/interactive-querying.md)
152
+ - [Code Optimisation](docs/guide/code-optimization.md)
153
+ - [Dead Code Detection](docs/guide/dead-code.md)
154
+ - [Graph Export](docs/guide/graph-export.md)
155
+ - [Real-Time Updates](docs/guide/realtime-updates.md)
156
+ - [MCP Server](docs/guide/mcp-server.md)
157
+
158
+ **Architecture**
159
+ - [Overview](docs/architecture/overview.md)
160
+ - [Graph Schema](docs/architecture/graph-schema.md)
161
+ - [Language Support](docs/architecture/language-support.md)
162
+ - [Data-Flow Edges](docs/architecture/data-flow-edges.md)
163
+
164
+ **Python SDK**
165
+ - [Overview](docs/sdk/overview.md)
166
+ - [Graph Loader](docs/sdk/graph-loader.md)
167
+ - [Cypher Generator](docs/sdk/cypher-generator.md)
168
+ - [Semantic Search](docs/sdk/semantic-search.md)
169
+
170
+ **Advanced**
171
+ - [Adding Languages](docs/advanced/adding-languages.md)
172
+ - [Ignore Patterns](docs/advanced/ignore-patterns.md)
173
+ - [Building Binaries](docs/advanced/building-binaries.md)
174
+ - [Troubleshooting](docs/advanced/troubleshooting.md)
175
+
176
+ ## Enterprise Services
177
+
178
+ Code-Graph-RAG is open source and free to use. For organisations that need more, we offer **fully managed cloud-hosted solutions** and **on-premise deployments**:
179
+
180
+ - **Cloud-Hosted Deployment**: Managed cloud infrastructure for both the graph database and the AI agent connection. Zero infrastructure overhead, so we handle scaling, updates, and availability while your team focuses on building.
181
+ - **On-Premise & Air-Gapped Deployment**: Deploy Code-Graph-RAG entirely within your own environment, including air-gapped networks. Full data sovereignty for regulated industries and security-sensitive organisations.
182
+
183
+ We also offer custom development, integration consulting, technical support contracts, and team training.
184
+
185
+ **[View plans & pricing at code-graph-rag.com](https://code-graph-rag.com/enterprise)**
186
+
187
+ ## Contributing
188
+
189
+ Please see [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines. Good first PRs come from the TODO issues.
190
+
191
+ ## Support
192
+
193
+ For issues or questions, check the [Troubleshooting](docs/advanced/troubleshooting.md) guide first, then open an issue.
194
+
195
+ ## License
196
+
197
+ MIT. See [LICENSE](LICENSE).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-graph-rag
3
- Version: 0.0.345
3
+ Version: 0.0.484
4
4
  Summary: The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
5
5
  License-Expression: MIT
6
6
  Keywords: rag,retrieval-augmented-generation,knowledge-graph,code-analysis,tree-sitter,mcp,mcp-server,llm,graph-database,semantic-search,codebase,memgraph,developer-tools,monorepo
@@ -19,7 +19,7 @@ Requires-Python: >=3.12
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
21
  Requires-Dist: loguru>=0.7.3
22
- Requires-Dist: mcp>=1.25.0
22
+ Requires-Dist: mcp>=1.28.1
23
23
  Requires-Dist: pydantic-ai>=1.102.0
24
24
  Requires-Dist: pydantic-settings>=2.12.0
25
25
  Requires-Dist: pymgclient>=1.5.1
@@ -47,6 +47,8 @@ Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
47
47
  Requires-Dist: testcontainers>=4.9.0; extra == "test"
48
48
  Requires-Dist: libclang>=18.1.1; extra == "test"
49
49
  Requires-Dist: filelock>=3.12; extra == "test"
50
+ Requires-Dist: ast-grep-py>=0.44.0; extra == "test"
51
+ Requires-Dist: pyyaml>=6.0; extra == "test"
50
52
  Provides-Extra: treesitter-full
51
53
  Requires-Dist: tree-sitter-python>=0.23.6; extra == "treesitter-full"
52
54
  Requires-Dist: tree-sitter-javascript>=0.23.1; extra == "treesitter-full"
@@ -65,11 +67,16 @@ Provides-Extra: semantic
65
67
  Requires-Dist: qdrant-client>=1.9.0; extra == "semantic"
66
68
  Requires-Dist: torch>=2.6.0; extra == "semantic"
67
69
  Requires-Dist: transformers>=4.0.0; extra == "semantic"
70
+ Provides-Extra: milvus
71
+ Requires-Dist: pymilvus[milvus-lite]>=3.0.0; extra == "milvus"
72
+ Provides-Extra: ast-grep
73
+ Requires-Dist: ast-grep-py>=0.44.0; extra == "ast-grep"
74
+ Requires-Dist: pyyaml>=6.0; extra == "ast-grep"
68
75
  Dynamic: license-file
69
76
 
70
77
  # Code-Graph-RAG
71
78
 
72
- A graph-based RAG system that parses multi-language codebases with Tree-sitter, builds knowledge graphs in Memgraph, and enables natural language querying, editing, and optimization.
79
+ A graph-based RAG system that parses multi-language codebases with Tree-sitter, builds knowledge graphs in Memgraph, and enables natural language querying, editing, and optimisation.
73
80
 
74
81
  ## Install
75
82
 
@@ -77,7 +84,7 @@ A graph-based RAG system that parses multi-language codebases with Tree-sitter,
77
84
  pip install code-graph-rag
78
85
  ```
79
86
 
80
- With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C++, Lua):
87
+ With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart):
81
88
 
82
89
  ```bash
83
90
  pip install 'code-graph-rag[treesitter-full]'
@@ -89,6 +96,16 @@ With semantic code search (UniXcoder embeddings):
89
96
  pip install 'code-graph-rag[semantic]'
90
97
  ```
91
98
 
99
+ Qdrant is the default vector store for semantic search. To use Milvus Lite,
100
+ install `code-graph-rag[semantic,milvus]`, then set
101
+ `CGR_VECTOR_STORE_BACKEND=milvus` and `MILVUS_URI=./.milvus_code_embeddings.db`
102
+ before indexing.
103
+
104
+ To compute embeddings on an OpenAI-compatible endpoint (OpenAI, Ollama, vLLM)
105
+ instead of locally, set `CGR_EMBEDDING_PROVIDER=openai` with
106
+ `OPENAI_EMBEDDING_BASE_URL` and `OPENAI_EMBEDDING_MODEL`; torch and
107
+ transformers are then not required locally.
108
+
92
109
  ### Prerequisites
93
110
 
94
111
  - Python 3.12+
@@ -120,7 +137,7 @@ cgr index -o ./index-output --repo-path ./my-project
120
137
  cgr export -o graph.json
121
138
  ```
122
139
 
123
- **AI-guided optimization:**
140
+ **AI-guided optimisation:**
124
141
 
125
142
  ```bash
126
143
  cgr optimize python --repo-path ./my-project
@@ -220,7 +237,7 @@ Configure via `.env` or environment variables:
220
237
  |----------|---------|-------------|
221
238
  | `MEMGRAPH_HOST` | `localhost` | Memgraph hostname |
222
239
  | `MEMGRAPH_PORT` | `7687` | Memgraph port |
223
- | `ORCHESTRATOR_PROVIDER` | | Provider: `google`, `openai`, `ollama` |
240
+ | `ORCHESTRATOR_PROVIDER` | | Provider: `google`, `openai`, `anthropic`, `azure`, `ollama`, `minimax`, `litellm_proxy` |
224
241
  | `ORCHESTRATOR_MODEL` | | Model ID (e.g. `gpt-4o`, `gemini-2.5-pro`) |
225
242
  | `ORCHESTRATOR_API_KEY` | | API key for the provider (not needed for `ollama`) |
226
243
  | `CYPHER_PROVIDER` | | Provider for Cypher generation |
@@ -10,6 +10,7 @@ code_graph_rag.egg-info/entry_points.txt
10
10
  code_graph_rag.egg-info/requires.txt
11
11
  code_graph_rag.egg-info/top_level.txt
12
12
  codebase_rag/__init__.py
13
+ codebase_rag/ast_cache.py
13
14
  codebase_rag/capture.py
14
15
  codebase_rag/cgr_state.py
15
16
  codebase_rag/cli.py
@@ -21,6 +22,7 @@ codebase_rag/decorators.py
21
22
  codebase_rag/docker-compose.yaml
22
23
  codebase_rag/embedder.py
23
24
  codebase_rag/exceptions.py
25
+ codebase_rag/function_registry.py
24
26
  codebase_rag/graph_audit.py
25
27
  codebase_rag/graph_loader.py
26
28
  codebase_rag/graph_updater.py
@@ -30,6 +32,7 @@ codebase_rag/main.py
30
32
  codebase_rag/models.py
31
33
  codebase_rag/parser_fingerprint.py
32
34
  codebase_rag/parser_loader.py
35
+ codebase_rag/path_filters.py
33
36
  codebase_rag/prompts.py
34
37
  codebase_rag/readme_sections.py
35
38
  codebase_rag/schema_builder.py
@@ -38,6 +41,53 @@ codebase_rag/tool_errors.py
38
41
  codebase_rag/types_defs.py
39
42
  codebase_rag/unixcoder.py
40
43
  codebase_rag/vector_store.py
44
+ codebase_rag/analyzers/__init__.py
45
+ codebase_rag/analyzers/ast_grep_analyzer.py
46
+ codebase_rag/analyzers/ast_grep_rules/patterns/c.yaml
47
+ codebase_rag/analyzers/ast_grep_rules/patterns/cpp.yaml
48
+ codebase_rag/analyzers/ast_grep_rules/patterns/csharp.yaml
49
+ codebase_rag/analyzers/ast_grep_rules/patterns/dart.yaml
50
+ codebase_rag/analyzers/ast_grep_rules/patterns/go.yaml
51
+ codebase_rag/analyzers/ast_grep_rules/patterns/java.yaml
52
+ codebase_rag/analyzers/ast_grep_rules/patterns/javascript.yaml
53
+ codebase_rag/analyzers/ast_grep_rules/patterns/lua.yaml
54
+ codebase_rag/analyzers/ast_grep_rules/patterns/php.yaml
55
+ codebase_rag/analyzers/ast_grep_rules/patterns/python.yaml
56
+ codebase_rag/analyzers/ast_grep_rules/patterns/ruby.yaml
57
+ codebase_rag/analyzers/ast_grep_rules/patterns/rust.yaml
58
+ codebase_rag/analyzers/ast_grep_rules/patterns/scala.yaml
59
+ codebase_rag/analyzers/ast_grep_rules/patterns/tsx.yaml
60
+ codebase_rag/analyzers/ast_grep_rules/patterns/typescript.yaml
61
+ codebase_rag/analyzers/ast_grep_rules/security/c.yaml
62
+ codebase_rag/analyzers/ast_grep_rules/security/cpp.yaml
63
+ codebase_rag/analyzers/ast_grep_rules/security/csharp.yaml
64
+ codebase_rag/analyzers/ast_grep_rules/security/dart.yaml
65
+ codebase_rag/analyzers/ast_grep_rules/security/go.yaml
66
+ codebase_rag/analyzers/ast_grep_rules/security/java.yaml
67
+ codebase_rag/analyzers/ast_grep_rules/security/javascript.yaml
68
+ codebase_rag/analyzers/ast_grep_rules/security/lua.yaml
69
+ codebase_rag/analyzers/ast_grep_rules/security/php.yaml
70
+ codebase_rag/analyzers/ast_grep_rules/security/python.yaml
71
+ codebase_rag/analyzers/ast_grep_rules/security/ruby.yaml
72
+ codebase_rag/analyzers/ast_grep_rules/security/rust.yaml
73
+ codebase_rag/analyzers/ast_grep_rules/security/scala.yaml
74
+ codebase_rag/analyzers/ast_grep_rules/security/tsx.yaml
75
+ codebase_rag/analyzers/ast_grep_rules/security/typescript.yaml
76
+ codebase_rag/analyzers/ast_grep_rules/smells/c.yaml
77
+ codebase_rag/analyzers/ast_grep_rules/smells/cpp.yaml
78
+ codebase_rag/analyzers/ast_grep_rules/smells/csharp.yaml
79
+ codebase_rag/analyzers/ast_grep_rules/smells/dart.yaml
80
+ codebase_rag/analyzers/ast_grep_rules/smells/go.yaml
81
+ codebase_rag/analyzers/ast_grep_rules/smells/java.yaml
82
+ codebase_rag/analyzers/ast_grep_rules/smells/javascript.yaml
83
+ codebase_rag/analyzers/ast_grep_rules/smells/lua.yaml
84
+ codebase_rag/analyzers/ast_grep_rules/smells/php.yaml
85
+ codebase_rag/analyzers/ast_grep_rules/smells/python.yaml
86
+ codebase_rag/analyzers/ast_grep_rules/smells/ruby.yaml
87
+ codebase_rag/analyzers/ast_grep_rules/smells/rust.yaml
88
+ codebase_rag/analyzers/ast_grep_rules/smells/scala.yaml
89
+ codebase_rag/analyzers/ast_grep_rules/smells/tsx.yaml
90
+ codebase_rag/analyzers/ast_grep_rules/smells/typescript.yaml
41
91
  codebase_rag/constants/__init__.py
42
92
  codebase_rag/constants/ast_cpp.py
43
93
  codebase_rag/constants/ast_csharp.py
@@ -65,15 +115,20 @@ codebase_rag/constants/mcp.py
65
115
  codebase_rag/constants/providers.py
66
116
  codebase_rag/constants/security.py
67
117
  codebase_rag/constants/stdlib_types.py
118
+ codebase_rag/constants/structural.py
68
119
  codebase_rag/mcp/__init__.py
69
120
  codebase_rag/mcp/client.py
70
121
  codebase_rag/mcp/server.py
71
122
  codebase_rag/mcp/tools.py
72
123
  codebase_rag/parsers/__init__.py
124
+ codebase_rag/parsers/ast_grep_tier.py
73
125
  codebase_rag/parsers/call_processor.py
74
126
  codebase_rag/parsers/call_resolver.py
75
127
  codebase_rag/parsers/definition_processor.py
76
128
  codebase_rag/parsers/dependency_parser.py
129
+ codebase_rag/parsers/endpoint_prefixes.py
130
+ codebase_rag/parsers/endpoint_routes.py
131
+ codebase_rag/parsers/endpoints.py
77
132
  codebase_rag/parsers/export_detection.py
78
133
  codebase_rag/parsers/factory.py
79
134
  codebase_rag/parsers/function_ingest.py
@@ -83,6 +138,7 @@ codebase_rag/parsers/stdlib_extractor.py
83
138
  codebase_rag/parsers/structure_processor.py
84
139
  codebase_rag/parsers/type_inference.py
85
140
  codebase_rag/parsers/utils.py
141
+ codebase_rag/parsers/ast_grep_patterns/ruby.yaml
86
142
  codebase_rag/parsers/class_ingest/__init__.py
87
143
  codebase_rag/parsers/class_ingest/cpp_modules.py
88
144
  codebase_rag/parsers/class_ingest/identity.py
@@ -103,7 +159,13 @@ codebase_rag/parsers/cpp_frontend/qn.py
103
159
  codebase_rag/parsers/csharp/__init__.py
104
160
  codebase_rag/parsers/csharp/type_inference.py
105
161
  codebase_rag/parsers/csharp/utils.py
162
+ codebase_rag/parsers/csharp_frontend/__init__.py
163
+ codebase_rag/parsers/csharp_frontend/frontend.py
164
+ codebase_rag/parsers/csharp_frontend/roslyn/Frontend.cs
165
+ codebase_rag/parsers/csharp_frontend/roslyn/Frontend.csproj
166
+ codebase_rag/parsers/csharp_frontend/roslyn/Program.cs
106
167
  codebase_rag/parsers/dart/__init__.py
168
+ codebase_rag/parsers/dart/type_inference.py
107
169
  codebase_rag/parsers/dart/utils.py
108
170
  codebase_rag/parsers/flow_access/__init__.py
109
171
  codebase_rag/parsers/flow_access/constants.py
@@ -162,12 +224,15 @@ codebase_rag/services/filtering.py
162
224
  codebase_rag/services/graph_service.py
163
225
  codebase_rag/services/llm.py
164
226
  codebase_rag/services/protobuf_service.py
227
+ codebase_rag/services/resource_cleanup.py
228
+ codebase_rag/services/usage_cost.py
165
229
  codebase_rag/stack/__init__.py
166
230
  codebase_rag/stack/cli.py
167
231
  codebase_rag/stack/constants.py
168
232
  codebase_rag/stack/health.py
169
233
  codebase_rag/stack/manager.py
170
234
  codebase_rag/tools/__init__.py
235
+ codebase_rag/tools/ast_grep_service.py
171
236
  codebase_rag/tools/code_retrieval.py
172
237
  codebase_rag/tools/codebase_query.py
173
238
  codebase_rag/tools/directory_lister.py
@@ -178,6 +243,8 @@ codebase_rag/tools/health_checker.py
178
243
  codebase_rag/tools/language.py
179
244
  codebase_rag/tools/semantic_search.py
180
245
  codebase_rag/tools/shell_command.py
246
+ codebase_rag/tools/structural_editor.py
247
+ codebase_rag/tools/structural_search.py
181
248
  codebase_rag/tools/tool_descriptions.py
182
249
  codebase_rag/utils/__init__.py
183
250
  codebase_rag/utils/dependencies.py
@@ -1,5 +1,5 @@
1
1
  loguru>=0.7.3
2
- mcp>=1.25.0
2
+ mcp>=1.28.1
3
3
  pydantic-ai>=1.102.0
4
4
  pydantic-settings>=2.12.0
5
5
  pymgclient>=1.5.1
@@ -20,6 +20,13 @@ huggingface-hub[hf-xet]>=1.7.2
20
20
  griffe<2,>=1.0
21
21
  pathspec>=1.0.4
22
22
 
23
+ [ast-grep]
24
+ ast-grep-py>=0.44.0
25
+ pyyaml>=6.0
26
+
27
+ [milvus]
28
+ pymilvus[milvus-lite]>=3.0.0
29
+
23
30
  [semantic]
24
31
  qdrant-client>=1.9.0
25
32
  torch>=2.6.0
@@ -33,6 +40,8 @@ pytest-xdist>=3.8.0
33
40
  testcontainers>=4.9.0
34
41
  libclang>=18.1.1
35
42
  filelock>=3.12
43
+ ast-grep-py>=0.44.0
44
+ pyyaml>=6.0
36
45
 
37
46
  [treesitter-full]
38
47
  tree-sitter-python>=0.23.6
@@ -0,0 +1 @@
1
+ """Code Graph RAG: build a queryable graph of a codebase and reason over it."""
@@ -0,0 +1,4 @@
1
+ # ast-grep finding analyzers (issue #413).
2
+ from .ast_grep_analyzer import FindingAnalyzer, load_finding_rules
3
+
4
+ __all__ = ["FindingAnalyzer", "load_finding_rules"]