code-graph-rag 0.7.129__tar.gz → 0.7.180__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 (519) hide show
  1. {code_graph_rag-0.7.129/code_graph_rag.egg-info → code_graph_rag-0.7.180}/PKG-INFO +10 -10
  2. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/PYPI_README.md +5 -5
  3. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/README.md +4 -6
  4. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180/code_graph_rag.egg-info}/PKG-INFO +10 -10
  5. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/code_graph_rag.egg-info/SOURCES.txt +8 -0
  6. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/code_graph_rag.egg-info/requires.txt +4 -4
  7. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/ast_cache.py +8 -0
  8. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/__init__.py +1 -0
  9. code_graph_rag-0.7.180/codebase_rag/constants/ast_lean.py +205 -0
  10. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_lua.py +2 -0
  11. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/deps.py +1 -0
  12. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/embedded_graph.py +23 -0
  13. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/fqn_specs.py +21 -0
  14. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/graph.py +13 -1
  15. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/handoff.py +38 -3
  16. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/index_engine.py +1 -0
  17. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/languages.py +80 -0
  18. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/providers.py +6 -0
  19. code_graph_rag-0.7.180/codebase_rag/crate_grammars.py +162 -0
  20. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/docker-compose.yaml +2 -2
  21. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/engine_frame.py +253 -102
  22. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/exceptions.py +5 -0
  23. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/graph_updater.py +307 -80
  24. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/handoff.py +111 -5
  25. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/index_engine.py +72 -22
  26. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/language_spec.py +62 -0
  27. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/logs.py +31 -2
  28. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parser_loader.py +52 -35
  29. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/build_lock.py +41 -9
  30. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/call_processor.py +123 -7
  31. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/call_resolver.py +12 -4
  32. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/identity.py +4 -0
  33. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/mixin.py +75 -4
  34. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/node_type.py +19 -0
  35. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/parent_extraction.py +33 -0
  36. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/relationships.py +4 -0
  37. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/preproc_recovery.py +5 -0
  38. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp_frontend/frontend.py +5 -1
  39. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/definition_docstring.py +84 -6
  40. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/definition_processor.py +24 -0
  41. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/enum_variants.py +17 -0
  42. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/export_detection.py +5 -0
  43. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/field_nodes.py +21 -0
  44. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/flow_access/processor.py +279 -139
  45. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/function_ingest.py +33 -1
  46. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/builds.py +44 -0
  47. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go_frontend/frontend.py +505 -45
  48. code_graph_rag-0.7.180/codebase_rag/parsers/go_frontend/go_env.py +82 -0
  49. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go_frontend/gotypes/main.go +12 -3
  50. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/import_processor.py +274 -65
  51. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/processor.py +7 -3
  52. code_graph_rag-0.7.180/codebase_rag/parsers/lean/__init__.py +1 -0
  53. code_graph_rag-0.7.180/codebase_rag/parsers/lean/calls.py +873 -0
  54. code_graph_rag-0.7.180/codebase_rag/parsers/lean/names.py +435 -0
  55. code_graph_rag-0.7.180/codebase_rag/parsers/lean/recovery.py +1167 -0
  56. code_graph_rag-0.7.180/codebase_rag/parsers/lean/utils.py +819 -0
  57. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/module_docstring.py +47 -2
  58. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/native_trees.py +3 -3
  59. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/parameter_nodes.py +38 -0
  60. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/stdlib_extractor.py +3 -2
  61. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/utils.py +19 -3
  62. code_graph_rag-0.7.180/codebase_rag/services/resource_cleanup.py +64 -0
  63. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/types_defs.py +53 -1
  64. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/path_utils.py +8 -1
  65. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/vector_store.py +43 -4
  66. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/pyproject.toml +15 -6
  67. code_graph_rag-0.7.129/codebase_rag/services/resource_cleanup.py +0 -44
  68. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/LICENSE +0 -0
  69. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/cgr/__init__.py +0 -0
  70. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/code_graph_rag.egg-info/dependency_links.txt +0 -0
  71. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/code_graph_rag.egg-info/entry_points.txt +0 -0
  72. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/code_graph_rag.egg-info/top_level.txt +0 -0
  73. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/__init__.py +0 -0
  74. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/_cli_env.py +0 -0
  75. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/__init__.py +0 -0
  76. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_analyzer.py +0 -0
  77. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/c.yaml +0 -0
  78. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/cpp.yaml +0 -0
  79. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/csharp.yaml +0 -0
  80. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/dart.yaml +0 -0
  81. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/go.yaml +0 -0
  82. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/java.yaml +0 -0
  83. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/javascript.yaml +0 -0
  84. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/lua.yaml +0 -0
  85. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/php.yaml +0 -0
  86. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/python.yaml +0 -0
  87. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/ruby.yaml +0 -0
  88. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/rust.yaml +0 -0
  89. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/scala.yaml +0 -0
  90. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/tsx.yaml +0 -0
  91. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/patterns/typescript.yaml +0 -0
  92. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/c.yaml +0 -0
  93. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/cpp.yaml +0 -0
  94. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/csharp.yaml +0 -0
  95. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/dart.yaml +0 -0
  96. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/go.yaml +0 -0
  97. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/java.yaml +0 -0
  98. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/javascript.yaml +0 -0
  99. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/lua.yaml +0 -0
  100. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/php.yaml +0 -0
  101. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/python.yaml +0 -0
  102. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/ruby.yaml +0 -0
  103. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/rust.yaml +0 -0
  104. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/scala.yaml +0 -0
  105. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/tsx.yaml +0 -0
  106. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/security/typescript.yaml +0 -0
  107. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/c.yaml +0 -0
  108. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/cpp.yaml +0 -0
  109. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/csharp.yaml +0 -0
  110. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/dart.yaml +0 -0
  111. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/go.yaml +0 -0
  112. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/java.yaml +0 -0
  113. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/javascript.yaml +0 -0
  114. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/lua.yaml +0 -0
  115. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/php.yaml +0 -0
  116. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/python.yaml +0 -0
  117. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/ruby.yaml +0 -0
  118. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/rust.yaml +0 -0
  119. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/scala.yaml +0 -0
  120. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/tsx.yaml +0 -0
  121. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/ast_grep_rules/smells/typescript.yaml +0 -0
  122. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/analyzers/finding_filters.py +0 -0
  123. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/canonical_graph.py +0 -0
  124. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/capture.py +0 -0
  125. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/check_isolation.py +0 -0
  126. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/checkout_state.py +0 -0
  127. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/cli.py +0 -0
  128. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/cli_help.py +0 -0
  129. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/cli_runtime.py +0 -0
  130. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/config.py +0 -0
  131. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/console_marks.py +0 -0
  132. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_cpp.py +0 -0
  133. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_csharp.py +0 -0
  134. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_dart.py +0 -0
  135. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_go.py +0 -0
  136. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_java.py +0 -0
  137. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_js.py +0 -0
  138. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_julia.py +0 -0
  139. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_nodes.py +0 -0
  140. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_php.py +0 -0
  141. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_python.py +0 -0
  142. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_rust.py +0 -0
  143. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_scala.py +0 -0
  144. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/ast_sql.py +0 -0
  145. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/build.py +0 -0
  146. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/cli.py +0 -0
  147. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/core.py +0 -0
  148. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/deadcode_roots.py +0 -0
  149. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/duplicates.py +0 -0
  150. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/health.py +0 -0
  151. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/identifiers.py +0 -0
  152. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/interface.py +0 -0
  153. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/lang_tooling.py +0 -0
  154. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/mcp.py +0 -0
  155. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/notebook.py +0 -0
  156. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/port.py +0 -0
  157. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/reference_answers.py +0 -0
  158. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/reference_graphs.py +0 -0
  159. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/security.py +0 -0
  160. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/sqlite_vectors.py +0 -0
  161. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/stdlib_types.py +0 -0
  162. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/structural.py +0 -0
  163. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/surface.py +0 -0
  164. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/constants/trace.py +0 -0
  165. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/context_pruning.py +0 -0
  166. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/context_slice.py +0 -0
  167. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/crash_correlation.py +0 -0
  168. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/cypher_queries.py +0 -0
  169. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/dead_code.py +0 -0
  170. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/decorators.py +0 -0
  171. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/dispatch_dependents.py +0 -0
  172. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/duplicates.py +0 -0
  173. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/__init__.py +0 -0
  174. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/cli.py +0 -0
  175. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/contract.py +0 -0
  176. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/import_paths.py +0 -0
  177. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/imports.py +0 -0
  178. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/move.py +0 -0
  179. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/occurrences.py +0 -0
  180. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/patcher.py +0 -0
  181. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/rename.py +0 -0
  182. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/signature.py +0 -0
  183. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/signature_bind.py +0 -0
  184. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/signature_contract.py +0 -0
  185. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/signature_js.py +0 -0
  186. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/signature_js_bind.py +0 -0
  187. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/signature_spec.py +0 -0
  188. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/sites.py +0 -0
  189. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editing/transaction.py +0 -0
  190. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/editor_links.py +0 -0
  191. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/__init__.py +0 -0
  192. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/compiler.py +0 -0
  193. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/connection.py +0 -0
  194. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/cypher_ast.py +0 -0
  195. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/executor.py +0 -0
  196. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/expressions.py +0 -0
  197. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/extension.py +0 -0
  198. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/functions.py +0 -0
  199. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/lexer.py +0 -0
  200. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/limits.py +0 -0
  201. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/native.py +0 -0
  202. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/parser.py +0 -0
  203. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/procedures.py +0 -0
  204. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/sql.py +0 -0
  205. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/store.py +0 -0
  206. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedded_graph/types.py +0 -0
  207. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/embedder.py +0 -0
  208. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/flow_verdict.py +0 -0
  209. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/function_registry.py +0 -0
  210. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/gloss.py +0 -0
  211. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/gloss_anchor.py +0 -0
  212. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/gloss_repair.py +0 -0
  213. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/graph_audit.py +0 -0
  214. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/graph_cli.py +0 -0
  215. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/graph_dialects.py +0 -0
  216. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/graph_loader.py +0 -0
  217. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/graph_query.py +0 -0
  218. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/instructions_trust.py +0 -0
  219. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/interface_skip.py +0 -0
  220. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/main.py +0 -0
  221. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/mcp/__init__.py +0 -0
  222. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/mcp/client.py +0 -0
  223. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/mcp/server.py +0 -0
  224. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/mcp/tools.py +0 -0
  225. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/mgclient_compat.py +0 -0
  226. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/mgclient_probe.py +0 -0
  227. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/models.py +0 -0
  228. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parser_fingerprint.py +0 -0
  229. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/__init__.py +0 -0
  230. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/anchor_hash.py +0 -0
  231. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_fingerprint.py +0 -0
  232. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/bash.yaml +0 -0
  233. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/elixir.yaml +0 -0
  234. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/haskell.yaml +0 -0
  235. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/kotlin.yaml +0 -0
  236. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/nix.yaml +0 -0
  237. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/ruby.yaml +0 -0
  238. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/solidity.yaml +0 -0
  239. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_patterns/swift.yaml +0 -0
  240. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_scope.py +0 -0
  241. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/ast_grep_tier.py +0 -0
  242. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/callable_flow_scope.py +0 -0
  243. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/__init__.py +0 -0
  244. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/base_targets.py +0 -0
  245. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/cpp_modules.py +0 -0
  246. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/method_override.py +0 -0
  247. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/class_ingest/utils.py +0 -0
  248. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/constant_nodes.py +0 -0
  249. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/contract_linking.py +0 -0
  250. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/contracts.py +0 -0
  251. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/__init__.py +0 -0
  252. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/class_macro.py +0 -0
  253. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/function_values.py +0 -0
  254. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/local_types.py +0 -0
  255. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/out_of_line.py +0 -0
  256. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/overloads.py +0 -0
  257. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/trailing_annotation.py +0 -0
  258. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/type_inference.py +0 -0
  259. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp/utils.py +0 -0
  260. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp_frontend/__init__.py +0 -0
  261. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp_frontend/constants.py +0 -0
  262. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp_frontend/frontend.py +0 -0
  263. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/cpp_frontend/qn.py +0 -0
  264. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp/__init__.py +0 -0
  265. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp/arity.py +0 -0
  266. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp/type_inference.py +0 -0
  267. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp/utils.py +0 -0
  268. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp_frontend/__init__.py +0 -0
  269. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.cs +0 -0
  270. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.csproj +0 -0
  271. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/csharp_frontend/roslyn/Program.cs +0 -0
  272. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/dart/__init__.py +0 -0
  273. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/dart/package_paths.py +0 -0
  274. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/dart/type_inference.py +0 -0
  275. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/dart/utils.py +0 -0
  276. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/dependency_parser.py +0 -0
  277. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/dispatch_registry.py +0 -0
  278. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/document_tier.py +0 -0
  279. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/endpoint_prefixes.py +0 -0
  280. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/endpoint_routes.py +0 -0
  281. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/endpoints.py +0 -0
  282. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/factory.py +0 -0
  283. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/flat_module.py +0 -0
  284. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/flow_access/__init__.py +0 -0
  285. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/flow_access/constants.py +0 -0
  286. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontend_mode.py +0 -0
  287. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/__init__.py +0 -0
  288. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/cpp.py +0 -0
  289. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/csharp.py +0 -0
  290. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/go.py +0 -0
  291. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/java.py +0 -0
  292. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/protocol.py +0 -0
  293. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/python.py +0 -0
  294. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/frontends/registry.py +0 -0
  295. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/__init__.py +0 -0
  296. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/interface_ingest.py +0 -0
  297. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/interfaces.py +0 -0
  298. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/link_state.py +0 -0
  299. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/module_paths.py +0 -0
  300. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/type_inference.py +0 -0
  301. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go/utils.py +0 -0
  302. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go_frontend/__init__.py +0 -0
  303. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go_frontend/gotypes/go.mod +0 -0
  304. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/go_frontend/gotypes/go.sum +0 -0
  305. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/__init__.py +0 -0
  306. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/base.py +0 -0
  307. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/cpp.py +0 -0
  308. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/java.py +0 -0
  309. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/js_ts.py +0 -0
  310. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/julia.py +0 -0
  311. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/lua.py +0 -0
  312. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/php.py +0 -0
  313. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/protocol.py +0 -0
  314. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/python.py +0 -0
  315. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/registry.py +0 -0
  316. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/handlers/rust.py +0 -0
  317. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/interface_fingerprint.py +0 -0
  318. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/__init__.py +0 -0
  319. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/constants.py +0 -0
  320. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/descriptor.py +0 -0
  321. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/env_bindings.py +0 -0
  322. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/extract.py +0 -0
  323. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/models.py +0 -0
  324. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/py_handles.py +0 -0
  325. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/registry.py +0 -0
  326. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/resource_names.py +0 -0
  327. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/io_access/url_folding.py +0 -0
  328. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java/__init__.py +0 -0
  329. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java/method_resolver.py +0 -0
  330. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java/type_inference.py +0 -0
  331. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java/type_resolver.py +0 -0
  332. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java/utils.py +0 -0
  333. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java/variable_analyzer.py +0 -0
  334. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java_frontend/__init__.py +0 -0
  335. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java_frontend/frontend.py +0 -0
  336. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java_frontend/javac/cgr/Frontend.java +0 -0
  337. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java_generated.py +0 -0
  338. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/java_lombok.py +0 -0
  339. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/__init__.py +0 -0
  340. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/commonjs_exports.py +0 -0
  341. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/ingest.py +0 -0
  342. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/module_paths.py +0 -0
  343. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/module_system.py +0 -0
  344. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/overloads.py +0 -0
  345. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/reexports.py +0 -0
  346. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/type_inference.py +0 -0
  347. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/js_ts/utils.py +0 -0
  348. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/julia/__init__.py +0 -0
  349. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/julia/utils.py +0 -0
  350. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/lua/__init__.py +0 -0
  351. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/lua/type_inference.py +0 -0
  352. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/lua/utils.py +0 -0
  353. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/notebook.py +0 -0
  354. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/php/__init__.py +0 -0
  355. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/php/callables.py +0 -0
  356. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/php/class_names.py +0 -0
  357. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/php/namespaces.py +0 -0
  358. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/php/references.py +0 -0
  359. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/php/utils.py +0 -0
  360. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/positional_params.py +0 -0
  361. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/__init__.py +0 -0
  362. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/ast_analyzer.py +0 -0
  363. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/class_aliases.py +0 -0
  364. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/definition_index.py +0 -0
  365. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/expression_analyzer.py +0 -0
  366. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/flow_bindings.py +0 -0
  367. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/forward_refs.py +0 -0
  368. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/overloads.py +0 -0
  369. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/patterns.py +0 -0
  370. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/receiver_rebinding.py +0 -0
  371. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/type_inference.py +0 -0
  372. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/utils.py +0 -0
  373. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/variable_analyzer.py +0 -0
  374. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py/with_analyzer.py +0 -0
  375. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py_frontend/__init__.py +0 -0
  376. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/py_frontend/frontend.py +0 -0
  377. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/python_source_roots.py +0 -0
  378. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/rpc_exposure.py +0 -0
  379. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/rs/__init__.py +0 -0
  380. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/rs/cargo_semver.py +0 -0
  381. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/rs/type_inference.py +0 -0
  382. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/rs/utils.py +0 -0
  383. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/scala/__init__.py +0 -0
  384. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/scala/utils.py +0 -0
  385. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/semantic_call_join.py +0 -0
  386. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/sql_ddl.py +0 -0
  387. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/sql_recovery.py +0 -0
  388. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/string_call.py +0 -0
  389. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/structure_processor.py +0 -0
  390. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/type_facts.py +0 -0
  391. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/parsers/type_inference.py +0 -0
  392. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/path_filters.py +0 -0
  393. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/port_cli.py +0 -0
  394. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/port_parity.py +0 -0
  395. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/project_selection.py +0 -0
  396. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/prompts.py +0 -0
  397. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/providers/__init__.py +0 -0
  398. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/providers/base.py +0 -0
  399. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/providers/litellm.py +0 -0
  400. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/c_sharp.scm +0 -0
  401. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/dart.scm +0 -0
  402. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/java.scm +0 -0
  403. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/javascript.scm +0 -0
  404. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/julia.scm +0 -0
  405. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/php.scm +0 -0
  406. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/python.scm +0 -0
  407. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/rust.scm +0 -0
  408. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/queries/highlights/typescript.scm +0 -0
  409. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/query_predicates.py +0 -0
  410. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/readme_sections.py +0 -0
  411. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/schema_builder.py +0 -0
  412. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/schema_parse.py +0 -0
  413. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/schemas.py +0 -0
  414. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/sensitive_paths.py +0 -0
  415. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/__init__.py +0 -0
  416. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/anthropic_token_counter.py +0 -0
  417. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/cypher_guard.py +0 -0
  418. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/filtering.py +0 -0
  419. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/gloss_cleanup.py +0 -0
  420. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/graph_diff.py +0 -0
  421. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/graph_service.py +0 -0
  422. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/llm.py +0 -0
  423. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/neo4j_driver.py +0 -0
  424. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/protobuf_service.py +0 -0
  425. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/provenance.py +0 -0
  426. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/services/usage_cost.py +0 -0
  427. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/source_checkout.py +0 -0
  428. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/sql_names.py +0 -0
  429. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/sqlite_vectors.py +0 -0
  430. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/stack/__init__.py +0 -0
  431. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/stack/cli.py +0 -0
  432. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/stack/constants.py +0 -0
  433. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/stack/health.py +0 -0
  434. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/stack/manager.py +0 -0
  435. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/structural_check.py +0 -0
  436. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/structural_delta.py +0 -0
  437. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/sync_guard.py +0 -0
  438. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/sync_lock.py +0 -0
  439. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/taint.py +0 -0
  440. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tool_errors.py +0 -0
  441. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/__init__.py +0 -0
  442. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/ast_grep_service.py +0 -0
  443. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/code_retrieval.py +0 -0
  444. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/codebase_query.py +0 -0
  445. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/directory_lister.py +0 -0
  446. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/duplicate_detection.py +0 -0
  447. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/file_editor.py +0 -0
  448. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/file_reader.py +0 -0
  449. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/file_writer.py +0 -0
  450. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/graph_refresh.py +0 -0
  451. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/graph_rerank.py +0 -0
  452. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/health_checker.py +0 -0
  453. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/language.py +0 -0
  454. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/language_catalog.py +0 -0
  455. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/research.py +0 -0
  456. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/semantic_search.py +0 -0
  457. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/shell_command.py +0 -0
  458. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/structural_editor.py +0 -0
  459. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/structural_search.py +0 -0
  460. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/tool_descriptions.py +0 -0
  461. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tools/web_search.py +0 -0
  462. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/__init__.py +0 -0
  463. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/agents.py +0 -0
  464. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/c_agent/cgr_trace_shim.c +0 -0
  465. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/carry.py +0 -0
  466. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/cli.py +0 -0
  467. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/cpuprofile.py +0 -0
  468. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/dart_collector/bin/cgr_trace_collect.dart +0 -0
  469. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/dart_collector/pubspec.lock +0 -0
  470. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/dart_collector/pubspec.yaml +0 -0
  471. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/dispatch_site.py +0 -0
  472. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/ebpf_pprof.py +0 -0
  473. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/ingest.py +0 -0
  474. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/instrumented.py +0 -0
  475. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/jvm_agent/MANIFEST.MF +0 -0
  476. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/jvm_agent/src/cgr/trace/CgrTraceAgent.java +0 -0
  477. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/jvm_agent/src/cgr/trace/Json.java +0 -0
  478. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/jvm_agent/src/cgr/trace/MethodEntryTransformer.java +0 -0
  479. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/jvm_agent/src/cgr/trace/TraceRecorder.java +0 -0
  480. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/lua_agent/cgr_trace.lua +0 -0
  481. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/pprof.py +0 -0
  482. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/pytest_plugin.py +0 -0
  483. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/records.py +0 -0
  484. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/resolution.py +0 -0
  485. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/rust_pprof.py +0 -0
  486. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/sourcemap.py +0 -0
  487. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/speedscope.py +0 -0
  488. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/tracer.py +0 -0
  489. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/trace/xdebug.py +0 -0
  490. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/tree_sitter_point.py +0 -0
  491. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/unixcoder.py +0 -0
  492. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/__init__.py +0 -0
  493. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/char_columns.py +0 -0
  494. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/cpp_signatures.py +0 -0
  495. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/dependencies.py +0 -0
  496. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/endpoints.py +0 -0
  497. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/fqn_resolver.py +0 -0
  498. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/interruptible_thread.py +0 -0
  499. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/json_io.py +0 -0
  500. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/process_owner.py +0 -0
  501. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/qn_markers.py +0 -0
  502. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/rich_markdown.py +0 -0
  503. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/safe_xml.py +0 -0
  504. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/source_encoding.py +0 -0
  505. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/source_extraction.py +0 -0
  506. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/terminal_console.py +0 -0
  507. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/token_utils.py +0 -0
  508. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/utils/toml_writer.py +0 -0
  509. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/watch.py +0 -0
  510. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/workspaces/__init__.py +0 -0
  511. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/workspaces/cli.py +0 -0
  512. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/workspaces/constants.py +0 -0
  513. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/workspaces/models.py +0 -0
  514. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codebase_rag/workspaces/storage.py +0 -0
  515. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codec/__init__.py +0 -0
  516. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codec/schema.proto +0 -0
  517. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codec/schema_pb2.py +0 -0
  518. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/codec/schema_pb2.pyi +0 -0
  519. {code_graph_rag-0.7.129 → code_graph_rag-0.7.180}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-graph-rag
3
- Version: 0.7.129
3
+ Version: 0.7.180
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
@@ -44,7 +44,7 @@ Requires-Dist: pygments>=2.20.0
44
44
  Requires-Dist: httpx>=0.28.1
45
45
  Requires-Dist: certifi>=2026.10.23
46
46
  Requires-Dist: regex>=2024.11.6
47
- Requires-Dist: cgr-graph-rs<0.2,>=0.1.15
47
+ Requires-Dist: cgr-graph-rs<0.2,>=0.1.27
48
48
  Provides-Extra: test
49
49
  Requires-Dist: jedi>=0.19; extra == "test"
50
50
  Requires-Dist: pytest>=8.4.1; extra == "test"
@@ -69,11 +69,11 @@ Requires-Dist: tree-sitter-python>=0.23.6; extra == "treesitter-full"
69
69
  Requires-Dist: tree-sitter-javascript>=0.23.1; extra == "treesitter-full"
70
70
  Requires-Dist: tree-sitter-typescript>=0.23.2; extra == "treesitter-full"
71
71
  Requires-Dist: tree-sitter-rust>=0.24.0; extra == "treesitter-full"
72
- Requires-Dist: tree-sitter-go>=0.23.4; extra == "treesitter-full"
72
+ Requires-Dist: tree-sitter-go==0.25.0; extra == "treesitter-full"
73
73
  Requires-Dist: tree-sitter-scala>=0.24.0; extra == "treesitter-full"
74
74
  Requires-Dist: tree-sitter-java>=0.23.5; extra == "treesitter-full"
75
- Requires-Dist: tree-sitter-c>=0.24.1; extra == "treesitter-full"
76
- Requires-Dist: tree-sitter-cpp>=0.23.0; extra == "treesitter-full"
75
+ Requires-Dist: tree-sitter-c==0.24.1; extra == "treesitter-full"
76
+ Requires-Dist: tree-sitter-cpp==0.23.4; extra == "treesitter-full"
77
77
  Requires-Dist: tree-sitter-lua>=0.0.19; extra == "treesitter-full"
78
78
  Requires-Dist: tree-sitter-julia>=0.23.1; extra == "treesitter-full"
79
79
  Requires-Dist: tree-sitter-php>=0.24.1; extra == "treesitter-full"
@@ -121,7 +121,7 @@ Point it at a repository and it reads every source file, extracts functions, cla
121
121
 
122
122
  ## Supported Languages
123
123
 
124
- Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and Dart are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier, which requires the `ast-grep` extra (`pip install 'code-graph-rag[ast-grep]'`).
124
+ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, Dart, and Lean 4 are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier, which requires the `ast-grep` extra (`pip install 'code-graph-rag[ast-grep]'`).
125
125
 
126
126
  ## Install
127
127
 
@@ -171,10 +171,10 @@ To run code newer than the latest release, install from git with uv:
171
171
  uv tool install "code-graph-rag[treesitter-full,ast-grep] @ git+https://github.com/vitali87/code-graph-rag@main"
172
172
  ```
173
173
 
174
- Use uv for this: it applies the project's `[tool.uv.sources]`, which build the C
175
- and C++ grammars from forks that keep the declarations upstream drops after a
176
- `#define` whose value contains a block comment. `pip` ignores those sources and
177
- installs the upstream grammars.
174
+ Every install, from PyPI or from git, parses C and C++ with the patched grammars
175
+ compiled into `cgr-graph-rs`, which keep the declarations the upstream grammars
176
+ drop after a `#define` whose value contains a block comment. Lean 4 is parsed
177
+ with the grammar compiled into `cgr-graph-rs` too, as it has no grammar package.
178
178
 
179
179
  To upgrade, rerun the install with `--upgrade` and the extras you chose, for
180
180
  example `pip install --upgrade 'code-graph-rag[treesitter-full,ast-grep]'`. With uv or pipx,
@@ -19,7 +19,7 @@ Point it at a repository and it reads every source file, extracts functions, cla
19
19
 
20
20
  ## Supported Languages
21
21
 
22
- Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and Dart are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier, which requires the `ast-grep` extra (`pip install 'code-graph-rag[ast-grep]'`).
22
+ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, Dart, and Lean 4 are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier, which requires the `ast-grep` extra (`pip install 'code-graph-rag[ast-grep]'`).
23
23
 
24
24
  ## Install
25
25
 
@@ -69,10 +69,10 @@ To run code newer than the latest release, install from git with uv:
69
69
  uv tool install "code-graph-rag[treesitter-full,ast-grep] @ git+https://github.com/vitali87/code-graph-rag@main"
70
70
  ```
71
71
 
72
- Use uv for this: it applies the project's `[tool.uv.sources]`, which build the C
73
- and C++ grammars from forks that keep the declarations upstream drops after a
74
- `#define` whose value contains a block comment. `pip` ignores those sources and
75
- installs the upstream grammars.
72
+ Every install, from PyPI or from git, parses C and C++ with the patched grammars
73
+ compiled into `cgr-graph-rs`, which keep the declarations the upstream grammars
74
+ drop after a `#define` whose value contains a block comment. Lean 4 is parsed
75
+ with the grammar compiled into `cgr-graph-rs` too, as it has no grammar package.
76
76
 
77
77
  To upgrade, rerun the install with `--upgrade` and the extras you chose, for
78
78
  example `pip install --upgrade 'code-graph-rag[treesitter-full,ast-grep]'`. With uv or pipx,
@@ -61,11 +61,9 @@ Code-Graph-RAG parses a multi-language codebase with Tree-sitter, sharpened by c
61
61
  ## Latest News 🔥
62
62
 
63
63
  <!-- SECTION:latest_news -->
64
- - **Engine Improvements**: The Rust engine now includes a thread pool for hashing files in input order, and its skeleton is complete. It performs discovery and file plan generation, checked against Python's walk on each index.
65
- - **Python and Rust Engine Integration**: Design phase 1 and 2 are complete, establishing the seams between the Python and Rust engines, with hand-off files being compared in both modes.
66
- - **Index Enhancements**: The GraphUpdater now resolves the index engine once, routing files through a single point. The Python engine writes its file plan and project index on request.
67
- - **Improved Error Handling**: The system now fails on Python def <-> async def flips and on a Python def <-> async def flip. It also handles cases where a caller still reaches a moved symbol through a re-export.
68
- - **Refined Code Checking**: `cgr check` now leaves out names that are not UTF-8 and reads escaped trailing spaces and byte-order marks in ignore files as Git does.
64
+ - **Handoff Enhancements**: Go index sections, engine comparison, and a preview flag have been added to the handoff feature. Imports are now listed after incremental runs on a new updater, and deleted module imports are dropped from reused updaters.
65
+ - **Go Type Checker Fixes**: Several fixes address issues with the Go type checker, including handling bad input as failed runs, ensuring bare calls name the package function, and managing GOFLAGS -modfile in various scenarios.
66
+ - **Lean 4 Support**: Lean 4 is now officially supported.
69
67
  <!-- /SECTION:latest_news -->
70
68
 
71
69
  See [NEWS.md](NEWS.md) for the full history.
@@ -101,7 +99,7 @@ See the [Architecture Overview](docs/architecture/overview.md) and [Graph Schema
101
99
 
102
100
  ## Supported Languages
103
101
 
104
- Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, Dart, and Julia are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier. See the [Language Support](docs/architecture/language-support.md) matrix for per-language capabilities.
102
+ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, Dart, Julia, and Lean 4 are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier. See the [Language Support](docs/architecture/language-support.md) matrix for per-language capabilities.
105
103
 
106
104
  ## Installation
107
105
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-graph-rag
3
- Version: 0.7.129
3
+ Version: 0.7.180
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
@@ -44,7 +44,7 @@ Requires-Dist: pygments>=2.20.0
44
44
  Requires-Dist: httpx>=0.28.1
45
45
  Requires-Dist: certifi>=2026.10.23
46
46
  Requires-Dist: regex>=2024.11.6
47
- Requires-Dist: cgr-graph-rs<0.2,>=0.1.15
47
+ Requires-Dist: cgr-graph-rs<0.2,>=0.1.27
48
48
  Provides-Extra: test
49
49
  Requires-Dist: jedi>=0.19; extra == "test"
50
50
  Requires-Dist: pytest>=8.4.1; extra == "test"
@@ -69,11 +69,11 @@ Requires-Dist: tree-sitter-python>=0.23.6; extra == "treesitter-full"
69
69
  Requires-Dist: tree-sitter-javascript>=0.23.1; extra == "treesitter-full"
70
70
  Requires-Dist: tree-sitter-typescript>=0.23.2; extra == "treesitter-full"
71
71
  Requires-Dist: tree-sitter-rust>=0.24.0; extra == "treesitter-full"
72
- Requires-Dist: tree-sitter-go>=0.23.4; extra == "treesitter-full"
72
+ Requires-Dist: tree-sitter-go==0.25.0; extra == "treesitter-full"
73
73
  Requires-Dist: tree-sitter-scala>=0.24.0; extra == "treesitter-full"
74
74
  Requires-Dist: tree-sitter-java>=0.23.5; extra == "treesitter-full"
75
- Requires-Dist: tree-sitter-c>=0.24.1; extra == "treesitter-full"
76
- Requires-Dist: tree-sitter-cpp>=0.23.0; extra == "treesitter-full"
75
+ Requires-Dist: tree-sitter-c==0.24.1; extra == "treesitter-full"
76
+ Requires-Dist: tree-sitter-cpp==0.23.4; extra == "treesitter-full"
77
77
  Requires-Dist: tree-sitter-lua>=0.0.19; extra == "treesitter-full"
78
78
  Requires-Dist: tree-sitter-julia>=0.23.1; extra == "treesitter-full"
79
79
  Requires-Dist: tree-sitter-php>=0.24.1; extra == "treesitter-full"
@@ -121,7 +121,7 @@ Point it at a repository and it reads every source file, extracts functions, cla
121
121
 
122
122
  ## Supported Languages
123
123
 
124
- Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and Dart are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier, which requires the `ast-grep` extra (`pip install 'code-graph-rag[ast-grep]'`).
124
+ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, Dart, and Lean 4 are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier, which requires the `ast-grep` extra (`pip install 'code-graph-rag[ast-grep]'`).
125
125
 
126
126
  ## Install
127
127
 
@@ -171,10 +171,10 @@ To run code newer than the latest release, install from git with uv:
171
171
  uv tool install "code-graph-rag[treesitter-full,ast-grep] @ git+https://github.com/vitali87/code-graph-rag@main"
172
172
  ```
173
173
 
174
- Use uv for this: it applies the project's `[tool.uv.sources]`, which build the C
175
- and C++ grammars from forks that keep the declarations upstream drops after a
176
- `#define` whose value contains a block comment. `pip` ignores those sources and
177
- installs the upstream grammars.
174
+ Every install, from PyPI or from git, parses C and C++ with the patched grammars
175
+ compiled into `cgr-graph-rs`, which keep the declarations the upstream grammars
176
+ drop after a `#define` whose value contains a block comment. Lean 4 is parsed
177
+ with the grammar compiled into `cgr-graph-rs` too, as it has no grammar package.
178
178
 
179
179
  To upgrade, rerun the install with `--upgrade` and the extras you chose, for
180
180
  example `pip install --upgrade 'code-graph-rag[treesitter-full,ast-grep]'`. With uv or pipx,
@@ -24,6 +24,7 @@ codebase_rag/console_marks.py
24
24
  codebase_rag/context_pruning.py
25
25
  codebase_rag/context_slice.py
26
26
  codebase_rag/crash_correlation.py
27
+ codebase_rag/crate_grammars.py
27
28
  codebase_rag/cypher_queries.py
28
29
  codebase_rag/dead_code.py
29
30
  codebase_rag/decorators.py
@@ -138,6 +139,7 @@ codebase_rag/constants/ast_go.py
138
139
  codebase_rag/constants/ast_java.py
139
140
  codebase_rag/constants/ast_js.py
140
141
  codebase_rag/constants/ast_julia.py
142
+ codebase_rag/constants/ast_lean.py
141
143
  codebase_rag/constants/ast_lua.py
142
144
  codebase_rag/constants/ast_nodes.py
143
145
  codebase_rag/constants/ast_php.py
@@ -323,6 +325,7 @@ codebase_rag/parsers/go/type_inference.py
323
325
  codebase_rag/parsers/go/utils.py
324
326
  codebase_rag/parsers/go_frontend/__init__.py
325
327
  codebase_rag/parsers/go_frontend/frontend.py
328
+ codebase_rag/parsers/go_frontend/go_env.py
326
329
  codebase_rag/parsers/go_frontend/gotypes/go.mod
327
330
  codebase_rag/parsers/go_frontend/gotypes/go.sum
328
331
  codebase_rag/parsers/go_frontend/gotypes/main.go
@@ -369,6 +372,11 @@ codebase_rag/parsers/js_ts/type_inference.py
369
372
  codebase_rag/parsers/js_ts/utils.py
370
373
  codebase_rag/parsers/julia/__init__.py
371
374
  codebase_rag/parsers/julia/utils.py
375
+ codebase_rag/parsers/lean/__init__.py
376
+ codebase_rag/parsers/lean/calls.py
377
+ codebase_rag/parsers/lean/names.py
378
+ codebase_rag/parsers/lean/recovery.py
379
+ codebase_rag/parsers/lean/utils.py
372
380
  codebase_rag/parsers/lua/__init__.py
373
381
  codebase_rag/parsers/lua/type_inference.py
374
382
  codebase_rag/parsers/lua/utils.py
@@ -21,7 +21,7 @@ pygments>=2.20.0
21
21
  httpx>=0.28.1
22
22
  certifi>=2026.10.23
23
23
  regex>=2024.11.6
24
- cgr-graph-rs<0.2,>=0.1.15
24
+ cgr-graph-rs<0.2,>=0.1.27
25
25
 
26
26
  [ast-grep]
27
27
  ast-grep-py>=0.51.0
@@ -75,11 +75,11 @@ tree-sitter-python>=0.23.6
75
75
  tree-sitter-javascript>=0.23.1
76
76
  tree-sitter-typescript>=0.23.2
77
77
  tree-sitter-rust>=0.24.0
78
- tree-sitter-go>=0.23.4
78
+ tree-sitter-go==0.25.0
79
79
  tree-sitter-scala>=0.24.0
80
80
  tree-sitter-java>=0.23.5
81
- tree-sitter-c>=0.24.1
82
- tree-sitter-cpp>=0.23.0
81
+ tree-sitter-c==0.24.1
82
+ tree-sitter-cpp==0.23.4
83
83
  tree-sitter-lua>=0.0.19
84
84
  tree-sitter-julia>=0.23.1
85
85
  tree-sitter-php>=0.24.1
@@ -71,6 +71,14 @@ class BoundedASTCache:
71
71
  self[key] = entry
72
72
  return entry
73
73
 
74
+ def peek(self, key: Path) -> tuple[Node, cs.SupportedLanguage] | None:
75
+ # `load` for a reader beside the run, which must leave what the run
76
+ # reads as it was: a cached tree keeps its place in the LRU order and
77
+ # a parsed one is not kept, so nothing is evicted for it.
78
+ if (entry := self.cache.get(key)) is not None:
79
+ return entry
80
+ return self.loader(key) if self.loader is not None else None
81
+
74
82
  def __setitem__(self, key: Path, value: tuple[Node, cs.SupportedLanguage]) -> None:
75
83
  self._remove(key)
76
84
  size = _estimate_entry_bytes(value)
@@ -7,6 +7,7 @@ from .ast_go import * # noqa: F403
7
7
  from .ast_java import * # noqa: F403
8
8
  from .ast_js import * # noqa: F403
9
9
  from .ast_julia import * # noqa: F403
10
+ from .ast_lean import * # noqa: F403
10
11
  from .ast_lua import * # noqa: F403
11
12
  from .ast_nodes import * # noqa: F403
12
13
  from .ast_php import * # noqa: F403
@@ -0,0 +1,205 @@
1
+ # Tree-sitter node types and fields of the Lean 4 grammar (tree-sitter-lean4
2
+ # 0.3.0, compiled into cgr-graph-rs).
3
+
4
+ TS_LEAN_MODULE = "module"
5
+ TS_LEAN_IMPORT = "import"
6
+
7
+ # Commands that open and close a scope. They are siblings of the
8
+ # declarations they hold, not their parents: a file is one flat run of
9
+ # commands, and a declaration's namespace is whatever is open where it stands.
10
+ TS_LEAN_NAMESPACE = "namespace"
11
+ TS_LEAN_SECTION = "section"
12
+ TS_LEAN_END = "end"
13
+ TS_LEAN_OPEN = "open"
14
+ TS_LEAN_VARIABLE = "variable"
15
+ TS_LEAN_EXPORT = "export"
16
+
17
+ # Declarations. `definition` is `def`, `theorem`, `lemma` and `abbrev` (told
18
+ # apart by the `kind` field) and also `instance`, which has no `kind` and
19
+ # whose name is optional. `structure` is `structure` and `class`, told apart
20
+ # by their keyword token. A declaration with attributes is wrapped in a
21
+ # `declaration` node with the `attributes` before it.
22
+ TS_LEAN_DEFINITION = "definition"
23
+ TS_LEAN_OPAQUE = "opaque"
24
+ TS_LEAN_AXIOM = "axiom"
25
+ TS_LEAN_CONSTANT = "constant"
26
+ TS_LEAN_STRUCTURE = "structure"
27
+ TS_LEAN_INDUCTIVE = "inductive"
28
+ TS_LEAN_CLASS_INDUCTIVE = "class_inductive"
29
+ TS_LEAN_DECLARATION = "declaration"
30
+ TS_LEAN_EXAMPLE = "example"
31
+ TS_LEAN_WHERE_DECL = "where_decl"
32
+ TS_LEAN_STRUCTURE_FIELD = "structure_field"
33
+ TS_LEAN_CONSTRUCTOR = "constructor"
34
+ TS_LEAN_MATCH_ARM = "match_arm"
35
+ # `module` at the top of a file puts it in Lean's module system, where only
36
+ # a `public import` is passed on to what imports the file.
37
+ TS_LEAN_MODULE_HEADER = "module_header"
38
+ LEAN_FIELD_VISIBILITY = "visibility"
39
+ # The tokens that open a declaration's body, after its signature, and the
40
+ # `in` of `open Foo in`.
41
+ LEAN_BODY_OPENERS = frozenset({":=", "where"})
42
+ LEAN_TOKEN_IN = "in"
43
+ # A keyword the grammar does not know: `mutual` opens a block of
44
+ # declarations that a bare `end` closes.
45
+ LEAN_KEYWORD_MUTUAL = "mutual"
46
+ # Words Lean reserves, which no declaration is named: the grammar reads one
47
+ # as a name in a command it cannot parse, and a use of it waits on nothing.
48
+ LEAN_RESERVED_WORDS = frozenset(
49
+ {
50
+ "at",
51
+ "by",
52
+ "do",
53
+ "else",
54
+ "for",
55
+ "from",
56
+ "fun",
57
+ "have",
58
+ "if",
59
+ "in",
60
+ "let",
61
+ "match",
62
+ "mut",
63
+ "return",
64
+ "show",
65
+ "then",
66
+ "try",
67
+ "catch",
68
+ "finally",
69
+ "unless",
70
+ "where",
71
+ "with",
72
+ "break",
73
+ "continue",
74
+ }
75
+ )
76
+ TS_LEAN_ATTRIBUTES = "attributes"
77
+ TS_LEAN_ATTRIBUTE_ENTRY = "attribute_entry"
78
+
79
+ # Binders.
80
+ TS_LEAN_BINDERS = "binders"
81
+ TS_LEAN_EXPLICIT_BINDER = "explicit_binder"
82
+ TS_LEAN_IMPLICIT_BINDER = "implicit_binder"
83
+ TS_LEAN_INSTANCE_BINDER = "instance_binder"
84
+
85
+ # Expressions. Application is juxtaposition, nested to the left: `f x y` is
86
+ # `(application name: (application name: f arguments: x) arguments: y)`. A
87
+ # dotted reference `Nat.add_comm` and a field access `p.x` are both
88
+ # `projection`.
89
+ TS_LEAN_APPLICATION = "application"
90
+ TS_LEAN_PROJECTION = "projection"
91
+ TS_LEAN_IDENTIFIER = "identifier"
92
+ TS_LEAN_ESCAPED_IDENTIFIER = "escaped_identifier"
93
+ TS_LEAN_EXPLICIT = "explicit"
94
+ TS_LEAN_PARENTHESIZED = "parenthesized"
95
+ TS_LEAN_COMMENT = "comment"
96
+
97
+ # Keyword tokens, which are anonymous nodes named by their text.
98
+ TS_LEAN_KW_DEF = "def"
99
+ TS_LEAN_KW_THEOREM = "theorem"
100
+ TS_LEAN_KW_LEMMA = "lemma"
101
+ TS_LEAN_KW_ABBREV = "abbrev"
102
+ TS_LEAN_KW_INSTANCE = "instance"
103
+ TS_LEAN_KW_STRUCTURE = "structure"
104
+ TS_LEAN_KW_CLASS = "class"
105
+ TS_LEAN_KW_PRIVATE = "private"
106
+ TS_LEAN_KW_PROTECTED = "protected"
107
+ # The modifiers a declaration can be written after (the grammar's
108
+ # `_modifier`), each an anonymous token before the declaration's keyword.
109
+ LEAN_MODIFIER_KEYWORDS = frozenset(
110
+ {
111
+ "noncomputable",
112
+ "partial",
113
+ TS_LEAN_KW_PROTECTED,
114
+ TS_LEAN_KW_PRIVATE,
115
+ "public",
116
+ "meta",
117
+ "unsafe",
118
+ "scoped",
119
+ "local",
120
+ }
121
+ )
122
+ # Doc comment markers: `/--` documents the declaration under it, `/-!` the
123
+ # file (or the section) it stands in. A plain `/-` or `--` is a remark.
124
+ LEAN_DOC_COMMENT_MARKER = "/--"
125
+ LEAN_MODULE_DOC_MARKER = "/-!"
126
+ LEAN_BLOCK_COMMENT_CLOSE = "-/"
127
+
128
+ # Fields.
129
+ LEAN_FIELD_NAME = "name"
130
+ LEAN_FIELD_KIND = "kind"
131
+ LEAN_FIELD_TYPE = "type"
132
+ LEAN_FIELD_BODY = "body"
133
+ LEAN_FIELD_BINDERS = "binders"
134
+ LEAN_FIELD_EXTENDS = "extends"
135
+ LEAN_FIELD_MODULE = "module"
136
+ LEAN_FIELD_NAMESPACE = "namespace"
137
+ LEAN_FIELD_ARGUMENTS = "arguments"
138
+ LEAN_FIELD_TERM = "term"
139
+ LEAN_FIELD_ONLY = "only"
140
+ LEAN_FIELD_ATTRIBUTES = "attributes"
141
+ LEAN_FIELD_FIELDS = "fields"
142
+ LEAN_FIELD_CONSTRUCTORS = "constructors"
143
+ LEAN_FIELD_DEFAULT = "default"
144
+ LEAN_FIELD_HIDING = "hiding"
145
+
146
+ # The declaration node types, by what cgr records them as.
147
+ LEAN_FUNCTION_DEFINITION_TYPES = (
148
+ TS_LEAN_DEFINITION,
149
+ TS_LEAN_OPAQUE,
150
+ TS_LEAN_AXIOM,
151
+ TS_LEAN_CONSTANT,
152
+ )
153
+ LEAN_TYPE_DEFINITION_TYPES = (
154
+ TS_LEAN_STRUCTURE,
155
+ TS_LEAN_INDUCTIVE,
156
+ TS_LEAN_CLASS_INDUCTIVE,
157
+ )
158
+
159
+ # Lean's own identifier rule, as regex character classes (`isLetterLike` and
160
+ # `isSubScriptAlnum` in Lean's src/Init/Meta.lean): Greek without λ, Π and Σ,
161
+ # the letter-like and mathematical alphanumeric blocks, and the subscripts.
162
+ # The grammar's identifier is narrower: it has no subscripts and few of the
163
+ # letter-like symbols.
164
+ LEAN_LETTER_LIKE_CHARS = (
165
+ "\u03b1-\u03ba\u03bc-\u03c9"
166
+ "\u0391-\u039f\u03a1\u03a2\u03a4-\u03a9"
167
+ "\u03ca-\u03fb"
168
+ "\u1f00-\u1ffe"
169
+ "\u2100-\u214f"
170
+ "\U0001d49c-\U0001d59f"
171
+ )
172
+ LEAN_SUBSCRIPT_CHARS = "\u2080-\u2089\u2090-\u209c\u1d62-\u1d6a\u2c7c"
173
+ LEAN_ID_START_CHARS = f"A-Za-z_{LEAN_LETTER_LIKE_CHARS}"
174
+ LEAN_ID_REST_CHARS = f"{LEAN_ID_START_CHARS}0-9'!?{LEAN_SUBSCRIPT_CHARS}"
175
+ # One part of a dotted name: an identifier, or anything between guillemets.
176
+ LEAN_NAME_ATOM_PATTERN = (
177
+ f"(?:[{LEAN_ID_START_CHARS}][{LEAN_ID_REST_CHARS}]*|\u00ab[^\u00bb\n]*\u00bb)"
178
+ )
179
+ LEAN_DOTTED_NAME_PATTERN = f"{LEAN_NAME_ATOM_PATTERN}(?:\\.{LEAN_NAME_ATOM_PATTERN})*"
180
+
181
+ # A name that starts here is absolute, whatever namespace is open.
182
+ LEAN_ROOT_NAMESPACE = "_root_"
183
+ # What an anonymous `instance` is named after, as Lean names it: `inst`
184
+ # followed by the capitalised names of its type.
185
+ LEAN_INSTANCE_NAME_PREFIX = "inst"
186
+
187
+ # How many full names one opened namespace is tried as. `open A B C` can
188
+ # open `A.B.C`, `B.C`, `A.C` or `C`, and each later open doubles that, so
189
+ # a long run of opens is cut short here; the name as written is kept.
190
+ LEAN_OPEN_FORMS_LIMIT = 16
191
+
192
+ # Lake's project files, which mark a directory as a Lean package.
193
+ PKG_LAKEFILE_LEAN = "lakefile.lean"
194
+ PKG_LAKEFILE_TOML = "lakefile.toml"
195
+ LEAN_LAKEFILES = (PKG_LAKEFILE_LEAN, PKG_LAKEFILE_TOML)
196
+ # A lakefile's `srcDir`: the package's or a library's, each a source root
197
+ # relative to the lakefile's directory. A key in `lakefile.toml`; in
198
+ # `lakefile.lean`, `srcDir := "src"`.
199
+ LEAN_SRC_DIR_KEY = "srcDir"
200
+ LEAN_SRC_DIR_PATTERN = r'\bsrcDir\s*:=\s*"([^"\n]*)"'
201
+
202
+ # Between the Lean names a written base can stand for, where they travel as
203
+ # one string (a deferred INHERITS edge's `written_ref`): a character no Lean
204
+ # name holds.
205
+ LEAN_CANDIDATE_SEPARATOR = "\x1f"
@@ -15,6 +15,8 @@ TS_LUA_METHOD_INDEX_EXPRESSION = "method_index_expression"
15
15
  TS_LUA_IDENTIFIER = "identifier"
16
16
  TS_LUA_STRING_CONTENT = "string_content"
17
17
  TS_LUA_BLOCK = "block"
18
+ # The `else` arm of an `if_statement`, holding its block.
19
+ TS_LUA_ELSE_STATEMENT = "else_statement"
18
20
  # `dot_index_expression` / `bracket_index_expression` field names: the accessed
19
21
  # table is `table`, the member/key is `field`.
20
22
  TS_LUA_FIELD_TABLE = "table"
@@ -45,6 +45,7 @@ DEP_FILE_GOMOD = "go.mod"
45
45
  # the module's packages; a same-line comment (incl. `// Deprecated:`) may
46
46
  # trail it.
47
47
  GO_KEYWORD_MODULE = "module"
48
+ GO_KEYWORD_REPLACE = "replace"
48
49
  GO_KEYWORD_PACKAGE = "package"
49
50
  GO_PACKAGE_MAIN = "main"
50
51
  GO_MOD_COMMENT_PREFIX = "//"
@@ -501,6 +501,14 @@ FRAME_PLAN_FILE_LINE = "file\t{rel_path}\t{md5}\t{dirpath}\t{name}"
501
501
  FRAME_PLAN_DIR_LINE = "dir\t{key}\t{dirpath}"
502
502
  FRAME_PLAN_REPORT_LINE = "{kind}\t{rel_path}"
503
503
  FRAME_PLAN_RAISED_LINE = "raised\t{error}"
504
+ # What the frame raised, when it is not a pattern refused: its kind and its
505
+ # message. A Rust panic is pyo3's `PanicException`, which no module exports,
506
+ # so it is known by its module and name.
507
+ FRAME_FAILURE = "{kind}: {error}"
508
+ PYO3_RUNTIME_MODULE = "pyo3_runtime"
509
+ PYO3_PANIC_EXCEPTION = "PanicException"
510
+ # The context variable that holds the run in progress (engine_frame.py).
511
+ FRAME_RUN_CONTEXT = "cgr_engine_frame_run"
504
512
  # How many differing lines the warning names.
505
513
  FRAME_PLAN_NAMED_LINES = 2
506
514
  FRAME_PLAN_NAMES_SEPARATOR = ", "
@@ -577,6 +585,21 @@ FRAME_RESOLVE_LOOP_RAISES_BEFORE = (3, 13)
577
585
  # module-name plan, compared as the `module` lines of `index.txt`.
578
586
  EG_RUST_MODULE_NAMING = "ModuleNaming"
579
587
  EG_RUST_MODULE_PLAN = "module_plan"
588
+ # The grammars compiled into it (crate_grammars.py), which an extension from
589
+ # before phase 2's step 9 lacks, and the method that hands one to
590
+ # py-tree-sitter, as a grammar package's `language` does.
591
+ EG_RUST_GRAMMAR = "Grammar"
592
+ EG_RUST_GRAMMAR_LANGUAGE = "language"
593
+ # The copy of a grammar package's language whose scanner writes nothing past
594
+ # the runtime's buffer (crate_grammars.py), which an extension from before
595
+ # issue #3831 lacks.
596
+ EG_RUST_BOUNDED_SCANNER = "bounded_scanner"
597
+ # How a grammar fingerprint's digest writes a name (src/grammars/mod.rs): its
598
+ # UTF-8 length in 4 big-endian bytes, then the bytes; a missing name is the
599
+ # length 0xFFFFFFFF alone.
600
+ GRAMMAR_FP_LENGTH_BYTES = 4
601
+ GRAMMAR_FP_BYTE_ORDER = "big"
602
+ GRAMMAR_FP_MISSING_NAME = 0xFFFFFFFF
580
603
 
581
604
 
582
605
  # Bridge methods a build from before the scope walks, or from before the
@@ -103,6 +103,13 @@ from .ast_julia import (
103
103
  TS_JULIA_STRUCT_DEFINITION,
104
104
  TS_JULIA_USING_STATEMENT,
105
105
  )
106
+ from .ast_lean import (
107
+ LEAN_FUNCTION_DEFINITION_TYPES,
108
+ LEAN_TYPE_DEFINITION_TYPES,
109
+ TS_LEAN_APPLICATION,
110
+ TS_LEAN_IMPORT,
111
+ TS_LEAN_MODULE,
112
+ )
106
113
  from .ast_lua import (
107
114
  TS_LUA_CHUNK,
108
115
  TS_LUA_FUNCTION_CALL,
@@ -372,6 +379,12 @@ FQN_JULIA_FUNCTION_TYPES = (
372
379
  TS_JULIA_ASSIGNMENT,
373
380
  )
374
381
 
382
+ # The file root is Lean's only scope node: `namespace` and `end` are sibling
383
+ # commands, so a declaration's namespace comes from its name (lean_get_name),
384
+ # not from its ancestors.
385
+ FQN_LEAN_SCOPE_TYPES = (TS_LEAN_MODULE,)
386
+ FQN_LEAN_FUNCTION_TYPES = LEAN_FUNCTION_DEFINITION_TYPES
387
+
375
388
  # Scopes are the class-like declarations plus the file root; a nested
376
389
  # function/method's qn is built through these.
377
390
  FQN_DART_SCOPE_TYPES = (
@@ -710,3 +723,11 @@ SPEC_JULIA_CALL_TYPES = (
710
723
  TS_JULIA_BROADCAST_CALL_EXPRESSION,
711
724
  )
712
725
  SPEC_JULIA_IMPORT_TYPES = (TS_JULIA_USING_STATEMENT, TS_JULIA_IMPORT_STATEMENT)
726
+
727
+ SPEC_LEAN_FUNCTION_TYPES = FQN_LEAN_FUNCTION_TYPES
728
+ SPEC_LEAN_CLASS_TYPES = LEAN_TYPE_DEFINITION_TYPES
729
+ SPEC_LEAN_MODULE_TYPES = (TS_LEAN_MODULE,)
730
+ SPEC_LEAN_CALL_TYPES = (TS_LEAN_APPLICATION,)
731
+ # `open` brings a namespace's names into scope, not a module's: it is read
732
+ # where a name is resolved (parsers.lean.utils.lean_scope_at), not here.
733
+ SPEC_LEAN_IMPORT_TYPES = (TS_LEAN_IMPORT,)
@@ -1384,7 +1384,8 @@ CYPHER_ALL_MODULE_QNS = (
1384
1384
  "MATCH (n) WHERE (n:Module OR n:ModuleInterface) "
1385
1385
  "AND n.qualified_name STARTS WITH $project_prefix "
1386
1386
  "RETURN n.qualified_name AS qualified_name, head(labels(n)) AS label, "
1387
- "n.go_package AS go_package, n.php_namespace AS php_namespace"
1387
+ "n.go_package AS go_package, n.php_namespace AS php_namespace, "
1388
+ "n.path AS path"
1388
1389
  )
1389
1390
 
1390
1391
  # Inbound reference edges (from unchanged files) into symbols defined in one
@@ -1591,6 +1592,17 @@ CYPHER_PACKAGE_URI_IMPORTS = (
1591
1592
  "target.qualified_name AS to_qn"
1592
1593
  )
1593
1594
  CYPHER_PARAM_URI_PREFIX = "uri_prefix"
1595
+ # Every Lean module, which a lakefile added or removed can change the
1596
+ # imports of: one between a project module and an external one, or one that
1597
+ # named two files, and so had no edge, naming one.
1598
+ CYPHER_LEAN_MODULES = (
1599
+ "MATCH (module:Module) "
1600
+ "WHERE module.path IS NOT NULL "
1601
+ "AND module.qualified_name STARTS WITH $project_prefix "
1602
+ "AND module.path ENDS WITH '.lean' "
1603
+ "RETURN DISTINCT module.path AS caller_path, "
1604
+ "module.qualified_name AS qualified_name"
1605
+ )
1594
1606
  # Modules carrying at least one unresolved relative specifier, with the
1595
1607
  # specifiers themselves. The specifier is relative to the IMPORTING module's
1596
1608
  # directory, so the match against a created file is resolved in Python rather
@@ -4,9 +4,6 @@
4
4
 
5
5
  from enum import StrEnum
6
6
 
7
- # The format version each file's first line names. Each engine writes the
8
- # version it implements, and a comparison of two versions fails naming both.
9
- HANDOFF_FORMAT_VERSION = 1
10
7
  HANDOFF_HEADER = "# cgr handoff {file} {version}"
11
8
 
12
9
 
@@ -17,6 +14,16 @@ class HandoffFile(StrEnum):
17
14
  INDEX = "index.txt"
18
15
 
19
16
 
17
+ # The format version each file's first line names. Each engine writes the
18
+ # version it implements, and a comparison of two versions fails naming both.
19
+ # The project index is at 2 since it holds Go's own sections
20
+ # (docs/reports/PHASE3_GO.md, section 6); the file plan is as phase 1 left it.
21
+ HANDOFF_FORMAT_VERSIONS: dict[HandoffFile, int] = {
22
+ HandoffFile.FILES: 1,
23
+ HandoffFile.INDEX: 2,
24
+ }
25
+
26
+
20
27
  # The first field of a line: what its key names.
21
28
  class HandoffKind(StrEnum):
22
29
  FILE = "file"
@@ -27,6 +34,23 @@ class HandoffKind(StrEnum):
27
34
  SIMPLE_NAME = "simple_name"
28
35
  IMPORTS = "imports"
29
36
  INHERITS = "inherits"
37
+ # Go's own tables, read where Python keeps them: each module's package
38
+ # clause, each method's signature, each interface's embeds, each
39
+ # implementation pair, each free function's first result and each file's
40
+ # build constraint.
41
+ GO_PACKAGE = "go_package"
42
+ GO_METHOD = "go_method"
43
+ GO_INTERFACE = "go_interface"
44
+ GO_IMPLEMENTS = "go_implements"
45
+ GO_RETURN_TYPE = "go_return_type"
46
+ GO_BUILD = "go_build"
47
+
48
+
49
+ # Who paired a Go type with an interface: the go/types helper, or the method
50
+ # sets' match by name and arity.
51
+ class GoPairSource(StrEnum):
52
+ PROVEN = "proven"
53
+ GUESSED = "guessed"
30
54
 
31
55
 
32
56
  # Why an incremental run re-parses a file: it is new, its bytes changed, or a
@@ -44,3 +68,14 @@ HANDOFF_KEY_MD5 = "md5"
44
68
  HANDOFF_KEY_REASON = "reason"
45
69
  HANDOFF_KEY_LABEL = "label"
46
70
  HANDOFF_KEY_PATH = "path"
71
+ HANDOFF_KEY_CLAUSE = "clause"
72
+ HANDOFF_KEY_FILE = "file"
73
+ HANDOFF_KEY_PACKAGE = "package"
74
+ HANDOFF_KEY_PARAMS = "params"
75
+ HANDOFF_KEY_RESULTS = "results"
76
+ HANDOFF_KEY_EMBEDS = "embeds"
77
+ HANDOFF_KEY_INTERFACE = "interface"
78
+ HANDOFF_KEY_SOURCE = "source"
79
+ HANDOFF_KEY_BUILDS = "builds"
80
+ HANDOFF_KEY_TYPE = "type"
81
+ HANDOFF_KEY_CONSTRAINT = "constraint"
@@ -45,6 +45,7 @@ INDEX_ENGINE_DEFAULTS: dict[frozenset[SupportedLanguage], IndexEngine] = {
45
45
  frozenset({SupportedLanguage.DART}): IndexEngine.PYTHON,
46
46
  frozenset({SupportedLanguage.SQL}): IndexEngine.PYTHON,
47
47
  frozenset({SupportedLanguage.JULIA}): IndexEngine.PYTHON,
48
+ frozenset({SupportedLanguage.LEAN}): IndexEngine.PYTHON,
48
49
  }
49
50
 
50
51